.case-studies-page-header-bg {
    position: relative;
    min-height: 82vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    isolation: isolate;
    background:
        radial-gradient(90% 70% at 50% 30%, #0d0a0a 0%, #0a0a0a 45%, #050505 78%),
        #050505;
}

body,
main {
    background-color: #fff;
}

.case-studies-page-header-bg + .containerW,
.case-studies-page-header-bg + .containerW.is-visible {
    background-color: #fff;
    margin-top: 0;
    padding-top: 60px;
}

.containerB.case-studies-page-header-bg {
    padding-left: 0;
    padding-right: 0;
}

.case-studies-page-header-bg.is-case-studies-universe-ready .case-studies-universe-nebula,
.case-studies-page-header-bg.is-case-studies-universe-ready .case-studies-universe-sphere {
    opacity: 1;
}

.case-studies-page-header-bg .three_wrapper {
    display: none;
}

.case-studies-universe-bg,
.case-studies-universe-stars,
.case-studies-universe-nebula,
.case-studies-universe-grain,
.case-studies-universe-cursor-glow {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.case-studies-universe-bg {
    z-index: 0;
    background: radial-gradient(90% 70% at 50% 30%, #0d0a0a 0%, #0a0a0a 45%, #050505 78%);
    opacity: 0.8;
}

.case-studies-universe-stars {
    z-index: 1;
}

.case-studies-universe-stars canvas,
.case-studies-universe-sphere canvas {
    display: block;
    width: 100%;
    height: 100%;
}

.case-studies-page-header-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(34% 40% at 50% 38%, rgba(226, 42, 42, 0.16) 0%, rgba(226, 42, 42, 0) 70%),
        radial-gradient(26% 30% at 38% 55%, rgba(45, 212, 191, 0.10) 0%, rgba(45, 212, 191, 0) 70%),
        radial-gradient(24% 28% at 64% 30%, rgba(61, 139, 255, 0.10) 0%, rgba(61, 139, 255, 0) 70%);
    filter: blur(46px);
    animation: case-studies-header-nebula-breathe 13s ease-in-out infinite;
}

.case-studies-universe-nebula {
    z-index: 1;
    background:
        radial-gradient(34% 40% at 50% 38%, rgba(226, 42, 42, 0.16) 0%, rgba(226, 42, 42, 0) 70%),
        radial-gradient(26% 30% at 38% 55%, rgba(45, 212, 191, 0.10) 0%, rgba(45, 212, 191, 0) 70%),
        radial-gradient(24% 28% at 64% 30%, rgba(61, 139, 255, 0.10) 0%, rgba(61, 139, 255, 0) 70%);
    filter: blur(46px);
    opacity: 0;
    transition: opacity 1.4s cubic-bezier(0.22, 1, 0.36, 1);
    animation: case-studies-header-nebula-breathe 13s ease-in-out infinite;
}

.case-studies-universe-grain {
    z-index: 2;
    opacity: 0.045;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.case-studies-universe-cursor-glow {
    z-index: 2;
    background: radial-gradient(260px 260px at var(--mx, 50%) var(--my, 30%), rgba(226, 42, 42, 0.08), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.case-studies-page-header-bg:hover .case-studies-universe-cursor-glow {
    opacity: 1;
}

.case-studies-universe-sphere {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 3;
    width: min(640px, 92vw);
    height: min(640px, 92vw);
    pointer-events: none;
    opacity: 0;
    transform: translate(-50%, -50%);
    transition: opacity 1.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.case-studies-universe-sphere-core {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(61, 139, 255, 0.55) 0%, rgba(226, 42, 42, 0.32) 45%, rgba(226, 42, 42, 0) 75%);
    filter: blur(10px);
    transform: translate(-50%, -50%);
    animation: case-studies-header-core-pulse 5s ease-in-out infinite;
}

.case-studies-universe-orbit-dot {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 6px;
    height: 6px;
    margin: -3px 0 0 -3px;
    border-radius: 50%;
}

.case-studies-universe-orbit-dot--1 {
    background: #ff6a5a;
    box-shadow: 0 0 10px 2px rgba(255, 106, 90, 0.6);
    animation: case-studies-header-orbit-1 18s linear infinite;
}

.case-studies-universe-orbit-dot--2 {
    background: #2dd4bf;
    box-shadow: 0 0 10px 2px rgba(45, 212, 191, 0.55);
    animation: case-studies-header-orbit-2 24s linear infinite;
}

.case-studies-universe-orbit-dot--3 {
    width: 4px;
    height: 4px;
    background: #3d8bff;
    box-shadow: 0 0 8px 2px rgba(61, 139, 255, 0.5);
    animation: case-studies-header-orbit-3 31s linear infinite;
}

.case-studies-page-header-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 5;
    pointer-events: none;
    background:
        linear-gradient(to bottom, transparent 68%, #050505 100%),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.45'/%3E%3C/svg%3E");
    opacity: 0.16;
    mix-blend-mode: overlay;
}

.case-studies-page-header-bg .topSection {
    position: relative;
    z-index: 6;
    justify-content: center;
    padding: 120px 0 64px 0;
}

.case-studies-page-header-bg .titleAndBtn {
    margin-top: 0 !important;
    align-items: center;
}

@keyframes case-studies-header-nebula-breathe {
    0%,
    100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.07);
    }
}

@keyframes case-studies-header-core-pulse {
    0%,
    100% {
        opacity: 0.7;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.18);
    }
}

@keyframes case-studies-header-orbit-1 {
    from {
        transform: rotate(0deg) translateX(320px) rotate(0deg);
    }
    to {
        transform: rotate(360deg) translateX(320px) rotate(-360deg);
    }
}

@keyframes case-studies-header-orbit-2 {
    from {
        transform: rotate(120deg) translateX(300px) rotate(-120deg);
    }
    to {
        transform: rotate(-240deg) translateX(300px) rotate(240deg);
    }
}

@keyframes case-studies-header-orbit-3 {
    from {
        transform: rotate(250deg) translateX(280px) rotate(-250deg);
    }
    to {
        transform: rotate(610deg) translateX(280px) rotate(-610deg);
    }
}

@media (max-width: 768px) {
    .case-studies-page-header-bg {
        min-height: 64vh;
    }

    .case-studies-page-header-bg .topSection {
        padding: 96px 0 56px 0;
    }

    .case-studies-universe-sphere {
        width: 80vw;
        height: 80vw;
    }

    .case-studies-universe-orbit-dot,
    .case-studies-universe-cursor-glow {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .case-studies-universe-sphere,
    .case-studies-universe-nebula {
        transition-duration: 0.01s !important;
        opacity: 1 !important;
    }

    .case-studies-universe-orbit-dot,
    .case-studies-universe-sphere-core,
    .case-studies-universe-nebula {
        animation: none !important;
    }

    .case-studies-universe-cursor-glow {
        display: none;
    }
}

.clientsContainer {
    width: var(--rn-width1);
    margin: auto;
}
.clientsContainer button {
    background-color: var(--red);
    padding: 11px;
    letter-spacing: 0;
    font-size: 17px;
    border-radius: 12px;
    width: 226px;
    color: white;
    border: none;
    display: flex; /* Active flexbox */
    align-items: center; /* Centre verticalement */
    justify-content: space-between; /* Place texte à gauche et icône à droite */
}

.clientsContainer button svg {
    width: 18px; /* Ajuste la taille */
    height: auto;
}

.red-accent-section.left {
    left: -5px;
}

.red-accent-section.black {
    background: black !important;
}

.section1_image_container.left {
    justify-content: flex-end;
}

.section1_shape.left {
    width: 50%;
    padding: 80px 69px 80px 200px;
}

.imageWithAnimation.full {
    top: 0 !important;
    margin-bottom: 500px;
    z-index: 200000;
}

.bigImgTop.full {
    clip-path: none;
}
.section1_shape .title {
    font-size: 28px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.2;
}

.section1_shape .description {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.4;
}

/* Expertise Tags */
.expertise-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.expertise-tags .tag {
    background-color: var(--red);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
}

/* Description Text */
.section1_shape p:not(.description) {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 15px;
}

/* Read More Link */
.read-more-link {
    color: #333;
    font-size: 14px;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s ease;
}

.read-more-link:hover {
    color: var(--red);
}

.read-more-link::before {
    content: "→";
    font-weight: bold;
}

/* Button Styles */
.cta-button {
    background-color: var(--red);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 15px;
    display: inline-block;
    text-decoration: none;
}

.cta-button:hover {
    background-color: var(--red);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(229, 62, 62, 0.3);
}

/* Secondary Button */
.secondary-button {
    background-color: transparent;
    color: var(--red);
    border: 2px solid var(--red);
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 15px;
    display: inline-block;
    text-decoration: none;
}

.secondary-button:hover {
    background-color: var(--red);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(229, 62, 62, 0.3);
}

/* Button Container */
.button-group {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}
.CaseStudiesButton {
    margin-top: 4% ; 
    text-align: center;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .section1_shape {
        padding: 20px;
    }

    .section1_shape .title {
        font-size: 24px;
    }

    .section1_shape .description {
        font-size: 16px;
    }

    .button-group {
        flex-direction: column;
        align-items: flex-start;
    }

    .cta-button,
    .secondary-button {
        width: 100%;
        text-align: center;
        margin-top: 10px;
    }
}

.title_center {
    color: #fff;
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 2rem;
    font-family: "PoppinsBold";
    text-align: center !important;
    display: block !important;
    width: 100% !important;
    margin: 20px auto 0 auto !important;
    text-align: center !important;
}

/* Responsive styles - add these to your existing CSS */

@media (max-width: 1200px) and (min-width: 1025px) {
    .section1_shape {
        padding: 60px 40px 60px 40px;
    }

    .section1_shape.left {
        padding: 60px 150px 60px 40px;
    }

    .clientsContainer button {
        width: 180px;
        font-size: 16px;
        padding: 10px;
    }
}

/* ========================================
   17. RESPONSIVE - TABLETS (768px-1023px)
   ======================================== */

@media (min-width: 768px) and (max-width: 1023px) {
    .section1_grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .section1_title,
    .section1_subtitle {
        font-size: 2rem;
    }

    .section1_card {
        padding: 25px;
    }

    .section1_card_title {
        font-size: 1.2rem;
    }

    .section1_image_container {
        width: 85%;
        margin-top: 50px;
        margin: 30px auto;
        flex-direction: column;
        text-align: center;
    }

    .red-accent-section {
        position: static;
        transform: none;
        margin-top: 30px;
        right: auto;
        border-radius: 16px;
    }

    .section1_shape {
        width: 100%;
        padding: 40px 30px;
        border-radius: 24px 24px 0 0;
    }

    .section1_image_container:hover {
        transform: translateY(-3px);
    }
}

/* ========================================
   18. RESPONSIVE - GENERAL TABLET/MOBILE (<992px)
   ======================================== */

@media (max-width: 992px) {
    .clientsContainer {
        overflow: hidden;
    }

    .section1_image_container {
        flex-direction: column !important;
        align-items: center !important;
        display: flex !important;
        margin-bottom: 40px;
        overflow: hidden;
        position: relative;
    }

    .section1_image_container.left {
        flex-direction: column !important;
        justify-content: center !important;
    }

    .section1_shape,
    .section1_shape.left {
        width: 100% !important;
        padding: 40px 30px !important;
        text-align: center !important;
        position: relative !important;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        transform: none !important;
        order: 2;
        box-sizing: border-box;
    }

    .red-accent-section {
        position: relative !important;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        width: 100% !important;
        max-width: 400px !important;
        margin: 0 auto 20px auto !important;
        order: 1;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        transform: none !important;
    }

    .red-accent-section.left {
        position: relative !important;
        left: 0 !important;
        right: auto !important;
        top: auto !important;
        width: 100% !important;
        margin: 0 auto 20px auto !important;
        order: 1;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        transform: none !important;
        float: none !important;
    }

    .filterRow {
        text-align: center;
        margin-bottom: 30px;
    }

    .clientsContainer button {
        margin: 0 auto;
        display: block;
    }

    .AgenzImage {
        width: 100%;
        height: auto;
        object-fit: contain;
    }
}

/* ========================================
   19. RESPONSIVE - MOBILE LANDSCAPE (481px-768px)
   ======================================== */

@media (min-width: 481px) and (max-width: 767px) {
    .section1_image_container {
        width: 95%;
        margin-top: 30px;
        margin: 20px auto;
        flex-direction: column;
        border-radius: 16px;
    }

    .title_center {
        font-size: 2.5rem;
        margin: 15px auto 0 auto !important;
    }

    .titleAndBtn {
        margin-top: 60px !important;
    }

    .section1_shape .title {
        font-size: 24px;
        margin-bottom: 12px;
    }

    .section1_shape .description {
        font-size: 16px;
        margin-bottom: 15px;
    }

    .expertise-tags {
        justify-content: center;
        margin-bottom: 15px;
    }

    .expertise-tags .tag {
        font-size: 11px;
        padding: 5px 10px;
    }

    .section1_shape p:not(.description) {
        font-size: 13px;
        text-align: left;
    }

    .red-accent-section {
        width: 300px;
        height: 200px;
    }

    .AgenzImage {
        height: 150px;
        width: auto;
    }

    .clientsContainer button {
        width: 100%;
        width: 300px;
        font-size: 15px;
    }

    .filterRow span {
        font-size: 14px;
        margin-bottom: 15px;
        display: block;
    }

    .button-group {
        flex-direction: column;
        align-items: flex-start;
    }

    .cta-button,
    .secondary-button {
        width: 100%;
        text-align: center;
        margin-top: 10px;
    }

    .feature-item {
        font-size: 16px;
        margin-bottom: 20px;
    }

    .three_wrapper {
        height: 300px;
    }
    
    #three-scene {
        height: 100%;
    }
}

/* ========================================
   21. RESPONSIVE - MOBILE SMALL (≤576px)
   ======================================== */

@media (max-width: 576px) {
    .containerW,
    .containerB {
        padding: 0 15px;
    }

    .title_center {
        font-size: 2rem;
        line-height: 1.1;
    }

    .titleAndBtn {
        margin-top: 40px !important;
        width: 100% !important;
        text-align: center;
    }

    .section1_shape,
    .section1_shape.left {
        padding: 30px 20px;
    }

    .section1_shape .title {
        font-size: 22px;
        line-height: 1.3;
    }

    .section1_shape .description {
        font-size: 15px;
        line-height: 1.3;
    }

    .expertise-tags {
        gap: 8px;
    }

    .expertise-tags .tag {
        font-size: 10px;
        padding: 4px 8px;
    }

    .section1_shape p:not(.description) {
        font-size: 12px;
        line-height: 1.4;
    }

    .red-accent-section {
        width: 250px;
        height: 160px;
        border-radius: 8px;
    }

    .AgenzImage {
        height: 120px;
    }

    .clientsContainer button {
        font-size: 14px;
        padding: 12px 15px;
        border-radius: 8px;
    }

    .clientsContainer button svg {
        width: 16px;
    }

    .filterRow {
        padding: 20px 0;
    }

    .filterRow span {
        font-size: 13px;
        font-weight: 600;
    }
}

/* ========================================
   22. RESPONSIVE - MOBILE PORTRAIT (≤480px)
   ======================================== */

@media (max-width: 480px) {
    .topSection {
        padding: 4px 0 128px 0;
    }

    .title_center {
        font-size: 1.8rem;
        margin: 10px auto 0 auto !important;
    }

    .section1_shape .title {
        font-size: 20px;
    }

    .section1_shape .description {
        font-size: 14px;
    }

    .red-accent-section {
        width: 200px;
        height: 140px;
    }

    .AgenzImage {
        height: 100px;
    }

    .expertise-tags .tag {
        font-size: 9px;
        padding: 3px 6px;
    }

    .section1_shape,
    .section1_shape.left {
        padding: 25px 15px;
    }
}

/* ========================================
   23. RESPONSIVE - EXTRA SMALL (≤320px)
   ======================================== */

@media (max-width: 320px) {
    .section1_image_container {
        margin-top: 15px;
        margin: 10px auto;
        padding: 0 5px;
    }

    .section1_shape {
        padding: 15px 10px;
        border-radius: 8px 8px 0 0;
    }
}

/* Three.js container responsiveness */
@media (max-width: 768px) {
    .three_wrapper {
        height: 300px; /* Reduce height on mobile if needed */
    }

    #three-scene {
        height: 100%;
    }
}

@media (max-width: 700px) {
    .thm-btn.red.dinamic {
        width: 370px;
    }
}













/* sections 1  */
.section1 {
    width: var(--rn-width1);
    margin: 40px auto;
}

.section1_header {
    text-align: center;
    margin-bottom: 60px;
}

.section1_title {
    /* color: #333; */
    font-size: var(--titleSize);
    /* margin-bottom: 80px; */
    font-family: "PoppinsBold";
    line-height: 60px;
}

.section1_subtitle {
    font-size: 2.5rem;
    font-weight: 700;
    color: #e74c3c;
    margin-bottom: 30px;
}

.section1_description {
    /* font-size: var(--discrSize); */
    color: #1a1a1a;
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.section1_grid {
    display: grid;
    grid-template-columns: repeat(
        2,
        1fr
    ); /* Exactement 2 colonnes sur desktop */
    gap: 30px;
    margin-top: 40px;
}

.section1_card {
    background: white;
    padding: 30px;
    border-radius: 8px;
    border-bottom: 2px solid #f5f5f5;
    position: relative;
}

.section1_card_header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.section1_card_title {
    font-size: 18px;
    line-height: 22px;
    font-weight: 600;
    color: #333;
    flex: 1;
    margin-right: 20px;
    font-family: "PoppinsBold";
}

.section1_card:hover .section1_arrow {
    transform: rotate(45deg) scale(1.1);
}

.section1_card_content {
    color: #1a1a1a;
    /* font-size: 1rem; */
    line-height: 1.6;
}

@media (max-width: 768px) {
    .section1_grid {
        grid-template-columns: 1fr; /* 1 seule colonne sur mobile */
        gap: 20px;
    }

    .section1_title,
    .section1_subtitle {
        font-size: 2rem;
    }

    .section1_card {
        padding: 25px;
    }

    .section1_card_title {
        font-size: 1.2rem;
    }
}

/* Texte limité à 2 lignes */
.section1_card_content {
    display: -webkit-box;
    -webkit-line-clamp: 2; /* 2 lignes max */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: max-height 0.3s ease;
    max-height: 3.2em; /* hauteur environ 2 lignes */
}

/* Quand ouvert (class .open) */
.section1_card.open .section1_card_content {
    -webkit-line-clamp: unset;
    max-height: 500px; /* valeur large pour tout montrer */
}
.section1_card .svgicon svg {
    width: 20px;
    height: 20px;
    fill: #e5373f;
    transition: transform 0.2s ease;
    cursor: pointer;
}

.section1_card .svgicon:hover svg {
    transform: scale(1.2); /* grossit un peu */
}

.section1_image_container .reverse {
    flex-direction: row-reverse;
}
.topSection .titleAndBtn {
    gap: 20px !important;
}
.topSection .image {
    width: 43% !important;
}

/* Base styles (Desktop > 1024px) */
.section1_image_container {
    margin-top: 70px;
    position: relative;
    width: 68%;
    border-radius: 24px;
    background-color: #fff;
    overflow: visible;
    transition: transform 0.3s ease;
    width: var(--rn-width1);
    /* margin: 40px auto; */
    display: flex;
    align-items: center;
}

.section1_image_container:hover {
    transform: translateY(-5px);
}

.section1_shape {
    padding: 64px 177px 60px 15px;
    width: 51%;
    position: relative;
    background: #f5f5f5 0% 0% no-repeat padding-box;
    opacity: 1;
    border-radius: 24px;
}

.red-accent-section {
    position: absolute;
    top: 50%;
    right: -5px;
    transform: translateY(-50%);
    /* width: 510px; */
    height: 75%;
    background: linear-gradient(135deg, #ffffff 0%, #fffefe 100%);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);

    border-radius: 24px;
    opacity: 0.9;
    z-index: 1;
    transition: all 0.3s ease;
}

.red-accent-section::before {
    content: "";
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    animation: pulse 2s ease-in-out infinite;
}

/* Large Desktop (> 1400px) */
@media (min-width: 1400px) {
    .section1_image_container {
        /* width: 60%; */
        margin-top: 80px;
    }

    .section1_shape {
        padding: 80px 200px 80px 69px;
        width: 50%;
    }
    .red-accent-section {
        width: 539px;
    }
}
.red-accent-section {
    align-items: center;
    display: flex;
}
/* Desktop/Laptop (1024px - 1399px) - Styles existants gardés */
@media (min-width: 1024px) and (max-width: 1399px) {
    .section1_image_container {
        margin-top: 70px;
        /* width: 68%; */
        /* margin: 40px auto; */
    }

    .section1_shape {
        padding: 64px 177px 60px 40px;
        width: 49%;
    }
    .red-accent-section {
        align-items: center;
        display: flex;
        width: 380px;
    }
}

/* Tablette (768px - 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
    .section1_image_container {
        width: 85%;
        margin-top: 50px;
        margin: 30px auto;
        flex-direction: column;
        text-align: center;
    }
    .red-accent-section {
        position: static;
        transform: none;
        /* width: 100%;
        height: 120px; */
        margin-top: 30px;
        right: auto;
        border-radius: 16px;
    }

    .section1_shape {
        width: 100%;
        padding: 40px 30px;
        border-radius: 24px 24px 0 0;
    }

    .section1_image_container:hover {
        transform: translateY(-3px);
    }
}

/* Mobile Large (481px - 767px) */
@media (min-width: 481px) and (max-width: 767px) {
    .section1_image_container {
        width: 95%;
        margin-top: 30px;
        margin: 20px auto;
        flex-direction: column;
        border-radius: 16px;
    }

    .section1_shape {
        width: 100%;
        padding: 30px 20px;
        border-radius: 16px 16px 0 0;
    }

    .section1_image_container:hover {
        transform: translateY(-2px);
    }
}

/* Mobile Small (≤ 480px) */
@media (max-width: 480px) {
    .section1_image_container {
        /* width: 100%; */
        margin-top: 20px;
        margin: 15px auto;
        flex-direction: column;
        border-radius: 12px;
        padding: 0 10px;
    }

    .section1_shape {
        /* width: 100%; */
        padding: 20px 15px;
        border-radius: 12px 12px 0 0;
    }

    .section1_image_container:hover {
        transform: none; /* Désactivé sur mobile pour les performances */
    }
}

/* Mobile Extra Small (≤ 320px) */
@media (max-width: 320px) {
    .section1_image_container {
        margin-top: 15px;
        margin: 10px auto;
        padding: 0 5px;
    }

    .section1_shape {
        padding: 15px 10px;
        border-radius: 8px 8px 0 0;
    }
}

.section1_shape h1 {
    font-size: clamp(24px, 4vw, 32px);
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 40px;
    line-height: 1.3;
    background: linear-gradient(135deg, #1a1a1a 0%, #333 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 24px;
    /* padding: 16px 0; */
    /* font-size: 17px; */
    color: #444;
    line-height: 1.6;
    opacity: 0;
    transform: translateX(-20px);
    animation: slideIn 0.6s ease forwards;
}

.feature-item:nth-child(1) {
    animation-delay: 0.1s;
}
.feature-item:nth-child(2) {
    animation-delay: 0.2s;
}
.feature-item:nth-child(3) {
    animation-delay: 0.3s;
}
.feature-item:nth-child(4) {
    animation-delay: 0.4s;
}

.feature-icon {
    content: "✦";
    color: #e63946;
    font-size: 24px;
    margin-right: 16px;
    margin-top: 2px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.feature-item:hover .feature-icon {
    transform: rotate(45deg) scale(1.2);
}
