/*
Theme Name: LP Social
Theme URI: https://guilhemdelachapelle.com
Author: Guilhem Delachapelle
Author URI: https://guilhemdelachapelle.com
Description: Thème enfant de Hello Elementor pour LP Social.
Template: hello-elementor
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lp-social
*/

@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

:root {
    /* Polices */
    --font-heading: 'DM Serif Display', serif;
    --font-body: 'Montserrat', sans-serif;

    /* Teal */
    --color-teal: #1C5562;
    --color-teal-dark: #1F3E42;

    /* Or */
    --color-gold: #A3883E;

    /* Neutres */
    --color-ice: #F2F5F6;
    --color-cream: #FCF9F2;
    --color-white: #FFFFFF;

    /* Violet */
    --color-lavender-light: #EBE4FD;
    --color-lavender: #B79BFA;
    --color-purple-dark: #41365C;

    /* Cadre décoratif photo (réutilisable) */
    --photo-frame-color: var(--color-teal-dark);
    --photo-frame-offset: 28px;
}

/* ─── Typographie ─────────────────────────────────────────── */

body h1,
body h2,
body h3,
body h4,
body h5,
body h6 {
    font-family: var(--font-heading);
    color: var(--color-teal-dark);
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 0.5em;
    overflow-wrap: anywhere;
}

body h1 {
    font-size: 40px;
}

body h2 {
    font-size: 40px;
}

body h3 {
    font-size: 25px;
}

body h4 {
    font-size: 20px;
}

body h5 {
    font-size: 18px;
}

body h6 {
    font-size: 16px;
}

body p,
body li,
body a,
body label,
body input,
body textarea,
body select,
body button,
body blockquote,
body figcaption,
body td,
body th {
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--color-teal-dark);
    line-height: 1.6;
}

/* Les spans héritent tout de leur parent — seule exception : les spans de couleur dans les titres */
body h1 span,
body h2 span,
body h3 span,
body h4 span,
body h5 span,
body h6 span {
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    color: inherit;
}

body a {
    cursor: pointer !important;
    text-decoration: underline;
    text-underline-offset: 3px;
}

body a:hover {
    opacity: 0.8;
}

body blockquote {
    font-style: italic;
    border-left: 3px solid var(--color-teal);
    padding-left: 1em;
    margin-left: 0;
}

body strong,
body b {
    font-weight: 700;
}

body em,
body i {
    font-style: italic;
}


/* Avis Trustindex */

.ti-widget.ti-goog .ti-widget-container {
    text-align: left!important;
}

/* ─── Surtitre ────────────────────────────────────────────── */

.surtitre {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.surtitre__rameau {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.surtitre__text {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    line-height: 1;
}

/* ── Variante : teal (défaut) */
.surtitre--teal .surtitre__text {
    color: var(--color-teal-dark);
}

.surtitre--teal .rameau-feuilles {
    fill: var(--color-teal);
}

.surtitre--teal .rameau-boules {
    fill: var(--color-gold);
}

/* ── Variante : gold */
.surtitre--gold .surtitre__text {
    color: var(--color-gold);
}

.surtitre--gold .rameau-feuilles {
    fill: var(--color-gold);
}

.surtitre--gold .rameau-boules {
    fill: var(--color-teal);
}

/* ── Variante : lavender */
.surtitre--lavender .surtitre__text {
    color: var(--color-purple-dark);
}

.surtitre--lavender .rameau-feuilles {
    fill: var(--color-purple-dark);
}

.surtitre--lavender .rameau-boules {
    fill: var(--color-purple-dark);
}

/* ── Variante : purple */
.surtitre--purple .surtitre__text {
    color: var(--color-purple-dark);
}

.surtitre--purple .rameau-feuilles {
    fill: var(--color-purple-dark);
}

.surtitre--purple .rameau-boules {
    fill: var(--color-lavender);
}

/* ── Variante : white (sur fonds sombres) */
.surtitre--white .surtitre__text {
    color: var(--color-white);
}

.surtitre--white .rameau-feuilles {
    fill: var(--color-white);
}

.surtitre--white .rameau-boules {
    fill: var(--color-cream);
}

/* ─── Neutralise Hello Elementor — reset global boutons ───── */
/* [type=button]:hover a une spécificité (0,2,0) qui surclasse nos classes
   sans pseudo-classe. On force les états hover/focus/active ici. */

.btn,
.btn:hover,
.btn:focus,
.btn:active {
    border: none;
    text-decoration: none;
}

/* Fond — maintenu au survol et au focus */
.btn--bg-lavender:hover,
.btn--bg-lavender:focus {
    background-color: var(--color-lavender);
}

.btn--bg-teal:hover,
.btn--bg-teal:focus {
    background-color: var(--color-teal);
}

.btn--bg-teal-dark:hover,
.btn--bg-teal-dark:focus {
    background-color: var(--color-teal-dark);
}

.btn--bg-gold:hover,
.btn--bg-gold:focus {
    background-color: var(--color-gold);
}

.btn--bg-purple:hover,
.btn--bg-purple:focus {
    background-color: var(--color-purple-dark);
}

.btn--bg-white:hover,
.btn--bg-white:focus {
    background-color: var(--color-white);
}

.btn--bg-cream:hover,
.btn--bg-cream:focus {
    background-color: var(--color-cream);
}

.btn--bg-transparent:hover,
.btn--bg-transparent:focus {
    background-color: transparent;
}

/* Couleur texte — maintenue au survol et au focus */
.btn--color-white:hover,
.btn--color-white:focus {
    color: var(--color-white);
}

.btn--color-teal-dark:hover,
.btn--color-teal-dark:focus {
    color: var(--color-teal-dark);
}

.btn--color-teal:hover,
.btn--color-teal:focus {
    color: var(--color-teal);
}

.btn--color-gold:hover,
.btn--color-gold:focus {
    color: var(--color-gold);
}

.btn--color-lavender:hover,
.btn--color-lavender:focus {
    color: var(--color-lavender);
}

.btn--color-purple:hover,
.btn--color-purple:focus {
    color: var(--color-purple-dark);
}

/* ─── Boutons ─────────────────────────────────────────────── */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 36px;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: opacity 0.2s ease;
    text-align: center;
}

.btn:hover {
    opacity: 0.85;
}

/* ── Bouton CTA groupé (label + flèche dans un seul <a>) */
.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
}

/* Pas d'opacité parasite au survol des spans internes */
.btn-cta .btn:hover,
.btn-cta .btn:focus {
    opacity: 1;
}

/* ── Effet survol : vague de couleur qui circule entre label et flèche ── */

/* Conteneurs : on isole le stacking context et on cache ce qui dépasse */
.btn-cta .btn--solid,
.btn-cta .btn--arrow {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    transition: color 0.5s cubic-bezier(0.7, 0, 0.3, 1);
}

/* Vague colorée — un disque qui s'étend depuis le bord intérieur (côté gap) */
.btn-cta .btn--solid::before,
.btn-cta .btn--arrow::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    transition: clip-path 0.55s cubic-bezier(0.7, 0, 0.3, 1);
}

/* Le label se remplit depuis sa droite (côté flèche) */
.btn-cta .btn--solid::before {
    background-color: var(--abg);
    clip-path: circle(0% at 100% 50%);
}

/* La flèche se remplit depuis sa gauche (côté label) */
.btn-cta .btn--arrow::before {
    background-color: var(--lbg);
    clip-path: circle(0% at 0% 50%);
}

.btn-cta:hover .btn--solid::before,
.btn-cta:focus-visible .btn--solid::before {
    clip-path: circle(140% at 100% 50%);
}

.btn-cta:hover .btn--arrow::before,
.btn-cta:focus-visible .btn--arrow::before {
    clip-path: circle(140% at 0% 50%);
}

/* Texte : prend la couleur inversée — synchronisé avec la vague */
.btn-cta:hover .btn--solid,
.btn-cta:focus-visible .btn--solid {
    color: var(--ac);
}

.btn-cta:hover .btn--arrow,
.btn-cta:focus-visible .btn--arrow {
    color: var(--lc);
}

/* Léger rapprochement label ↔ flèche, comme attirés l'un vers l'autre */
.btn-cta {
    transition: gap 0.5s cubic-bezier(0.7, 0, 0.3, 1);
}

.btn-cta:hover,
.btn-cta:focus-visible {
    gap: 10px;
}

/* ── Animation de la flèche : envol NE + nouvelle flèche depuis SO ── */
.btn__arrow-icons {
    position: relative;
    display: block;
    width: 18px;
    height: 18px;
    overflow: hidden;
}

.btn__arrow-svg {
    position: absolute;
    inset: 0;
    transition: transform 0.5s cubic-bezier(0.7, 0, 0.3, 1);
}

.btn__arrow-svg--in {
    transform: translate(-140%, 140%);
}

/* Animation hover réservée aux viewports desktop (≥1024 px) —
   compatible DevTools mobile et évite le hover « collé » sur tactile. */
@media (min-width: 1024px) {
    .btn-cta:hover .btn__arrow-svg--out,
    .btn-cta:focus-visible .btn__arrow-svg--out {
        transform: translate(140%, -140%);
    }

    .btn-cta:hover .btn__arrow-svg--in,
    .btn-cta:focus-visible .btn__arrow-svg--in {
        transform: translate(0, 0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .btn-cta,
    .btn-cta .btn--solid,
    .btn-cta .btn--arrow,
    .btn-cta .btn--solid::before,
    .btn-cta .btn--arrow::before,
    .btn__arrow-svg {
        transition: none;
    }
    .btn__arrow-svg--in {
        opacity: 0;
    }
}

/* ── Couleurs de fond */
.btn--bg-lavender {
    background-color: var(--color-lavender);
}

.btn--bg-teal {
    background-color: var(--color-teal);
}

.btn--bg-teal-dark {
    background-color: var(--color-teal-dark);
}

.btn--bg-gold {
    background-color: var(--color-gold);
}

.btn--bg-purple {
    background-color: var(--color-purple-dark);
}

.btn--bg-white {
    background-color: var(--color-white);
}

.btn--bg-cream {
    background-color: var(--color-cream);
}

.btn--bg-transparent {
    background-color: transparent;
}

/* ── Couleurs de texte */
.btn--color-white {
    color: var(--color-white);
}

.btn--color-teal-dark {
    color: var(--color-teal-dark);
}

.btn--color-teal {
    color: var(--color-teal);
}

.btn--color-gold {
    color: var(--color-gold);
}

.btn--color-lavender {
    color: var(--color-lavender);
}

.btn--color-purple {
    color: var(--color-purple-dark);
}

/* ── Variante arrow */
.btn--arrow {
    padding: 0;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    flex-shrink: 0;
}

/* ── Variante outline */
.btn--outline {
    background-color: transparent;
    border: 2px solid currentColor;
}

/* ─── Hero Home ───────────────────────────────────────────── */

.hero-home {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
}

.hero-home__content {
    background-color: var(--color-cream);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 36px;
    padding: 100px 80px 100px 10%;
}

.hero-home__titre {
    font-size: 40px;
    color: var(--color-teal-dark);
    margin-bottom: 0;
}

/* Split-text : chaque mot est un inline-block animable.
   transform-origin bas-gauche pour des entrées qui "poussent" depuis la ligne. */
.split-word {
    display: inline-block;
    will-change: transform, opacity, filter;
}

/* Couleurs d'accent du titre */
.hero-home__titre-accent--lavender {
    color: var(--color-lavender);
}

.hero-home__titre-accent--gold {
    color: var(--color-gold);
}

.hero-home__titre-accent--teal {
    color: var(--color-teal);
}

.hero-home__titre-accent--purple {
    color: var(--color-purple-dark);
}

.hero-home__texte p {
    color: var(--color-teal-dark);
    font-size: 16px;
    line-height: 1.7;
    margin: 0;
}

.hero-home__cta {
    display: flex;
    align-items: center;
    gap: 16px;
}

.hero-home__image {
    position: relative;
    overflow: hidden;
}

.hero-home__image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

/* ─── Section Quote ───────────────────────────────────────── */

.section-quote {
    position: relative;
    background-color: var(--color-lavender-light);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
}

.section-quote__bg-svg {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.section-quote__bg-svg svg {
    width: 60%;
    max-width: 300px;
    height: auto;
    opacity: 0.05;
}

.section-quote__inner {
    position: relative;
    z-index: 1;
    padding: 100px 10%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-quote__blockquote {
    max-width: 860px;
    margin: 0;
    padding: 0;
    border: none;
    font-family: var(--font-heading);
    font-size: 30px;
    font-weight: 700;
    line-height: 1.6;
    font-style: normal;
    color: var(--color-purple-dark);
}

.quote-word {
    display: inline;
    opacity: 0.1;
}

/* ─── Section Scroll Features ─────────────────────────────── */

.section-scroll-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    transition: background-color 0.7s ease;
    /* la couleur de fond est définie inline (premier item) et animée par GSAP */
}

/* Colonne gauche : sticky */
.sf__left {
    position: sticky;
    top: 0;
    height: 100vh;
    align-self: start;
    display: flex;
    align-items: center;
}

.sf__left-inner {
    padding: 80px 60px 80px 10%;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.sf__titre {
    font-size: 40px;
    color: var(--color-teal-dark);
    margin: 0;
}

.sf__texte p {
    font-size: 16px;
    color: var(--color-teal-dark);
    line-height: 1.7;
    margin: 0;
}

/* Colonne droite : items défilants */
.sf__right {
    display: flex;
    flex-direction: column;
}

.sf-item {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px 10% 80px 60px;
    gap: 28px;
}

.sf-item__image {
    width: 200px;
}

.sf-item__image img {
    width: 100%;
    height: auto;
    display: block;
}

.sf-item__titre {
    font-size: 25px;
    color: var(--color-teal-dark);
    margin: 0;
}

.sf-item__texte p {
    font-size: 16px;
    color: var(--color-teal-dark);
    line-height: 1.7;
    margin: 0;
}

/* ─── Section Domaines ────────────────────────────────────── */

.section-domaines {
    padding: 100px 0 100px 10%;
    overflow: visible;
}

/* En-tête */
.di__header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
    padding-right: 10%;
    margin-bottom: 60px;
}

.di__header-left {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.di__titre {
    font-size: 40px;
    color: var(--color-teal-dark);
    margin: 0;
}

.di__intro p {
    font-size: 16px;
    color: var(--color-teal-dark);
    line-height: 1.7;
    margin: 0;
}

/* Grille (4 colonnes, cartes dépliables) — padding droit aligné sur le header */
.di-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-flow: row dense;
    align-items: start;
    gap: 16px;
    padding-right: 10%;
}

/* Carte fermée : toutes identiques (hauteur fixe). Teintes pilotées par les
   variables --bg / --edge / --deep / --lite définies en inline (par option ACF). */
.di-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 240px;
    overflow: hidden;
    padding: 22px;
    border-radius: 16px;
    background: var(--bg, var(--color-cream));
    border: 1px solid var(--edge, var(--color-lavender-light));
    color: var(--color-teal-dark);
    cursor: pointer;
    transition: box-shadow 0.26s ease, transform 0.26s ease;
}

.di-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 44px -24px rgba(28, 58, 68, 0.5);
}

.di-card:focus-visible {
    outline: 2px solid var(--deep);
    outline-offset: 3px;
}

.di-card--dark {
    color: var(--color-white);
}

/* Icône (image ACF) en filigrane de fond — centrée, atténuée, derrière le
   contenu, dans les deux états (fermé et ouvert). */
.di-card__icon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 0;
    pointer-events: none;
}

.di-card__icon img {
    width: auto;
    height: 150px;
    max-width: 78%;
    object-fit: contain;
    display: block;
    opacity: 0.3;
}

/* Le contenu textuel passe au-dessus du filigrane. */
.di-card__rule,
.di-card__titre,
.di-card__hint,
.di-card__panel {
    position: relative;
    z-index: 1;
}

/* Filet sous l'icône (fermé) */
.di-card__rule {
    height: 1px;
    margin: 12px 2px 12px;
    background: rgba(28, 58, 68, 0.16);
}

.di-card--dark .di-card__rule {
    background: rgba(255, 255, 255, 0.22);
}

.di-card__titre {
    margin: 0;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 18.5px;
    line-height: 1.16;
    color: inherit;
    margin-bottom: .8em;
    text-align: center;
}

/* Indice « Déplier + » (fermé, poussé en bas) */
.di-card__hint {
    /* margin-top: auto; */
    padding-top: 14px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--deep);
}

.di-card__plus {
    display: inline-grid;
    place-items: center;
    width: 21px;
    height: 21px;
    border-radius: 50%;
    border: 1.6px solid var(--deep);
}

.di-card__plus svg {
    width: 11px;
    height: 11px;
    display: block;
}

/* Panneau (contenu complet) — masqué tant que la carte est fermée */
.di-card__panel {
    display: none;
}

/* ── État ouvert : bloc 2×2 ── */
.di-card.is-open {
    grid-column: span 2;
    grid-row: span 2;
    height: 100%;
    cursor: default;
    transform: none;
    box-shadow: 0 26px 56px -28px rgba(28, 58, 68, 0.55);

    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas:
        "title"
        "panel";
    align-content: start;
    align-items: start;
    row-gap: 18px;
    padding: 28px;
}

.di-card.is-open:hover {
    transform: none;
}

.di-card.is-open .di-card__titre {
    grid-area: title;
    align-self: start;
    font-size: 20px;
    text-align: left;
}

.di-card.is-open .di-card__titre::after {
    content: '';
    display: block;
    width: 48px;
    height: 1px;
    margin-top: 16px;
    border-radius: 2px;
    background: var(--deep);
}

/* Éléments propres à l'état fermé : masqués une fois ouvert */
.di-card.is-open .di-card__rule,
.di-card.is-open .di-card__hint {
    display: none;
}

.di-card.is-open .di-card__panel {
    grid-area: panel;
    display: flex;
    flex-direction: column;
}

.di-card__texte p {
    margin: 0 0 13px;
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.64;
    color: var(--color-teal-dark);
    max-width: 62ch;
}

.di-card--dark .di-card__texte p {
    color: rgba(255, 255, 255, 0.9);
}

.di-card.is-open img {
    height: 60%;
}

.di-card__actions {
    display: flex;
    align-items: center;
    gap: 26px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.di-card__more {
    flex: none;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--deep);
}

.di-card__arrow {
    transition: transform 0.2s ease;
}

.di-card__more:hover .di-card__arrow {
    transform: translateX(4px);
}

.di-card__collapse {
    margin-left: auto;
    flex: none;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-family: var(--font-body);
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-teal-dark);
    opacity: 0.72;
    cursor: pointer;
}

.di-card--dark .di-card__collapse {
    color: rgba(255, 255, 255, 0.85);
}

.di-card__collapse:hover {
    opacity: 1;
}

.di-card__cmark {
    display: inline-grid;
    place-items: center;
    width: 21px;
    height: 21px;
    border-radius: 50%;
    border: 1.4px solid currentColor;
}

.di-card__cmark svg {
    width: 12px;
    height: 12px;
    display: block;
}

/* Animation de dépliage / repli + réorganisation de la grille */
::view-transition-group(*) {
    animation-duration: 0.44s;
    animation-timing-function: cubic-bezier(0.4, 0, 0.12, 1);
}

@media (prefers-reduced-motion: reduce) {
    ::view-transition-group(*) {
        animation-duration: 0.001s;
    }
    .di-card {
        transition: none;
    }
}

/* ─── Responsive Domaines ─────────────────────────────────── */
@media (max-width: 1024px) {
    .section-domaines {
        padding: 80px 0 80px 48px;
    }

    .di__header {
        padding-right: 48px;
        margin-bottom: 48px;
    }

    .di__titre {
        font-size: 32px;
    }

    /* Grille 2 colonnes */
    .di-grid {
        grid-template-columns: repeat(2, 1fr);
        padding-right: 48px;
    }
}

@media (max-width: 768px) {
    .section-domaines {
        padding: 64px 20px;
    }

    .di__header {
        grid-template-columns: 1fr;
        padding-right: 0;
        margin-bottom: 24px;
        gap: 24px;
    }

    /* « Aplatit » les deux colonnes pour réordonner librement
       le surtitre, le titre et le texte intro. */
    .di__header-left,
    .di__header-right {
        display: contents;
    }

    .di__titre {
        font-size: 26px;
    }

    /* Grille 1 colonne ; la carte ouverte ne s'étend plus et passe
       en une seule colonne interne. */
    .di-grid {
        grid-template-columns: 1fr;
        padding-right: 0;
    }

    .di-card.is-open {
        grid-column: auto;
        grid-row: auto;
        grid-template-columns: 1fr;
        grid-template-areas:
            "title"
            "panel";
    }
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
   Breakpoints : tablet ≤ 1024px  |  mobile ≤ 768px  |  small ≤ 480px
   ═══════════════════════════════════════════════════════════ */

/* ─── Tablet ──────────────────────────────────────────────── */
@media (max-width: 1024px) {

    /* Typographie */
    body h1,
    body h2 {
        font-size: 32px;
    }

    body h3 {
        font-size: 22px;
    }

    /* Hero */
    .hero-home__content {
        padding: 80px 48px 80px 48px;
    }

    /* Quote */
    .section-quote__blockquote {
        font-size: 24px;
    }

    /* Scroll Features */
    .sf__left-inner {
        padding: 60px 40px 60px 48px;
    }

    .sf__titre {
        font-size: 32px;
    }

    .sf-item {
        padding: 60px 48px;
        gap: 24px;
    }
}

/* ─── Mobile ──────────────────────────────────────────────── */
@media (max-width: 768px) {

    /* Typographie */
    body h1,
    body h2 {
        font-size: 26px;
    }

    body h3 {
        font-size: 20px;
    }

    body h4 {
        font-size: 18px;
    }

    /* ── Hero Home */
    .hero-home {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .hero-home__content {
        padding: 64px 24px;
        gap: 28px;
        order: 2;
    }

    .hero-home__image {
        order: 1;
        height: 56vw;
        min-height: 500px;
    }

    .hero-home__image img {
        position: absolute;
    }

    .hero-home__titre {
        font-size: 26px;
    }

    .hero-home__cta {
        flex-wrap: wrap;
    }

    /* ── Section Quote */
    .section-quote {
        padding: 0;
    }

    .section-quote__inner {
        padding: 64px 24px;
    }

    /* .section-quote__blockquote {
        font-size: 20px;
        line-height: 1.7;
    } */

    .section-quote__bg-svg svg {
        width: 90%;
    }

    /* ── Section Scroll Features :
       On mobile la colonne gauche n'est plus sticky,
       elle s'affiche en bloc au-dessus des items */
    .section-scroll-features {
        grid-template-columns: 1fr;
    }

    .sf__left {
        position: relative;
        height: auto;
    }

    .sf__left-inner {
        padding: 64px 24px 40px;
        gap: 20px;
    }

    .sf__titre {
        font-size: 26px;
    }

    .sf-item {
        min-height: 100vh;
        min-height: 100svh;
        padding: 48px 24px;
        gap: 20px;
    }

    .sf-item__image {
        width: 140px;
    }

    .sf-item__titre {
        font-size: 20px;
    }
}

/* ─── Small mobile ────────────────────────────────────────── */
@media (max-width: 480px) {

    /* Typographie */
    body h1,
    body h2 {
        font-size: 22px;
    }

    body p,
    body li {
        font-size: 15px;
    }

    /* Hero */
    .hero-home__content {
        padding: 48px 20px;
    }

    .btn {
        /* padding: 16px 24px; */
        font-size: 11px;
    }

    /* Quote */
    .section-quote__inner {
        padding: 64px 20px;
    }

    /* .section-quote__blockquote {
        font-size: 18px;
    } */

    /* Scroll Features */
    .sf__left-inner,
    .sf-item {
        padding-left: 20px;
        padding-right: 20px;
    }

    /* Titres des pages catégorie : taille calée sur les petits écrans */
    .cat-hero__titre,
    .serv__titre,
    .cat-comp__titre,
    .cat-posts__titre,
    .proc__titre,
    .cta__titre,
    .faq__titre,
    .sf__titre,
    .di__titre {
        font-size: 22px;
    }
}

/* ─── Utilitaire : Photo Frame (réutilisable) ─────────────── */

.photo-frame {
    position: relative;
    z-index: 0;
}

/* Bloc décoratif derrière la photo via pseudo-élément */
.photo-frame::before {
    content: '';
    position: absolute;
    top: calc(-1 * var(--photo-frame-offset));
    right: calc(-1 * var(--photo-frame-offset));
    width: calc(100% - var(--photo-frame-offset));
    height: 98%;
    background-color: var(--photo-frame-color);
    z-index: -1;
}

.photo-frame__img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

/* ─── Formation — bandeau de méta du hero ─────────────────── */
.formation-hero__meta {
    margin: 24px 0 0;
    padding: 20px 24px;
    background-color: var(--color-white);
    border-radius: 6px;
    box-shadow: 0 2px 12px rgba(31, 62, 66, 0.06);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 16px 24px;
}

.formation-hero__meta-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 0;
}

.formation-hero__meta-item dt {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-teal);
    opacity: 0.7;
}

.formation-hero__meta-item dd {
    margin: 0;
    font-family: var(--font-heading);
    font-size: 18px;
    line-height: 1.3;
    color: var(--color-teal-dark);
}

/* ─── Formation — description courte (avant le programme) ── */
.formation-description {
    font-family: var(--font-body);
    font-size: 18px;
    line-height: 1.75;
    color: var(--color-teal-dark);
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(31, 62, 66, 0.12);
}

.formation-description p {
    margin: 0 0 14px;
}

.formation-description p:last-child {
    margin-bottom: 0;
}

/* ─── Formation — blocs détails (corps de la page single) ── */
.formation-details {
    display: flex;
    flex-direction: column;
    gap: 48px;
    margin-top: 60px;
}

.formation-block {
    padding-top: 32px;
    border-top: 1px solid rgba(31, 62, 66, 0.12);
}

.formation-block:first-child {
    padding-top: 0;
    border-top: 0;
}

.formation-block__titre {
    font-family: var(--font-heading);
    font-size: 26px;
    color: var(--color-teal-dark);
    margin: 0 0 20px;
}

.formation-block__content {
    color: var(--color-teal-dark);
    font-size: 16px;
    line-height: 1.75;
}

.formation-block__content p {
    margin: 0 0 16px;
}

.formation-block__content ul,
.formation-block__content ol {
    margin: 0 0 16px;
    padding-left: 24px;
}

.formation-block__content li {
    margin-bottom: 8px;
}

.formation-block__content--split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.formation-block__content--split h3 {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-teal);
    margin: 0 0 10px;
}

/* ─── Formation — sessions à venir ────────────────────────── */
.formation-sessions {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.formation-session {
    display: grid;
    grid-template-columns: minmax(140px, 1fr) minmax(120px, 1fr) minmax(120px, 1fr) auto;
    align-items: center;
    gap: 16px 24px;
    padding: 18px 24px;
    background-color: var(--color-cream);
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--color-teal-dark);
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.formation-session:hover {
    box-shadow: 0 10px 24px rgba(31, 62, 66, 0.1);
    transform: translateY(-2px);
}

.formation-session__date {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 700;
    color: var(--color-teal-dark);
}

.formation-session__lieu::before {
    content: '📍';
    margin-right: 6px;
}

.formation-session__places {
    color: var(--color-teal);
    font-weight: 600;
}

.formation-session__cta {
    justify-self: end;
    display: inline-block;
    padding: 10px 18px;
    background-color: var(--color-teal-dark);
    color: var(--color-white);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 999px;
    transition: background-color 0.25s ease;
}

.formation-session__cta:hover {
    background-color: var(--color-teal);
}

/* Responsive */
@media (max-width: 768px) {
    .formation-hero__meta {
        padding: 16px;
        gap: 12px 16px;
    }

    .formation-hero__meta-item dd {
        font-size: 15px;
    }

    .formation-block__titre {
        font-size: 22px;
    }

    .formation-block__content--split {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .formation-session {
        grid-template-columns: 1fr;
        gap: 6px;
        padding: 16px 20px;
    }

    .formation-session__cta {
        justify-self: start;
        margin-top: 8px;
    }
}

/* ─── Section Avocat ──────────────────────────────────────── */

.section-avocat {
    display: grid;
    grid-template-columns: 3fr 2fr;
    align-items: start;
    padding: 100px 10%;
    overflow: hidden;
}

/* Template page-avocat : compense la hauteur du header fixe pour que
   le surtitre ne passe pas sous la barre transparente du header. */
.avocat-page {
    padding-top: var(--header-height, 96px);
}

.av__content {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding-right: 60px;
}

.av__nom {
    font-size: 40px;
    color: var(--color-teal-dark);
    margin: 0;
}

.av__parcours {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.av__parcours-titre {
    font-size: 20px;
    color: var(--color-teal-dark);
    margin: 0;
}

.av__parcours-texte p {
    font-size: 16px;
    color: var(--color-teal-dark);
    line-height: 1.7;
    margin: 0;
}

/* Grille approche + valeurs */
.av__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    align-items: stretch;
}

.av__approche {
    background-color: var(--color-cream);
    border-radius: 8px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.av__approche-titre {
    font-size: 20px;
    color: var(--color-teal-dark);
    margin: 0;
}

.av__approche-texte p {
    font-size: 15px;
    color: var(--color-teal-dark);
    line-height: 1.65;
    margin: 0;
}

.av__valeurs {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.av__valeur {
    border-radius: 8px;
    padding: 24px 28px;
    text-align: center;
}

.av__valeur p {
    font-size: 15px;
    line-height: 1.5;
    margin: 0;
}

/* Variantes de couleur des valeurs */
.av__valeur--cream {
    background-color: var(--color-cream);
}

.av__valeur--cream p {
    color: var(--color-gold);
}

.av__valeur--lavender {
    background-color: var(--color-lavender-light);
}

.av__valeur--lavender p {
    color: var(--color-purple-dark);
}

.av__valeur--ice {
    background-color: var(--color-ice);
}

.av__valeur--ice p {
    color: var(--color-teal);
}

/* Colonne photo */
.av__photo-wrap {
    height: 100%;
    min-height: 600px;
}

/* ─── Responsive Avocat ───────────────────────────────────── */
@media (max-width: 1024px) {
    .section-avocat {
        grid-template-columns: 3fr 2fr;
        padding: 80px 48px;
    }

    .av__content {
        padding-right: 40px;
    }

    .av__nom {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .section-avocat {
        grid-template-columns: 1fr;
        padding: 64px 24px;
    }

    .av__content {
        padding-right: 0;
    }

    .av__photo-wrap {
        min-height: 400px;
        margin-top: 48px;
    }

    .av__grid {
        grid-template-columns: 1fr;
    }

    .photo-frame::before {
        --photo-frame-offset: 16px;
    }
}

/* ═══════════════════════════════════════════════════════════
   CATÉGORIE — HERO
   ═══════════════════════════════════════════════════════════ */

.cat-hero {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    min-height: 100vh;
}

/* ─── Colonne contenu ─── */
.cat-hero__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 32px;
    padding: 60px 80px 60px 10%;
}

.cat-hero__titre {
    font-size: 40px;
    color: var(--color-teal-dark);
    margin: 0;
}

.cat-hero__texte p {
    font-size: 16px;
    color: var(--color-teal-dark);
    line-height: 1.7;
    margin: 0;
}

.cat-hero__cta {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* ─── Colonne image : panneau coloré + image centrée ─── */
.cat-hero__image-col {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    position: relative;
    overflow: hidden;
    padding: 80px;
}

.cat-hero__accent {
    position: absolute;
    inset: 0;
    background-color: var(--color-lavender-light);
    z-index: -1;
}

.cat-hero--lavender-light .cat-hero__accent {
    background-color: var(--color-lavender-light);
}

.cat-hero--ice .cat-hero__accent {
    background-color: var(--color-ice);
}

.cat-hero--cream .cat-hero__accent {
    background-color: var(--color-cream);
}

.cat-hero__image-wrap {
    width: 100%;
    height: 100%;
    max-width: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cat-hero__img {
    max-width: 100%;
    max-height: 100%;
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

/* ─── Responsive ─── */
@media (max-width: 1024px) {
    .cat-hero {
        grid-template-columns: 1fr 1fr;
        height: auto;
    }

    .cat-hero__content {
        padding: 80px 48px;
        gap: 24px;
    }

    .cat-hero__titre {
        font-size: 32px;
    }

    .cat-hero__image-col {
        min-height: 500px;
        padding: 48px;
    }
}

@media (max-width: 768px) {
    .cat-hero {
        grid-template-columns: 1fr;
        height: auto;
    }

    .cat-hero__content {
        padding: 64px 24px;
    }

    .cat-hero__titre {
        font-size: 26px;
    }

    .cat-hero__image-col {
        min-height: 360px;
        padding: 32px;
    }
}

/* ═══════════════════════════════════════════════════════════
   CATÉGORIE — COMPÉTENCES
   ═══════════════════════════════════════════════════════════ */

.cat-competences {
    padding: 100px 10%;
    display: flex;
    flex-direction: column;
    gap: 60px;
}

/* ─── En-tête ─── */
.cat-comp__header {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cat-comp__titre {
    font-size: 40px;
    color: var(--color-teal-dark);
    margin: 0;
}

/* ─── Introduction ─── */
.cat-comp__intro {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.cat-comp__intro-grande p {
    font-family: var(--font-body);
    font-size: 25px;
    line-height: 1.5;
    color: var(--color-teal-dark);
    margin: 0;
}

.cat-comp__intro-colonnes {
    columns: 2;
    column-gap: 60px;
}

.cat-comp__intro-colonnes p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-teal-dark);
    margin: 0;
    break-inside: avoid;
}

/* ─── Tabs ─── */
.cat-comp__tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0;
    border-bottom: 1px solid rgba(0, 0, 0, .1);
    padding-bottom: 0;
}

body .cat-comp__tab,
body .cat-comp__tab:hover,
body .cat-comp__tab:focus,
body .cat-comp__tab:active {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--color-teal-dark);
    background: none;
    background-color: transparent;
    border: none;
    border-radius: 0;
    outline: none;
    box-shadow: none;
    padding: 0 20px 20px;
    margin: 0 0 20px 0;
    cursor: pointer;
    white-space: normal;
    overflow-wrap: anywhere;
    text-align: center;
    text-decoration: none;
    line-height: 1.3;
}

body .cat-comp__tab {
    opacity: 0.4;
    transition: opacity 0.2s ease, color 0.2s ease;
}

body .cat-comp__tab.is-active {
    color: var(--color-teal);
    opacity: 1;
    background: none;
    background-color: transparent;
    border: none;
    box-shadow: none;
    position: relative;
}

body .cat-comp__tab.is-active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 20px;
    right: 20px;
    height: 2px;
    background-color: var(--color-teal);
}

body .cat-comp__tab:hover:not(.is-active) {
    opacity: 0.7;
    background-color: transparent;
}

/* ─── Panels ─── */
.cat-comp__panel {
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.cat-comp__panel.is-active {
    display: grid;
}

/* Panel contenu */
.cat-comp__panel-content {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.cat-comp__panel-text {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* Sans image : le panel prend toute la largeur et les args passent à droite du texte */
.cat-comp__panel--no-image {
    grid-template-columns: 1fr;
}

.cat-comp__panel--no-image .cat-comp__panel-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.cat-comp__panel--no-image .cat-comp__panel-cta {
    grid-column: 1 / -1;
}

.cat-comp__panel-label {
    font-family: var(--font-body);
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--color-teal-dark);
    margin: 0;
}

.cat-comp__panel-desc p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-teal-dark);
    margin: 0;
}

/* Arguments */
.cat-comp__args {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.cat-comp__arg {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    font-size: 16px;
    color: var(--color-teal-dark);
    line-height: 1.4;
}

.cat-comp__arg:first-child {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.cat-comp__arg-icon {
    flex-shrink: 0;
    color: var(--color-teal);
}

.cat-comp__panel-cta {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Panel image — même pattern qu'avocat (photo-frame) */
.cat-comp__image-wrap {
    height: 100%;
    min-height: 520px;
}

.cat-comp__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* ─── Responsive ─── */
@media (max-width: 1024px) {
    .cat-competences {
        padding: 80px 48px;
        gap: 48px;
    }

    .cat-comp__intro-colonnes {
        columns: 1;
    }

    .cat-comp__tabs {
        row-gap: 0;
    }

    .cat-comp__panel {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .cat-comp__panel--no-image .cat-comp__panel-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .cat-comp__image-wrap {
        min-height: 400px;
    }
}

@media (max-width: 768px) {
    .cat-competences {
        padding: 64px 24px;
        gap: 40px;
    }

    .cat-comp__titre {
        font-size: 28px;
    }

    .cat-comp__intro-grande p {
        font-size: 20px;
    }

    body .cat-comp__tab {
        padding: 0 24px 16px 0;
        font-size: 11px;
    }

    .cat-comp__image-wrap {
        min-height: 300px;
    }
}

/* ═══════════════════════════════════════════════════════════
   CATÉGORIE — SERVICES (accordéon)
   ═══════════════════════════════════════════════════════════ */

.cat-services {
    padding: 80px 10% 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.serv__header {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 60px;
}

.serv__titre {
    font-size: 40px;
    color: var(--color-teal-dark);
    margin: 0;
}

/* ─── Item ─── */
.serv-item {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.serv-item:last-child {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

/* ─── Header (bouton accordéon) ─── */
body .serv-item__header {
    display: flex;
    align-items: center;
    gap: 32px;
    width: 100%;
    padding: 32px 0;
    background: none;
    background-color: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    outline: none;
    cursor: pointer;
    text-align: left;
    white-space: normal;
}

body .serv-item__header:hover,
body .serv-item__header:focus,
body .serv-item__header:active {
    background-color: transparent;
    border: none;
    color: inherit;
}

/* ─── Hover : décalage du header + accent ─── */
body .serv-item__header {
    transition: padding-left 0.45s cubic-bezier(0.65, 0, 0.35, 1);
    position: relative;
}

body .serv-item__header:hover {
    padding-left: 16px;
}

/* Trait d'accent qui se dessine PAR-DESSUS le border séparateur entre items */
.serv-item__header::after {
    content: "";
    position: absolute;
    left: 0;
    top: -1px;            /* aligné sur le border-top 1px du .serv-item */
    height: 2px;
    width: 100%;
    background: linear-gradient(to right, var(--color-teal) 0%, var(--color-teal) 40%, transparent 100%);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.55s cubic-bezier(0.65, 0, 0.35, 1);
    pointer-events: none;
}

.serv-item__header:hover::after {
    transform: scaleX(1);
}

/* Numéro : pop + remontée légère */
.serv-item__numero {
    transition: color 0.3s ease, transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.serv-item__header:hover .serv-item__numero {
    transform: scale(1.18) translateY(-3px);
}

.serv-item__numero {
    font-family: var(--font-heading);
    font-size: 28px;
    color: var(--color-gold);
    line-height: 1;
    flex-shrink: 0;
    min-width: 48px;
}

.serv-item__titre {
    font-size: 22px;
    color: var(--color-teal-dark);
    margin: 0;
    flex: 1;
    min-width: 0;
    overflow-wrap: anywhere;
    transition: color 0.3s ease, transform 0.45s cubic-bezier(0.65, 0, 0.35, 1);
}

.serv-item.is-open .serv-item__titre {
    color: var(--color-teal);
}

.serv-item__header:hover .serv-item__titre {
    color: var(--color-teal);
    transform: translateX(6px);
}

/* ─── Body (contenu déployé) ─── */
.serv-item__body {
    padding-bottom: 48px;
}

.serv-item__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    padding-left: 80px;
}

.serv-item__desc p {
    font-size: 16px;
    color: var(--color-teal-dark);
    line-height: 1.7;
    margin: 0 0 1em;
}

.serv-item__desc p:last-child {
    margin-bottom: 0;
}

/* ─── Carte arguments (crème) ─── */
.serv-item__args-wrap {
    background-color: var(--color-cream);
    border-radius: 8px;
    padding: 32px;
    height: 100%;
}

.serv-item__args {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    gap: 16px;
    height: 100%;
}

.serv-item__arg {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 15px;
    color: var(--color-teal-dark);
    line-height: 1.4;
}

.serv-item__arg-icon {
    flex-shrink: 0;
}

.serv-item__arg-icon svg {
    width: 28px;
    height: 28px;
    display: block;
}

/* ─── Responsive ─── */
@media (max-width: 1024px) {
    .cat-services {
        padding: 30px 48px;
    }

    .serv-item__content {
        padding-left: 60px;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .cat-services {
        padding: 0 24px;
    }

    .serv__titre {
        font-size: 26px;
    }

    .serv-item__content {
        grid-template-columns: 1fr;
        padding-left: 0;
        gap: 24px;
    }

    .serv-item__numero {
        font-size: 22px;
        min-width: 36px;
    }

    .serv-item__titre {
        font-size: 18px;
    }
}

/* ═══════════════════════════════════════════════════════════
   CATÉGORIE — PROCESSUS
   ═══════════════════════════════════════════════════════════ */

.cat-processus {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

/* ─── Colonne gauche : sticky + image fond ─── */
.proc__left {
    position: sticky;
    top: 0;
    height: 100vh;
    background-color: var(--color-teal-dark);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Overlay teal semi-transparent par-dessus l'image */
.proc__left::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: rgba(0, 86, 99, 0.60);
}

.proc__left-inner {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    padding: 80px 60px 80px 10%;
}

.proc__titre {
    font-size: 36px;
    color: var(--color-white);
    margin: 0;
}

.proc__texte p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin: 0;
}

/* ─── Colonne droite : étapes ─── */
.proc__right {
    display: flex;
    flex-direction: column;
}

.proc-item {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-height: 50vh;
    padding: 80px 10% 80px 60px;
    justify-content: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.proc-item:last-child {
    border-bottom: none;
}

.proc-item__numero {
    font-family: var(--font-heading);
    font-size: 32px;
    color: var(--color-gold);
    line-height: 1;
}

.proc-item__titre {
    font-size: 28px;
    color: var(--color-teal-dark);
    margin: 0;
}

.proc-item__texte p {
    font-size: 16px;
    color: var(--color-teal-dark);
    line-height: 1.7;
    margin: 0;
}

/* ─── Responsive ─── */
@media (max-width: 1024px) {
    .proc__left-inner {
        padding: 60px 48px;
        gap: 20px;
    }

    .proc__titre {
        font-size: 28px;
    }

    .proc-item {
        padding: 60px 48px;
        min-height: 80vh;
        gap: 16px;
    }
}

@media (max-width: 768px) {
    .cat-processus {
        grid-template-columns: 1fr;
    }

    .proc__left {
        position: relative;
        height: auto;
    }

    .proc__left-inner {
        padding: 64px 24px;
    }

    .proc-item {
        min-height: auto;
        padding: 48px 24px;
    }

    .proc-item__titre {
        font-size: 22px;
    }
}

/* ═══════════════════════════════════════════════════════════
   ARTICLE SINGLE
   ═══════════════════════════════════════════════════════════ */

/* ── Fil d'Ariane (Yoast + fallback)
   Yoast emballe tous les crumbs dans un <span> racine. `display: contents`
   « efface » ce span pour que ses enfants deviennent des items flex du <nav>,
   ce qui rend le gap et l'alignement parfaitement réguliers. */
.article-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-teal);
    margin-bottom: 24px;
}

.article-breadcrumb > span {
    display: contents;
}

.article-breadcrumb a {
    color: var(--color-teal);
    text-decoration: none;
    transition: color 0.2s ease, opacity 0.2s ease;
    opacity: 0.75;
    font-size: 11px;
}

.article-breadcrumb a:hover {
    opacity: 1;
    color: var(--color-teal-dark);
}

/* Séparateur (utilisé par le fallback ET par Yoast via le filtre PHP) */
.article-breadcrumb__sep {
    color: var(--color-teal);
    opacity: 0.35;
    font-weight: 400;
    user-select: none;
}

/* Dernier crumb (page courante) */
.article-breadcrumb .breadcrumb_last,
.article-breadcrumb > span:last-child:not(:has(a)) {
    color: var(--color-teal-dark);
    font-weight: 700;
}

/* ── Hero */
.article-hero {
    display: grid;
    grid-template-columns: 55% 1fr;
    min-height: 480px;
    padding: 60px 10% 60px;
    gap: 60px;
    align-items: center;
}

.article-hero__left {
    display: flex;
    flex-direction: column;
}

.article-hero__titre {
    font-size: 40px;
    color: var(--color-teal-dark);
    margin: 0 0 32px;
    line-height: 1.2;
}

.article-hero__meta {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.article-hero__author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.article-hero__avatar {
    width: 36px !important;
    height: 36px !important;
    border-radius: 50%;
    object-fit: cover;
}

.article-hero__author-name {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    color: var(--color-teal-dark);
}

.article-hero__date {
    font-size: 13px;
    color: var(--color-teal);
    opacity: 0.7;
}

.article-hero__right {
    overflow: hidden;
    border-radius: 4px;
    height: 100%;
    min-height: 360px;
}

.article-hero__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ── Layout corps */
.article__container {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 60px;
    padding: 60px 10%;
    align-items: start;
}

/* ── TOC */
.article__toc {
    background-color: var(--color-cream);
    border-radius: 6px;
    padding: 24px 32px;
    margin-bottom: 48px;
    box-shadow: 0 2px 8px rgba(31, 62, 66, 0.04);
    transition: box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1),
                transform   0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.article__toc:hover {
    box-shadow: 0 16px 32px rgba(31, 62, 66, 0.14);
    transform: translateY(-2px);
}

/* Summary natif : titre à gauche, chevron à droite */
.article__toc-summary {
    list-style: none;
    cursor: pointer;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.article__toc-summary::-webkit-details-marker,
.article__toc-summary::marker {
    display: none;
    content: '';
}

.article__toc-summary-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    flex: 1;
    overflow-wrap: anywhere;
}

.article__toc-chevron {
    display: inline-flex;
    align-items: center;
    color: var(--color-teal-dark);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.article__toc.is-open .article__toc-chevron {
    transform: rotate(180deg);
}

.article__toc[open] .article__toc-list {
    margin-top: 24px;
}

/* Liste numérotée */
.article__toc-list {
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: toc;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.article__toc-item {
    counter-increment: toc;
    display: flex;
    align-items: baseline;
    gap: 14px;
    font-size: 15px;
    line-height: 1.4;
}

.article__toc-item::before {
    content: counter(toc, decimal-leading-zero);
    color: var(--color-teal);
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.05em;
    flex-shrink: 0;
}

.article__toc-link {
    color: var(--color-teal-dark);
    text-decoration: none;
    transition: color 0.2s ease;
    cursor: pointer;
    flex: 1;
    min-width: 0;
    overflow-wrap: anywhere;
}

.article__toc-link:hover,
.article__toc-link.is-active {
    color: var(--color-teal);
    font-weight: 600;
}

/* ── Corps article */
.article__body {
    color: var(--color-teal-dark);
    font-size: 16px;
    line-height: 1.85;
}

.article__body h2 {
    font-size: 25px;
    color: var(--color-teal-dark);
    margin: 48px 0 16px;
}

.article__body h3 {
    font-size: 20px;
    color: var(--color-teal-dark);
    margin: 32px 0 12px;
}

.article__body p {
    margin: 0 0 20px;
}

.article__body ul,
.article__body ol {
    margin: 0 0 20px 24px;
}

.article__body li {
    margin-bottom: 6px;
}

.article__body a {
    color: var(--color-teal);
    text-decoration: underline;
}

/* ── Aside sticky */
.article__aside {
    align-self: start;
    height: 100%;
}

.article__aside-sticky {
    position: sticky;
    top: 100px;
}

/* ── Sidebar mini-CTA */
.article-sidebar {
    background-color: var(--color-cream);
    border-radius: 8px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.article-sidebar__author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.article-sidebar__avatar {
    width: 56px !important;
    height: 56px !important;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.article-sidebar__author-name {
    display: block;
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: var(--color-teal-dark);
}

.article-sidebar__author-role {
    display: block;
    font-size: 12px;
    color: var(--color-teal);
    margin-top: 2px;
}

.article-sidebar__accroche {
    font-size: 15px;
    line-height: 1.6;
    color: var(--color-teal-dark);
    margin: 0;
}

.article-sidebar__actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* ── Responsive */
@media (max-width: 1024px) {
    .article-hero {
        grid-template-columns: 1fr;
        padding: 48px;
        gap: 32px;
        min-height: auto;
    }

    .article-hero__right {
        min-height: 260px;
    }

    .article__container {
        grid-template-columns: 1fr;
        padding: 48px;
    }

    .article__aside-sticky {
        position: static;
    }

    /* Pages formation : la sidebar passe en fin d'article et fait doublon
       avec le CTA du bas → on la masque sur les petits écrans. */
    body.single-formation .article__aside {
        display: none;
    }
}

@media (max-width: 768px) {
    .article-hero {
        padding: 32px 24px;
    }

    .article-hero__titre {
        font-size: 28px;
    }

    .article__container {
        padding: 32px 24px;
        gap: 40px;
    }

    .article__body ul,
    .article__body ol {
        margin: 0 0 20px 0;
        padding-left: 20px;
    }
}

/* ═══════════════════════════════════════════════════════════
   COMPOSANT — FAQ ACCORDÉON
   ═══════════════════════════════════════════════════════════ */

.section-faq {
    padding: 100px 10%;
}

/* Intro centrée */
.faq__intro {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-bottom: 72px;
}

.faq__titre {
    font-size: 40px;
    color: var(--color-teal-dark);
    margin: 0;
    max-width: 720px;
}

/* Liste */
.faq__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.faq__item {
    border-bottom: 1px solid rgba(31, 62, 66, 0.2);
}

/* Header (bouton) — body prefix pour Elementor */
body .faq__header,
body .faq__header:hover,
body .faq__header:focus,
body .faq__header:active {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 28px 0;
    background: none;
    background-color: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    color: inherit;
    cursor: pointer;
    text-align: left;
    white-space: normal;
}

/* ─── Hover : décalage de la question + accent + halo sur le toggle ─── */
body .faq__header {
    position: relative;
    transition: padding-left 0.45s cubic-bezier(0.65, 0, 0.35, 1);
}

body .faq__header:hover {
    padding-left: 16px;
}

/* Trait d'accent qui se dessine sous le header */
.faq__header::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 100%;
    background: linear-gradient(to right, var(--color-teal) 0%, var(--color-teal) 50%, transparent 100%);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.55s cubic-bezier(0.65, 0, 0.35, 1);
    pointer-events: none;
}

.faq__header:hover::after {
    transform: scaleX(1);
}

.faq__question {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--color-teal-dark);
    flex: 1;
    min-width: 0;
    overflow-wrap: anywhere;
    transition: color 0.3s ease;
}

.faq__header:hover .faq__question {
    color: var(--color-teal);
}

/* Icône "+" — cercle teal */
.faq__toggle {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--color-teal-dark);
    position: relative;
    transition: transform 0.35s ease, scale 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease, background-color 0.3s ease;
}

/* Halo + scale au survol — la rotation existante (is-open) reste compatible */
.faq__header:hover .faq__toggle {
    scale: 1.12;
    background-color: var(--color-teal);
    box-shadow: 0 0 0 8px rgba(28, 85, 98, 0.12);
}

.faq__toggle::before,
.faq__toggle::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    background-color: var(--color-white);
    border-radius: 2px;
}

.faq__toggle::before {
    width: 16px;
    height: 2px;
    transform: translate(-50%, -50%);
}

.faq__toggle::after {
    width: 2px;
    height: 16px;
    transform: translate(-50%, -50%);
    transition: opacity 0.25s ease;
}

/* État ouvert : rotation pour former "×" */
.faq__item.is-open .faq__toggle {
    transform: rotate(45deg);
}

/* Corps de la réponse — max-height seul, sans attribut hidden */
.faq__body {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.4s ease;
}

.faq__item.is-open .faq__body {
    max-height: 800px;
    /* valeur haute = jamais atteinte, permet la transition */
}

.faq__reponse {
    padding: 0 0 36px 0;
    color: var(--color-teal-dark);
    font-size: 16px;
    line-height: 1.8;
    max-width: 100%;
}

.faq__reponse p {
    margin: 0 0 12px;
}

.faq__reponse p:last-child {
    margin-bottom: 0;
}

/* ── Responsive */
@media (max-width: 1024px) {
    .section-faq {
        padding: 80px 48px;
    }

    .faq__titre {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .section-faq {
        padding: 64px 24px;
    }

    .faq__intro {
        margin-bottom: 48px;
    }

    .faq__titre {
        font-size: 26px;
    }

    .faq__question {
        font-size: 18px;
    }

    .faq__toggle {
        width: 36px;
        height: 36px;
    }
}

/* ═══════════════════════════════════════════════════════════
   COMPOSANT — SECTION CTA
   ═══════════════════════════════════════════════════════════ */

/* Outer section : espace blanc autour du bloc */
.section-cta {
    padding: 60px 10%;
}

/* Bloc coloré */
.cta__block {
    border-radius: 8px;
    padding: 80px;
    min-height: 360px;
    display: flex;
    align-items: center;
}

/* Corps : occupe la moitié gauche */
.cta__body {
    display: flex;
    flex-direction: column;
    gap: 28px;
    max-width: 55%;
}

.cta__titre {
    font-size: 48px;
    font-style: italic;
    margin: 0;
    line-height: 1.15;
}

.cta__texte p {
    font-size: 16px;
    line-height: 1.7;
    margin: 0;
}

.cta__actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* ── Variante purple-dark (défaut) */
.section-cta--purple-dark .cta__block {
    background-color: var(--color-purple-dark);
}

.section-cta--purple-dark .cta__titre {
    color: var(--color-white);
}

.section-cta--purple-dark .cta__texte p {
    color: rgba(255, 255, 255, 0.75);
}

/* ── Variante teal-dark */
.section-cta--teal-dark .cta__block {
    background-color: var(--color-teal-dark);
}

.section-cta--teal-dark .cta__titre {
    color: var(--color-white);
}

.section-cta--teal-dark .cta__texte p {
    color: rgba(255, 255, 255, 0.75);
}

/* ── Variante cream */
.section-cta--cream .cta__block {
    background-color: var(--color-cream);
}

.section-cta--cream .cta__titre {
    color: var(--color-teal-dark);
}

.section-cta--cream .cta__texte p {
    color: var(--color-teal-dark);
}

/* ── Responsive */
@media (max-width: 1024px) {
    .section-cta {
        padding: 48px;
    }

    .cta__block {
        padding: 60px;
    }

    .cta__body {
        max-width: 70%;
    }

    .cta__titre {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .section-cta {
        padding: 24px;
    }

    .cta__block {
        padding: 48px 32px;
    }

    .cta__body {
        max-width: 100%;
    }

    .cta__titre {
        font-size: 28px;
    }

    .cta__actions {
        flex-wrap: wrap;
    }
}

/* ═══════════════════════════════════════════════════════════
   HEADER — Bulle fixe avec blur
   ═══════════════════════════════════════════════════════════ */

:root {
    --header-height: 96px;
}

/* #main {
    padding-top: var(--header-height);
} */

.lp-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 24px;
    background: transparent;
}

.lp-header .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 32px;
    max-width: 1500px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 100px;
    padding: 10px 10px 10px 28px;
    box-shadow: 0 2px 24px rgba(31, 62, 66, 0.08);
}

/* ── Logo ── */
.header-logo {
    flex-shrink: 0;
    line-height: 0;
}

.header-logo .custom-logo-link,
.header-logo__fallback {
    display: block;
    line-height: 0;
    text-decoration: none;
    color: var(--color-teal-dark);
    font-family: var(--font-heading);
    font-size: 18px;
}

.header-logo .custom-logo {
    height: 52px;
    width: auto;
}

/* ── Nav desktop ── */
.header-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.header-menu {
    display: flex;
    align-items: center;
    gap: 2px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.header-menu>.menu-item {
    position: relative;
}

.header-menu>.menu-item>a {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 14px;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-teal-dark);
    text-decoration: none;
    white-space: nowrap;
    border-radius: 100px;
    transition: color 0.2s, background 0.2s;
}

.header-menu>.menu-item>a:hover {
    color: var(--color-teal);
    background: rgba(28, 85, 98, 0.06);
}

/* Chevron */
.menu-chevron {
    display: inline-flex;
    align-items: center;
    transition: transform 0.25s ease;
}

.header-menu>.menu-item-has-children:hover>a .menu-chevron {
    transform: rotate(180deg);
}

/* Sous-menu desktop */
.header-menu .sub-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(-6px);
    min-width: 220px;
    background: var(--color-white);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(31, 62, 66, 0.12);
    padding: 8px;
    list-style: none;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
}

.header-menu>.menu-item-has-children:hover>.sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.header-menu .sub-menu .menu-item a {
    display: block;
    padding: 10px 16px;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    color: var(--color-teal-dark);
    text-decoration: none;
    border-radius: 10px;
    transition: background 0.15s, color 0.15s;
    white-space: nowrap;
}

.header-menu .sub-menu .menu-item a:hover {
    background: var(--color-ice);
    color: var(--color-teal);
}

/* ── Actions ── */
.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

/* LinkedIn */
.header-linkedin {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--color-teal-dark);
    color: var(--color-white);
    border-radius: 50%;
    text-decoration: none;
    flex-shrink: 0;
    transition: opacity 0.2s;
}

.header-linkedin:hover {
    opacity: 0.8;
    color: var(--color-lavender);
}

/* Burger */
.header-burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 10px;
    background: none;
    border: none;
    cursor: pointer;
    border-radius: 50%;
    transition: background 0.2s;
}

.header-burger:hover {
    background: var(--color-ice);
}

.header-burger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--color-teal-dark);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center;
}

.header-burger.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.header-burger.is-open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.header-burger.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ── Menu mobile pleine page ── */
.header-mobile {
    position: fixed;
    inset: 0;
    background: var(--color-cream);
    z-index: 999;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
}

.header-mobile.is-open {
    transform: translateX(0);
}

.header-mobile__inner {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding: 24px;
    gap: 32px;
    padding-top: 100px;
}

/* Menu items mobile */
.header-mobile-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1;
}

.header-mobile-menu>.menu-item>a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
    font-family: var(--font-heading);
    font-size: 22px;
    color: var(--color-teal-dark);
    text-decoration: none;
    border-bottom: 1px solid rgba(31, 62, 66, 0.1);
    transition: color 0.2s;
}

.header-mobile-menu>.menu-item>a:hover {
    color: var(--color-teal);
}

.header-mobile-menu>.menu-item-has-children>a .menu-chevron {
    transition: transform 0.25s ease;
}

.header-mobile-menu>.menu-item-has-children.is-open>a .menu-chevron {
    transform: rotate(180deg);
}

/* Sous-menu mobile */
.header-mobile-menu .sub-menu {
    list-style: none;
    margin: 0;
    padding: 8px 0 8px 20px;
    display: none;
}

.header-mobile-menu .menu-item-has-children.is-open>.sub-menu {
    display: block;
}

.header-mobile-menu .sub-menu .menu-item a {
    display: block;
    padding: 10px 0;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 600;
    color: var(--color-teal);
    text-decoration: none;
    transition: color 0.2s;
}

.header-mobile-menu .sub-menu .menu-item a:hover {
    color: var(--color-teal-dark);
}

/* Footer mobile : CTA + LinkedIn */
.header-mobile__footer {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 32px;
}

/* ── Responsive ── */

/* Nav → hamburger */
@media (max-width: 1300px) {
    .header-nav {
        display: none;
    }

    .header-burger {
        display: flex;
    }

    .lp-header .header-inner {
        padding: 10px 10px 10px 20px;
        gap: 16px;
    }
}

/* LinkedIn → menu mobile */
@media (max-width: 860px) {
    .lp-header .header-linkedin {
        display: none;
    }
}

/* CTA → menu mobile */
@media (max-width: 700px) {
    .lp-header .header-actions .btn {
        display: none;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 80px;
    }

    .lp-header {
        padding: 12px 16px;
    }

    .header-logo .custom-logo {
        height: 44px;
    }
}

/* ═══════════════════════════════════════════════════════════
   SECTION ARTICLES — category.php
   ═══════════════════════════════════════════════════════════ */

/* ── Grille articles ── */
.cat-posts {
    padding: 0 10% 100px;
}

.cat-posts__titre {
    text-align: center;
    margin-top: 80px;
    margin-bottom: 48px;
}

.cat-posts__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

/* ── Carte article : bloc coloré ── */
.post-card__inner {
    position: relative;
    display: block;
    text-decoration: none;
    aspect-ratio: 4 / 3;
    padding: 32px 40px;
    background: var(--color-teal-dark);
    color: var(--color-cream);
    overflow: hidden;
    transform: translateY(0);
    box-shadow: 0 4px 14px rgba(31, 62, 66, 0.08);
    transition:
        background 0.45s cubic-bezier(0.22, 1, 0.36, 1),
        color 0.45s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.post-card__title {
    font-family: var(--font-heading);
    font-size: 22px;
    line-height: 1.25;
    color: inherit;
    margin: 0;
    transition: color 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.post-card__arrow {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 56px;
    height: 56px;
    background: var(--color-cream);
    color: var(--color-teal-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    transition:
        background 0.45s cubic-bezier(0.22, 1, 0.36, 1),
        color 0.45s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.post-card__arrow svg {
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ── Hover : fond bleu clair + texte bleu foncé + flèche sombre animée ── */
.post-card__inner:hover {
    background: var(--color-ice);
    color: var(--color-teal-dark);
    transform: translateY(-6px);
    box-shadow: 0 18px 36px rgba(31, 62, 66, 0.18);
}

.post-card__inner:hover .post-card__title {
    color: var(--color-teal-dark);
}

.post-card__inner:hover .post-card__arrow {
    background: var(--color-teal-dark);
    color: var(--color-cream);
    transform: translate(-12px, -12px);
}

.post-card__inner:hover .post-card__arrow svg {
    transform: translateX(3px);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .cat-posts__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .cat-posts {
        padding: 0 24px 60px;
    }

    .cat-posts__titre {
        font-size: 26px;
    }

    .cat-posts__grid {
        grid-template-columns: 1fr;
    }
}

/* ════════════════════════════════════════
   FOOTER
   ════════════════════════════════════════ */

/* ── Pré-footer CTA ── */
.footer-cta {
    padding: 80px 10%;
    background-color: var(--color-cream);
}

.footer-cta__inner {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 48px;
    align-items: end;
}

.footer-cta__titre {
    font-family: var(--font-heading);
    font-size: clamp(2.4rem, 5vw, 4rem);
    font-style: italic;
    font-weight: 400;
    line-height: 1.1;
    color: var(--color-teal-dark);
    margin-bottom: 40px;
}

/* Colonne droite : description + logo Qualiopi empilés */
.footer-cta__right {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    align-self: start;
    padding-top: 8px;
}

.footer-cta__texte {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-teal-dark);
    margin: 0;
}

.footer-cta__qualiopi {
    display: block;
    width: auto;
    height: auto;
    max-width: 220px;
    max-height: 110px;
}

.footer-cta__actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* ── Séparateur ── */
.footer-sep {
    border: none;
    border-top: 1px solid rgba(31, 62, 66, 0.15);
    margin: 0 10%;
}

/* ── Nav + Logo ── */
.footer-nav {
    padding: 60px 10%;
    background-color: var(--color-cream);
}

.footer-nav__inner {
    display: grid;
    grid-template-columns: 200px repeat(3, 1fr);
    gap: 48px;
    align-items: start;
}

.footer-nav__logo img.footer-logo {
    display: block;
    width: 160px;
    height: auto;
}

.footer-nav__logo--empty {
    width: 160px;
    height: 160px;
}

.footer-nav__col-title {
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-teal-dark);
    margin-bottom: 20px;
}

.footer-nav__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-nav__list li a {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--color-teal-dark);
    text-decoration: none;
    transition: opacity 0.2s;
}

.footer-nav__list li a:hover {
    opacity: 0.6;
}

/* ── Copyright ── */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 10%;
    background-color: var(--color-cream);
}

.footer-bottom a,
.footer-bottom__copy,
.footer-bottom__credit {
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-teal-dark);
    text-decoration: none;
}

/* ── Responsive footer ── */
@media (max-width: 1024px) {
    .footer-nav__inner {
        grid-template-columns: 160px repeat(3, 1fr);
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .footer-cta {
        padding: 60px 24px;
    }

    .footer-cta__inner {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer-sep {
        margin: 0 24px;
    }

    .footer-nav {
        padding: 40px 24px;
    }

    .footer-nav__inner {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
        justify-items: center;
    }

    .footer-nav__logo {
        grid-column: 1 / -1;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
        padding: 20px 24px;
    }
}

/* ═══════════════════════════════════════════════════════════
   PAGE CONTACT
   ═══════════════════════════════════════════════════════════ */

/* ── Hero ── */
.contact-hero {
    background-color: var(--color-cream);
    padding: 120px 10% 80px;
}

.contact-hero__inner {
    max-width: 680px;
}

.contact-hero__titre {
    font-family: var(--font-heading);
    font-size: clamp(52px, 6vw, 88px);
    font-style: italic;
    font-weight: 400;
    line-height: 1.05;
    color: var(--color-teal-dark);
    margin: 24px 0 32px;
}

.contact-hero__intro {
    font-size: 17px;
    line-height: 1.65;
    color: var(--color-teal-dark);
    opacity: 0.7;
    max-width: 520px;
    margin: 0;
}


/* ── Corps ── */
.contact-body {
    background-color: var(--color-cream);
    padding: 80px 10% 120px;
}

.contact-body__inner {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 80px;
    align-items: start;
}

/* ── Formulaire (colonne contenant le shortcode) ── */
.contact-form {
    position: sticky;
    top: calc(var(--header-height, 96px) + 32px);
    align-self: start;
}

.contact-form__zone {
    min-height: 480px;
}

/* ── Colonne droite : carte rendez-vous + carte info (sticky ensemble) ── */
.contact-aside {
    position: sticky;
    top: calc(var(--header-height, 96px) + 32px);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* ── Carte rendez-vous (Calendly) ── */
.contact-rdv {
    background-color: var(--color-lavender-light);
    border-radius: 24px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.contact-rdv__icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background-color: var(--color-lavender);
    color: var(--color-purple-dark);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-rdv__titre {
    font-family: var(--font-heading);
    font-size: 23px;
    line-height: 1.15;
    color: var(--color-purple-dark);
    margin: 4px 0 0;
}

.contact-rdv__sub {
    font-size: 14px;
    line-height: 1.55;
    color: var(--color-teal-dark);
    opacity: 0.75;
    margin: 0;
    margin-top: 1em;
}

.contact-rdv__cta {
    margin-top: 6px;
}

/* ── Carte info ── */
.contact-info {
    background-color: var(--color-teal-dark);
    border-radius: 24px;
    padding: 48px 40px;
    color: var(--color-white);
}

.contact-info .contact-info__accroche {
    font-size: 15px;
    line-height: 1.6;
    opacity: 0.7;
    margin: 0 0 40px;
    color: var(--color-white);
}

.contact-info__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contact-info__item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-info__icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

.contact-info__icon svg {
    width: 18px;
    height: 18px;
    stroke: var(--color-gold);
    fill: none;
}

/* LinkedIn icon uses fill */
.contact-info__item:last-child .contact-info__icon svg {
    fill: var(--color-gold);
    stroke: none;
}

.contact-info__text {
    font-size: 15px;
    line-height: 1.6;
    padding-top: 8px;
    color: var(--color-white);
}

.contact-info__link,
.contact-info__link:hover,
.contact-info__link:focus,
.contact-info__link:visited {
    color: var(--color-white);
    text-decoration: none;
}

.contact-info__link:hover,
.contact-info__link:focus {
    opacity: 0.75;
}

.contact-info__separator {
    height: 1px;
    background-color: rgba(255, 255, 255, 0.12);
    margin: 40px 0;
}

.contact-info__mention {
    font-size: 13px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    opacity: 0.5;
    margin: 0;
}

.contact-info__mention strong {
    opacity: 1;
    color: var(--color-gold);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .contact-body__inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .contact-form,
    .contact-aside {
        position: static;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        padding: 80px 24px 60px;
    }

    .contact-body {
        padding: 48px 24px 80px;
    }

    .contact-info {
        padding: 36px 28px;
        border-radius: 16px;
    }
}

/* ═══════════════════════════════════════════════════════════
   PAGES LÉGALES
   ═══════════════════════════════════════════════════════════ */

.legal-page {
    background-color: var(--color-cream);
    padding: 120px 0 100px;
}

.legal__inner {
    max-width: 760px;
    margin: 0 auto;
    padding: 0 24px;
}

.legal__titre {
    font-family: var(--font-heading);
    font-size: clamp(36px, 4vw, 56px);
    font-style: italic;
    font-weight: 700;
    color: var(--color-teal-dark);
    line-height: 1.1;
    margin-bottom: 64px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(31, 62, 66, 0.15);
}

.legal__content {
    font-size: 16px;
    line-height: 1.75;
    color: var(--color-teal-dark);
}

.legal__content h2 {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 700;
    margin: 48px 0 16px;
    color: var(--color-teal-dark);
}

.legal__content h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 32px 0 12px;
    color: var(--color-teal-dark);
}

.legal__content p {
    margin-bottom: 20px;
    opacity: 0.8;
}

.legal__content a {
    color: var(--color-teal);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.legal__content ul,
.legal__content ol {
    padding-left: 24px;
    margin-bottom: 20px;
    opacity: 0.8;
}

.legal__content li {
    margin-bottom: 8px;
}

/* ─── Réassurance : barre-pilule blurry en bas du hero ────────── */

/* Permet le positionnement absolu de la barre dans les deux heros */
.hero-home,
.cat-hero {
    position: relative;
}

.reassurance-bar {
    position: absolute;
    left: 50%;
    bottom: 48px;
    transform: translateX(-50%);
    z-index: 3;

    list-style: none;
    margin: 0;
    padding: 0;

    display: flex;
    align-items: stretch;
    width: min(720px, calc(100% - 96px));

    border-radius: 999px;
    background: rgba(28, 85, 98, 0.55); /* teal translucide */
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 16px 48px rgba(31, 62, 66, 0.28);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    overflow: hidden;
}

.reassurance-bar__item {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 22px 24px;
    text-align: center;
}

/* Séparateurs verticaux entre les segments */
.reassurance-bar__item + .reassurance-bar__item {
    border-left: 1px solid rgba(255, 255, 255, 0.22);
}

.reassurance-bar__argument {
    font-family: var(--font-heading);
    font-size: 34px;
    font-weight: 700;
    line-height: 1;
    color: var(--color-white);
}

.reassurance-bar__sous-argument {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;
    color: rgba(255, 255, 255, 0.85);
}

/* Avis Google (widget Trustindex) sous le bouton — alignés à gauche */
.hero-home__avis,
.cat-hero__avis {
    margin-top: 4px;
    text-align: left;
    display: flex;
    justify-content: flex-start;
}

.hero-home__avis > *,
.cat-hero__avis > * {
    margin-left: 0;
    margin-right: auto;
}

@media (min-width: 769px) and (max-width: 1400px) {
    .hero-home .reassurance-bar,
    .cat-hero .reassurance-bar {
        bottom: -50px;
    }

    /* Compense le débordement de la barre (bottom: -50px) sur la section
       suivante, avec une marge de respiration. */
    .hero-home + *,
    .cat-hero + * {
        padding-top: 100px;
    }
}

@media (max-width: 768px) {
    .reassurance-bar {
        width: calc(100% - 48px);
        padding: 0;
    }

    .reassurance-bar__item {
        padding: 16px 14px;
    }

    .reassurance-bar__argument {
        font-size: 26px;
    }

    /* Home : la photo est en haut sur mobile → ancrer la barre
       à l'intérieur de la photo, juste au-dessus de son bord bas,
       pour ne pas chevaucher le contenu en dessous. */
    .hero-home .reassurance-bar {
        bottom: auto;
        top: max(56vw, 500px);
        transform: translate(-50%, calc(-100% - 16px));
    }

    /* Catégorie : la photo est en bas sur mobile → ancrer la barre
       juste au-dessus de son bord bas. */
    .cat-hero .reassurance-bar {
        top: auto;
        bottom: 16px;
        transform: translateX(-50%);
    }
}
