/******* Do not edit this file *******
Woody Code Snippets CSS and JS
Saved: Nov 10 2026 | 08:02:14 */

/* ==========================================
   CYCLINGCERAMIC — EXPLORE SECTIONS
   ========================================== */

.cc-diagonal {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    isolation: isolate;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    transition:
        background-size 0.65s ease,
        box-shadow 0.4s ease;
}

/* Bandeau diagonal */
.cc-diagonal::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(209, 222, 232, 0.60);
    clip-path: polygon(
        0 0, 30% 0, 42% 100%, 0 100%
    );
    z-index: 1;
    pointer-events: none;
    transition: background 0.5s ease;
}

/* Gravel - diagonale inversée */
.cc-diagonal.cc-diagonal-inverse::before {
    clip-path: polygon(
        0 0, 42% 0, 30% 100%, 0 100%
    );
}

/* Contenu Elementor */
.cc-diagonal > .elementor-element,
.cc-diagonal > .e-con-inner {
    position: relative;
    z-index: 2;
}

/* Typographie */
.cc-diagonal .elementor-heading-title {
    color: #FFFFFF;
    font-family: "Inter", sans-serif;
    font-weight: 600;
    text-shadow: 0 2px 8px rgba(0,0,0,0.20);
}

/* Conteneur des effets */
.cc-diagonal > .elementor-motion-effects-container {
    overflow: hidden;
    border-radius: inherit;
}

/* Hover */
.cc-diagonal:hover {
    background-size: 108%;
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.cc-diagonal:hover::before {
    background: rgba(209, 222, 232, 0.48);
}

/* Mobile */
@media (max-width: 767px) {
    .cc-diagonal {
        border-radius: 10px;
    }

    .cc-diagonal::before {
        clip-path: polygon(
            0 0, 35% 0, 55% 100%, 0 100%
        );
    }

    .cc-diagonal.cc-diagonal-inverse::before {
        clip-path: polygon(
            0 0, 55% 0, 35% 100%, 0 100%
        );
    }

    .cc-diagonal .elementor-heading-title {
        font-size: 22px;
    }

    .cc-diagonal:hover {
        background-size: cover;
        box-shadow: none;
    }
}

/* Accessibilité */
@media (prefers-reduced-motion: reduce) {
    .cc-diagonal,
    .cc-diagonal::before {
        transition: none;
    }
}
