/* ============================================
   SOUVENIIRS — Polices hébergées localement
   Playfair Display + Source Serif 4, sous-ensembles latin et latin-ext.
   Fichiers variables : une même ressource sert plusieurs graisses.
   Reprend à l'identique les variantes servies par l'ancien @import Google.
   ============================================ */

/* --- Playfair Display, normal 400 --- */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/playfair-display-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/playfair-display-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;
}

/* --- Playfair Display, normal 700 --- */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/playfair-display-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/playfair-display-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;
}

/* --- Playfair Display, normal 900 --- */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('fonts/playfair-display-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('fonts/playfair-display-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;
}

/* --- Playfair Display, italique 400 --- */
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/playfair-display-italic-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/playfair-display-italic-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;
}

/* --- Source Serif 4, normal 300 --- */
@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('fonts/source-serif-4-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('fonts/source-serif-4-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;
}

/* --- Source Serif 4, normal 400 --- */
@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/source-serif-4-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/source-serif-4-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;
}

/* --- Source Serif 4, normal 600 --- */
@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/source-serif-4-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/source-serif-4-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;
}
/*
 * SOUVENIIRS — Feuille de style personnalisée
 * Surcharges CSS pour LearnDash et autres éléments visuels.
 * Chargée via le plugin souveniirs-css-learndash.
 */

/* === Bouton "Retour au menu principal" sur les pages de leçon === */

/* Bouton central "Retour au menu principal" = a.ld-course-step-back.
   Épuré en simple phrase-lien pour s'harmoniser avec Précédente/Suivante
   (option A : texte seul, sans flèche). On neutralise le style "pavé" natif
   (fond rouge via .ld-primary-color, padding, bordure). Le double .ld-course-step-back
   et le préfixe :not():not() donnent la spécificité pour battre le style cœur. */
.learndash-wrapper:not(.ld-registration__outer-wrapper):not(.learndash-wrapper--modern) .ld-content-actions .ld-content-action a.ld-course-step-back.ld-course-step-back {
    display: inline-block;
    background: transparent !important;
    background-color: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    color: #2e2e2e !important;
    text-decoration: none !important;
    white-space: nowrap;
    font-family: 'Source Serif 4', serif !important;
    font-size: 1em !important;        /* ← CHIFFRE 1 (taille du lien central). + gros : 1.1em / 1.2em. + petit : 0.85em */
    font-weight: 800 !important;
    line-height: 1.25em !important;
    transition: color 0.2s ease !important;
}
.learndash-wrapper:not(.ld-registration__outer-wrapper):not(.learndash-wrapper--modern) .ld-content-actions .ld-content-action a.ld-course-step-back.ld-course-step-back:hover {
    background: transparent !important;
    background-color: transparent !important;
    color: #dd271f !important;
    text-decoration: none !important;
}

/* Libellés "Leçon Précédente / Suivante" forcés sur deux lignes (un mot par ligne)
   pour dégager de la largeur au lien central. Le max-width est le levier :
   plus il est petit, plus le retour à la ligne est garanti. */
.learndash-wrapper:not(.ld-registration__outer-wrapper):not(.learndash-wrapper--modern) .ld-content-actions .ld-content-action .ld-button .ld-text {
    white-space: normal !important;
    max-width: 6em;                   /* ← CHIFFRE 2. Si "Leçon Suivante" reste sur 1 ligne, baisse à 5em / 4.5em */
    display: inline-block;
    text-align: center;
}

/* === Navigation bas de leçon — Leçon précédente / suivante ===
   Le fond rouge des boutons prev/next vient de la règle LearnDash native qui
   cible .ld-button avec le préfixe :not(.ld-registration__outer-wrapper):not(.learndash-wrapper--modern)
   (spécificité ≈ 0,6,0, en !important). Pour la battre SANS toucher au réglage
   "Couleur accentuée" (sidebar rouge conservée), on reprend le même préfixe,
   on ajoute le conteneur .ld-content-actions .ld-content-action, et on double
   la classe .ld-button.ld-button (idiome de spécificité) → ≈ 0,7,0 > 0,6,0.
   Le bouton central porte .ld-course-step-back (PAS .ld-button) → jamais touché. */

.learndash-wrapper:not(.ld-registration__outer-wrapper):not(.learndash-wrapper--modern) .ld-content-actions .ld-content-action .ld-button.ld-button {
    background: transparent !important;
    background-color: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    color: #2e2e2e !important;
    text-decoration: none !important;
    font-family: 'Source Serif 4', serif !important;
    transition: color 0.2s ease !important;
}
.learndash-wrapper:not(.ld-registration__outer-wrapper):not(.learndash-wrapper--modern) .ld-content-actions .ld-content-action .ld-button.ld-button .ld-text,
.learndash-wrapper:not(.ld-registration__outer-wrapper):not(.learndash-wrapper--modern) .ld-content-actions .ld-content-action .ld-button.ld-button .ld-icon {
    color: inherit !important;
}
.learndash-wrapper:not(.ld-registration__outer-wrapper):not(.learndash-wrapper--modern) .ld-content-actions .ld-content-action .ld-button.ld-button:hover,
.learndash-wrapper:not(.ld-registration__outer-wrapper):not(.learndash-wrapper--modern) .ld-content-actions .ld-content-action .ld-button.ld-button:hover .ld-text,
.learndash-wrapper:not(.ld-registration__outer-wrapper):not(.learndash-wrapper--modern) .ld-content-actions .ld-content-action .ld-button.ld-button:hover .ld-icon {
    color: #dd271f !important;
    text-decoration: none !important;
}

/* Filet de sécurité : si le rouge était porté par le conteneur et non par le <a>,
   on le neutralise aussi. Sans effet sur le bouton central (son rouge est sur
   le <a>.ld-course-step-back, pas sur ce div). */
.learndash-wrapper:not(.ld-registration__outer-wrapper):not(.learndash-wrapper--modern) .ld-content-actions .ld-content-action {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

/* Alignement vertical des 3 colonnes de la rangée du bas (centrage) */
.learndash-wrapper .ld-content-actions {
    align-items: center !important;
}

/* === Direction B — Neutralisation de la progression native LearnDash ===
   Le suivi réel de la progression se fait dans "Mes Chapitres".
   On masque les indicateurs natifs (non fiables dans notre architecture). */

/* Barre de progression de l'en-tête (% terminé, N/68 étapes, barre) */
.learndash-wrapper .ld-focus-header .ld-progress { display: none !important; }

/* Icônes de statut dans la sidebar (cercles "à faire" + coches "terminé") */
.learndash-wrapper .ld-focus-sidebar .ld-status-icon { display: none !important; }

/* Bouton natif "Leçon terminée" (Mark Complete) — masqué partout (haut-droite + bas).
   La navigation reste assurée par "Leçon Suivante". */
.learndash-wrapper form.sfwd-mark-complete { display: none !important; }

/* Navigation du bandeau du haut (Focus Mode) — masquée.
   Elle dépend de la complétion native (non fiable chez nous) → incohérente.
   Navigation assurée par le bas de page + la sidebar.
   IMPORTANT : scoper à .ld-focus-header — .ld-content-actions sert AUSSI à la nav du bas. */
.learndash-wrapper .ld-focus-header .ld-content-actions { display: none !important; }

/* Encadré "infobar" natif (fil d'Ariane + badge EN COURS/TERMINÉ) — masqué.
   Statut natif non fiable chez nous ; un bouton "Terminé" custom le remplacera.
   Le suffixe de classe (…-167_205_6) varie selon la leçon → sélecteur partiel [class*=]. */
.learndash-wrapper [class*="learndash-shortcode-wrap-ld_infobar"] { display: none !important; }

/* === Bouton "Terminé" auto-déclaratif (remplace le statut natif masqué) ===
   Repère personnel du client, indépendant de la complétion native.
   Anthracite = à terminer ; bleu = terminée. */
.sv-lecon-terminee-wrap {
    text-align: center;
    margin: -32px 0 24px;
}
.sv-lecon-terminee-wrap .sv-btn-lecon-terminee {
    display: inline-block;
    cursor: pointer;
    border: none;
    border-radius: 4px;
    padding: 11px 24px;
    font-family: 'Source Serif 4', Georgia, serif;
    font-size: 15px;
    line-height: 1.2;
    color: #fff;
    background: #2e2e2e;
    transition: background .15s ease, opacity .15s ease;
}
.sv-lecon-terminee-wrap .sv-btn-lecon-terminee:hover {
    opacity: .9;
}
.sv-lecon-terminee-wrap .sv-btn-lecon-terminee.is-terminee {
    background: #235af3;
}
.sv-lecon-terminee-wrap .sv-btn-lecon-terminee[disabled] {
    opacity: .65;
    cursor: default;
}

/* === Masquage sidebar des leçons Module 5 par plan ===
   Aligné sur la restriction d'accès PHP (souveniirs_restreindre_module5).
   Plan 1 : masque 1654 (Souveniirs s'occupe de tout).
   Plans 2 et 3 : masquent 5.1 (407) et 5.2 (410).
   Cible par fin d'adresse ($=) car les items sidebar ne portent pas d'ID. */

/* Plan 1 → masque « Votre livre — Souveniirs s'occupe de tout » (1654) */
.sv-plan-1 .ld-lesson-item:has(a[href$="/votre-livre-souveniirs-soccupe-de-tout/"]) {
    display: none !important;
}

/* Plans 2 et 3 → masquent « Leçon 5.1 » (407) et « Leçon 5.2 » (410) */
.sv-plan-2 .ld-lesson-item:has(a[href$="/lecon-5-1-votre-livre-de-la-plateforme-a-l-impression/"]),
.sv-plan-2 .ld-lesson-item:has(a[href$="/lecon-5-2-remerciements/"]),
.sv-plan-3 .ld-lesson-item:has(a[href$="/lecon-5-1-votre-livre-de-la-plateforme-a-l-impression/"]),
.sv-plan-3 .ld-lesson-item:has(a[href$="/lecon-5-2-remerciements/"]) {
    display: none !important;
}
/* ===== Encart « Recevoir votre livre imprimé » — Plan 1, /pdf-brouillon/ (archivé) ===== */
.sv-lulu-encart {
    max-width: 700px;
    margin: 30px auto 0;
    padding: 28px 32px;
    background: #f7f5f2;
    border-left: 4px solid #dd271f;
    font-family: 'Source Serif 4', serif;
    color: #2e2e2e;
}
.sv-lulu-encart h3 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    color: #2e2e2e;
    margin: 0 0 12px;
}
.sv-lulu-divider {
    width: 60px;
    height: 3px;
    background: #dd271f;
    border: 0;
    margin: 0 0 20px;
}
.sv-lulu-encart p {
    font-size: 18px;
    line-height: 1.6;
    margin: 0 0 14px;
}
.sv-lulu-encart ol {
    font-size: 18px;
    line-height: 1.6;
    margin: 0;
    padding-left: 22px;
}
.sv-lulu-encart li {
    margin-bottom: 10px;
}
/* ===== Auto-save — bandeau de restauration de brouillon (Zone 1 : questionnaires) ===== */
.sv-autosave-banner {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    max-width: 700px;
    margin: 0 auto 22px;
    padding: 14px 18px;
    background: #f7f5f2;
    border-left: 4px solid #dd271f;
    border-radius: 4px;
    font-family: 'Source Serif 4', serif;
    font-size: 16px;
    line-height: 1.5;
    color: #2e2e2e;
}
.sv-autosave-banner .sv-autosave-msg {
    flex: 1 1 auto;
}
.sv-autosave-banner button {
    flex: 0 0 auto;
    font-family: 'Source Serif 4', serif;
    font-size: 15px;
    padding: 8px 20px;
    border-radius: 4px;
    cursor: pointer;
    border: 2px solid #dd271f;
    transition: all 0.25s ease;
}
.sv-autosave-banner .sv-autosave-restore {
    background: #dd271f;
    color: #ffffff;
}
.sv-autosave-banner .sv-autosave-restore:hover {
    background: transparent;
    color: #dd271f;
}
.sv-autosave-banner .sv-autosave-ignore {
    background: transparent;
    color: #2e2e2e;
    border-color: #e8e4df;
}
.sv-autosave-banner .sv-autosave-ignore:hover {
    background: #e8e4df;
}
/* === Footer — Menu de liens + Copyright === */

/* Fond général du footer */
.site-footer {
    background-color: #f7f5f2;
    border-top: 1px solid #e8e4df;
}

/* Liens du menu footer */
#astra-footer-menu .menu-link,
#astra-footer-menu .menu-link:visited {
    color: #2e2e2e !important;
    font-family: 'Source Serif 4', serif !important;
    font-size: 15px !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}

#astra-footer-menu .menu-link:hover {
    color: #dd271f !important;
    text-decoration: underline !important;
}

/* Barre copyright — même taille que les liens du menu du pied de page (15px) ; le paragraphe est visé pour passer devant la règle globale 21px !important du Personnaliseur */
.site-footer .ast-footer-copyright,
.site-footer .ast-footer-copyright p {
    color: #2e2e2e;
    font-family: 'Source Serif 4', serif;
    font-size: 15px !important;
    text-align: center;
}
/* === Masquer l'icône flottante "Gérer le consentement" (Complianz) === */
/* Le lien footer "Gérer les cookies" reste fonctionnel via le conteneur actif */
.cmplz-manage-consent.cmplz-manage-consent-container {
    display: none !important;
}
/* ============================================================
   EN-TÊTE — Menu principal resserré (option B) + panier compact
   Desktop uniquement : body:not(.ast-header-break-point)
   pour ne PAS toucher au menu mobile / burger.
   Couleur inchangée (rouge charte #dd271f conservé).
   ============================================================ */

/* Menu : regrouper les deux rangées, supprimer l'écart vertical */
body:not(.ast-header-break-point) .main-header-menu {
    align-content: center;
    row-gap: 0;
}
body:not(.ast-header-break-point) .main-header-menu > .menu-item > .menu-link {
    padding-top: 6px;
    padding-bottom: 6px;
    line-height: 1.35;
}

/* Taille des liens du menu principal — migré du Personnaliseur le 18/08/2026 (règle 16).
   18px → 21px (demande de Gérard). font-family conservé pour garder Source Serif 4. */
.main-header-menu a.menu-link {
    font-family: 'Source Serif 4', serif !important;
    font-size: 21px !important;
}

/* Panier : cadre supprimé — on garde l'icône seule + le badge « 0 » */
.ast-site-header-cart.ast-menu-cart-outline .ast-addon-cart-wrap {
    border: 0;
    padding: 0;
}
.ast-site-header-cart .cart-container {
    align-self: center;
}
/* ============================================================
   Suppression du liseré blanc sous le header (bordure/ombre Astra)
   Vise le header ET sa barre interne — cause n°1 identifiée.
   ============================================================ */
#masthead,
.site-header,
.main-header-bar,
.ast-primary-header-bar,
.ast-main-header-bar-alignment {
    border-bottom: 0 !important;
    box-shadow: none !important;
}
/* === Bouton "Retour au menu principal" dans le bandeau haut (Focus Mode) === */
/* Masque le message d'accueil natif "Bonjour X" pour libérer la place. */
.ld-focus-header .ld-user-menu .ld-user-welcome-text {
    display: none !important;
}
.ld-focus-header .ld-user-menu .sv-header-back {
    flex: 0 0 auto;               /* ne se coupe plus en 2 lignes, ne s'écrase pas */
    align-self: center;
    margin-right: 16px;
    font-family: 'Source Serif 4', serif !important;
    font-size: 15px;
    font-weight: 800;
    color: #2e2e2e !important;    /* bat le rouge hérité de LearnDash */
    text-decoration: none !important;
    white-space: nowrap;
    transition: color 0.2s ease;
}
.ld-focus-header .ld-user-menu .sv-header-back:hover {
    color: #dd271f !important;
    text-decoration: none !important;
}

/* ============================================================
   JAUGE D'ESTIMATION DE PAGES (mode Focus)
   Barre fine, pleine largeur, sous l'en-tête « Retour au menu principal ».
   États : neutre (calme) · ambre (approche) · attention (limite proche).
   ============================================================ */
.sv-jauge-pages {
    width: 100%;
    background: #f3efe9;
    border-bottom: 1px solid #e3ddd3;
    font-family: 'Source Serif 4', serif;
}
.sv-jauge-pages .sv-jauge-fill {
    height: 4px;
    background: #9aa89a;
    transition: width 0.4s ease;
}
.sv-jauge-pages .sv-jauge-txt {
    padding: 6px 18px;
    font-size: 13px;
    color: #6a6357;
    text-align: center;
}
.sv-jauge-ambre .sv-jauge-fill     { background: #d9a441; }
.sv-jauge-ambre .sv-jauge-txt      { color: #8a6d2f; }
.sv-jauge-attention .sv-jauge-fill { background: #c0655a; }
.sv-jauge-attention .sv-jauge-txt  { color: #9c4a41; }

/* ============================================================
   CORRECTIF 2a — jauge en pleine largeur DANS l'en-tête Focus
   (injectée comme enfant de .ld-focus-header, sur sa propre ligne).
   ============================================================ */
.learndash-wrapper .ld-focus .ld-focus-header {
    height: auto !important;
    flex-wrap: wrap !important;
}
.ld-focus-header .sv-jauge-pages {
    flex-basis: 100%;
    width: 100%;
    order: 99;
    margin: 0;
}

/* ============================================================
   Page « Appliquer corrections » (ID 1178) — typographie
   Le shortcode [souveniirs_corrections] n'impose aucune police :
   son contenu héritait de la police par défaut d'Astra.
   Corps : Source Serif 4 — Titres : Playfair Display.
   ============================================================ */
.page-id-1178 .entry-title,
.page-id-1178 .entry-content h1,
.page-id-1178 .entry-content h2,
.page-id-1178 .entry-content h3 {
    font-family: 'Playfair Display', serif !important;
}

.page-id-1178 .entry-content,
.page-id-1178 .entry-content p,
.page-id-1178 .entry-content li,
.page-id-1178 .entry-content a,
.page-id-1178 .entry-content strong {
    font-family: 'Source Serif 4', serif !important;
}

/* Bouton "Soumettre à l'IA" — cahier des charges */
/* Migré du Personnaliseur le 14/08/2026 (règle 16) */
.souveniirs-btn-submit {
    background: #dd271f !important;
    color: #ffffff !important;
    border: 2px solid #dd271f !important;
    font-family: 'Source Serif 4', serif !important;
    padding: 18px 48px !important;
    font-size: 21px !important;
    transition: all 0.3s !important;
    cursor: pointer !important;
}

.souveniirs-btn-submit:hover {
    background: transparent !important;
    color: #dd271f !important;
    border-color: #dd271f !important;
}
/* ===== Fiche d'identité client — panneau « Mon histoire »
   (/mon-compte/edit-account/, rendu par souveniirs_fiche_identite_form) =====
   Migré du bloc <style> inline de souveniirs-platform.php le 17/08/2026 (règle 16).
   Les variables :root d'origine (--rouge, --anthracite, --gris-clair, --gris-moyen)
   sont substituées par leurs valeurs littérales : convention de ce fichier, et
   évite une déclaration :root globale pour un usage local. Rendu identique. */
.souveniirs-fiche-fieldset {
    border: 1px solid #e8e4df;
    border-radius: 6px;
    padding: 24px 28px;
    margin: 28px 0;
    background: #f7f5f2;
}
.souveniirs-fiche-legend {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 700;
    color: #2e2e2e;
    padding: 0 10px;
}
.souveniirs-fiche-intro {
    font-family: 'Source Serif 4', serif;
    font-size: 18px;
    color: #2e2e2e;
    margin: 8px 0 20px;
    border-left: 3px solid #dd271f;
    padding-left: 14px;
}
.souveniirs-fiche-fieldset label {
    font-family: 'Source Serif 4', serif;
    font-size: 18px;
    font-weight: 600;
    color: #2e2e2e;
    display: block;
    margin-bottom: 6px;
}
.souveniirs-fiche-fieldset input[type="text"],
.souveniirs-fiche-fieldset input[type="date"],
.souveniirs-fiche-fieldset textarea {
    width: 100%;
    padding: 10px 14px;
    font-family: 'Source Serif 4', serif;
    font-size: 18px;
    color: #2e2e2e;
    border: 1px solid #e8e4df;
    border-radius: 4px;
    background: #fff;
    box-sizing: border-box;
}
.souveniirs-fiche-fieldset textarea {
    resize: vertical;
}
.souveniirs-fiche-fieldset input:focus,
.souveniirs-fiche-fieldset textarea:focus {
    outline: none;
    border-color: #dd271f;
}
/* ===== Fiche d'identité — pop-up bloquante et cases « Sans objet » =====
   Ajouté le 18/08/2026. Remplace le bandeau permanent de la livraison C2b,
   jugé trop discret en bas de la page « Détails du compte ».
   Facture reprise de #souveniirs-popup-reprise (souveniirs-platform.php),
   classes distinctes pour éviter toute interférence. */
#souveniirs-popup-fiche,
#souveniirs-popup-enrich {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.6);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
#souveniirs-popup-fiche .sv-popup-fiche-box,
#souveniirs-popup-enrich .sv-popup-fiche-box {
    background: #fff;
    border-radius: 8px;
    padding: 34px 30px;
    max-width: 520px;
    width: 100%;
    text-align: center;
    font-family: 'Source Serif 4', serif;
    box-shadow: 0 10px 40px rgba(0,0,0,0.25);
}
#souveniirs-popup-fiche h3,
#souveniirs-popup-enrich h3 {
    font-family: 'Playfair Display', serif;
    color: #2e2e2e;
    font-size: 22px;
    margin: 0 0 16px;
}
#souveniirs-popup-fiche p,
#souveniirs-popup-enrich p {
    color: #2e2e2e;
    font-size: 18px;
    line-height: 1.6;
    margin: 0 0 26px;
    text-align: left;
}
#souveniirs-popup-fiche .sv-popup-fiche-primary,
#souveniirs-popup-enrich .sv-popup-fiche-primary {
    display: inline-block;
    background: #dd271f;
    color: #fff;
    padding: 14px 36px;
    border: 2px solid #dd271f;
    border-radius: 5px;
    font-family: 'Source Serif 4', serif;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.25s;
    text-decoration: none;
}
#souveniirs-popup-fiche .sv-popup-fiche-primary:hover,
#souveniirs-popup-enrich .sv-popup-fiche-primary:hover {
    background: transparent;
    color: #dd271f;
}
/* ===== Avertissement avant archivage — enrichissements non validés =====
   Ajouté le 21/08/2026. Réutilise intégralement la facture de la modale
   fiche d'identité ci-dessus ; ces règles ne font qu'ajouter ce que ce
   dispositif ne portait pas : trois paragraphes au lieu d'un, une boîte
   défilante sur petit écran, et un second bouton non effacé. */
#souveniirs-popup-enrich .sv-popup-fiche-box {
    max-width: 560px;
    max-height: 90vh;
    overflow-y: auto;
}
#souveniirs-popup-enrich p {
    margin: 0 0 18px;
}
#souveniirs-popup-enrich .sv-popup-enrich-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 26px;
}
#souveniirs-popup-enrich .sv-popup-fiche-secondary {
    display: inline-block;
    background: transparent;
    color: #2e2e2e;
    padding: 14px 36px;
    border: 2px solid #2e2e2e;
    border-radius: 5px;
    font-family: 'Source Serif 4', serif;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.25s;
    text-decoration: none;
}
#souveniirs-popup-enrich .sv-popup-fiche-secondary:hover {
    background: #2e2e2e;
    color: #fff;
}
.souveniirs-fiche-fieldset label.souveniirs-fiche-so {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 8px 0 0;
    font-size: 15px;
    font-weight: 400;
    color: #666;
    cursor: pointer;
}
.souveniirs-fiche-fieldset label.souveniirs-fiche-so input[type="checkbox"] {
    width: auto;
    margin: 0;
    accent-color: #dd271f;
}
.souveniirs-fiche-fieldset .souveniirs-champ-inactif {
    background: #e8e4df;
    color: #999;
    cursor: not-allowed;
}

/* ============================================================
   Page « Détails du compte » (/mon-compte/edit-account/) — typographie.
   Ajouté le 18/08/2026. Périmètre STRICT : le formulaire d'édition du compte
   (.woocommerce-EditAccountForm, présent uniquement sur cette page).
   Approche additive : rien retiré du Personnaliseur → aucune autre page du
   compte (Adresses, Commandes…) n'est touchée. Spécificité renforcée pour
   l'emporter sur les règles du Personnaliseur, qui se charge après ce fichier. */

/* 1. Texte d'aide « Cela indique comment… » : retrait de l'italique.
      (« Se déconnecter » garde son italique : c'est un autre sélecteur.) */
#account_display_name_description em {
    font-style: normal !important;
}

/* 2. Titre « Changement de mot de passe » (<legend>, 14px par défaut Astra)
      → 22px Playfair gras, aligné sur la légende « Mon histoire ».
      :not(.souveniirs-fiche-legend) protège la légende de la fiche, déjà correcte. */
.woocommerce-MyAccount-content form.woocommerce-EditAccountForm legend:not(.souveniirs-fiche-legend) {
    font-family: 'Playfair Display', serif !important;
    font-size: 22px !important;
    font-weight: 700 !important;
}

/* 3 + 5. Intitulés des champs ET cases « Sans objet » (tous des <label>) → 21px.
      Couleur / graisse / police restent gérées par ailleurs. */
.woocommerce-MyAccount-content form.woocommerce-EditAccountForm label {
    font-size: 21px !important;
}

/* 4. Boutons « Enregistrer les modifications » ET « Enregistrer la photo » → 21px
      (le !important bat le font-size:14px inline du bouton photo). */
.woocommerce-MyAccount-content form.woocommerce-EditAccountForm button[type="submit"],
.woocommerce-MyAccount-content form.woocommerce-EditAccountForm input[type="submit"] {
    font-size: 21px !important;
}

/* 6. Texte SAISI par le client → 21px, cohérent avec les intitulés.
      Saisie VISIBLE uniquement : text / email / date + textarea.
      Champs mot de passe (souvent masqués) volontairement exclus.
      Spécificité (0,3,2) pour passer devant les règles 18px du Personnaliseur. */
.woocommerce-MyAccount-content form.woocommerce-EditAccountForm input[type="text"],
.woocommerce-MyAccount-content form.woocommerce-EditAccountForm input[type="email"],
.woocommerce-MyAccount-content form.woocommerce-EditAccountForm input[type="date"],
.woocommerce-MyAccount-content form.woocommerce-EditAccountForm textarea {
    font-size: 21px !important;
}
/* === Mise en page hero — migré du Personnaliseur le 20/08/2026 ===
   Ces trois règles étaient prisonnières d'un @media (max-width:921px)
   non refermé et ne s'appliquaient donc qu'en dessous de 921 px.
   La déclinaison mobile (padding-top:20px) reste dans le Personnaliseur. */
.hero,
.hero-boutique {
  padding-top: 40px !important;
  margin-top: 0 !important;
}

.page-id-849 .entry-content,
.page-id-851 .entry-content,
.page-id-9 .entry-content {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

.page-id-849 .hero {
  min-height: 70vh !important;
}

/* Masquage du bouton de paiement express Stripe (Link) sur la fiche produit.
   Ce bouton ouvre checkout.link.com et permet d'atteindre un écran de paiement
   sans passer par le formulaire de commande, donc sans que la case de
   renonciation au droit de rétractation soit cochée ni sa preuve enregistrée.
   Aucun réglage ne permet de le retirer : bug woocommerce-gateway-stripe ouvert
   depuis 2022, confirmé sans solution par le support WooCommerce en mai 2026.
   Quatre filtres officiels ont été posés dans souveniirs-platform.php section 28,
   vérifiés enregistrés, sans effet. Le bouton lui-même vit dans un iframe servi
   par Stripe, donc hors de portée du CSS ; seul son conteneur, généré par
   l'extension dans notre page, peut être masqué.
   Mesure conservatoire : masque, ne supprime pas. À retirer le jour où
   l'éditeur corrigera. Décision Gérard du 08/09/2026. */
body.single-product #wc-stripe-express-checkout-element {
  display: none !important;
}

/* Masquage de la bannière PayPal « Payez en 4 échéances » sur la fiche produit.
   Cette mention annonce une facilité de paiement que nous ne proposons pas :
   la méthode « Payer plus tard » est désactivée dans les moyens de paiement.
   Les six emplacements de l'onglet « Bannières Paiement en 4X » ont été
   décochés et vérifiés après rechargement, sans effet — même famille de bug
   que le bouton Link. Le message vit dans un iframe servi par PayPal, hors
   de portée du CSS ; seul son conteneur ppcp-messages, généré par l'extension
   dans notre page, peut être masqué.
   À revoir si le paiement en 4 fois est un jour réellement proposé.
   Décision Gérard du 08/09/2026. */
body.single-product .ppcp-messages {
  display: none !important;
}

/* ============================================================
   Page « Commande reçue » (remerciement WooCommerce) — habillage charte
   Bloc d'accueil : section 30 de souveniirs-platform.php (classes sv-accueil-*).
   Maquette validée le 03/10/2026.
   ============================================================ */

/* Titre de page et phrase native, remplacés par le bloc d'accueil */
body.woocommerce-order-received .entry-header,
.sv-accueil ~ .woocommerce-thankyou-order-received {
  display: none !important;
}

body.woocommerce-order-received #primary {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
}

body.woocommerce-order-received .entry-content > .woocommerce {
  padding-top: 0 !important;
}

/* Fond beige pleine largeur sous l'ensemble de la page */
body.woocommerce-order-received .woocommerce-order {
  background: #ebe7e0;
  box-shadow: 0 0 0 100vmax #ebe7e0;
  clip-path: inset(0 -100vmax);
  padding-bottom: 88px;
}

/* Bandeau anthracite pleine largeur */
.sv-accueil-hero {
  background: #2e2e2e;
  box-shadow: 0 0 0 100vmax #2e2e2e;
  clip-path: inset(0 -100vmax);
  padding: 88px 24px 96px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.sv-accueil-tag {
  display: inline-block;
  border: 1px solid #dd271f;
  color: #ffffff;
  font-family: 'Source Serif 4', serif !important;
  font-size: 18px !important;
  letter-spacing: 4px;
  text-transform: uppercase;
  padding: 10px 22px;
}

.sv-accueil .sv-accueil-titre {
  margin: 0 !important;
  font-family: 'Playfair Display', serif !important;
  font-weight: 900 !important;
  font-size: clamp(40px, 6vw, 72px) !important;
  line-height: 1.1 !important;
  color: #ffffff !important;
}

.sv-accueil .sv-accueil-titre em {
  color: #dd271f;
  font-style: italic;
  font-weight: 400;
}

/* Texte d'accueil, sur fond blanc pleine largeur */
.sv-accueil-corps {
  background: #ffffff;
  box-shadow: 0 0 0 100vmax #ffffff;
  clip-path: inset(0 -100vmax);
  padding: 88px 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
  color: #2e2e2e;
}

.sv-accueil-corps p {
  margin: 0 !important;
  font-family: 'Source Serif 4', serif !important;
  font-size: 21px !important;
  line-height: 1.6 !important;
  color: #2e2e2e;
}

.sv-accueil-corps .sv-accueil-merci {
  font-family: 'Playfair Display', serif !important;
  font-style: italic;
  font-size: 30px !important;
  line-height: 1.3 !important;
}

.sv-accueil-encadre {
  background: #ebe7e0;
  padding: 36px 40px;
  display: flex;
  gap: 28px;
  align-items: flex-start;
}

.sv-accueil-icone {
  flex: 0 0 auto;
  margin-top: 4px;
  color: #dd271f;
}

.sv-accueil-corps .sv-accueil-encadre p {
  font-size: 23px !important;
  font-weight: 600;
  line-height: 1.5 !important;
}

.sv-accueil-corps .sv-accueil-aide {
  font-size: 19px !important;
}

.sv-accueil-corps a {
  color: #dd271f;
}

.sv-accueil-corps a:hover {
  color: #2e2e2e;
}

/* Récapitulatif de commande : carte blanche */
body.woocommerce-order-received ul.woocommerce-order-overview {
  background: #ffffff;
  margin: 88px 0 56px !important;
  padding: 40px !important;
  border: 0 !important;
  list-style: none !important;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px 40px;
}

body.woocommerce-order-received ul.woocommerce-order-overview::before,
body.woocommerce-order-received ul.woocommerce-order-overview::after {
  display: none !important;
}

body.woocommerce-order-received ul.woocommerce-order-overview li {
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  font-family: 'Source Serif 4', serif !important;
  font-size: 18px !important;
  line-height: 1.6 !important;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #2e2e2e;
}

body.woocommerce-order-received ul.woocommerce-order-overview li strong {
  display: block;
  margin-top: 6px;
  font-family: 'Playfair Display', serif !important;
  font-weight: 700 !important;
  font-size: 24px !important;
  line-height: 1.3 !important;
  letter-spacing: 0;
  text-transform: none;
  overflow-wrap: anywhere;
}

/* Sections : détails, adresse, informations complémentaires */
body.woocommerce-order-received .woocommerce-order-details,
body.woocommerce-order-received .woocommerce-customer-details {
  margin: 0 0 56px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  font-family: 'Source Serif 4', serif;
  color: #2e2e2e;
}

body.woocommerce-order-received .woocommerce-order-details__title,
body.woocommerce-order-received .woocommerce-column__title,
body.woocommerce-order-received .wc-block-order-confirmation-additional-fields-wrapper h2 {
  margin: 0 0 28px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  font-family: 'Playfair Display', serif !important;
  font-weight: 700 !important;
  font-size: 26px !important;
  line-height: 1.3 !important;
  color: #2e2e2e !important;
}

body.woocommerce-order-received .woocommerce-order-details__title::after,
body.woocommerce-order-received .woocommerce-column__title::after,
body.woocommerce-order-received .wc-block-order-confirmation-additional-fields-wrapper h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  margin-top: 16px;
  background: #dd271f;
}

body.woocommerce-order-received table.woocommerce-table--order-details {
  width: 100%;
  margin: 0 !important;
  border: 0 !important;
  border-collapse: collapse;
  background: #ffffff;
  font-family: 'Source Serif 4', serif !important;
  font-size: 18px !important;
  color: #2e2e2e;
}

body.woocommerce-order-received table.woocommerce-table--order-details th,
body.woocommerce-order-received table.woocommerce-table--order-details td {
  padding: 20px 28px !important;
  border: 0 !important;
  border-bottom: 1px solid #e8e4df !important;
  background: transparent !important;
  font-family: 'Source Serif 4', serif !important;
  font-size: 18px !important;
  font-weight: 400;
  color: #2e2e2e;
}

body.woocommerce-order-received table.woocommerce-table--order-details thead th {
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
}

body.woocommerce-order-received table.woocommerce-table--order-details tfoot tr:last-child th,
body.woocommerce-order-received table.woocommerce-table--order-details tfoot tr:last-child td {
  border-bottom: 0 !important;
}

body.woocommerce-order-received table.woocommerce-table--order-details a {
  color: #dd271f;
}

body.woocommerce-order-received .woocommerce-customer-details {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  gap: 0 40px;
  align-items: start;
}

body.woocommerce-order-received .woocommerce-customer-details .woocommerce-column__title {
  grid-column: 1;
  grid-row: 1;
}

body.woocommerce-order-received .woocommerce-customer-details address {
  grid-column: 1;
  grid-row: 2;
  margin: 0 !important;
  padding: 28px !important;
  border: 0 !important;
  background: #ffffff;
  font-style: normal;
  font-family: 'Source Serif 4', serif !important;
  font-size: 18px !important;
  line-height: 1.6 !important;
  color: #2e2e2e;
}

body.woocommerce-order-received .wc-block-order-confirmation-additional-fields-wrapper {
  grid-column: 2;
  grid-row: 1 / span 2;
  margin: 0 !important;
  padding: 0 !important;
}

body.woocommerce-order-received .wc-block-components-additional-fields-list {
  margin: 0 !important;
  padding: 28px !important;
  background: #ffffff;
  font-family: 'Source Serif 4', serif;
  color: #2e2e2e;
}

body.woocommerce-order-received .wc-block-components-additional-fields-list dt {
  margin: 0 0 14px !important;
  font-family: 'Source Serif 4', serif !important;
  font-size: 18px !important;
  font-weight: 400 !important;
  line-height: 1.55 !important;
}

body.woocommerce-order-received .wc-block-components-additional-fields-list dd {
  margin: 0 !important;
  font-family: 'Source Serif 4', serif !important;
  font-size: 18px !important;
  font-weight: 600 !important;
}

/* Tablette et mobile */
@media (max-width: 900px) {
  body.woocommerce-order-received .woocommerce-customer-details {
    grid-template-columns: minmax(0, 1fr);
  }
  body.woocommerce-order-received .wc-block-order-confirmation-additional-fields-wrapper {
    grid-column: 1;
    grid-row: auto;
    margin-top: 56px !important;
  }
}

@media (max-width: 600px) {
  .sv-accueil-hero {
    padding: 60px 20px 64px;
  }
  .sv-accueil-corps {
    padding: 60px 0;
  }
  .sv-accueil-encadre {
    flex-direction: column;
    gap: 16px;
    padding: 28px 24px;
  }
  body.woocommerce-order-received ul.woocommerce-order-overview {
    margin-top: 60px !important;
    padding: 28px !important;
  }
  body.woocommerce-order-received table.woocommerce-table--order-details th,
  body.woocommerce-order-received table.woocommerce-table--order-details td {
    padding: 16px !important;
  }
}

/* ============================================================
   Encart « Votre livre est finalisé » — Mon compte, onglet Tableau de bord
   (section 31 de souveniirs-platform.php). Compte finalisé avec PDF.
   Même facture que l'encart Lulu (.sv-lulu-encart). Ajouté le 26/10/2026.
   ============================================================ */
.sv-finalise-encart {
    margin: 0 0 36px;
    padding: 28px 32px;
    background: #f7f5f2;
    border-left: 4px solid #dd271f;
    font-family: 'Source Serif 4', serif;
    color: #2e2e2e;
}
.sv-finalise-encart h3 {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 700;
    color: #2e2e2e;
    margin: 0 0 12px;
}
.sv-finalise-divider {
    width: 60px;
    height: 3px;
    background: #dd271f;
    border: 0;
    margin: 0 0 20px;
}
.sv-finalise-encart p {
    font-size: 21px;
    line-height: 1.6;
    margin: 0 0 24px;
}
.sv-finalise-encart .sv-finalise-btn,
.sv-finalise-encart .sv-finalise-btn:visited {
    display: inline-block;
    background: #dd271f;
    color: #ffffff;
    border: 2px solid #dd271f;
    padding: 18px 48px;
    font-family: 'Source Serif 4', serif;
    font-size: 17px;
    text-decoration: none;
    transition: all 0.3s;
}
.sv-finalise-encart .sv-finalise-btn:hover {
    background: transparent;
    color: #dd271f;
}
@media (max-width: 600px) {
    .sv-finalise-encart { padding: 24px 20px; }
    .sv-finalise-encart .sv-finalise-btn { display: block; text-align: center; padding: 18px 20px; }
}

/* ============================================================
   Mon compte — bouton natif « Parcourir les produits » masqué
   (onglet Téléchargements, et Commandes quand la liste est vide).
   Aucun réglage WooCommerce ne permet de le retirer.
   Décision Gérard du 26/10/2026.
   ============================================================ */
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-info .wc-forward {
    display: none !important;
}

/* ============================================================
   Encart « Devenez parrain » — Mon compte, onglet Tableau de bord
   (section 31 de souveniirs-platform.php). Le cadre reprend
   .sv-finalise-encart ; ces règles habillent le formulaire WPForms
   « Parrainage — demande de code » (bouton, message de confirmation)
   et la petite ligne grisée. Ajouté le 26/10/2026.
   ============================================================ */
.sv-parrainage-encart div.wpforms-container-full,
.sv-parrainage-encart div.wpforms-container-full .wpforms-form .wpforms-submit-container {
    margin: 0 !important;
    padding: 0 !important;
}
.sv-parrainage-encart div.wpforms-container-full .wpforms-form button.sv-parrainage-btn[type=submit] {
    display: inline-block;
    height: auto;
    background: #dd271f;
    color: #ffffff;
    border: 2px solid #dd271f;
    border-radius: 0;
    box-shadow: none;
    padding: 18px 48px;
    font-family: 'Source Serif 4', serif;
    font-size: 17px;
    line-height: 1.3;
    transition: all 0.3s;
}
.sv-parrainage-encart div.wpforms-container-full .wpforms-form button.sv-parrainage-btn[type=submit]:hover {
    background: transparent;
    color: #dd271f;
}
.sv-parrainage-encart div.wpforms-container-full .wpforms-confirmation-container-full {
    margin: 0;
    padding: 0;
    background: transparent;
    border: 0;
    color: #2e2e2e;
}
.sv-parrainage-encart div.wpforms-container-full .wpforms-confirmation-container-full p {
    font-family: 'Source Serif 4', serif;
    font-size: 21px;
    line-height: 1.6;
    margin: 0;
}
.sv-parrainage-encart p.sv-parrainage-note {
    font-size: 15px;
    line-height: 1.5;
    color: #6e6b62;
    margin: 12px 0 0;
}
.sv-parrainage-encart:has(.wpforms-confirmation-container-full) p.sv-parrainage-note {
    display: none;
}
@media (max-width: 600px) {
    .sv-parrainage-encart div.wpforms-container-full .wpforms-form button.sv-parrainage-btn[type=submit] {
        display: block;
        width: 100%;
        padding: 18px 20px;
    }
}