.section-title.center {
    text-align: center;
}
.thm-btn.red.dinamic {
    letter-spacing: 0;
    padding: 10px 9px 10px;
    /* font-size: 12px; */
    width: auto;
}
.topSection {
    padding: 0px 0 90px 0;
    display: flex;
    gap: 22px;
    align-items: center;
    justify-content: center;
    text-align: left;
    margin-bottom: 20px;
}

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

    .topSection {
        padding: 4px 0 128px 0;
        display: flex;
        gap: 22px;
        align-items: center;
        justify-content: center;
        text-align: center;
        margin-left: 10px;
    }
}

/* 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 */
}

/* Expertise overview — modern shared accordion cards */
.expertise-overview.atirao-home {
    min-height: 0;
    /* padding: clamp(76px, 8vw, 124px) 0 clamp(84px, 9vw, 138px); */
    overflow: visible;
    background:
        radial-gradient(circle at 12% 18%, color-mix(in srgb, var(--atirao-teal) 9%, transparent), transparent 28%),
        linear-gradient(180deg, var(--atirao-white) 0%, var(--atirao-surface) 100%);
}

.expertise-overview .section1 {
    width: min(var(--rn-width1), calc(100% - 48px));
    margin: 0 auto;
}

.expertise-overview .section1_header {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.7fr);
    gap: clamp(32px, 6vw, 90px);
    align-items: end;
    margin-bottom: clamp(44px, 6vw, 76px);
    text-align: left;
}

.expertise-overview .section1_title {
    position: relative;
    max-width: 780px;
    margin: 0;
    padding-top: 26px;
    color: var(--atirao-dark);
    font-family: var(--atirao-font-sans);
    line-height: var(--atirao-leading-heading);
    letter-spacing: -0.035em;
}

.expertise-overview .section1_title::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 48px;
    height: 4px;
    background: var(--atirao-red);
    border-radius: 999px;
}

.expertise-overview .section1_description {
    max-width: 470px;
    margin: 0;
    padding-left: 24px;
    color: var(--atirao-muted);
    text-align: left;
    border-left: 1px solid var(--atirao-border);
}

.expertise-overview .section1_grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 0;
    counter-reset: expertise-card;
}

.expertise-overview .section1_card {
    position: relative;
    min-height: 188px;
    padding: clamp(26px, 3vw, 38px);
    overflow: hidden;
    background: color-mix(in srgb, var(--atirao-white) 92%, transparent);
    border: 1px solid var(--atirao-border);
    border-radius: var(--atirao-radius-xl);
    box-shadow: var(--atirao-shadow-sm);
    counter-increment: expertise-card;
    transition:
        background-color 260ms ease,
        border-color 260ms ease,
        box-shadow 260ms ease,
        transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

.expertise-overview .section1_card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: var(--atirao-red);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 300ms cubic-bezier(0.22, 1, 0.36, 1);
}

.expertise-overview .section1_card::after {
    content: counter(expertise-card, decimal-leading-zero);
    position: absolute;
    right: 24px;
    bottom: -15px;
    color: color-mix(in srgb, var(--atirao-teal-dark) 8%, transparent);
    font-family: var(--atirao-font-sans);
    font-size: clamp(4.6rem, 7vw, 7rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.08em;
    pointer-events: none;
    transition: color 260ms ease, transform 260ms ease;
}

.expertise-overview .section1_card:hover,
.expertise-overview .section1_card:focus-within,
.expertise-overview .section1_card.open {
    background: var(--atirao-white);
    border-color: color-mix(in srgb, var(--atirao-teal-dark) 45%, var(--atirao-border));
    box-shadow: var(--atirao-shadow-md);
    transform: translateY(-4px);
}

.expertise-overview .section1_card:hover::before,
.expertise-overview .section1_card:focus-within::before,
.expertise-overview .section1_card.open::before {
    transform: scaleY(1);
}

.expertise-overview .section1_card:hover::after,
.expertise-overview .section1_card.open::after {
    color: color-mix(in srgb, var(--atirao-teal-dark) 13%, transparent);
    transform: translateY(-4px);
}

.expertise-overview .section1_card_header {
    display: flex;
    width: 100%;
    padding: 0;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    color: inherit;
    text-align: left;
    background: transparent;
    border: 0;
    cursor: pointer;
}

.expertise-overview .section1_card_title {
    position: relative;
    z-index: 1;
    flex: 1;
    margin: 0;
    color: var(--atirao-dark);
    font-family: var(--atirao-font-sans);
    transition: color 220ms ease;
}

.expertise-overview .section1_card:hover .section1_card_title,
.expertise-overview .section1_card.open .section1_card_title {
    color: var(--atirao-red-dark);
}

.expertise-overview .section1_card_content {
    position: relative;
    z-index: 1;
    display: -webkit-box;
    max-width: 88%;
    max-height: 3.4em;
    margin-top: 20px;
    overflow: hidden;
    color: var(--atirao-muted);
    font-size: var(--atirao-text-base);
    line-height: var(--atirao-leading-body);
    text-overflow: ellipsis;
    opacity: 0.78;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    transition: max-height 360ms ease, opacity 240ms ease;
}

.expertise-overview .section1_card.open .section1_card_content {
    max-height: 500px;
    opacity: 1;
    -webkit-line-clamp: unset;
}

.expertise-overview .section1_card .svgicon {
    position: relative;
    z-index: 2;
    display: grid;
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    place-items: center;
    color: var(--atirao-red);
    background: color-mix(in srgb, var(--atirao-red) 8%, var(--atirao-white));
    border: 1px solid color-mix(in srgb, var(--atirao-red) 18%, var(--atirao-border));
    border-radius: 50%;
    transition:
        color 240ms ease,
        background-color 240ms ease,
        border-color 240ms ease,
        transform 300ms cubic-bezier(0.22, 1, 0.36, 1);
}

.expertise-overview .section1_card .svgicon svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
    cursor: inherit;
    transition: transform 300ms cubic-bezier(0.22, 1, 0.36, 1);
}

.expertise-overview .section1_card .svgicon svg path {
    fill: currentColor;
}

.expertise-overview .section1_card:hover .svgicon,
.expertise-overview .section1_card:focus-within .svgicon {
    border-color: color-mix(in srgb, var(--atirao-red) 35%, var(--atirao-border));
    transform: scale(1.04);
}

.expertise-overview .section1_card.open .svgicon {
    color: var(--atirao-white);
    background: var(--atirao-red);
    border-color: var(--atirao-red);
}

.expertise-overview .section1_card.open .svgicon svg {
    transform: rotate(180deg);
}

@media (max-width: 900px) {
    .expertise-overview .section1_header {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .expertise-overview .section1_description {
        max-width: 720px;
    }
}

@media (max-width: 768px) {
    .expertise-overview.atirao-home {
        padding: 4px 0 8px;
    }

    .expertise-overview .section1 {
        width: min(100% - 28px, 680px);
    }

    .expertise-overview .section1_grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .expertise-overview .section1_description {
        padding-left: 18px;
    }

    .expertise-overview .section1_card {
        min-height: 0;
        padding: 24px;
        border-radius: var(--atirao-radius-lg);
    }

    .expertise-overview .section1_card:hover,
    .expertise-overview .section1_card:focus-within,
    .expertise-overview .section1_card.open {
        transform: none;
    }

    .expertise-overview .section1_card .svgicon {
        width: 42px;
        height: 42px;
        flex-basis: 42px;
    }

    .expertise-overview .section1_card_content {
        max-width: 92%;
        margin-top: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .expertise-overview .section1_card,
    .expertise-overview .section1_card::before,
    .expertise-overview .section1_card::after,
    .expertise-overview .section1_card_content,
    .expertise-overview .section1_card .svgicon,
    .expertise-overview .section1_card .svgicon svg {
        transition: none;
    }
}

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

@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%,
    100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.7;
    }
}

@media (max-width: 768px) {
    .container {
        margin: 20px;
        border-radius: 20px;
    }

    .section1_shape {
        padding: 40px 30px;
        width: 100%;
    }

    .red-accent-section {
        position: static;
        transform: none;
        /* width: 100%; */
        /* height: 120px; */
        margin-top: 30px;
        right: auto;
        border-radius: 16px;
    }

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

@media (max-width: 480px) {
    .section1_shape {
        padding: 30px 20px;
    }

    .section1_shape h1 {
        margin-bottom: 30px;
    }

    .feature-item {
        margin-bottom: 16px;
    }
}
/* end section 1 is done */

/*


        /* end section3 */
.references-section {
    margin-top: 0px !important;
}

.red-accent-section {
    justify-content: center;
}

/* Inspiration layout: light overlapping "Pourquoi Atirao ?" panel */
.section1_image_container {
    box-sizing: border-box;
    position: relative;
    display: flex;
    align-items: center;
    width: var(--rn-width1);
    min-height: 430px;
    margin: 80px auto 30px;
    padding: 0;
    overflow: visible;
    background: #fff;
    border-radius: 0;
    transform: none;
}

.section1_image_container:hover {
    transform: none;
}

.section1_shape {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 72%;
    min-height: 430px;
    padding: 64px 36% 60px 5%;
    background: #f5f5f5;
    border-radius: 24px;
}

.section1_shape h3 {
    margin: 0 0 18px;
    color: #1a1a1a;
}

.features-list {
    width: 100%;
}

.feature-item {
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.feature-item:last-child {
    margin-bottom: 0;
}

.feature-item .svgicon {
    display: flex;
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
}

.feature-item .svgicon svg {
    display: block;
    width: 100%;
    height: 100%;
}

.red-accent-section {
    box-sizing: border-box;
    position: absolute;
    top: 50%;
    right: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45%;
    height: auto;
    min-height: 320px;
    margin: 0;
    padding: 26px;
    overflow: hidden;
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    opacity: 1;
    transform: translateY(-50%);
}

.red-accent-section::before {
    display: none;
}

.red-accent-section img {
    display: block;
    width: 100%;
    height: auto;
}

.technology-orbit {
    position: relative;
    width: min(100%, 520px);
    aspect-ratio: 1.55;
    isolation: isolate;
}

.technology-orbit::before,
.technology-orbit::after {
    content: "";
    position: absolute;
    inset: 12% 15%;
    z-index: -1;
    border: 1px solid rgba(105, 193, 189, 0.24);
    border-radius: 50%;
    transform: rotate(-8deg);
}

.technology-orbit::after {
    inset: 24% 27%;
    border-color: rgba(229, 55, 64, 0.18);
    transform: rotate(16deg);
}

.technology-orbit__core {
    position: absolute;
    top: 50%;
    left: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 96px;
    height: 96px;
    border: 1px solid rgba(229, 55, 64, 0.16);
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 16px 40px rgba(20, 24, 32, 0.12);
    transform: translate(-50%, -50%);
    animation: technologyCorePulse 4s ease-in-out infinite;
}

.technology-orbit__core svg {
    width: 52px;
    height: 52px;
    fill: none;
    stroke: var(--red);
    stroke-width: 4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.technology-orbit__core span {
    position: absolute;
    bottom: 9px;
    font-family: "PoppinsBold";
    font-size: 8px;
    letter-spacing: 1.6px;
    color: #222224;
}

.technology-orbit__item {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 62px;
    padding: 10px 12px;
    border: 1px solid rgba(34, 34, 36, 0.07);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 10px 24px rgba(20, 24, 32, 0.09);
    animation: technologyFloat 4.5s ease-in-out infinite;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.technology-orbit__item:hover {
    z-index: 3;
    transform: translateY(-5px) scale(1.06);
    box-shadow: 0 16px 32px rgba(20, 24, 32, 0.14);
}

.red-accent-section .technology-orbit__item img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.technology-orbit__item span {
    display: none;
    font-family: "PoppinsMedium";
    font-size: 10px;
    white-space: nowrap;
    color: #222224;
}

.technology-orbit__item--1 {
    top: 5%;
    left: 10%;
}

.technology-orbit__item--2 {
    top: 2%;
    right: 16%;
    animation-delay: -1.7s;
}

.technology-orbit__item--3 {
    top: 37%;
    right: 1%;
    animation-delay: -3.1s;
}

.technology-orbit__item--4 {
    right: 13%;
    bottom: 3%;
    animation-delay: -0.8s;
}

.technology-orbit__item--5 {
    bottom: 0;
    left: 18%;
    animation-delay: -2.4s;
}

.technology-orbit__item--6 {
    top: 39%;
    left: 0;
    animation-delay: -1.2s;
}

.technology-orbit__item--7 {
    top: 13%;
    left: 43%;
    animation-delay: -3.7s;
}

.technology-orbit__item--8 {
    bottom: 14%;
    left: 46%;
    animation-delay: -2s;
}

@keyframes technologyFloat {
    0%,
    100% {
        transform: translateY(0) rotate(-1deg);
    }
    50% {
        transform: translateY(-9px) rotate(1deg);
    }
}

@keyframes technologyCorePulse {
    0%,
    100% {
        box-shadow: 0 16px 40px rgba(20, 24, 32, 0.12);
    }
    50% {
        box-shadow: 0 18px 46px rgba(229, 55, 64, 0.18);
    }
}

@media (max-width: 1023px) {
    .section1_image_container {
        flex-direction: column;
        width: 100%;
        min-height: 0;
        margin: 50px auto 20px;
        text-align: left;
    }

    .section1_shape {
        width: 100%;
        min-height: 0;
        padding: 45px 36px 64px;
        border-radius: 20px;
    }

    .red-accent-section {
        position: relative;
        top: auto;
        right: auto;
        width: min(88%, 560px);
        min-height: 260px;
        margin: -28px auto 0;
        padding: 22px;
        border-radius: 20px;
        transform: none;
    }

    .technology-orbit {
        width: min(100%, 500px);
    }
}

@media (max-width: 480px) {
    .section1_image_container {
        width: 100%;
        margin: 35px auto 10px;
        padding: 0;
    }

    .section1_shape {
        width: 100%;
        padding: 32px 22px 52px;
        border-radius: 16px;
    }

    .red-accent-section {
        width: calc(100% - 40px);
        min-height: 210px;
        margin-top: -24px;
        padding: 14px;
        border-radius: 16px;
    }

    .technology-orbit {
        aspect-ratio: 1.15;
    }

    .technology-orbit__core {
        width: 78px;
        height: 78px;
        border-radius: 22px;
    }

    .technology-orbit__core svg {
        width: 42px;
        height: 42px;
    }

    .technology-orbit__item {
        min-width: 48px;
        padding: 8px;
        border-radius: 12px;
    }

    .technology-orbit__item--3 {
        right: 22%;
    }

    .red-accent-section .technology-orbit__item img {
        width: 24px;
        height: 24px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .technology-orbit__core,
    .technology-orbit__item {
        animation: none;
    }
}

/* Pourquoi choisir Atirao — editorial dark split */
.why-atirao {
    box-sizing: border-box;
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(500px, 1.05fr);
    left: 50%;
    width: 100vw;
    min-height: 660px;
    margin: 90px 0 35px;
    overflow: hidden;
    color: var(--atirao-white);
    background: #000;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 0;
    box-shadow: 0 30px 80px rgba(20, 20, 24, 0.14);
    transform: translateX(-50%);
}

.why-atirao::before {
    content: "";
    position: absolute;
    top: 9%;
    bottom: 9%;
    left: 50%;
    width: 1px;
    background: linear-gradient(transparent, color-mix(in srgb, var(--atirao-white) 9%, transparent) 14%, color-mix(in srgb, var(--atirao-white) 9%, transparent) 86%, transparent);
}

.why-atirao__content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(54px, 5vw, 82px) clamp(34px, 4.2vw, 72px);
    margin-left: 55px;
}

.why-atirao__eyebrow {
    margin: 0 0 24px;
    color: var(--atirao-red);
    font-family: var(--atirao-font-sans);
    font-size: var(--atirao-text-xs);
    letter-spacing: 0.34em;
    text-transform: uppercase;
}

.why-atirao__title {
    max-width: 680px;
    margin: 0;
    color: var(--atirao-white);
     font-family: var(--atirao-section-title-font) !important;
    font-size: var(--atirao-section-title-size) !important;
    font-style: normal !important;
    font-weight: var(--atirao-section-title-weight) !important;
    line-height: var(--atirao-section-title-leading) !important;
    letter-spacing: var(--atirao-section-title-letter-spacing) !important;
}

.why-atirao__title::after {
    content: "";
    display: inline-block;
    width: 0.18em;
    height: 0.18em;
    display: none;
    margin-left: 0.08em;
    border-radius: 50%;
    background: var(--atirao-red);
}

.why-atirao__lead {
    max-width: 600px;
    margin: 20px 0 36px;
    color: color-mix(in srgb, var(--atirao-white) 52%, transparent);
    font-size: var(--discrSize);
    line-height: var(--atirao-leading-body);
}

.why-atirao__features {
    display: grid;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: why-feature;
}

.why-atirao__feature {
    display: grid;
    grid-template-columns: 50px 1fr;
    gap: 18px;
    align-items: start;
    padding: 18px 0;
    border-top: 1px solid color-mix(in srgb, var(--atirao-white) 10%, transparent);
    opacity: 0;
    transform: translateY(18px);
    transition:
        opacity 0.55s ease calc(var(--feature-index) * 90ms),
        transform 0.55s ease calc(var(--feature-index) * 90ms),
        border-color 0.25s ease;
}

.why-atirao__feature:last-child {
    border-bottom: 1px solid color-mix(in srgb, var(--atirao-white) 10%, transparent);
}

.why-atirao.is-visible .why-atirao__feature {
    opacity: 1;
    transform: translateY(0);
}

.why-atirao__feature:hover {
    border-color: color-mix(in srgb, var(--atirao-red) 40%, transparent);
}

.why-atirao__feature-number {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    color: var(--atirao-teal-dark);
    font-family: var(--atirao-font-sans);
    font-size: var(--atirao-text-xs);
    letter-spacing: 0.08em;
    background: color-mix(in srgb, var(--atirao-teal) 10%, transparent);
    border: 1px solid color-mix(in srgb, var(--atirao-teal) 35%, transparent);
    border-radius: 14px;
    transition: color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.why-atirao__feature:hover .why-atirao__feature-number {
    color: var(--atirao-white);
    background: var(--atirao-red);
    transform: rotate(-4deg) scale(1.04);
}

.why-atirao__feature-copy {
    display: grid;
    gap: 5px;
}

.why-atirao__feature-copy strong {
    color: var(--atirao-white);
    font-family: var(--atirao-font-sans);
    font-size: var(--atirao-text-card-title);
    line-height: var(--atirao-leading-heading);
}

.why-atirao__feature-copy > span {
    color: color-mix(in srgb, var(--atirao-white) 52%, transparent);
    font-size: var(--atirao-text-sm);
    line-height: var(--atirao-leading-body);
}

.why-atirao__visual {
    position: relative;
    display: grid;
    min-width: 0;
    place-items: center;
    padding: 52px 30px;
    overflow: hidden;
    margin-right: 25px;
}

.why-atirao__visual-glow {
    position: absolute;
    width: 46%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: color-mix(in srgb, var(--atirao-red) 11%, transparent);
    filter: blur(90px);
    animation: whyGlow 6s ease-in-out infinite;
}

.why-atirao__tool-count {
    position: absolute;
    top: 8%;
    right: 8%;
    z-index: 5;
    padding: 8px 16px;
    color: var(--atirao-red);
    font-family: var(--atirao-font-sans);
    font-size: var(--atirao-text-xs);
    letter-spacing: 0.06em;
    background: color-mix(in srgb, var(--atirao-red) 7%, transparent);
    border: 1px solid color-mix(in srgb, var(--atirao-red) 38%, transparent);
    border-radius: 999px;
}

.why-atirao .technology-orbit {
    position: relative;
    width: min(100%, 550px);
    aspect-ratio: 1.08;
    isolation: isolate;
    border: solid 1px var(--atirao-red-dark) 7%;
    border-radius: 22px;
}

.why-atirao .technology-orbit::before,
.why-atirao .technology-orbit::after {
    display: none;
}

.technology-orbit__ring {
    position: absolute;
    top: 50%;
    left: 50%;
    border: 1px solid color-mix(in srgb, var(--atirao-white) 6%, transparent);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.technology-orbit__ring--outer {
    width: 78%;
    aspect-ratio: 1;
    animation: whyRingSpin 28s linear infinite;
}

.technology-orbit__ring--middle {
    width: 58%;
    aspect-ratio: 1;
    border-color: color-mix(in srgb, var(--atirao-white) 7%, transparent);
    animation: whyRingSpinReverse 22s linear infinite;
}

.technology-orbit__ring--inner {
    width: 38%;
    aspect-ratio: 1;
    border-color: color-mix(in srgb, var(--atirao-red) 18%, transparent);
}

.why-atirao .technology-orbit__core {
    flex-direction: column;
    gap: 4px;
    width: 100px;
    height: 100px;
    padding: 12px;
    background: #000;
    border: 1px solid color-mix(in srgb, var(--atirao-red) 55%, transparent);
    border-radius: 50%;
    box-shadow: 0 0 0 10px color-mix(in srgb, var(--atirao-red) 3%, transparent), 0 22px 60px rgba(0, 0, 0, 0.38);
    animation: technologyCorePulseDark 4s ease-in-out infinite;
}

.why-atirao .technology-orbit__core svg {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    stroke: var(--atirao-red);
    stroke-width: 3;
}

.why-atirao .technology-orbit__core span {
    position: static;
    display: block;
    color: var(--atirao-red);
    font-family: var(--atirao-font-sans);
    font-size: var(--atirao-text-xs);
    letter-spacing: 0.24em;
    transform: translateX(0.12em);
}

.why-atirao .technology-orbit__item {
    inset: auto;
    z-index: 2;
    box-sizing: border-box;
    justify-content: flex-start;
    width: 142px;
    min-width: 142px;
    max-width: 142px;
    height: 54px;
    min-height: 54px;
    max-height: 54px;
    padding: 9px 13px;
    overflow: hidden;
    color: color-mix(in srgb, var(--atirao-white) 72%, transparent);
    background: #000;
    border: 1px solid color-mix(in srgb, var(--atirao-white) 22%, transparent);
    border-radius: 999px;
    box-shadow: 0 14px 38px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(12px);
}

.why-atirao .technology-orbit__item:hover {
    border-color: color-mix(in srgb, var(--atirao-teal) 55%, transparent);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.34);
}

.why-atirao .technology-orbit__item img {
    box-sizing: border-box;
    width: 34px;
    min-width: 34px;
    max-width: 34px;
    height: 34px;
    min-height: 34px;
    max-height: 34px;
    flex: 0 0 34px;
    padding: 4px;
    background: var(--atirao-white);
    border-radius: 7px;
    object-fit: contain;
}

.why-atirao .technology-orbit__item span {
    display: block;
    min-width: 0;
    overflow: hidden;
    color: color-mix(in srgb, var(--atirao-white) 74%, transparent);
    font-family: var(--atirao-font-sans);
    font-size: var(--atirao-text-xs);
    white-space: nowrap;
    text-overflow: ellipsis;
}

body.expertise-page {
    overflow-x: clip;
}

body.expertise-page section.why-atirao.atirao-home {
    background: #000 !important;
    background-color: #000 !important;
}

body.expertise-page .atirao-shared-references {
    margin-bottom: 0;
}

body.expertise-page .atirao-shared-references .atirao-reference-logos {
    padding-bottom: 0;
}

body.expertise-page .atirao-shared-references .atirao-reference-logos__stage {
    padding-bottom: clamp(22px, 3vw, 34px);
}

body.expertise-page footer {
    margin-top: 0;
}

body.expertise-page main {
    margin-bottom: clamp(56px, 6vw, 88px);
}

.why-atirao .technology-orbit__item--1 {
    top: 14%;
    left: 11%;
}

.why-atirao .technology-orbit__item--2 {
    top: 6%;
    right: 35%;
}

.why-atirao .technology-orbit__item--3 {
    top: 15%;
    right: 8%;
}

.why-atirao .technology-orbit__item--4 {
    top: 43%;
    right: 1%;
}

.why-atirao .technology-orbit__item--5 {
    right: 9%;
    bottom: 13%;
}

.why-atirao .technology-orbit__item--6 {
    bottom: 5%;
    left: 38%;
}

.why-atirao .technology-orbit__item--7 {
    bottom: 13%;
    left: 9%;
}

.why-atirao .technology-orbit__item--8 {
    top: 43%;
    left: 1%;
}

@keyframes whyGlow {
    0%,
    100% {
        opacity: 0.55;
        transform: scale(0.92);
    }
    50% {
        opacity: 0.85;
        transform: scale(1.08);
    }
}

@keyframes whyRingSpin {
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes whyRingSpinReverse {
    to {
        transform: translate(-50%, -50%) rotate(-360deg);
    }
}

@keyframes technologyCorePulseDark {
    0%,
    100% {
        box-shadow: 0 0 0 10px color-mix(in srgb, var(--atirao-red) 3%, transparent), 0 22px 60px rgba(0, 0, 0, 0.38);
    }
    50% {
        box-shadow: 0 0 0 18px color-mix(in srgb, var(--atirao-red) 4%, transparent), 0 24px 70px color-mix(in srgb, var(--atirao-red) 14%, transparent);
    }
}

@media (max-width: 1180px) {
    .why-atirao {
        grid-template-columns: 1fr;
    }

    .why-atirao::before {
        top: auto;
        right: 8%;
        bottom: 48%;
        left: 8%;
        width: auto;
        height: 1px;
    }

    .why-atirao__content {
        padding-bottom: 52px;
    }

    .why-atirao__visual {
        min-height: 570px;
    }
}

@media (max-width: 700px) {
    .why-atirao {
        width: 100vw;
        min-height: 0;
        margin-top: 55px;
        border-radius: 0;
    }

    .why-atirao__content {
        padding: 42px 24px 38px;
        margin-left: 0;
    }

    .why-atirao__eyebrow {
        margin-bottom: 18px;
    }

    .why-atirao__lead {
        margin-bottom: 26px;
    }

    .why-atirao__feature {
        grid-template-columns: 42px 1fr;
        gap: 13px;
        padding: 16px 0;
    }

    .why-atirao__feature-number {
        width: 40px;
        height: 40px;
        border-radius: 12px;
    }

    .why-atirao__visual {
        min-height: 420px;
        padding: 48px 12px 24px;
        margin-right: 0;
    }

    .why-atirao__tool-count {
        top: 22px;
        right: 22px;
    }

    .why-atirao .technology-orbit {
        width: 100%;
        aspect-ratio: 1.05;
    }

    body.expertise-page .atirao-shared-references .atirao-reference-logos {
        padding-top: 54px;
        padding-bottom: 0;
    }

    body.expertise-page .atirao-shared-references .atirao-reference-logos__stage {
        padding-bottom: 20px;
    }

    .why-atirao .technology-orbit__item {
        width: 46px;
        min-width: 46px;
        max-width: 46px;
        height: 46px;
        min-height: 46px;
        max-height: 46px;
        justify-content: center;
        padding: 6px;
    }

    .why-atirao .technology-orbit__item span {
        display: none;
    }

    .why-atirao .technology-orbit__item img {
        width: 32px;
        min-width: 32px;
        max-width: 32px;
        height: 32px;
        min-height: 32px;
        max-height: 32px;
        flex-basis: 32px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .why-atirao__visual-glow,
    .technology-orbit__ring,
    .why-atirao .technology-orbit__core,
    .why-atirao .technology-orbit__item {
        animation: none;
    }

    .why-atirao__feature {
        opacity: 1;
        transform: none;
        transition: none;
    }
}
