/*
 * Consultant SEO freelance (/consultant-seo-freelance) — surcouche des landings.
 *
 * DEPEND DE, dans cet ordre : consultant-seo-paris.css (tokens --cp-* et
 * composants .hero-section, .stats-*, .info-box, .checklist, .profile-section,
 * .final-cta, .cta-button), puis coaching-seo.css (.process-*, .compare-table,
 * icones des .info-box, .cta-meta). Charge APRES ces deux feuilles : a
 * specificite egale avec coaching-seo.css, l'ordre de chargement tranche.
 *
 * INVARIANTS :
 *   1. Tout selecteur contient .consultant-freelance-page (ou la classe html
 *      .consultant-freelance-theme pour #main-content) : aucune regle ne sort
 *      de cette page.
 *   2. Les surcharges des regles de base utilisent le compose sans espace
 *      .consultant-paris-page.consultant-freelance-page.
 *   3. Toute surcharge de grille ou de taille ecrite hors media query a son
 *      pendant dans les media queries de fin de fichier.
 *
 * Refonte du 2026-11-17 : haut de page aligne sur /coaching-seo (filet rouge,
 * H1 Playfair pleine largeur, accroche serif, description, CTA), portrait
 * conserve a droite sous le H1, sections a filets sans cartes colorees.
 */

/* ------------------------------------------------------------------
   BANDEAU DE VEILLE : a 1320 px et moins le menu fait 70 px, mais
   .main-full garde 100 px de marge jusqu'au premier defilement, ce qui
   laissait 30 px vides sous la veille (14 px sous 720 px, marge 84 px du
   fichier de base). Meme correction que les barometres.
   ------------------------------------------------------------------ */

@media (max-width: 1320px) {
    html.consultant-paris-theme.consultant-freelance-theme #main-content.main-full {
        margin-top: 70px;
    }
}

/* Icones Font Awesome inline (partials/fa_icons.html) */
html.consultant-paris-theme .consultant-freelance-page .svg-inline--fa {
    display: inline-block;
    height: 1em;
    overflow: visible;
    vertical-align: -0.125em;
}

/* ------------------------------------------------------------------
   HERO
   ------------------------------------------------------------------ */

html.consultant-paris-theme .consultant-paris-page.consultant-freelance-page .hero-section {
    display: block;
    margin: 0 0 54px;
    padding: clamp(24px, 2.6vw, 36px) 0 clamp(44px, 5vw, 64px);
}

/* Le filet rouge du gabarit passe devant le surtitre. */
html.consultant-paris-theme .consultant-paris-page.consultant-freelance-page .hero-section::before {
    display: none;
}

html.consultant-paris-theme .consultant-freelance-page .hero-eyebrow {
    align-items: center;
    color: var(--cp-clay-dark);
    display: flex;
    font-size: 0.74rem;
    font-weight: 700;
    gap: 14px;
    letter-spacing: 0.12em;
    line-height: 1.3;
    margin: 0 0 18px;
    text-transform: uppercase;
}

html.consultant-paris-theme .consultant-freelance-page .hero-eyebrow::before {
    background: var(--cp-accent);
    content: "";
    flex: 0 0 52px;
    height: 3px;
}

/* Pleine largeur, sans plafond en ch : 3 lignes en bureau au lieu de 5.
   La pente douce garde un titre fort quand la fenetre retrecit
   (85 px a 1440, 69 px a 1024, 59 px a 768, au lieu de 75 / 53 / 46). */
html.consultant-paris-theme .consultant-paris-page.consultant-freelance-page .hero-section h1 {
    font-size: clamp(2.6rem, 1.6rem + 3.9vw, 4.85rem);
    line-height: 1.02;
    max-width: none;
    padding-top: 0;
}

html.consultant-paris-theme .consultant-freelance-page .hero-section h1 em {
    color: var(--cp-accent);
    font-style: normal;
}

html.consultant-paris-theme .consultant-freelance-page .hero-body {
    align-items: start;
    display: grid;
    gap: clamp(32px, 5vw, 72px);
    grid-template-columns: minmax(0, 1fr) 296px;
    margin-top: clamp(26px, 2.8vw, 36px);
}

html.consultant-paris-theme .consultant-paris-page.consultant-freelance-page .hero-section .subtitle {
    font-size: clamp(1.18rem, 1.9vw, 1.42rem);
    margin: 0;
    max-width: 36ch;
}

html.consultant-paris-theme .consultant-paris-page.consultant-freelance-page .hero-section .description {
    margin: 18px 0 0;
    max-width: 62ch;
}

html.consultant-paris-theme .consultant-freelance-page .hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

html.consultant-paris-theme .consultant-paris-page.consultant-freelance-page .hero-section .cta-button {
    margin: 0;
}

/* Bouton secondaire : contour, jamais de fond clair. */
html.consultant-paris-theme .consultant-paris-page.consultant-freelance-page .cta-button--ghost {
    background: transparent;
    border-color: color-mix(in oklch, var(--cp-heading) 28%, var(--cp-border));
    color: var(--cp-heading);
}

html.consultant-paris-theme .consultant-paris-page.consultant-freelance-page .cta-button--ghost:hover {
    background: transparent;
    border-color: var(--cp-accent);
    color: var(--cp-accent);
}

/* Portrait : meme cadre que le hero de /consultant-seo-paris. */
html.consultant-paris-theme .consultant-freelance-page .hero-portrait {
    background: var(--cp-clay-soft);
    border: 1px solid var(--cp-border);
    justify-self: end;
    margin: 0;
    padding: 8px;
    position: relative;
    width: 296px;
}

html.consultant-paris-theme .consultant-freelance-page .hero-portrait::after {
    border-bottom: 1px solid var(--cp-clay);
    border-right: 1px solid var(--cp-clay);
    bottom: -8px;
    content: "";
    height: 42%;
    pointer-events: none;
    position: absolute;
    right: -8px;
    width: 42%;
}

html.consultant-paris-theme .consultant-freelance-page .hero-portrait picture {
    display: block;
}

html.consultant-paris-theme .consultant-freelance-page .hero-portrait img {
    aspect-ratio: 1 / 1;
    display: block;
    height: auto;
    object-fit: cover;
    width: 100%;
}

html.consultant-paris-theme .consultant-freelance-page .hero-portrait figcaption {
    color: var(--cp-muted);
    font-size: 0.74rem;
    line-height: 1.45;
    margin: 0;
    padding: 9px 2px 1px;
}

/* ------------------------------------------------------------------
   ENCADRES (info-box du gabarit) et these a filet
   ------------------------------------------------------------------ */

html.consultant-paris-theme .consultant-paris-page.consultant-freelance-page .info-box p {
    margin: 0;
    max-width: 78ch;
}

html.consultant-paris-theme .consultant-freelance-page .info-box .info-box-label {
    color: var(--cp-heading);
    margin: 0 0 8px;
}

html.consultant-paris-theme .consultant-freelance-page .info-box strong {
    color: var(--cp-heading);
}

html.consultant-paris-theme .consultant-freelance-page .fl-thesis {
    border-left: 3px solid var(--cp-clay);
    margin: 18px 0 0;
    max-width: 80ch;
    padding: 4px 0 4px 22px;
}

html.consultant-paris-theme .consultant-freelance-page .fl-thesis-label {
    color: var(--cp-clay-dark);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin: 0 0 8px;
    text-transform: uppercase;
}

html.consultant-paris-theme .consultant-freelance-page .fl-thesis p:last-child {
    color: var(--cp-heading);
    font-family: var(--font-serif-stack);
    font-size: 1.12rem;
    line-height: 1.55;
    margin: 0;
}

/* ------------------------------------------------------------------
   CHIFFRES : 4 et 6 valeurs sur les filets verticaux du gabarit
   ------------------------------------------------------------------ */

html.consultant-paris-theme .consultant-paris-page.consultant-freelance-page .stats-section--ruled {
    margin-top: 72px;
    padding-top: 0;
}

html.consultant-paris-theme .consultant-paris-page.consultant-freelance-page .stats-grid--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

html.consultant-paris-theme .consultant-paris-page.consultant-freelance-page .stats-grid--6 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 34px;
}

html.consultant-paris-theme .consultant-paris-page.consultant-freelance-page .stats-grid--4 .stat-item {
    padding: 4px clamp(16px, 2.2vw, 30px);
}

html.consultant-paris-theme .consultant-paris-page.consultant-freelance-page .stats-grid--6 .stat-item:nth-child(3n + 1),
html.consultant-paris-theme .consultant-paris-page.consultant-freelance-page .stats-grid--4 .stat-item:first-child {
    border-left: 0;
    padding-left: 0;
}

html.consultant-paris-theme .consultant-paris-page.consultant-freelance-page .stats-grid--4 .stat-number {
    font-size: clamp(2.1rem, 3.4vw, 2.9rem);
}

/* « Position #1 » doit tenir sur une ligne dans le quart de colonne. */
html.consultant-paris-theme .consultant-paris-page.consultant-freelance-page .stats-grid--results .stat-number {
    font-size: clamp(1.9rem, 2.6vw, 2.35rem);
    white-space: nowrap;
}

html.consultant-paris-theme .consultant-paris-page.consultant-freelance-page .stats-grid--results {
    margin-top: 34px;
}

html.consultant-paris-theme .consultant-paris-page.consultant-freelance-page .stats-grid--6 .stat-number {
    font-size: clamp(2.3rem, 4vw, 3.4rem);
}

html.consultant-paris-theme .consultant-freelance-page .stat-client {
    color: var(--cp-heading);
    display: block;
    font-family: var(--font-serif-stack);
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.3;
    margin-top: 12px;
}

html.consultant-paris-theme .consultant-paris-page.consultant-freelance-page .stat-client + .stat-label {
    margin-top: 6px;
}

/* ------------------------------------------------------------------
   SECTIONS : filet + trait argile comme les H2 de /coaching-seo
   ------------------------------------------------------------------ */

html.consultant-paris-theme .consultant-freelance-page .fl-section {
    margin-top: 78px;
}

html.consultant-paris-theme .consultant-paris-page.consultant-freelance-page .fl-section > h2 {
    border-top: 1px solid var(--cp-border);
    margin: 0 0 20px;
    max-width: 27ch;
    padding-top: 22px;
}

html.consultant-paris-theme .consultant-freelance-page .fl-section > h2::before {
    background: var(--cp-clay);
    content: "";
    display: block;
    height: 3px;
    margin: -24px 0 20px;
    width: 46px;
}

html.consultant-paris-theme .consultant-freelance-page .fl-section > p {
    max-width: 76ch;
}

/* Grille a filets (prestations, systeme SEO IA) : pas de cartes colorees. */
html.consultant-paris-theme .consultant-freelance-page .fl-ruled-grid {
    display: grid;
    gap: 0 40px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 32px 0 0;
}

html.consultant-paris-theme .consultant-freelance-page .fl-ruled-item {
    border-top: 2px solid var(--cp-clay);
    min-width: 0;
    padding: 22px 4px 30px 0;
}

html.consultant-paris-theme .consultant-freelance-page .fl-ruled-icon {
    color: var(--cp-clay-dark);
    display: block;
    font-size: 1.15rem;
    line-height: 1;
    margin-bottom: 14px;
}

html.consultant-paris-theme .consultant-paris-page.consultant-freelance-page .fl-ruled-item h3 {
    font-size: clamp(1.22rem, 1.8vw, 1.42rem);
    line-height: 1.25;
    margin: 0 0 10px;
}

html.consultant-paris-theme .consultant-paris-page.consultant-freelance-page .fl-ruled-item p {
    color: var(--cp-muted);
    font-size: 0.96rem;
    line-height: 1.6;
    margin: 0;
}

/* ------------------------------------------------------------------
   PREUVE : consultants GEO les plus cites par ChatGPT
   ------------------------------------------------------------------ */

html.consultant-paris-theme .consultant-freelance-page .proof-chart {
    border-bottom: 1px solid var(--cp-border);
    display: grid;
    gap: 0;
    list-style: none;
    margin: 30px 0 20px;
    padding: 0;
}

html.consultant-paris-theme .consultant-freelance-page .proof-row {
    align-items: center;
    border-top: 1px solid var(--cp-border);
    display: grid;
    gap: 18px;
    grid-template-columns: 250px minmax(0, 1fr) max-content;
    padding: 13px 0;
}

html.consultant-paris-theme .consultant-freelance-page .proof-name {
    color: var(--cp-text);
    font-size: 0.95rem;
    font-weight: 600;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

html.consultant-paris-theme .consultant-freelance-page .proof-row--me .proof-name {
    color: var(--cp-heading);
    font-weight: 700;
}

html.consultant-paris-theme .consultant-freelance-page .proof-badge {
    background: var(--cp-accent);
    border-radius: 4px;
    color: var(--cp-surface);
    display: inline-block;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    margin-left: 8px;
    padding: 2px 7px;
    text-transform: uppercase;
    vertical-align: 0.15em;
}

html.consultant-paris-theme .consultant-freelance-page .proof-bar-track {
    background: color-mix(in oklch, var(--cp-border) 55%, transparent);
    border-radius: 999px;
    display: block;
    height: 10px;
    overflow: hidden;
}

html.consultant-paris-theme .consultant-freelance-page .proof-bar {
    background: color-mix(in oklch, var(--cp-muted) 45%, var(--cp-border));
    border-radius: 999px;
    display: block;
    height: 100%;
}

html.consultant-paris-theme .consultant-freelance-page .proof-row--me .proof-bar {
    background: var(--cp-accent);
}

html.consultant-paris-theme .consultant-freelance-page .proof-value {
    color: var(--cp-muted);
    font-size: 0.86rem;
    font-variant-numeric: tabular-nums;
    text-align: right;
    white-space: nowrap;
}

html.consultant-paris-theme .consultant-freelance-page .proof-row--me .proof-value {
    color: var(--cp-accent);
    font-weight: 700;
}

html.consultant-paris-theme .consultant-paris-page.consultant-freelance-page .proof-footnote {
    color: var(--cp-muted);
    font-size: 0.9rem;
    margin: 0;
    max-width: 76ch;
}

/* ------------------------------------------------------------------
   A PROPOS : panneau profil du gabarit, deux colonnes
   ------------------------------------------------------------------ */

html.consultant-paris-theme .consultant-paris-page.consultant-freelance-page .profile-section {
    margin-top: 78px;
}

html.consultant-paris-theme .consultant-freelance-page .fl-about {
    display: grid;
    gap: 0 clamp(32px, 4.5vw, 60px);
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
}

html.consultant-paris-theme .consultant-paris-page.consultant-freelance-page .fl-about h2 {
    font-size: clamp(1.85rem, 3.5vw, 2.75rem);
}

html.consultant-paris-theme .consultant-paris-page.consultant-freelance-page .fl-about p {
    color: var(--cp-text);
}

html.consultant-paris-theme .consultant-freelance-page .fl-about-side {
    border-left: 1px solid var(--cp-border);
    padding-left: clamp(24px, 3vw, 40px);
}

html.consultant-paris-theme .consultant-paris-page.consultant-freelance-page .fl-about-side h4 {
    margin: 0 0 12px;
}

html.consultant-paris-theme .consultant-paris-page.consultant-freelance-page .fl-about-side h4 + .checklist {
    margin-top: 6px;
}

html.consultant-paris-theme .consultant-paris-page.consultant-freelance-page .fl-about-side .fl-timeline + h4 {
    margin-top: 30px;
}

html.consultant-paris-theme .consultant-freelance-page .fl-timeline {
    list-style: none;
    margin: 0;
    padding: 0;
}

html.consultant-paris-theme .consultant-freelance-page .fl-timeline li {
    border-top: 1px solid var(--cp-border);
    font-size: 0.94rem;
    line-height: 1.6;
    padding: 12px 0;
}

html.consultant-paris-theme .consultant-freelance-page .fl-timeline li:last-child {
    border-bottom: 1px solid var(--cp-border);
}

html.consultant-paris-theme .consultant-freelance-page .fl-timeline strong {
    color: var(--cp-clay-dark);
}

html.consultant-paris-theme .consultant-paris-page.consultant-freelance-page .fl-about-side .checklist li {
    font-size: 0.94rem;
    line-height: 1.6;
}

html.consultant-paris-theme .consultant-freelance-page .fl-recognition {
    border-left: 3px solid var(--cp-clay);
    margin: 26px 0 0;
    padding: 4px 0 4px 18px;
}

html.consultant-paris-theme .consultant-paris-page.consultant-freelance-page .fl-recognition h3 {
    font-size: 1.15rem;
    margin: 0 0 6px;
}

html.consultant-paris-theme .consultant-paris-page.consultant-freelance-page .fl-recognition p {
    margin: 0;
}

/* ------------------------------------------------------------------
   PROCESS, COMPARAISON, FORMATS
   ------------------------------------------------------------------ */

/* Le style global des tableaux (site.css) pose un fond blanc, un en-tete
   bleute et un cadre arrondi : on garde seulement les filets. */
html.consultant-paris-theme .consultant-freelance-page .compare-table,
html.consultant-paris-theme .consultant-freelance-page .compare-table thead,
html.consultant-paris-theme .consultant-freelance-page .compare-table tbody,
html.consultant-paris-theme .consultant-freelance-page .compare-table tr {
    background: transparent;
    border-radius: 0;
}

html.consultant-paris-theme .consultant-paris-page.consultant-freelance-page .compare-table {
    border: 0;
    overflow: visible;
}

html.consultant-paris-theme .consultant-paris-page.consultant-freelance-page .compare-table .highlight {
    color: var(--cp-heading);
    font-weight: 600;
}

html.consultant-paris-theme .consultant-freelance-page .fl-offers {
    display: grid;
    gap: 0 28px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 32px 0 0;
}

html.consultant-paris-theme .consultant-freelance-page .fl-offer {
    border-top: 2px solid var(--cp-clay);
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 22px 4px 26px 0;
}

html.consultant-paris-theme .consultant-freelance-page .fl-offer--recommended {
    border-top: 3px solid var(--cp-accent);
}

html.consultant-paris-theme .consultant-paris-page.consultant-freelance-page .fl-offer h3 {
    font-size: clamp(1.25rem, 1.9vw, 1.45rem);
    line-height: 1.25;
    margin: 0 0 8px;
}

html.consultant-paris-theme .consultant-freelance-page .fl-offer-badge {
    background: var(--cp-accent);
    border-radius: 4px;
    color: var(--cp-surface);
    display: inline-block;
    font-family: var(--font-sans-stack);
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    margin-left: 6px;
    padding: 3px 8px;
    text-transform: uppercase;
    vertical-align: 0.3em;
}

html.consultant-paris-theme .consultant-paris-page.consultant-freelance-page .fl-offer-tagline {
    color: var(--cp-muted);
    font-size: 0.94rem;
    line-height: 1.55;
    margin: 0;
}

html.consultant-paris-theme .consultant-paris-page.consultant-freelance-page .fl-offer .checklist {
    margin: 16px 0 0;
}

html.consultant-paris-theme .consultant-paris-page.consultant-freelance-page .fl-offer .checklist li {
    font-size: 0.92rem;
    line-height: 1.5;
}

html.consultant-paris-theme .consultant-paris-page.consultant-freelance-page .fl-offer .cta-button {
    align-self: flex-start;
    font-size: 0.84rem;
    margin-top: 20px;
    min-height: 44px;
    padding: 11px 14px;
}

/* ------------------------------------------------------------------
   FAQ : accordeons sur filets
   ------------------------------------------------------------------ */

html.consultant-paris-theme .consultant-freelance-page .fl-faq {
    border-bottom: 1px solid var(--cp-border);
    margin-top: 28px;
    max-width: 880px;
}

html.consultant-paris-theme .consultant-freelance-page .fl-faq details {
    border-top: 1px solid var(--cp-border);
}

html.consultant-paris-theme .consultant-freelance-page .fl-faq summary {
    align-items: baseline;
    color: var(--cp-heading);
    cursor: pointer;
    display: flex;
    font-family: var(--font-serif-stack);
    font-size: 1.16rem;
    font-weight: 600;
    gap: 18px;
    justify-content: space-between;
    line-height: 1.35;
    list-style: none;
    padding: 20px 0;
}

html.consultant-paris-theme .consultant-freelance-page .fl-faq summary::-webkit-details-marker {
    display: none;
}

html.consultant-paris-theme .consultant-freelance-page .fl-faq summary::after {
    color: var(--cp-accent);
    content: "+";
    flex: 0 0 auto;
    font-family: var(--font-sans-stack);
    font-size: 1.35rem;
    font-weight: 400;
    line-height: 1;
}

html.consultant-paris-theme .consultant-freelance-page .fl-faq details[open] summary::after {
    content: "\2212";
}

html.consultant-paris-theme .consultant-freelance-page .fl-faq summary:hover {
    color: var(--cp-accent);
}

html.consultant-paris-theme .consultant-freelance-page .fl-faq summary:focus-visible {
    border-radius: 4px;
    outline: 3px solid color-mix(in oklch, var(--cp-accent) 55%, transparent);
    outline-offset: 3px;
}

html.consultant-paris-theme .consultant-paris-page.consultant-freelance-page .fl-faq details p {
    color: var(--cp-muted);
    font-size: 0.97rem;
    margin: -4px 0 22px;
    max-width: 76ch;
}

/* ------------------------------------------------------------------
   CTA FINAL (bandeau encre du gabarit)
   ------------------------------------------------------------------ */

html.consultant-paris-theme .consultant-freelance-page .final-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 6px;
}

html.consultant-paris-theme .consultant-paris-page.consultant-freelance-page .final-cta .cta-button {
    margin: 0;
}

html.consultant-paris-theme .consultant-paris-page.consultant-freelance-page .final-cta .cta-button--ghost {
    border-color: color-mix(in oklch, var(--cp-surface) 38%, transparent);
    color: var(--cp-surface);
}

html.consultant-paris-theme .consultant-paris-page.consultant-freelance-page .final-cta .cta-button--ghost:hover {
    border-color: var(--cp-surface);
    color: var(--cp-surface);
}

html.consultant-paris-theme .consultant-paris-page.consultant-freelance-page .final-cta .fl-contact-info {
    border-top: 1px solid color-mix(in oklch, var(--cp-surface) 18%, transparent);
    color: color-mix(in oklch, var(--cp-surface) 68%, transparent);
    font-size: 0.9rem;
    line-height: 1.7;
    margin: 30px 0 0;
    padding-top: 20px;
}

/* ------------------------------------------------------------------
   ENCART « A DESTINATION DES AGENTS IA » (partials/view/ai_agent_queries.html)
   Filet seul comme .fl-thesis : pas de carte sur le papier de la page.
   Marge identique a toutes les largeurs (invariant 3 sans pendant).
   ------------------------------------------------------------------ */

html.consultant-paris-theme .consultant-paris-page.consultant-freelance-page .info-box.ai-agent-queries {
    background: transparent;
    border: 0;
    border-left: 3px solid var(--cp-clay);
    border-radius: 0;
    margin: 56px 0 0;
    max-width: 80ch;
    padding: 4px 0 4px 22px;
}

html.consultant-paris-theme .consultant-paris-page.consultant-freelance-page .ai-agent-queries .info-icon-title strong {
    color: var(--cp-clay-dark);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

html.consultant-paris-theme .consultant-paris-page.consultant-freelance-page .ai-agent-queries ul {
    color: var(--cp-muted);
    list-style: disc;
    margin: 10px 0 0;
    padding-left: 1.2em;
}

html.consultant-paris-theme .consultant-paris-page.consultant-freelance-page .ai-agent-queries li {
    margin: 4px 0;
}

/* ------------------------------------------------------------------
   RESPONSIVE (invariant 3)
   ------------------------------------------------------------------ */

/* Sous 1100 px, portrait reduit : les deux boutons du hero restent sur une
   ligne jusqu'a 961 px. */
@media (max-width: 1100px) {
    html.consultant-paris-theme .consultant-freelance-page .hero-body {
        grid-template-columns: minmax(0, 1fr) 240px;
    }

    html.consultant-paris-theme .consultant-freelance-page .hero-portrait {
        width: 240px;
    }
}

@media (max-width: 960px) {

    html.consultant-paris-theme .consultant-paris-page.consultant-freelance-page .stats-grid--4,
    html.consultant-paris-theme .consultant-paris-page.consultant-freelance-page .stats-grid--6 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 30px;
    }

    html.consultant-paris-theme .consultant-paris-page.consultant-freelance-page .stats-grid--6 .stat-item:nth-child(3n + 1) {
        border-left: 1px solid var(--cp-border);
        padding-left: clamp(20px, 3vw, 40px);
    }

    html.consultant-paris-theme .consultant-paris-page.consultant-freelance-page .stats-grid--4 .stat-item:nth-child(2n + 1),
    html.consultant-paris-theme .consultant-paris-page.consultant-freelance-page .stats-grid--6 .stat-item:nth-child(2n + 1) {
        border-left: 0;
        padding-left: 0;
    }

    html.consultant-paris-theme .consultant-freelance-page .fl-offers {
        gap: 0 22px;
    }

    html.consultant-paris-theme .consultant-freelance-page .proof-row {
        grid-template-columns: 210px minmax(0, 1fr) max-content;
    }
}

@media (max-width: 860px) {
    html.consultant-paris-theme .consultant-freelance-page .fl-about {
        grid-template-columns: 1fr;
    }

    html.consultant-paris-theme .consultant-freelance-page .fl-about-side {
        border-left: 0;
        border-top: 1px solid var(--cp-border);
        margin-top: 30px;
        padding: 28px 0 0;
    }

    html.consultant-paris-theme .consultant-freelance-page .fl-offers {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    html.consultant-paris-theme .consultant-paris-page.consultant-freelance-page .hero-section {
        display: block;
        margin-bottom: 42px;
        padding: 24px 0 44px;
    }

    html.consultant-paris-theme .consultant-paris-page.consultant-freelance-page .hero-section h1 {
        font-size: clamp(2.35rem, 1.1rem + 6.2vw, 3.1rem);
        max-width: none;
        padding-top: 0;
    }

    html.consultant-paris-theme .consultant-freelance-page .hero-eyebrow {
        font-size: 0.68rem;
        gap: 12px;
        margin-bottom: 14px;
    }

    html.consultant-paris-theme .consultant-freelance-page .hero-eyebrow::before {
        flex-basis: 36px;
    }

    html.consultant-paris-theme .consultant-freelance-page .hero-body {
        gap: 34px;
        grid-template-columns: minmax(0, 1fr);
        margin-top: 22px;
    }

    html.consultant-paris-theme .consultant-paris-page.consultant-freelance-page .hero-section .subtitle {
        font-size: 1.16rem;
    }

    html.consultant-paris-theme .consultant-freelance-page .hero-actions {
        flex-direction: column;
        margin-top: 24px;
    }

    html.consultant-paris-theme .consultant-paris-page.consultant-freelance-page .hero-section .cta-button {
        align-self: stretch;
        width: 100%;
    }

    html.consultant-paris-theme .consultant-freelance-page .hero-portrait {
        justify-self: start;
        margin-right: 8px;
        width: 264px;
    }

    html.consultant-paris-theme .consultant-paris-page.consultant-freelance-page .stats-grid--4,
    html.consultant-paris-theme .consultant-paris-page.consultant-freelance-page .stats-grid--6 {
        grid-template-columns: 1fr;
        row-gap: 0;
    }

    html.consultant-paris-theme .consultant-paris-page.consultant-freelance-page .stats-grid--4 .stat-item,
    html.consultant-paris-theme .consultant-paris-page.consultant-freelance-page .stats-grid--6 .stat-item,
    html.consultant-paris-theme .consultant-paris-page.consultant-freelance-page .stats-grid--4 .stat-item:nth-child(n),
    html.consultant-paris-theme .consultant-paris-page.consultant-freelance-page .stats-grid--6 .stat-item:nth-child(n) {
        border-left: 0;
        border-top: 1px solid var(--cp-border);
        padding: 22px 0;
    }

    html.consultant-paris-theme .consultant-paris-page.consultant-freelance-page .stats-grid--4 .stat-item:first-child,
    html.consultant-paris-theme .consultant-paris-page.consultant-freelance-page .stats-grid--6 .stat-item:first-child {
        border-top: 0;
        padding-top: 4px;
    }

    html.consultant-paris-theme .consultant-freelance-page .fl-section,
    html.consultant-paris-theme .consultant-paris-page.consultant-freelance-page .profile-section {
        margin-top: 62px;
    }

    html.consultant-paris-theme .consultant-paris-page.consultant-freelance-page .stats-section--ruled {
        margin-top: 58px;
    }

    html.consultant-paris-theme .consultant-freelance-page .fl-ruled-grid {
        grid-template-columns: 1fr;
    }

    html.consultant-paris-theme .consultant-freelance-page .fl-ruled-item {
        padding: 20px 0 26px;
    }

    /* Nom, barre puis valeur : le nom n'est jamais tronque. */
    html.consultant-paris-theme .consultant-freelance-page .proof-row {
        gap: 7px;
        grid-template-columns: minmax(0, 1fr);
        padding: 14px 0;
    }

    html.consultant-paris-theme .consultant-freelance-page .proof-name {
        white-space: normal;
    }

    html.consultant-paris-theme .consultant-freelance-page .proof-value {
        font-size: 0.82rem;
        text-align: left;
        white-space: normal;
    }

    html.consultant-paris-theme .consultant-freelance-page .fl-thesis p:last-child {
        font-size: 1.05rem;
    }

    html.consultant-paris-theme .consultant-freelance-page .fl-faq summary {
        font-size: 1.06rem;
        padding: 18px 0;
    }

    html.consultant-paris-theme .consultant-freelance-page .final-cta-actions {
        flex-direction: column;
    }

    html.consultant-paris-theme .consultant-paris-page.consultant-freelance-page .final-cta .cta-button {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    html.consultant-paris-theme .consultant-paris-page.consultant-freelance-page .cta-button,
    html.consultant-paris-theme .consultant-paris-page.consultant-freelance-page .cta-button:hover {
        transform: none;
        transition: none;
    }
}
