/* ============================================================
   SERVICES PROTOTYPAGE — Style EOS / Materialise
   ============================================================ */

/* ============================================================
   QU'EST-CE QUE — Grille texte + encadré
   ============================================================ */
.proto-def-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 3rem;
    align-items: start;
}

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

.proto-def-text p:last-child {
    margin-bottom: 0;
}

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

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

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

.proto-def-card p {
    font-size: 0.9375rem;
    color: var(--color-text-light);
    line-height: 1.7;
    margin: 0;
}

/* ============================================================
   TROIS PILIERS — 3 cartes
   ============================================================ */
.proto-pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

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

.proto-pillar-card--highlight {
    position: relative;
    overflow: hidden;
    box-shadow: 6px 6px 25px rgba(0, 0, 0, 0.5);
}


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

.proto-pillar-tag {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--color-text-light);
    background: var(--color-light, #F2F2F2);
    padding: 0.25rem 0.75rem;
    border-radius: 2rem;
    width: fit-content;
    margin-bottom: 1rem;
}

.proto-pillar-card p {
    font-size: 0.9375rem;
    color: var(--color-text-light);
    line-height: 1.7;
    margin: 0;
}

/* ============================================================
   POURQUOI IMPRESSION 3D — Rows alternées + stat
   ============================================================ */
.proto-why-rows {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    margin-bottom: 2.5rem;
}

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

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

.proto-why-row--reverse .proto-why-row-img {
    order: 2;
}

.proto-why-row--reverse .proto-why-row-text {
    order: 1;
}

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

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

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

.proto-why-row-text h3 {
    font-family: 'Kanit', sans-serif;
    font-size: 1.125rem;
    font-weight: 400;
    color: var(--color-dark);
    margin-bottom: 0.75rem;
}

.proto-why-row-text h3:not(:first-child) {
    margin-top: 1.75rem;
}

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

.proto-stat-note {
    padding: 1.5rem 2rem;
    background: rgba(5, 64, 242, 0.02);
    border-left: 3px solid var(--color-primary);
    border-radius: 0 0.5rem 0.5rem 0;
}

.proto-stat-note p {
    font-size: 0.9375rem;
    color: var(--color-text);
    line-height: 1.7;
    margin: 0;
}

/* ============================================================
   EXPERTISE — Row texte / image
   ============================================================ */
.proto-expertise-row {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3.5rem;
    align-items: center;
}

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

.proto-expertise-text p:last-child {
    margin-bottom: 0;
}

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

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

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

/* ============================================================
   SOLUTIONS TECHNOLOGIQUES — 3 cartes avec lien
   ============================================================ */
.proto-solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.proto-solution-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;
}

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

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

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

.proto-solution-tech {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

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

.proto-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;
}

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

/* ============================================================
   PROCESSUS — 4 étapes horizontales
   ============================================================ */
.proto-process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

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

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

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

.proto-process-num {
    display: block;
    font-family: 'Kanit', sans-serif;
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--color-primary);
    margin-bottom: 0.75rem;
}

.proto-process-step h3 {
    font-family: 'Kanit', sans-serif;
    font-size: 0.9375rem;
    font-weight: 400;
    color: var(--color-dark);
    margin-bottom: 0.5rem;
}

.proto-process-step p {
    font-size: 0.8125rem;
    color: var(--color-text-light);
    line-height: 1.6;
    margin: 0;
}

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

    .proto-pillars-grid {
        grid-template-columns: 1fr;
    }

    .proto-solutions-grid {
        grid-template-columns: 1fr;
    }

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

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

    .proto-why-row--reverse .proto-why-row-img {
        order: 0;
    }

    .proto-why-row--reverse .proto-why-row-text {
        order: 0;
    }

    .proto-why-rows {
        gap: 3rem;
    }

    .proto-expertise-row {
        grid-template-columns: 1fr;
    }

    .proto-process-grid {
        grid-template-columns: 1fr;
    }
}