html {
    font-size: 10px;
}

/*======================================================================
   Tokens & Base Configuration
======================================================================*/
:root {
    --c-heading: #4b4b4b;
    --c-body: #777777;
    --c-muted: #9a9a9a;
    --c-spanball: #c0c0c0;
    --shadow-card: 0 15px 35px rgba(0, 0, 0, 0.12);
    --radius: 22px;
    --maxw: 1100px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #ffffff;
    color: var(--c-body);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    overflow-wrap: break-word;
}

strong {
    font-weight: 700;
}

/*======================================================================
   Reveal (slide-up)
======================================================================*/
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s cubic-bezier(0.215, 0.610, 0.355, 1.000),
        transform 1s cubic-bezier(0.215, 0.610, 0.355, 1.000);
    will-change: transform, opacity;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/*======================================================================
   Section Hero
======================================================================*/
.r-hero {
    height: 100vh;
    min-height: 560px;
    display: flex;
    align-items: flex-end;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #2a2624;
}

.r-hero .hero-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.r-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.10) 0%, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, 0.45) 100%);
    z-index: 1;
}

.r-hero--center,
.hero-interconnect {
    align-items: center;
}

.hero-interconnect .hero-inner {
    padding-bottom: 0;
}

.hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 6% 20rem;
}

.r-hero--center .hero-inner {
    padding-bottom: 0;
}

.hero-title {
    color: #ffffff;
    font-size: clamp(5.4rem, 7vw, 8.5rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.02em;
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
}

.hero-sub {
    color: #ffffff;
    font-size: clamp(2.4rem, 3vw, 3.4rem);
    font-weight: 700;
    line-height: 1.25;
    margin-top: 1.5rem;
    text-shadow: 0 3px 14px rgba(0, 0, 0, 0.3);
}

.hero-mini {
    color: #ffffff;
    font-size: clamp(1.8rem, 2.1vw, 2.2rem);
    font-weight: 500;
    margin-top: 2rem;
    opacity: 0.95;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.hero-mini em {
    font-style: italic;
}

.hero-evolution {
    overflow: hidden;
}

.hero-evolution .hero-media {
    inset: auto;
    top: 50%;
    left: 50%;
    width: 100vh;
    height: 100vw;
    transform: translate(-50%, -50%) rotate(90deg);
    object-fit: cover;
}

/*======================================================================
   Generic content section helpers
======================================================================*/
.section {
    padding: 11rem 6%;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
}

.container {
    width: 100%;
    max-width: var(--maxw);
    margin: 0 auto;
}

.section-title {
    color: var(--c-heading);
    font-size: clamp(4.2rem, 5.5vw, 5.8rem);
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

/*======================================================================
   Section: Intro travel
======================================================================*/
.intro-travel {
    padding-top: 14rem;
    padding-bottom: 14rem;
}

.intro-travel .container {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 6rem;
    align-items: start;
}

.intro-lead {
    font-size: clamp(5.2rem, 7vw, 7.6rem);
    font-weight: 400;
    line-height: 1.12;
    color: var(--c-heading);
    letter-spacing: -0.01em;
}

.intro-lead .soft {
    color: var(--c-muted);
}

.travel-list {
    display: flex;
    flex-direction: column;
    gap: 4.5rem;
    padding-top: 1rem;
}

.travel-item h3 {
    color: var(--c-heading);
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.dots {
    display: inline-flex;
    gap: 0.5rem;
}

.dots span {
    width: 0.9rem;
    height: 0.9rem;
    border: 1.5px solid var(--c-spanball);
    border-radius: 50%;
    display: inline-block;
}

.travel-item p {
    font-size: 1.9rem;
    line-height: 1.65;
    color: var(--c-body);
}

/*======================================================================
   Section: Flux diagram
======================================================================*/
.flux-section .container {
    max-width: 1000px;
}

.flux-overline {
    margin-bottom: 5rem;
}

.flux-overline .kicker {
    color: var(--c-heading);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.flux-overline .sub {
    color: var(--c-muted);
    font-size: 2rem;
    margin-bottom: 2.5rem;
}

.flux-overline .q {
    color: var(--c-body);
    font-size: 2rem;
}

/*======================================================================
   Section: Rupture (white card)
======================================================================*/
.rupture-section .container {
    max-width: 1000px;
}

.rupture-section .section-title {
    margin-bottom: 4rem;
    color: var(--c-body);
}

.rupture-section .section-title .accent {
    color: var(--c-heading);
}

.rupture-card {
    background-color: #ffffff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    padding: 5rem 5.5rem;
}

.rupture-card p {
    font-size: 1.9rem;
    line-height: 1.7;
    color: var(--c-body);
}

.rupture-card .note {
    font-size: 1.3rem;
    color: var(--c-muted);
    margin-top: 2.5rem;
}

/*======================================================================
   Section: Production intro
======================================================================*/
.production-section .container {
    max-width: 980px;
}

.production-lead {
    font-size: clamp(3.4rem, 4.6vw, 5rem);
    font-weight: 400;
    line-height: 1.3;
    color: var(--c-heading);
    margin-bottom: 4rem;
}

.production-strong {
    font-size: clamp(3.4rem, 4.4vw, 4.8rem);
    font-weight: 700;
    color: var(--c-heading);
    margin-bottom: 4rem;
}

.production-body p {
    font-size: 2rem;
    line-height: 1.7;
    color: var(--c-body);
    margin-bottom: 2.5rem;
    max-width: 660px;
}

/*======================================================================
   Section: Quote (centered)
======================================================================*/
.quote-section {
    padding: 12rem 6%;
    text-align: center;
    display: flex;
    justify-content: center;
}

.quote-text {
    max-width: 890px;
    font-size: clamp(3rem, 4.2vw, 4.4rem);
    line-height: 1.75;
    font-weight: 400;
    color: var(--c-spanball);
    letter-spacing: -0.01em;
    text-align: end;
}

.quote-text strong {
    color: var(--c-spanball);
    font-weight: 700;
}

/*======================================================================
   Section: Products (2 columns)
======================================================================*/
.products-section .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: start;
}

.products-title {
    font-size: clamp(5rem, 6.5vw, 7rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--c-heading);
    letter-spacing: -0.02em;
    align-self: center;
    text-align: center;
}

.products-col .sub-block + .sub-block {
    margin-top: 4rem;
}

.products-col h3 {
    font-size: 2.8rem;
    font-weight: 400;
    color: var(--c-heading);
    margin-bottom: 1.5rem;
}

.products-col p {
    font-size: 2rem;
    line-height: 1.6;
    color: var(--c-body);
}

/*======================================================================
   Section: Interoperability (2 columns + image card)
======================================================================*/
.interop-section {
    padding-right: 0;
    overflow: hidden;
    padding-left: 12% !important;
}

.interop-section .container {
    max-width: none;
    display: grid;
    grid-template-columns: 0.5fr 1.0fr;
    gap: 5rem;
    align-items: start;
}

.interop-text {
    font-size: 1.9rem;
    line-height: 1.7;
    color: var(--c-body);
}

.interop-card {
    position: relative;
    overflow: hidden;
    min-height: 50rem;
    display: flex;
    align-items: flex-end;
    background-color: #5c5c5c;
}

.interop-card .hero-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.interop-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.5) 100%);
    z-index: 1;
}

.interop-card h3 {
    position: relative;
    z-index: 2;
    color: #ffffff;
    font-size: clamp(3.4rem, 4vw, 4.6rem);
    font-weight: 700;
    line-height: 1.1;
    padding: 4rem;
    text-shadow: 0 3px 14px rgba(0, 0, 0, 0.4);
}

/*======================================================================
   Section: Solution cards / Mutualisation cards (white stacked)
======================================================================*/
.cards-stack {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.solution-section .section-title,
.mutual-section .mutual-head {
    margin-bottom: 5rem;
}

.info-card {
    background-color: #ffffff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    padding: 5rem 5.5rem;
}

.info-card h3 {
    color: var(--c-heading);
    font-size: 2.1rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.info-card p {
    color: var(--c-body);
    font-size: 1.8rem;
    line-height: 1.65;
}

.info-card p + p {
    margin-top: 1.5rem;
}

/*======================================================================
   Section: Data ruptures
======================================================================*/
.data-section .container {
    max-width: 980px;
}

.data-section .section-title {
    margin-bottom: 4rem;
}

/*======================================================================
   Section: Platforms (gray bg)
======================================================================*/
.platforms-section {
    background-color: var(--c-spanball);
    padding: 12rem 6%;
    display: flex;
    justify-content: center;
}

.platforms-section .container {
    max-width: 1100px;
    text-align: center;
}

.platforms-title {
    color: var(--c-heading);
    font-size: clamp(3.4rem, 4.5vw, 4.8rem);
    font-weight: 700;
    margin-bottom: 3rem;
}

.platforms-intro {
    color: #ffffff;
    font-size: clamp(2.1rem, 2.6vw, 3.4rem);
    line-height: 1.5;
    margin-bottom: 6rem;
}

.platforms-intro em {
    font-style: italic;
}

/*======================================================================
   Section: Community
======================================================================*/
.community-section .container {
    max-width: 1000px;
}

.community-overline {
    margin-bottom: 5rem;
}

.community-overline p {
    font-size: 2.8rem;
    color: var(--c-muted);
    line-height: 1.5;
}

.diagram-subtitle {
    color: var(--c-heading);
    font-size: clamp(2.6rem, 3.4vw, 4.4rem);
    font-weight: 400;
    margin-bottom: 4rem;
}

.communaute-dw {
    margin-top: 25rem;
}

/* Staircase list inside the community block */
.co-strong {
    color: var(--c-heading);
    font-weight: 700;
}

.co-strong--mt {
    margin-top: 1.5rem;
}

.step-1 { margin-left: 2rem; }
.step-2 { margin-left: 5rem; }
.step-3 { margin-left: 8rem; }

/*======================================================================
   Section: Mutualisation (venn)
======================================================================*/
.mutual-head {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 4rem;
    align-items: center;
}

.mutual-title h2 {
    font-size: clamp(3.6rem, 4.6vw, 5rem);
    font-weight: 700;
    color: var(--c-heading);
    line-height: 1.15;
    letter-spacing: -0.01em;
}

.mutual-title .soft {
    display: block;
    color: var(--c-muted);
    margin-top: 0.5rem;
}

.balls-graph {
    width: 34rem;
    height: auto;
    flex-shrink: 0;
    display: block;
    align-self: start;
}

/*======================================================================
   Diagram images
======================================================================*/
.diagram-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

/*======================================================================
   Responsive
======================================================================*/
/*  Tablet & below (≤ 992px) — incl. iPad Air 820px  */
@media (max-width: 992px) {
    .r-hero { height: 78vh; }

    .section,
    .platforms-section,
    .quote-section { padding: 8rem 6%; }

    .hero-inner { padding: 0 6% 14rem; }

    .intro-travel .container,
    .products-section .container,
    .interop-section .container,
    .mutual-head {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .hero-evolution .hero-media {
    inset: 0;
    width: 100%;
    height: 100%;
    transform: none;
    object-fit: cover;
    }

    .rupture-card,
    .info-card { padding: 4rem; }

    /* interop card stops bleeding off the right edge → normal boxed card */
    .interop-section {
        padding-left: 6% !important;
        padding-right: 6%;
    }

    .interop-card { min-height: 40rem; }

    /* balls graph centers under the title and never exceeds its column */
    .balls-graph {
        width: 100%;
        max-width: 34rem;
        margin: 0 auto;
    }

    .communaute-dw { margin-top: 12rem; }

    /* products title flows normally, left-aligned (no forced line breaks) */
    .products-title    { text-align: left; align-self: start; }
    .products-title br { display: none; }
}

/*  Phone (≤ 600px) — iPhone SE 375 → Pixel 7 Pro 480  */
@media (max-width: 600px) {
    .section,
    .platforms-section,
    .quote-section { padding: 6rem 6%; }

    .hero-inner { padding: 0 6% 9rem; }

    /* Heroes */
    .hero-title { font-size: clamp(4.0rem, 8.5vw, 5.0rem);}
    .hero-sub   { font-size: 1.9rem; }
    .hero-mini  { font-size: 1.6rem; }

    /* Intro travel */
    .intro-lead     { font-size: clamp(3.4rem, 10vw, 4.6rem); }
    .travel-list    { gap: 3.5rem; }
    .travel-item h3 { font-size: 2rem; }
    .travel-item p  { font-size: 1.7rem; }

    /* Flux */
    .flux-overline         { margin-bottom: 3.5rem; }
    .flux-overline .kicker { font-size: 2rem; }
    .flux-overline .sub,
    .flux-overline .q      { font-size: 1.7rem; }

    /* Generic section titles */
    .section-title { font-size: clamp(3rem, 8vw, 3.6rem); }

    /* Rupture */
    .rupture-card   { padding: 3rem 2.5rem; }
    .rupture-card p { font-size: 1.7rem; }

    /* Production */
    .production-lead   { font-size: clamp(2.6rem, 7.5vw, 3.4rem); }
    .production-strong { font-size: clamp(2.6rem, 7vw, 3.2rem); }
    .production-body p { font-size: 1.7rem; }

    /* Quote */
    .quote-text { font-size: clamp(2.4rem, 6.5vw, 3.2rem); }

    /* Products */
    .products-title    { font-size: clamp(3.4rem, 10vw, 4.6rem); }
    .products-col h3 { font-size: 2.2rem; }
    .products-col p  { font-size: 1.7rem; }

    /* Interop */
    .interop-text    { font-size: 1.7rem; }
    .interop-card    { min-height: 30rem; }
    .interop-card h3 { font-size: clamp(2.6rem, 7vw, 3.4rem); padding: 3rem; }

    /* Info cards */
    .info-card    { padding: 3rem 2.5rem; }
    .info-card h3 { font-size: 2rem; }
    .info-card p  { font-size: 1.7rem; }

    /* Platforms */
    .platforms-title { font-size: clamp(2.8rem, 7.5vw, 3.4rem); }
    .platforms-intro { font-size: clamp(1.8rem, 5vw, 2.2rem); margin-bottom: 4rem; }

    /* Community */
    .community-overline   { margin-bottom: 3.5rem; }
    .community-overline p { font-size: 1.8rem; }
    .diagram-subtitle     { font-size: clamp(2.2rem, 6.5vw, 2.8rem); }
    .communaute-dw        { margin-top: 7rem; }
    .step-1 { margin-left: 1.2rem; }
    .step-2 { margin-left: 2.6rem; }
    .step-3 { margin-left: 4rem; }

    /* Mutualisation */
    .mutual-title h2 { font-size: clamp(2.6rem, 6.5vw, 3.4rem); }
    .balls-graph     { max-width: 30rem; }
}
