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

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

:root {
    --sage: #8b9d83;
    --sage-dark: #6b7d63;
    --earth: #c9b59a;
    --cream: #faf9f6;
    --white: #ffffff;
    --text: #2d2d2d;
    --text-light: #6b6b6b;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--cream);
    overflow-x: hidden;
}

.badge-icon {
  font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif;
  font-size: 1.2em;
  line-height: 1;
}
/* Navigation minimaliste */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;

    background: rgba(250, 249, 246, 0.2);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.05);

    transition: all 0.35s ease;
    z-index: 1000;
}

/* Etat après scroll */
nav.scrolled {
    background: rgba(250, 249, 246, 0.95);
    backdrop-filter: blur(25px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

.logo-floressence-container {
    display: flex;
    align-items: center;
    height: 60px;      /* laisse respirer le SVG */
    max-height: none;
}

.logo-floressence {
    height: 57px;
    width: 218px;
    display: block;
}
.logo-mobile {
    display: none;
}

.logo {
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--text);
    text-decoration: none;
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    gap: 3rem;
    list-style: none;
}

.nav-menu a {
    color: var(--text);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 400;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--sage);
}

.nav-cta {
    padding: 0.7rem 1.5rem;
    background: var(--sage);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-size: 0.95rem;
    transition: all 0.3s;
}

.nav-cta:hover {
    background: var(--sage-dark);
    transform: translateY(-2px);
}

/* Décalage global pour le nav fixed */
.page-wrapper {
    padding-top: 50px; /* hauteur du nav + petit espace */
}

/* Burger */
.burger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
}

.burger span {
    width: 25px;
    height: 2px;
    background: var(--text);
    transition: 0.3s;
}

.language-switcher {
    display: flex;
    align-items: center;
    gap: 10px;
}

.language-switcher img {
    width: auto;
    height: 24px;
    opacity: 0.6;
    transition: 0.2s;
}

.language-switcher a.active img,
.language-switcher img:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* Fil d'Ariane aligné à gauche */
.breadcrumb-container {
    padding-left: 100px; /* marge gauche */
    margin-bottom: 1rem;
}

.breadcrumb {
    font-size: 0.9rem;
    max-width: 1200px;
    color: #555;
    line-height: 1.4;
}

.breadcrumb a {
    text-decoration: none;
    color: var(--sage);
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: var(--sage-dark);
}

.breadcrumb span {
    color: #999;
}

body {
    padding-top: 100px; /* hauteur réelle de ta nav */
}
/* Hero Section - Style Apple */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8rem 2rem 4rem;

    position: relative;
    overflow: hidden;

    background-image: url("/static/core/accueil.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed; /* image immobile */
}
.hero::before {
    display: none;
}

.hero-content {
    max-width: 980px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
background: linear-gradient(
        180deg,
        rgba(255,255,255,0.85),
        rgba(255,255,255,0.65)
    );
    border: 1px solid rgba(255,255,255,0.4);

    border-radius: 32px;
    padding: 4rem 4rem 3.5rem;

    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.15);
}

.hero h1 {
    font-size: 5rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    color: var(--text);
    line-height: 1.1;
}

.hero-highlight {
    color: var(--sage);
}

.hero p {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    font-weight: 300;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-badges {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 3rem;
}

.badge {
    text-align: center;
}

.badge-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

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

.hero-cta {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: var(--sage);
    color: white;
    text-decoration: none;
    border-radius: 40px;
    font-size: 1.1rem;
    transition: all 0.3s;
    font-weight: 500;
}

.hero-cta:hover {
    background: var(--sage-dark);
    transform: scale(1.05);
}

.hero-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.9rem;
}

.hero-secondary-link {
    color: var(--sage-dark);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    border-bottom: 1px solid rgba(83, 109, 72, 0.25);
}

.hero-secondary-link:hover {
    border-bottom-color: var(--sage-dark);
}

.home-intro {
    background: var(--white);
    padding: 3rem 2rem 2rem;
}

.home-intro-copy {
    max-width: 920px;
    margin: 0 auto;
    text-align: center;
}

.home-intro-copy p {
    margin: 0;
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-light);
}

.home-intro-links {
    max-width: 980px;
    margin: 1.75rem auto 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
}

.home-intro-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.2rem;
    border-radius: 999px;
    border: 1px solid rgba(83, 109, 72, 0.15);
    background: rgba(245, 244, 238, 0.8);
    color: var(--sage-dark);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
}

.home-intro-links a:hover {
    background: rgba(83, 109, 72, 0.08);
    border-color: rgba(83, 109, 72, 0.3);
}

/* Section Nous Faisons - Style Freshly Baked */
.we-do {
    position: relative;
    background: var(--cream);
}

.we-do-header {
    top: 0;
    z-index: 100;
    background: var(--cream);
}

.we-do-section-presentation {
    padding: 2rem 2rem;
    background: var(--cream);
    overflow: hidden;
}
.we-do-title-presentation {
    max-width: 1400px;
    width: 90%;
    margin: 0 auto;
    display: grid;
}

.we-do-title {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--cream);
    margin: 0;
    padding: 2rem 0;
    text-align: center;
    font-size: clamp(1.8rem, 6vw, 3.5rem);
    line-height: 1.15;
    color: var(--text);
}

.we-do-title {
    box-shadow: 0 0 0 rgba(0,0,0,0);
}

.we-do-title:is(:sticky) {
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.scroll-container {
    padding-top: 6rem;
    padding-bottom: 12rem;
}

.scroll-track {
    display: flex;
    gap: 2rem;
    animation: scroll 30s linear infinite;
    will-change: transform;
}

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

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

.scroll-item {
    flex-shrink: 0;
    font-size: 2.5rem;
    font-weight: 500;
    color: var(--sage);
    white-space: nowrap;
    padding: 1rem 2rem;
    border: 2px solid var(--sage);
    border-radius: 50px;
    transition: all 0.3s;
}
.scroll-item a {
    color: inherit; /* lien prend couleur du texte parent */
    text-decoration: none; /* supprime le soulignement */
    display: block; /* lien englobe tout */
    transition: color 0.1s;
}


.scroll-item:hover {
    background: var(--sage);
    color: white;
    transform: scale(1.05);
}

/* Catégories - Effet scroll superposition RAFF */
.categories {
    background: var(--white);
    position: relative;
}

/* Titre de section sticky - s'arrête et se fait pousser par le suivant */
.section-header {
    position: sticky;
    top: 80px;
    z-index: 100;
    background: var(--white);
    padding: 2rem 2rem 1rem;
    text-align: center;
}

.section-header h2 {
    font-size: clamp(1.8rem, 6vw, 3.5rem);
    line-height: 1.15;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.section-header p {
    font-size: 1.3rem;
    color: var(--text-light);
    font-weight: 300;
}

/* Titre sticky pour la section qualité */
.quality {
    padding: 0;
    background: var(--cream);
    position: relative;
}

.quality-header {
    position: sticky;
    top: 80px;
    z-index: 100;
    background: var(--cream);
    padding: 4rem 2rem 2rem;
    text-align: center;
}

.quality-header h2 {
    font-size: clamp(1.8rem, 6vw, 3.5rem);
    line-height: 1.15;
    margin-bottom: 1rem;
    color: var(--text);
}

.quality-content-wrapper {
    padding: 2rem 4rem 8rem;
}

.categories-scroll-wrapper {
    height: 400vh; /* longueur totale du scroll */
    position: relative;
}

.categories-sticky-container {
    position: sticky;
    top: var(--sticky-top, 100px); /* top dynamique via JS */
    height: calc(85vh - var(--sticky-top, 100px));
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.categories-showcase {
    position: relative;
    width: 100vw;
    height: calc(85vh - var(--sticky-top, 100px));
    max-width: 3600px;
    max-height: 2000px;
}

.category-item {
    position: absolute;
    inset: 0;
    border-radius: 0px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    transform: translateY(100%);
    opacity: 0;
    will-change: transform, opacity;
}

.category-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

/* 1ère slide visible dès l’arrivée de la section */
.categories-showcase .category-item:first-child{
  opacity: 1;
  transform: translateY(0%);
}

.category-item:nth-child(1) .category-image {
    background-image: url('/static/core/HE.jpg');
}
.category-item:nth-child(2) .category-image {
    background-image: url('/static/core/Hydrolats%20demo.jpg');
}
.category-item:nth-child(3) .category-image {
    background-image: url('/static/core/HV.jpg');
}
.category-item:nth-child(4) .category-image {
    background-image: url('/static/core/massage.jpg');
}

.category-overlay {
    position: absolute;
    top: 0;
    left: 0rem;
    right: 0;
    padding: 4rem;
    background: linear-gradient(to bottom, rgba(0,0,0,0.85), rgba(0,0,0,0.3), transparent);
    color: white;
}
/* Container centré */
.category-overlay-container {
    width: 1400px;        /* largeur fixe du bloc texte */
    max-width: 90%;        /* responsive */
    margin: 0 auto;        /* centre horizontalement */
    display: flex;
    flex-direction: column; /* empile h3, p, meta verticalement */
    justify-content: flex-start; /* texte en haut */
    padding: 0rem 2rem;   /* même padding qu'avant pour l'intérieur */
}

/* Le texte dans le container reste interactif */
.category-overlay-container * {
    pointer-events: auto;
}

.section-header {
    position: sticky;
    top: 80px;
    z-index: 100;
    background: white;
    padding: 2rem;
    text-align: center;
}

.category-overlay h3 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.category-overlay p {
    font-size: 1.3rem;
    opacity: 0.95;
    line-height: 1.6;
    max-width: 600px;
    margin-bottom: 1.5rem;
}

.category-meta {
    display: flex;
    gap: 1.5rem;
    font-size: 1rem;
    opacity: 0.8;
    font-weight: 500;
    margin-bottom: 10rem;
}

/* Section Qualité avec titre sticky */
.quality-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.quality-visual {
    position: relative;
    height: 600px;
    border-radius: 30px;
    overflow: hidden;

    background-image: url("/static/core/purete_2.jpg");
    background-size: 57% auto;      /* zoom léger */
    background-position: 80% 100%; /* partie visible centrée verticalement à 40% */
    background-repeat: no-repeat;
    background-attachment: fixed;    /* effet trou dans la page */
}

.quality-image {
    width: 100%;
    height: 100%;
    position: relative;
}

.quality-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 140%; /* image plus grande que le conteneur */
    object-fit: cover;
    will-change: transform;
    transition: transform 0.1s ease-out;
}

/* Overlay dégradé dynamique */
.quality-visual::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: 30px;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.35) 0%,
        transparent 20%,
        transparent 80%,
        rgba(0,0,0,0.35) 100%
    );
}

.quality-content h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: var(--text);
    line-height: 1.1;
}

.quality-content p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    line-height: 1.8;
}

.quality-features {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.feature {
    display: flex;
    align-items: start;
    gap: 1.5rem;
}

.feature-icon {
    font-size: 2rem;
    color: var(--sage);
    flex-shrink: 0;
}

.feature-text h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.feature-text p {
    font-size: 1rem;
    color: var(--text-light);
    margin: 0;
}

/* Section Vidéo - Style Freshly Baked */
.video-section {
    padding: 8rem 4rem;
    background: var(--white);
    text-align: center;
}

.video-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    height: 700px;
    background: linear-gradient(135deg, var(--sage) 0%, var(--earth) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-placeholder {
    font-size: 8rem;
    opacity: 0.5;
}

.video-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.video-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
}

.video-overlay h3 {
    margin-bottom: 1rem;
    font-size: clamp(1.8rem, 6vw, 3.5rem);
    line-height: 1.15;
}

.video-overlay p {
    font-size: 1.3rem;
    opacity: 0.9;
}

.hydrolats p {
    align : center;
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    font-weight: 300;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}
/* Valeurs - Grid minimaliste */
.values{
    padding: 0;
    background: var(--cream);
    position: relative;
}

.values-grid {
    max-width: 1400px;
    margin: 4rem auto 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
    padding-bottom: 4rem;
}

.value-card {
    text-align: center;
}

.value-conf {
    text-align: justify;
}

.value-conf h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    margin-top:1rem;
    font-weight: 600;
}
.value-conf p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.7;
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.value-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.value-card p {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.7;
}

.valeur-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.valeur-image img {
    width: 200px; /* ou la taille que tu veux */
    height: 200px;
    border-radius: 50%; /* rond */
    will-change: transform; /* optimisation GPU */
    transition: transform 0.1s linear; /* lissage léger */
}

.pagination-container {
  margin-top: 24px;
  display: flex;
  justify-content: center;
}

.pagination {
  display: flex;
  align-items: center;
  gap: 12px;
}

.page-btn {
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  text-decoration: none;
}

.page-info {
  font-weight: 600;
}


/* CTA Final */
.final-cta {
    padding: 10rem 2rem;
    background: var(--sage);
    text-align: center;
    color: white;
}

.final-cta h2 {
    font-size: clamp(1.8rem, 6vw, 3.5rem);
    line-height: 1.15;
    margin-bottom: 2rem;
}

.final-cta p {
    font-size: 1.5rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.final-cta-btn {
    display: inline-block;
    padding: 1.5rem 4rem;
    background: white;
    color: var(--sage);
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    transition: all 0.3s;
}

.final-cta-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.section-header h2,
.quality-header h2,
.we-do-title,
.video-overlay h3,
.final-cta h2 {
  font-size: clamp(1.8rem, 6vw, 3.5rem);
  line-height: 1.15;
}

.section-header p,
.quality-header p,
.final-cta p,
.video-overlay p {
  font-size: clamp(1rem, 3.5vw, 1.5rem);
}




/* Footer minimaliste */
footer {
    background: var(--white);
    padding: 4rem 4rem 2rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.footer-brand h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-brand p {
    color: var(--text-light);
    line-height: 1.8;
}

.footer-section h4 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

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

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

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s;
}

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

.footer-bottom {
    max-width: 1400px;
    margin: 2rem auto 0;
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
}

.faq-content {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    display: grid;
    background: var(--white);
    padding: 1.5rem;
    border-radius: 20px;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.faq-list {
    display: grid;
    gap: 1rem;
    margin-top: 1.5rem;
}

.faq-item {
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 16px;
    padding: 0.2rem 1rem 1rem;
    background: rgba(255,255,255,0.9);
}

.faq-question {
    cursor: pointer;
    font-weight: 600;
    color: var(--sage);
    list-style: none;
    padding: 1rem 0 0.4rem;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-answer p {
    margin: 0;
    line-height: 1.7;
    color: var(--text-light);
}

.home-faq {
    background: var(--white);
    padding: 1rem 2rem 4rem;
}

.home-faq-header {
    max-width: 900px;
    margin: 0 auto 2rem;
    text-align: center;
}

.home-faq-header h2 {
    font-size: clamp(1.8rem, 6vw, 3.5rem);
    line-height: 1.15;
    margin-bottom: 0.6rem;
    color: var(--text);
}

.home-faq-header p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin: 0;
}
.nos-valeurs {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 0;
}

.valeur-item {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
    gap: 20px; /* espace entre image et texte */
    flex-wrap: wrap; /* permet de passer en vertical sur petit écran */
}

.valeur-image img {
    width: 100%;
    max-width: 150px; /* limite la taille de l'image */
    max-height: 120px;
    border-radius: 8px;
}

.valeur-texte {
    flex: 1; /* prend l’espace restant */
    min-width: 250px; /* évite que le texte devienne trop étroit */
}

.valeur-texte h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.valeur-texte p {
    font-size: 1rem;
    line-height: 1.6;
}
/* ==== CATALOGUE DE PRODUITS ==== */

.catalogue {
    padding: 8rem 2rem;
    background: var(--white);
}

.catalogue-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 5rem;
}

.catalogue-header h1 {
    font-size: 3.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.catalogue-header p {
    font-size: 1.3rem;
    color: var(--text-light);
}

.catalogue-intro {
    max-width: 980px;
    margin: 0 auto 2.5rem;
    text-align: center;
}

.catalogue-intro p {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
}

.catalogue-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
}

.catalogue-card {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
    transition: transform 0.4s ease;
}

.catalogue-card:hover {
    transform: translateY(-6px);
}

.card-image {
    height: 400px;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
}

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

.card-content {
    position: absolute;
    inset: auto 1.2rem 1.2rem 1.2rem;

    background: rgba(255,255,255,0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    border-radius: 20px;
    padding: 0.6rem 1.2rem;
}

.card-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.4rem;
}

.card-content p {
    font-size: 0.95rem;
    color: var(--text-light);
}

.catalogue-search-reset {
    grid-column: 1 / -1;
    text-align: center;
    margin: 0;
}

.catalogue-search-reset a {
    color: var(--sage-dark);
    text-decoration: none;
    font-weight: 500;
}

.catalogue-search-reset a:hover {
    text-decoration: underline;
}

.card-image.he { background-image: url("/static/core/HE.jpg");}
.card-image.hv { background-image: url("/static/core/HV.jpg");}
.card-image.hy { background-image: url("/static/core/Hydrolats demo.jpg");}
.card-image.massage { background-image: url("/static/core/massage.jpg");}
.card-image.sy { background-image: url("/static/core/synergies.jpg");}
.card-image.vrac { background-image: url("/static/core/vrac.jpg");}
.card-image.cosmetique { background-image: url("/static/core/cosmetique.jpg");}
.card-image.flacons { background-image: url("/static/core/flacons_2.jpg");}





/* ==== LISTE DE PRODUITS ==== */
.product-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 2rem auto;
    max-width: 95%;
    justify-content: center;
}

/* ==== CARTE PRODUIT ==== */
.product-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    color: #444; /* texte principal gris doux */
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

/* ==== IMAGE ==== */
.product-img {
    width: 100%;
    height: 200px;
    object-fit: cover;      /* mieux que contain pour ce type d’image */
    display: block;
}


.card-default-img {
    opacity: 0.15;
}

/* ==== TITRE ==== */
.product-card h2 {
    display: block;
    width: 98%;
    margin: 1rem 0 0.5rem;
    font-size: 1.1rem;
    line-height: 1.3;
    color: var(--sage); /* titre couleur thème */
    font-weight: 600;
    /* ===== pour couper uniquement aux espaces ===== */
    white-space: normal;      /* autorise retour à la ligne sur espaces */
    overflow-wrap: normal;    /* pas de coupe au milieu des mots */
    word-break: normal;       /* idem */
    word-wrap: normal;        /* compatibilité navigateurs */
}

.product-card h2 .parenthese {
    display: block;
    font-size: 0.9rem;
    font-style: italic;
    color: #777; /* gris plus doux pour parenthèses */
    margin-top: 2px;
}

.italic {
    font-style: italic;
    font-size: 0.9em;
    display: block;
}

/* ==== DESCRIPTION ==== */
.product-card p {
    width: 90%;
    font-size: 0.9rem;
    color: #666; /* gris doux pour descriptions */
    margin-bottom: 0.5rem;
    line-height: 1.4;
    text-align: center;
}

/* ==== LIEN DANS LA CARTE ==== */
.product-card a {
    color: inherit; /* lien prend couleur du texte parent */
    text-decoration: none; /* supprime le soulignement */
    display: flex; /* lien englobe tout */
    flex-direction: column;
    align-items: center;
    transition: color 0.3s;
}

.product-card a:hover {
    color: var(--sage); /* lien survol = couleur thème */
}

/* Hero Produit */
        .product-hero {
            margin-top: 0px;
            padding: 4rem 4rem 2rem;
            background: var(--white);
        }

        .product-hero-content {
            max-width: 1400px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 6rem;
            align-items: start;
        }

        .product-image-container {
            position: relative;
            height: 600px;
            background: linear-gradient(135deg, var(--sage) 0%, var(--earth) 100%);
            border-radius: 30px;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
        }

        .product-image {
          width: 300px;
          height: 500px;
          border-radius: 20px;
          box-shadow: 0 20px 60px rgba(0,0,0,0.2);
          display: flex;
          align-items: center;
          justify-content: center;
          position: relative;
          animation: float 6s ease-in-out infinite;
          isolation: isolate;
        }

        .product-image-container2 {
            position: relative;
            height: 600px;
            background: linear-gradient(135deg, var(--sage) 0%, var(--earth) 100%);
            border-radius: 30px;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
        }

        .product-image2 {
          width: 45px;   /* 15% de 300px */
          height: 75px;  /* 15% de 500px */
          border-radius: 8px;
          box-shadow: 0 6px 18px rgba(0,0,0,0.2);
          display: flex;
          align-items: center;
          justify-content: center;
          position: relative;
          animation: float 6s ease-in-out infinite;
          isolation: isolate;
        }

        /* le fond blanc est séparé */
        .product-image::before {
          content: "";
          position: absolute;
          inset: 0;
          background: rgba(255,255,255,1);
          border-radius: 20px;
          z-index: 0;
        }

        /* l’image passe au-dessus */
        .product-image img {
          position: relative;
          z-index: 1;
          mix-blend-mode: multiply;
          mask-image: radial-gradient(white 92%, transparent 100%);
        }

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

        .product-info h1 {
            font-size: 2.8rem;
            font-weight: 600;
            margin-bottom: 1rem;
            line-height: 1.1;
        }

        .product-latin {
            font-size: 1.2rem;
            font-style: italic;
            color: var(--text-light);
            margin-bottom: 2rem;
        }

        .product-badges {
            display: flex;
            gap: 1rem;
            align-items: center;
            margin-bottom: 3rem;
        }

        .badge-product {
            background: var(--sage);
            color: white;
            padding: 0.5rem 1.2rem;
            border-radius: 50px;
            font-size: 0.9rem;
            font-weight: 500;
            display: inline-flex;
            align-items: center;
        }
        .badge-btn {
            background: var(--sage);
            color: white;
            padding: 0.5rem 1rem;
            border-radius: 50px;
            font-size: 1.1rem;
            font-weight: 600;
            text-decoration: none;
            transition: all 0.3s;
            border: none;
            cursor: pointer;
            margin-top: 1rem;
        }

        .product-description {
            font-size: 1.2rem;
            color: var(--text-light);
            line-height: 1.8;
            margin-bottom: 3rem;
        }

        .product-status-card {
            display: grid;
            gap: 0.75rem;
            line-height: 1.6;
        }

        .product-status-card p {
            margin: 0;
        }

        .product-status-title {
            color: var(--text);
            line-height: 1.35;
        }

        .product-status-text {
            max-width: 38rem;
            line-height: 1.6;
        }

        .product-status-actions {
            display: flex;
            align-items: flex-start;
            padding-top: 0.25rem;
        }

        .product-status-actions .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-height: 3.4rem;
            line-height: 1.2;
        }

        .product-price {
            font-size: 2.5rem;
            font-weight: 600;
            color: var(--sage);
            margin-bottom: 2rem;
        }

        .product-cta {
            display: flex;
            gap: 1rem;
        }

        .btn {
            padding: 1.2rem 3rem;
            border-radius: 50px;
            font-size: 1.1rem;
            font-weight: 600;
            text-decoration: none;
            transition: all 0.3s;
            border: none;
            cursor: pointer;
        }

        .btn-small {
            padding: 0.5rem 1rem;
            border-radius: 50px;
            font-size: 1.1rem;
            font-weight: 600;
            text-decoration: none;
            transition: all 0.3s;
            border: none;
            cursor: pointer;
        }

        .btn-primary {
            background: var(--sage);
            color: white;
        }

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

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

        .btn-secondary:hover {
            background: var(--sage);
            color: white;
        }

        /* Section avec titre sticky */
        .sticky-section {
            position: relative;
            background: var(--cream);
        }

        .sticky-header {
            position: sticky;
            top: 80px;
            z-index: 100;
            background: var(--cream);
            padding: 4rem 4rem 2rem;
        }

        .sticky-header h2 {
            font-size: 3rem;
            font-weight: 600;
            text-align: center;
        }

        .section-content {
            padding: 2rem 4rem 8rem;
        }

        /* Propriétés */
        .properties-grid {
            max-width: 1400px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 2rem;
        }

        .property-card {
            background: var(--white);
            padding: 3rem;
            border-radius: 20px;
            box-shadow: 0 5px 30px rgba(0,0,0,0.08);
            transition: transform 0.3s;
        }

        .property-card:hover {
            transform: translateY(-5px);
        }

        .property-icon {
            font-size: 3rem;
            margin-bottom: 1.5rem;
        }

        .property-card h3 {
            font-size: 1.5rem;
            margin-bottom: 1rem;
            color: var(--sage);
        }

        .property-card p {
            color: var(--text-light);
            line-height: 1.7;
        }

        /* Utilisation */
        .usage-content {
            max-width: 1000px;
            margin: 0 auto;
        }

        .usage-item {
            background: var(--white);
            padding: 2.5rem;
            border-radius: 20px;
            margin-bottom: 2rem;
            box-shadow: 0 5px 30px rgba(0,0,0,0.08);
        }

        .usage-item h3 {
            font-size: 1.8rem;
            margin-bottom: 1rem;
            color: var(--sage);
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .usage-icon {
            font-size: 2rem;
        }

        .usage-item p {
            color: var(--text-light);
            line-height: 1.8;
            font-size: 1.1rem;
        }

        .usage-warning {
            background: #fff3cd;
            padding: 2rem;
            border-radius: 15px;
            margin-top: 3rem;
            border-left: 4px solid #ffc107;
        }

        .usage-warning h4 {
            color: #856404;
            margin-bottom: 0.5rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .usage-warning p {
            color: #856404;
            font-size: 0.95rem;
        }

        /* Spécifications techniques */
        .specs-grid {
            max-width: 1000px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 2rem;
        }

        .spec-item {
            background: var(--white);
            padding: 2rem;
            border-radius: 15px;
            box-shadow: 0 5px 20px rgba(0,0,0,0.05);
        }

        .spec-label {
            font-size: 0.9rem;
            text-transform: uppercase;
            letter-spacing: 0.05em;
            color: var(--text-light);
            margin-bottom: 0.5rem;
        }

        .spec-value {
            font-size: 1.3rem;
            font-weight: 600;
            color: var(--text);
        }

        /* Section blanche */
        .white-section {
            background: var(--white);
        }

        .white-section .sticky-header {
            background: var(--white);
        }




/* ==== BOUTONS DE FILTRE ==== */
.filters-container{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:15px;
    margin-top:25px;
    margin-bottom:10px;
}

.filter-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.filter-buttons button {
    padding: 0.5rem 1.5rem;
    border: 1px solid var(--sage);
    border-radius: 25px;
    background: white;
    color: var(--sage);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-buttons button:hover,
.filter-buttons button.active {
    background: var(--sage);
    color: white;
}

/* Conteneur du form inline avec les autres boutons */
.search-box {
    display:flex;
    align-items:center;
    gap:0;
}

/* Input habillé comme un bouton */
.search-box input {
    padding: 0.5rem 1.5rem;          /* même padding que tes boutons */
    border-radius: 25px 0 0 25px;    /* arrondi côté gauche */
    border: 1px solid var(--sage);
    border-right: none;               /* pour fusion avec bouton submit */
    font-weight:500;
    outline:none;
}

/* Bouton submit assorti aux boutons */
.search-box button {
    padding: 0.5rem 1rem;
    border: 1px solid var(--sage);
    border-radius: 0 25px 25px 0;    /* arrondi côté droit */
    background: var(--sage);
    color: white;
    cursor: pointer;
    font-weight:500;
    transition: all 0.3s;
}

.search-box button:hover {
    background: darkgreen; /* ou couleur hover souhaitée */
}


/* =========================
   Section Contact
========================= */
.contact-section {
    padding: 50px 20px;
    background-color: #f9f9f9;
}

.contact-wrapper {
    display: flex;
    gap: 30px;
    flex-wrap: wrap; /* permet le passage en vertical si nécessaire */
    max-width: 1200px;
    margin: 0 auto;
}

/* -------------------------
   Colonne gauche : formulaire
------------------------- */
.contact-form-container {
    flex: 1;
    min-width: 300px;
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.contact-form-container h2 {
    margin-bottom: 20px;
    font-size: 1.8rem;
    color: #2c3e50;
}

.contact-form-container .form-group {
    margin-bottom: 15px;
}

.contact-form-container label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.contact-form-container input,
.contact-form-container textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    background-color: #fff;
}

.contact-form-container textarea {
    min-height: 120px;
    resize: vertical;
}

.contact-form-container .form-btn {
    background-color: #2c3e50;
    color: #fff;
    border: none;
    padding: 12px 25px;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-form-container .form-btn:hover {
    background-color: #1a2a38;
}

/* Message de succès avec GIF */
.contact-success {
    display: flex;
    align-items: center;  /* texte centré verticalement par rapport au GIF */
    gap: 15px;
    margin-bottom: 20px;
    padding: 15px 20px;
    background-color: #d4edda;
    color: #155724;
    border-radius: 10px;
    font-size: 1rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.contact-success img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.contact-success p {
    margin: 0;
    flex: 1;
}

/* -------------------------
   Colonne droite : coordonnées + carte
------------------------- */
.contact-info-container {
    flex: 1;
    min-width: 300px;
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.contact-info-container h2 {
    margin-bottom: 20px;
    font-size: 1.8rem;
    color: #2c3e50;
}

.contact-info-container p {
    margin-bottom: 15px;
    line-height: 1.5;
}

.contact-info-container .map-container {
    width: 100%;
    height: 400px;
    margin-top: 20px;
    border-radius: 10px;
    overflow: hidden;
}

.contact-info-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* -------------------------
   Checkbox
------------------------- */
.checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 2rem;
    font-size: 0.95rem;
    color: var(--text-light);
}

.checkbox-group input {
    width: 18px;
    height: 18px;
    accent-color: var(--sage);
}

/* -------------------------
   Erreurs
------------------------- */
.form-error {
    background: rgba(200, 80, 80, 0.12);
    color: #7a1f1f;
    padding: 1rem 1.2rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    font-weight: 500;
}
/* -------------------------
   section revendeur avec map
------------------------- */
.revendeurs-section {
    padding: 50px 20px;
    background-color: #f2f2f2;
    max-width: 1200px;
    margin: 0 auto 50px auto;
    border-radius: 10px;
}

.revendeurs-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 30px;
}

#map-container {
    width: 100%;
    height: 1000px; /* minimum pour que la carte s'affiche */
    border-radius: 10px;
    overflow: hidden;
    margin-top: 20px;
}
.revendeurs-title {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

#revendeurs-map {
    width: 100%;
    height: 1000px;
    border-radius: 16px;
    margin-top: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}
/* =========================
   Recherche Revendeur
========================= */
.revendeurs-search {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.revendeurs-search input {
    flex: 1 1 250px;  /* prend l'espace disponible mais minimum 250px */
    padding: 10px 15px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.revendeurs-search input:focus {
    border-color: var(--sage);
    box-shadow: 0 0 5px rgba(0, 128, 0, 0.2);
}

.revendeurs-search button {
    padding: 10px 20px;
    background-color: var(--sage);
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s, transform 0.2s;
}

.revendeurs-search button:hover {
    background-color: var(--sage-dark);
    transform: scale(1.05);
}

.revendeurs-list-section {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.revendeurs-list-section h3 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.8rem;
    color: #2c3e50;
}

.revendeurs-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

#revendeurs-list-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.revendeur-card {
    background: #fff;
    border-radius: 10px;
    padding: 15px 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    flex: 1 1 250px; /* responsive */
    min-width: 250px;
}

.revendeur-card h4 {
    margin-top: 0;
}

.revendeur-badge {
    display: inline-block;
    padding: 3px 8px;
    background: #2c3e50;
    color: #fff;
    border-radius: 5px;
    font-size: 0.8rem;
    margin-top: 5px;
}

:root { --nav-h: 100px; }

.section-header,
.quality-header,
.sticky-header {
  top: var(--nav-h);
}

/* Responsive 1800 px--------------------------------------------------------------------------------------------------------*/
/* Limite le nombre de colonnes à 6 */



/* Responsive 1799 px--------------------------------------------------------------------------------------------------------*/
@media (min-width: 1500px) and (max-width: 1799px) {
    .product-list {
        grid-template-columns: repeat(5, 1fr);
    }
}


/* Responsive 1499 px--------------------------------------------------------------------------------------------------------*/
@media (min-width: 1200px) and (max-width: 1499px) {
    .product-list {
        grid-template-columns: repeat(4, 1fr);
    }
}
/* Responsive 1200 px--------------------------------------------------------------------------------------------------------*/
@media (max-width: 1200px) {
    .hero h1 {
        font-size: 3.5rem;
    }

    .categories-scroll-wrapper {
        height: auto;
    }

    .categories-sticky-container {
        position: relative;
        height: auto;
        top: 0;
    }

    .categories-showcase {
        height: auto;
        display: flex;
        flex-direction: column;
        gap: 3rem;

    }

    .category-item {
        position: relative;
        transform: none !important;
        opacity: 1 !important;
        height: 70vh;
    }

    .quality-grid,
    .footer-content {
        grid-template-columns: 1fr;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 1024px), (hover: none) {
    nav {
        padding: 1rem 2rem;
    }

    .nav-menu {
        gap: 1.5rem;
    }

    .nav-menu a {
        font-size: 0.9rem;
    }

    .quality-visual {
        background-attachment: scroll;
        background-position: center center;
        background-size: cover;
    }
}

/* Responsive 992 px--------------------------------------------------------------------------------------------------------*/
@media (min-width: 992px) and (max-width: 1199px) {
    .product-list {
        grid-template-columns: repeat(3, 1fr);
    }
    :root { --nav-h: 72px; }

      .section-header,
      .quality-header,
      .sticky-header {
        padding: 1.25rem 1rem 1rem;
      }

}
/* Responsive 992 px--------------------------------------------------------------------------------------------------------*/
@media (min-width: 768px) and (max-width: 991px) {
    .product-list {
        grid-template-columns: repeat(2, 1fr);
    }
    .contact-wrapper {
        flex-direction: column;
    }

    .contact-info-container,
    .contact-form-container {
        width: 100%;
    }
}


/* Responsive 768 px--------------------------------------------------------------------------------------------------------*/
@media (max-width: 768px) {
      :root { --nav-h: 72px; }

      .section-header,
      .quality-header,
      .sticky-header {
        padding: 1.25rem 1rem 1rem;
      }

      /* tes titres sticky */
      .we-do-title {
        padding: 1.25rem 0;
      }

    .burger {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--cream);
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        padding: 2rem 0;

        max-height: 0;
        overflow: hidden;
        transition: 0.4s ease;
    }

    .nav-menu.active {
        max-height: 500px;
    }

    .nav-cta {
        display: none;
    }

    nav {
        padding: 1rem 2rem;
    }
    .logo-floressence-container {
        flex-direction: column;
        height: 48px;
    }


    .logo-mobile {
        display: block;
        max-height: 48px;
    }

   .hero h1 {
      font-size: clamp(2.1rem, 7vw, 5rem);
      line-height: 1.05;
    }

    .hero p {
        font-size: 1.2rem;
    }

    .category-overlay {
        padding: 2rem;
    }

    .category-overlay h3 {
        font-size: 2rem;
    }

    .category-overlay p {
        font-size: 1.1rem;
    }

    .scroll-item {
        font-size: 1.8rem;
    }

    .valeur-item {
        flex-direction: column;
        text-align: center;
    }

    .valeur-image img {
        max-width: 80%;
        margin-bottom: 20px;
    }

    .product-list {
        grid-template-columns: 1fr;
    }
    .quality-visual {
        height: 420px;
        border-radius: 20px;
    }

    .form-success-container {
        flex-direction: column;   /* GIF au-dessus du texte */
        align-items: center;      /* centre horizontalement */
        text-align: center;
    }

    .contact-success {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .contact-success img {
        width: 80px;
        height: 80px;
    }

    .success-gif {
        margin-bottom: 10px;      /* espace entre GIF et texte */
    }
    #revendeurs-map {
        height: 380px;
    }
    .revendeurs-search {
        flex-direction: column;
        gap: 8px;
    }

    .revendeurs-search input,
    .revendeurs-search button {
        width: 100%;
    }

/* =========================
   MOBILE : désactive le scroll-over Produits
========================= */


  /* Retire la longueur de scroll artificielle */
  .categories-scroll-wrapper {
    height: auto !important;
  }

  /* Stoppe le sticky */
  .categories-sticky-container {
    position: relative !important;
    top: 0 !important;
    height: auto !important;
  }

  /* Layout vertical simple */
  .categories-showcase {
    width: 100% !important;   /* évite les soucis de 100vw */
    height: auto !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 1.25rem !important;
    padding: 0 1rem 2rem !important;
  }

  /* Chaque carte devient “normale” (plus d’absolu / transform / opacity animée) */
  .category-item {
    position: relative !important;
    inset: auto !important;
    transform: none !important;
    opacity: 1 !important;
    height: auto !important;

    /* rendu mobile premium */
    border-radius: 24px !important;
  }

  /* Hauteur image propre sans vh instable */
  .category-image {
    height: 48vh;              /* ajuste à 40–55vh selon ton goût */
    min-height: 320px;
    background-position: center;
    background-size: cover;
  }

  /* Overlay moins “massif” */
  .category-overlay {
    padding: 1.25rem !important;
  }

  .category-overlay h3 {
    font-size: 1.8rem;
  }

  .category-overlay p {
    font-size: 1.05rem;
  }

  /* Meta : évite de prendre trop de place */
  .category-meta {
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
    margin-bottom: 0 !important;
  }



  nav {
    padding: 0.75rem 1rem;
  }

  .logo-floressence-container {
    height: 40px;
  }

  .logo-floressence {
    height: 40px;
    width: auto;
  }




  nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .nav-menu {
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--cream);
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
  }




  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;

    background: var(--cream);
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;

    /* IMPORTANT : fermé = aucune hauteur + aucun padding */
    max-height: 0;
    padding: 0;
    margin: 0;

    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
  }

  .nav-menu.active {
    max-height: 500px;      /* assez grand pour contenir tout */
    padding: 1.5rem 0;      /* padding seulement quand ouvert */
  }


/* =========================
   WE-DO : Mobile (2 colonnes, pas d'overflow)
========================= */


  /* évite tout scroll horizontal parasite */
  .we-do,
  .scroll-container {
    overflow-x: hidden;
  }

  /* stop animation marquee */
  .scroll-track {
    animation: none !important;
    transform: none !important;
    will-change: auto;

    display: grid !important;
    grid-template-columns: 1fr 1fr;   /* ✅ 2 colonnes */
    gap: 0.75rem !important;

    padding: 0 1rem !important;
    width: 100% !important;
  }

  /* ✅ cache la duplication (7 items uniques + duplicata) */
  .scroll-track .scroll-item:nth-child(n+8) {
    display: none !important;
  }
  /* 3) Ré-ordre mobile : 3,4,5,6,7,1,2 */
  .scroll-track .scroll-item { order: 50; } /* valeur par défaut */

  .scroll-track .scroll-item:nth-child(3) { order: 1; }
  .scroll-track .scroll-item:nth-child(4) { order: 2; }
  .scroll-track .scroll-item:nth-child(5) { order: 3; }
  .scroll-track .scroll-item:nth-child(6) { order: 4; }
  .scroll-track .scroll-item:nth-child(7) { order: 5; }

  .scroll-track .scroll-item:nth-child(1) { order: 6; }
  .scroll-track .scroll-item:nth-child(2) { order: 7; }


  /* boutons : taille maîtrisée + centrage vertical */
  .scroll-item {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    padding: 0.6rem 0.75rem !important;
    min-height: 44px !important;      /* tactile */
    font-size: 0.95rem !important;
    line-height: 1.2 !important;

    text-align: center !important;
    white-space: normal !important;   /* ✅ autorise retour à la ligne */
    border-radius: 999px !important;
  }

  .scroll-item a {
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

}

/* =========================================================
   PORTABLES (iOS + Android) : téléphones + tablettes
   - cible tactile (pas de hover) + largeur raisonnable
   - couvre iPhone, iPad, tablettes Android, iPad Pro 12.9
========================================================= */
@media (hover: none) and (pointer: coarse) and (max-width: 1366px) {

  /* ---------- Typo fluide (évite titres trop grands) ---------- */
  .hero h1 { font-size: clamp(2.2rem, 6vw, 3.8rem); line-height: 1.05; }
  .section-header h2,
  .quality-header h2,
  .we-do-title,
  .video-overlay h3,
  .final-cta h2 {
    font-size: clamp(1.8rem, 4.5vw, 3rem);
    line-height: 1.15;
  }
  .section-header p,
  .quality-header p,
  .final-cta p,
  .video-overlay p {
    font-size: clamp(1rem, 2.2vw, 1.35rem);
  }

  /* ---------- NAV : compacte + burger + menu vraiment caché ---------- */
  nav { padding: 0.75rem 1rem; }
  .logo-floressence-container { height: 40px; }
  .logo-floressence { height: 40px; width: auto; }

  .burger { display: flex; }
  .nav-cta { display: none; }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--cream);

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;

    /* fermé = rien ne doit rester visible */
    max-height: 0;
    padding: 0;
    margin: 0;
    overflow: hidden;

    opacity: 0;
    pointer-events: none;

    transition: max-height 0.35s ease, padding 0.35s ease, opacity 0.2s ease;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
  }
  .nav-menu.active {
    max-height: 520px;
    padding: 1.25rem 0;
    opacity: 1;
    pointer-events: auto;
  }

  /* ---------- WE-DO : stop marquee + grid 2 colonnes + pas de scroll horizontal ---------- */
  .we-do, .scroll-container { overflow-x: hidden; }

  .scroll-track {
    animation: none !important;
    transform: none !important;
    will-change: auto;

    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem !important;

    padding: 0 1rem !important;
    width: 100% !important;
  }

  /* cache la duplication (si 7 uniques + duplicata) */
  .scroll-track .scroll-item:nth-child(n+8) { display: none !important; }
  /* 3) Ré-ordre mobile : 3,4,5,6,7,1,2 */
  .scroll-track .scroll-item { order: 50; } /* valeur par défaut */

  .scroll-track .scroll-item:nth-child(3) { order: 1; }
  .scroll-track .scroll-item:nth-child(4) { order: 2; }
  .scroll-track .scroll-item:nth-child(5) { order: 3; }
  .scroll-track .scroll-item:nth-child(6) { order: 4; }
  .scroll-track .scroll-item:nth-child(7) { order: 5; }

  .scroll-track .scroll-item:nth-child(1) { order: 6; }
  .scroll-track .scroll-item:nth-child(2) { order: 7; }

  .scroll-item {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    padding: 0.6rem 0.75rem !important;
    min-height: 44px !important;
    font-size: 0.95rem !important;
    line-height: 1.2 !important;

    text-align: center !important;
    white-space: normal !important;
    border-radius: 999px !important;
  }
  .scroll-item a {
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  /* ---------- PRODUITS : désactive scroll-over/sticky sur portable ---------- */
  .categories-scroll-wrapper { height: auto !important; }
  .categories-sticky-container {
    position: relative !important;
    top: 0 !important;
    height: auto !important;
  }
  .categories-showcase {
    width: 100% !important; /* évite 100vw -> overflow */
    height: auto !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 1.25rem !important;
    padding: 0 1rem 2rem !important;
  }
  .category-item {
    position: relative !important;
    inset: auto !important;
    transform: none !important;
    opacity: 1 !important;
    height: auto !important;
    border-radius: 24px !important;
    overflow: hidden;
  }
  .category-image {
    height: 48vh;
    min-height: 320px;
    background-size: cover;
    background-position: center;
  }

  /* ---------- VALUES : sticky header full width (pas de texte à côté) ---------- */
  .values {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .values .quality-header {
    position: sticky;
    top: 72px; /* adapte si ta nav tactile est plus haute */
    left: 0;
    right: 0;
    width: 100%;

    margin: 0 !important;
    padding: 1.25rem 1rem !important;
    background: var(--cream);
    z-index: 200;
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
  }
  .values .nos-valeurs,
  .values .values-content-wrapper {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  values-content-wrapper {
    padding-bottom: 100px;
  }

  /* ---------- iOS/Android : évite les bugs de background fixed ---------- */
  .hero { background-attachment: scroll; }
  .quality-visual { background-attachment: scroll; }
}
/* =========================================================
   TABLETTES + MOBILES : désactive le mode "scroll-over" Produits
   (évite les images qui se superposent au reste)
========================================================= */
@media (max-width: 1366px) {

  /* stoppe la longueur artificielle */
  .categories-scroll-wrapper {
    height: auto !important;
  }

  /* stoppe le sticky */
  .categories-sticky-container {
    position: relative !important;
    top: 0 !important;
    height: auto !important;
  }

  /* le container redevient normal */
  .categories-showcase {
    position: relative !important;
    width: 100% !important;   /* évite 100vw -> overflow */
    height: auto !important;

    display: flex !important;
    flex-direction: column !important;
    gap: 1.25rem !important;

    padding: 0 1rem 2rem !important;
  }

  /* chaque item n'est plus en absolu -> plus de superposition */
  .category-item {
    position: relative !important;
    inset: auto !important;
    transform: none !important;
    opacity: 1 !important;

    height: auto !important;
    border-radius: 24px !important;
    overflow: hidden !important;
  }

  /* image avec hauteur stable (pas de 85vh / sticky) */
  .category-image {
    height: 420px;        /* iPad */
    max-height: 55vh;
    background-size: cover;
    background-position: center;
  }
}
@media (min-width: 768px) and (max-width: 1366px) {
  .categories-showcase {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 1.25rem !important;
  }

  .categories .section-header h2 {
    font-size: clamp(2.2rem, 4.6vw, 3rem);
  }

  .categories .section-header p {
    font-size: clamp(1rem, 2vw, 1.15rem);
  }

  .category-image {
    height: 360px;
    max-height: 45vh;
  }

  .category-overlay {
    padding: 2rem 1.5rem 1.5rem;
  }

  .category-overlay-container {
    width: 100%;
    max-width: 100%;
    padding: 0;
  }

  .category-overlay h3 {
    font-size: clamp(2rem, 3vw, 2.35rem);
    line-height: 1.08;
    margin-bottom: 0.75rem;
  }

  .category-overlay p {
    font-size: clamp(1rem, 1.45vw, 1.1rem);
    line-height: 1.45;
    max-width: 28ch;
    margin-bottom: 1rem;
  }

  .category-meta {
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    font-size: 0.95rem;
    margin-bottom: 0;
  }


  /* WE-DO : iPad/tablette - évite double sticky + chevauchement */
  .we-do .quality-header {
    position: relative;
    top: 0;
    padding: 1.5rem 1rem 0.75rem;
  }

  .we-do .we-do-title {
    position: static;
    margin: 0;
    padding: 0;
  }

  .we-do .scroll-container {
    padding-top: 0.75rem;
    padding-bottom: 4rem;
  }
}

/* Test iPad : repasse le catalogue accueil sur 1 colonne.
   Pour revenir a 2 colonnes, commenter ou supprimer ce bloc. */
@media (hover: none) and (pointer: coarse) and (min-width: 768px) and (max-width: 1366px) {
  .categories-showcase {
    grid-template-columns: 1fr !important;
  }

  .category-image {
    height: 420px;
    max-height: 55vh;
  }
}
/* =========================================================
   WE-DO : STOP scroll horizontal (iPhone + iPad + tablettes Android)
========================================================= */
@media (max-width: 1366px) {

  /* empêche tout débordement au niveau section */
  .we-do,
  .scroll-container {
    overflow-x: clip;       /* mieux que hidden (si supporté) */
    overflow-x: hidden;     /* fallback */
  }

  /* annule l'animation et la translation */
  .scroll-track {
    animation: none !important;
    transform: none !important;
    will-change: auto !important;

    /* force une mise en page qui ne déborde pas */
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 0.75rem !important;

    width: 100% !important;
    max-width: 100% !important;
    padding: 0 1rem !important;
  }

  /* cache les doublons (si tu as 7 uniques + duplicata) */
  .scroll-track .scroll-item:nth-child(n+8) {
    display: none !important;
  }
   /* 3) Ré-ordre mobile : 3,4,5,6,7,1,2 */
  .scroll-track .scroll-item { order: 50; } /* valeur par défaut */

  .scroll-track .scroll-item:nth-child(3) { order: 1; }
  .scroll-track .scroll-item:nth-child(4) { order: 2; }
  .scroll-track .scroll-item:nth-child(5) { order: 3; }
  .scroll-track .scroll-item:nth-child(6) { order: 4; }
  .scroll-track .scroll-item:nth-child(7) { order: 5; }

  .scroll-track .scroll-item:nth-child(1) { order: 6; }
  .scroll-track .scroll-item:nth-child(2) { order: 7; }
  /* boutons qui ne peuvent PAS élargir la page */
  .scroll-item {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    padding: 0.6rem 0.75rem !important;
    min-height: 44px !important;
    font-size: 0.95rem !important;
    line-height: 1.2 !important;

    text-align: center !important;
    white-space: normal !important;          /* autorise retour à la ligne */
    overflow-wrap: anywhere !important;      /* anti-débordement */
  }

  .scroll-item a {
    width: 100% !important;
    max-width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }



  .burger { display: flex; }
  .nav-cta { display: none; }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--cream);

    flex-direction: column;
    align-items: center;
    gap: 1.25rem;

    max-height: 0;
    padding: 0;
    margin: 0;
    overflow: hidden;

    opacity: 0;
    pointer-events: none;

    transition: max-height .35s ease, padding .35s ease, opacity .2s ease;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    z-index: 2000;
  }

  .nav-menu.active {
    max-height: 600px;
    padding: 1.25rem 0;
    opacity: 1;
    pointer-events: auto;
  }

/* =========================================================
   PORTABLE UNIVERSAL (iOS + Android: phones + tablets)
========================================================= */


  /* 0) garde-fou anti scroll horizontal */
  html, body { overflow-x: hidden; }
  img, video { max-width: 100%; height: auto; }

  /* ---------- Breadcrumb : ne jamais avoir padding-left fixe ---------- */
  .breadcrumb-container {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  .breadcrumb {
    max-width: 100% !important;
    overflow-wrap: anywhere;
  }

  /* ---------- Page wrapper : évite décalages ---------- */
  .page-wrapper { padding-left: 0 !important; padding-right: 0 !important; }

  /* ---------- Hero produit : passe en colonne + padding mobile ---------- */
  .product-hero {
    padding: 2rem 1rem 1.5rem !important;
  }

  .product-hero-content {
    grid-template-columns: 1fr !important;   /* ✅ 1 colonne */
    gap: 1.5rem !important;
    align-items: start !important;
  }

  /* Image */
  .product-image-container {
    height: auto !important;
    padding: 1.25rem !important;
  }

  .product-image {
    width: min(320px, 90vw) !important;
    height: auto !important;
    max-height: 420px;
    margin: 0 auto;
  }

  /* Titre + textes */
  .product-info h1 {
    font-size: clamp(2rem, 5.5vw, 3rem) !important;
    line-height: 1.05;
    word-break: break-word;
  }
  .product-latin {
    font-size: 1.05rem !important;
  }
  .product-description {
    font-size: 1.05rem !important;
  }

  /* ---------- Badges / boutons : wrap + pas de débordement ---------- */
  .product-badges {
    flex-wrap: wrap !important;
    gap: 0.6rem !important;
  }

  .badge-btn,
  .badge-product {
    max-width: 100%;
    white-space: normal !important;
  }

  .badge-product img {
    width: 28px !important;
    height: auto !important;
  }

  /* ---------- Sections sticky : sur portable, on désactive le sticky ---------- */
  .sticky-header {
    position: relative !important;
    top: 0 !important;
    padding: 2rem 1rem 1rem !important;
  }
  .section-content {
    padding: 1rem 1rem 2.5rem !important;
  }

  /* Grids -> 1 colonne ou 2 selon largeur */
  .properties-grid {
    grid-template-columns: 1fr !important;
  }
  .specs-grid {
    grid-template-columns: 1fr !important;
  }

  /* ---------- Footer ---------- */
  footer { padding: 2rem 1rem !important; }
}
@media (min-width: 768px) and (max-width: 1366px) {
  .properties-grid { grid-template-columns: 1fr 1fr !important; }
  .specs-grid { grid-template-columns: 1fr 1fr !important; }
}
/* =========================================================
   Image produit : toujours contenue dans son cadre (iPhone+iPad+Android)
========================================================= */
@media (max-width: 1366px) {

  .product-image {
    width: min(340px, 90vw) !important;
    height: auto !important;

    /* crée une "boîte" stable */
    aspect-ratio: 3 / 4;              /* ajuste si tu veux (ex: 4/5) */
    max-height: 460px;
    overflow: hidden !important;       /* ✅ empêche tout dépassement */
    border-radius: 20px;
  }

  .product-image img {
    width: 100% !important;
    height: 100% !important;           /* ✅ nécessaire pour object-fit */
    object-fit: contain !important;    /* ✅ reste dans le cadre */
    object-position: center !important;
    display: block;
  }

  /* optionnel : évite les effets qui accentuent les bords sur mobile */
  .product-image img {
    mix-blend-mode: normal !important;
    mask-image: none !important;
  }
}
/* =========================================================
   Image produit : toujours contenue dans son cadre (ALL)
========================================================= */

/* Le cadre "carte" doit clipper */
.product-image {
  overflow: hidden;           /* ✅ empêche tout dépassement */
  border-radius: 20px;
}

/* L'image doit occuper le cadre (sinon object-fit ne sert à rien) */
.product-image img {
  width: 100%;
  height: 100%;               /* ✅ clé */
  object-fit: contain;        /* ✅ ne coupe pas */
  object-position: center;
  display: block;
}

/* Desktop : donne une boîte stable (sinon height:100% n'a pas de référence) */
@media (min-width: 1367px) {
  .product-image {
    width: 300px;
    height: 500px;            /* ✅ ta taille desktop actuelle */
  }

  /* tu peux garder tes effets sur desktop */
  .product-image img {
    mix-blend-mode: multiply;
    mask-image: radial-gradient(white 92%, transparent 100%);
  }
}

/* Portable : boîte responsive */
@media (max-width: 1366px) {
  .product-image {
    width: min(340px, 90vw);
    aspect-ratio: 3 / 4;      /* ajuste si besoin */
    height: auto;             /* aspect-ratio fixe la hauteur */
    max-height: 460px;
  }

  /* optionnel: désactive les effets sur mobile si ça “bave” */
  .product-image img {
    mix-blend-mode: normal;
    mask-image: none;
  }
}

/* =========================
   Select pagination (per_page)
========================= */

.per-page-form select {
    padding: 0.5rem 1.5rem;
    border: 1px solid var(--sage);
    border-radius: 25px;
    background: white;
    color: var(--sage);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;

    /* supprime le style natif */
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    /* petite flèche custom */
    background-image: url("data:image/svg+xml,%3Csvg width='14' height='10' viewBox='0 0 20 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 2L10 10L18 2' stroke='%238b9d83' stroke-width='2'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 14px;
    padding-right: 2.5rem;
}

.per-page-form select:hover {
    background-color: var(--sage);
    color: white;
}

.per-page-form select:hover {
    border-color: var(--sage-dark);
}
.per-page-label {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-right: 0.5rem;
}
/* =========================
   Switch "produits par page"
========================= */
.per-page-form {
  display: flex;
  align-items: center;
}

/* Conteneur pills */
.per-page-switch {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--sage);
  border-radius: 999px;
  overflow: hidden;
  background: white;
}

/* Cache les radios natifs */
.per-page-switch input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* Labels = boutons */
.per-page-switch label {
  padding: 0.5rem 1.1rem;
  cursor: pointer;
  font-weight: 500;
  color: var(--sage);
  user-select: none;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  white-space: nowrap;
}

/* Séparateurs subtils */
.per-page-switch label + input + label {
  border-left: 1px solid rgba(139, 157, 131, 0.35);
}

/* Actif */
.per-page-switch input[type="radio"]:checked + label {
  background: var(--sage);
  color: white;
}

/* Hover */
.per-page-switch label:hover {
  background: rgba(139, 157, 131, 0.12);
}


/* =========================================================
   Filtres catalogue : layout propre sur tablettes & mobiles
   (iPad mini / iPad / Android tablets / phones)
========================================================= */
@media (max-width: 1024px) {

  /* Le conteneur principal doit pouvoir wrap */
  .filters-container {
    width: 100%;
  }

  .filter-buttons {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    justify-items: stretch;
    align-items: center;

    /* évite tout scroll horizontal */
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  /* Boutons filtres (Toutes/Bio/Conventionnelle) */
  .filter-buttons button {
    width: 100%;
    justify-content: center;
  }

  /* Recherche = prend toute la largeur */
  .search-box {
    grid-column: 1 / -1;
    width: 100%;
  }

  .search-box input {
    width: 100%;
    min-width: 0; /* IMPORTANT pour éviter débordement en grid */
  }

  /* Switch per-page = prend toute la largeur et se centre */
  .per-page-form {
    grid-column: 1 / -1;
    width: 100%;
    display: flex;
    justify-content: center;
  }

  /* Le switch ne doit jamais dépasser */
  .per-page-switch {
    max-width: 100%;
    flex-wrap: wrap;
    justify-content: center;
  }

  .per-page-switch label {
    flex: 1 1 140px;
    text-align: center;
    white-space: normal;
    min-width: 0;
  }

  /* Si tu affiches "Résultats pour..." dans la même ligne */
  .search-info {
    grid-column: 1 / -1;
    text-align: center;
    margin-top: 4px;
  }
}

/* Mobile : 2 colonnes pour les 3 filtres (plus confortable) */
@media (max-width: 600px) {
  .filter-buttons {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  /* Le 3e bouton (Conventionnelle) passe en pleine largeur */
  .filter-buttons button[data-filter="conv"] {
    grid-column: 1 / -1;
  }
}

@media (max-width: 1024px) {
  .filter-buttons button,
  .per-page-switch label,
  .search-box input,
  .search-box button {
    min-height: 44px;
  }
}


/* =========================
   PAGE PRODUIT : image adaptative portrait/paysage
========================= */

.product-hero .product-image {
  /* base : portrait */
  width: 100%;
  max-width: 340px;
  aspect-ratio: 3 / 4;
  height: auto;

  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);

  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  isolation: isolate;
}

/* fond blanc derrière l’image */
.product-hero .product-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #fff;
  border-radius: 20px;
  z-index: 0;
}

/* l’image remplit le cadre, sans déformation */
.product-hero .product-image img {
  position: relative;
  z-index: 1;

  width: 100%;
  height: 100%;
  object-fit: contain;     /* ✅ montre tout (pas de crop) */
  object-position: center;
  display: block;

  /* tes effets desktop (optionnel) */
  mix-blend-mode: multiply;
  mask-image: radial-gradient(white 92%, transparent 100%);
}

/* ✅ si l’image est paysage, on passe le cadre en paysage */
.product-hero .product-image.is-landscape {
  aspect-ratio: 13.5 / 9;     /* ou 16/9 si tu veux plus “cinéma” */
  width: 100%;
  max-width: 520px;
}

/* optionnel : image carrée */
.product-hero .product-image.is-square {
  aspect-ratio: 1 / 1;
  width: 100%;
  max-width: 520px;
}

/* Sur mobile : on coupe les effets qui “bavent” parfois */
@media (max-width: 768px) {
  .product-hero .product-image img {
    mix-blend-mode: normal;
    mask-image: none;
  }
}
/* 1) IMPORTANT : autorise les colonnes grid à rétrécir (fix overflow iOS) */
.product-hero-content > * {
  min-width: 0;
}

/* 2) Titre : wrap garanti */
.product-info h1 {
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;   /* wrap même si Safari est capricieux */
  word-break: normal;
  hyphens: auto;
}
@media (max-width: 768px) {
  .product-info h1 {
    font-size: clamp(1.8rem, 6vw, 2.4rem);
    line-height: 1.05;
  }
}
