/* Plus Jakarta Sans (variable, 200-800), auto-hébergée : la CSP n'autorise que 'self' */
@font-face {
    font-family: "Plus Jakarta Sans";
    font-style: normal;
    font-weight: 200 800;
    font-display: swap;
    src: url("../fonts/plus-jakarta-sans-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: "Plus Jakarta Sans";
    font-style: normal;
    font-weight: 200 800;
    font-display: swap;
    src: url("../fonts/plus-jakarta-sans-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --black: #0a0a0a;
    --white: #ffffff;
    --gray: #6e6e73;
    --gray-lighter: #f5f5f7;
    --gray-light: #e3e3e3;
    --blue: #1d4ed8;
    --green: #1a7f4e;
    --max-width: 1000px;
    --side-padding: 3rem;
    --font-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-sans);
    color: var(--black);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

section {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 3.5rem var(--side-padding);
}

section + section {
    border-top: 1px solid var(--gray-light);
}

section h2 {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin: 0 0 1.5rem;
}

/* Header */
.site-header {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    column-gap: 1rem;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 2rem var(--side-padding);
}

.logo {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    text-transform: uppercase;
}

.logo .logo-primary {
    font-size: 0.85rem;
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1;
    color: var(--black);
}

.logo .logo-secondary {
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.03em;
    line-height: 1;
    color: var(--gray);
}

.site-header nav {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
}

.site-header nav > a {
    font-size: 0.95rem;
    color: var(--gray);
    transition: color 0.2s ease;
}

.site-header nav > a:hover,
.site-header nav > a.is-active {
    color: var(--black);
}

.site-header nav > a.is-active {
    font-weight: 500;
}

/* Dropdown "Offres" */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    font: inherit;
    font-size: 0.95rem;
    color: var(--gray);
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    transition: color 0.2s ease;
}

.nav-dropdown-toggle:hover,
.nav-dropdown:hover .nav-dropdown-toggle,
.nav-dropdown-toggle[aria-expanded="true"] {
    color: var(--black);
}

.nav-dropdown-caret {
    font-size: 0.7rem;
    transition: transform 0.2s ease;
}

.nav-dropdown-toggle[aria-expanded="true"] .nav-dropdown-caret {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 0.75rem);
    left: 0;
    min-width: 280px;
    background: var(--white);
    border: 1px solid var(--gray-light);
    border-radius: 12px;
    box-shadow: 0 16px 32px rgba(10, 10, 10, 0.08);
    padding: 0.5rem;
    z-index: 20;
}

/* Pont invisible qui comble l'espace entre "Offres" et le menu déroulant,
   pour que le survol ne se coupe pas en descendant vers les liens. */
.nav-dropdown-menu::before {
    content: "";
    position: absolute;
    top: -0.75rem;
    left: 0;
    right: 0;
    height: 0.75rem;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown-menu.is-open {
    display: block;
}

.nav-dropdown-menu a {
    display: block;
    padding: 0.65rem 0.75rem;
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--black);
    transition: background 0.15s ease;
}

.nav-dropdown-menu a:hover {
    background: var(--gray-lighter);
}

.cta-header {
    flex-shrink: 0;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 20;
    order: 1;
}

.menu-toggle-bar {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--black);
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(2) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Buttons */
.button {
    display: inline-block;
    padding: 0.7rem 1.4rem;
    background: var(--gray-light);
    color: var(--black);
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.button:hover {
    opacity: 0.9;
}

.button-icon {
    display: inline-flex;
    vertical-align: middle;
    margin-left: 0.3rem;
    transition: transform 0.2s ease;
}

.button-icon svg {
    width: 16px;
    height: 16px;
}

.button:hover .button-icon {
    transform: translateX(3px);
}

.button-primary {
    background: var(--black);
    color: var(--white);
}

.button-ghost {
    background: none;
    border: 1px solid var(--gray-light);
}

.button-ghost:hover {
    border-color: var(--black);
}

/* Hero */
.hero {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
}

.hero h1 {
    font-size: clamp(2rem, calc(3.4vw + 0.5rem), 2.9rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 1.3;
    margin: 0 0 0.9rem;
    max-width: none;
    white-space: nowrap;
}

.hero-emphasis {
    font-style: italic;
}

.hero-emphasis-text {
    position: relative;
    display: inline-block;
}

.hero-emphasis-underline {
    position: absolute;
    left: 0;
    bottom: -0.14em;
    width: 100%;
    height: 0.26em;
    color: var(--black);
    pointer-events: none;
}

.hero-emphasis-underline path {
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
}

.hero h1.is-visible .hero-emphasis-underline path {
    animation: draw-tier-underline 0.9s cubic-bezier(0.65, 0, 0.35, 1) forwards;
    animation-delay: 0.4s;
}

.hero .tagline {
    font-size: 1.2rem;
    color: var(--black);
    margin: 0 0 1.25rem;
    max-width: 46ch;
}

.hero-intro {
    color: var(--gray);
    margin: 0 0 2rem;
    max-width: 60ch;
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

/* Why */
.why p {
    max-width: 68ch;
    color: var(--gray);
}

.why p:first-of-type {
    color: var(--black);
}

/* Offers */
.offer-tier + .offer-tier {
    margin-top: 2.5rem;
}

.offer-tier-label {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--gray);
    margin: 0 0 1.6rem;
}

.offer-tier-label .offer-icon {
    width: 20px;
    height: 20px;
    margin: 0;
    color: var(--tier-color, var(--gray));
}

.offer-tier-label .offer-icon svg {
    width: 15px;
    height: 15px;
}

.tier-underline {
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 100%;
    height: 12px;
    pointer-events: none;
}

.tier-underline path {
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
}

.offer-tier-label.is-visible .tier-underline path {
    animation: draw-tier-underline 0.9s cubic-bezier(0.65, 0, 0.35, 1) forwards;
    animation-delay: 0.2s;
}

@keyframes draw-tier-underline {
    to {
        stroke-dashoffset: 0;
    }
}

[data-tier="0"] { --tier-color: #2f6fd1; }
[data-tier="1"] { --tier-color: #b9721b; }
[data-tier="2"] { --tier-color: #d34a4a; }

.tier-underline { color: var(--tier-color); }

.offers-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.offer-card {
    display: block;
    padding: 1.5rem;
    border: 1px solid var(--gray-light);
    border-radius: 12px;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.offer-card:hover {
    border-color: var(--black);
    transform: translateY(-2px);
}

.offer-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-bottom: 0.9rem;
    color: var(--black);
}

.offer-icon svg {
    width: 26px;
    height: 26px;
}

.offer-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin: 0 0 0.5rem;
}

.offer-card p {
    font-size: 0.95rem;
    color: var(--gray);
    margin: 0 0 0.75rem;
}

.offer-price {
    display: inline-flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.3rem;
    margin: 0;
}

.price-prefix {
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--gray);
}

.price-value {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--tier-color, var(--black));
}

.price-note {
    font-size: 0.72rem;
    color: var(--gray);
}

.offer-tier .reveal:nth-child(1) { transition-delay: 0ms; }
.offer-tier .reveal:nth-child(2) { transition-delay: 80ms; }

/* Pour qui */
.for-who-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 1.75rem;
}

.for-who-card h3 {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin: 0 0 0.4rem;
    white-space: nowrap;
}

.for-who-card p {
    font-size: 0.92rem;
    color: var(--gray);
    margin: 0;
}

.for-who-grid > .reveal:nth-child(1) { transition-delay: 0ms; }
.for-who-grid > .reveal:nth-child(2) { transition-delay: 80ms; }
.for-who-grid > .reveal:nth-child(3) { transition-delay: 160ms; }

/* Preuve */
.proof-intro {
    max-width: 60ch;
    color: var(--black);
    margin: 0 0 1.75rem;
}

.proof-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 68ch;
}

.proof-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--gray);
}

.list-icon {
    flex-shrink: 0;
    display: inline-flex;
    color: var(--black);
    margin-top: 0.15rem;
}

.list-icon svg {
    width: 18px;
    height: 18px;
}

.proof {
    background: var(--gray-lighter);
    border-radius: 20px;
}

.for-who + .proof {
    border-top: none;
    margin-top: 2rem;
}

.proof + .testimonials {
    border-top: none;
    margin-top: 2rem;
}

/* Témoignages */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.75rem;
}

.testimonial-card {
    display: flex;
    flex-direction: column;
    padding: 1.75rem;
    border: 1px solid var(--gray-light);
    border-radius: 12px;
    margin: 0;
}

.testimonial-mark {
    font-family: Georgia, serif;
    font-size: 3rem;
    line-height: 1;
    color: var(--gray-light);
    margin: 0 0 0.25rem;
}

.testimonial-quote {
    color: var(--black);
    margin: 0 0 1.25rem;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    margin-top: auto;
}

.testimonial-name {
    font-weight: 600;
    font-size: 0.92rem;
}

.testimonial-role {
    font-size: 0.85rem;
    color: var(--gray);
}

.proof-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    align-items: stretch;
    gap: 3rem;
}

.proof-photo {
    margin: 0;
}

.proof-photo img,
.proof-photo-placeholder {
    width: 100%;
    height: 100%;
    min-height: 320px;
    border-radius: 16px;
}

.proof-photo img {
    display: block;
    object-fit: cover;
}

.proof-photo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-light);
    color: var(--gray);
    font-size: 0.85rem;
    border: 1px dashed var(--gray);
    box-sizing: border-box;
}

.cadrage-cta {
    text-align: center;
}

.cadrage-cta h2 {
    margin-left: auto;
    margin-right: auto;
}

.cadrage-cta p:not(.reveal) {
    color: var(--gray);
}

.cadrage-cta > p {
    max-width: 52ch;
    margin-left: auto;
    margin-right: auto;
    color: var(--gray);
}

/* Hero de la page "Cadrage gratuit" */
.cadrage-hero {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 3rem;
}

.cadrage-hero .offer-tier-label {
    justify-content: center;
    margin: 0 0 1rem;
}

.cadrage-hero h1 {
    font-size: clamp(1.9rem, calc(2.4vw + 1rem), 2.6rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin: 0 0 1rem;
}

.cadrage-intro {
    color: var(--gray);
    font-size: 1.05rem;
    line-height: 1.65;
    max-width: 54ch;
    margin: 0 auto 1.75rem;
}

.cadrage-hero-cta {
    margin: 0 0 1.75rem;
}

.cadrage-trust {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem 1.5rem;
    margin: 0;
    padding: 0;
}

.cadrage-trust li {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.88rem;
    color: var(--gray);
}

.cadrage-trust .offer-icon {
    width: 18px;
    height: 18px;
    color: var(--black);
}

.cadrage-trust .offer-icon svg {
    width: 15px;
    height: 15px;
}

.cadrage-embed-section {
    margin: 0 0 3rem;
}

.cadrage-embed-section[hidden] {
    display: none;
}

.cadrage-embed {
    min-height: 600px;
    border: 1px solid var(--gray-light);
    border-radius: 16px;
    overflow: hidden;
}

/* Hero de la page "À propos" (texte + photo, réutilise .proof-grid /
   .proof-photo de la homepage) */
.about-hero {
    margin: 0 0 3rem;
}

.about-hero h1 {
    font-size: clamp(2rem, calc(2.6vw + 1rem), 2.75rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin: 0 0 0.75rem;
}

.about-tagline {
    font-size: 1.15rem;
    color: var(--black);
    margin: 0 0 1.25rem;
    max-width: 46ch;
}

/* Single article / page */
.single {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 3rem var(--side-padding) 5rem;
}

/* Pages offre : conteneur plus large pour laisser respirer le sommaire (TOC)
   et les grilles de cartes (Pour qui, bénéfices...). */
.single.offer-single {
    max-width: 1160px;
}

.single .back-link {
    display: inline-block;
    font-size: 0.9rem;
    color: var(--gray);
    margin-bottom: 2.5rem;
    transition: color 0.2s ease;
}

.single .back-link:hover {
    color: var(--black);
}

.single header {
    max-width: 800px;
    margin: 0 0 2.5rem;
}

.single header h1 {
    font-size: 2.25rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin: 0.4rem 0 0;
}

.offer-price-large {
    margin: 0.9rem 0 0;
}

.offer-price-large .price-prefix,
.offer-price-large .price-note {
    font-size: 0.85rem;
}

.offer-price-large .price-value {
    font-size: 1.4rem;
}

.offer-hero-image {
    /* --sbw = largeur de la barre de défilement (mesurée en JS, voir main.js).
       100vw dépasse la largeur réellement disponible quand le système réserve
       cet espace (ex. macOS avec "Toujours afficher les barres de défilement"),
       ce qui provoquait un scroll horizontal. */
    width: calc(100vw - var(--sbw, 0px));
    margin: 2.5rem calc(50% - 50vw + var(--sbw, 0px) / 2);
    padding: 0 2rem;
    box-sizing: border-box;
}

.offer-hero-image img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1600 / 700;
    object-fit: cover;
    border-radius: 10px;
}

.single .content {
    max-width: 680px;
    min-width: 0;
    font-size: 1.05rem;
    line-height: 1.75;
}

.single.offer-single .content {
    max-width: 780px;
}

/* La section "Ce que couvre cet échange" n'a pas besoin d'être alignée sur
   la colonne étroite du hero/intro (.cadrage-hero, 640px) : elle occupe
   toute la largeur disponible de l'article, comme .cadrage-embed-section,
   pour que les 3 cards respirent sans être écrasées par le texte le plus
   long. .single .content plafonne sinon à 680px et se retrouve, en plus,
   non centré (aligné à gauche) dans l'article. */
.cadrage-single .content {
    max-width: none;
}

.cadrage-single .benefit-card {
    padding: 1.5rem;
    gap: 1rem;
}

.single .content > *:first-child {
    margin-top: 0;
}

.single .content p {
    margin: 0 0 1.4rem;
}

.single .content h2 {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin: 2.5rem 0 1.3rem;
}

.section-icon {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    color: var(--tier-color, var(--gray));
}

.section-heading-text {
    position: relative;
    display: inline-block;
}

.section-underline {
    position: absolute;
    left: 0;
    bottom: -9px;
    width: 100%;
    height: 11px;
    color: var(--tier-color, var(--gray-light));
    pointer-events: none;
}

.single .content h3 {
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin: 2rem 0 0.75rem;
}

.single .content ul,
.single .content ol {
    margin: 0 0 1.4rem;
    padding-left: 1.25rem;
}

.single .content li {
    margin-bottom: 0.5rem;
}

.single .content ul li::marker {
    content: "✓  ";
    color: var(--black);
}

/* Cartes "Pour qui" / "Ce que vous repartez avec" (une icône par item,
   voir cards_for_lists dans pelicanconf.py) */
.benefit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
    margin: 0 0 1.4rem;
}

/* "Pour qui" a toujours exactement 3 items : colonnes fixes égales plutôt
   qu'auto-fit, pour éviter qu'une carte isolée sur sa propre ligne s'étire
   sur toute la largeur. */
.benefit-grid.audience-grid {
    grid-template-columns: repeat(3, 1fr);
}

.benefit-card {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    padding: 1.1rem;
    min-width: 0;
    border: 1px solid var(--gray-light);
    border-radius: 12px;
}

.benefit-card .offer-icon {
    margin: 0;
    color: var(--tier-color, var(--black));
}

.benefit-card p {
    margin: 0;
    font-size: 0.92rem;
    color: var(--gray);
    overflow-wrap: anywhere;
}

.benefit-card p strong {
    color: var(--black);
}

/* Pricing cards (tarifs / comparatif de versions, voir
   pricing_cards_for_table dans pelicanconf.py) */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
    margin: 0 0 1.4rem;
}

.pricing-card {
    display: flex;
    flex-direction: column;
    padding: 1.6rem;
    border: 1px solid var(--gray-light);
    border-radius: 14px;
}

.pricing-card.is-highlighted {
    border: 2px solid var(--tier-color, var(--black));
}

.single .content .pricing-card-title {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin: 0 0 0.6rem;
}

.pricing-card-price {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--tier-color, var(--black));
    margin: 0 0 1.25rem;
}

.pricing-card-price em {
    display: inline-block;
    margin-left: 0.3rem;
    font-size: 0.8rem;
    font-style: normal;
    font-weight: 500;
    color: var(--gray);
}

.pricing-card-features {
    list-style: none;
    margin: 0 0 1.25rem;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    flex: 1;
}

.single .content .pricing-card-features li::marker {
    content: "";
}

.pricing-card-features li {
    position: relative;
    padding-left: 1.4rem;
    font-size: 0.88rem;
}

.pricing-card-features li.is-included::before {
    content: "✓";
    position: absolute;
    left: 0;
    font-weight: 700;
    color: var(--tier-color, var(--black));
}

.pricing-card-features li.is-excluded {
    color: var(--gray);
}

.pricing-card-features li.is-excluded::before {
    content: "–";
    position: absolute;
    left: 0;
    color: var(--gray-light);
}

.pricing-card-ideal {
    margin: auto 0 0;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-light);
    font-size: 0.82rem;
    color: var(--gray);
}

.pricing-card-ideal strong {
    color: var(--black);
}

/* Timeline "Déroulé de la mission" (voir phase_timeline_for_table dans
   pelicanconf.py) */
.phase-timeline {
    margin: 0 0 1.4rem;
}

.phase-step {
    position: relative;
    display: flex;
    gap: 1.25rem;
    padding-bottom: 2.25rem;
}

.phase-step:last-child {
    padding-bottom: 0;
}

.phase-step:not(:last-child)::before {
    content: "";
    position: absolute;
    top: 44px;
    bottom: 0;
    left: 15px;
    width: 2px;
    background: var(--gray-light);
}

.phase-marker {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    margin-top: 12px;
    border-radius: 50%;
    border: 1.5px solid var(--tier-color, var(--black));
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
}

.phase-marker .offer-icon {
    margin: 0;
    width: 15px;
    height: 15px;
    color: var(--tier-color, var(--black));
}

.phase-marker .offer-icon svg {
    width: 15px;
    height: 15px;
}

.phase-content {
    flex: 1;
    min-width: 0;
}

.phase-header {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.6rem;
    min-height: 32px;
    margin: 0 0 0.5rem;
}

.single .content .phase-title {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1;
    margin: 0;
}

.phase-duration {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--tier-color, var(--gray));
    padding: 0.2rem 0.5rem;
    border: 1px solid var(--gray-light);
    border-radius: 999px;
    line-height: 1;
}

.phase-description {
    font-size: 0.92rem;
    color: var(--gray);
    line-height: 1.65;
    margin: 0;
}

/* Tableaux (comparatif d'offres, tarifs, déroulé de mission) */
.single .content table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 0 1.6rem;
    font-size: 0.95rem;
}

.single .content th,
.single .content td {
    text-align: left;
    padding: 0.8rem 1.1rem;
    border-bottom: 1px solid var(--gray-light);
}

.single .content thead th {
    font-weight: 600;
    color: var(--black);
    border-bottom: 2px solid var(--black);
}

.single .content tbody tr:last-child td {
    border-bottom: none;
}

.single .content tbody tr:hover {
    background: var(--gray-lighter);
}

.single .content a {
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-color: var(--gray-light);
    transition: text-decoration-color 0.2s ease;
    font-weight: 600;
}

.single .content a:hover {
    text-decoration-color: var(--black);
}

.single .content strong {
    font-weight: 600;
}

/* Un lien en gras ("**[Label](url)**") se comporte comme un CTA */
.single .content strong > a {
    display: inline-block;
    text-decoration: none;
    background: var(--black);
    color: var(--white);
    padding: 0.7rem 1.4rem;
    border-radius: 8px;
    margin: 0.3rem 0.5rem 0.3rem 0;
    transition: opacity 0.2s ease;
}

.single .content strong > a:hover {
    opacity: 0.85;
}

.single .content hr {
    border: none;
    border-top: 1px solid var(--gray-light);
    margin: 2.5rem 0;
}

.single .content blockquote {
    margin: 0 0 1.4rem;
    padding-left: 1.25rem;
    border-left: 2px solid var(--black);
    color: var(--gray);
    font-style: italic;
}

.offer-bottom-cta {
    max-width: 680px;
    margin-top: 1rem;
}

/* Sommaire (table des matières) */
.article-body {
    display: flex;
    align-items: flex-start;
    gap: 3.5rem;
}

.article-toc {
    display: none;
    position: sticky;
    top: 2.5rem;
    flex-shrink: 0;
    width: 190px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

@media (min-width: 1150px) {
    .article-toc.has-items {
        display: block;
    }
}

.article-toc.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.article-toc-top {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.8rem;
    color: var(--gray);
    margin: 0 0 1.1rem;
    padding-bottom: 0.9rem;
    border-bottom: 1px solid var(--gray-light);
    width: 100%;
    transition: color 0.2s ease;
}

.article-toc-top:hover {
    color: var(--black);
}

.article-toc-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--gray);
    margin: 0 0 0.9rem;
}

.article-toc ul {
    list-style: none;
    margin: 0;
    padding: 0;
    border-left: 1px solid var(--gray-light);
}

.article-toc li {
    margin: 0;
}

.article-toc a {
    display: block;
    padding: 0.35rem 0 0.35rem 0.9rem;
    margin-left: -1px;
    border-left: 1px solid transparent;
    font-size: 0.85rem;
    color: var(--gray);
    line-height: 1.4;
    transition: color 0.25s ease, border-color 0.25s ease;
}

.article-toc a:hover {
    color: var(--black);
}

.article-toc a.is-active {
    color: var(--black);
    font-weight: 500;
    border-left-color: var(--tier-color, var(--black));
}

/* Footer */
.site-footer {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 2.5rem var(--side-padding) 3rem;
    border-top: 1px solid var(--gray-light);
    font-size: 0.85rem;
    color: var(--gray);
}

.footer-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.5rem;
    margin: 0 0 1.5rem;
}

.footer-brand .logo {
    margin-bottom: 0.3rem;
}

.footer-location {
    margin: 0;
}

.footer-icons {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex-shrink: 0;
}

.footer-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    color: var(--gray);
    transition: color 0.2s ease, transform 0.2s ease;
}

.footer-icon svg {
    width: 18px;
    height: 18px;
}

.footer-icon:hover {
    color: var(--black);
    transform: translateY(-2px);
}

.site-footer p {
    margin: 0 0 0.3rem;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Animations d'apparition (au chargement et au défilement) */
.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

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

/* Responsive */
@media (max-width: 700px) {
    :root {
        --side-padding: 1.5rem;
    }

    .menu-toggle {
        display: flex;
    }

    .site-header {
        display: flex;
        flex-wrap: wrap;
        gap: 0.75rem 1rem;
        position: relative;
        align-items: flex-start;
    }

    .cta-header {
        order: 2;
    }

    .site-header nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        margin-left: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: var(--white);
        border-top: 1px solid var(--gray-light);
        border-bottom: 1px solid var(--gray-light);
        box-shadow: 0 12px 24px rgba(10, 10, 10, 0.06);
        z-index: 15;
    }

    .site-header nav.is-open {
        display: flex;
    }

    .site-header nav > a,
    .nav-dropdown-toggle {
        padding: 1rem var(--side-padding);
        border-top: 1px solid var(--gray-light);
        width: 100%;
        text-align: left;
    }

    .site-header nav > a:first-child {
        border-top: none;
    }

    .nav-dropdown {
        width: 100%;
    }

    .nav-dropdown-menu {
        position: static;
        border: none;
        box-shadow: none;
        border-radius: 0;
        background: var(--gray-lighter);
        display: none;
        padding: 0 0 0 var(--side-padding);
    }

    .nav-dropdown-menu.is-open {
        display: block;
    }

    body.nav-open {
        overflow: hidden;
    }

    .hero h1 {
        font-size: 2rem;
        max-width: none;
        white-space: normal;
    }

    .single header h1 {
        font-size: 2rem;
    }

    .offers-grid,
    .for-who-grid,
    .benefit-grid.audience-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .proof-grid {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }

    .proof-photo img,
    .proof-photo-placeholder {
        min-height: 220px;
    }

    .single .content th,
    .single .content td {
        padding: 0.6rem 0.5rem;
        font-size: 0.88rem;
    }

    .offer-hero-image {
        padding: 0 1rem;
    }

    .footer-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .footer-icons {
        margin-left: -0.4rem;
    }
}
