/* GUMA UX V2 — Finition visuelle */

/* Espacement général des sections */
body .guma-section {
    padding-top: clamp(36px, 4vw, 60px);
    padding-bottom: clamp(36px, 4vw, 60px);
}

/* Section projets */
body .guma-projects--ah3 {
    padding-top: clamp(38px, 4vw, 60px) !important;
    padding-bottom: clamp(38px, 4vw, 60px) !important;
}

/* Transitions des cartes projets */
.guma-projects--ah3 .guma-ah3-card {
    transition:
        transform .35s ease,
        box-shadow .35s ease;
}

@media (hover: hover) {
    .guma-projects--ah3 .guma-ah3-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 18px 38px rgba(42, 18, 65, .12);
    }
}

/* Zoom léger des visuels */
.guma-projects--ah3 .guma-ah3-placeholder,
.guma-projects--ah3 .guma-ah3-mini-visual {
    transition: background-size .5s ease;
}

/* Boutons */
.guma-button,
.guma-projects--ah3 a {
    transition:
        transform .25s ease,
        box-shadow .25s ease,
        background-color .25s ease;
}

@media (hover: hover) {
    .guma-button:hover {
        transform: translateY(-2px);
    }
}

/* Apparition douce au défilement.
   Le contenu reste visible par défaut. */
.guma-ux-reveal {
    transition:
        opacity .6s ease,
        transform .6s ease;
}

.guma-ux-reveal.guma-ux-pending {
    opacity: .01;
    transform: translateY(14px);
}

.guma-ux-reveal.guma-ux-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Accessibilité */
@media (prefers-reduced-motion: reduce) {
    .guma-ux-reveal,
    .guma-projects--ah3 .guma-ah3-card,
    .guma-button {
        transition: none !important;
        animation: none !important;
        transform: none !important;
        opacity: 1 !important;
    }
}

@media (max-width: 767px) {
    body .guma-section {
        padding-top: 32px;
        padding-bottom: 32px;
    }

    body .guma-projects--ah3 {
        padding-top: 32px !important;
        padding-bottom: 32px !important;
    }
}
