/* ============================================================
   TECHNOLOGY FFF/FDM — Style EOS / Materialise
   ============================================================ */

/* ============================================================
   ROWS ALTERNÉES — Avantages texte / image
   ============================================================ */
.fff-rows {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.fff-row {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3.5rem;
    align-items: center;
}

.fff-row--reverse {
    grid-template-columns: 1.2fr 1fr;
}

.fff-row--reverse .fff-row-img {
    order: 2;
}

.fff-row--reverse .fff-row-text {
    order: 1;
}

.fff-row-img {
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 0.75rem 2.5rem rgba(5, 64, 242, 0.08);
}

.fff-row-img img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.fff-row:hover .fff-row-img img {
    transform: scale(1.03);
}

.fff-row-text h3 {
    font-family: 'Kanit', sans-serif;
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--color-dark);
    margin-bottom: 1rem;
}

.fff-row-text p {
    font-size: 0.9375rem;
    color: var(--color-text-light);
    line-height: 1.75;
    margin-bottom: 1rem;
}

.fff-row-text p:last-child {
    margin-bottom: 0;
}

/* ============================================================
   LISTES
   ============================================================ */
.fff-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.fff-list li {
    position: relative;
    padding-left: 1.25rem;
    font-size: 0.9375rem;
    color: var(--color-text);
    line-height: 1.6;
}

.fff-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-primary);
}

.fff-list--light li::before {
    background: var(--color-primary-light);
}

/* ============================================================
   LIMITES — 3 cartes
   ============================================================ */
.fff-limites-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.fff-limite-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 0.5rem;
    padding: 2rem 1.75rem;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.4s ease, transform 0.4s ease;
}

.fff-limite-card:hover {
    box-shadow: 0 0.75rem 2rem rgba(0, 0, 0, 0.06);
    transform: translateY(-3px);
}

.fff-limite-card h3 {
    font-family: 'Kanit', sans-serif;
    font-size: 1.0625rem;
    font-weight: 400;
    color: var(--color-dark);
    margin-bottom: 0.75rem;
}

.fff-limite-card > p {
    font-size: 0.9375rem;
    color: var(--color-text-light);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.fff-limite-note {
    margin-top: auto;
    padding: 1rem 1.25rem;
    background: rgba(5, 64, 242, 0.02);
    border-left: 3px solid var(--color-primary);
    border-radius: 0 0.375rem 0.375rem 0;
}

.fff-limite-note p {
    font-size: 0.8125rem;
    color: var(--color-text);
    line-height: 1.6;
    margin: 0;
}

/* ============================================================
   APPLICATIONS — Grille de tags avec barre bleue
   ============================================================ */
.fff-uses-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.fff-use-item {
    position: relative;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 0.5rem;
    padding: 1.75rem 1.5rem;
    text-align: center;
    overflow: hidden;
    transition: box-shadow 0.4s ease, transform 0.4s ease;
}

.fff-use-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #0540F2, #70A7FF);
}

.fff-use-item:hover {
    box-shadow: 0 0.75rem 2rem rgba(5, 64, 242, 0.08);
    transform: translateY(-3px);
}

.fff-use-item h3 {
    font-family: 'Kanit', sans-serif;
    font-size: 0.9375rem;
    font-weight: 400;
    color: var(--color-dark);
    margin: 0;
    line-height: 1.4;
}

/* ============================================================
   POUR QUELS PROJETS — Texte + highlight box
   ============================================================ */
.fff-projets-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 3rem;
    align-items: start;
}

.fff-projets-text p {
    font-size: 1rem;
    color: var(--color-text);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.fff-projets-text p:last-child {
    margin-bottom: 0;
}

.fff-highlight-box {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 0.5rem;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.fff-highlight-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #0540F2, #70A7FF);
}

.fff-highlight-box h3 {
    font-family: 'Kanit', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: var(--color-primary);
    margin-bottom: 0.75rem;
}

.fff-highlight-box p {
    font-size: 0.9375rem;
    color: var(--color-text-light);
    line-height: 1.7;
    margin: 0;
}

/* ============================================================
   SECTEURS — 4 cartes avec lien
   ============================================================ */
.fff-secteurs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.fff-secteur-card {
    position: relative;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 0.5rem;
    padding: 2.25rem 2rem;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: box-shadow 0.4s ease, transform 0.4s ease;
}

.fff-secteur-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #0540F2, #70A7FF);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.fff-secteur-card:hover {
    box-shadow: 0 0.75rem 2rem rgba(5, 64, 242, 0.08);
    transform: translateY(-3px);
}

.fff-secteur-card:hover::before {
    opacity: 1;
}

.fff-secteur-card h3 {
    font-family: 'Kanit', sans-serif;
    font-size: 1.125rem;
    font-weight: 400;
    color: var(--color-dark);
    margin-bottom: 0.75rem;
}

.fff-secteur-card p {
    font-size: 0.9375rem;
    color: var(--color-text-light);
    line-height: 1.7;
    margin-bottom: 1.25rem;
    flex: 1;
}

.fff-link {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.25s;
}

.fff-link:hover {
    color: var(--color-primary-light);
}

.fff-highlight-box a {
    color: var(--color-primary);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.25s;
}

.fff-highlight-box a:hover {
    border-color: var(--color-primary);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 64rem) {
    .fff-limites-grid {
        grid-template-columns: 1fr;
    }

    .fff-uses-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .fff-projets-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 48rem) {
    .fff-row,
    .fff-row--reverse {
        grid-template-columns: 1fr;
    }

    .fff-row--reverse .fff-row-img {
        order: 0;
    }

    .fff-row--reverse .fff-row-text {
        order: 0;
    }

    .fff-rows {
        gap: 3rem;
    }

    .fff-uses-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .fff-secteurs-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 30rem) {
    .fff-uses-grid {
        grid-template-columns: 1fr;
    }
}