.trix-page,
.trix-page * {
    box-sizing: border-box;
}

/* page surface is .trix-page */
body {
    margin: 0;
}

.trix-page {
    --trix-red: #DC2626;
    --trix-red-light: #F87171;
    --trix-red-dark: #B91C1C;
    --trix-black: #05070b;
    --trix-black-soft: #090c12;
    --trix-card-dark: #10141c;
    --trix-card-dark-2: #151a24;
    --trix-white: #ffffff;
    --trix-off-white: #f5f6f8;
    --trix-grey: #9da4b1;
    --trix-grey-light: #e5e7eb;
    --trix-border: rgba(255, 255, 255, 0.09);

    width: 100%;
    overflow: hidden;
    background: var(--trix-black);
    color: var(--trix-white);
    font-family: "Inter", sans-serif;
}

.trix-page h1,
.trix-page h2,
.trix-page h3,
.trix-page p {
    margin-top: 0;
}

.trix-page a {
    text-decoration: none;
}

.trix-container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

.trix-display-title {
    font-family: "Space Grotesk", "Inter", sans-serif;
}

.trix-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    padding: 8px 16px;
    width: fit-content;
    max-width: 100%;
    border-radius: 9999px;
    border: 1px solid rgba(217, 58, 58, 0.55);
    background: rgba(127, 29, 29, 0.3);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    color: #d93a3a;
    font-family: "Space Grotesk", "Inter", sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 1.2;
}

.trix-eyebrow::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 9999px;
    background: #d93a3a;
    flex-shrink: 0;
    box-shadow: 0 0 0 3px rgba(217, 58, 58, 0.18);
}

.trix-eyebrow::after {
    content: "";
    display: block;
    width: 42px;
    height: 1.5px;
    flex-shrink: 0;
    border-radius: 9999px;
    background: #d93a3a;
}

/* Sur fond clair : badge plus léger */
.trix-about .trix-eyebrow,
.trix-flow .trix-eyebrow,
.trix-page section[class*="light"] .trix-eyebrow {
    background: rgba(239, 51, 46, 0.08);
    border-color: rgba(217, 58, 58, 0.4);
}

.trix-section-title {
    max-width: 800px;
    margin-bottom: 20px;
    font-family: "Space Grotesk", "Inter", sans-serif;
    font-size: clamp(34px, 4vw, 62px);
    line-height: 1.02;
    letter-spacing: -0.04em;
}

.trix-section-title span {
    color: var(--trix-red);
}

.trix-section-intro {
    max-width: 720px;
    color: var(--trix-grey);
    font-size: 17px;
    line-height: 1.75;
}

.trix-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 13px;
    min-height: 52px;
    padding: 0 23px;
    overflow: hidden;
    border: 1px solid #DC2626;
    border-radius: 8px;
    background: #DC2626;
    color: var(--trix-white);
    font-size: 14px;
    font-weight: 700;
    box-shadow:
        0 12px 35px rgba(220, 38, 38, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
    cursor: pointer;
}

.trix-button::before {
    content: "";
    position: absolute;
    top: -100%;
    left: -40%;
    width: 32%;
    height: 300%;
    background: rgba(255, 255, 255, 0.25);
    transform: rotate(25deg);
    transition: left 0.55s ease;
}

.trix-button:hover {
    transform: translateY(-3px);
    box-shadow:
        0 17px 45px rgba(255, 59, 63, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.trix-button:hover::before {
    left: 125%;
}

.trix-button svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.trix-button:hover svg {
    transform: translateX(4px);
}

.trix-button--outline {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 52px;
    height: 52px;
    padding: 4px 4px 4px 28px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 100px;
    background: transparent;
    color: #fff;
    box-shadow: none;
    backdrop-filter: blur(10px);
}

.trix-button--outline:hover {
    border-color: #DC2626;
    background: rgba(220, 38, 38, 0.08);
}

.trix-button--outline .trix-button-label {
    position: relative;
    z-index: 1;
}

.trix-button--outline .trix-button-icon {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 9999px;
    background: #fff;
    color: #DC2626;
}

.trix-button--outline .trix-button-icon svg {
    width: 18px;
    height: 18px;
    display: block;
    transition: transform 0.3s ease;
}

.trix-button--outline:hover .trix-button-icon svg {
    transform: translateX(4px);
}

.trix-reveal {
    opacity: 0;
    transform: translateY(35px);
    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
}

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

.trix-hero {
    position: relative;
    min-height: 820px;
    display: flex;
    align-items: center;
    padding: 110px 0 80px;
    isolation: isolate;
    background:
        radial-gradient(circle at 72% 45%, rgba(255, 46, 55, 0.16), transparent 28%),
        radial-gradient(circle at 48% 0%, rgba(34, 64, 124, 0.18), transparent 38%),
        linear-gradient(135deg, #05070b 0%, #070a10 55%, #040509 100%);
}

.trix-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -4;
    opacity: 0.12;
    background-image:
        linear-gradient(rgba(255,255,255,0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px);
    background-size: 54px 54px;
    mask-image: linear-gradient(to bottom, black, transparent 92%);
}

.trix-hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -2;
    height: 220px;
    background: linear-gradient(to top, #05070b, transparent);
}

.trix-hero-glow {
    position: absolute;
    top: 120px;
    right: -130px;
    z-index: -3;
    width: 620px;
    height: 620px;
    border-radius: 50%;
    background: rgba(255, 40, 48, 0.11);
    filter: blur(100px);
    pointer-events: none;
}

.trix-hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(400px, 0.95fr);
    align-items: center;
    gap: 70px;
}

.trix-hero-content {
    position: relative;
    z-index: 2;
}

.trix-hero-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
    padding: 8px 13px;
    border: 1px solid rgba(255, 59, 63, 0.35);
    border-radius: 50px;
    background: rgba(255, 59, 63, 0.08);
    color: #ff9295;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.trix-hero-label-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--trix-red);
    box-shadow: 0 0 12px var(--trix-red);
    animation: trixPulse 1.8s infinite;
}

.trix-hero h1 {
    max-width: 730px;
    margin-bottom: 24px;
    font-family: "Space Grotesk", "Inter", sans-serif;
    font-size: 60px;
    line-height: 0.98;
    letter-spacing: -0.052em;
}

.trix-hero h1 span {
    color: var(--trix-red);
    text-shadow: 0 0 30px rgba(255, 59, 63, 0.22);
}

.trix-hero-description {
    max-width: 650px;
    margin-bottom: 32px;
    color: #b5bbc5;
    font-size: 17px;
    line-height: 1.75;
}

.trix-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
    margin-bottom: 48px;
}

.trix-hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    max-width: 660px;
}

.trix-stat {
    position: relative;
    min-height: 105px;
    padding: 19px 18px;
    overflow: hidden;
    border: 1px solid var(--trix-border);
    border-radius: 11px;
    background: linear-gradient(135deg, rgba(255,255,255,0.065), rgba(255,255,255,0.015));
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
    backdrop-filter: blur(12px);
}

.trix-stat::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 55%;
    height: 2px;
    background: linear-gradient(90deg, var(--trix-red), transparent);
}

.trix-stat strong {
    display: block;
    margin-bottom: 4px;
    font-family: "Space Grotesk", "Inter", sans-serif;
    color: var(--trix-white);
    font-size: 30px;
    line-height: 1;
}

.trix-stat span {
    display: block;
    color: #9097a4;
    font-size: 11px;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 0.09em;
}

.trix-core-visual {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
}

.trix-core-ring,
.trix-core-ring::before,
.trix-core-ring::after {
    position: absolute;
    border: 1px solid rgba(255,255,255,0.11);
    border-radius: 50%;
}

.trix-core-ring {
    width: 465px;
    height: 465px;
    animation: trixRotate 24s linear infinite;
}

.trix-core-ring::before {
    content: "";
    inset: 35px;
    border-style: dashed;
    border-color: rgba(255, 59, 63, 0.27);
    animation: trixRotateReverse 15s linear infinite;
}

.trix-core-ring::after {
    content: "";
    inset: 93px;
    border-color: rgba(255,255,255,0.09);
}

.trix-core-center {
    position: relative;
    z-index: 4;
    width: 220px;
    height: 270px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 59, 63, 0.35);
    border-radius: 34px;
    background:
        radial-gradient(circle at 50% 35%, rgba(255, 59, 63, 0.24), transparent 45%),
        linear-gradient(150deg, #131923, #080b11);
    box-shadow:
        0 45px 100px rgba(0, 0, 0, 0.75),
        0 0 80px rgba(255, 59, 63, 0.12),
        inset 0 1px 0 rgba(255,255,255,0.1);
    transform: rotateY(-8deg) rotateX(3deg);
}

.trix-core-center::before {
    content: "";
    position: absolute;
    inset: 10px;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 27px;
}

.trix-core-symbol {
    position: relative;
    width: 100px;
    height: 100px;
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 59, 63, 0.5);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 90, 95, 0.75) 0%, rgba(255, 35, 45, 0.25) 38%, rgba(255, 35, 45, 0.05) 67%, transparent 69%);
    box-shadow:
        0 0 30px rgba(255, 59, 63, 0.45),
        inset 0 0 20px rgba(255,255,255,0.08);
}

.trix-core-symbol::before,
.trix-core-symbol::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.2);
}

.trix-core-symbol::before {
    inset: 13px;
}

.trix-core-symbol::after {
    inset: 27px;
    background: var(--trix-red);
    border: none;
    box-shadow: 0 0 25px var(--trix-red);
}

.trix-core-center strong {
    position: relative;
    z-index: 2;
    font-family: "Space Grotesk", "Inter", sans-serif;
    font-size: 31px;
    letter-spacing: 0.1em;
}

.trix-core-center span {
    position: relative;
    z-index: 2;
    margin-top: 6px;
    color: #8d96a6;
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.trix-orbit-node {
    position: absolute;
    z-index: 5;
    width: 95px;
    min-height: 88px;
    padding: 13px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 15px;
    background: rgba(11, 15, 22, 0.87);
    box-shadow:
        0 20px 45px rgba(0,0,0,0.45),
        inset 0 1px 0 rgba(255,255,255,0.06);
    backdrop-filter: blur(13px);
    text-align: center;
    transition:
        transform 0.3s ease,
        border-color 0.3s ease;
}

.trix-orbit-node:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 59, 63, 0.5);
}

.trix-orbit-node b {
    display: flex;
    width: 33px;
    height: 33px;
    margin-bottom: 7px;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: color-mix(in srgb, var(--node-accent, var(--trix-red)) 14%, transparent);
    color: var(--node-accent, var(--trix-red));
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.trix-orbit-node small {
    color: #c6cad2;
    font-size: 9px;
    font-weight: 700;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.trix-node-1 { top: 30px; left: 50%; transform: translateX(-50%); --node-accent: #13ecf2; } /* VX Vortex */
.trix-node-2 { top: 115px; right: 10px; --node-accent: #f72228; } /* GX Genix */
.trix-node-3 { bottom: 115px; right: 10px; --node-accent: #15b6cf; } /* NX NeuronX */
.trix-node-4 { bottom: 30px; left: 50%; transform: translateX(-50%); --node-accent: #f72228; } /* HT Heart */
.trix-node-5 { bottom: 115px; left: 10px; --node-accent: #13ecf2; } /* AX Auranex */
.trix-node-6 { top: 115px; left: 10px; --node-accent: #2563eb; } /* SX Savix */

.trix-node-1:hover,
.trix-node-4:hover {
    transform: translateX(-50%) translateY(-6px);
}

.trix-about {
    position: relative;
    padding: 120px 0;
    background: var(--trix-off-white);
    color: #11141a;
}

.trix-about::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.5;
    background-image:
        radial-gradient(circle at 20% 20%, rgba(255,59,63,0.08), transparent 25%),
        radial-gradient(circle at 80% 80%, rgba(50,65,100,0.06), transparent 25%);
    pointer-events: none;
}

.trix-about .trix-container {
    position: relative;
    z-index: 2;
}

.trix-about-layout {
    display: grid;
    grid-template-columns: 0.87fr 1.13fr;
    align-items: center;
    gap: 90px;
}

.trix-about-visual {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.trix-about-card {
    position: relative;
    width: min(390px, 100%);
    padding: 30px;
    border: 1px solid #e4e6ea;
    border-radius: 28px;
    background: rgba(255,255,255,0.88);
    box-shadow:
        0 35px 80px rgba(26, 35, 51, 0.14),
        inset 0 1px 0 rgba(255,255,255,0.8);
    backdrop-filter: blur(18px);
}

.trix-about-card::before {
    content: "";
    position: absolute;
    top: -22px;
    right: -22px;
    width: 95px;
    height: 95px;
    border-radius: 50%;
    background: rgba(255,59,63,0.13);
    filter: blur(4px);
}

.trix-about-screen {
    position: relative;
    min-height: 300px;
    padding: 24px;
    overflow: hidden;
    border-radius: 20px;
    background:
        radial-gradient(circle at 50% 50%, rgba(255, 59, 63, 0.22), transparent 34%),
        #080b11;
}

.trix-about-screen::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.2;
    background-image:
        linear-gradient(rgba(255,255,255,0.13) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.13) 1px, transparent 1px);
    background-size: 26px 26px;
}

.trix-mini-header {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 6px;
}

.trix-mini-header span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255,255,255,0.18);
}

.trix-mini-header span:first-child {
    background: var(--trix-red);
}

.trix-mini-core {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 125px;
    height: 125px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,59,63,0.4);
    border-radius: 50%;
    background: rgba(255,59,63,0.08);
    color: white;
    font-family: "Space Grotesk", "Inter", sans-serif;
    font-size: 23px;
    letter-spacing: 0.08em;
    box-shadow:
        0 0 45px rgba(255,59,63,0.25),
        inset 0 0 30px rgba(255,59,63,0.1);
    transform: translate(-50%, -50%);
}

.trix-mini-core::before,
.trix-mini-core::after {
    content: "";
    position: absolute;
    border-radius: 50%;
}

.trix-mini-core::before {
    inset: -30px;
    border: 1px dashed rgba(255,255,255,0.15);
    animation: trixRotate 14s linear infinite;
}

.trix-mini-core::after {
    inset: 25px;
    border: 1px solid rgba(255,255,255,0.15);
}

.trix-about-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 9px;
    margin-top: 18px;
}

.trix-about-metric {
    padding: 13px 8px;
    border: 1px solid #eceef1;
    border-radius: 12px;
    background: white;
    text-align: center;
}

.trix-about-metric strong {
    display: block;
    color: var(--trix-red);
    font-family: "Space Grotesk", "Inter", sans-serif;
    font-size: 21px;
}

.trix-about-metric span {
    display: block;
    margin-top: 3px;
    color: #777f8d;
    font-size: 8px;
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

.trix-about .trix-section-intro {
    color: #666e7b;
}

.trix-about-copy {
    position: relative;
}

.trix-about-copy p {
    color: #606875;
    font-size: 16px;
    line-height: 1.75;
}

.trix-about-points {
    display: grid;
    gap: 12px;
    margin-top: 29px;
}

.trix-about-point {
    display: grid;
    grid-template-columns: 43px 1fr;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border: 1px solid #e8e9ed;
    border-radius: 13px;
    background: rgba(255,255,255,0.77);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.trix-about-point:hover {
    transform: translateX(6px);
    box-shadow: 0 15px 35px rgba(25,35,50,0.08);
}

.trix-about-point-icon {
    width: 43px;
    height: 43px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    background: rgba(255,59,63,0.1);
    color: var(--trix-red);
    font-size: 15px;
    font-weight: 800;
}

.trix-about-point strong {
    display: block;
    margin-bottom: 3px;
    color: #11141a;
    font-size: 14px;
}

.trix-about-point span {
    color: #777e89;
    font-size: 12px;
    line-height: 1.5;
}

.trix-poles {
    position: relative;
    padding: 130px 0;
    background:
        radial-gradient(circle at 50% 0%, rgba(255,59,63,0.08), transparent 27%),
        var(--trix-black);
}

.trix-poles-header {
    display: grid;
    grid-template-columns: 1fr 0.75fr;
    align-items: end;
    gap: 50px;
    margin-bottom: 58px;
}

.trix-poles-header .trix-section-intro {
    justify-self: end;
}

.trix-poles-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 19px;
}

.trix-pole-card {
    --pole-accent: #13ecf2;

    position: relative;
    min-height: 345px;
    padding: 27px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 20px;
    background: linear-gradient(155deg, rgba(255,255,255,0.055), rgba(255,255,255,0.014));
    box-shadow:
        0 25px 55px rgba(0,0,0,0.25),
        inset 0 1px 0 rgba(255,255,255,0.05);
    transition:
        transform 0.4s ease,
        border-color 0.4s ease,
        box-shadow 0.4s ease;
}

a.trix-pole-card--link {
    display: block;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

.trix-pole-card::before {
    content: "";
    position: absolute;
    top: -90px;
    right: -90px;
    width: 210px;
    height: 210px;
    border-radius: 50%;
    background: var(--pole-accent);
    opacity: 0.08;
    filter: blur(15px);
    transition:
        opacity 0.4s ease,
        transform 0.4s ease;
}

.trix-pole-card::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 48%;
    height: 2px;
    background: linear-gradient(90deg, var(--pole-accent), transparent);
}

.trix-pole-card:hover {
    z-index: 3;
    transform: translateY(-10px);
    border-color: color-mix(in srgb, var(--pole-accent) 50%, transparent);
    box-shadow:
        0 35px 85px rgba(0,0,0,0.45),
        0 0 30px color-mix(in srgb, var(--pole-accent) 12%, transparent);
}

.trix-pole-card:hover::before {
    opacity: 0.16;
    transform: scale(1.2);
}

.trix-pole-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 38px;
}

.trix-pole-number {
    color: rgba(255,255,255,0.25);
    font-family: "Space Grotesk", "Inter", sans-serif;
    font-size: 35px;
    line-height: 1;
}

.trix-pole-icon {
    position: relative;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 11px;
    background: color-mix(in srgb, var(--pole-accent) 14%, transparent);
    color: var(--pole-accent);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.04em;
    box-shadow: none;
}

.trix-pole-card:nth-child(9) .trix-pole-icon {
    font-size: 11px;
    letter-spacing: 0;
}

.trix-pole-name {
    margin-bottom: 8px;
    font-family: "Space Grotesk", "Inter", sans-serif;
    font-size: 27px;
    line-height: 1;
}

.trix-pole-role {
    margin-bottom: 17px;
    color: var(--pole-accent);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.45;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.trix-pole-description {
    margin-bottom: 24px;
    color: #9da4b0;
    font-size: 13px;
    line-height: 1.7;
}

.trix-pole-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.trix-pole-tag {
    padding: 7px 9px;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 7px;
    background: rgba(255,255,255,0.035);
    color: #c3c7ce;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.04em;
}

/* Accents alignés sur chaque page pôle */
.trix-pole-card:nth-child(1) { --pole-accent: #13ecf2; } /* VORTEX */
.trix-pole-card:nth-child(2) { --pole-accent: #13ecf2; } /* AURANEX */
.trix-pole-card:nth-child(3) { --pole-accent: #f72228; } /* GENIX */
.trix-pole-card:nth-child(4) { --pole-accent: #15b6cf; } /* GALAXIA */
.trix-pole-card:nth-child(5) { --pole-accent: #ff9b42; } /* PLANOVA */
.trix-pole-card:nth-child(6) { --pole-accent: #f72228; } /* HEART */
.trix-pole-card:nth-child(7) { --pole-accent: #2563eb; } /* SAVIX */
.trix-pole-card:nth-child(8) { --pole-accent: #15b6cf; } /* NEURONX */
.trix-pole-card:nth-child(9) { --pole-accent: #f72228; } /* 109 */

.trix-flow {
    position: relative;
    padding: 125px 0;
    background: #f5f6f8;
    color: #11141a;
}

.trix-flow-header {
    max-width: 800px;
    margin: 0 auto 65px;
    text-align: center;
}

.trix-flow-header .trix-eyebrow {
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
}

.trix-flow-header .trix-section-title {
    margin-left: auto;
    margin-right: auto;
}

.trix-flow-header .trix-section-intro {
    margin: 0 auto;
    color: #6e7581;
}

.trix-flow-line {
    position: absolute;
    top: 62px;
    left: 12.5%;
    right: 12.5%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,59,63,0.45), transparent);
}

.trix-flow-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.trix-flow-step {
    position: relative;
    min-height: 285px;
    padding: 31px 25px;
    border: 1px solid #e3e5e9;
    border-radius: 18px;
    background: rgba(255,255,255,0.9);
    box-shadow: 0 25px 55px rgba(34,42,54,0.07);
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
}

.trix-flow-step:hover {
    transform: translateY(-8px);
    box-shadow: 0 35px 75px rgba(34,42,54,0.12);
}

.trix-flow-step-number {
    position: relative;
    z-index: 3;
    width: 63px;
    height: 63px;
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 7px solid #f5f6f8;
    border-radius: 50%;
    background: #0c1017;
    color: var(--trix-red);
    font-family: "Space Grotesk", "Inter", sans-serif;
    font-size: 20px;
    box-shadow: 0 0 0 1px rgba(255,59,63,0.2);
}

.trix-flow-step h3 {
    margin-bottom: 11px;
    font-family: "Space Grotesk", "Inter", sans-serif;
    font-size: 23px;
}

.trix-flow-step p {
    color: #737a85;
    font-size: 13px;
    line-height: 1.7;
}

.trix-flow-step ul {
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.trix-flow-step li {
    position: relative;
    margin-top: 9px;
    padding-left: 17px;
    color: #555d68;
    font-size: 11px;
    line-height: 1.5;
}

.trix-flow-step li::before {
    content: "";
    position: absolute;
    top: 6px;
    left: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--trix-red);
    box-shadow: 0 0 8px rgba(255,59,63,0.5);
}

.trix-performance {
    position: relative;
    padding: 130px 0;
    background:
        radial-gradient(circle at 85% 45%, rgba(255,59,63,0.1), transparent 28%),
        #07090e;
}

.trix-performance-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    gap: 80px;
}

.trix-performance .trix-section-intro {
    margin-bottom: 30px;
}

.trix-performance-list {
    display: grid;
    gap: 12px;
}

.trix-performance-item {
    display: grid;
    grid-template-columns: 42px 1fr;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    background: rgba(255,255,255,0.025);
}

.trix-performance-item span:first-child {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    background: rgba(255,59,63,0.12);
    color: var(--trix-red);
    font-weight: 800;
}

.trix-performance-item strong {
    display: block;
    margin-bottom: 3px;
    font-size: 13px;
}

.trix-performance-item small {
    color: #8c94a1;
    font-size: 11px;
    line-height: 1.45;
}

.trix-dashboard {
    position: relative;
    padding: 23px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 25px;
    background: linear-gradient(145deg, rgba(255,255,255,0.065), rgba(255,255,255,0.015));
    box-shadow:
        0 45px 100px rgba(0,0,0,0.5),
        inset 0 1px 0 rgba(255,255,255,0.06);
}

.trix-dashboard::before {
    content: "";
    position: absolute;
    right: -45px;
    bottom: -45px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(255,59,63,0.18);
    filter: blur(55px);
}

.trix-dashboard-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
}

.trix-dashboard-top strong {
    font-family: "Space Grotesk", "Inter", sans-serif;
    font-size: 20px;
}

.trix-dashboard-live {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #8cf0bb;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.trix-dashboard-live::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #39dc89;
    box-shadow: 0 0 10px #39dc89;
    animation: trixPulse 1.8s infinite;
}

.trix-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.trix-dashboard-card {
    position: relative;
    min-height: 150px;
    padding: 19px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 15px;
    background: rgba(4,7,12,0.65);
}

.trix-dashboard-card--wide {
    grid-column: 1 / -1;
    min-height: 180px;
}

.trix-dashboard-card small {
    color: #717b89;
    font-size: 9px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.trix-dashboard-card strong {
    display: block;
    margin-top: 11px;
    font-family: "Space Grotesk", "Inter", sans-serif;
    color: white;
    font-size: 31px;
}

.trix-dashboard-card strong span {
    color: var(--trix-red);
}

.trix-dashboard-bar {
    height: 6px;
    margin-top: 20px;
    overflow: hidden;
    border-radius: 20px;
    background: rgba(255,255,255,0.07);
}

.trix-dashboard-bar span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--trix-red), #ff7377);
    box-shadow: 0 0 12px rgba(255,59,63,0.45);
}

.trix-chart {
    position: absolute;
    right: 18px;
    bottom: 19px;
    left: 18px;
    height: 72px;
}

.trix-chart svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.trix-chart polyline {
    fill: none;
    stroke: var(--trix-red);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 0 5px rgba(255,59,63,0.45));
}

.trix-cta {
    position: relative;
    padding: 110px 0;
    background:
        radial-gradient(circle at 50% 100%, rgba(255,59,63,0.18), transparent 45%),
        #05070b;
}

.trix-cta-box {
    position: relative;
    max-width: 1030px;
    margin: 0 auto;
    padding: 75px 45px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 28px;
    background: linear-gradient(145deg, rgba(255,255,255,0.075), rgba(255,255,255,0.018));
    box-shadow:
        0 45px 100px rgba(0,0,0,0.48),
        inset 0 1px 0 rgba(255,255,255,0.06);
    text-align: center;
}

.trix-cta-box::before,
.trix-cta-box::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.trix-cta-box::before {
    top: -120px;
    left: -100px;
    width: 320px;
    height: 320px;
    background: rgba(255,59,63,0.12);
    filter: blur(45px);
}

.trix-cta-box::after {
    right: -90px;
    bottom: -140px;
    width: 360px;
    height: 360px;
    border: 1px solid rgba(255,59,63,0.16);
    box-shadow:
        0 0 0 40px rgba(255,59,63,0.025),
        0 0 0 80px rgba(255,59,63,0.015);
}

.trix-cta-content {
    position: relative;
    z-index: 2;
}

.trix-cta h2 {
    max-width: 770px;
    margin: 0 auto 20px;
    font-family: "Space Grotesk", "Inter", sans-serif;
    font-size: clamp(37px, 5vw, 64px);
    line-height: 1;
    letter-spacing: -0.045em;
}

.trix-cta h2 span {
    color: var(--trix-red);
}

.trix-cta p {
    max-width: 650px;
    margin: 0 auto 30px;
    color: #9ea5b0;
    font-size: 16px;
    line-height: 1.7;
}

@keyframes trixPulse {
    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.45;
        transform: scale(0.78);
    }
}

@keyframes trixRotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes trixRotateReverse {
    from {
        transform: rotate(360deg);
    }

    to {
        transform: rotate(0deg);
    }
}

@media (max-width: 1050px) {
    .trix-hero-layout,
    .trix-about-layout,
    .trix-performance-layout {
        grid-template-columns: 1fr;
    }

    .trix-hero {
        padding-top: 95px;
    }

    .trix-core-visual {
        min-height: 560px;
    }

    .trix-about-layout {
        gap: 45px;
    }

    .trix-about-copy {
        order: 1;
    }

    .trix-about-visual {
        order: 2;
        min-height: auto;
    }

    .trix-poles-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .trix-flow-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .trix-flow-line {
        display: none;
    }

    .trix-dashboard {
        max-width: 760px;
        width: 100%;
        margin: 0 auto;
    }
}

@media (max-width: 760px) {
    .trix-container {
        width: min(100% - 28px, 1180px);
    }

    .trix-hero {
        min-height: auto;
        padding: 96px 0 48px;
    }

    .trix-hero-layout {
        gap: 36px;
    }

    .trix-hero-content {
        width: 100%;
    }

    .trix-hero-label {
        margin-bottom: 16px;
        font-size: 10px;
    }

    .trix-hero h1 {
        font-size: 34px !important;
        line-height: 1.12 !important;
        letter-spacing: -0.03em;
        margin-bottom: 16px;
    }

    .trix-hero-description {
        font-size: 15px;
        line-height: 1.65;
        max-width: 100%;
        margin-bottom: 24px;
    }

    .trix-hero-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        width: 100%;
        margin-bottom: 28px;
    }

    /* Même layout pour les 2 boutons (comme le bouton outline du bas) */
    .trix-hero-actions .trix-button,
    .trix-hero-actions a.pbx-nav-audit-btn.trix-button,
    .trix-hero-actions a.pbx-cta-btn.trix-button {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 12px !important;
        min-height: 52px !important;
        height: 52px !important;
        padding: 4px 4px 4px 22px !important;
        border-radius: 100px !important;
        white-space: nowrap !important;
        overflow: hidden !important;
    }

    .trix-hero-actions .pbx-nav-audit-label,
    .trix-hero-actions .trix-button-label {
        flex: 1 1 auto !important;
        min-width: 0;
        text-align: left !important;
        white-space: nowrap !important;
        overflow: hidden;
        text-overflow: ellipsis;
        font-size: 14px !important;
        line-height: 1.2 !important;
        margin: 0 !important;
    }

    .trix-hero-actions .pbx-nav-audit-icon,
    .trix-hero-actions .trix-button-icon {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        position: relative !important;
        top: auto !important;
        right: auto !important;
        transform: none !important;
        flex-shrink: 0 !important;
        width: 44px !important;
        height: 44px !important;
        margin-left: 0 !important;
        border-radius: 9999px !important;
        background: #fff !important;
        color: #DC2626 !important;
    }

    .trix-hero-actions .pbx-nav-audit-icon svg,
    .trix-hero-actions .trix-button-icon svg {
        display: block !important;
        width: 18px !important;
        height: 18px !important;
    }

    .trix-hero-stats {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .trix-stat {
        min-height: auto;
        padding: 18px 18px 20px;
    }

    .trix-stat strong {
        font-size: 36px;
    }

    .trix-stat span {
        font-size: 11px;
        line-height: 1.45;
    }

    .trix-core-visual {
        min-height: 490px;
        transform: scale(0.84);
        margin: -35px -45px;
    }

    .trix-about,
    .trix-poles,
    .trix-flow,
    .trix-performance,
    .trix-cta {
        padding: 85px 0;
    }

    .trix-about-card {
        padding: 18px;
    }

    .trix-about-metrics {
        grid-template-columns: 1fr;
    }

    .trix-poles-header {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-bottom: 40px;
    }

    .trix-poles-header .trix-section-intro {
        justify-self: start;
    }

    .trix-poles-grid,
    .trix-flow-grid {
        grid-template-columns: 1fr;
    }

    .trix-pole-card {
        min-height: auto;
    }

    .trix-dashboard-grid {
        grid-template-columns: 1fr;
    }

    .trix-dashboard-card--wide {
        grid-column: auto;
    }

    .trix-cta-box {
        padding: 48px 18px;
        border-radius: 20px;
    }

    .trix-cta-content .trix-eyebrow {
        margin-left: auto;
        margin-right: auto;
    }

    .trix-cta-content .pbx-nav-audit-btn,
    .trix-cta-content .trix-button {
        width: 100% !important;
        max-width: 100% !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 12px !important;
        min-height: 52px !important;
        height: 52px !important;
        padding: 4px 4px 4px 20px !important;
        border-radius: 100px !important;
        box-sizing: border-box;
        white-space: nowrap !important;
        overflow: hidden !important;
    }

    .trix-cta-content .pbx-nav-audit-label,
    .trix-cta-content .trix-button-label {
        flex: 1 1 auto !important;
        min-width: 0;
        text-align: left !important;
        white-space: nowrap !important;
        overflow: hidden;
        text-overflow: ellipsis;
        margin: 0 !important;
    }

    .trix-cta-content .pbx-nav-audit-icon,
    .trix-cta-content .trix-button-icon {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        position: relative !important;
        top: auto !important;
        right: auto !important;
        transform: none !important;
        flex-shrink: 0 !important;
        width: 44px !important;
        height: 44px !important;
        margin-left: 0 !important;
        border-radius: 9999px !important;
        background: #fff !important;
        color: #DC2626 !important;
    }

    .trix-cta-content .pbx-nav-audit-icon svg,
    .trix-cta-content .trix-button-icon svg {
        display: block !important;
        width: 18px !important;
        height: 18px !important;
    }
}

@media (max-width: 500px) {
    .trix-core-visual {
        min-height: 430px;
        transform: scale(0.7);
        margin: -65px -90px;
    }

    .trix-section-title {
        font-size: 36px;
    }

    .trix-about-point {
        grid-template-columns: 38px 1fr;
        padding: 12px;
    }

    .trix-about-point-icon {
        width: 38px;
        height: 38px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .trix-page *,
    .trix-page *::before,
    .trix-page *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}