/* Meilleurs outils d'automatisation SEO par IA (classement) — surcouche de
 * consultant-seo-paris.css, construite sur le modele de outils-semantique.css.
 *
 * DEPEND DE : consultant-seo-paris.css charge AVANT (tokens --cp-* + composants
 * .hero-section, .stats-*, .info-box, .checklist, .faq-*, .cta-button, et les
 * 3 breakpoints).
 *
 * INVARIANTS (identiques a outils-semantique.css) :
 *   1. Tout selecteur contient .outils-auto-page. Sans exception.
 *   2. Toute SURCHARGE d'une regle de base utilise le compose SANS espace
 *      .consultant-paris-page.outils-auto-page.
 *   3. Jamais de .consultant-paris-page X nu dans ce fichier.
 *   4. Toute surcharge de grille ou d'alignement est repetee dans les media
 *      queries.
 *
 * Les captures d'ecran sont dans static/images/classements/ (prefixe
 * automatisation-seo-ia-), produites en novembre 2026.
 */

/* Les ancres (#classement, #sorank…) s'arretent sous le menu fixe. */
html.consultant-paris-theme .outils-auto-page [id] {
    scroll-margin-top: 110px;
}

html.consultant-paris-theme .outils-auto-page .visually-hidden {
    clip: rect(0 0 0 0);
    border: 0;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

/* ------------------------------------------------------------------
   FIL D'ARIANE
   ------------------------------------------------------------------ */

html.consultant-paris-theme .outils-auto-page .page-breadcrumb {
    color: var(--cp-muted);
    font-size: 0.78rem;
    font-weight: 750;
    letter-spacing: 0.08em;
    padding-top: clamp(26px, 4vw, 40px);
    text-transform: uppercase;
}

html.consultant-paris-theme .outils-auto-page .page-breadcrumb a {
    color: var(--cp-clay-dark);
    text-decoration: none;
}

html.consultant-paris-theme .outils-auto-page .page-breadcrumb a:hover {
    color: var(--cp-accent-dark);
    text-decoration: underline;
}

html.consultant-paris-theme .outils-auto-page .page-breadcrumb span[aria-hidden] {
    margin: 0 8px;
}

/* ------------------------------------------------------------------
   HERO — texte a gauche, sommaire visuel du classement a droite : la
   capture du premier en grand, les quatre suivants en vignettes.
   ------------------------------------------------------------------ */

html.consultant-paris-theme .consultant-paris-page.outils-auto-page .hero-section {
    align-items: center;
    padding-bottom: clamp(40px, 5vw, 60px);
    padding-top: clamp(28px, 4vw, 48px);
}

html.consultant-paris-theme .consultant-paris-page.outils-auto-page .hero-section h1 {
    font-size: clamp(2.3rem, 4.5vw, 3.6rem);
    line-height: 1.04;
    max-width: none;
}

html.consultant-paris-theme .consultant-paris-page.outils-auto-page .hero-section .subtitle {
    max-width: 34ch;
}

/* Pas de paragraphe .description : le bouton remonte d'une ligne. */
html.consultant-paris-theme .consultant-paris-page.outils-auto-page .hero-section .cta-button {
    grid-row: 4;
}

html.consultant-paris-theme .outils-auto-page .hero-ranking {
    display: grid;
    gap: 14px 10px;
    grid-column: 8 / -1;
    grid-row: 1 / 6;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

html.consultant-paris-theme .consultant-paris-page.outils-auto-page a.hero-tile {
    color: var(--cp-heading);
    display: block;
    min-width: 0;
    text-decoration: none;
}

html.consultant-paris-theme .outils-auto-page .hero-tile--first {
    grid-column: 1 / -1;
}

html.consultant-paris-theme .outils-auto-page .hero-tile img {
    aspect-ratio: 16 / 10;
    border: 1px solid var(--cp-border);
    border-radius: 6px;
    display: block;
    height: auto;
    object-fit: cover;
    object-position: top center;
    transition: border-color 180ms ease, transform 180ms ease;
    width: 100%;
}

html.consultant-paris-theme .outils-auto-page .hero-tile--first img {
    border-radius: 10px;
    box-shadow: 0 22px 44px -28px color-mix(in oklch, var(--cp-heading) 55%, transparent);
}

html.consultant-paris-theme .outils-auto-page .hero-tile:hover img {
    border-color: var(--cp-clay);
    transform: translateY(-2px);
}

html.consultant-paris-theme .outils-auto-page .hero-tile__label {
    align-items: baseline;
    display: flex;
    font-size: 0.74rem;
    font-weight: 750;
    gap: 6px;
    line-height: 1.2;
    margin-top: 7px;
}

html.consultant-paris-theme .outils-auto-page .hero-tile--first .hero-tile__label {
    font-family: var(--font-serif-stack);
    font-size: 1.12rem;
    font-weight: 600;
    gap: 9px;
    margin-top: 10px;
}

html.consultant-paris-theme .outils-auto-page .hero-tile__num {
    color: var(--cp-clay-dark);
    font-family: var(--font-serif-stack);
    font-variant-numeric: lining-nums;
    font-weight: 600;
}

html.consultant-paris-theme .outils-auto-page .hero-tile:hover .hero-tile__label {
    color: var(--cp-accent-dark);
}

/* ------------------------------------------------------------------
   L'ESSENTIEL, INTRODUCTION, REPERES (recopie de outils-semantique.css)
   ------------------------------------------------------------------ */

html.consultant-paris-theme .consultant-paris-page.outils-auto-page .info-box .icon {
    display: inline-block;
    fill: currentColor;
    height: 1.15em;
    margin-right: 10px;
    vertical-align: -0.2em;
    width: 1.15em;
}

html.consultant-paris-theme .outils-auto-page .info-box > p {
    margin: 10px 0 0;
}

html.consultant-paris-theme .outils-auto-page .page-intro {
    display: grid;
    gap: 16px clamp(28px, 4vw, 56px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 34px 0 0;
}

html.consultant-paris-theme .outils-auto-page .page-intro p {
    margin: 0;
}

/* Le filet bas des reperes chiffres doublait celui du H2 suivant. */
html.consultant-paris-theme .consultant-paris-page.outils-auto-page .stats-section {
    border-bottom: 0;
    padding-bottom: 8px;
}

/* ------------------------------------------------------------------
   CHAINE — les six maillons, relies par un filet continu.
   ------------------------------------------------------------------ */

html.consultant-paris-theme .outils-auto-page .chain {
    display: grid;
    gap: 0;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    list-style: none;
    margin: 38px 0 34px;
    padding: 0;
}

html.consultant-paris-theme .outils-auto-page .chain__step {
    align-content: start;
    border-top: 2px solid var(--cp-clay);
    display: grid;
    gap: 6px;
    padding: 22px 18px 0 0;
    position: relative;
}

/* Le maillon : un point pose sur le filet. */
html.consultant-paris-theme .outils-auto-page .chain__step::before {
    background: var(--cp-bg);
    border: 2px solid var(--cp-clay);
    border-radius: 50%;
    content: "";
    height: 12px;
    left: 0;
    position: absolute;
    top: -7px;
    width: 12px;
}

html.consultant-paris-theme .outils-auto-page .chain__icon {
    color: var(--cp-clay-dark);
    fill: none;
    height: 26px;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.6;
    width: 26px;
}

html.consultant-paris-theme .outils-auto-page .chain__name {
    color: var(--cp-heading);
    font-family: var(--font-serif-stack);
    font-size: 1.14rem;
    font-weight: 600;
    line-height: 1.2;
    margin-top: 4px;
}

html.consultant-paris-theme .outils-auto-page .chain__desc {
    color: var(--cp-muted);
    font-size: 0.86rem;
    line-height: 1.5;
}

html.consultant-paris-theme .consultant-paris-page.outils-auto-page .chain__desc a {
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

/* ------------------------------------------------------------------
   PASTILLES DE COUVERTURE
   ------------------------------------------------------------------ */

html.consultant-paris-theme .outils-auto-page .cov {
    border: 2px solid var(--cp-clay);
    border-radius: 50%;
    display: inline-block;
    flex: none;
    height: 14px;
    vertical-align: -0.12em;
    width: 14px;
}

html.consultant-paris-theme .outils-auto-page .cov--full {
    background: var(--cp-clay);
}

html.consultant-paris-theme .outils-auto-page .cov--half {
    background: linear-gradient(90deg, var(--cp-clay) 50%, transparent 50%);
}

html.consultant-paris-theme .outils-auto-page .cov--none {
    border-color: color-mix(in oklch, var(--cp-muted) 55%, var(--cp-border));
}

html.consultant-paris-theme .outils-auto-page .coverage-legend {
    color: var(--cp-muted);
    display: flex;
    flex-wrap: wrap;
    font-size: 0.82rem;
    gap: 8px 26px;
    margin: 14px 0 0;
    max-width: none;
}

html.consultant-paris-theme .outils-auto-page .coverage-legend > span {
    align-items: center;
    display: inline-flex;
    gap: 8px;
}

/* ------------------------------------------------------------------
   TABLEAUX (base recopiee de outils-semantique.css)
   ------------------------------------------------------------------ */

html.consultant-paris-theme .outils-auto-page .compare-wrap {
    margin: 32px 0 0;
    overflow-x: auto;
}

html.consultant-paris-theme .outils-auto-page .compare-wrap + p:not(.coverage-legend) {
    margin-top: 28px;
}

html.consultant-paris-theme .outils-auto-page .compare-table {
    background: var(--cp-surface);
    border: 1px solid var(--cp-border);
    border-collapse: separate;
    border-radius: 10px;
    border-spacing: 0;
    min-width: 720px;
    overflow: hidden;
    width: 100%;
}

html.consultant-paris-theme .outils-auto-page .compare-table th,
html.consultant-paris-theme .outils-auto-page .compare-table td {
    border-bottom: 1px solid var(--cp-border);
    border-right: 1px solid var(--cp-border);
    padding: 14px 16px;
    text-align: left;
    vertical-align: top;
}

html.consultant-paris-theme .outils-auto-page .compare-table tr > :last-child {
    border-right: 0;
}

html.consultant-paris-theme .outils-auto-page .compare-table thead th {
    background: var(--cp-clay-soft);
    border-bottom: 2px solid var(--cp-clay);
    color: var(--cp-heading);
    font-family: var(--font-serif-stack);
    font-size: 1.05rem;
    font-weight: 600;
    padding-bottom: 12px;
    padding-top: 14px;
}

html.consultant-paris-theme .outils-auto-page .compare-table tbody th {
    color: var(--cp-heading);
    font-family: var(--font-serif-stack);
    font-size: 1.05rem;
    font-weight: 600;
}

html.consultant-paris-theme .outils-auto-page .compare-table td {
    color: var(--cp-muted);
    font-size: 0.94rem;
    line-height: 1.55;
}

html.consultant-paris-theme .outils-auto-page .compare-table td.is-price {
    color: var(--cp-text);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

html.consultant-paris-theme .outils-auto-page .compare-table tbody tr:hover > * {
    background: color-mix(in oklch, var(--cp-clay) 4%, var(--cp-surface));
}

html.consultant-paris-theme .outils-auto-page .compare-table tbody tr:last-child > * {
    border-bottom: 0;
}

/* Matrice de couverture : pastilles centrees, nom de l'outil a gauche. */
html.consultant-paris-theme .outils-auto-page .coverage-table {
    min-width: 640px;
}

html.consultant-paris-theme .outils-auto-page .coverage-table thead th:not(:first-child),
html.consultant-paris-theme .outils-auto-page .coverage-table td {
    text-align: center;
    vertical-align: middle;
}

html.consultant-paris-theme .outils-auto-page .coverage-table thead th:not(:first-child) {
    font-family: var(--font-sans-stack);
    font-size: 0.74rem;
    font-weight: 750;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

html.consultant-paris-theme .outils-auto-page .coverage-table .cov {
    height: 16px;
    width: 16px;
}

/* Tableau du classement : rang en chiffre serif, premier mis en avant. */
html.consultant-paris-theme .outils-auto-page .ranking-table td.is-rank {
    color: var(--cp-clay-dark);
    font-family: var(--font-serif-stack);
    font-size: 1.5rem;
    font-variant-numeric: lining-nums;
    font-weight: 600;
    line-height: 1.1;
    text-align: center;
    width: 64px;
}

html.consultant-paris-theme .outils-auto-page .ranking-table tbody th {
    white-space: nowrap;
}

html.consultant-paris-theme .outils-auto-page .ranking-table tr.is-first > *,
html.consultant-paris-theme .outils-auto-page .ranking-table tbody tr.is-first:hover > * {
    background: var(--cp-clay-soft);
}

html.consultant-paris-theme .outils-auto-page .ranking-table tr.is-first td {
    color: var(--cp-text);
}

/* ------------------------------------------------------------------
   FICHES DU CLASSEMENT — numero, titre et verdict en tete ; captures et
   reperes sur la premiere ligne, analyse et maillons sur la seconde.
   ------------------------------------------------------------------ */

html.consultant-paris-theme .outils-auto-page .rank-list {
    margin: 38px 0 0;
}

html.consultant-paris-theme .outils-auto-page .rank-entry {
    border-top: 1px solid var(--cp-border);
    padding: 46px 0 54px;
}

html.consultant-paris-theme .outils-auto-page .rank-entry--first {
    border-top: 3px solid var(--cp-clay);
}

html.consultant-paris-theme .outils-auto-page .rank-head {
    align-items: start;
    display: grid;
    gap: 0 clamp(18px, 3vw, 36px);
    grid-template-columns: auto minmax(0, 1fr);
    margin-bottom: 32px;
}

html.consultant-paris-theme .outils-auto-page .rank-num {
    color: var(--cp-clay);
    font-family: var(--font-serif-stack);
    font-size: clamp(3.6rem, 7.4vw, 5.8rem);
    font-variant-numeric: lining-nums;
    font-weight: 600;
    letter-spacing: -0.04em;
    line-height: 0.82;
}

html.consultant-paris-theme .outils-auto-page .rank-kicker {
    color: var(--cp-clay-dark);
    font-size: 0.72rem;
    font-weight: 750;
    letter-spacing: 0.1em;
    margin: 0 0 8px;
    text-transform: uppercase;
}

html.consultant-paris-theme .outils-auto-page .rank-kicker sup {
    font-size: 0.7em;
    text-transform: none;
}

html.consultant-paris-theme .consultant-paris-page.outils-auto-page .rank-entry h3 {
    font-size: clamp(1.95rem, 3.6vw, 2.7rem);
    letter-spacing: -0.02em;
    line-height: 1.05;
    margin: 0 0 8px;
}

html.consultant-paris-theme .outils-auto-page .rank-verdict {
    color: var(--cp-heading);
    font-family: var(--font-serif-stack);
    font-size: clamp(1.08rem, 1.7vw, 1.26rem);
    line-height: 1.35;
    margin: 0;
}

/* Lien d'affiliation sur le nom de l'outil (rel="sponsored") et sa pastille.
   La fleche est generee en CSS pour que l'ancre reste le seul nom. */
html.consultant-paris-theme .consultant-paris-page.outils-auto-page .rank-entry h3 a.rank-link {
    color: inherit;
    text-decoration: underline;
    text-decoration-color: color-mix(in oklch, var(--cp-clay) 60%, transparent);
    text-decoration-thickness: 2px;
    text-underline-offset: 0.12em;
}

html.consultant-paris-theme .consultant-paris-page.outils-auto-page .rank-entry h3 a.rank-link::after {
    color: var(--cp-clay-dark);
    content: "↗";
    font-family: var(--font-sans-stack);
    font-size: 0.45em;
    font-weight: 700;
    margin-left: 0.22em;
    vertical-align: 0.95em;
}

html.consultant-paris-theme .consultant-paris-page.outils-auto-page .rank-entry h3 a.rank-link:hover {
    color: var(--cp-accent-dark);
    text-decoration-color: currentColor;
}

html.consultant-paris-theme .outils-auto-page .rank-chip {
    background: var(--cp-accent-soft);
    border: 1px solid color-mix(in oklch, var(--cp-accent) 30%, var(--cp-border));
    border-radius: 999px;
    color: var(--cp-accent-dark);
    display: inline-block;
    font-size: 0.64rem;
    letter-spacing: 0.08em;
    margin-left: 12px;
    padding: 2px 9px;
    vertical-align: 0.08em;
}

html.consultant-paris-theme .outils-auto-page .rank-grid {
    align-items: start;
    display: grid;
    gap: 34px clamp(30px, 4.5vw, 60px);
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
}

/* Cadre de capture : une fenetre de navigateur reduite a sa barre. */
html.consultant-paris-theme .outils-auto-page .shot-frame {
    background: var(--cp-surface);
    border: 1px solid var(--cp-border);
    border-radius: 10px;
    box-shadow: 0 24px 48px -30px color-mix(in oklch, var(--cp-heading) 60%, transparent);
    overflow: hidden;
}

html.consultant-paris-theme .outils-auto-page .shot-frame::before {
    background:
        radial-gradient(circle at 16px 50%, color-mix(in oklch, var(--cp-clay) 70%, var(--cp-surface)) 0 3.5px, transparent 4px),
        radial-gradient(circle at 29px 50%, color-mix(in oklch, var(--cp-clay) 40%, var(--cp-surface)) 0 3.5px, transparent 4px),
        radial-gradient(circle at 42px 50%, color-mix(in oklch, var(--cp-clay) 22%, var(--cp-surface)) 0 3.5px, transparent 4px),
        color-mix(in oklch, var(--cp-clay) 5%, var(--cp-surface));
    border-bottom: 1px solid var(--cp-border);
    content: "";
    display: block;
    height: 22px;
}

html.consultant-paris-theme .outils-auto-page .shot-frame img {
    display: block;
    height: auto;
    width: 100%;
}

html.consultant-paris-theme .outils-auto-page .shot-duo {
    margin: 0;
    min-width: 0;
}

/* Apercu de l'interface : pose en recouvrement, en bas a droite. */
html.consultant-paris-theme .outils-auto-page .shot-frame--inset {
    border-radius: 8px;
    margin: -19% -12px 0 auto;
    position: relative;
    width: 58%;
}

html.consultant-paris-theme .outils-auto-page .shot-frame--inset::before {
    height: 15px;
    background:
        radial-gradient(circle at 11px 50%, color-mix(in oklch, var(--cp-clay) 70%, var(--cp-surface)) 0 2.5px, transparent 3px),
        radial-gradient(circle at 20px 50%, color-mix(in oklch, var(--cp-clay) 40%, var(--cp-surface)) 0 2.5px, transparent 3px),
        radial-gradient(circle at 29px 50%, color-mix(in oklch, var(--cp-clay) 22%, var(--cp-surface)) 0 2.5px, transparent 3px),
        color-mix(in oklch, var(--cp-clay) 5%, var(--cp-surface));
}

html.consultant-paris-theme .outils-auto-page .shot-duo figcaption {
    color: var(--cp-muted);
    font-size: 0.8rem;
    line-height: 1.5;
    margin-top: 16px;
    max-width: 56ch;
}

/* Reperes : prix, essai, editeur, cible. */
html.consultant-paris-theme .outils-auto-page .tool-facts {
    display: grid;
    gap: 0;
    margin: 0;
}

html.consultant-paris-theme .outils-auto-page .tool-facts div {
    border-top: 1px solid var(--cp-border);
    display: grid;
    gap: 3px;
    padding: 13px 0 14px;
}

html.consultant-paris-theme .outils-auto-page .tool-facts div:first-child {
    border-top: 0;
    padding-top: 0;
}

html.consultant-paris-theme .outils-auto-page .tool-facts dt {
    color: var(--cp-clay-dark);
    font-size: 0.68rem;
    font-weight: 750;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

html.consultant-paris-theme .outils-auto-page .tool-facts dd {
    color: var(--cp-text);
    font-size: 0.95rem;
    line-height: 1.45;
    margin: 0;
}

html.consultant-paris-theme .outils-auto-page .tool-facts div:first-child dd {
    color: var(--cp-heading);
    font-family: var(--font-serif-stack);
    font-size: 1.14rem;
    font-weight: 600;
    line-height: 1.3;
}

html.consultant-paris-theme .outils-auto-page .tool-body p {
    color: var(--cp-text);
    max-width: 68ch;
}

html.consultant-paris-theme .outils-auto-page .tool-body p:last-child {
    margin-bottom: 0;
}

/* Maillons pris en charge par l'outil. */
html.consultant-paris-theme .outils-auto-page .chain-meter__title {
    color: var(--cp-clay-dark);
    font-size: 0.68rem;
    font-weight: 750;
    letter-spacing: 0.1em;
    margin: 0 0 6px;
    text-transform: uppercase;
}

html.consultant-paris-theme .outils-auto-page .chain-meter ul {
    border-bottom: 1px solid var(--cp-border);
    list-style: none;
    margin: 0;
    padding: 0;
}

html.consultant-paris-theme .outils-auto-page .chain-meter li {
    align-items: baseline;
    border-top: 1px solid var(--cp-border);
    display: grid;
    font-size: 0.88rem;
    gap: 2px 10px;
    grid-template-columns: 16px 92px minmax(0, 1fr);
    line-height: 1.4;
    padding: 9px 0;
}

html.consultant-paris-theme .outils-auto-page .chain-meter .cov {
    align-self: center;
}

html.consultant-paris-theme .outils-auto-page .chain-meter__link {
    color: var(--cp-heading);
    font-weight: 700;
}

html.consultant-paris-theme .outils-auto-page .chain-meter__note {
    color: var(--cp-muted);
}

/* ------------------------------------------------------------------
   HORS CLASSEMENT — bandeau encre pleine largeur (un seul sur la page).
   Le fond deborde par box-shadow + clip-path : aucun scroll horizontal.
   ------------------------------------------------------------------ */

html.consultant-paris-theme .outils-auto-page .own-band {
    background: var(--cp-heading);
    box-shadow: 0 0 0 100vmax var(--cp-heading);
    clip-path: inset(0 -100vmax);
    color: color-mix(in oklch, var(--cp-surface) 82%, transparent);
    margin: 0;
    padding: clamp(52px, 7vw, 88px) 0;
}

html.consultant-paris-theme .outils-auto-page .own-band__lead {
    align-items: center;
    display: grid;
    gap: 34px clamp(30px, 5vw, 68px);
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
}

html.consultant-paris-theme .outils-auto-page .own-band__kicker {
    color: color-mix(in oklch, var(--cp-clay) 72%, var(--cp-surface));
    font-size: 0.74rem;
    font-weight: 750;
    letter-spacing: 0.12em;
    margin: 0 0 14px;
    text-transform: uppercase;
}

html.consultant-paris-theme .consultant-paris-page.outils-auto-page .own-band h2 {
    color: var(--cp-surface);
    font-size: clamp(1.8rem, 3.1vw, 2.45rem);
    margin: 0 0 22px;
    max-width: 26ch;
}

html.consultant-paris-theme .outils-auto-page .own-band__text p {
    max-width: 62ch;
}

html.consultant-paris-theme .consultant-paris-page.outils-auto-page .own-band .cta-button {
    margin-top: 10px;
}

html.consultant-paris-theme .outils-auto-page .own-band__figure {
    margin: 0;
    min-width: 0;
}

html.consultant-paris-theme .outils-auto-page .own-band .shot-frame {
    border-color: color-mix(in oklch, var(--cp-surface) 22%, transparent);
    box-shadow: 0 30px 60px -30px #000;
}

html.consultant-paris-theme .outils-auto-page .own-band .compare-wrap {
    margin-top: clamp(40px, 5vw, 58px);
}

html.consultant-paris-theme .outils-auto-page .own-band .compare-table {
    background: transparent;
    border-color: color-mix(in oklch, var(--cp-surface) 22%, transparent);
    min-width: 640px;
}

/* style.css peint thead, tbody et la ligne survolee : on les neutralise. */
html.consultant-paris-theme .outils-auto-page .own-band .compare-table thead,
html.consultant-paris-theme .outils-auto-page .own-band .compare-table tbody,
html.consultant-paris-theme .outils-auto-page .own-band .compare-table tbody tr:hover {
    background: transparent;
}

html.consultant-paris-theme .outils-auto-page .own-band .compare-table th,
html.consultant-paris-theme .outils-auto-page .own-band .compare-table td {
    border-color: color-mix(in oklch, var(--cp-surface) 16%, transparent);
}

html.consultant-paris-theme .outils-auto-page .own-band .compare-table thead th {
    background: color-mix(in oklch, var(--cp-surface) 7%, transparent);
    border-bottom: 2px solid var(--cp-clay);
    color: var(--cp-surface);
}

html.consultant-paris-theme .outils-auto-page .own-band .compare-table tbody th {
    color: color-mix(in oklch, var(--cp-surface) 92%, transparent);
    font-size: 1rem;
    width: 24%;
}

html.consultant-paris-theme .outils-auto-page .own-band .compare-table td {
    color: color-mix(in oklch, var(--cp-surface) 74%, transparent);
}

html.consultant-paris-theme .outils-auto-page .own-band .compare-table td:last-child {
    color: var(--cp-surface);
}

html.consultant-paris-theme .outils-auto-page .own-band .compare-table tbody tr:hover > * {
    background: transparent;
}

/* ------------------------------------------------------------------
   LISTE DES RISQUES — liens soulignes (la base ne souligne que p a).
   ------------------------------------------------------------------ */

html.consultant-paris-theme .consultant-paris-page.outils-auto-page .checklist a {
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

html.consultant-paris-theme .outils-auto-page .checklist li {
    max-width: 86ch;
}

html.consultant-paris-theme .outils-auto-page .checklist + p {
    margin-top: 26px;
}

/* ------------------------------------------------------------------
   MON OUTIL DE CONTROLE — capture et texte, entre deux filets.
   ------------------------------------------------------------------ */

html.consultant-paris-theme .outils-auto-page .own-tool {
    align-items: center;
    border-bottom: 1px solid var(--cp-border);
    border-top: 1px solid var(--cp-border);
    display: grid;
    gap: 30px clamp(30px, 5vw, 64px);
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    margin: 44px 0 0;
    padding: 40px 0;
}

html.consultant-paris-theme .outils-auto-page .own-tool__figure {
    margin: 0;
    min-width: 0;
}

html.consultant-paris-theme .outils-auto-page .own-tool__kicker {
    color: var(--cp-clay-dark);
    font-size: 0.72rem;
    font-weight: 750;
    letter-spacing: 0.1em;
    margin: 0 0 10px;
    text-transform: uppercase;
}

html.consultant-paris-theme .consultant-paris-page.outils-auto-page .own-tool h3 {
    font-size: clamp(1.5rem, 2.6vw, 1.95rem);
    margin: 0 0 14px;
    max-width: 22ch;
}

html.consultant-paris-theme .outils-auto-page .own-tool__text p:last-child {
    margin-bottom: 0;
    max-width: 60ch;
}

/* ------------------------------------------------------------------
   POUR ALLER PLUS LOIN — index editorial : une ligne par contenu, le
   titre porte le lien et rend toute la ligne cliquable.
   ------------------------------------------------------------------ */

html.consultant-paris-theme .outils-auto-page .more-list {
    border-bottom: 1px solid var(--cp-border);
    list-style: none;
    margin: 30px 0 0;
    padding: 0;
}

html.consultant-paris-theme .outils-auto-page .more-row {
    align-items: baseline;
    border-top: 1px solid var(--cp-border);
    display: grid;
    gap: 6px clamp(18px, 3vw, 36px);
    grid-template-columns: 110px minmax(0, 1fr) auto;
    padding: 22px 0;
    position: relative;
}

html.consultant-paris-theme .outils-auto-page .more-row__kind {
    color: var(--cp-clay-dark);
    font-size: 0.7rem;
    font-weight: 750;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

html.consultant-paris-theme .consultant-paris-page.outils-auto-page .more-row__title {
    font-size: clamp(1.14rem, 1.9vw, 1.32rem);
    line-height: 1.3;
    margin: 0 0 5px;
}

html.consultant-paris-theme .consultant-paris-page.outils-auto-page a.more-row__link {
    color: var(--cp-heading);
    text-decoration: none;
}

html.consultant-paris-theme .outils-auto-page .more-row__link::after {
    content: "";
    inset: 0;
    position: absolute;
}

html.consultant-paris-theme .consultant-paris-page.outils-auto-page .more-row:hover a.more-row__link {
    color: var(--cp-accent);
}

html.consultant-paris-theme .outils-auto-page .more-row__desc {
    color: var(--cp-muted);
    font-size: 0.92rem;
    line-height: 1.55;
    margin: 0;
    max-width: 70ch;
}

html.consultant-paris-theme .outils-auto-page .more-row__arrow {
    color: var(--cp-clay);
    font-size: 1.15rem;
    transition: transform 180ms ease;
}

html.consultant-paris-theme .outils-auto-page .more-row:hover .more-row__arrow {
    transform: translateX(4px);
}

/* ------------------------------------------------------------------
   CONSEIL FINAL — clair (le bandeau encre est deja pris plus haut).
   ------------------------------------------------------------------ */

html.consultant-paris-theme .outils-auto-page .closing-note {
    border-top: 1px solid var(--cp-border);
    margin: 78px 0 0;
    padding-top: 22px;
}

html.consultant-paris-theme .outils-auto-page .closing-note::before {
    background: var(--cp-clay);
    content: "";
    display: block;
    height: 3px;
    margin: -24px 0 20px;
    width: 46px;
}

html.consultant-paris-theme .outils-auto-page .closing-note p {
    color: var(--cp-heading);
    font-family: var(--font-serif-stack);
    font-size: clamp(1.14rem, 1.9vw, 1.36rem);
    line-height: 1.55;
    max-width: 58ch;
}

html.consultant-paris-theme .outils-auto-page .closing-note .closing-note__meta {
    color: var(--cp-muted);
    font-family: var(--font-sans-stack);
    font-size: 0.82rem;
    margin: 26px 0 0;
    max-width: none;
}

/* ------------------------------------------------------------------
   RESPONSIVE — invariant 4.
   ------------------------------------------------------------------ */

@media (max-width: 960px) {
    html.consultant-paris-theme .consultant-paris-page.outils-auto-page .hero-section::before,
    html.consultant-paris-theme .consultant-paris-page.outils-auto-page .hero-section h1,
    html.consultant-paris-theme .consultant-paris-page.outils-auto-page .hero-section .subtitle,
    html.consultant-paris-theme .consultant-paris-page.outils-auto-page .hero-section .cta-button {
        grid-column: 1 / -1;
    }

    html.consultant-paris-theme .consultant-paris-page.outils-auto-page .hero-section .cta-button {
        grid-row: 4;
    }

    /* Le sommaire visuel passe sous le bouton : cinq vignettes egales. */
    html.consultant-paris-theme .outils-auto-page .hero-ranking {
        grid-column: 1 / -1;
        grid-row: 5;
        grid-template-columns: repeat(5, minmax(0, 1fr));
        margin-top: 14px;
    }

    html.consultant-paris-theme .outils-auto-page .hero-tile--first {
        grid-column: auto;
    }

    html.consultant-paris-theme .outils-auto-page .hero-tile--first img {
        border-radius: 6px;
        box-shadow: none;
    }

    html.consultant-paris-theme .outils-auto-page .hero-tile--first .hero-tile__label {
        font-family: var(--font-sans-stack);
        font-size: 0.74rem;
        font-weight: 750;
        gap: 6px;
        margin-top: 7px;
    }

    html.consultant-paris-theme .outils-auto-page .page-intro {
        grid-template-columns: 1fr;
    }

    html.consultant-paris-theme .outils-auto-page .chain {
        gap: 30px 0;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    html.consultant-paris-theme .outils-auto-page .rank-grid {
        gap: 30px;
        grid-template-columns: 1fr;
    }

    html.consultant-paris-theme .outils-auto-page .tool-facts {
        gap: 0 clamp(24px, 4vw, 44px);
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    html.consultant-paris-theme .outils-auto-page .tool-facts div:nth-child(2) {
        border-top: 0;
        padding-top: 0;
    }

    html.consultant-paris-theme .outils-auto-page .own-band__lead,
    html.consultant-paris-theme .outils-auto-page .own-tool {
        grid-template-columns: 1fr;
    }

    html.consultant-paris-theme .outils-auto-page .own-band__figure,
    html.consultant-paris-theme .outils-auto-page .own-tool__figure {
        max-width: 560px;
    }
}

@media (max-width: 720px) {
    html.consultant-paris-theme .consultant-paris-page.outils-auto-page .hero-section h1 {
        font-size: clamp(2.05rem, 9.4vw, 2.8rem);
        max-width: none;
    }

    /* Le hero de base passe en colonne (flex + order). */
    html.consultant-paris-theme .outils-auto-page .hero-ranking {
        gap: 14px 10px;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-top: 6px;
        order: 6;
    }

    html.consultant-paris-theme .outils-auto-page .hero-tile--first {
        grid-column: 1 / -1;
    }

    html.consultant-paris-theme .outils-auto-page .hero-tile--first .hero-tile__label {
        font-family: var(--font-serif-stack);
        font-size: 1.08rem;
        font-weight: 600;
        gap: 9px;
        margin-top: 9px;
    }

    html.consultant-paris-theme .outils-auto-page .page-intro {
        grid-template-columns: 1fr;
    }

    html.consultant-paris-theme .outils-auto-page .chain {
        gap: 28px 0;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    html.consultant-paris-theme .outils-auto-page .compare-table {
        min-width: 620px;
    }

    html.consultant-paris-theme .outils-auto-page .coverage-table,
    html.consultant-paris-theme .outils-auto-page .own-band .compare-table {
        min-width: 560px;
    }

    html.consultant-paris-theme .outils-auto-page .rank-entry {
        padding: 36px 0 42px;
    }

    html.consultant-paris-theme .outils-auto-page .rank-head {
        margin-bottom: 24px;
    }

    /* La pastille passe sous le rang, alignee a gauche. */
    html.consultant-paris-theme .outils-auto-page .rank-chip {
        display: table;
        margin: 6px 0 0;
    }

    html.consultant-paris-theme .outils-auto-page .rank-grid {
        gap: 26px;
        grid-template-columns: 1fr;
    }

    html.consultant-paris-theme .outils-auto-page .shot-frame--inset {
        margin: -16% -4px 0 auto;
        width: 64%;
    }

    html.consultant-paris-theme .outils-auto-page .tool-facts {
        grid-template-columns: 1fr;
    }

    html.consultant-paris-theme .outils-auto-page .tool-facts div:nth-child(2) {
        border-top: 1px solid var(--cp-border);
        padding-top: 13px;
    }

    html.consultant-paris-theme .outils-auto-page .own-band__lead,
    html.consultant-paris-theme .outils-auto-page .own-tool {
        grid-template-columns: 1fr;
    }

    html.consultant-paris-theme .outils-auto-page .own-tool {
        padding: 32px 0;
    }

    html.consultant-paris-theme .consultant-paris-page.outils-auto-page .own-band .cta-button {
        width: 100%;
    }

    html.consultant-paris-theme .outils-auto-page .more-row {
        grid-template-columns: minmax(0, 1fr) auto;
        padding: 20px 0;
    }

    html.consultant-paris-theme .outils-auto-page .more-row__kind {
        grid-column: 1 / -1;
    }

    html.consultant-paris-theme .outils-auto-page .closing-note {
        margin-top: 62px;
    }
}

@media (max-width: 390px) {
    html.consultant-paris-theme .outils-auto-page .chain-meter li {
        grid-template-columns: 16px minmax(0, 1fr);
    }

    html.consultant-paris-theme .outils-auto-page .chain-meter__note {
        grid-column: 2;
    }
}

@media (prefers-reduced-motion: reduce) {
    html.consultant-paris-theme .outils-auto-page .hero-tile img,
    html.consultant-paris-theme .outils-auto-page .more-row__arrow {
        transition: none;
    }

    html.consultant-paris-theme .outils-auto-page .hero-tile:hover img,
    html.consultant-paris-theme .outils-auto-page .more-row:hover .more-row__arrow {
        transform: none;
    }
}
