/* /solutions/analyse-retombees-mediatiques
   Its own layout, deliberately not the /solutions/veille-presse template: left-set
   hero with an index card, no divider lines between sections, the measures
   as a table, the comparison as one split card, the method as a chain, and
   the contact form on the page itself. Tokens only, namespaced `rt-`.
   Red budget (2 of 3): the hero phrase, the result phrase. */

.rt-page {
    overflow-x: clip;
    color: var(--color-text);
}

.rt-wrap {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 clamp(24px, 5vw, 72px);
}

.rt-section {
    padding: clamp(52px, 8.5vh, 100px) 0;
}

.rt-band {
    background: var(--color-surface);
}

.rt-page h1,
.rt-page h2,
.rt-page h3 {
    font-family: var(--font-display);
    color: var(--color-ink);
    letter-spacing: var(--track-display);
    margin: 0;
    overflow-wrap: anywhere;
}

.rt-page h2 {
    font-size: var(--fs-display-2);
    font-weight: normal;
    line-height: 1.12;
}

.rt-page p {
    margin: 0;
}

.rt-lede {
    font-size: var(--fs-lede);
    color: var(--color-text-strong);
    line-height: 1.6;
    max-width: 52ch;
}

.rt-accent {
    /* deep red, the same as the emphasised title line on the other hero pages */
    color: var(--color-accent-dark);
}

/* ---- Buttons ---------------------------------------------------------- */

.rt-btn {
    display: inline-block;
    background: var(--color-ink);
    color: var(--color-surface);
    border: 2px solid var(--color-ink);
    border-radius: var(--radius);
    padding: 15px 30px;
    font-family: var(--font-display);
    font-size: var(--fs-small);
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.25s ease, color 0.25s ease;
}

.rt-btn:hover {
    background: var(--color-surface);
    color: var(--color-ink);
}

.rt-link {
    font-size: var(--fs-small);
    color: var(--color-ink);
    text-decoration: none;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 2px;
    transition: border-color 0.25s ease;
}

.rt-link:hover {
    color: var(--color-ink);
    border-bottom-color: var(--color-ink);
}

.rt-page a:focus-visible,
.rt-page button:focus-visible,
.rt-page summary:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 3px;
}

/* ---- Hero: left-set, index card on the right --------------------------- */

.rt-hero {
    padding: clamp(56px, 12vh, 140px) 0 clamp(52px, 8.5vh, 100px);
}

.rt-hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px clamp(32px, 5vw, 72px);
    align-items: start;
}

.rt-hero-grid > * {
    min-width: 0;
}

.rt-hero h1 {
    font-size: var(--fs-display-1);
    font-weight: bold;
    line-height: 1.02;
    max-width: 15em;
    grid-column: 1 / -1;
}

.rt-hero-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 32px;
    margin-top: 40px;
}

.rt-index {
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: 0 18px 40px -28px rgba(0, 0, 0, 0.25);
}

.rt-index-label {
    font-size: var(--fs-caption);
    color: var(--color-text-soft);
    margin-bottom: 16px;
}

.rt-index ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.rt-index li + li {
    border-top: 1px solid var(--color-border);
}

.rt-index a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 14px 0;
    font-family: var(--font-display);
    font-size: var(--fs-body);
    color: var(--color-ink);
    text-decoration: none;
    transition: color 0.2s ease;
}

.rt-index a:hover {
    color: var(--color-text-soft);
}

.rt-index a i {
    font-size: var(--fs-small);
}

/* ---- Section heads: title and intro on one line ------------------------ */

.rt-head {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: clamp(24px, 5vw, 72px);
    align-items: end;
    margin-bottom: clamp(36px, 6vh, 64px);
}

.rt-head > * {
    min-width: 0;
}

.rt-head p {
    font-size: var(--fs-body);
    line-height: 1.7;
    max-width: 52ch;
}

/* ---- Measures table ---------------------------------------------------- */

.rt-table {
    width: 100%;
    border-collapse: collapse;
}

.rt-table thead th {
    font-size: var(--fs-caption);
    font-weight: normal;
    color: var(--color-text-soft);
    text-transform: uppercase;
    letter-spacing: var(--track-caps);
    text-align: left;
    padding: 0 20px 14px;
    border-bottom: 2px solid var(--color-ink);
}

.rt-table tbody tr {
    border-bottom: 1px solid var(--color-border);
}

.rt-table tbody tr:nth-child(odd) {
    background: var(--color-surface);
}

.rt-table tbody th,
.rt-table tbody td {
    padding: 24px 20px;
    vertical-align: top;
    text-align: left;
}

.rt-table tbody th {
    width: 32%;
    font-family: var(--font-display);
    font-size: var(--fs-body);
    font-weight: bold;
    color: var(--color-ink);
}

.rt-table tbody td {
    font-size: var(--fs-body);
    line-height: 1.65;
}

/* ---- Comparison: one split card ---------------------------------------- */

.rt-compare {
    background: var(--color-bg);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.rt-compare-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.rt-compare-col {
    padding: clamp(28px, 4vw, 48px);
    min-width: 0;
}

.rt-compare-col + .rt-compare-col {
    background: var(--color-surface-2);
}

.rt-compare h3 {
    font-size: var(--fs-display-3);
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 24px;
}

.rt-compare ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 16px;
}

.rt-compare li {
    display: flex;
    gap: 12px;
    font-size: var(--fs-body);
    line-height: 1.6;
}

.rt-compare li i {
    color: var(--color-text-soft);
    font-size: var(--fs-emph);
    line-height: 1.3;
}

.rt-compare-col p {
    font-size: var(--fs-body);
    line-height: 1.7;
}

.rt-result {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px 24px;
    padding: 28px clamp(28px, 4vw, 48px);
    border-top: 2px solid var(--color-ink);
}

.rt-result-label {
    font-size: var(--fs-caption);
    color: var(--color-text-soft);
}

.rt-result-text {
    font-family: var(--font-display);
    font-size: var(--fs-display-3);
    color: var(--color-ink);
    line-height: 1.3;
}

/* ---- Method: a chain of four --------------------------------------------- */

.rt-chain {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.rt-chain-step {
    position: relative;
    background: var(--color-surface);
    border-radius: var(--radius);
    padding: 28px 24px;
}

/* The arrow between two steps: order is the information here. */
.rt-chain-step + .rt-chain-step::before {
    content: "\2192";
    position: absolute;
    left: -14px;
    top: 34px;
    width: 12px;
    text-align: center;
    color: var(--color-text-soft);
    font-size: var(--fs-small); /* glyph, sized to sit in the gap */
}

.rt-chain-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--color-bg);
    color: var(--color-ink);
    font-size: var(--fs-emph);
    margin-bottom: 20px;
}

.rt-chain h3 {
    font-size: var(--fs-body);
    font-weight: bold;
    margin-bottom: 10px;
}

.rt-chain p {
    font-size: var(--fs-small);
    line-height: 1.6;
}

/* ---- Audiences: argument grid ------------------------------------------- */

.rt-argue {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: clamp(32px, 5vw, 72px);
}

.rt-argue > * {
    min-width: 0;
}

.rt-argue-intro h2 {
    margin-bottom: 24px;
}

.rt-argue-intro p {
    font-size: var(--fs-body);
    line-height: 1.7;
    max-width: 46ch;
}

.rt-audiences {
    margin: 0;
}

.rt-audience {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 16px 32px;
    padding: 24px 0;
    border-top: 1px solid var(--color-border);
}

.rt-audience:last-child {
    border-bottom: 1px solid var(--color-border);
}

.rt-audience dt {
    font-family: var(--font-display);
    font-size: var(--fs-body);
    font-weight: bold;
    color: var(--color-ink);
}

.rt-audience dd {
    margin: 0;
    font-size: var(--fs-body);
    line-height: 1.65;
}

/* ---- Contact form ------------------------------------------------------- */

.rt-contact {
    scroll-margin-top: 90px;
}

.rt-contact-card {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: clamp(32px, 5vw, 72px);
    background: var(--color-surface);
    border-radius: var(--radius-lg);
    padding: clamp(28px, 5vw, 64px);
}

.rt-contact-card > * {
    min-width: 0;
}

.rt-contact-intro h2 {
    margin-bottom: 20px;
}

.rt-contact-intro p {
    font-size: var(--fs-body);
    line-height: 1.7;
    max-width: 40ch;
}

.rt-field {
    margin-bottom: 20px;
}

.rt-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
}

.rt-field-row > * {
    min-width: 0;
}

.rt-field-row .rt-field {
    margin-bottom: 0;
}

.rt-field label {
    display: block;
    font-size: var(--fs-small);
    color: var(--color-ink);
    margin-bottom: 8px;
}

.rt-field .required {
    color: var(--color-text-soft);
}

.rt-field input,
.rt-field textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    background: var(--color-bg);
    color: var(--color-ink);
    font-family: var(--font-body);
    font-size: var(--fs-small);
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.rt-field input:focus,
.rt-field textarea:focus {
    outline: none;
    border-color: var(--color-ink);
    background: var(--color-surface-2);
}

.rt-field input::placeholder,
.rt-field textarea::placeholder {
    color: var(--color-text-soft);
}

.rt-field textarea {
    resize: vertical;
    min-height: 120px;
}

.rt-field-error {
    color: var(--color-danger);
    font-size: var(--fs-caption);
    margin-top: 6px;
}

.rt-form-alert {
    border-radius: var(--radius-sm);
    background: var(--color-surface-2);
    border-left: 3px solid var(--color-danger);
    padding: 16px 20px;
    margin-bottom: 24px;
    font-size: var(--fs-small);
    color: var(--color-text-strong);
}

.rt-form-submit {
    width: 100%;
    margin-top: 4px;
    cursor: pointer;
}

.rt-form-note {
    font-size: var(--fs-caption);
    color: var(--color-text-soft);
    margin-top: 16px;
}

.rt-form-success h3 {
    font-size: var(--fs-display-3);
    font-weight: bold;
    margin-bottom: 12px;
}

.rt-form-success p {
    font-size: var(--fs-body);
    line-height: 1.7;
}

/* ---- Partners: one quiet row ----------------------------------------------- */

.rt-trust {
    display: grid;
    grid-template-columns: 0.9fr 3fr;
    gap: 24px clamp(32px, 5vw, 72px);
    align-items: center;
}

.rt-trust > * {
    min-width: 0;
}

.rt-page .rt-trust-label {
    font-family: var(--font-display);
    font-size: var(--fs-display-3);
    color: var(--color-ink);
    line-height: 1.2;
}

.rt-trust-logos {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    align-items: center;
    justify-items: center;
    gap: 32px 40px;
}

.rt-trust-logos img {
    height: auto;
    max-height: 40px;
    width: auto;
    max-width: 100%;
    filter: grayscale(1);
    opacity: 0.8;
}

/* ---- FAQ: reuses faq.css, set in the argument grid ----------------------- */

.rt-faq {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: clamp(32px, 5vw, 72px);
}

.rt-faq > * {
    min-width: 0;
}

.rt-faq .faq-question {
    padding-top: 24px;
    padding-bottom: 24px;
}

/* ---- Responsive ---------------------------------------------------------- */

@media (max-width: 1100px) {
    .rt-chain {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rt-chain-step:nth-child(3)::before {
        display: none;
    }
}

@media (max-width: 950px) {
    .rt-hero-grid,
    .rt-head,
    .rt-argue,
    .rt-contact-card,
    .rt-trust,
    .rt-faq {
        grid-template-columns: 1fr;
    }

    .rt-head {
        align-items: start;
    }

    .rt-compare-cols {
        grid-template-columns: 1fr;
    }

    .rt-trust-logos {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .rt-hero h1 {
        line-height: 1.06;
    }

    .rt-chain {
        grid-template-columns: 1fr;
    }

    .rt-chain-step + .rt-chain-step::before {
        content: "\2193";
        display: block;
        left: 0;
        right: 0;
        top: -16px;
        width: auto;
    }

    .rt-chain-step:nth-child(3)::before {
        display: block;
    }

    .rt-audience,
    .rt-field-row {
        grid-template-columns: 1fr;
    }

    /* Table reflows into stacked records, zebra off. */
    .rt-table thead {
        display: none;
    }

    .rt-table,
    .rt-table tbody,
    .rt-table tr,
    .rt-table th,
    .rt-table td {
        display: block;
        width: 100%;
    }

    .rt-table tbody tr:nth-child(odd) {
        background: none;
    }

    .rt-table tbody th {
        width: 100%;
        padding: 20px 0 6px;
    }

    .rt-table tbody td {
        padding: 0 0 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .rt-page *,
    .rt-page *::before,
    .rt-page *::after {
        transition: none !important;
        animation: none !important;
    }
}

/* ---- What you gain: four benefit cards under the hero (2026-10-01) ---- */

.rt-gains {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.rt-gain {
    background: var(--color-bg);
    border-radius: var(--radius);
    padding: 28px 24px;
}

.rt-gain h3 {
    font-size: var(--fs-body);
    margin: 0 0 10px;
}

.rt-gain p {
    font-size: var(--fs-small);
    line-height: 1.6;
    color: var(--color-text);
    margin: 0;
}

@media (max-width: 950px) {
    .rt-gains {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .rt-gains {
        grid-template-columns: minmax(0, 1fr);
    }
}
