/* Extracted from index.html (was an inline <style> block). */
        /* ===== DESKTOP: Bento Layout ===== */
        .bento-container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 50px 20px 80px 20px;
            min-height: calc(100vh - 100px);
            display: flex;
            align-items: flex-start;
        }

        .bento-grid {
            display: grid;
            grid-template-columns: 1.4fr 1fr;
            grid-template-rows: auto 1fr;
            gap: 24px;
            width: 100%;
        }

        .bento-hero {
            grid-column: 1 / 2;
            grid-row: 1 / 2;
            padding-right: 40px;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .bento-title {
            font-family: var(--font-display);
            font-weight: bold;
            font-size: var(--fs-poster);
            line-height: 0.95;
            letter-spacing: var(--track-display);
            color: var(--color-ink);
            margin-bottom: 0;
            word-break: keep-all;
            overflow-wrap: normal;
            hyphens: none;
        }

        /* The hero title is set on exactly two lines (owner's call, 2026-09-30):
           each line never wraps, and the size is capped so the longer line,
           "La veille médias" (about 8.1em wide), always fits the column. The
           caps are measured, not tokens: the bento column is (vw - 64px) x
           0.583 - 40px wide, capped at 1400px; the mobile column is vw - 60px. */
        .hero-line {
            white-space: nowrap;
        }

        .bento-title {
            font-size: min(var(--fs-poster), calc(7vw - 10px), 5.5rem);
        }

        /* EN: "The most advanced" is about 9.8em wide, not 8.1em, so the same
           caps scaled by 8.1 / 9.8. */
        .bento-title.hero-title-wide {
            font-size: calc(min(var(--fs-poster), calc(7vw - 10px), 5.5rem) * 0.82);
        }

        .bento-info {
            grid-column: 2 / 3;
            grid-row: 1 / 2;
            display: flex;
            flex-direction: column;
            justify-content: flex-end;
            padding-bottom: 20px;
        }

        .bento-subtitle {
            font-family: var(--font-body);
            font-size: var(--fs-lede);
            line-height: 1.4;
            color: var(--color-accent-dark);
            margin-bottom: 20px;
            max-width: 450px;
        }

        .bento-portal-container {
            grid-column: 1 / 3;
            grid-row: 2 / 3;
            display: grid;
            grid-template-columns: 1.2fr 1fr 1fr;
            gap: 24px;
            margin-top: 20px;
        }

        .portal-card {
            border-radius: 15px;
            padding: 32px 40px;
            text-decoration: none;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            min-height: 280px;
            transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            position: relative;
            overflow: hidden;
        }

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

        .portal-card.dark {
            background-color: var(--color-ink);
            color: var(--color-surface-2);
        }

        .portal-card.dark .portal-title,
        .portal-card.dark .portal-desc,
        .portal-card.dark .portal-label,
        .portal-card.dark .portal-arrow {
            color: var(--color-surface-2);
        }

        .portal-card.dark:hover {
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
        }

        .portal-card.light {
            background-color: var(--color-surface);
            border: 1px solid transparent;
            color: var(--color-ink);
        }

        .portal-card.light:hover {
            background-color: var(--color-surface-2);
        }

        .portal-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
        }

        .portal-card .portal-header,
        .portal-card .portal-main {
            transition: transform 0.3s ease;
            will-change: transform;
        }

        .portal-label {
            font-family: var(--font-display);
            font-size: var(--fs-body);
            opacity: 0.8;
            margin-top: 5px;
            margin-bottom: 10px;
            display: block;
        }

        .portal-main {
            margin-top: auto;
        }

        .portal-title {
            font-family: var(--font-display);
            font-weight: bold;
            font-size: var(--fs-display-2);
            margin: 0 0 20px 0;
            line-height: 1.1;
        }

        .portal-desc {
            font-family: var(--font-body);
            font-size: var(--fs-small);
            opacity: 0.8;
            margin: 0;
            /* Clears the arrow pinned bottom-right (40px inset + 2rem glyph). */
            max-width: calc(100% - 56px);
            line-height: 1.5;
        }

        .portal-arrow {
            position: absolute;
            bottom: 40px;
            right: 40px;
            font-size: 2rem;
            font-family: var(--font-display);
            font-weight: normal;
            transition: transform 0.3s ease;
        }

        .portal-card:hover .portal-arrow {
            transform: translateX(-8px);
        }

        .portal-card:hover .portal-header,
        .portal-card:hover .portal-main {
            transform: translateX(8px);
        }

        .grid-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
            linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
            background-size: 40px 40px;
            opacity: 0;
            transition: opacity 0.5s ease;
            pointer-events: none;
        }

        .portal-card.dark:hover .grid-overlay {
            opacity: 1;
        }

        /* ===== MOBILE: Editorial Layout ===== */
        .editorial-container {
            display: none;
        }

        .editorial-layout {
            display: flex;
            width: 100%;
            border-top: 1px solid #e0e0e0;
        }

        .editorial-main {
            flex: 1.3;
            padding: 80px 60px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            border-right: 1px solid #e0e0e0;
            background-color: var(--color-bg);
        }

        .editorial-title {
            font-family: var(--font-display);
            font-weight: bold;
            font-size: var(--fs-poster);
            line-height: 0.9;
            letter-spacing: var(--track-display);
            color: var(--color-ink);
            margin-bottom: 40px;
            word-break: keep-all;
            overflow-wrap: normal;
            hyphens: none;
        }

        .editorial-subtitle {
            font-family: var(--font-body);
            font-size: var(--fs-lede);
            line-height: 1.65;
            color: var(--color-accent-dark);
            max-width: 52ch;
            margin-bottom: 60px;
        }

        .editorial-side {
            flex: 0.7;
            display: flex;
            flex-direction: column;
        }

        .side-portal {
            flex: 1;
            display: flex;
            flex-direction: column;
            justify-content: center;
            padding: 60px;
            text-decoration: none;
            position: relative;
            transition: all 0.4s ease;
        }

        .side-portal.top {
            background-color: var(--color-ink);
            color: var(--color-surface-2);
            border-bottom: 1px solid #333;
        }

        .side-portal.bottom {
            background-color: var(--color-surface);
            color: var(--color-ink);
        }

        .side-portal.bottom + .side-portal.bottom {
            border-top: 1px solid var(--color-border);
        }

        .side-portal-label {
            font-family: var(--font-display);
            font-size: var(--fs-caption);
            opacity: 0.8;
            margin-bottom: 20px;
        }

        .side-portal-title {
            font-family: var(--font-display);
            font-weight: bold;
            font-size: var(--fs-display-2);
            margin: 0 0 15px 0;
            line-height: 1;
        }

        .side-portal.top .side-portal-title,
        .side-portal.top .side-portal-desc {
            color: var(--color-surface-2);
        }

        .side-portal-desc {
            font-family: var(--font-body);
            font-size: var(--fs-body);
            opacity: 0.8;
            margin: 0;
            max-width: 300px;
            line-height: 1.5;
        }

        .side-arrow {
            position: absolute;
            top: 40px;
            right: 40px;
            font-size: 2rem;
            font-family: var(--font-display);
        }

        /* ===== Responsive Switching ===== */
        @media (max-width: 992px) {
            /* Hide bento, show editorial on mobile */
            .bento-container {
                display: none;
            }

            .editorial-container {
                display: flex;
                max-width: 1400px;
                margin: 0 auto;
                padding: 0;
                min-height: calc(100vh - 100px);
                align-items: stretch;
                overflow: hidden;
            }

            .editorial-layout {
                flex-direction: column;
            }

            .editorial-main {
                border-right: none;
                padding: 60px 30px;
                border-bottom: 1px solid #e0e0e0;
            }

            /* .editorial-main's padding carries the space under the lede; the
               desktop margin on top of it left a void as tall as the lede. */
            .editorial-subtitle {
                margin-bottom: 0;
            }

            .editorial-title {
                font-size: min(var(--fs-poster), calc(12vw - 8px));
            }

            .editorial-title.hero-title-wide {
                font-size: calc(min(var(--fs-poster), calc(12vw - 8px)) * 0.82);
            }

            /* English home: "Your media monitoring" is wider than the French first line. */
            .editorial-title.hero-title-wide.hero-title-tight {
                font-size: calc(min(var(--fs-poster), calc(12vw - 8px)) * 0.7);
            }

            .side-portal {
                padding: 40px 30px;
                min-height: 300px;
            }
        }

        /* Method Section - Workflow */
        .ent-method-section {
            padding: 80px 20px;
            overflow: hidden;
        }

        .ent-method-header {
            text-align: center;
            margin-bottom: 60px;
        }

        .ent-method-header .ent-section-title {
            font-family: var(--font-display);
            font-weight: normal;
            font-size: var(--fs-display-2);
            margin: 0 0 15px 0;
            text-align: center;
        }

        .ent-workflow {
            max-width: 1100px;
            margin: 0 auto;
            position: relative;
        }

        .ent-workflow-line {
            position: absolute;
            top: 45px;
            left: 10%;
            right: 10%;
            height: 2px;
            background-color: transparent;
        }

        .ent-workflow-line-fill {
            position: absolute;
            top: 0;
            left: 0;
            height: 100%;
            width: 0;
            background-color: var(--color-ink);
            animation: workflow-fill 6s linear infinite;
        }

        @keyframes workflow-fill {
            0% { width: 0; }
            40% { width: 100%; }
            70% { width: 100%; }
            71% { width: 0; }
            100% { width: 0; }
        }

        .ent-workflow-steps {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 30px;
            position: relative;
        }

        .ent-workflow-step {
            text-align: center;
        }

        .ent-workflow-node {
            width: 90px;
            height: 90px;
            background-color: var(--color-surface-2);
            border: 2px solid var(--color-ink);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 20px auto;
            position: relative;
            z-index: 1;
        }

        .ent-workflow-node i {
            font-size: 1.8rem;
            color: var(--color-ink);
        }

        .ent-workflow-number {
            position: absolute;
            top: -8px;
            right: -8px;
            width: 28px;
            height: 28px;
            background-color: var(--color-ink);
            color: var(--color-surface-2);
            border-radius: 50%;
            font-family: var(--font-display);
            font-weight: bold;
            font-size: var(--fs-caption);
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .ent-workflow-title {
            font-family: var(--font-display);
            font-weight: bold;
            font-size: var(--fs-body);
            margin-bottom: 10px;
            color: var(--color-ink);
        }

        .ent-workflow-desc {
            font-size: var(--fs-small);
            color: var(--color-text);
            line-height: 1.5;
            max-width: 200px;
            margin: 0 auto;
        }

        .ent-method-conclusion {
            text-align: center;
            margin-top: 70px;
            font-family: var(--font-display);
            font-size: var(--fs-lede);
            font-weight: bold;
            color: var(--color-ink);
        }

        .ent-method-conclusion-wrapper {
            text-align: center;
        }

        @media (max-width: 900px) {
            .ent-workflow-steps {
                grid-template-columns: repeat(2, 1fr);
                gap: 40px 30px;
            }

            .ent-workflow-line {
                display: none;
            }

            .ent-workflow-step {
                opacity: 1;
                transform: none;
                animation: none;
            }
        }

        @media (max-width: 500px) {
            .ent-workflow-steps {
                grid-template-columns: 1fr;
            }

            .ent-method-conclusion {
                padding: 20px 25px;
            }
        }

        /* Trust Section */
        .trust-section {
            text-align: center;
            /* Same rhythm as .ent-method-section, now that the two sit side by side. */
            padding: 80px 20px;
        }

        .trust-label {
            font-family: var(--font-display);
            font-size: var(--fs-display-2);
            font-weight: normal;
            color: var(--color-ink);
            margin-bottom: 40px;
            display: block;
            word-break: keep-all;
            overflow-wrap: normal;
            hyphens: none;
        }

        .trust-grid {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 64px;
            flex-wrap: wrap;
            max-width: 1000px;
            margin: 0 auto;
        }

        .trust-item {
            text-align: center;
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .trust-item-logo {
            max-width: 160px;
            width: auto; /* keep the ratio: the <img> carries width/height attributes */
            height: 60px;
            object-fit: contain;
            margin-bottom: 12px;
            opacity: 0.8;
            filter: grayscale(100%);
            transition: all 0.3s ease;
        }

        .trust-item:hover .trust-item-logo {
            opacity: 1;
            filter: grayscale(0%);
        }

        .trust-item-logo.logo-havas {
            max-width: 200px;
        }

        .trust-item-desc {
            font-family: var(--font-body);
            font-size: var(--fs-caption);
            color: var(--color-text);
        }

        @media (max-width: 700px) {
            .trust-grid {
                display: grid;
                grid-template-columns: repeat(2, minmax(0, 1fr));
                gap: 40px 24px;
                align-items: start;
            }

            .trust-item-logo {
                max-width: 100%;
                height: 44px;
            }

            .trust-item-logo.logo-havas {
                max-width: 100%;
            }
        }

        @media (max-width: 768px) {
            .trust-grid {
                gap: 32px;
            }

            .trust-item-logo {
                max-width: 120px;
                height: 50px;
            }

            .trust-item-logo.logo-havas {
                max-width: 160px;
            }
        }

        /* Press Section */
        .press-section {
            padding: 60px 20px;
            text-align: center;
        }

        .press-logos {
            display: flex;
            justify-content: center;
            align-items: center;
            flex-wrap: wrap;
            gap: 60px;
            max-width: 900px;
            margin: 0 auto;
        }

        .press-logos a {
            display: block;
        }

        .press-logos img {
            height: 50px;
            width: auto;
            max-width: 180px;
            object-fit: contain;
            filter: grayscale(0%);
            opacity: 1;
            transition: opacity 0.3s ease;
        }

        .press-logos a:hover img {
            opacity: 0.8;
        }

        @media (max-width: 768px) {
            .press-logos img {
                height: 40px;
                max-width: 140px;
            }
        }

        /* ---- 2026-10-01 additions: needs row, human step, figures, CFC band, links ---- */
        .home-needs {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            align-items: baseline;
            gap: 10px 28px;
            max-width: 1100px;
            margin: 0 auto 56px;
            padding: 0 20px;
            font-size: var(--fs-small);
        }

        .home-needs-label {
            color: var(--color-text-soft);
        }

        .home-needs a,
        .home-link {
            color: var(--color-ink);
            text-decoration: none;
            border-bottom: 1px solid var(--color-border);
            padding-bottom: 2px;
            transition: border-color 0.25s ease;
        }

        .home-needs a:hover,
        .home-link:hover {
            color: var(--color-ink);
            border-color: var(--color-ink);
        }

        .home-link {
            display: inline-block;
            font-size: var(--fs-small);
        }

        /* The human validation step stands out: filled node. */
        .ent-workflow-step--human .ent-workflow-node {
            background-color: var(--color-ink);
            color: var(--color-surface);
        }

        .ent-workflow-step--human .ent-workflow-node i,
        .ent-workflow-step--human .ent-workflow-number {
            color: var(--color-surface);
        }

        .home-stats {
            display: grid;
            grid-template-columns: repeat(4, minmax(0, 1fr)); /* equal columns, whatever the number's width */
            gap: 30px;
            max-width: 1100px;
            margin: 60px auto 0;
            text-align: center;
        }

        .home-stat {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .home-stat-number {
            font-family: var(--font-display);
            font-weight: bold;
            font-size: var(--fs-display-2);
            color: var(--color-ink);
        }

        .home-stat-label {
            font-size: var(--fs-small);
            color: var(--color-text);
        }

        .home-cfc {
            max-width: 760px;
            margin: 0 auto;
            padding: 60px 20px;
            text-align: center;
        }

        .home-cfc-text {
            font-size: var(--fs-lede);
            line-height: 1.7;
            color: var(--color-text-strong);
            margin: 0 0 24px;
        }

        .home-press-link {
            margin-top: 40px;
        }

        @media (max-width: 768px) {
            .home-needs {
                flex-direction: column;
                align-items: center;
                gap: 12px;
                margin-top: 48px;
            }

            .home-stats {
                grid-template-columns: repeat(2, minmax(0, 1fr));
                gap: 28px 16px;
                padding: 0 20px;
            }
        }


        /* Desktop hero (above the fold) rendered as if the browser were at 90 % zoom
           (Julien, 2026-10-01): text, cards, gaps and paddings all scale together.
           The min-height is divided by the zoom so the block still spans the viewport. */
        @media (min-width: 993px) {
            .bento-container {
                zoom: 0.9;
                min-height: calc((100vh - 100px) / 0.9);
            }
        }
