/* =============================================================================
   GreenForge — Page Nos engagements Qualité
   ============================================================================= */

.gf-tech-page {
    --gf-tech-green: #225627;
    --gf-tech-green-deep: #1a3a2a;
    --gf-tech-green-mid: #315335;
    --gf-tech-orange: #d36135;
    --gf-tech-cream: #faf9f6;
    --gf-tech-sage: #eef6ef;
    --gf-tech-text: #2c3e2c;
    --gf-tech-text-muted: #5a665a;
    background: var(--gf-tech-cream);
}

/* --- Hero --- */
.gf-tech-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(165deg, var(--gf-tech-green-deep), var(--gf-tech-green-mid), var(--gf-tech-green));
    color: #fff;
    padding: 3.5rem 0 3rem;
}

.gf-tech-hero .o_we_shape {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-repeat: no-repeat;
    background-position: 100% 100%;
    background-size: 45% auto;
    opacity: 0.9;
}

.gf-tech-hero .container {
    position: relative;
    z-index: 1;
}

.gf-tech-hero-title {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 1rem;
    color: #fff;
}

.gf-tech-hero-lead {
    font-size: clamp(1rem, 2vw, 1.125rem);
    line-height: 1.6;
    max-width: 42rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.92);
}

/* --- Reveal animations --- */
@media (prefers-reduced-motion: no-preference) {
    .gf-tech-reveal {
        opacity: 0;
        transform: translate3d(0, 28px, 0);
        transition:
            opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
            transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
        transition-delay: var(--gf-reveal-delay, 0ms);
        will-change: opacity, transform;
    }

    .gf-tech-reveal.is-visible {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }

    /* Safety net if init JS is delayed/missed (soft-nav race): show content after 1.6s */
    .gf-tech-reveal:not(.is-visible) {
        animation: gf-tech-reveal-fallback 0.01s linear 1.6s forwards;
    }
    .gf-tech-reveal.is-visible {
        animation: none;
    }
    @keyframes gf-tech-reveal-fallback {
        to {
            opacity: 1;
            transform: translate3d(0, 0, 0);
        }
    }

    .gf-tech-reveal--scale .gf-tech-step-img,
    .gf-tech-reveal--scale .gf-tech-grow-visual {
        opacity: 0;
        transform: scale(0.92);
        transition:
            opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
            transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
        transition-delay: calc(var(--gf-reveal-delay, 0ms) + 120ms);
    }

    .gf-tech-reveal--scale.is-visible .gf-tech-step-img,
    .gf-tech-reveal--scale.is-visible .gf-tech-grow-visual {
        opacity: 1;
        transform: scale(1);
    }

    .gf-tech-reveal--scale .gf-tech-grow-img {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .gf-tech-step-arrow {
        opacity: 0;
        transition:
            opacity 0.45s ease,
            transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
        transition-delay: var(--gf-reveal-delay, 0ms);
    }

    .gf-tech-step-arrow.is-visible {
        opacity: 1;
    }

    /* Feuilles déco — fade + glissement depuis le coin (sans casser la rotation) */
    .gf-tech-card-deco.gf-tech-reveal--deco {
        opacity: 0;
        transition:
            opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
            transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
        transition-delay: var(--gf-reveal-delay, 220ms);
        will-change: opacity, transform;
    }

    .gf-tech-card-deco--team.gf-tech-reveal--deco,
    .gf-tech-card-deco--quality.gf-tech-reveal--deco,
    .gf-tech-card-deco--grow.gf-tech-reveal--deco,
    .gf-tech-card-deco--support.gf-tech-reveal--deco,
    .gf-tech-card--suppliers .gf-tech-card-deco.gf-tech-reveal--deco {
        transform: rotate(-90deg) translate3d(0.65rem, -0.65rem, 0);
    }

    .gf-tech-card-deco--team.gf-tech-reveal--deco.is-visible,
    .gf-tech-card-deco--quality.gf-tech-reveal--deco.is-visible,
    .gf-tech-card-deco--grow.gf-tech-reveal--deco.is-visible,
    .gf-tech-card-deco--support.gf-tech-reveal--deco.is-visible,
    .gf-tech-card--suppliers .gf-tech-card-deco.gf-tech-reveal--deco.is-visible {
        opacity: 0.58;
        transform: rotate(-90deg) translate3d(0, 0, 0);
    }

    .gf-tech-card-deco--principles.gf-tech-reveal--deco {
        transform: rotate(90deg) translate3d(-0.65rem, -0.65rem, 0);
    }

    .gf-tech-card-deco--principles.gf-tech-reveal--deco.is-visible {
        opacity: 0.58;
        transform: rotate(90deg) translate3d(0, 0, 0);
    }

    .gf-tech-card-deco--story.gf-tech-reveal--deco {
        transform: rotate(90deg) scaleX(-1) translate3d(-0.65rem, 0.65rem, 0);
    }

    .gf-tech-card-deco--story.gf-tech-reveal--deco.is-visible {
        opacity: 0.58;
        transform: rotate(90deg) scaleX(-1) translate3d(0, 0, 0);
    }

  /* Feuille bas-gauche §3 — fade seul (pas de slide : évite l'effet de rotation) */
    .gf-tech-card-deco--support-bl.gf-tech-reveal--deco {
        transform: rotate(90deg) scaleX(-1);
        transition: opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1);
        transition-delay: var(--gf-reveal-delay, 220ms);
    }

    .gf-tech-card-deco--support-bl.gf-tech-reveal--deco.is-visible {
        opacity: 0.58;
        transform: rotate(90deg) scaleX(-1);
    }

    .gf-qualite-trustindex-slot .ti-widget {
        opacity: 0;
        transform: translate3d(0, 20px, 0);
        transition:
            opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
            transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .gf-qualite-trustindex-slot.is-loaded .ti-widget {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .gf-tech-reveal {
        opacity: 1;
        transform: none;
    }

    .gf-tech-card-deco.gf-tech-reveal--deco {
        opacity: 0.58;
    }
}

/* --- Sections --- */
.gf-tech-section {
    padding: 3rem 0;
}

.gf-tech-section--cream {
    background: var(--gf-tech-cream);
}

.gf-tech-section--sage {
    background: var(--gf-tech-sage);
}

.gf-tech-card {
    background: var(--gf-tech-cream);
    border: 1px solid rgba(34, 86, 39, 0.12);
    border-radius: 1rem;
    padding: 2rem 1.5rem;
}

@media (min-width: 992px) {
    .gf-tech-card {
        padding: 2.5rem 2.5rem;
    }
}

.gf-tech-badge {
    display: inline-block;
    background: var(--gf-tech-orange);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.35rem 0.85rem;
    border-radius: 9999px;
    margin-bottom: 1rem;
}

.gf-tech-title {
    font-family: var(--gf-plant-font-display, "Cormorant Garamond", "EB Garamond", Garamond, Georgia, serif);
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    color: var(--gf-tech-green);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.gf-tech-intro {
    font-size: 1rem;
    line-height: 1.65;
    color: var(--gf-tech-text-muted);
    max-width: 46rem;
    margin-bottom: 2.5rem;
}

.gf-tech-intro strong {
    color: var(--gf-tech-text);
    font-weight: 600;
}

/* --- Section 1: suppliers --- */
.gf-tech-section--suppliers {
    padding-top: 2rem;
    padding-bottom: 1.25rem;
}

.gf-tech-card--suppliers {
    position: relative;
    overflow: visible;
    padding: 0;
    border: 1px solid rgba(34, 86, 39, 0.1);
    box-shadow: none;
}

.gf-tech-card-body {
    position: relative;
    padding: 2.25rem 1.5rem 2rem;
}

@media (min-width: 992px) {
    .gf-tech-card-body {
        padding: 2.5rem 2.5rem 2.25rem;
    }
}

.gf-tech-card-deco {
    position: absolute;
    top: 0;
    right: 0;
    width: 7.25rem;
    max-width: 7.25rem;
    height: auto;
    max-height: 6.5rem;
    object-fit: contain;
    object-position: top right;
    opacity: 1;
    pointer-events: none;
    user-select: none;
    z-index: 0;
}

/* Feuilles neutres — taille fixe (pas de vw) pour garder le même écart au coin */
.gf-tech-card-deco--neutral {
    --gf-deco-inset: 0.35rem;
    width: 7.25rem;
    max-width: 7.25rem;
    max-height: 6.5rem;
    object-fit: contain;
    object-position: center;
    opacity: 0.58;
    filter: saturate(0.92);
    margin: 0;
}

/* Haut droit — équipe, qualité §3, GROW, fournisseurs */
.gf-tech-card-deco--team.gf-tech-card-deco--neutral,
.gf-tech-card-deco--quality.gf-tech-card-deco--neutral,
.gf-tech-card-deco--grow.gf-tech-card-deco--neutral,
.gf-tech-card-deco--support.gf-tech-card-deco--neutral,
.gf-tech-card--suppliers .gf-tech-card-deco--neutral {
    top: var(--gf-deco-inset);
    right: var(--gf-deco-inset);
    bottom: auto;
    left: auto;
    transform-origin: center center;
    transform: rotate(-90deg);
}

.gf-tech-card-deco--support-bl.gf-tech-card-deco--neutral {
    top: auto;
    right: auto;
    bottom: var(--gf-deco-inset);
    left: var(--gf-deco-inset);
    margin-top: 0.5rem;
    transform-origin: bottom left;
    transform: rotate(90deg) scaleX(-1);
}

/* Haut gauche — principes */
.gf-tech-card-deco--principles.gf-tech-card-deco--neutral {
    top: var(--gf-deco-inset);
    left: var(--gf-deco-inset);
    right: auto;
    bottom: auto;
    transform-origin: center center;
    transform: rotate(90deg);
}

/* Bas gauche — parcours (rotation d'origine + marge haute) */
.gf-tech-card-deco--story.gf-tech-card-deco--neutral {
    top: auto;
    right: auto;
    bottom: var(--gf-deco-inset);
    left: var(--gf-deco-inset);
    margin-top: 0.5rem;
    transform-origin: bottom left;
    transform: rotate(90deg) scaleX(-1);
}

/* Home-box (Home V2, fiche produit) — feuille coin haut-droite */
.gf-tech-card--home-box {
    position: relative;
    overflow: visible;
    padding: 0;
    border: 1px solid rgba(34, 86, 39, 0.1);
    box-shadow: none;
    background: var(--gf-tech-cream);
    border-radius: 1rem;
}

.gf-tech-card-body--home-box {
    position: relative;
    padding: 2rem 1.5rem 1.75rem;
    z-index: 1;
}

.gf-tech-card--home-box .gf-tech-card-deco--neutral {
    --gf-deco-inset: 0.35rem;
}

.gf-tech-card--home-box .gf-tech-card-deco--home-box {
    top: var(--gf-deco-inset);
    right: var(--gf-deco-inset);
    bottom: auto;
    left: auto;
    transform-origin: center center;
    transform: rotate(-90deg);
}

.gf-tech-card--home-box .gf-tech-card-deco--home-box--reviews {
    top: auto;
    right: auto;
    bottom: var(--gf-deco-inset);
    left: var(--gf-deco-inset);
    transform-origin: bottom left;
    transform: rotate(90deg) scaleX(-1);
}

@media (min-width: 992px) {
    .gf-tech-card-body--home-box {
        padding: 2.5rem 2.5rem 2.25rem;
    }
}

@media (max-width: 767px) {
    .gf-tech-card--home-box {
        overflow: hidden;
    }

    .gf-tech-card--home-box .gf-tech-card-deco--neutral {
        --gf-deco-inset: 0.2rem;
    }

    .gf-tech-card-deco {
        width: 4.75rem;
        max-width: 4.75rem;
        max-height: 4.25rem;
        opacity: 0.85;
    }

    .gf-tech-card-deco--neutral {
        --gf-deco-inset: 0.2rem;
        opacity: 0.42;
    }

    .gf-tech-card--suppliers,
    .gf-tech-card--grow,
    .gf-tech-card--quality {
        overflow: hidden;
    }

    .gf-tech-card-deco.gf-tech-reveal--deco.is-visible {
        opacity: 0.42;
    }
}

.gf-tech-card--suppliers .gf-tech-badge {
    letter-spacing: 0.1em;
    font-size: 0.625rem;
    padding: 0.4rem 0.9rem;
}

.gf-tech-card--suppliers .gf-tech-title {
    max-width: 36rem;
    margin-bottom: 1rem;
}

/* --- Section 1: steps flow --- */
.gf-tech-steps-flow {
    position: relative;
    margin-bottom: 0;
    --gf-connector-offset: 5.05rem;
}

@media (min-width: 992px) {
    .gf-tech-steps-flow {
        --gf-connector-offset: 5.2rem;
    }
}

.gf-tech-steps-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas:
        "body1 body2"
        "visual1 visual2"
        "body3 body4"
        "visual3 visual4";
    gap: 0;
    column-gap: 0.35rem;
}

@media (max-width: 767px) {
    .gf-tech-step-body--2,
    .gf-tech-step-body--3,
    .gf-tech-step-body--4 {
        margin-top: 0;
    }

    .gf-tech-step-body--3,
    .gf-tech-step-body--4 {
        padding-top: 1rem;
    }

    .gf-tech-step-body {
        max-width: none;
    }

    .gf-tech-step-text {
        max-width: none;
        font-size: 0.75rem;
    }

    .gf-tech-step-list {
        font-size: 0.75rem;
    }

    .gf-tech-step-visual {
        height: 6.75rem;
        min-height: 6.75rem;
        margin-top: 0.5rem;
        align-items: flex-end;
    }

    .gf-tech-step-img {
        max-height: 5.75rem;
        max-width: 88%;
        object-fit: contain;
    }

    .gf-tech-step-visual--1 .gf-tech-step-img {
        max-height: 4.5rem;
        max-width: 62%;
    }
}

.gf-tech-step-body--1 { grid-area: body1; }
.gf-tech-step-body--2 { grid-area: body2; }
.gf-tech-step-body--3 { grid-area: body3; }
.gf-tech-step-body--4 { grid-area: body4; }
.gf-tech-step-visual--1 { grid-area: visual1; }
.gf-tech-step-visual--2 { grid-area: visual2; }
.gf-tech-step-visual--3 { grid-area: visual3; }
.gf-tech-step-visual--4 { grid-area: visual4; }

.gf-tech-steps-connector {
    display: none;
}

.gf-tech-step-body {
    width: 100%;
    max-width: 10rem;
    margin-left: auto;
    margin-right: auto;
    padding: 0 0.25rem;
    text-align: center;
    position: relative;
    z-index: 2;
}

.gf-tech-step-num,
.gf-tech-step-label,
.gf-tech-step-text,
.gf-tech-step-list {
    position: relative;
    z-index: 2;
}

.gf-tech-step-text {
    font-size: 0.8125rem;
    line-height: 1.45;
    color: var(--gf-tech-text-muted);
    margin: 0 auto;
    max-width: 9.25rem;
    background: var(--gf-tech-cream);
    padding: 0 0.15rem 0.35rem;
}

.gf-tech-step-body + .gf-tech-step-visual,
.gf-tech-step-visual + .gf-tech-step-body {
    margin-top: 0;
}

@media (max-width: 767px) {
    .gf-tech-step-body--2,
    .gf-tech-step-body--3,
    .gf-tech-step-body--4 {
        margin-top: 0;
    }
}

.gf-tech-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.65rem;
    height: 1.65rem;
    background: var(--gf-tech-cream);
    color: var(--gf-tech-orange);
    border: 2px solid var(--gf-tech-orange);
    font-weight: 700;
    font-size: 0.75rem;
    border-radius: 50%;
    margin-bottom: 0.3rem;
    box-shadow: none;
}

.gf-tech-step-label {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gf-tech-green);
    margin-bottom: 0.25rem;
    background: var(--gf-tech-cream);
    padding: 0 0.1rem;
}

.gf-tech-step-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 10rem;
    margin-top: 0.75rem;
    padding: 0 0.25rem;
}

.gf-tech-step-img {
    max-height: 168px;
    width: auto;
    max-width: 94%;
    margin: 0 auto;
    object-fit: contain;
}

@media (min-width: 768px) {
    .gf-tech-steps-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        grid-template-areas:
            "body1 body2 body3 body4"
            "visual1 visual2 visual3 visual4";
        grid-template-rows: minmax(var(--gf-connector-offset), auto) auto;
        column-gap: 0.5rem;
        row-gap: 0;
    }

    .gf-tech-step-body--2,
    .gf-tech-step-body--3,
    .gf-tech-step-body--4 {
        margin-top: 0;
    }

    .gf-tech-step-body {
        min-height: 0;
        padding-bottom: 0;
        align-self: start;
        max-width: 9.5rem;
    }

    .gf-tech-step-text {
        min-height: 0;
        max-width: 9.25rem;
        margin-bottom: 0;
    }

    .gf-tech-steps-connector {
        display: block;
        grid-column: 1 / -1;
        grid-row: 1;
        align-self: start;
        position: relative;
        height: 1.65rem;
        z-index: 1;
        margin: var(--gf-connector-offset) 0 0;
        pointer-events: none;
    }

    .gf-tech-steps-line {
        position: absolute;
        left: 12.5%;
        right: 12.5%;
        top: 50%;
        border-top: 2px dotted rgba(34, 86, 39, 0.28);
        transform: translateY(-50%);
        z-index: 0;
    }

    .gf-tech-step-arrow {
        position: absolute;
        top: 50%;
        left: var(--arrow-pos, 50%);
        transform: translate(-50%, -50%) scale(0.6);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 1.65rem;
        height: 1.65rem;
        background: var(--gf-tech-green);
        color: #fff;
        border-radius: 50%;
        font-size: 0.65rem;
        line-height: 1;
        z-index: 1;
        box-shadow: 0 2px 8px rgba(34, 86, 39, 0.15);
        pointer-events: none;
    }

    .gf-tech-step-arrow.is-visible {
        transform: translate(-50%, -50%) scale(1);
    }

    .gf-tech-step-visual {
        min-height: 11rem;
        margin-top: 0.85rem;
        padding-top: 0;
    }

    .gf-tech-step-img {
        max-height: 188px;
    }
}

@media (min-width: 992px) {
    .gf-tech-step-visual {
        min-height: 12rem;
        margin-top: 0.95rem;
    }

    .gf-tech-step-img {
        max-height: 210px;
    }
}

/* --- Certifications --- */
.gf-tech-certs {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    background: #fff;
    border-radius: 0 0 1rem 1rem;
    border-top: 1px solid rgba(34, 86, 39, 0.08);
    padding: 1.35rem 1.25rem;
    margin: 0;
}

@media (min-width: 768px) {
    .gf-tech-certs {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 0;
        padding: 1.5rem 0;
    }

    .gf-tech-cert {
        padding: 0 1.15rem;
        border-right: 1px solid rgba(34, 86, 39, 0.14);
    }

    .gf-tech-cert:last-child {
        border-right: none;
    }
}

.gf-tech-cert {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.gf-tech-cert-logo {
    flex-shrink: 0;
    width: 3rem;
    height: 3rem;
    object-fit: contain;
}

.gf-tech-cert-logo--placeholder {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: var(--gf-tech-green);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1.1;
    padding: 0.25rem;
}

.gf-tech-cert-title {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--gf-tech-green);
    margin-bottom: 0.25rem;
}

.gf-tech-cert-text {
    font-size: 0.8rem;
    line-height: 1.45;
    color: var(--gf-tech-text-muted);
    margin: 0;
}

/* --- Section 2: GROW --- */
.gf-tech-section--grow {
    padding-top: 0.75rem;
    padding-bottom: 1.75rem;
}

.gf-tech-section--grow + .gf-tech-section {
    padding-top: 1.25rem;
}

.gf-tech-card--grow {
    position: relative;
    overflow: visible;
    padding: 0;
    border: 1px solid rgba(34, 86, 39, 0.1);
    box-shadow: none;
}

.gf-tech-card-body--grow {
    position: relative;
    padding: 1.5rem 1.5rem 1.25rem;
    padding-right: 7.75rem;
}

@media (min-width: 992px) {
    .gf-tech-card-body--grow {
        padding: 1.6rem 2.25rem 1.35rem;
        padding-right: 8rem;
    }
}

.gf-tech-card-deco--grow {
    width: 7.25rem;
    max-width: 7.25rem;
    max-height: 6.5rem;
}

@media (max-width: 767px) {
    .gf-tech-card-body--grow {
        padding-right: 1.5rem;
    }

    .gf-tech-card-deco--grow {
        width: 4.75rem;
        max-width: 4.75rem;
        max-height: 4.25rem;
    }
}

.gf-tech-card--grow .gf-tech-badge {
    display: inline-block;
    width: auto;
    max-width: 100%;
    letter-spacing: 0.08em;
    font-size: 0.575rem;
    padding: 0.32rem 0.7rem;
    margin-bottom: 0.35rem;
    line-height: 1.3;
}

.gf-tech-card--grow .gf-tech-title {
    max-width: 30rem;
    margin-bottom: 0.35rem;
}

.gf-tech-section--grow .gf-tech-intro {
    margin-bottom: 0;
    max-width: 38rem;
    line-height: 1.55;
}

.gf-tech-grow-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    align-items: center;
    margin-top: 0.75rem;
}

@media (min-width: 992px) {
    .gf-tech-grow-grid {
        grid-template-columns: 0.92fr 1.08fr;
        gap: 1.75rem;
        align-items: center;
        margin-top: 1rem;
    }
}

.gf-tech-grow-visual {
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin-top: 0;
    line-height: 0;
}

.gf-tech-grow-img {
    width: 100%;
    max-width: 480px;
    height: auto;
    margin: 0 auto;
    display: block;
    object-fit: contain;
    object-position: top center;
}

.gf-tech-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.gf-tech-feature {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.gf-tech-feature-icon {
    flex-shrink: 0;
    width: 3.5rem;
    height: 3.5rem;
    object-fit: contain;
}

.gf-tech-feature-title {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--gf-tech-green);
    margin-bottom: 0.25rem;
}

.gf-tech-feature-text {
    font-size: 0.9rem;
    line-height: 1.55;
    color: var(--gf-tech-text-muted);
    margin: 0;
}

.gf-tech-grow-side {
    display: flex;
    flex-direction: column;
    gap: 0;
    min-width: 0;
    align-items: stretch;
}

/* --- Passeport phytosanitaire (encart sous la liste 1–4) --- */
.gf-tech-phyto-pass {
    display: grid;
    grid-template-columns: minmax(6.25rem, 7rem) minmax(0, 1fr);
    gap: 0.85rem;
    align-items: center;
    width: 100%;
    max-width: 34rem;
    margin-top: 1.15rem;
    margin-left: auto;
    margin-right: auto;
    padding: 0.95rem 1rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(34, 86, 39, 0.12);
    background: #f0f0f0;
    color: inherit;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(34, 86, 39, 0.06);
    transition:
        border-color 0.2s ease,
        box-shadow 0.25s ease,
        transform 0.25s ease;
}

.gf-tech-phyto-pass:hover,
.gf-tech-phyto-pass:focus-visible {
    color: inherit;
    text-decoration: none;
    border-color: rgba(34, 86, 39, 0.22);
    box-shadow: 0 10px 24px rgba(34, 86, 39, 0.1);
    transform: translateY(-1px);
}

.gf-tech-phyto-pass:focus-visible {
    outline: 2px solid var(--gf-tech-orange);
    outline-offset: 3px;
}

.gf-tech-phyto-pass-preview {
    width: 100%;
    max-width: 7rem;
    height: auto;
    max-height: 9.5rem;
    object-fit: contain;
    object-position: center center;
    display: block;
    filter: drop-shadow(0 6px 12px rgba(34, 86, 39, 0.14));
    transition: transform 0.25s ease, filter 0.25s ease;
}

@media (min-width: 768px) {
    .gf-tech-phyto-pass {
        grid-template-columns: minmax(6.75rem, 7.5rem) minmax(0, 1fr);
        gap: 1rem;
        padding: 1rem 1.1rem;
        margin-top: 1.25rem;
    }

    .gf-tech-phyto-pass-preview {
        max-width: 7.5rem;
        max-height: 10.5rem;
    }
}

.gf-tech-phyto-pass:hover .gf-tech-phyto-pass-preview,
.gf-tech-phyto-pass:focus-visible .gf-tech-phyto-pass-preview {
    filter: drop-shadow(0 8px 16px rgba(34, 86, 39, 0.18));
}

.gf-tech-phyto-pass-body {
    flex: 1;
    min-width: 0;
}

.gf-tech-phyto-pass-title {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1.25;
    color: var(--gf-tech-green);
    margin: 0 0 0.2rem;
}

.gf-tech-phyto-pass-text {
    font-size: 0.88rem;
    line-height: 1.5;
    color: var(--gf-tech-text-muted);
    margin: 0 0 0.35rem;
}

.gf-tech-phyto-pass-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.55rem;
    margin: 0 0 0.55rem;
    font-size: 0.76rem;
    line-height: 1.35;
    color: var(--gf-tech-text-muted);
}

.gf-tech-phyto-pass-inupp,
.gf-tech-phyto-pass-date {
    color: var(--gf-tech-text-muted);
}

.gf-tech-phyto-pass-status {
    display: inline-flex;
    align-items: center;
    padding: 0.12rem 0.45rem;
    border-radius: 999px;
    background: rgba(34, 86, 39, 0.1);
    color: var(--gf-tech-green);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.gf-tech-phyto-pass-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.38rem 0.7rem;
    border-radius: 999px;
    background: var(--gf-tech-green);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.2;
    transition: background 0.2s ease;
}

.gf-tech-phyto-pass:hover .gf-tech-phyto-pass-cta,
.gf-tech-phyto-pass:focus-visible .gf-tech-phyto-pass-cta {
    background: var(--gf-tech-green-deep);
}

/* --- Section 3: quality chart --- */
.gf-tech-section--quality {
    padding-top: 0.75rem;
    padding-bottom: 2.5rem;
}

.gf-tech-card--quality {
    position: relative;
    overflow: visible;
    padding: 0;
    border: 1px solid rgba(34, 86, 39, 0.1);
    box-shadow: none;
}

.gf-tech-card-body--quality {
    position: relative;
    padding: 1.5rem 1.5rem 1.25rem;
}

@media (min-width: 992px) {
    .gf-tech-card-body--quality {
        padding: 1.6rem 2.25rem 1.5rem;
    }
}

.gf-tech-card--quality .gf-tech-badge {
    letter-spacing: 0.08em;
    font-size: 0.575rem;
    padding: 0.32rem 0.7rem;
    margin-bottom: 0.35rem;
}

.gf-tech-card--quality .gf-tech-title {
    margin-bottom: 0.35rem;
}

.gf-tech-section--quality .gf-tech-intro {
    margin-bottom: 1.25rem;
    max-width: 46rem;
    line-height: 1.55;
}

.gf-tech-table-wrap {
    overflow-x: visible;
    border-radius: 0.5rem;
    border: 1px solid rgba(34, 86, 39, 0.1);
    background: #fff;
}

.gf-tech-table {
    width: 100%;
    min-width: 0;
    table-layout: fixed;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.gf-tech-table thead th:nth-child(1) {
    width: 44%;
}

.gf-tech-table thead th:nth-child(2),
.gf-tech-table thead th:nth-child(3) {
    width: 28%;
}

.gf-tech-table thead th {
    background: var(--gf-tech-green);
    color: #fff;
    font-weight: 600;
    padding: 0.7rem 0.5rem;
    text-align: center;
    border: none;
    font-size: 0.78rem;
    line-height: 1.25;
    white-space: normal;
    hyphens: auto;
}

.gf-tech-table thead th:first-child {
    text-align: left;
    padding-left: 1.25rem;
}

.gf-tech-table tbody tr:nth-child(odd) {
    background: #fff;
}

.gf-tech-table tbody tr:nth-child(even) {
    background: rgba(250, 249, 246, 0.9);
}

.gf-tech-table tbody tr:last-child td {
    border-bottom: none;
}

.gf-tech-table tbody td {
    padding: 0.65rem 0.5rem;
    vertical-align: middle;
    border-bottom: 1px solid rgba(34, 86, 39, 0.08);
    color: var(--gf-tech-text);
    font-size: 0.8125rem;
    line-height: 1.35;
    word-wrap: break-word;
}

.gf-tech-table tbody td:not(:first-child) {
    text-align: center;
    font-weight: 500;
}

.gf-tech-table-category {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--gf-tech-green);
    font-size: 0.8125rem;
    line-height: 1.25;
}

.gf-tech-table-icon {
    width: 2rem;
    height: 2rem;
    object-fit: contain;
    flex-shrink: 0;
}

@media (min-width: 992px) {
    .gf-tech-table {
        font-size: 0.9375rem;
    }

    .gf-tech-table thead th {
        padding: 0.8rem 0.75rem;
        font-size: 0.875rem;
    }

    .gf-tech-table tbody td {
        padding: 0.8rem 1rem;
        font-size: 0.9375rem;
    }

    .gf-tech-table-category {
        gap: 0.75rem;
        font-size: inherit;
    }

    .gf-tech-table-icon {
        width: 2.5rem;
        height: 2.5rem;
    }
}

/* Mobile cards fallback (hidden on desktop) */
.gf-tech-table-cards {
    display: none;
}

@media (max-width: 767px) {
    .gf-tech-table-wrap {
        display: none;
    }

    .gf-tech-table-cards {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
    }

    .gf-tech-table-card {
        background: #fff;
        border: 1px solid rgba(34, 86, 39, 0.1);
        border-radius: 0.75rem;
        padding: 1rem;
    }

    .gf-tech-table-card-header {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        margin-bottom: 0.75rem;
    }

    .gf-tech-table-card-name {
        font-weight: 700;
        color: var(--gf-tech-green);
    }

    .gf-tech-table-card-row {
        display: flex;
        justify-content: space-between;
        gap: 0.75rem;
        font-size: 0.8125rem;
        padding: 0.25rem 0;
        color: var(--gf-tech-text-muted);
    }

    .gf-tech-table-card-row span {
        flex: 1 1 55%;
    }

    .gf-tech-table-card-row strong {
        flex: 0 0 auto;
        text-align: right;
        color: var(--gf-tech-text);
    }
}

/* --- Section 3: prise en charge + Trustindex --- */
.gf-tech-section--support {
    padding-top: 0.75rem;
    padding-bottom: 2.5rem;
}

.gf-tech-card--support {
    position: relative;
    overflow: visible;
    padding: 0;
    border: 1px solid rgba(34, 86, 39, 0.1);
    box-shadow: none;
}

.gf-tech-card-body--support {
    position: relative;
    padding: 1.5rem 1.5rem 1.25rem;
}

@media (min-width: 992px) {
    .gf-tech-card-body--support {
        padding: 1.6rem 2.25rem 1.5rem;
    }
}

.gf-tech-card--support .gf-tech-badge {
    letter-spacing: 0.08em;
    font-size: 0.575rem;
    padding: 0.32rem 0.7rem;
    margin-bottom: 0.35rem;
}

.gf-tech-support-layout {
    display: block;
}

.gf-tech-steps-flow--support {
    --gf-connector-offset: 5.05rem;
}

@media (min-width: 992px) {
    .gf-tech-steps-flow--support {
        --gf-connector-offset: 5.2rem;
    }
}

.gf-tech-support-columns {
    display: block;
}

.gf-tech-steps-grid--support {
    grid-template-areas:
        "body1 body2"
        "visual1 visual2"
        "body3 body3"
        "visual3 visual3";
}

.gf-tech-steps-grid--support .gf-tech-step-body--3 {
    margin-top: 0;
    padding-top: 1rem;
}

.gf-tech-step-list {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: left;
    font-size: 0.8125rem;
    line-height: 1.45;
    color: var(--gf-tech-text-muted);
    background: var(--gf-tech-cream);
}

.gf-tech-step-list li {
    position: relative;
    padding-left: 0.85rem;
    margin-bottom: 0.2rem;
    font-size: inherit;
    line-height: inherit;
}

.gf-tech-step-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--gf-tech-accent);
    font-weight: 700;
}

.gf-tech-step-link {
    color: var(--gf-tech-green);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 0.12em;
}

.gf-tech-step-link:hover,
.gf-tech-step-link:focus-visible {
    color: var(--gf-tech-green-deep);
}

@media (min-width: 768px) {
    .gf-tech-steps-grid--support {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        grid-template-areas:
            "body1 body2 body3"
            "visual1 visual2 visual3";
        grid-template-rows: minmax(var(--gf-connector-offset), auto) auto;
        column-gap: 0.5rem;
    }

    .gf-tech-steps-flow--support .gf-tech-steps-connector {
        display: block;
        grid-column: 1 / -1;
        grid-row: 1;
        position: relative;
        margin: var(--gf-connector-offset) 0 0;
        transform: none;
    }

    .gf-tech-steps-grid--support .gf-tech-step-body--3 {
        padding-top: 0;
    }

    .gf-tech-steps-flow--support .gf-tech-step-body {
        max-width: 11rem;
    }

    /* Section 3 — alignement bas, tailles héritées (188px) sauf PC plus large */
    .gf-tech-steps-grid--support .gf-tech-step-visual {
        align-items: flex-end;
        justify-content: center;
        min-height: 12rem;
        margin-top: 0.65rem;
    }

    .gf-tech-steps-grid--support .gf-tech-step-visual--2 .gf-tech-step-img {
        max-height: 13.125rem;
        max-width: 100%;
    }

    .gf-tech-steps-grid--support .gf-tech-step-visual--1 .gf-tech-step-img,
    .gf-tech-steps-grid--support .gf-tech-step-visual--3 .gf-tech-step-img {
        max-width: 80%;
    }

    .gf-tech-steps-flow--support .gf-tech-step-text,
    .gf-tech-steps-flow--support .gf-tech-step-list {
        max-width: 10.75rem;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (min-width: 768px) {
    .gf-tech-support-columns {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(18rem, 24rem);
        gap: 0.75rem;
        align-items: start;
    }
}

@media (min-width: 992px) {
    .gf-tech-support-columns {
        grid-template-columns: minmax(0, 1fr) minmax(22rem, 32rem);
        gap: 0.85rem;
    }

    /* Section 3 — desktop : PC dominant (240px), pot + calendrier à taille normale (210px) */
    .gf-tech-steps-grid--support .gf-tech-step-visual {
        min-height: 15rem;
    }

    .gf-tech-steps-grid--support .gf-tech-step-visual--2 .gf-tech-step-img {
        max-height: 15rem;
        max-width: 100%;
    }

    .gf-tech-steps-grid--support .gf-tech-step-visual--1 .gf-tech-step-img,
    .gf-tech-steps-grid--support .gf-tech-step-visual--3 .gf-tech-step-img {
        max-height: 13.125rem;
        max-width: 75%;
    }
}

/* Fallback : trust encore enfant direct de la grille (vue COW non synchronisée) */
.gf-tech-steps-grid--support > .gf-tech-support-trustindex {
    grid-column: 1 / -1;
    width: 100%;
    max-width: 36rem;
    margin: 0.75rem auto 0;
}

@media (min-width: 768px) {
    .gf-tech-steps-grid--support:has(> .gf-tech-support-trustindex) {
        grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(18rem, 24rem);
        grid-template-areas:
            "body1 body2 body3 trust"
            "visual1 visual2 visual3 .";
    }

    .gf-tech-steps-grid--support > .gf-tech-support-trustindex {
        grid-area: trust;
        grid-row: 1;
        align-self: start;
        max-width: none;
        width: 100%;
        min-width: 0;
        margin: 0;
    }
}

@media (min-width: 992px) {
    .gf-tech-steps-grid--support:has(> .gf-tech-support-trustindex) {
        grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(22rem, 32rem);
    }

    .gf-tech-steps-grid--support {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        grid-template-areas:
            "body1 body2 body3"
            "visual1 visual2 visual3";
        grid-template-rows: minmax(var(--gf-connector-offset), auto) auto;
        column-gap: 0.85rem;
        align-items: start;
        min-width: 0;
    }

    .gf-tech-steps-flow--support .gf-tech-steps-connector {
        grid-column: 1 / 4;
        grid-row: 1;
    }

    .gf-tech-steps-flow--support .gf-tech-steps-line {
        left: 12.5%;
        right: 12.5%;
    }

    .gf-tech-steps-flow--support .gf-tech-step-body {
        max-width: 10.5rem;
    }

    .gf-tech-steps-flow--support .gf-tech-step-text,
    .gf-tech-steps-flow--support .gf-tech-step-list {
        max-width: 10.25rem;
    }
}

.gf-tech-support-trustindex {
    width: 100%;
    align-self: start;
}

@media (min-width: 768px) {
    .gf-tech-support-columns > .gf-tech-support-trustindex {
        grid-column: 2;
        grid-row: 1;
        margin: 0;
        max-width: none;
        width: 100%;
        align-self: start;
        justify-self: stretch;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .gf-tech-support-columns {
        grid-template-columns: minmax(0, 1fr) clamp(14rem, 34vw, 22rem);
        gap: 0.65rem;
        align-items: start;
    }

    .gf-tech-steps-grid--support:has(> .gf-tech-support-trustindex) {
        grid-template-columns: repeat(3, minmax(0, 1fr)) clamp(14rem, 34vw, 22rem);
    }

    .gf-tech-support-columns > .gf-tech-support-trustindex,
    .gf-tech-steps-grid--support > .gf-tech-support-trustindex {
        margin-top: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        max-width: none !important;
        align-self: start !important;
        justify-self: end;
    }
}

@media (min-width: 992px) {
    .gf-tech-support-trustindex {
        margin-top: 0;
        align-self: start;
    }
}

@media (max-width: 767px) {
    .gf-tech-support-trustindex {
        margin-top: 0.75rem;
        max-width: 36rem;
        margin-left: auto;
        margin-right: auto;
    }
}

.gf-qualite-trustindex-slot {
    width: 100%;
    min-height: 8rem;
    overflow: visible;
}

.gf-qualite-trustindex-slot:not(.is-loaded):not([data-gf-lazy-loaded="1"]) {
    background: linear-gradient(90deg, rgba(34, 86, 39, 0.06) 25%, rgba(34, 86, 39, 0.12) 50%, rgba(34, 86, 39, 0.06) 75%);
    background-size: 200% 100%;
    animation: gf-qualite-trustindex-skeleton 1.35s ease-in-out infinite;
    border-radius: 0.35rem;
}

@keyframes gf-qualite-trustindex-skeleton {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.gf-qualite-trustindex-slot > *:not(script) {
    width: 100%;
    max-width: 100%;
}

/* Layout Trustindex 74 : badge sticky → carte certificat inline */
.gf-qualite-trustindex-slot .ti-widget.ti-certificate {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0;
    overflow: visible !important;
}

.gf-qualite-trustindex-slot .ti-sticky-button {
    display: none !important;
}

.gf-qualite-trustindex-slot .ti-badge-right .ti-sticky-button-footer {
    background: transparent !important;
    background-color: transparent !important;
}

.gf-qualite-trustindex-slot .ti-sticky-button-footer-inner {
    background: #000 !important;
    background-color: #000 !important;
    color: #fff !important;
    padding: 0.35rem 0.55rem !important;
    border-radius: 0.25rem;
    font-size: 0.72rem;
    line-height: 1.3;
}

.gf-qualite-trustindex-slot .ti-modal-container {
    position: static !important;
    display: block !important;
    inset: auto !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: none !important;
    background: transparent !important;
    background-color: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    min-height: 0 !important;
}

.gf-qualite-trustindex-slot .ti-modal-header {
    display: flex !important;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    width: 100% !important;
    min-width: 0;
    white-space: nowrap;
    padding: 0.55rem 0.75rem !important;
    box-sizing: border-box;
}

@media (max-width: 991px) {
    .gf-qualite-trustindex-slot .ti-modal-header {
        font-size: 0.82rem;
        padding: 0.5rem 0.65rem !important;
    }

    .gf-qualite-trustindex-slot .ti-modal-header a {
        font-size: 0.78rem;
    }
}

.gf-qualite-trustindex-slot .ti-modal {
    position: static !important;
    display: block !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    margin: 0 auto;
    width: 100% !important;
    max-width: none !important;
    background: transparent !important;
    box-shadow: 0 8px 28px rgba(34, 86, 39, 0.1);
}

.gf-qualite-trustindex-slot .ti-close-button {
    display: none !important;
}

.gf-qualite-trustindex-slot .ti-widget {
    margin: 0 auto;
}

.gf-qualite-trustindex-slot .ti-widget .ti-trust-badge {
    cursor: pointer;
    position: relative;
}
