@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap");

@font-face {
    font-family: 'Plane';
    src: url('../PLANE.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

:root {
    --color-primary: #168b3b;
    --color-primary-dark: #0f6a2c;
    --color-secondary: #f6a321;
    --color-dark: #111827;
    --color-light: #ffffff;
    --color-muted: #8b9a8f;

    --font-family-base: "Montserrat", -apple-system, BlinkMacSystemFont,
        "Segoe UI", sans-serif;

    --container-width: min(1240px, 94vw);
    --shadow-soft: 0 12px 30px rgba(15, 23, 42, 0.12);
    --font-title-product: 'Plane', sans-serif;
}

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

body {
    margin: 0;
    font-family: var(--font-family-base);
    color: var(--color-dark);
    background: #f3f4f6;
    line-height: 1.6;
}

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

a:hover,
a:focus {
    text-decoration: underline;
}

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

.container {
    width: var(--container-width);
    margin: 0 auto;
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--color-secondary);
    color: var(--color-dark);
    padding: 0.6rem 1rem;
    z-index: 100;
    font-weight: 600;
    font-size: 0.9rem;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 0;
}

.site-header {
    background: var(--color-light);
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    position: sticky;
    top: 0;
    z-index: 50;
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    padding: 1.2rem 0;
}

.site-branding {
    display: flex;
    align-items: center;
    min-width: 0;
}

.site-branding img {
    height: 120px;
    width: auto;
}

.site-header__actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.site-navigation {
    display: flex;
    align-items: center;
}

.primary-menu {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0;
    margin: 0;
    padding: 0;
    font-size: 0.98rem;
    font-weight: 500;
    text-transform: none;
}

.primary-menu > li {
    position: relative;
    padding: 0 1.4rem;
    color: var(--color-muted);
}

.primary-menu > li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.2rem;
    bottom: 0.2rem;
    width: 1px;
    background: rgba(139, 154, 143, 0.55);
}

.primary-menu > li:first-child {
    padding-left: 0;
}

.primary-menu > li:first-child::before {
    content: none;
}

.primary-menu > li > a {
    color: var(--color-muted);
    text-decoration: none;
    position: relative;
    padding-bottom: 0.15rem;
}

.primary-menu > li > a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -0.3rem;
    height: 2px;
    background: var(--color-primary);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.16s ease-out;
}

.primary-menu > li > a:hover,
.primary-menu > li > a:focus {
    color: var(--color-primary-dark);
}

.primary-menu > li > a:hover::after,
.primary-menu > li > a:focus::after,
.primary-menu > li.current-menu-item > a::after,
.primary-menu > li.current_page_ancestor > a::after {
    transform: scaleX(1);
}

.primary-menu > li.current-menu-item > a,
.primary-menu > li.current_page_ancestor > a {
    color: var(--color-primary-dark);
}

.nav-toggle {
    display: none;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid rgba(15, 23, 42, 0.35);
    background: transparent;
    color: var(--color-primary-dark);
    padding: 0.35rem 0.7rem;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: 3px;
    cursor: pointer;
}

.nav-toggle__icon {
    width: 16px;
    height: 12px;
    display: inline-flex;
    flex-direction: column;
    justify-content: space-between;
}

.nav-toggle__icon span {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--color-primary-dark);
}

.nav-toggle[aria-expanded="true"] {
    border-color: var(--color-secondary);
}

.hero {
    background: linear-gradient(135deg, #111827, #1f2933);
    color: var(--color-light);
    padding: 5rem 0;
}

.hero__inner {
    display: grid;
    gap: 2rem;
}

.hero__title {
    font-size: clamp(2.1rem, 4vw, 3.2rem);
    margin: 0 0 1rem;
}

.hero__subtitle {
    font-size: 1.1rem;
    max-width: 48ch;
    color: #e5e7eb;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.6rem 1.4rem;
    border-radius: 4px;
    border: 1px solid transparent;
    background: var(--color-secondary);
    color: var(--color-dark);
    font-weight: 600;
    cursor: pointer;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.button:hover,
.button:focus {
    transform: translateY(-1px);
    box-shadow: var(--shadow-soft);
    text-decoration: none;
}

.button--outline {
    background: transparent;
    color: var(--color-light);
    border-color: rgba(249, 250, 251, 0.4);
}

.home-intro {
    padding: 3.5rem 0;
}

.home-intro__grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.home-card {
    background: var(--color-light);
    padding: 1.8rem;
    border-radius: 8px;
    box-shadow: var(--shadow-soft);
}

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

.product-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.product-card {
    background: var(--color-light);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.18);
}

.product-card__link {
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card__media {
    aspect-ratio: 4 / 3;
    background: #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-card__placeholder svg {
    width: 60%;
}

.product-card__content {
    padding: 1.4rem;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    flex-grow: 1;
}

.product-card__title {
    margin: 0;
    font-size: 1.15rem;
}

.product-card__excerpt {
    color: var(--color-muted);
    flex-grow: 1;
}

.product-card__cta {
    font-weight: 600;
    color: var(--color-primary-dark);
    font-size: 0.9rem;
}

.catalogue-controls {
    background: var(--color-light);
    padding: 1.8rem 0;
    border-top: 1px solid rgba(15, 23, 42, 0.06);
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.catalogue-filters {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.catalogue-filters label {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    font-weight: 600;
    font-size: 0.9rem;
}

.catalogue-filters input,
.catalogue-filters select {
    border: 1px solid rgba(15, 23, 42, 0.18);
    border-radius: 4px;
    padding: 0.55rem 0.65rem;
    font-size: 0.95rem;
}

.catalogue-count {
    margin-top: 1.3rem;
    font-weight: 600;
    font-size: 0.95rem;
}

.single-product__hero,
.single-variety__hero {
    background: var(--color-light);
    padding: 3rem 0;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.single-product__hero-inner,
.single-variety__hero-inner {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    align-items: center;
}

.single-product__meta p,
.single-variety__meta {
    margin: 0.4rem 0;
    color: var(--color-muted);
    font-size: 0.95rem;
}

.single-product__tabs,
.single-variety__content-section,
.variety-mixes {
    padding: 3rem 0;
}

.product-tabs__nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.product-tabs__button {
    background: #f9fafb;
    border: 1px solid rgba(15, 23, 42, 0.15);
    color: var(--color-primary-dark);
    padding: 0.45rem 0.9rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.product-tabs__button[aria-selected="true"] {
    background: var(--color-primary);
    color: var(--color-light);
    border-color: var(--color-primary);
}

.product-tabs__panel {
    background: var(--color-light);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow-soft);
}

.characteristics-list,
.variety-details {
    display: grid;
    gap: 1rem;
}

.characteristics-list__item,
.variety-details__item {
    display: grid;
    gap: 0.4rem;
}

.documents-list,
.varieties-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.6rem;
}

.variety-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.variety-card {
    background: var(--color-light);
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: var(--shadow-soft);
}

.section-actions {
    margin-top: 2rem;
    text-align: center;
}



@media (max-width: 1100px) {
    .primary-menu > li {
        padding: 0 0.9rem;
    }
}

@media (max-width: 900px) {
    .site-header__inner {
        gap: 1.5rem;
    }
}

@media (max-width: 820px) {
    .site-header__inner {
        flex-wrap: wrap;
        row-gap: 0.6rem;
    }

    .site-header__actions {
        margin-left: auto;
    }

    .site-branding img {
        height: 80px;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: inline-flex;
    }

    .site-navigation {
        position: relative;
    }

    .site-navigation [data-nav-menu] {
        position: absolute;
        top: 100%;
        right: 0;
        left: auto;
        min-width: 230px;
        background: var(--color-light);
        border: 1px solid rgba(15, 23, 42, 0.12);
        box-shadow: var(--shadow-soft);
        margin: 0;
        padding: 0.4rem 0;
        display: none;
        flex-direction: column;
        z-index: 40;
    }

    .site-navigation [data-nav-menu][data-open] {
        display: flex;
    }

    .primary-menu {
        flex-direction: column;
        align-items: stretch;
    }

    .primary-menu > li {
        padding: 0;
    }

    .primary-menu > li::before {
        content: none;
    }

    .primary-menu > li > a {
        padding: 0.5rem 0.9rem;
    }

    .primary-menu > li > a::after {
        left: 0.9rem;
        right: 0.9rem;
        bottom: 0.1rem;
    }
}

.hero.hero--eliard {
    background: linear-gradient(135deg, #0f6a2c, #168b3b);
    color: var(--color-light);
    padding: 4.5rem 0 4rem;
}

.hero__inner {
    display: grid;
    gap: 2.5rem;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.1fr);
    align-items: center;
}

.hero__eyebrow {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin: 0 0 0.75rem;
    color: rgba(249, 250, 251, 0.85);
}

.hero__title {
    margin: 0 0 1rem;
    font-size: clamp(2.1rem, 4vw, 3.2rem);
}

.hero__subtitle {
    margin: 0 0 1.5rem;
    font-size: 1.05rem;
    max-width: 40rem;
    color: #e5f3e9;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.hero__highlights {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    font-size: 0.9rem;
    color: #d1fae5;
}

.hero__highlights li::before {
    content: "•";
    margin-right: 0.35rem;
}
/* ============================
   Hero mosaïque – grille vidéo
   ============================ */

.hero__visual {
	flex: 0 0 420px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.hero-mosaic {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	grid-auto-rows: 190px;          /* un peu plus haut que l’actuel */
	gap: 1.3rem;
	width: 100%;
	max-width: 520px;
}

/* Les 3 cases vidéo (1, 2, 4) */
.hero-mosaic__tile {
	border-radius: 18px;
	overflow: hidden;
	position: relative;
}

/* On neutralise les anciens dégradés si besoin */
.hero-mosaic__tile--field,
.hero-mosaic__tile--tractor,
.hero-mosaic__tile--logistics {
	background: none;
}

/* Vidéos plein cadre */
.hero-mosaic__tile--video {
	background: #0b5f2f; /* fallback si la vidéo ne charge pas */
	padding: 0;
}

.hero-mosaic__video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* Tuile citation en bas à gauche */
.hero-mosaic__tile--quote {
	background: #021a21;
	color: #f9fafb;
	padding: 1.4rem 1.6rem;
	display: flex;
	align-items: flex-start;
	justify-content: flex-start;
}

.hero-mosaic__tile--quote p {
	margin: 0;
	font-size: 0.95rem;
	line-height: 1.5;
}

.hero-mosaic__tile--quote span {
	display: block;
	margin-top: 0.6rem;
	font-size: 0.82rem;
	color: #9ca3af;
}

/* Responsive : on réduit un peu la hauteur sur mobile */
@media (max-width: 900px) {
	.hero-mosaic {
		grid-auto-rows: 160px;
		max-width: 100%;
	}
}

@media (max-width: 640px) {
	.hero__visual {
		margin-top: 2rem;
	}
}


.home-section {
    padding: 3.5rem 0;
    background: var(--color-light);
}

.home-section:nth-of-type(even) {
    background: #f5faf6;
}

.home-section__inner {
    display: grid;
    gap: 2.5rem;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
    align-items: center;
}

.home-section__inner--split {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.home-section__text h2 {
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.7rem;
    color: var(--color-primary-dark);
}

.home-section__text p {
    margin-top: 0;
    margin-bottom: 1rem;
    color: #374151;
}

.home-section__text--accent {
    background: linear-gradient(135deg, #168b3b, #f6a321);
    color: var(--color-light);
    padding: 2rem 2.2rem;
    border-radius: 14px;
    box-shadow: var(--shadow-soft);
}

.home-section__text--accent p {
    color: #f9fafb;
}

.home-section__cta {
    margin-top: 1rem;
}

.home-legacy-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 130px;
    gap: 0.5rem;
}

.home-legacy-grid__cell {
    border-radius: 10px;
    overflow: hidden;
}

.home-legacy-grid__cell--text {
    background: var(--color-light);
    padding: 1.4rem;
    box-shadow: var(--shadow-soft);
}

.home-legacy-grid__cell--text h3 {
    margin-top: 0;
    margin-bottom: 0.75rem;
    color: var(--color-primary-dark);
}

.home-legacy-grid__cell--photo {
    background: url("../img/home-legacy.jpg") center/cover no-repeat,
        linear-gradient(135deg, #d1fae5, #86c98d);
}

.home-expertises-grid {
    display: grid;
    gap: 1.6rem;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.home-expertise-card {
    background: var(--color-light);
    border-radius: 10px;
    padding: 1.6rem;
    box-shadow: var(--shadow-soft);
    border-top: 3px solid rgba(22, 139, 59, 0.2);
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.home-expertise-card h3 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--color-primary-dark);
}

.home-expertise-card p {
    margin: 0;
    color: #4b5563;
    flex-grow: 1;
}

.home-expertise-card__link {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-primary-dark);
}

.home-map-placeholder {
    border-radius: 14px;
    border: 1px dashed rgba(22, 139, 59, 0.25);
    background: linear-gradient(135deg, #ecfdf3, #fef9c3);
    padding: 2rem;
    text-align: center;
    font-size: 0.95rem;
    color: #374151;
}

.home-engagements-grid {
    display: grid;
    gap: 1.6rem;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.home-engagement-card {
    background: var(--color-light);
    border-radius: 10px;
    padding: 1.6rem;
    box-shadow: var(--shadow-soft);
}

.home-engagement-card h3 {
    margin-top: 0;
    margin-bottom: 0.75rem;
    color: var(--color-primary-dark);
}

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

.section-header h2 {
    margin: 0 0 0.75rem;
    font-size: 1.8rem;
    color: var(--color-primary-dark);
}

.section-header p {
    margin: 0;
    color: #4b5563;
}

@media (max-width: 1024px) {
    .hero__inner {
        grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr);
    }
}

@media (max-width: 900px) {
    .hero__inner,
    .home-section__inner,
    .home-section__inner--split {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero__visual {
        order: -1;
    }

    .hero.hero--eliard {
        padding-top: 4rem;
    }
}

@media (max-width: 768px) {
    .hero-mosaic {
        grid-auto-rows: 100px;
    }

    .home-section {
        padding: 3rem 0;
    }
}

.site-main--societe {
    background: #f3f4f6;
}

.societe-hero {
    position: relative;
    padding: 3.5rem 0 3.2rem;
    background: radial-gradient(circle at top left, #ecfdf3 0, #f3f4f6 55%, #ffffff 100%);
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.societe-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(22, 139, 59, 0.09), transparent 45%);
    pointer-events: none;
}

.societe-hero__inner {
    position: relative;
    display: grid;
    gap: 2.5rem;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.1fr);
    align-items: center;
}

.societe-hero__eyebrow {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin: 0 0 0.6rem;
    color: var(--color-muted);
}

.societe-hero__title {
    margin: 0 0 1rem;
    font-size: 2rem;
    color: var(--color-primary-dark);
}

.societe-hero__text {
    margin: 0 0 1.4rem;
    color: #374151;
}

.societe-hero__bullets {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    color: #4b5563;
    font-size: 0.96rem;
}

.societe-hero__bullets li {
    margin-bottom: 0.4rem;
}

.societe-hero__bullets li::before {
    content: "•";
    margin-right: 0.35rem;
    color: var(--color-primary);
}

.societe-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.societe-hero__visual {
    justify-self: stretch;
}

.societe-hero__map-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 18px;
    box-shadow: var(--shadow-soft);
    object-fit: cover;
}

.societe-hero__map-placeholder {
    border-radius: 18px;
    border: 1px dashed rgba(22, 139, 59, 0.25);
    background: linear-gradient(135deg, #ecfdf3, #fef9c3);
    padding: 2rem;
    text-align: center;
    font-size: 0.95rem;
    color: #374151;
}

.societe-eco {
    background: var(--color-light);
    padding: 3.5rem 0;
}

.societe-eco__inner {
    display: grid;
    gap: 2.5rem;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
    align-items: flex-start;
}

.societe-eco__intro h2 {
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.7rem;
    color: var(--color-primary-dark);
}

.societe-eco__intro p {
    margin: 0 0 1rem;
    color: #374151;
}

.societe-eco__grid {
    display: grid;
    gap: 1.4rem;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.societe-eco-card {
    background: #f9fafb;
    border-radius: 12px;
    padding: 1.4rem 1.5rem;
    box-shadow: var(--shadow-soft);
}

.societe-eco-card h3 {
    margin: 0 0 0.7rem;
    font-size: 1.05rem;
    color: var(--color-primary-dark);
}

.societe-eco-card ul {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.94rem;
    color: #4b5563;
}

.societe-eco-card li {
    margin-bottom: 0.25rem;
}

.societe-timeline {
    background: #f5faf6;
    padding: 3.5rem 0;
}

.societe-timeline__inner {
    max-width: 900px;
    margin: 0 auto;
}

.societe-timeline__header {
    text-align: center;
    margin-bottom: 2.3rem;
}

.societe-timeline__header h2 {
    margin: 0 0 0.6rem;
    font-size: 1.8rem;
    color: var(--color-primary-dark);
}

.societe-timeline__header p {
    margin: 0;
    color: #4b5563;
}

.societe-timeline__list {
    position: relative;
    list-style: none;
    margin: 0;
    padding: 0 0 0 1.5rem;
}

.societe-timeline__list::before {
    content: "";
    position: absolute;
    left: 0.25rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--color-primary), rgba(22, 139, 59, 0.1));
}

.societe-timeline__item {
    position: relative;
    margin-bottom: 1.6rem;
    padding-left: 0.75rem;
}

.societe-timeline__dot {
    position: absolute;
    left: -1.05rem;
    top: 0.35rem;
    width: 11px;
    height: 11px;
    border-radius: 999px;
    background: var(--color-secondary);
    box-shadow: 0 0 0 4px rgba(246, 163, 33, 0.25);
}

.societe-timeline__year {
    font-weight: 700;
    color: var(--color-primary-dark);
    font-size: 0.95rem;
}

.societe-timeline__text {
    margin: 0.15rem 0 0;
    color: #374151;
    font-size: 0.95rem;
}

.societe-section {
    padding: 3.5rem 0;
}

.societe-section--alt {
    background: #f5faf6;
}

.societe-section__inner {
    display: grid;
    gap: 2.5rem;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
    align-items: flex-start;
}

.societe-section__text h2 {
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 1.7rem;
    color: var(--color-primary-dark);
}

.societe-section__text p {
    margin: 0 0 1rem;
    color: #374151;
}

.societe-section__list {
    list-style: none;
    margin: 0;
    padding: 0;
    color: #374151;
    font-size: 0.95rem;
}

.societe-section__list li {
    margin-bottom: 0.4rem;
}

.societe-section__visual {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    min-height: 220px;
    display: flex;
    align-items: flex-end;
    padding: 1.4rem 1.6rem;
    color: #f9fafb;
    box-shadow: var(--shadow-soft);
}

.societe-section__visual--semences {
    background: linear-gradient(135deg, #168b3b, #0f6a2c);
}

.societe-section__visual--fertilisation {
    background: linear-gradient(135deg, #166534, #84cc16);
}

.societe-section__visual--durable {
    background: linear-gradient(135deg, #0f766e, #22c55e);
}

.societe-section__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.45;
    mix-blend-mode: multiply;
}

.societe-section__visual-content {
    position: relative;
    z-index: 1;
}

.societe-section__visual h3 {
    margin: 0 0 0.5rem;
    font-size: 1.1rem;
}

.societe-section__visual p {
    margin: 0;
    font-size: 0.95rem;
}

.societe-section__links {
    margin-top: 0.8rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    font-size: 0.9rem;
}

.societe-section__links a {
    color: #fefce8;
    font-weight: 600;
    text-decoration: underline;
}

.societe-sites {
    background: var(--color-light);
    padding: 3.5rem 0;
    border-top: 1px solid rgba(15, 23, 42, 0.05);
}

.societe-sites__header {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2.2rem;
}

.societe-sites__eyebrow {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin: 0 0 0.4rem;
    color: var(--color-muted);
}

.societe-sites__intro h2 {
    margin: 0;
    font-size: 1.8rem;
    color: var(--color-primary-dark);
}

.societe-sites__quote {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    max-width: 420px;
}

.societe-sites__quote-text {
    margin: 0;
    font-size: 0.95rem;
    color: #374151;
}

.societe-sites__quote-text span {
    display: block;
    margin-top: 0.4rem;
    font-size: 0.85rem;
    color: var(--color-muted);
}

.societe-sites__grid {
    display: grid;
    gap: 1.4rem;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.societe-site-card {
    position: relative;
    border-radius: 14px;
    padding: 1.6rem;
    color: #f9fafb;
    overflow: hidden;
    min-height: 150px;
    box-shadow: var(--shadow-soft);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.societe-site-card h3 {
    margin: 0 0 0.7rem;
    font-size: 1.05rem;
}

.societe-site-card p {
    margin: 0;
    font-size: 0.95rem;
}

.societe-site-card__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.25;
}

.societe-site-card__content {
    position: relative;
    z-index: 1;
}

.societe-site-card--pontivy {
    background: linear-gradient(135deg, #168b3b, #0f6a2c);
}

.societe-site-card--nantes {
    background: linear-gradient(135deg, #16a34a, #0f766e);
}

.societe-site-card--hub {
    background: linear-gradient(135deg, #22c55e, #15803d);
}

.societe-site-card--fertemis {
    background: linear-gradient(135deg, #166534, #84cc16);
}

.societe-site-card--luitre {
    background: linear-gradient(135deg, #0f766e, #22c55e);
}

.societe-site-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.25);
}

.societe-keyfigs {
    background: #f5faf6;
    padding: 3.5rem 0;
}

.societe-values {
    background: var(--color-light);
    padding: 3.5rem 0;
}

.societe-content {
    background: var(--color-light);
    padding: 3rem 0 3.5rem;
}

.js-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.45s ease-out, transform 0.45s ease-out;
}

.js-reveal--animated {
    opacity: 0;
    transform: translateY(24px);
}

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

@media (max-width: 1024px) {
    .societe-hero__inner,
    .societe-eco__inner,
    .societe-section__inner {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }
}

@media (max-width: 900px) {
    .societe-hero__inner,
    .societe-eco__inner,
    .societe-section__inner {
        grid-template-columns: minmax(0, 1fr);
    }

    .societe-hero__visual {
        order: -1;
    }

    .societe-sites__header {
        flex-direction: column;
        align-items: flex-start;
    }

    .societe-timeline__list::before {
        left: 0.15rem;
    }
}

@media (max-width: 768px) {
    .societe-hero {
        padding-top: 3rem;
    }

    .societe-timeline__list {
        padding-left: 1.2rem;
    }
}

/* ============================
   FOOTER – STRUCTURE GLOBALE
   ============================ */

.site-footer {
    margin-top: 3rem;
    font-size: 0.94rem;
    color: #4b5563; /* texte gris lisible */
}

.site-footer__background {
    background: #f3f4f6;
    border-top: 1px solid rgba(148, 163, 184, 0.35);
    padding: 1.5rem 0 1.6rem;
}

.site-footer__top {
    display: flex;
    flex-wrap: wrap;
    gap: 2.2rem;
    justify-content: space-between;
    align-items: flex-start;
    background: #ffffff;
    border-radius: 18px;
    padding: 1.3rem 1.7rem;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.10);
}

/* liens dans la “carte” : même couleur que le texte par défaut */
.site-footer__top a {
    color: inherit;
}

.site-footer__block {
    flex: 1 1 230px;
    min-width: 220px;
}

@media (min-width: 900px) {
    .site-footer__block + .site-footer__block {
        border-left: 1px solid rgba(209, 213, 219, 0.7);
        padding-left: 2rem;
    }
}

/* ============================
   BLOC MARQUE + ADRESSE
   ============================ */

.footer-brand {
    margin-bottom: 0.7rem;
}

.footer-brand__logo img {
    max-width: 135px;
    height: auto;
    display: block;
    margin-bottom: 0.35rem;
}

.footer-brand__tagline {
    margin: 0;
    font-size: 0.86rem;
    color: #6b7280;
}

.footer-address {
    margin: 0;
    color: #6b7280;
    line-height: 1.6;
}

/* ============================
   TITRES DE COLONNES
   ============================ */

.footer-title {
    margin: 0 0 0.4rem;
    font-size: 0.96rem;
    font-weight: 600;
    color: #0f6a2c;
}

/* ============================
   HORAIRES – TOUJOURS VISIBLES
   ============================ */

/* Si le bouton "Afficher / masquer" existe encore dans le HTML, on le cache */
.footer-toggle {
    display: none !important;
}

.footer-hours-panel {
    max-height: none;
    opacity: 1;
    overflow: visible;
    margin-top: 0.4rem;
}

.footer-hours {
    list-style: none;
    margin: 0.4rem 0 0;
    padding: 0;
}

.footer-hours li {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.02rem 0; /* lignes plus serrées */
}

.footer-hours__label,
.footer-hours__value {
    font-size: 0.9rem;
}

@media (max-width: 900px) {
    .footer-hours li {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-hours__value {
        text-align: left;
        white-space: normal;
    }
}

/* ============================
   TÉLÉPHONES
   ============================ */

.footer-phones {
    list-style: none;
    margin: 1rem 0 0;
    padding: 0;
    display: grid;
    gap: 0.4rem;
    font-size: 0.95rem;
}

.footer-phone {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-phone__icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    fill: #15803d; /* vert visible sur fond blanc */
}

.footer-phone__label {
    font-weight: 600;
    display: block;
}

.footer-phone__number a {
    color: inherit;
    text-decoration: none;
}

.footer-phone__number a:hover {
    text-decoration: underline;
}

/* ============================
   CGV / MENTIONS – PLUS DISCRÈTES
   ============================ */

.footer-links {
    list-style: none;
    margin: 0 0 1.2rem;
    padding: 0;
    display: grid;
    gap: 0.3rem;
    font-size: 0.9rem;
    opacity: 0.85;
}

.footer-links a {
    color: #166534; /* vert un peu assourdi */
    font-weight: 400;
    text-decoration: none;
}

.footer-links a:hover {
    text-decoration: underline;
}

/* ============================
   BOUTON RETOUR HAUT – ICÔNE
   ============================ */

.footer-backtotop {
    margin-top: 0.8rem;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: 1px solid rgba(22, 163, 74, 0.4);
    background: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease,
        box-shadow 0.15s ease, transform 0.1s ease;
}

.footer-backtotop__icon {
    width: 18px;
    height: 18px;
    fill: #15803d;
    transition: transform 0.15s ease;
}

.footer-backtotop:hover {
    background-color: #ecfdf3;
    border-color: #16a34a;
    box-shadow: 0 8px 20px rgba(22, 163, 74, 0.22);
    transform: translateY(-1px);
}

.footer-backtotop:hover .footer-backtotop__icon {
    transform: translateY(-2px);
}

/* Texte uniquement pour lecteurs d’écran */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ============================
   BAS DE PAGE
   ============================ */

.site-footer__bottom {
    background: #0f172a;
    color: #9ca3af;
    padding: 0.9rem 0;
}

.site-footer__bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-footer__copyright {
    margin: 0;
    font-size: 0.86rem;
}

/* ============================
   RESPONSIVE
   ============================ */

@media (max-width: 900px) {
    .site-footer__background {
        padding: 1.9rem 0 2rem;
    }

    .site-footer__top {
        padding: 1.5rem 1.5rem;
        box-shadow: 0 14px 30px rgba(15, 23, 42, 0.14);
    }

    .site-footer__block + .site-footer__block {
        border-left: none;
        padding-left: 0;
        border-top: 1px solid rgba(229, 231, 235, 0.9);
        padding-top: 1.3rem;
        margin-top: 1.2rem;
    }

    .site-footer__bottom-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.3rem;
    }
}

@media (max-width: 640px) {
    .site-footer__top {
        padding: 1.4rem 1.3rem;
        border-radius: 14px;
    }

    .footer-brand__logo img {
        max-width: 120px;
    }
}

/* Police Plane (si tu en as besoin ailleurs) */
@font-face {
    font-family: "Plane";
    src: url("../PLANE.otf") format("opentype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* ================================
   Catalogue – grille de cartes
   ================================ */





.catalogue-section--pmg {
    margin-top: 2.5rem;
}

.pmg-tool {
    margin-top: 1.2rem;
    padding: 1.4rem 1.6rem;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 1.6rem;
}

.pmg-tool__label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.3rem;
    color: #374151;
}

.pmg-tool__select {
    width: 100%;
    max-width: 100%;
    padding: 0.45rem 0.6rem;
    border-radius: 8px;
    border: 1px solid #d1d5db;
    font-size: 0.95rem;
}

.pmg-tool__results {
    display: grid;
    gap: 0.35rem;
    font-size: 0.95rem;
}

.pmg-tool__row {
    display: flex;
    justify-content: space-between;
    gap: 0.8rem;
}

.pmg-tool__row-label {
    font-weight: 500;
    color: #374151;
}

.pmg-tool__row-value {
    font-variant-numeric: tabular-nums;
    color: #065f46;
}

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









.mix-grid {
    display: grid;
    gap: 1.4rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* 2 colonnes sur écran moyen */
@media (max-width: 1100px) {
    .mix-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* 1 colonne sur mobile */
@media (max-width: 720px) {
    .mix-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}
/* ================================
   Catalogue – cartes mélange
   ================================ */

.mix-card {
    background: var(--color-light);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: none; /* plus d’ombre */
    border: 1px solid rgba(15, 23, 42, 0.06);
    transition: border-color 0.15s ease, background-color 0.15s ease;
}

.mix-card:hover,
.mix-card:focus-within {
    border-color: rgba(22, 139, 59, 0.35);
    background-color: #f9fafb;
}

.mix-card__link {
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative; /* nécessaire pour l'icône en bas à droite */
}

/* Bande visuelle du haut (aperçu produit) */
.mix-card__media {
    position: relative;
    height: 95px;          /* hauteur fixe plus basse */
    overflow: hidden;
}

.mix-card__image-bg {
    position: absolute;
    inset: 0;
    background-image: var(--mix-bg-url);
    background-size: cover;
    background-position: center;
}

.mix-card__image-fade {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 60%; 
    background: linear-gradient(
        to bottom,
        rgba(17, 24, 39, 0) 0%,
        rgba(17, 24, 39, 0.45) 40%,
        rgba(17, 24, 39, 0.75) 100%
    );
}

.mix-card__body {
    padding: 0.7rem 0.9rem 0.8rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Ligne sac + textes :
   -> le texte commence bien sous la bande herbe (fond blanc)
   -> le sac seul remonte sur l’herbe via margin-top négatif
*/
.mix-card__row {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    margin-top: 0.4rem; /* TEXTE sous la bande herbe */
    position: relative;
    z-index: 2;
}

/* Sac bien plus grand, qui dépasse sur l’aperçu */
.mix-card__bag-inline {
    width: 120px;              /* agrandi : ajuste ici si tu veux encore plus */
    height: auto;
    flex-shrink: 0;
    position: relative;
    margin-top: -46px;         /* fait remonter le sac sur l’herbe */
    box-shadow: none;
    filter: none;
}

.mix-card__text {
    min-width: 0;
}

.mix-card__group {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-muted);
    margin-bottom: 0.15rem;
}

.mix-card__title {
    margin: 0;
    font-size: 1.25rem;
    line-height: 1.2;
    color: var(--color-primary-dark);
    font-family: var(--font-title-product, var(--font-family-base));
    letter-spacing: 0.03em;
}



.mix-card__description {
    margin: 0.25rem 0 0.2rem;
    font-size: 0.86rem;
    color: #4b5563;
}

.mix-card__weight {
    margin: 0;
    font-size: 0.82rem;
    color: #6b7280;
}

.mix-card__brand {
    margin: 0;
    font-size: 0.8rem;
    color: #6b7280;
}

/* bas de carte : labels / infos complémentaires */
.mix-card__footer {
    margin-top: 0.4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mix-card__labels {
    font-size: 0.78rem;
}

/* Classe utilisée par le filtrage JS */
.mix-card.is-hidden {
    display: none;
}
/* Petit pictogramme en bas à droite pour indiquer le clic */
.mix-card__link::after {
    content: "↗";
    position: absolute;
    right: 0.8rem;
    bottom: 0.65rem;
    font-size: 0.8rem;
    color: #9ca3af;
    transition: color 0.15s ease;
}

.mix-card__link:hover::after,
.mix-card__link:focus-visible::after {
    color: var(--color-primary-dark);
}

/* ============================
   Modale produit catalogue
   ============================ */
.product-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.35);
    opacity: 0;
    transition: opacity 0.15s ease-out;
    z-index: 80;
}

.product-modal-backdrop.is-visible {
    opacity: 1;
}

.product-modal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    z-index: 90;
    pointer-events: none;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.18s ease-out, transform 0.18s ease-out;
}

.product-modal.is-visible {
    pointer-events: auto;
    opacity: 1;
    transform: translateY(0);
}

.product-modal__dialog {
    background: #ffffff;
    max-width: 980px;
    width: 100%;
    border-radius: 14px;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    max-height: min(90vh, 720px);
}

.product-modal__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.4rem 1.6rem;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    background: linear-gradient(120deg, #0f6a2c, #168b3b);
    color: #f9fafb;
}

.product-modal__group {
    margin: 0 0 0.3rem;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    opacity: 0.9;
}

.product-modal__title {
    margin: 0;
    font-size: 1.4rem;
    font-family: var(--font-title-product, var(--font-family-base));
}

.product-modal__weight {
    margin: 0.3rem 0 0;
    font-size: 0.9rem;
    opacity: 0.9;
}

.product-modal__close {
    border: none;
    background: rgba(15, 23, 42, 0.16);
    color: inherit;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.product-modal__close-icon::before,
.product-modal__close-icon::after {
    content: "";
    display: block;
    width: 14px;
    height: 2px;
    background: #f9fafb;
    transform-origin: center;
}

.product-modal__close-icon::before {
    transform: rotate(45deg) translateY(1px);
}

.product-modal__close-icon::after {
    transform: rotate(-45deg) translateY(-1px);
}

.product-modal__body {
    padding: 1.6rem 1.6rem 1.8rem;
    overflow: auto;
}

.product-modal__layout {
    display: grid;
    gap: 1.8rem;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.2fr);
    align-items: flex-start;
}

.product-modal__figure {
    margin-bottom: 1.4rem;
    display: flex;
    justify-content: center;
}

.product-modal__image {
    max-width: 210px;
}

.product-modal__section-title {
    margin: 0 0 0.7rem;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-primary-dark);
}

.product-modal__description-section {
    margin-top: 1.8rem;
}

.product-modal__description {
    margin: 0;
    font-size: 0.95rem;
    color: #374151;
}

/* Composition table */
.composition-table__table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.92rem;
}

.composition-table__table th,
.composition-table__table td {
    padding: 0.45rem 0.4rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.35);
}

.composition-table__table th {
    text-align: left;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: #6b7280;
    background: #f9fafb;
}

.composition-table__variety {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.composition-table__color-dot {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    border: 1px solid rgba(15, 23, 42, 0.16);
}

.composition-table__percent {
    text-align: right;
    font-weight: 600;
}

/* Anneau de peuplement */
.product-modal__ring-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.9rem;
}

.product-modal__ring-svg {
    width: 190px;
    height: 190px;
    display: block;
}

.product-modal__legend {
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
    font-size: 0.85rem;
}

.product-modal__legend-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.25rem;
}

.product-modal__legend-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    flex-shrink: 0;
}

.product-modal__legend-label {
    color: #4b5563;
}

/* Responsive */
@media (max-width: 900px) {
    .product-modal__layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .product-modal__dialog {
        max-height: 100vh;
    }

    .product-modal__body {
        padding: 1.2rem 1.2rem 1.4rem;
    }
}



/* =========================================
   PAGE SÉCURITÉ
   ========================================= */

.page-securite {
    padding: 48px 0 72px;
}

/* ===== HERO ===== */

.safety-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.6fr);
    gap: 40px;
    align-items: stretch;
    margin-bottom: 40px;
}

.safety-hero__intro {
    max-width: 540px;
}

.safety-hero__title {
    font-size: 2.1rem;
    line-height: 1.15;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #111827;
    margin: 0 0 12px;
}

.safety-hero__subtitle {
    font-size: 1.4rem;
    font-weight: 600;
    color: #22a33a;
    margin: 0 0 16px;
}

.safety-hero__lead {
    font-size: 0.98rem;
    line-height: 1.7;
    color: #4b5563;
    margin: 0;
}

/* Visuel + bloc FDS */

.safety-hero__visual {
    position: relative;
    min-height: 260px;
    display: flex;
    align-items: stretch;
}

.safety-hero__image {
    flex: 1;
    background-size: cover;
    background-position: center;
    border-radius: 4px 0 0 4px;
}

.safety-hero__image--placeholder {
    background: linear-gradient(135deg, #d1fae5, #bfdbfe);
}

.safety-fds {
    width: 280px;
    background: #e85b25;
    color: #ffffff;
    padding: 26px 22px 24px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    border-radius: 0 4px 4px 0;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.18);
}

.safety-fds__title {
    font-size: 1.05rem;
    font-weight: 700;
    text-align: center;
    margin: 0 0 10px;
}

.safety-fds__subtitle {
    font-size: 0.9rem;
    text-align: center;
    margin: 0 0 16px;
}

.safety-fds__form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.safety-fds__field {
    position: relative;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
    padding: 0 14px 0 40px;
    display: flex;
    align-items: center;
    height: 40px;
}

.safety-fds__icon {
    position: absolute;
    left: 14px;
    width: 18px;
    height: 18px;
    border-radius: 999px;
    border: 2px solid #cbd5f5;
    box-sizing: border-box;
}

.safety-fds__icon::after {
    content: "";
    position: absolute;
    width: 9px;
    height: 2px;
    background: #cbd5f5;
    border-radius: 999px;
    transform: rotate(45deg);
    right: -4px;
    bottom: -1px;
}

.safety-fds__input {
    width: 100%;
    border: none;
    outline: none;
    font-size: 0.9rem;
    color: #111827;
}

.safety-fds__input::placeholder {
    color: #9ca3af;
}

.safety-fds__hint {
    font-size: 0.8rem;
    line-height: 1.5;
    margin: 0;
}

/* ===== PANELS TEXTE + IMAGES ===== */

.safety-panels {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: minmax(180px, auto);
    gap: 0;
    margin-bottom: 40px;
}

.safety-panel {
    display: flex;
    flex-direction: column;
}

/* Blocs verts texte */

.safety-panel--text {
    padding: 24px 22px;
    font-size: 0.9rem;
    line-height: 1.7;
}

.safety-panel--green {
    background: #3ba63a;
    color: #ffffff;
}

.safety-panel--text p {
    margin: 0 0 12px;
}

.safety-panel--text p:last-child {
    margin-bottom: 0;
}

/* Blocs image */

.safety-panel--image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Positionnement façon ancien site :
   [text][image]
   [text][image] */
.safety-panel:nth-child(1) {
    grid-column: 1 / span 2;
}

.safety-panel:nth-child(2) {
    grid-column: 3 / span 2;
}

.safety-panel:nth-child(3) {
    grid-column: 1 / span 2;
}

.safety-panel:nth-child(4) {
    grid-column: 3 / span 2;
}

/* ===== CONTENU SUPPLÉMENTAIRE ===== */

.safety-extra {
    margin-top: 32px;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 1024px) {

    .safety-hero {
        grid-template-columns: minmax(0, 1fr);
    }

    .safety-hero__visual {
        flex-direction: column;
    }

    .safety-hero__image {
        border-radius: 4px 4px 0 0;
        min-height: 180px;
    }

    .safety-fds {
        width: 100%;
        border-radius: 0 0 4px 4px;
        margin-top: 8px;
        flex-direction: column;
    }

    .safety-panels {
        grid-template-columns: minmax(0, 1fr);
    }

    .safety-panel:nth-child(1),
    .safety-panel:nth-child(2),
    .safety-panel:nth-child(3),
    .safety-panel:nth-child(4) {
        grid-column: auto;
    }
}

@media (max-width: 640px) {
    .page-securite {
        padding-top: 32px;
    }

    .safety-hero__title {
        font-size: 1.7rem;
    }

    .safety-hero__subtitle {
        font-size: 1.2rem;
    }
}
/* =========================================
   PAGE SPÉCIALITÉS
   ========================================= */

.page-specialites {
    padding: 48px 0 64px;
}

/* ===== HERO ===== */

.specialites-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.2fr);
    gap: 32px;
    margin-bottom: 36px;
    align-items: stretch;
}

.specialites-hero__text {
    max-width: 620px;
}

.specialites-hero__eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.78rem;
    font-weight: 600;
    color: #16a34a;
    margin: 0 0 8px;
}

.specialites-hero__title {
    font-size: 2.1rem;
    line-height: 1.15;
    margin: 0 0 14px;
    color: #0f172a;
}

.specialites-hero__title span {
    display: block;
    font-weight: 500;
}

.specialites-hero__lead {
    font-size: 0.98rem;
    line-height: 1.8;
    color: #4b5563;
    margin: 0;
}

.specialites-hero__side {
    display: flex;
    align-items: stretch;
    justify-content: flex-end;
}

.specialites-hero__block {
    background: linear-gradient(135deg, #16a34a, #22c55e);
    color: #ffffff;
    border-radius: 16px;
    padding: 20px 22px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 18px 40px rgba(22, 163, 74, 0.35);
}

.specialites-hero__block-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0 0 10px;
}

.specialites-hero__block-text {
    font-size: 0.9rem;
    line-height: 1.7;
    margin: 0;
}

/* ===== SECTION PRODUITS ===== */

.specialites-section--products {
    background: linear-gradient(to bottom, #f5f7fb 0%, #f9fafb 60%, #ffffff 100%);
    border-radius: 20px;
    padding: 24px 24px 28px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
}

.specialites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 22px;
}

/* ===== CARTE PRODUIT ===== */

.specialites-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 18px 20px 16px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.08);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.specialites-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14);
}

.specialites-card__header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

.specialites-card__tag {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 600;
    margin: 0;
    color: #16a34a;
}

/* variantes de tag selon type */
.specialites-card--culture .specialites-card__tag {
    color: #0369a1;
}

.specialites-card--fertilisation .specialites-card__tag {
    color: #a16207;
}

.specialites-card__title {
    margin: 0;
    font-family: "Plane", "Montserrat", system-ui, -apple-system, BlinkMacSystemFont,
        "Segoe UI", sans-serif;
    font-size: 1.4rem;
    font-weight: 400;
    color: #111827;
}

/* Corps de carte */

.specialites-card__body {
    display: grid;
    grid-template-columns: minmax(0, 1.8fr) auto;
    gap: 16px;
    align-items: center;
    margin-bottom: 12px;
}

.specialites-card__body--stack {
    align-items: flex-start;
}

.specialites-card__text {
    font-size: 0.9rem;
    line-height: 1.7;
    color: #4b5563;
}

.specialites-card__text p {
    margin: 0 0 8px;
}

.specialites-card__text p:last-child {
    margin-bottom: 0;
}

.specialites-card__media img {
    display: block;
    max-width: 90px;
    height: auto;
}

.specialites-card__media--circle img {
    max-width: 72px;
    border-radius: 999px;
}

/* liste pour la fertilisation */

.specialites-list {
    margin: 10px 0 0;
    padding-left: 18px;
    font-size: 0.9rem;
}

.specialites-list li {
    margin-bottom: 4px;
}

/* Footer de carte */

.specialites-card__footer {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: auto;
}

.specialites-card__meta {
    font-size: 0.82rem;
    color: #64748b;
}

.specialites-card__label {
    display: inline-block;
}

/* Actions */

.specialites-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* Boutons pill réutilisables */

.btn-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 16px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease,
        box-shadow 0.15s ease, transform 0.1s ease, border-color 0.15s ease;
}

.btn-pill--primary {
    background: #16a34a;
    color: #ffffff;
    border: 1px solid #16a34a;
    box-shadow: 0 8px 18px rgba(22, 163, 74, 0.35);
}

.btn-pill--primary:hover {
    background: #15803d;
    border-color: #15803d;
    transform: translateY(-1px);
    box-shadow: 0 12px 26px rgba(22, 163, 74, 0.45);
}

.btn-pill--ghost {
    background: #ffffff;
    color: #16a34a;
    border: 1px solid rgba(22, 163, 74, 0.5);
}

.btn-pill--ghost:hover {
    background: #ecfdf3;
    border-color: #16a34a;
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(22, 163, 74, 0.25);
}

/* ===== EXTRA ===== */

.specialites-extra {
    margin-top: 32px;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 1024px) {

    .specialites-hero {
        grid-template-columns: minmax(0, 1fr);
    }

    .specialites-hero__side {
        justify-content: flex-start;
    }

    .specialites-section--products {
        padding: 20px 18px 24px;
    }

    .specialites-card__body {
        grid-template-columns: minmax(0, 1.6fr) auto;
    }
}

@media (max-width: 768px) {
    .page-specialites {
        padding-top: 32px;
    }

    .specialites-card__body {
        grid-template-columns: minmax(0, 1fr);
    }

    .specialites-card__media {
        justify-self: flex-start;
    }

    .specialites-card__actions {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* =========================================
   PAGE CATALOGUE
   ========================================= */

.catalogue-page {
    padding: 48px 0 64px;
}

/* HEADER */

.catalogue-header {
    max-width: 680px;
    margin: 0 auto 32px;
    text-align: left;
}

.catalogue-header__eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.78rem;
    font-weight: 600;
    color: #16a34a;
    margin: 0 0 8px;
}

.catalogue-header__title {
    font-size: 2rem;
    margin: 0 0 10px;
    color: #0f172a;
}

.catalogue-header__lead {
    font-size: 0.98rem;
    line-height: 1.8;
    color: #4b5563;
    margin: 0;
}

/* GRILLE DE CARTES */

.catalogue-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

/* CARTE PRODUIT */

.catalogue-card {
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.catalogue-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.16);
}

/* BANDE HERBE (FOND + FONDU) */

.catalogue-card__media {
    position: relative;
    height: 120px;
    overflow: hidden;
}

.catalogue-card__bg {
    position: absolute;
    inset: 0;
    background-image: var(--catalogue-bg);
    background-size: cover;
    background-position: center top;
    transform: scale(1.03);
}

.catalogue-card__fade {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.65) 55%,
        #ffffff 100%
    );
}

/* CORPS */

.catalogue-card__body {
    padding: 18px 22px 16px;
    display: flex;
    flex-direction: column;
    min-height: 170px;
}

.catalogue-card__row {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

/* sac */

.catalogue-card__bag {
    width: 110px;
    height: auto;
    flex-shrink: 0;
    display: block;
}

/* texte */

.catalogue-card__text {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.catalogue-card__group {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.8;
    color: #16a34a;
    margin: 0 0 4px;
}

/* titre en Plane */

.catalogue-card__title {
    font-family: "Plane", "Montserrat", system-ui, -apple-system,
        BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 1.55rem;
    font-weight: 400;
    margin: 0 0 8px;
    color: #111827;
}

.catalogue-card__description {
    font-size: 0.9rem;
    color: #475569;
    margin: 0;
}

/* FOOTER */

.catalogue-card__footer {
    margin-top: auto;
    padding-top: 14px;
    display: flex;
    justify-content: flex-end;
}

/* bouton pill réutilisable (même style que page spécialités) */

.btn-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 15px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease,
        box-shadow 0.15s ease, transform 0.1s ease, border-color 0.15s ease;
}

.btn-pill--ghost {
    background: #ffffff;
    color: #16a34a;
    border: 1px solid rgba(22, 163, 74, 0.5);
    box-shadow: 0 6px 16px rgba(22, 163, 74, 0.22);
}

.btn-pill--ghost:hover {
    background: #ecfdf3;
    border-color: #16a34a;
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(22, 163, 74, 0.35);
}

/* ==========================
   MODALE CATALOGUE
   ========================== */

.catalogue-modal[hidden] {
    display: none;
}

.catalogue-modal {
    position: fixed;
    inset: 0;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.catalogue-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.35);
}

.catalogue-modal__dialog {
    position: relative;
    z-index: 1;
    background: #ffffff;
    border-radius: 18px;
    padding: 24px 24px 20px;
    min-width: min(420px, 90vw);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.45);
}

.catalogue-modal__close {
    position: absolute;
    top: 8px;
    right: 10px;
    border: none;
    background: transparent;
    font-size: 1.4rem;
    cursor: pointer;
    color: #4b5563;
}

.catalogue-modal__content {
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
    color: #16a34a;
}

/* RESPONSIVE */

@media (max-width: 768px) {
    .catalogue-page {
        padding-top: 32px;
    }

    .catalogue-card__body {
        padding: 16px 16px 14px;
    }

    .catalogue-card__row {
        gap: 14px;
    }

    .catalogue-card__bag {
        width: 90px;
    }
}

.catalogue-load-more {
    margin-top: 1.8rem;
    text-align: center;
}

.catalogue-load-more .button {
    min-width: 200px;
}

/* =========================================
   Fiche produit – layout général
   ========================================= */

.single-product {
    background: #f3f4f6;
}

.single-product__hero {
    background: var(--color-light);
    padding: 3rem 0;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.single-product__hero-inner {
    display: grid;
    gap: 2.5rem;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.3fr);
    align-items: center;
}

.single-product__media {
    display: flex;
    justify-content: center;
    align-items: center;
}



.single-product__content {
    max-width: 640px;
}

.single-product__eyebrow {
    margin: 0 0 0.5rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--color-muted);
}

.single-product__title {
    margin: 0 0 1rem;
    font-size: 2rem;
    color: var(--color-primary-dark);
    font-family: var(--font-title-product, var(--font-family-base));
}

.single-product__meta p {
    margin: 0.25rem 0;
    font-size: 0.95rem;
    color: #4b5563;
}

.single-product__excerpt {
    margin: 1.2rem 0 1.4rem;
    font-size: 0.98rem;
    color: #374151;
}

.single-product__labels {
    margin: 0 0 1.4rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.single-product__actions {
    margin-top: 0.5rem;
}

/* =========================================
   Fiche produit – bloc contenu (tabs/panel)
   ========================================= */

.single-product__tabs {
    padding: 3rem 0 3.5rem;
}

.product-sheet__layout {
    display: grid;
    gap: 2.2rem;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.2fr);
    align-items: flex-start;
}

.product-sheet__left,
.product-sheet__right {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.product-sheet__section {
    background: #ffffff;
    border-radius: 10px;
    padding: 1.5rem 1.6rem;
    box-shadow: var(--shadow-soft);
}

.product-sheet__section-title {
    margin: 0 0 1rem;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: var(--color-primary-dark);
}

.product-sheet__text {
    font-size: 0.96rem;
    color: #374151;
}

.product-sheet__text p {
    margin-top: 0;
    margin-bottom: 0.9rem;
}
/* =========================================
   Tableau de composition – style fiche PDF
   ========================================= */

.composition-table {
    width: 100%;
    overflow-x: auto;
}

.composition-table__table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 4px;
    font-size: 0.92rem;
    background: transparent;
}

/* On garde l'en-tête pour les lecteurs d'écran mais on ne l’affiche pas visuellement */
.composition-table__table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
    clip: rect(0 0 0 0);
    overflow: hidden;
}

.composition-table__row {
    background: var(--comp-color, #4b5563);
    color: #ffffff;
    border-radius: 3px;
    overflow: hidden;
}

/* On utilise deux colonnes : pourcentage + libellé */
.composition-table__table td {
    border: none;
    padding: 0.45rem 0.7rem;
}

.composition-table__percent {
    width: 80px;
    text-align: center;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
    white-space: nowrap;
    background: rgba(0, 0, 0, 0.18); /* rend la colonne % un peu plus dense */
}

/* Bande blanche verticale entre % et variété */
.composition-table__percent::after {
    content: "";
    position: absolute;
    top: 0;
    right: -1px;
    width: 2px;
    bottom: 0;
    background: #ffffff;
}

.composition-table__variety {
    font-weight: 500;
    font-size: 0.93rem;
}

/* Pas de pastilles, ce sont les bandes qui portent la couleur */
.composition-table__color-dot {
    display: none;
}

/* Dotted line à gauche comme sur la fiche PDF */
.product-sheet__section--composition {
    position: relative;
    padding-left: 1.9rem;
}

.product-sheet__section--composition::before {
    content: "";
    position: absolute;
    left: 0.7rem;
    top: 2.1rem; /* juste sous le titre */
    bottom: 1.4rem;
    border-left: 3px dotted rgba(127, 29, 29, 0.65);
}
/* =========================================
   Anneau de peuplement
   ========================================= */

.product-sheet__left .product-sheet__section {
    position: relative;
}

.product-ring {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
}

/* Wrapper de l’anneau : référence pour le centrage */
.product-ring__svg-wrapper {
    position: relative;
    width: 220px;
    height: 220px;
    display: inline-block;
    line-height: 0;
}

/* Le SVG occupe exactement le wrapper */
.product-ring__svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
}

/* Segments animés au survol (léger) */
.product-ring__segment {
    transition: stroke-width 0.18s ease-out, filter 0.18s ease-out;
}

.product-ring__segment:hover {
    stroke-width: 34px;
    filter: brightness(1.06);
}

/* Image parfaitement centrée dans l'anneau */
.product-ring__center-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 95px;
    height: 95px;
    border-radius: 999px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: 3px solid #ffffff;
    background-color: #ffffff;
    box-shadow: 0 8px 16px rgba(15, 23, 42, 0.28);
    pointer-events: none;
}

/* Légende */
.product-ring__legend {
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
    font-size: 0.86rem;
}

.product-ring__legend-item {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin-bottom: 0.35rem;
}

.product-ring__legend-dot {
    width: 11px;
    height: 11px;
    border-radius: 999px;
    flex-shrink: 0;
}

.product-ring__legend-label {
    color: #4b5563;
}

/* =========================================
   Produits associés
   ========================================= */

.single-product__related {
    background: #f5faf6;
    padding: 3rem 0 3.5rem;
}

/* =========================================
   Responsive
   ========================================= */

.single-product__bag {
    max-width: 260px;
    width: 100%;
    height: auto;
    display: block;
    filter: none;
    box-shadow: none;
}

@media (max-width: 1024px) {
    .single-product__hero-inner {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    }

    .product-sheet__layout {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }
}

@media (max-width: 900px) {
    .single-product__hero-inner {
        grid-template-columns: minmax(0, 1fr);
    }

    .single-product__media {
        order: -1;
    }

    .single-product__hero {
        padding-top: 2.7rem;
    }

    .product-sheet__layout {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 768px) {
    .single-product__hero {
        padding: 2.5rem 0;
    }

    .single-product__bag {
        max-width: 220px;
    }

    .product-sheet__section {
        padding: 1.3rem 1.3rem;
    }

    .product-ring__svg-wrapper {
        width: 190px;
        height: 190px;
    }

    .product-ring__center-image {
        width: 80px;
        height: 80px;
    }
}

/* =========================================
   Bouton "Nous contacter"
   ========================================= */

.button--muted {
    background: #e5e7eb;
    color: #6b7280;
    border-color: transparent;
    cursor: pointer;
}

.button--muted:hover,
.button--muted:focus {
    transform: none;
    box-shadow: none;
    text-decoration: none;
}

/* ================================
   Catalogue – barre de recherche & filtres
   ================================ */

.catalogue__header {
    padding: 2.2rem 0 1.4rem;
}

.catalogue__title {
    margin: 0;
    font-size: 1.9rem;
    color: var(--color-primary-dark);
    font-family: var(--font-title-product, var(--font-family-base));
}

.catalogue-toolbar {
    background: var(--color-light);
    padding: 1.6rem 1.8rem 1.4rem;
    border-radius: 10px;
    box-shadow: var(--shadow-soft);
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
}

.catalogue-toolbar__top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.2rem;
    justify-content: space-between;
}

.catalogue-search {
    flex: 1 1 260px;
}

.catalogue-search__label {
    margin: 0 0 0.4rem;
    font-size: 0.86rem;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: var(--color-muted);
}

.catalogue-search__field {
    position: relative;
    display: flex;
    align-items: center;
    background: #f9fafb;
    border-radius: 999px;
    padding: 0.2rem 0.4rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
}

.catalogue-search__icon {
    padding: 0 0.6rem;
    font-size: 0.9rem;
    opacity: 0.7;
}

.catalogue-search__input {
    border: none;
    background: transparent;
    padding: 0.45rem 0.5rem;
    flex: 1;
    font-size: 0.95rem;
    outline: none;
}

.catalogue-search__clear {
    border: none;
    background: transparent;
    padding: 0.3rem 0.6rem;
    cursor: pointer;
    font-size: 0.9rem;
    color: #9ca3af;
}

.catalogue-count {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 600;
    color: #4b5563;
}

.catalogue-toolbar__filters {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.catalogue-filter__label {
    margin: 0 0 0.4rem;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: var(--color-muted);
}

/* Marques (logos) */

.catalogue-brands {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.catalogue-brand {
    border: 1px solid transparent;
    border-radius: 999px;
    background: #f3f4f6;
    padding: 0.25rem 0.7rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.12s ease;
    min-height: 38px;
}

.catalogue-brand__logo {
    max-height: 26px;
    width: auto;
    display: block;
}

.catalogue-brand__label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #374151;
}

.catalogue-brand.is-active {
    background: #e0f2f1;
    border-color: var(--color-primary);
    transform: translateY(-1px);
}

/* Groupes */

.catalogue-groups {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.catalogue-group-pill {
    border-radius: 999px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    padding: 0.25rem 0.9rem;
    font-size: 0.86rem;
    background: #f9fafb;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease,
        transform 0.12s ease;
}

.catalogue-group-pill.is-active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #ffffff;
    transform: translateY(-1px);
}

/* Cartes masquées par filtrage */

.mix-card.is-hidden {
    display: none;
}

/* Responsive */

@media (max-width: 768px) {
    .catalogue-toolbar {
        padding: 1.3rem 1.2rem 1.2rem;
    }

    .catalogue-toolbar__top {
        align-items: flex-start;
    }

    .catalogue-count {
        width: 100%;
    }
}


.specialties-product {
    padding: 3.5rem 0 3.8rem;
    background: #ffffff;
}

.specialties-product__inner {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.specialties-product__header {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 2.5rem;
    align-items: stretch;
}

.specialties-product__brand {
    max-width: 34rem;
}

.specialties-product__kicker {
    display: inline-block;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--color-muted);
    margin-bottom: 0.4rem;
}

.specialties-product__title {
    margin: 0 0 0.4rem;
    font-size: 2rem;
    font-family: var(--font-title-product);
    color: var(--color-primary-dark);
}

.specialties-product__subtitle {
    margin: 0 0 1rem;
    color: #4b5563;
}

.specialties-product__highlights {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.45rem;
    font-size: 0.98rem;
    color: #374151;
}

.specialties-product__highlights li::before {
    content: "•";
    color: var(--color-primary);
    margin-right: 0.4rem;
}

.specialties-product__hero {
    justify-self: stretch;
}

.specialties-product__hero-card {
    background: linear-gradient(135deg, #fef3c7, #fffbeb);
    border-radius: 18px;
    padding: 1.8rem 2rem;
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    border-top: 4px solid var(--color-secondary);
}

.specialties-product__hero-tag {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: #92400e;
    margin: 0;
}

.specialties-product__hero-text {
    margin: 0;
    color: #78350f;
}

.specialties-product__hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 0.5rem;
}

.button--light {
    background: #ffffff;
    color: var(--color-primary-dark);
    border-color: rgba(15, 23, 42, 0.08);
}

.button--outline-light {
    background: transparent;
    color: #92400e;
    border-color: rgba(146, 64, 14, 0.55);
}

.specialties-product__block-title {
    margin: 0 0 1.1rem;
    font-size: 1.25rem;
    color: var(--color-primary-dark);
}

.specialties-product__triple {
    border-radius: 16px;
    padding: 1.8rem 2rem;
    background: #f9fafb;
    box-shadow: var(--shadow-soft);
}

.specialties-product__triple-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.3rem;
}

.specialties-pill {
    position: relative;
    background: #ffffff;
    border-radius: 12px;
    padding: 1.6rem 1.6rem 1.6rem 1.2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    transition:
        transform 0.2s ease-out,
        box-shadow 0.2s ease-out,
        background-color 0.2s ease-out;
}

.specialties-pill__index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.9rem;
    background: #ffcf6a;
    color: #5c4a1b;
    margin-bottom: 0.8rem;
    transition: background-color 0.2s ease-out, color 0.2s ease-out;
}

.specialties-pill:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
    background-color: #fdfdf9;
}

.specialties-pill:hover .specialties-pill__index {
    background-color: #ffb833;
    color: #3a2a00;
}

.specialties-pill__title {
    margin: 0 0 0.4rem 2.1rem;
    font-size: 1.05rem;
    color: var(--color-primary-dark);
}

.specialties-pill__text {
    margin: 0;
    font-size: 0.94rem;
    color: #4b5563;
}

.specialties-product__evidence {
    margin: 1.2rem 0 0;
    font-size: 0.9rem;
    color: #6b7280;
}

.specialties-product__usage {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.3fr);
    gap: 2rem;
    align-items: flex-start;
}

.specialties-icons {
    list-style: none;
    padding: 0;
    margin: 0 0 0.9rem;
    display: grid;
    gap: 0.35rem;
    font-size: 0.96rem;
    color: #374151;
}

.specialties-icons__picto {
    display: inline-flex;
    width: 24px;
    height: 24px;
    border-radius: 999px;
    align-items: center;
    justify-content: center;
    margin-right: 0.35rem;
    background: #ecfdf3;
}

.specialties-product__note {
    margin: 0;
    font-size: 0.9rem;
    color: #6b7280;
}

/* Tabs */

.specialties-tabs {
    background: #f9fafb;
    border-radius: 14px;
    box-shadow: var(--shadow-soft);
    padding: 1.2rem 1.3rem 1.35rem;
}

.specialties-tabs__nav {
    display: inline-flex;
    padding: 0.2rem;
    border-radius: 999px;
    background: #e5e7eb;
    margin-bottom: 1rem;
}

.specialties-tabs__button {
    border: 0;
    background: transparent;
    padding: 0.38rem 0.85rem;
    border-radius: 999px;
    font-size: 0.86rem;
    cursor: pointer;
    color: #4b5563;
}

.specialties-tabs__button.is-active {
    background: #ffffff;
    color: var(--color-primary-dark);
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.15);
}

.specialties-tabs__panels {
    margin: 0;
}

.specialties-tabs__panel {
    display: none;
}

.specialties-tabs__panel.is-active {
    display: block;
}

.specialties-doses {
    margin: 0;
    padding-left: 1.1rem;
    font-size: 0.9rem;
    color: #374151;
}

.specialties-doses li + li {
    margin-top: 0.25rem;
}

.specialties-product__disclaimer {
    margin: 0.7rem 0 0;
    font-size: 0.85rem;
    color: #9ca3af;
}

.specialties-product__impact {
    margin-top: 0.5rem;
}

.specialties-product__impact-card {
    border-radius: 16px;
    padding: 1.7rem 2rem;
    background: #ecfdf3;
    box-shadow: var(--shadow-soft);
    color: #064e3b;
    max-width: 52rem;
}

/* Responsive */

@media (max-width: 1024px) {
    .specialties-product__header {
        grid-template-columns: minmax(0, 1fr);
    }

    .specialties-product__usage {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 820px) {
    .specialties-product {
        padding: 3rem 0 3.2rem;
    }

    .specialties-product__triple-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}
/* Animation générique au scroll */
[data-animate] {
    opacity: 0;
    transform: translateY(20px);
    transition:
        opacity 0.6s ease-out,
        transform 0.6s ease-out;
}

[data-animate].is-visible {
    opacity: 1;
    transform: translateY(0);
}
.doses-tabs {
    margin-top: 1.5rem;
    border-radius: 12px;
    background: #f9fafb;
    padding: 1.2rem 1.4rem;
}

.doses-tabs__nav {
    display: flex;
    gap: 0.8rem;
    margin-bottom: 1.2rem;
    flex-wrap: wrap;
}

.doses-tabs__btn {
    border: none;
    border-radius: 999px;
    padding: 0.4rem 1.2rem;
    font-size: 0.95rem;
    cursor: pointer;
    background: #e7edf4;
    color: #275b32;
    transition:
        background-color 0.2s ease-out,
        color 0.2s ease-out,
        box-shadow 0.2s ease-out;
}

.doses-tabs__btn.is-active {
    background: #3ea95b;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.doses-tabs__btn:hover:not(.is-active) {
    background: #d6e3f2;
}

.doses-tabs__panels {
    margin-top: 0.5rem;
}

.doses-tabs__panel {
    display: none;
}

.doses-tabs__panel.is-active {
    display: block;
}


.home-lavoisier {
    margin: 2.8rem 0 3.2rem;
}

.home-lavoisier__header {
    max-width: 720px;
    margin: 0 auto 1.8rem;
    text-align: center;
}

.home-lavoisier__title {
    font-size: 1.7rem;
    font-weight: 700;
    color: #065f46;
    margin-bottom: 0.4rem;
}

.home-lavoisier__intro {
    margin: 0;
    color: #4b5563;
}

.home-lavoisier__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.home-lavoisier-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.14);
    display: flex;
    flex-direction: column;
}

.home-lavoisier-card__media img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.home-lavoisier-card__body {
    padding: 1.1rem 1.2rem 1.2rem;
}

.home-lavoisier-card__title {
    margin: 0 0 0.4rem;
    font-size: 1rem;
    font-weight: 600;
    color: #065f46;
}

.home-lavoisier-card__text {
    margin: 0;
    font-size: 0.94rem;
    color: #4b5563;
    line-height: 1.45;
}

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

    .home-lavoisier-card__media img {
        height: 200px;
    }
}



/* ============================
   BANNIÈRE VIDÉO "FEUILLES" (CORRIGÉ)
   ============================ */
.video-leaf-banner {
    display: flex;
    width: 100%;
    height: 350px; 
    overflow: hidden;
    background: #fff; /* Fond blanc global */
    position: relative;
    z-index: 1;
    /* On supprime la marge négative du bas pour l'instant pour bien voir */
}

.video-leaf {
    position: relative;
    height: 100%;
    /* Flex: 1 permet à chaque feuille de prendre une place égale au départ */
    flex: 1 1 0; 
    min-width: 0; /* Important pour que la vidéo ne casse pas le flex */
    transition: all 0.5s ease;
    
    /* AJOUT : Couleur de fond pour voir les formes même sans vidéo */
    background-color: #ccc; 
    border-right: 1px solid #fff; /* Petit séparateur visuel temporaire */
}

.video-leaf video {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    display: block;
    position: absolute; /* Force la vidéo à coller au bloc */
    top: 0;
    left: 0;
}

/* --- FORME DE GAUCHE --- */
.video-leaf--left {
    flex-grow: 1.2; /* Un peu plus large */
    clip-path: polygon(0 0, 100% 0, 85% 100%, 0% 100%); 
    z-index: 1;
    background-color: #d1e7dd; /* Vert clair (debug) */
}

/* --- FORME CENTRALE --- */
.video-leaf--center {
    flex-grow: 1.4; /* La plus large */
    margin-left: -4%; /* Chevauchement gauche réduit */
    margin-right: -4%; /* Chevauchement droite réduit */
    clip-path: polygon(15% 0, 100% 0, 85% 100%, 0% 100%);
    z-index: 2;
    background-color: #cfe2ff; /* Bleu clair (debug) */
}

/* --- FORME DE DROITE --- */
.video-leaf--right {
    flex-grow: 1.2;
    clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
    z-index: 1;
    background-color: #f8d7da; /* Rouge clair (debug) */
}

/* --- MOBILE --- */
@media (max-width: 768px) {
    .video-leaf-banner { height: 200px; }
    .video-leaf--left { clip-path: polygon(0 0, 100% 0, 90% 100%, 0% 100%); }
    .video-leaf--center { clip-path: polygon(10% 0, 100% 0, 90% 100%, 0% 100%); }
    .video-leaf--right { clip-path: polygon(10% 0, 100% 0, 100% 100%, 0% 100%); }
}




/**
 * Catalogue & Single Product - Surcharges optimisées
 * À charger APRÈS main.css
 * @package Eliard_Theme_v2
 */

/* ================================
   CATALOGUE – Toolbar Amélioré
   ================================ */

.catalogue-toolbar {
    background: #ffffff;
    padding: 2rem 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
    margin-bottom: 2.5rem;
}

.catalogue-search__field {
    background: #f9fafb;
    border-radius: 12px;
    border: 2px solid #e5e7eb;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.catalogue-search__field:focus-within {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(22, 139, 59, 0.1);
}

.catalogue-search__clear {
    opacity: 0;
    transition: opacity 0.2s ease;
}

.catalogue-search__clear:hover {
    color: #ef4444;
}

/* Marques avec hover amélioré */
.catalogue-brand {
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    background: #ffffff;
    transition: all 0.2s ease;
}

.catalogue-brand:hover {
    border-color: var(--color-primary);
    background: #f0fdf4;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(22, 139, 59, 0.15);
}

.catalogue-brand.is-active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(22, 139, 59, 0.3);
}

.catalogue-brand.is-active .catalogue-brand__label {
    color: #ffffff;
}

/* Groupes pills améliorés */
.catalogue-group-pill {
    border: 2px solid #e5e7eb;
    transition: all 0.2s ease;
}

.catalogue-group-pill:hover {
    border-color: var(--color-primary);
    background: #f0fdf4;
    color: var(--color-primary-dark);
    transform: translateY(-1px);
}

.catalogue-group-pill.is-active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(22, 139, 59, 0.25);
}

/* ================================
   CARTES PRODUIT Améliorées
   ================================ */

.mix-card {
    border: 2px solid transparent;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mix-card:hover {
    border-color: var(--color-primary);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(22, 139, 59, 0.15);
}

.mix-card__image-bg {
    transform: scale(1.05);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.mix-card:hover .mix-card__image-bg {
    transform: scale(1.1);
}

.mix-card__image-fade {
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.3) 40%,
        rgba(255, 255, 255, 0.85) 100%
    );
}

.mix-card__bag-inline {
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.15));
    transition: transform 0.3s ease;
}

.mix-card:hover .mix-card__bag-inline {
    transform: translateY(-4px) scale(1.05);
}

.mix-card__group {
    color: var(--color-primary);
    font-weight: 700;
}

.mix-card__footer {
    border-top: 1px solid #f3f4f6;
}

.mix-card__link::after {
    opacity: 0;
    transition: all 0.3s ease;
}

.mix-card:hover .mix-card__link::after {
    opacity: 1;
    color: var(--color-primary);
    transform: translateX(4px);
}

/* ================================
   SINGLE PRODUCT – Hero Optimisé
   ================================ */

.single-product__hero {
    background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
}

.single-product__bag {
    filter: drop-shadow(0 12px 32px rgba(0, 0, 0, 0.15));
    transition: transform 0.3s ease;
}

.single-product__bag:hover {
    transform: scale(1.05);
}

.single-product__eyebrow {
    color: var(--color-primary);
    font-weight: 700;
}

/* ================================
   TABLEAU COMPOSITION Optimisé
   ================================ */

.composition-table__table {
    border-spacing: 0 6px;
}

.composition-table__row {
    border-radius: 8px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.composition-table__row:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.composition-table__percent {
    background: rgba(0, 0, 0, 0.2);
}

.composition-table__percent::after {
    background: rgba(255, 255, 255, 0.3);
}

.product-sheet__section--composition::before {
    border-left: 3px dotted rgba(22, 139, 59, 0.3);
}

/* ================================
   ANNEAU PEUPLEMENT Optimisé
   ================================ */

.product-ring__svg {
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.1));
}

.product-ring__segment {
    transition: stroke-width 0.2s ease-out, filter 0.2s ease-out;
    cursor: pointer;
}

.product-ring__segment:hover {
    stroke-width: 36px;
    filter: brightness(1.1);
}

.product-ring__center-image {
    border: 4px solid #ffffff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.2);
}

.product-ring__legend-item {
    padding: 0.5rem;
    border-radius: 8px;
    transition: background-color 0.2s ease;
}

.product-ring__legend-item:hover {
    background-color: #f9fafb;
}

.product-ring__legend-dot {
    border: 2px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* ================================
   SECTIONS Produit Optimisées
   ================================ */

.product-sheet__section {
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
    transition: box-shadow 0.3s ease;
}

.product-sheet__section:hover {
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.12);
}

/* ================================
   BOUTONS Améliorés
   ================================ */

.button {
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(22, 139, 59, 0.25);
    transition: all 0.2s ease;
}

.button:hover,
.button:focus {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(22, 139, 59, 0.35);
}

.button--outline {
    box-shadow: 0 4px 12px rgba(22, 139, 59, 0.15);
}

.button--muted {
    box-shadow: none;
}

.button--muted:hover {
    transform: none;
}

/* ================================
   ANIMATIONS
   ================================ */

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

/* ================================
   RESPONSIVE Améliorations
   ================================ */

@media (max-width: 768px) {
    .catalogue-toolbar {
        padding: 1.5rem 1.25rem;
    }

    .mix-card__row {
        margin-top: -2rem;
    }

    .mix-card__text {
        padding-top: 0.5rem;
    }

    .product-ring__svg-wrapper {
        width: 200px;
        height: 200px;
    }

    .product-ring__center-image {
        width: 80px;
        height: 80px;
    }
}

/* ================================
   MODALE Produit (si utilisée)
   ================================ */

.product-modal-backdrop {
    transition: opacity 0.15s ease-out;
}

.product-modal-backdrop.is-visible {
    opacity: 1;
}

.product-modal {
    transition: opacity 0.18s ease-out, transform 0.18s ease-out;
}

.product-modal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.product-modal__dialog {
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.3);
}

/* ================================
   AMÉLIORATIONS Accessibilité
   ================================ */

.catalogue-brand:focus,
.catalogue-group-pill:focus,
.mix-card:focus {
    outline: 3px solid var(--color-primary);
    outline-offset: 2px;
}

.button:focus-visible {
    outline: 3px solid var(--color-primary);
    outline-offset: 3px;
}

/* ================================
   PRINT Styles
   ================================ */

@media print {
    .catalogue-toolbar,
    .single-product__actions,
    .button {
        display: none;
    }

    .mix-card,
    .product-sheet__section {
        box-shadow: none;
        border: 1px solid #e5e7eb;
        break-inside: avoid;
    }
}