/**
Theme Name: UPB P창tisserie
Author: UPB Studio
Author URI: https://patisserie.universpetitebulle.fr
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: upb-patisserie
Template: astra
*/
/* =========================================================
   FICHE CRÉATION UPB
   ========================================================= */

.upb-creation {
    width: 100%;
}


/* ---------- INTRO ---------- */

.upb-creation-intro {
    max-width: 760px;
    margin: 0 auto;
    padding: 48px 24px 32px;
    text-align: center;
}

.upb-creation-patisserie {
    margin-bottom: 12px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #9A8D86;
}

.upb-creation-titre {
    margin: 0 0 18px;
}

.upb-creation-accroche {
    margin: 0 0 12px;
    font-size: 1.35rem;
}

.upb-creation-introduction {
    max-width: 620px;
    margin: 0 auto;
    font-size: 20px;
    line-height: 1.65;
}
.upb-creation-introduction p {
    margin: 0;
}


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

.upb-hero {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 48px;
    overflow: hidden;
}

.upb-hero-slides {
    display: flex;
    width: 100%;
    transition: transform 0.45s ease;
}

.upb-hero-slide {
    flex: 0 0 100%;
    width: 100%;
}

.upb-hero-image {
    display: block;
    width: 100%;
    height: auto;
}


/* ---------- POINTS DU CARROUSEL ---------- */

.upb-hero-dots {
    display: flex;
    justify-content: center;
    gap: 9px;
    margin-top: 16px;
}

.upb-hero-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #c9c9c9;
    cursor: pointer;
}

.upb-hero-dot.is-active {
    background: #222;
}


/* ---------- MOBILE ---------- */

@media (max-width: 768px) {

    .upb-creation-intro {
    padding: 40px 20px 28px;
}

    .upb-creation-accroche {
        font-size: 1.2rem;
    }

    .upb-hero {
        margin-bottom: 36px;
    }

}
/* =========================================================
   AJUSTEMENTS MOBILE — INTRO CRÉATION
   ========================================================= */

@media (max-width: 768px) {

    .upb-creation-intro {
    padding: 24px 20px 28px;
}

    .upb-creation-patisserie {
        margin-bottom: 20px;
        font-size: 12px;
        letter-spacing: 0.18em;
    }

    .upb-creation-titre {
        margin-bottom: 18px;
        font-size: 48px;
        line-height: 1.02;
    }

    .upb-creation-accroche {
        margin-bottom: 22px;
        font-size: 20px;
        line-height: 1.35;
    }

    .upb-creation-introduction {
        max-width: 340px;
        font-size: 16px;
        line-height: 1.65;
    }

}

@media (max-width: 768px) {

    .upb-hero-slide {
        height: 460px;
        overflow: hidden;
    }

    .upb-hero-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center center;
    }

}

/* En-tête blanc UPB — appliqué globalement à tout le site, sans
   dépendre d'une liste de classes par page. Toute nouvelle page
   hérite donc automatiquement du header blanc. Uniquement la
   couleur de fond du header est concernée : dimensions, logo,
   menu et comportement mobile restent inchangés. */
.site-header,
.ast-primary-header-bar,
.ast-mobile-header-wrap .ast-primary-header-bar {
    background: #ffffff !important;
    background-color: #ffffff !important;
}
/* =========================================================
   HEADER DESKTOP — BOUTON MENU PRINCIPAL (≥ 923px)
   Astra n'affiche le bouton burger nativement que sous 922px
   (la version desktop nécessite Astra Pro, non disponible ici).
   Voir desktop-menu-toggle.js pour la logique d'ouverture/
   fermeture (relais vers le vrai bouton mobile). Le point de
   rupture natif d'Astra (922px) n'est pas modifié.
   ========================================================= */
.upb-desktop-menu-toggle {
    display: none;
}

/* Réplique le swap d'icône (hamburger ↔ croix) qu'Astra applique
   normalement via la classe .menu-toggle, retirée du clone pour
   éviter que le JS global d'Astra ne le pilote (voir
   desktop-menu-toggle.js). */
.upb-desktop-menu-toggle .ast-close-svg {
    display: none;
}

.ast-hfb-header .upb-desktop-menu-toggle.toggled .ast-mobile-svg {
    display: none;
}

.ast-hfb-header .upb-desktop-menu-toggle.toggled .ast-close-svg {
    display: block;
}

@media (min-width: 923px) {
    /* Bouton cloné, positionné dans la zone droite du header
       desktop (vide par défaut sans Astra Pro). */
    .site-header-primary-section-right .upb-desktop-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 53px;
        height: 53px;
        padding: 13.5px;
    }

    /* Harmonisation de taille avec le burger mobile (référence :
       24x24px) : par défaut, ce bouton est plus petit sur desktop
       car la classe .ast-header-break-point (qui donne sa taille
       au bouton mobile) n'est jamais présente au-dessus de 922px. */
    .upb-desktop-menu-toggle .ast-mobile-svg,
    .upb-desktop-menu-toggle .ast-close-svg {
        width: 24px;
        height: 24px;
    }

    /* Révèle uniquement le panneau du menu (.ast-mobile-header-content),
       jamais le clone de barre de header qu'il contient aussi
       (.ast-main-header-wrap : logo + bouton mobile dupliqués). */
    body.ast-main-header-nav-open #ast-mobile-header {
        display: contents;
    }

    body.ast-main-header-nav-open #ast-mobile-header > .ast-main-header-wrap {
        display: none;
    }

    /* Force explicitement l'affichage du panneau : la règle native
       d'Astra exige aussi la classe .ast-header-break-point, que son
       JS n'ajoute jamais au-dessus de 922px. */
    body.ast-main-header-nav-open .ast-mobile-header-wrap .ast-mobile-header-content {
        display: block;
    }
}
/* =========================================================
   HARMONISATION VISUELLE DU MENU BURGER (mobile ≤ 922px et
   desktop ≥ 923px partagent le même panneau .ast-mobile-header-
   content et le même menu « Principal » : ce bloc n'habille que
   leur apparence commune. La mécanique d'ouverture/fermeture
   ci-dessus n'est pas modifiée.
   ========================================================= */

/* Empêche le défilement de la page pendant que le panneau est
   ouvert, pour qu'il masque intégralement — et en toute
   circonstance — le contenu et le footer situés en dessous.
   Propriétés longhand explicites (overflow-x/-y) en plus du
   raccourci : évite tout conflit de cascade avec une règle Astra
   qui ciblerait spécifiquement l'une des deux. */
body.ast-main-header-nav-open {
    overflow: hidden !important;
    overflow-x: hidden !important;
    overflow-y: hidden !important;
}

/* Panneau : fond beige UPB, pleine hauteur disponible sous le
   header. La position/l'alignement natifs d'Astra (position:
   absolute, juste sous le header, quelle que soit sa hauteur
   exacte à la largeur courante) ne sont pas modifiés : seule la
   hauteur est étendue à 100vh, très largement suffisante pour
   atteindre le bas de la fenêtre quelle que soit la hauteur du
   header ; le défilement de la page étant bloqué pendant l'ouverture
   (règle ci-dessus), ce dépassement reste invisible et inaccessible.
   100dvh (unité de hauteur dynamique, ignorée par les navigateurs
   qui ne la supportent pas) affine encore la couverture sur mobile
   réel, où la barre d'adresse rétractable peut rendre 100vh inexact.
   Défilement interne si le contenu du panneau dépasse. */
#ast-mobile-header .ast-mobile-header-content {
    background: #FBF6EE !important;
    height: 100vh;
    height: 100dvh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

/* Corrige un fond gris clair (puis un beige légèrement rosé résiduel,
   constaté ensuite au contrôle visuel réel) qu'Astra applique
   nativement à la zone navigation sur une plage de largeurs
   intermédiaires uniquement (règles natives Astra propres à cette
   plage — absentes en mobile étroit et en desktop large, d'où le
   fond correct observé à ces deux extrêmes). Tous les conteneurs
   intermédiaires entre le panneau et la liste de liens sont couverts
   par précaution (ils sont transparents ailleurs : les forcer à
   #FBF6EE n'a donc aucun effet visuel en dehors de cette plage).
   Uniquement le fond est forcé ici : dimensions, espacements et
   couleurs des liens restent ceux définis ci-dessus. */
#ast-mobile-header .ast-builder-menu-mobile,
#ast-mobile-header .main-header-bar-navigation,
#ast-mobile-header .ast-main-header-bar-alignment,
#ast-mobile-header #ast-mobile-site-navigation,
#ast-mobile-header .main-navigation,
#ast-mobile-header #ast-hf-mobile-menu {
    background: #FBF6EE !important;
    background-color: #FBF6EE !important;
}

/* Navigation : couleur chocolat UPB, suppression des séparateurs
   existants entre les liens, espacement aéré. */
#ast-mobile-header .main-navigation .menu-item .menu-link {
    color: #704B3E;
    border-bottom: 0 none !important;
    padding: 16px 24px;
}

/* Page active : indication discrète en rose UPB. */
#ast-mobile-header .main-navigation .menu-item.current-menu-item > .menu-link {
    color: #D98FA0;
}

/* Signature ajoutée en pied de panneau (voir menu-signature.js) :
   reste secondaire, ne doit pas ressembler à un bloc de menu. */
#ast-mobile-header .upb-menu-signature {
    padding: 28px 24px 36px;
    text-align: center;
}

#ast-mobile-header .upb-menu-signature-heart {
    display: block;
    margin-bottom: 6px;
    font-size: 18px;
    line-height: 1;
    color: #D98FA0;
}

#ast-mobile-header .upb-menu-signature-name {
    display: block;
    margin-bottom: 4px;
    font-size: 14px;
    font-weight: 600;
    color: #704B3E;
}

#ast-mobile-header .upb-menu-signature-tagline {
    display: block;
    font-size: 13px;
    color: #9A8D86;
}

/* Bloc Footer Builder Astra (aside.header-widget-area, les deux
   éléments HTML « Univers Petite Bulle / … / Éditions / Bulle
   Gourmande / Pinterest » et « Contact / Mentions légales /
   Confidentialité / © 2026 ») : cette instance n'existe QUE dans le
   panneau du menu (id unique sur la page, imbriqué dans
   #ast-mobile-header) — elle est distincte du footer réel du site
   (#colophon, en bas de page), jamais touché ici, ni son HTML ni sa
   configuration Astra. On la masque uniquement dans le panneau, en
   mobile comme en desktop ; le panneau lui-même n'étant visible que
   lorsque le menu est ouvert (état natif Astra en mobile, et notre
   règle forcée en desktop), ce masquage se limite de fait à l'état
   ouvert et n'a aucun effet une fois le menu fermé. */
#ast-mobile-header aside.header-widget-area {
    display: none !important;
}

/* =========================================================
   COMPOSITION DU PANNEAU — DESKTOP UNIQUEMENT (≥ 923px)
   Le rendu mobile (≤ 922px) ci-dessus n'est pas concerné par ce
   bloc. Uniquement la disposition (nav sur une ligne, centrée,
   sans effet de « cases », légèrement descendue ; signature
   descendue et décalée vers 60-65% de la largeur, avec un peu plus
   de présence) — couleurs, mécanique et contenu inchangés.
   ========================================================= */
@media (min-width: 923px) {
    /* Nav sur une ligne, centrée dans la largeur, avec de l'air
       entre les liens, légèrement descendue sous le header. */
    #ast-mobile-header .main-navigation {
        display: flex;
        justify-content: center;
        margin-top: 32px;
    }

    #ast-mobile-header #ast-hf-mobile-menu {
        display: flex;
        flex-wrap: nowrap;
        justify-content: center;
        gap: 40px;
    }

    /* Supprime l'effet de « case » (fond/bordure du style desktop
       standard d'Astra, normalement destiné au menu horizontal
       natif) : les liens restent simplement posés dans l'espace. */
    #ast-mobile-header .main-navigation .menu-item .menu-link {
        background: transparent !important;
        border: 0 none !important;
        box-shadow: none !important;
        width: auto;
        padding: 8px 4px;
    }

    /* Signature : recentrée horizontalement dans la largeur du
       panneau (taille et position verticale inchangées — voir
       marge ci-dessous). Cœur + nom + phrase restent centrés à
       l'intérieur du bloc (text-align hérité de la règle commune
       ci-dessus). */
    #ast-mobile-header .upb-menu-signature {
        position: relative;
        left: 50%;
        transform: translateX(-50%);
        width: max-content;
        max-width: 360px;
        margin: 96px 0 0;
        padding: 0 16px;
    }

    /* Un peu plus de présence, uniquement sur desktop. */
    #ast-mobile-header .upb-menu-signature-heart {
        font-size: 24px;
    }

    #ast-mobile-header .upb-menu-signature-name {
        font-size: 21px;
    }

    #ast-mobile-header .upb-menu-signature-tagline {
        font-size: 16px;
    }
}
/* =========================================================
   FICHE CRÉATION — FOND GÉNÉRAL BLANC (harmonisation)
   Le fond beige visible autour de la fiche vient du thème Astra
   (.ast-separate-container, réglage global du Customizer), pas de
   ce fichier. On ne touche pas cette règle globale — elle concerne
   d'autres gabarits — on la surcharge uniquement pour cette page,
   via la classe body.single-creation ajoutée automatiquement par
   WordPress sur ce post type.
   ========================================================= */
body.single-creation {
    background: #FFFFFF;
}
/* =========================================================
   HERO CRÉATION — FINITIONS MOBILE
   ========================================================= */

@media (max-width: 768px) {

    .upb-creation-intro {
        padding-bottom: 18px;
    }

    .upb-hero {
        margin-bottom: 40px;
    }

    .upb-hero-dots {
        margin-top: 12px;
        gap: 8px;
    }

    .upb-hero-dot {
        width: 6px;
        height: 6px;
    }
    
    body.single-creation .upb-histoire-texte,
body.single-creation .upb-histoire-texte p {
    font-size: 14px;
    line-height: 1.6;
}

}



/* =========================================================
   PHOTOS ÉDITORIALES — EFFET KINFOLK
   ========================================================= */

.upb-editorial {
    width: 100%;
    overflow: hidden;
    margin: 0 0 48px;
}

.upb-editorial-track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 0 20px 8px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.upb-editorial-track::-webkit-scrollbar {
    display: none;
}

.upb-editorial-slide {
    flex: 0 0 88%;
    scroll-snap-align: start;
}

.upb-editorial-image {
    display: block;
    width: 100%;
    height: auto;
}

/* ---------- MOBILE ---------- */

@media (max-width: 768px) {

    .upb-editorial {
        margin-bottom: 20px;
    }

    .upb-editorial-track {
        gap: 14px;
        padding-left: 20px;
        padding-right: 20px;
    }

    .upb-editorial-slide {
        flex-basis: 84%;
    }

}
/* =========================================================
   CTA BULLE GOURMANDE
   ========================================================= */

.upb-boutique {
    max-width: 760px;
    margin: 0 auto;
    padding: 20px 20px 42px;
    text-align: center;
}

.upb-boutique-button {
    display: inline-block;
    padding: 14px 26px;
    background: #9a6a43;
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.03em;
    line-height: 1.2;
    text-decoration: none !important;
    border-radius: 0;
    transition: opacity 0.25s ease;
}

.upb-boutique-button:hover {
    color: #ffffff !important;
    opacity: 0.78;
}
.upb-boutique-note {
    margin: 14px 0 0;
    font-size: 12px;
    line-height: 1.5;
    color: #777777;
}

/* =========================================================
   PAVÉ ACHAT
   ========================================================= */

.upb-achat {
    background: #FBF6EE;
}

/* ---------- MOBILE ---------- */

@media (max-width: 768px) {

    .upb-boutique {
padding: 10px 20px 42px;
}

    .upb-boutique-button {
        padding: 14px 22px;
        font-size: 14px;
    }

}
/* =========================================================
   IDENTITÉ VISUELLE UPB — TITRE + ACCROCHE
   ========================================================= */

.upb-creation-titre {
    color: #9a6a43;
}

.upb-creation-accroche {
    color: #9a6a43;
}

.upb-creation-accroche::after {
    content: "♥";
    display: block;
    margin-top: 12px;
    font-size: 15px;
    line-height: 1;
    color: #d98fa0;
}

/* Brun UPB — test chocolat */
.upb-creation-titre,
.upb-creation-accroche {
    color: #704B3E;
}

.upb-boutique-button {
    background: #704B3E;
}
/* =========================================================
   PRODUIT
   ========================================================= */

.upb-produit {
    max-width: 760px;
    margin: 0 auto;
    padding: 56px 24px 48px;
}
.upb-produit-title {
    color: #704B3E;
    font-size: 28px;
    line-height: 1.2;
    margin: 0 0 24px;
}


.upb-produit-texte {
    max-width: 620px;
    color: #777777;
    font-size: 17px;
    line-height: 1.75;
}

.upb-produit-texte p {
    margin: 0 0 24px;
}

.upb-produit-texte p:last-child {
    margin-bottom: 0;
}
/* =========================================================
   HISTOIRE DE LA CRÉATION
   ========================================================= */

.upb-histoire {
    position: relative;
    max-width: 760px;
    margin: 60px auto 0;
    padding: 56px 24px 72px;
    background: transparent;
    z-index: 0;
}

.upb-histoire::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 100vw;
    transform: translateX(-50%);
    background: #FBF6EE;
    z-index: -1;
}

.upb-section-label {
    margin: 0 0 18px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #9A8D86;
}

.upb-section-title {
    color: #704B3E;
    font-size: 34px;
    line-height: 1.1;
    margin-bottom: 24px;
}

.upb-histoire-texte {
    max-width: 620px;
    color: #777777;
    font-size: 17px;
    line-height: 1.75;
}

.upb-histoire-texte p {
    margin: 0 0 24px;
}

.upb-histoire-texte p:last-child {
    margin-bottom: 0;
}

/* ---------- MOBILE ---------- */

@media (max-width: 768px) {

    .upb-histoire {
        padding: 46px 20px 60px;
    }

    .upb-section-title {
        font-size: 38px;
        line-height: 1.08;
        margin-bottom: 24px;
    }

    .upb-histoire-texte {
        font-size: 16px;
        line-height: 1.7;
    }

}
/* =========================================================
   FABRICATION
   ========================================================= */

.upb-fabrication {
    max-width: 760px;
    margin: 0 auto;
    padding: 40px 24px 72px;
}

.upb-fabrication-title {
    margin: 0 0 14px;
    color: #704B3E;
    font-size: 32px;
    line-height: 1.15;
}

.upb-fabrication-title::after {
    content: "";
    display: block;
    width: 38px;
    height: 2px;
    margin-top: 16px;
    background: #d98fa0;
}

.upb-fabrication-texte {
    max-width: 620px;
    margin-top: 26px;
    color: #777777;
    font-size: 16px;
    line-height: 1.7;
}

.upb-fabrication-texte p {
    margin: 0 0 24px;
}

.upb-fabrication-texte p:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {

    .upb-fabrication {
        padding: 36px 20px 60px;
    }

    .upb-fabrication-title {
        font-size: 30px;
    }

}
/* =========================================================
   COMMENT ÇA FONCTIONNE — BLOC BLANC ARRONDI
   ========================================================= */

.upb-fonctionnement {
    position: relative;
    padding: 0;
    background: transparent;
}

.upb-fonctionnement::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 100vw;
    transform: translateX(-50%);
    background: #FBF6EE;
    z-index: 0;
}

.upb-fonctionnement-inner {
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin: 0 auto;
    padding: 64px 24px 68px;
}

/* Formes décoratives — transposition directe de la mécanique de
   L'Atelier V2 (.upb-ate-hero-blob) : cercles pleins débordant des
   bords de la section, découpés par overflow:hidden sur le parent,
   opacité réduite. Trio rose / bleu / gris (remplace la version
   beige précédente). Bleu et rose reprennent telles quelles les
   valeurs codées de L'Atelier V2 (.upb-ate-hero-blob--blue / --pink) ;
   le gris n'existe dans aucun gabarit du site (ajout du client sur
   une maquette Affinity) — sa teinte est donc une estimation, à
   valider visuellement. Stacking explicite (z-index), pas seulement
   géométrique : le contenu reste toujours au-dessus. */
.upb-fonc-blob {
    position: absolute;
    z-index: 0;
    display: block;
    border-radius: 50%;
    pointer-events: none;
}

.upb-fonc-blob--blue {
    top: -55px;
    right: -55px;
    width: 160px;
    height: 160px;
    background: #E7F3F7;
    opacity: .7;
    border-radius: 62% 38% 55% 45% / 44% 58% 42% 56%;
}

.upb-fonc-blob--pink {
    bottom: -55px;
    left: -55px;
    width: 150px;
    height: 150px;
    background: #FBE3E8;
    opacity: .6;
    border-radius: 42% 58% 37% 63% / 61% 40% 60% 39%;
}

.upb-fonc-blob--grey {
    display: none;
}

.upb-fonctionnement-title {
    margin: 0 0 30px;
    color: #704B3E;
    font-size: 34px;
    line-height: 1.1;
}

.upb-fonctionnement-texte {
    color: #777777;
    font-size: 16px;
    line-height: 1.7;
}

.upb-fonctionnement-texte p {
    margin: 0 0 30px;
}

.upb-fonctionnement-texte p:last-child {
    margin-bottom: 0;
}

.upb-fonctionnement-texte strong {
    color: #704B3E;
    font-weight: 600;
}

@media (max-width: 768px) {

    .upb-fonctionnement {
        padding: 20px 0 60px;
    }

    .upb-fonctionnement-inner {
        margin: 0 20px;
        padding: 44px 24px 48px;
    }

    .upb-fonctionnement-title {
        font-size: 32px;
    }

    .upb-fonc-blob--blue {
        top: -40px;
        right: -50px;
        width: 150px;
        height: 150px;
    }

    .upb-fonc-blob--pink {
        bottom: -50px;
        left: -40px;
        width: 130px;
        height: 130px;
    }

    .upb-fonc-blob--grey {
        bottom: -25px;
        right: -20px;
        width: 80px;
        height: 80px;
    }

}
/* =========================================================
   GALERIE PINTEREST
   ========================================================= */

.upb-pinterest {
    padding: 64px 0 72px;
    overflow: hidden;
}

.upb-pinterest-heading {
    padding: 0 24px;
    margin-bottom: 30px;
}

.upb-pinterest-heading h2 {
    margin: 12px 0 8px;
    color: #704B3E;
    font-family: "Playfair Display", serif;
    font-size: 32px;
    line-height: 1.15;
    font-weight: 500;
}

.upb-pinterest-heart {
    display: block;
    color: #d98fa0;
    font-size: 17px;
    line-height: 1;
}

/* Rail des images Pinterest */

.upb-pinterest-track {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding: 0 24px 12px;

    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;

    scrollbar-width: none;
}

.upb-pinterest-track::-webkit-scrollbar {
    display: none;
}

.upb-pinterest-slide {
    flex: 0 0 82%;
    scroll-snap-align: start;
}

.upb-pinterest-image {
    display: block;
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
}

/* ---------- MOBILE ---------- */

@media (max-width: 768px) {

    .upb-pinterest {
        padding: 56px 0 64px;
    }

    .upb-pinterest-heading {
        padding: 0 24px;
        margin-bottom: 28px;
    }

    .upb-pinterest-heading h2 {
       margin: 12px 0 8px;
    color: #704B3E;
    font-family: "Playfair Display", serif;
    font-size: 32px;
    line-height: 1.15;
    font-weight: 500;
    }

    .upb-pinterest-slide {
        flex-basis: 82%;
    }

}
/* =========================================================
   PETITS BOUTONS PINTEREST SOUS CTA
   ========================================================= */

.upb-pinterest-actions {
    display: flex;
    gap: 10px;
    max-width: 620px;
    margin: 20px auto 0;
}

.upb-pinterest-action {
    display: flex;
    align-items: center;
    justify-content: center;

    flex: 1;

    min-height: 52px;
    padding: 10px 14px;

    border: 1px solid #704B3E;
    border-radius: 4px;

    color: #704B3E;
    background: transparent;

    font-size: 14px;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
}

.upb-pinterest-action:hover {
    background: #ffffff;
    color: #704B3E;
}

/* MOBILE */

@media (max-width: 768px) {

    .upb-pinterest-actions {
        gap: 8px;
        margin-top: 28px;
    }

    .upb-pinterest-action {
        padding: 10px 8px;
        font-size: 13px;
    }

}
/* ---------------------------------------------------------
   PROMENADE GOURMANDE
   --------------------------------------------------------- */

.upb-promenade {
    padding: 64px 24px 72px;
}

.upb-promenade .upb-section-label {
    margin-bottom: 26px;
}

.upb-promenade-card {
    display: block;
    max-width: 760px;
    margin: 0 auto;
    color: inherit;
    text-decoration: none;
}

.upb-promenade-image {
    width: 100%;
    overflow: hidden;
}

.upb-promenade-image img {
    display: block;
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
}

.upb-promenade-content {
    padding-top: 14px;
}

.upb-promenade-title {
    margin: 0 0 8px;
    color: #704B3E;
    font-family: "Playfair Display", serif;
    font-size: 38px;
    line-height: 1.05;
    font-weight: 500;
}

.upb-promenade-link {
    color: #777777;
    font-size: 15px;
}

@media (max-width: 768px) {

    .upb-promenade {
        padding: 56px 20px 40px;
    }

    .upb-promenade-card {
       width: 82%;
    max-width: none;
    margin: 0 auto;
    }

    .upb-promenade-title {
        font-size: 34px;
    }
}
/* ---------------------------------------------------------
   EXPLORER L'UNIVERS DE LA PÂTISSERIE
   --------------------------------------------------------- */

.upb-univers-patisserie {
    position: relative;
    overflow: hidden;
    padding: 0 20px;
}

.upb-univers-patisserie-inner {
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin: 0 auto;
    padding: 64px 32px 48px;
}
/* Formes décoratives — même mécanique que .upb-ate-hero-blob, trio
   rose / bleu / gris comme pour En pratique, mais avec une
   disposition différente (gris en haut à gauche ici, en bas à
   droite dans En pratique) pour conserver un rythme distinct entre
   les deux sections. Bleu et rose : valeurs codées de L'Atelier V2 ;
   gris : estimation (voir remarque au-dessus de .upb-fonc-blob), à
   valider. Stacking explicite (z-index) : le contenu reste toujours
   au-dessus. */
.upb-univers-blob {
    position: absolute;
    z-index: 0;
    display: block;
    border-radius: 50%;
    pointer-events: none;
}

.upb-univers-blob--blue {
    top: -70px;
    right: -90px;
    width: 260px;
    height: 260px;
    background: #E7F3F7;
    opacity: .7;
}

.upb-univers-blob--pink {
    bottom: -70px;
    left: -60px;
    width: 200px;
    height: 200px;
    background: #FBE3E8;
    opacity: .6;
}

.upb-univers-blob--grey {
    top: -30px;
    left: -40px;
    width: 110px;
    height: 110px;
    background: #E5E1DC;
    opacity: .5;
}

.upb-univers-patisserie .upb-section-label {
    margin-bottom: 18px;
}

.upb-univers-patisserie-title {
    margin: 0 0 16px;
    color: #704B3E;
    font-family: "Playfair Display", serif;
    font-size: 36px;
    line-height: 1.05;
    font-weight: 500;
}

.upb-univers-patisserie-text {
    margin: 0 0 24px;
    color: #777777;
    font-size: 16px;
    line-height: 1.65;
}

.upb-univers-patisserie-link {
    color: #704B3E;
    font-size: 15px;
    text-decoration: none;
}

@media (max-width: 768px) {

    .upb-univers-patisserie {
        padding: 20px 20px 60px;
    }

    .upb-univers-patisserie-inner {
        padding: 40px 26px 44px;
    }

    .upb-univers-patisserie-title {
        font-size: 28px;
    }

    .upb-univers-blob--blue {
        top: -40px;
        right: -50px;
        width: 150px;
        height: 150px;
    }

    .upb-univers-blob--pink {
        bottom: -40px;
        left: -35px;
        width: 110px;
        height: 110px;
    }

    .upb-univers-blob--grey {
        top: -18px;
        left: -20px;
        width: 60px;
        height: 60px;
    }
}
/* ---------------------------------------------------------
   LE COIN DES CURIEUX
   --------------------------------------------------------- */

.upb-curieux {
 padding: 48px 24px 64px;
    
}

.upb-curieux-inner {
    max-width: 700px;
    margin: 0 auto;
}

.upb-curieux .upb-section-label {
    margin-bottom: 20px;
}

.upb-curieux-title {
    margin: 0;
    max-width: 560px;
    color: #704B3E;
    font-family: "Playfair Display", serif;
    font-size: 34px;
    line-height: 1.15;
    font-weight: 500;
}

.upb-curieux-heart {
    display: block;
    margin: 14px 0 20px;
    color: #d98fa0;
    font-size: 17px;
    line-height: 1;
}

.upb-curieux-text {
    max-width: 560px;
    margin: 0 0 26px;
    color: #777777;
    font-size: 16px;
    line-height: 1.7;
}

.upb-curieux-link {
    color: #704B3E;
    font-size: 15px;
    text-decoration: none;
}

@media (max-width: 768px) {

    .upb-curieux {
        padding: 52px 24px 64px;
    }

    .upb-curieux-title {
        font-size: 30px;
    }
}
/* ---------------------------------------------------------
   JE ME LAISSE SURPRENDRE
   --------------------------------------------------------- */

.upb-surprise {
    padding: 36px 24px 80px;
    text-align: center;
}

/* .upb-surprise est une classe partagée avec la page « Les créations
   du moment » (page-toutes-les-creations.php) : on scope donc le
   nouveau fond à la fiche Création uniquement, pour ne pas modifier
   l'autre page. */
body.single-creation .upb-surprise {
    position: relative;
    background: transparent;
}

body.single-creation .upb-surprise::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 100vw;
    transform: translateX(-50%);
    background: #FBF6EE;
    z-index: 0;
}

body.single-creation .upb-surprise-inner {
    position: relative;
    z-index: 1;
}

.upb-surprise-inner {
    max-width: 520px;
    margin: 0 auto;
}

.upb-surprise-text {
    margin-bottom: 18px;
    color: #704B3E;
    font-family: "Playfair Display", serif;
    font-size: 30px;
    line-height: 1.3;
}

.upb-surprise-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 13px 28px;
    background: #704B3E;
    color: #ffffff;
    border-radius: 4px;
    font-size: 15px;
    line-height: 1.2;
    text-decoration: none;
}

.upb-surprise-button:hover {
    background: #5f3f35;
    color: #ffffff;
}

@media (max-width: 768px) {

    .upb-surprise {
        padding: 30px 24px 70px;
    }

    .upb-surprise-text {
        font-size: 22px;
    }
}
/* ==========================================
   UNIVERS PÂTISSERIE – INTRO
   ========================================== */

.upb-patisserie-intro {
    padding: 64px 24px 72px;
    background: #faf8f5;
}

.upb-patisserie-intro-inner {
    max-width: 760px;
    margin: 0 auto;
}

.upb-patisserie-title {
    margin: 0 0 24px;
    color: #704B3E;
    font-family: "Playfair Display", serif;
    font-size: 72px;
    line-height: 0.95;
    font-weight: 500;
}

.upb-patisserie-introduction {
    max-width: 620px;
    color: #777;
    font-size: 18px;
    line-height: 1.65;
}

.upb-patisserie-introduction p {
    margin: 0;
}

.upb-patisserie-introduction p + p {
    margin-top: 8px;
}

@media (max-width: 768px) {

    .upb-patisserie-intro {
        padding: 52px 24px 58px;
    }

    .upb-patisserie-title {
        margin-bottom: 20px;
        font-size: 52px;
        line-height: 0.98;
    }

    .upb-patisserie-introduction {
        font-size: 16px;
        line-height: 1.65;
    }
}
/* ==========================================
   UNIVERS PÂTISSERIE – CRÉATION À LA UNE
   ========================================== */

.upb-patisserie-featured {
    padding: 0 24px 64px;
    background: #f8f3ed;
}

.upb-patisserie-featured-link {
    display: block;
    max-width: 760px;
    margin: 0 auto;
    color: inherit;
    text-decoration: none;
}

.upb-patisserie-featured-image img {
    display: block;
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
}

.upb-patisserie-featured-content {
    padding-top: 10px;
}

.upb-patisserie-featured-content h2 {
    margin: 0;
    color: #704B3E;
    font-family: "Playfair Display", serif;
    font-size: 22px;
    line-height: 1.2;
    font-weight: 500;
}

.upb-patisserie-secondary-content {
    padding-top: 8px;
}

.upb-patisserie-secondary-content h2 {
    margin: 0;
    color: #704B3E;
    font-family: "Playfair Display", serif;
    font-size: 18px;
    line-height: 1.2;
    font-weight: 500;
}

@media (max-width: 768px) {

    .upb-patisserie-featured {
        padding: 0 24px 24px;
    }
}
/* ==========================================
   UNIVERS PÂTISSERIE – CRÉATION PETIT FORMAT
   ========================================== */

.upb-patisserie-secondary {
    padding: 8px 24px 64px;
    background: #f8f3ed;
}

.upb-patisserie-secondary-link {
    display: block;
    width: 66%;
    max-width: 500px;
    margin: 0 auto;
    color: inherit;
    text-decoration: none;
}

.upb-patisserie-secondary-image img {
    display: block;
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
}

.upb-patisserie-secondary-content {
    padding-top: 12px;
}

.upb-patisserie-secondary-content h2 {
        margin: 12px 0 0;
    color: #704B3E;
    font-family: "Playfair Display", serif;
    font-size: 20px;
    line-height: 1.2;
    font-weight: 500;
}

.upb-patisserie-secondary-content span {
    display: none;
}

@media (max-width: 768px) {

    .upb-patisserie-secondary {
        padding: 8px 24px 20px;
    }

    .upb-patisserie-secondary-link {
        width: 44%;
        margin-left: 0;
        margin-right: auto;
    }

    .upb-patisserie-secondary-content h2 {
        font-size: 20px;
    }
}
/* PÂTISSERIE — titres des créations */

.upb-patisserie-featured-content,
.upb-patisserie-secondary-content {
    padding-top: 10px;
}

.upb-patisserie-featured-content h2,
.upb-patisserie-secondary-content h2 {
    margin: 0;
    color: #704B3E;
    font-family: "Playfair Display", serif;
    font-size: 28px;
    line-height: 1.1;
    font-weight: 500;
}

@media (max-width: 768px) {
    .upb-patisserie-featured-content,
    .upb-patisserie-secondary-content {
        padding-top: 4px;
    }

    .upb-patisserie-featured-content h2,
    .upb-patisserie-secondary-content h2 {
        font-size: 15px;
    }
}
.upb-patisserie-intro-inner {
    text-align: center;
}

.upb-patisserie-introduction {
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
}

.upb-patisserie-heart {
    display: block;
    margin: 14px 0 18px;
    color: #d98fa0;
    font-size: 17px;
    line-height: 1;
}
/* ==========================================
   UNIVERS PÂTISSERIE – RESPIRATION ÉDITORIALE
   ========================================== */

.upb-patisserie-respiration {
    padding: 52px 24px 64px;
    background: #f8f3ed;
    text-align: center;
}

.upb-patisserie-respiration p {
    max-width: 520px;
    margin: 0 auto;
    color: #704B3E;
    font-family: "Playfair Display", serif;
    font-size: 30px;
    line-height: 1.3;
    font-weight: 500;
}

@media (max-width: 768px) {

    .upb-patisserie-respiration {
        padding: 32px 32px 56px;
        text-align: center;
    }

    .upb-patisserie-respiration p {
        max-width: 520px;
        margin: 0 auto;
        font-size: 28px;
        line-height: 1.3;
    }
}
/* ==========================================
   UNIVERS PÂTISSERIE – DUO DE CRÉATIONS
   ========================================== */

.upb-patisserie-secondary-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    padding: 8px 24px 20px;
    background: #f8f3ed;
}

.upb-patisserie-secondary-grid .upb-patisserie-secondary-link {
    display: block;
    width: 100%;
    max-width: none;
    margin: 0;
    color: inherit;
    text-decoration: none;
}

@media (max-width: 768px) {

    .upb-patisserie-secondary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
        padding: 8px 24px 20px;
    }

    .upb-patisserie-secondary-content h2 {
        font-size: 15px;
    }
}
/* DUO DE CRÉATIONS PÂTISSERIE */

.upb-patisserie-secondary-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    padding: 8px 24px 20px;
    background: #f8f3ed;
}

.upb-patisserie-secondary-grid .upb-patisserie-secondary-link {
    width: 100%;
    max-width: none;
    margin: 0;
}
/* =========================================================
   TOUTES LES CRÉATIONS — INTRODUCTION
   ========================================================= */

/* Header blanc */
.upb-all-creations-page ~ * {
}

/* Page */
.upb-all-creations-intro {
    background: #FFFFFF;
    padding: 64px 24px 72px;
  
}

.upb-all-creations-intro-inner {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.upb-all-creations-title {
    margin: 0;
    color: #704B3E;
    font-family: "Playfair Display", serif;
    font-size: 72px;
    line-height: .95;
    font-weight: 500;
}

.upb-all-creations-heart {
    display: block;
    margin: 14px 0 18px;
    color: #d98fa0;
    font-size: 17px;
    line-height: 1;
}

.upb-all-creations-introduction {
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
    color: #777777;
    font-size: 18px;
    line-height: 1.65;
}

.upb-all-creations-introduction p {
    margin: 0;
}

@media (max-width: 768px) {

    .upb-all-creations-intro {
        padding: 52px 24px 58px;
    }

    .upb-all-creations-title {
        font-size: 52px;
        line-height: .98;
    }

    .upb-all-creations-introduction {
        font-size: 16px;
        line-height: 1.65;
    }
}
/* =========================================================
   TOUTES LES CRÉATIONS — SUPPRESSION DU FOND ASTRA LATÉRAL
   ========================================================= */

.upb-toutes-creations .site-content > .ast-container {
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
}
.upb-creation-heart {
    color: #e28aa4;
}
/* ==================================================
   TOUTES LES CRÉATIONS — PREMIÈRE CRÉATION
   ================================================== */

.upb-all-creations-first-content {
    background: #faf8f5;
    padding: 12px 24px 32px;
}

.upb-all-creations-first-content h2 {
    margin: 0;
    color: #704b3e;
    font-family: "Playfair Display", serif;
    font-size: 15px;
    line-height: 1.2;
    font-weight: 500;
}
/* ==================================================
   TOUTES LES CRÉATIONS — CRÉATIONS 2 + 3
   ================================================== */

.upb-all-creations-duo {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 16px 12px 40px;
    background: #f8f3ed;
}

.upb-all-creations-duo-link {
    display: block;
    min-width: 0;
    color: inherit;
    text-decoration: none;
}

.upb-all-creations-duo-image img {
    display: block;
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
}

.upb-all-creations-duo-content {
    padding-top: 8px;
}

.upb-all-creations-duo-content h2 {
    margin: 0;
    color: #704b3e;
    font-family: "Playfair Display", serif;
    font-size: 15px;
    line-height: 1.2;
    font-weight: 500;
}
/* ==================================================
   TOUTES LES CRÉATIONS — RESPIRATIONS ÉDITORIALES
   ================================================== */

.upb-all-creations-respiration {
    background: #FFFFFF;
    padding: 64px 32px 72px;
}

.upb-all-creations-respiration-inner {
    max-width: 620px;
    margin: 0 auto;
    color: #704B3E;
    font-family: "Playfair Display", serif;
    font-size: 22px;
    line-height: 1.35;
    font-weight: 500;
    text-align: center;
}
/* ==================================================
   TOUTES LES CRÉATIONS — TYPE C
   Image seule, composition éditoriale
   ================================================== */

.upb-all-creations-fourth {
    background: #f8f3ed;
    padding: 24px 0 56px;
}

.upb-all-creations-fourth-link {
    display: block;
    width: 78%;
    margin-left: 0;
    margin-right: auto;
    color: inherit;
    text-decoration: none;
}

.upb-all-creations-fourth-image img {
    display: block;
    width: 100%;
    height: auto;
}

.upb-all-creations-fourth-content {
    padding: 8px 12px 0 24px;
}

.upb-all-creations-fourth-content h2 {
    margin: 0;
    color: #704b3e;
    font-family: "Playfair Display", serif;
    font-size: 15px;
    line-height: 1.2;
    font-weight: 500;
}
/* ==================================================
   TOUTES LES CRÉATIONS — TYPE C
   Grande à gauche + seconde en dessous à droite
   ================================================== */

.upb-all-creations-type-c {
    display: grid;
grid-template-columns: 50% 50%;
    grid-template-rows: auto auto;
    background: #f8f3ed;
    padding: 40px 0 64px;
}

.upb-type-c-item {
    display: block;
    min-width: 0;
    color: inherit;
    text-decoration: none;
}

/* Grande image — gauche */
.upb-type-c-large {
    grid-column: 1;
    grid-row: 1;
}

/* Seconde image — dessous à droite */
.upb-type-c-small {
    grid-column: 2;
    grid-row: 1;
    width: 100%;
    justify-self: end;
    margin-top: 0;
}

.upb-type-c-image img {
    display: block;
    width: 100%;
    height: auto;
}

.upb-type-c-content {
    padding: 8px 12px 0;
}

.upb-type-c-content h2 {
    margin: 0;
    color: #704b3e;
    font-family: "Playfair Display", serif;
    font-size: 15px;
    line-height: 1.2;
    font-weight: 500;
}

/* =========================================================
   LES CRÉATIONS DU MOMENT — V1 MINI-CMS
   ========================================================= */
.upb-moment-page{background:#FFFFFF}.upb-moment-card{display:block;color:inherit;text-decoration:none}.upb-moment-card-image img{display:block;width:100%;height:auto}.upb-moment-card-caption{padding:9px 12px 0}.upb-moment-card-caption h2{margin:0;color:#704B3E;font-family:"Playfair Display",serif;font-size:15px;line-height:1.2;font-weight:500}.upb-moment-card-caption span{display:block;margin-top:4px;color:#9A8D86;font-size:11px;line-height:1.3}.upb-moment-hero{background:#FFFFFF}.upb-moment-hero .upb-moment-card-caption{padding:12px 24px 34px}.upb-moment-duo{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:16px 12px 44px;background:#FBF6EE}.upb-moment-duo .upb-moment-card-image img,.upb-moment-filmstrip .upb-moment-card-image img{aspect-ratio:2/3;object-fit:cover}.upb-moment-solo{padding:24px 0 56px;background:#f8f3ed}.upb-moment-solo .upb-moment-card{width:78%}.upb-moment-solo .upb-moment-card-caption{padding-left:24px}.upb-moment-microtext{padding:48px 32px 54px;text-align:center}.upb-moment-microtext p{max-width:540px;margin:0 auto;color:#704B3E;font-family:"Playfair Display",serif;font-size:19px;line-height:1.4}.upb-moment-editorial{background:#FBF6EE}.upb-moment-editorial img{display:block;width:100%;height:auto}.upb-moment-editorial--large{padding:0 0 48px}.upb-moment-editorial--chapter{padding:34px 0 54px}.upb-moment-filmstrip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;padding:16px 6px 52px;background:#FFFFFF}.upb-moment-filmstrip .upb-moment-card-caption{padding:7px 4px 0}.upb-moment-filmstrip .upb-moment-card-caption h2{font-size:12px}.upb-moment-filmstrip .upb-moment-card-caption span{font-size:9px}.upb-moment-choco{padding:70px 32px;background:#704B3E;text-align:center}.upb-moment-choco p{max-width:560px;margin:0 auto;color:#fff;font-family:"Playfair Display",serif;font-size:25px;line-height:1.35}.upb-moment-composition{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:52px 12px;background:#FFFFFF}.upb-moment-composition .upb-moment-card:first-child{grid-column:1/-1;width:76%}.upb-moment-composition .upb-moment-card-image img{width:100%;aspect-ratio:2/3;object-fit:cover}.upb-moment-duo--final{padding-bottom:64px}.upb-moment-extra{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:0 12px 56px;background:#FBF6EE}.upb-moment-extra .upb-moment-card-image img{aspect-ratio:2/3;object-fit:cover}.upb-moment-end{padding-top:42px;background:#FFFFFF;text-align:center}.upb-moment-brioche{max-width:90px;margin:0 auto 10px}.upb-moment-brioche img{display:block;width:100%;height:auto}.upb-moment-end .upb-surprise{padding-top:22px}
@media(min-width:769px){.upb-moment-page>section:not(.upb-all-creations-intro,.upb-moment-choco,.upb-moment-microtext,.upb-moment-end){max-width:1100px;margin-left:auto;margin-right:auto}.upb-moment-hero .upb-moment-card{max-width:760px;margin:auto}.upb-moment-duo{gap:22px;padding-left:24px;padding-right:24px}.upb-moment-filmstrip{gap:16px;padding-left:24px;padding-right:24px}.upb-moment-composition{gap:22px;padding-left:24px;padding-right:24px}}

/* =========================================================
   LES CRÉATIONS DU MOMENT — CARROUSEL CRÉATION N°4
   ========================================================= */
/* =========================================================
   LES CRÉATIONS DU MOMENT — CARROUSEL KINFOLK
   ========================================================= */
.upb-moment-carousel{
    padding:24px 0 56px;
    background:#FBF6EE;
    overflow:hidden;
}
.upb-moment-carousel-viewport{
    overflow:visible;
}
.upb-moment-carousel-track{
    display:flex;
    gap:16px;
    overflow-x:auto;
    padding:0 20px 10px;
    scroll-snap-type:x mandatory;
    scroll-padding-left:20px;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:none;
}
.upb-moment-carousel-track::-webkit-scrollbar{display:none}
.upb-moment-carousel-slide{
    flex:0 0 84%;
    min-width:0;
    scroll-snap-align:start;
}
.upb-moment-carousel-slide .upb-moment-card{width:100%}
.upb-moment-carousel-slide .upb-moment-card-image img{
    display:block;
    width:100%;
    height:auto;
}
.upb-moment-carousel-slide .upb-moment-card-caption{padding:9px 0 0}
@media(min-width:769px){
    .upb-moment-carousel-track{gap:22px;padding-left:24px;padding-right:24px;scroll-padding-left:24px}
    .upb-moment-carousel-slide{flex-basis:72%}
}
@media(max-width:768px){
    .upb-moment-carousel{padding-bottom:48px}
    .upb-moment-carousel-track{gap:14px}
    .upb-moment-carousel-slide{flex-basis:84%}
}
/* =========================================================
   CRÉATIONS DU MOMENT — COMPOSITION 1 GRANDE + 2 PETITES
   ========================================================= */

.upb-moment-composition {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 52px 12px;
    background: #ffffff;
}

/* Grande création à gauche */
.upb-moment-composition .upb-moment-card:first-child {
    grid-column: 1;
    grid-row: 1 / 3;
    width: 100%;
}

/* Petite création en haut à droite */
.upb-moment-composition .upb-moment-card:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
}

/* Petite création en bas à droite */
.upb-moment-composition .upb-moment-card:nth-child(3) {
    grid-column: 2;
    grid-row: 2;
}

/* Les images remplissent leur emplacement */
.upb-moment-composition .upb-moment-card-image img {
    display: block;
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
}
/* =========================================================
   CRÉATIONS DU MOMENT — COMPOSITION MAGAZINE
   1 grande gauche + 2 petites droite
   ========================================================= */

.upb-moment-composition {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 12px;
    align-items: start;
    padding: 52px 12px;
    background: #ffffff;
}

.upb-moment-composition-large,
.upb-moment-composition-small {
    min-width: 0;
}

.upb-moment-composition-large .upb-moment-card {
    width: 100%;
}

.upb-moment-composition-small {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.upb-moment-composition .upb-moment-card-image img {
    display: block;
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
}
/* Correction hauteur — composition magazine */

.upb-moment-composition-large .upb-moment-card,
.upb-moment-composition-small .upb-moment-card {
    grid-column: auto;
    grid-row: auto;
    width: 100%;
}

.upb-moment-composition {
    grid-template-rows: none;
}
/* =========================================================
   UPB — PAGES PÂTISSERIE / MINI-BO V2
   ========================================================= */
.upb-pat-page{background:#ffffff;color:#704b3e}.upb-pat-page-one{max-width:1180px;margin:0 auto}.upb-pat-card-front{display:block;color:inherit;text-decoration:none}.upb-pat-card-photo{position:relative;overflow:hidden}.upb-pat-card-photo img{display:block;width:100%;height:auto}.upb-pat-card-copy{padding:9px 2px 0}.upb-pat-card-copy h2{margin:0;color:#704b3e;font-family:"Playfair Display",serif;font-size:17px;line-height:1.2;font-weight:500}.upb-pat-card-copy span{display:block;margin-top:4px;color:#8a817c;font-size:11px}.upb-pat-new{position:absolute;top:12px;left:12px;padding:7px 10px;background:#f7e6e8;color:#704b3e;font-size:10px;letter-spacing:.04em;line-height:1;border-radius:999px}.upb-pat-opening{position:relative;padding:0 24px 72px}.upb-pat-opening-card{max-width:920px}.upb-pat-opening-card .upb-pat-card-copy h2{font-size:30px}.upb-pat-opening-card .upb-pat-card-copy span{font-size:13px}.upb-pat-discover{display:inline-block;margin-top:16px;padding-bottom:3px;color:#704b3e;text-decoration:none;border-bottom:1px solid #704b3e;font-size:13px}.upb-pat-section-head{padding:0 24px 24px}.upb-pat-section-head p,.upb-pat-catalog-head p,.upb-pat-bg-copy>p{margin:0 0 7px;color:#9a8d86;font-size:11px;letter-spacing:.14em;text-transform:uppercase}.upb-pat-section-head h2,.upb-pat-catalog-head h2,.upb-pat-bg-copy h2{margin:0;color:#704b3e;font-family:"Playfair Display",serif;font-weight:500;font-size:34px}.upb-pat-favorites{padding:18px 0 72px}.upb-pat-favorites-grid{display:grid;grid-template-columns:1.25fr .85fr .85fr;gap:18px;padding:0 24px;align-items:start}.upb-pat-favorites-grid .upb-pat-card-photo img{aspect-ratio:2/3;object-fit:cover}.upb-pat-respiration-image{width:100%;margin:0 auto 76px}.upb-pat-respiration-image img{display:block;width:100%;height:auto}.upb-pat-inspiration{padding:0 0 80px;overflow:hidden}.upb-pat-kinfolk{display:flex;gap:18px;overflow-x:auto;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;scrollbar-width:none;padding:0 24px 10px}.upb-pat-kinfolk::-webkit-scrollbar{display:none}.upb-pat-kinfolk-slide{flex:0 0 38%;scroll-snap-align:start}.upb-pat-kinfolk-slide .upb-pat-card-photo img{aspect-ratio:2/3;object-fit:cover}.upb-pat-bg{padding:18px 24px 74px}.upb-pat-bg-inner{display:grid;grid-template-columns:1.15fr .85fr;align-items:center;background:#ffffff}.upb-pat-bg-image img{display:block;width:100%;height:100%;max-height:520px;object-fit:cover}.upb-pat-bg-copy{padding:44px}.upb-pat-bg-copy a{display:inline-block;margin-top:22px;color:#704b3e;text-decoration:none;border-bottom:1px solid currentColor;padding-bottom:3px;font-size:13px}.upb-pat-surprise{padding:20px 24px 86px;text-align:center}.upb-pat-surprise p{margin:0 0 10px;font-family:"Playfair Display",serif;font-size:22px}.upb-pat-surprise a{color:#704b3e;text-decoration:none;border-bottom:1px solid currentColor;padding-bottom:3px;font-size:13px}.upb-pat-catalog{max-width:1080px;margin:0 auto;padding:20px 24px 30px}.upb-pat-catalog-head{text-align:center;padding:20px 0 44px}.upb-pat-catalog-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:44px 22px}.upb-pat-catalog-card .upb-pat-card-photo img{aspect-ratio:2/3;object-fit:cover}.upb-pat-respiration-catalog{grid-column:1/-1;margin:64px 0}.upb-pat-pagination{display:flex;justify-content:center;align-items:center;gap:8px;padding:28px 20px 78px}.upb-pat-pagination a{display:flex;align-items:center;justify-content:center;min-width:34px;height:34px;padding:0 8px;color:#704b3e;text-decoration:none;font-size:13px;border-radius:50%}.upb-pat-pagination a.is-current{background:#704b3e;color:#fff}
@media(max-width:768px){.upb-pat-opening{padding:0 20px 54px}.upb-pat-opening-card .upb-pat-card-copy h2{font-size:22px}.upb-pat-section-head{padding:0 20px 20px}.upb-pat-section-head h2,.upb-pat-catalog-head h2,.upb-pat-bg-copy h2{font-size:29px}.upb-pat-favorites{padding-bottom:56px}.upb-pat-favorites-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:0 20px}.upb-pat-favorites-grid .upb-pat-favorite:first-child{grid-column:1/-1;width:82%}.upb-pat-respiration-image{margin-bottom:58px;overflow:hidden}.upb-pat-respiration-image img{width:100%;min-height:150px;object-fit:cover;object-position:center}.upb-pat-inspiration{padding-bottom:60px}.upb-pat-kinfolk{gap:14px;padding:0 20px 8px}.upb-pat-kinfolk-slide{flex-basis:78%}.upb-pat-bg{padding:10px 20px 56px}.upb-pat-bg-inner{grid-template-columns:1fr}.upb-pat-bg-copy{padding:28px 24px 34px}.upb-pat-surprise{padding-bottom:64px}.upb-pat-catalog{padding:8px 20px 24px}.upb-pat-catalog-head{padding-bottom:32px}.upb-pat-catalog-grid{gap:34px 12px}.upb-pat-card-copy h2{font-size:14px}.upb-pat-new{top:8px;left:8px;padding:6px 8px;font-size:8px}.upb-pat-respiration-catalog{margin:46px -20px}.upb-pat-pagination{padding-bottom:58px}}

/* =========================================================
   PAGE PÂTISSERIE — IMAGE D’OUVERTURE
   (après l’introduction, avant la 1ère création)
   ========================================================= */

.upb-pat-intro-image {
    width: 100%;
    margin: 8px auto 28px;
    text-align: center;
}

.upb-pat-intro-image img {
    display: inline-block;
    max-width: 34%;
    width: auto;
    height: auto;
}

/* =========================================================
   PAGE PÂTISSERIE — BANDEAUX DE NAVIGATION
   Style provisoire, neutre (pleine largeur, sans recadrage) —
   à affiner après validation visuelle.
   ========================================================= */

.upb-pat-bandeau {
    width: 100%;
    margin: 0 auto;
}

.upb-pat-bandeau img {
    display: block;
    width: 100%;
    height: auto;
}

/* =========================================================
   UPB — PAGES PÂTISSERIE V2 — FINITIONS ÉDITORIALES
   20-09-2026
   Couche volontairement limitée à .upb-pat-page
   ========================================================= */

.upb-pat-page .upb-patisserie-intro {
    padding: 54px 24px 64px;
    background: #faf8f5;
}

.upb-pat-page .upb-patisserie-intro-inner {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.upb-patisserie-eyebrow {
    margin: 0 0 14px;
    color: #9a8d86;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .18em;
    line-height: 1.2;
    text-transform: uppercase;
}

.upb-pat-page .upb-patisserie-title {
    margin: 0;
    color: #704b3e;
    font-family: "Playfair Display", serif;
    font-size: clamp(58px, 8vw, 92px);
    font-weight: 500;
    line-height: .95;
}

.upb-pat-page .upb-patisserie-heart {
    margin: 26px 0 30px;
    font-size: 18px;
}

.upb-pat-page .upb-patisserie-introduction {
    max-width: 650px;
    margin: 0 auto;
    color: #777;
    font-size: 18px;
    line-height: 1.65;
}

.upb-pat-page .upb-pat-opening {
    padding: 0 24px 82px;
}

.upb-pat-page .upb-pat-opening-card {
    max-width: 920px;
    margin: 0 auto;
}

.upb-pat-page .upb-pat-opening-card .upb-pat-card-photo img {
    width: 100%;
    height: auto;
}

.upb-pat-page .upb-pat-opening-card .upb-pat-card-copy {
    padding: 14px 0 0;
}

.upb-pat-page .upb-pat-opening-card .upb-pat-card-copy h2 {
    margin: 0;
    font-family: "Playfair Display", serif;
    font-size: 36px;
    line-height: 1.05;
    font-weight: 500;
}

.upb-pat-page .upb-pat-opening-card .upb-pat-card-copy span {
    margin-top: 8px;
    font-size: 13px;
}

.upb-pat-page .upb-pat-discover {
    display: block;
    width: fit-content;
    margin: 18px auto 0;
    padding: 0;
    border: 0;
    color: #704b3e;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
}

.upb-pat-page .upb-pat-discover::after {
    content: " →";
}

.upb-pat-page .upb-pat-surprise {
    padding: 28px 24px 86px;
}

.upb-pat-page .upb-pat-surprise p {
    margin: 0 0 12px;
    color: #777;
    font-family: inherit;
    font-size: 16px;
    line-height: 1.4;
}

.upb-pat-page .upb-pat-surprise a {
    display: inline-block;
    border: 0;
    color: #704b3e;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
}

@media (max-width: 768px) {
    .upb-pat-page .upb-patisserie-intro {
        padding: 42px 20px 30px;
    }

    .upb-patisserie-eyebrow {
        margin-bottom: 12px;
        font-size: 10px;
    }

    .upb-pat-page .upb-patisserie-title {
        font-size: 64px;
    }

    .upb-pat-page .upb-patisserie-heart {
        margin: 22px 0 26px;
        font-size: 16px;
    }

    .upb-pat-page .upb-patisserie-introduction {
        max-width: 340px;
        font-size: 16px;
        line-height: 1.65;
    }

    .upb-pat-page .upb-pat-opening {
        padding: 0 20px 62px;
    }

    .upb-pat-page .upb-pat-opening-card .upb-pat-card-copy {
        padding-top: 12px;
    }

    .upb-pat-page .upb-pat-opening-card .upb-pat-card-copy h2 {
        font-size: 30px;
    }

    .upb-pat-page .upb-pat-opening-card .upb-pat-card-copy span {
        margin-top: 6px;
        font-size: 12px;
    }

    .upb-pat-page .upb-pat-discover {
        margin: 16px 0 0;
        font-size: 13px;
    }

    .upb-pat-page .upb-pat-surprise {
        padding: 20px 20px 64px;
    }
}

/* =========================================================
   UPB — PÂTISSERIE V2 — HERO / PAVÉ ÉDITORIAL
   Référence visuelle validée 20-09-2026
   ========================================================= */
.upb-pat-page .upb-pat-opening-card .upb-pat-card-copy {
    box-sizing: border-box;
    padding: 28px 30px 34px;
    background: #ffffff;
}
.upb-pat-page .upb-pat-opening-card .upb-pat-card-copy h2 {
    margin: 0 0 8px;
    color: #704b3e;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 30px;
    font-weight: 500;
    line-height: 1.08;
}
.upb-pat-page .upb-pat-opening-card .upb-pat-card-copy span {
    display: block;
    margin: 0;
    color: #777777;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
}
.upb-pat-page .upb-pat-opening-card .upb-pat-discover {
    display: inline-block;
    width: auto;
    margin: 26px 0 0;
    padding: 13px 27px;
    border: 1px solid #704b3e;
    border-radius: 4px;
    background: #ffffff;
    color: #704b3e;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
}
.upb-pat-page .upb-pat-opening-card .upb-pat-discover::after {
    content: none;
}
@media (max-width: 768px) {
    .upb-pat-page .upb-pat-opening-card .upb-pat-card-copy {
        padding: 24px 20px 30px;
    }
    .upb-pat-page .upb-pat-opening-card .upb-pat-card-copy h2 {
        margin-bottom: 7px;
        font-size: 28px;
    }
    .upb-pat-page .upb-pat-opening-card .upb-pat-card-copy span {
        font-size: 15px;
    }
    .upb-pat-page .upb-pat-opening-card .upb-pat-discover {
        margin-top: 24px;
        padding: 12px 25px;
        font-size: 15px;
    }
}

/* UPB — Pâtisserie V2 — bouton Hero compact */
.upb-pat-page .upb-pat-opening-card .upb-pat-card-copy .upb-pat-discover {
    display: inline-flex;
    width: auto;
    min-width: 0;
    max-width: none;
    box-sizing: border-box;
    align-items: center;
    justify-content: center;
    margin: 24px 0 0;
    padding: 12px 24px;
    border: 1px solid #704b3e;
    border-radius: 4px;
    background: #ffffff;
    color: #704b3e;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
}

/* =========================================================
   UPB — PÂTISSERIE V2 — NOS COUPS DE CŒUR
   Composition validée : 2 cartes égales côte à côte
   ========================================================= */
.upb-pat-page .upb-pat-favorites,
.upb-pat-page .upb-pat-favourites {
    padding-left: 20px;
    padding-right: 20px;
}
.upb-pat-page .upb-pat-favorites-grid,
.upb-pat-page .upb-pat-favourites-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}
.upb-pat-page .upb-pat-favorites-grid > *,
.upb-pat-page .upb-pat-favourites-grid > * {
    grid-column: auto !important;
    width: auto !important;
    max-width: none !important;
}
.upb-pat-page .upb-pat-favorites .upb-pat-card-photo,
.upb-pat-page .upb-pat-favourites .upb-pat-card-photo {
    aspect-ratio: 3 / 4;
    overflow: hidden;
}
.upb-pat-page .upb-pat-favorites .upb-pat-card-photo img,
.upb-pat-page .upb-pat-favourites .upb-pat-card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.upb-pat-page .upb-pat-favorites .upb-pat-card-copy,
.upb-pat-page .upb-pat-favourites .upb-pat-card-copy {
    padding: 12px 4px 0;
}
@media (max-width: 768px) {
    .upb-pat-page .upb-pat-favorites-grid,
    .upb-pat-page .upb-pat-favourites-grid {
        gap: 14px;
    }
}

/* =========================================================
   UPB — PÂTISSERIE V2 — RAIL KINFOLK (classes réelles)
   ========================================================= */
@media (max-width:768px) {
    .upb-pat-page .upb-pat-inspiration {
        padding: 0 0 60px;
        overflow: hidden;
    }

    .upb-pat-page .upb-pat-inspiration .upb-pat-section-head {
        padding: 0 20px 24px;
    }

    .upb-pat-page .upb-pat-inspiration .upb-pat-section-head p {
        display: none;
    }

    .upb-pat-page .upb-pat-inspiration .upb-pat-section-head h2 {
        margin: 0;
        font-size: 29px;
        line-height: 1.08;
    }

    .upb-pat-page .upb-pat-inspiration .upb-pat-section-head h2::before {
        content: "Encore plus ";
    }

    .upb-pat-page .upb-pat-kinfolk {
        display: flex;
        gap: 12px;
        overflow-x: auto;
        padding: 0 20px 10px;
        scroll-snap-type: x proximity;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .upb-pat-page .upb-pat-kinfolk::-webkit-scrollbar {
        display: none;
    }

    .upb-pat-page .upb-pat-kinfolk-slide {
        flex: 0 0 42%;
        width: 42%;
        min-width: 0;
        scroll-snap-align: start;
    }

    .upb-pat-page .upb-pat-kinfolk-slide .upb-pat-card-photo img {
        width: 100%;
        aspect-ratio: 3 / 4;
        object-fit: cover;
    }

    .upb-pat-page .upb-pat-kinfolk-slide .upb-pat-card-copy {
        padding: 9px 2px 0;
    }

    .upb-pat-page .upb-pat-kinfolk-slide .upb-pat-card-copy h2 {
        margin: 0;
        font-size: 15px;
        line-height: 1.15;
    }

    .upb-pat-page .upb-pat-kinfolk-slide .upb-pat-card-copy span {
        margin-top: 4px;
        font-size: 11px;
    }
}

/* UPB — Pâtisserie V2 — titre du rail Kinfolk uniquement */
@media (max-width:768px) {
    .upb-pat-page .upb-pat-inspiration .upb-pat-section-head {
        padding: 0 20px 20px;
    }

    .upb-pat-page .upb-pat-inspiration .upb-pat-section-head h2 {
        margin: 0;
        white-space: nowrap;
        font-size: 25px;
        line-height: 1.1;
        font-weight: 500;
    }
}

/* UPB — Pâtisserie V2 — hiérarchie titre Kinfolk */
@media (max-width:768px) {
    .upb-pat-page .upb-pat-inspiration .upb-pat-section-head h2 {
        font-size: 36px;
        line-height: 1.05;
        font-weight: 500;
    }
}

/* UPB — Pâtisserie V2 — titre Kinfolk XXL sur 2 lignes */
@media (max-width:768px) {
    .upb-pat-page .upb-pat-inspiration .upb-pat-section-head h2 {
        max-width: 330px;
        white-space: normal;
        font-size: 48px;
        line-height: 0.98;
        letter-spacing: -0.02em;
    }

    .upb-pat-page .upb-pat-inspiration .upb-pat-section-head h2::before {
        content: "Encore plus\A";
        white-space: pre;
    }
}

/* UPB — Pâtisserie V2 — finition titre "Encore plus d’inspiration" */
@media (max-width:768px) {
    .upb-pat-page .upb-pat-inspiration .upb-pat-section-head {
        padding-left: 20px;
        padding-right: 20px;
    }

    .upb-pat-page .upb-pat-inspiration .upb-pat-section-head h2 {
        max-width: 330px;
        margin: 0;
        font-size: 43px;
        line-height: 0.98;
        font-weight: 400;
        letter-spacing: -0.025em;
    }
}

/* UPB — Pâtisserie V2 — finition titre Kinfolk : plus fin + axe coups de cœur */
@media (max-width:768px) {
    .upb-pat-page .upb-pat-inspiration .upb-pat-section-head {
        padding-left: 40px;
        padding-right: 20px;
    }

    .upb-pat-page .upb-pat-inspiration .upb-pat-section-head h2 {
        font-weight: 300;
    }
}

/* =========================================================
   UPB — PÂTISSERIE V2 — BLOC BULLE GOURMANDE
   Finition éditoriale — modification isolée
   ========================================================= */
.upb-pat-page .upb-pat-bg {
    padding-top: 10px;
}

.upb-pat-page .upb-pat-bg-inner {
    align-items: stretch;
}

.upb-pat-page .upb-pat-bg-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 52px 48px;
}

.upb-pat-page .upb-pat-bg-copy > p {
    margin: 0 0 20px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .20em;
    line-height: 1.2;
}

.upb-pat-page .upb-pat-bg-copy h2 {
    max-width: 390px;
    margin: 0;
    font-family: "Playfair Display", serif;
    font-size: 46px;
    font-weight: 400;
    line-height: 1.02;
    letter-spacing: -.025em;
}

.upb-pat-page .upb-pat-bg-copy a {
    align-self: flex-start;
    margin-top: 34px;
    padding-bottom: 5px;
    font-size: 15px;
    font-weight: 400;
}

@media (max-width: 768px) {
    .upb-pat-page .upb-pat-bg {
        padding: 10px 20px 56px;
    }

    .upb-pat-page .upb-pat-bg-copy {
        padding: 34px 28px 40px;
    }

    .upb-pat-page .upb-pat-bg-copy > p {
        margin-bottom: 18px;
        font-size: 11px;
        letter-spacing: .19em;
    }

    .upb-pat-page .upb-pat-bg-copy h2 {
        max-width: 275px;
        font-size: 40px;
        line-height: 1.02;
        font-weight: 400;
    }

    .upb-pat-page .upb-pat-bg-copy a {
        margin-top: 30px;
        font-size: 15px;
    }
}

/* =========================================================
   UPB — PÂTISSERIE V2 — FINAL "SURPRENEZ-MOI"
   Modification isolée : dernier bloc uniquement
   ========================================================= */
.upb-pat-page .upb-pat-surprise {
    position: relative;
    padding: 32px 24px 92px;
    text-align: center;
    background: #FBF6EE;
}

.upb-pat-page .upb-pat-surprise::before {
    content: "♡";
    display: block;
    margin: 0 auto 18px;
    color: #df8fa6;
    font-size: 24px;
    line-height: 1;
}

.upb-pat-page .upb-pat-surprise p {
    max-width: 430px;
    margin: 0 auto 28px;
    color: #704b3e;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 34px;
    font-weight: 400;
    line-height: 1.12;
}

.upb-pat-page .upb-pat-surprise a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 24px;
    border: 1px solid #704b3e;
    border-radius: 4px;
    color: #704b3e;
    background: transparent;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    text-decoration: none;
}

.upb-pat-page .upb-pat-surprise a:hover {
    background: #704b3e;
    color: #fff;
}

@media (max-width: 768px) {
    .upb-pat-page .upb-pat-surprise {
        padding: 26px 24px 40px;
    }

    .upb-pat-page .upb-pat-surprise p {
        max-width: 310px;
        font-size: 32px;
    }

    .upb-pat-page .upb-pat-surprise a {
        min-height: 46px;
        padding: 0 22px;
    }
}
@media (max-width: 768px) {
    .upb-pat-page .upb-pat-bg {
        padding-bottom: 15px;
    }
}
/* PAGE 2+ — titre pâtisserie du catalogue */
@media (max-width: 767px) {
    .upb-pat-catalog-head h1 {
        color: #7b5143;
        font-size: 52px;
        line-height: 0.95;
        font-weight: 400;
        margin-bottom: 28px;
    }
}
/* PAGE 2+ — respiration pleine largeur */
.upb-pat-respiration-catalog {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
}

.upb-pat-respiration-catalog img {
    display: block;
    width: 100%;
    height: auto;
}

/* =========================================================
   LES CRÉATIONS DU MOMENT — PERSONNAGE « JE VEUX LE MÊME. »
   Ajouté dans .upb-moment-composition-large, juste après la carte,
   pour occuper l'espace laissé par align-items:start ($editorial_3
   conservé intact, inchangé, plus bas dans le template).
   ========================================================= */
.upb-moment-character {
    max-width: 90%;
    margin: 0 0 24px;
}

.upb-moment-character img {
    display: block;
    width: 100%;
    height: auto;
}

/* =========================================================
   LES CRÉATIONS DU MOMENT — RAPPROCHEMENT DU BLOC FINAL
   Modification isolée : ne touche ni .upb-moment-duo--final
   (« Happy dance »), ni le .upb-surprise de base (single-creation.php).
   ========================================================= */
.upb-moment-end {
    padding-top: 18px;
}

.upb-moment-brioche {
    margin: 0 auto 4px;
}

.upb-moment-end .upb-surprise {
    padding-top: 6px;
}

/* =========================================================
   LES CRÉATIONS DU MOMENT — RESSERREMENT DES ESPACES ENTRE BLOCS
   Exception ponctuelle validée : .upb-moment-duo--final
   (padding-bottom) est ici modifié pour cette correction précise.
   ========================================================= */
.upb-moment-composition {
    padding-bottom: 16px;
}

.upb-moment-duo--final {
    padding-bottom: 24px;
}

/* =========================================================
   NOUVELLE PAGE — LES PÂTISSERIES
   Fichier : page-les-patisseries.php
   ========================================================= */
.upb-lp-page {
    background: #ffffff;
    color: #704b3e;
}

/* Bandes lavande latérales derrière .upb-lp-page : provenance confirmée
   en DevTools = le .ast-container parent. Ciblage limité à la page
   Les Pâtisseries via sa classe body, sans toucher aux autres
   .ast-container du site. Uniquement la couleur de fond : largeur,
   padding et mise en page restent inchangés. */
.upb-les-patisseries .ast-container {
    background: #ffffff;
}

.upb-lp-intro {
    padding: 40px 24px 24px;
}

.upb-lp-intro-inner {
    max-width: 1180px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.upb-lp-title {
    margin: 0;
    font-family: "Playfair Display", serif;
    font-weight: 500;
    font-size: 52px;
    line-height: 1.1;
    color: #704B3E;
}

.upb-lp-tagline {
    margin: 10px 0 0;
    font-family: "Playfair Display", serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 1.05;
    color: #704b3e;
}

.upb-lp-intro-text {
    margin: 14px 0 0;
    color: #9a8d86;
    font-size: 11px;
    line-height: 1.6;
}

.upb-lp-intro-illustration {
    max-width: 220px;
    margin: 0 auto;
}

.upb-lp-intro-illustration img {
    display: block;
    width: 50%;
    height: auto;
    margin-left: auto;
    margin-right: auto;
}

.upb-lp-group {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 0 24px 24px;
    max-width: 1180px;
    margin: 0 auto;
}

.upb-lp-card {
    display: block;
    color: inherit;
    text-decoration: none;
    border-radius: 8px;
    overflow: hidden;
    background: #f3e7df;
}

.upb-lp-card-photo img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.upb-lp-card-copy {
    padding: 16px 18px 20px;
}

.upb-lp-card-copy h2 {
    margin: 0 0 4px;
    font-family: "Playfair Display", serif;
    font-weight: 500;
    font-size: 24px;
    color: #704b3e;
}

.upb-lp-card-copy p {
    margin: 0 0 10px;
    color: #9a8d86;
    font-size: 12px;
    line-height: 1.4;
}

.upb-lp-card-link {
    display: inline-block;
    color: #704b3e;
    font-size: 12px;
    border-bottom: 1px solid currentColor;
    padding-bottom: 2px;
}

.upb-lp-card--dominant .upb-lp-card-copy h2 {
    font-size: 30px;
}

.upb-lp-respiration-text {
    padding: 36px 24px;
    text-align: center;
}

.upb-lp-respiration-text p {
    margin: 0 auto;
    max-width: 480px;
    font-family: "Playfair Display", serif;
    font-size: 19px;
    color: #704b3e;
    line-height: 1.4;
}

.upb-lp-respiration-image {
    width: 100%;
    margin: 0 auto 16px;
}

.upb-lp-respiration-image img {
    display: block;
    width: 100%;
    height: auto;
}

.upb-lp-final {
    padding: 36px 24px;
    text-align: center;
}

.upb-lp-final-image {
    max-width: 320px;
    margin: 0 auto 16px;
}

.upb-lp-final-image img {
    display: block;
    width: 100%;
    height: auto;
}

.upb-lp-final-text p {
    margin: 0 auto;
    max-width: 480px;
    color: #704b3e;
    font-size: 14px;
    line-height: 1.6;
}

.upb-lp-cta {
    padding: 44px 24px 64px;
    text-align: center;
    background: #FBF6EE;
}

.upb-lp-cta-heart {
    display: block;
    margin-bottom: 10px;
    color: #d98fa0;
    font-size: 22px;
}

.upb-lp-cta-title {
    margin: 0 0 20px;
    font-family: "Playfair Display", serif;
    font-weight: 500;
    font-size: 29px;
    color: #704b3e;
}

.upb-lp-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 28px;
    border: 1px solid #704b3e;
    border-radius: 4px;
    color: #704b3e;
    text-decoration: none;
    font-size: 15px;
}

@media (min-width: 769px) {
    .upb-lp-intro-inner {
        flex-direction: row;
        align-items: flex-start;
        justify-content: space-between;
        gap: 40px;
    }

    .upb-lp-intro-copy {
        max-width: 640px;
    }

    .upb-lp-title {
        font-size: 52px;
    }

    .upb-lp-intro-illustration {
        max-width: 280px;
        order: 2;
    }

    .upb-lp-group--first {
        grid-template-columns: 2fr 1fr;
        grid-template-rows: repeat(2, minmax(0, 1fr));
    }

    .upb-lp-group--first .upb-lp-card--dominant {
        grid-column: 1;
        grid-row: 1 / 3;
    }

    .upb-lp-group--first .upb-lp-card--small:nth-of-type(2) {
        grid-column: 2;
        grid-row: 1;
    }

    .upb-lp-group--first .upb-lp-card--small:nth-of-type(3) {
        grid-column: 2;
        grid-row: 2;
    }

    .upb-lp-group:not(.upb-lp-group--first) {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* Alignement mobile de l'intro — centrage uniquement en dessous du
   breakpoint desktop existant (769px). L'alignement desktop ci-dessus
   n'est pas modifié. */
@media (max-width: 768px) {
    .upb-lp-title,
    .upb-lp-tagline,
    .upb-lp-intro-text {
        text-align: center;
    }
}

/* =========================================================
   NOUVELLE PAGE — LE COIN DES CURIEUX
   Fichier : page-coin-des-curieux.php
   Typographie : Playfair Display réservé aux H1/H2 et grands
   titres éditoriaux ; Inter pour tous les textes courants et
   fonctionnels (accroche, intro, cartes, CTA, petits textes).
   ========================================================= */
.upb-cc-page {
    background: #ffffff;
    color: #704b3e;
}

/* Fond Astra — correction ciblée à cette seule page (même cause
   que sur Les Pâtisseries : le .ast-container parent). Ne touche
   ni à la règle globale, ni aux autres pages. */
.upb-coin-curieux .ast-container {
    background: #ffffff;
}

/* ---------- Hero + Introduction ---------- */
.upb-cc-hero {
    padding: 40px 16px 24px;
}

.upb-cc-hero-inner {
    max-width: 1180px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: relative;
}

.upb-cc-hero-title {
    margin: 0;
    font-family: "Playfair Display", serif;
    font-weight: 500;
    font-size: 40px;
    line-height: 1.1;
    color: #7b5143;
}

.upb-cc-hero-tagline {
    margin: 10px 0 0;
    font-family: "Inter", sans-serif;
    font-size: 15px;
    color: #704b3e;
}

.upb-cc-hero-intro {
    margin: 14px 0 0;
    font-family: "Inter", sans-serif;
    color: #9a8d86;
    font-size: 13px;
    line-height: 1.6;
}

.upb-cc-hero-illustration {
    max-width: 220px;
    margin: 0 auto;
    position: relative;
}

.upb-cc-hero-illustration img {
    display: block;
    width: 100%;
    height: auto;
}

/* ---------- À la Une ---------- */
.upb-cc-featured {
    margin: 32px 16px 0;
    padding: 20px;
    background: #f2e2e1;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
    overflow: visible;
}

.upb-cc-featured-photo img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.upb-cc-featured-eyebrow {
    display: inline-block;
    font-family: "Inter", sans-serif;
    font-size: 11px;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #7b5143;
    background: #ffffff;
    padding: 4px 10px;
    border-radius: 20px;
    margin-bottom: 10px;
}

.upb-cc-featured-copy h2 {
    margin: 0 0 8px;
    font-family: "Playfair Display", serif;
    font-weight: 500;
    font-size: 24px;
    color: #7b5143;
}

.upb-cc-featured-copy p {
    margin: 0 0 12px;
    font-family: "Inter", sans-serif;
    font-size: 13px;
    line-height: 1.6;
    color: #704b3e;
}

.upb-cc-featured-link {
    font-family: "Inter", sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #7b5143;
    text-decoration: none;
}

/* ---------- À découvrir ---------- */
.upb-cc-discover {
    padding: 40px 16px 8px;
}

.upb-cc-section-title {
    margin: 0 0 20px;
    font-family: "Playfair Display", serif;
    font-weight: 500;
    font-size: 24px;
    color: #7b5143;
}

.upb-cc-discover-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.upb-cc-card {
    display: block;
    text-decoration: none;
    border-radius: 10px;
    overflow: hidden;
    background: #faf7f5;
}

.upb-cc-card-photo img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.upb-cc-card-copy {
    padding: 12px;
}

.upb-cc-card-copy h3 {
    margin: 0 0 6px;
    font-family: "Inter", sans-serif;
    font-weight: 600;
    font-size: 13px;
    line-height: 1.35;
    color: #704b3e;
}

.upb-cc-card-copy p {
    margin: 0 0 8px;
    font-family: "Inter", sans-serif;
    font-size: 11px;
    line-height: 1.5;
    color: #9a8d86;
}

.upb-cc-card-link {
    font-family: "Inter", sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: #7b5143;
}

/* ---------- Bandeau Cookie ---------- */
.upb-cc-cookie {
    margin: 40px 16px 0;
    padding: 24px 16px;
    background: #f2e2e1;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
    position: relative;
    overflow: visible;
}

.upb-cc-cookie-character {
    position: relative;
    max-width: 200px;
}

.upb-cc-cookie-character img {
    display: block;
    width: 100%;
    height: auto;
}

.upb-cc-cookie-text {
    font-family: "Inter", sans-serif;
    font-size: 13px;
    line-height: 1.6;
    color: #704b3e;
}

/* ---------- Explorer autrement ---------- */
.upb-cc-explore {
    padding: 48px 16px 8px;
}

.upb-cc-explore-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.upb-cc-explore-item {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    text-decoration: none;
    background: #ffffff;
    border: 1px solid #f1e6df;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 24px -16px rgba(123, 81, 67, .35);
}

.upb-cc-explore-item--3 {
    grid-column: 1 / -1;
}

.upb-cc-explore-media {
    width: 100%;
    aspect-ratio: 4 / 3;
    background: #f2e2e1;
    overflow: hidden;
}

.upb-cc-explore-item--2 .upb-cc-explore-media {
    background: #dbe9f5;
}

.upb-cc-explore-item--3 .upb-cc-explore-media {
    background: #faf1e6;
}

.upb-cc-explore-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.upb-cc-explore-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px 18px 24px;
}

.upb-cc-explore-label {
    font-family: "Playfair Display", serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 1.3;
    color: #7b5143;
}

.upb-cc-explore-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: "Inter", sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .02em;
    color: #7b5143;
}

.upb-cc-explore-arrow {
    color: #7b5143;
    font-weight: 600;
}

/* ---------- Une surprise ? ---------- */
.upb-cc-surprise {
    margin: 40px 16px 0;
    padding: 24px 16px;
    background: #dbe9f5;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
    position: relative;
    overflow: visible;
}

.upb-cc-surprise-copy h2 {
    margin: 0 0 8px;
    font-family: "Playfair Display", serif;
    font-weight: 500;
    font-size: 22px;
    color: #2c4a63;
}

.upb-cc-surprise-copy p {
    margin: 0 0 16px;
    font-family: "Inter", sans-serif;
    font-size: 13px;
    color: #45607a;
}

.upb-cc-surprise-button {
    display: inline-block;
    padding: 12px 28px;
    background: #2c5f8a;
    color: #ffffff;
    font-family: "Inter", sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 24px;
}

.upb-cc-surprise-illustration {
    max-width: 110px;
}

.upb-cc-surprise-illustration img {
    display: block;
    width: 100%;
    height: auto;
}

/* ---------- Bloc de rebond ---------- */
.upb-cc-rebond {
    padding: 40px 16px 8px;
}

.upb-cc-rebond-title {
    margin: 0 0 6px;
    font-family: "Playfair Display", serif;
    font-weight: 500;
    font-size: 22px;
    color: #7b5143;
}

.upb-cc-rebond-subtitle {
    margin: 0 0 20px;
    font-family: "Inter", sans-serif;
    font-size: 13px;
    color: #9a8d86;
}

.upb-cc-rebond-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.upb-cc-card--rebond {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #faf7f5;
}

.upb-cc-card--rebond .upb-cc-card-photo {
    flex: 0 0 70px;
}

.upb-cc-card--rebond .upb-cc-card-photo img {
    width: 70px;
    height: 70px;
    aspect-ratio: 1 / 1;
}

.upb-cc-card--rebond .upb-cc-card-copy {
    flex: 1;
    padding: 10px 12px 10px 0;
}

/* ---------- Signature finale ---------- */
.upb-cc-signature {
    padding: 40px 16px 56px;
    text-align: center;
}

.upb-cc-signature p {
    margin: 0 0 8px;
    font-family: "Playfair Display", serif;
    font-style: italic;
    font-size: 16px;
    color: #7b5143;
}

.upb-cc-signature-hearts {
    color: #d98fa0;
    font-size: 14px;
}

/* ---------- Desktop (même breakpoint que le reste du thème) ---------- */
@media (min-width: 769px) {
    .upb-cc-hero-inner {
        flex-direction: row;
        align-items: flex-start;
        justify-content: space-between;
        gap: 40px;
    }

    .upb-cc-hero-copy {
        max-width: 640px;
    }

    .upb-cc-hero-title {
        font-size: 56px;
    }

    .upb-cc-hero-illustration {
        max-width: 260px;
        order: 2;
    }

    .upb-cc-featured {
        margin: 40px auto 0;
        max-width: 1180px;
        flex-direction: row;
        align-items: stretch;
        padding: 28px;
        gap: 32px;
    }

    .upb-cc-featured-photo {
        flex: 0 0 46%;
    }

    .upb-cc-featured-photo img {
        height: 100%;
        object-fit: cover;
    }

    .upb-cc-featured-copy {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .upb-cc-featured-copy h2 {
        font-size: 32px;
    }

    .upb-cc-discover,
    .upb-cc-explore,
    .upb-cc-rebond {
        max-width: 1180px;
        margin-left: auto;
        margin-right: auto;
        padding-left: 24px;
        padding-right: 24px;
    }

    .upb-cc-discover-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 24px;
    }

    .upb-cc-cookie {
        max-width: 1180px;
        margin-left: auto;
        margin-right: auto;
        flex-direction: row;
        justify-content: center;
        gap: 32px;
        padding: 32px;
    }

    .upb-cc-explore-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .upb-cc-explore-item--3 {
        grid-column: auto;
    }

    .upb-cc-surprise {
        max-width: 1180px;
        margin-left: auto;
        margin-right: auto;
        flex-direction: row;
        justify-content: center;
        gap: 40px;
        padding: 32px;
    }

    .upb-cc-rebond-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Hero mobile — centrage du texte ; illustration repositionnée entre
   l'accroche et le texte introductif, largeur 80px, léger décalage
   à droite (à tester). Technique : .upb-cc-hero-copy passe en
   display:contents (DOM inchangé) pour que ses enfants deviennent
   des flex-items directs de .upb-cc-hero-inner, réordonnés via
   `order`. Le gap du conteneur est neutralisé et remplacé par des
   marges explicites afin de conserver les espacements d'origine
   titre→accroche (10px) et de reprendre le même espacement (14px)
   avant le texte intro.
   N'affecte que le mobile ; le bloc desktop ci-dessus est inchangé. */
@media (max-width: 768px) {
    .upb-cc-hero-title,
    .upb-cc-hero-tagline,
    .upb-cc-hero-intro {
        text-align: center;
    }

    .upb-cc-hero-inner {
        gap: 0;
    }

    .upb-cc-hero-copy {
        display: contents;
    }

    .upb-cc-hero-title {
        order: 1;
    }

    .upb-cc-hero-tagline {
        order: 2;
        margin-top: 10px;
    }

    .upb-cc-hero-illustration {
        order: 3;
        max-width: 80px;
        margin-top: 16px;
        margin-bottom: 16px;
        transform: translateX(8px);
    }

    .upb-cc-hero-intro {
        order: 4;
        margin-top: 14px;
    }
}

/* Ajustements mobile — À la Une (débordement de la photo) et
   conteneur principal (marges extérieures ~16px).
   N'affecte que le mobile ; aucune règle desktop ni autre page
   n'est modifiée. */
@media (max-width: 768px) {
    /* Le .ast-container d'Astra ajoute son propre padding horizontal
       sur cette page ; les sections .upb-cc-* portent déjà leurs
       propres marges de 16px, ce qui élargissait la marge visible
       au-delà de 16px. On neutralise uniquement ce padding, sans
       toucher à sa largeur ni à la règle globale/autres pages. */
    .upb-coin-curieux .ast-container {
        padding-left: 0;
        padding-right: 0;
    }

    /* Photo « À la Une » : débordement d'environ 45px au-dessus du
       bord supérieur de la carte (-45px souhaités - 20px de
       padding-top de la carte = -65px), sans changement de taille. */
    .upb-cc-featured-photo {
        margin-top: -65px;
    }
}

/* =========================================================
   NOUVELLE PAGE — ARTICLE LE COIN DES CURIEUX
   Fichier : single-coin-des-curieux.php
   Base mobile-first (même convention que le reste de la famille
   Coin des Curieux ci-dessus), passage en 2 colonnes à partir de
   769px. Réutilise .upb-cc-card / .upb-cc-card--rebond existants
   pour « Sur le même thème », sans les modifier. Palette et
   typographie identiques : Playfair Display pour H1/H2/H3, Inter
   pour le reste, mêmes teintes (#704b3e, #7b5143, #9a8d86, #faf7f5,
   #f2e2e1, #dbe9f5, #d98fa0).
   ========================================================= */
.upb-cca-page {
    background: #ffffff;
    color: #704b3e;
}

.upb-coin-curieux-article .ast-container {
    background: #ffffff;
}

/* ---------- Fil d'Ariane ---------- */
.upb-cca-breadcrumb {
    max-width: 1180px;
    margin: 0 auto;
    padding: 20px 16px 0;
    font-family: "Inter", sans-serif;
    font-size: 12px;
    color: #9a8d86;
}

.upb-cca-breadcrumb a {
    color: #9a8d86;
    text-decoration: none;
}

.upb-cca-breadcrumb a:hover {
    color: #7b5143;
}

.upb-cca-breadcrumb-sep {
    margin: 0 6px;
}

.upb-cca-breadcrumb-current {
    color: #7b5143;
}

/* ---------- Intro ---------- */
.upb-cca-intro {
    max-width: 1180px;
    margin: 0 auto;
    padding: 20px 16px 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.upb-cca-eyebrow {
    display: inline-block;
    font-family: "Inter", sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #7b5143;
    margin-bottom: 10px;
}

.upb-cca-title {
    margin: 0 0 12px;
    font-family: "Playfair Display", serif;
    font-weight: 500;
    font-size: 30px;
    line-height: 1.15;
    color: #7b5143;
}

.upb-cca-chapo {
    margin: 0 0 16px;
    font-family: "Inter", sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: #704b3e;
}

.upb-cca-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;
    font-family: "Inter", sans-serif;
    font-size: 13px;
    color: #9a8d86;
}

.upb-cca-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.upb-cca-meta-icon {
    width: 16px;
    height: 16px;
    color: #9a8d86;
}

.upb-cca-meta-heart {
    color: #d98fa0;
    font-size: 16px;
}

.upb-cca-intro-illustration {
    position: relative;
    max-width: 240px;
    margin: 0 auto;
}

.upb-cca-intro-illustration img {
    display: block;
    width: 100%;
    height: auto;
}

/* ---------- Layout 2 colonnes ---------- */
.upb-cca-layout {
    max-width: 1180px;
    margin: 0 auto;
    padding: 8px 16px 0;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.upb-cca-content {
    min-width: 0;
}

.upb-cca-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* ---------- Sections : texte éditorial ---------- */
.upb-cca-section--texte {
    margin: 0 0 28px;
}

.upb-cca-section--texte h2 {
    margin: 0 0 12px;
    font-family: "Playfair Display", serif;
    font-weight: 500;
    font-size: 22px;
    color: #7b5143;
}

.upb-cca-section-text {
    font-family: "Inter", sans-serif;
    font-size: 15px;
    line-height: 1.7;
    color: #704b3e;
}

.upb-cca-section-text p {
    margin: 0 0 14px;
}

.upb-cca-section-text p:last-child {
    margin-bottom: 0;
}

.upb-cca-section-text a {
    color: #7b5143;
}

/* ---------- Encart mis en avant ---------- */
.upb-cca-encart {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 20px;
    margin: 0 0 28px;
    border-radius: 12px;
}

.upb-cca-encart--creme { background: #faf7f5; }
.upb-cca-encart--rose  { background: #f2e2e1; }
.upb-cca-encart--bleu  { background: #dbe9f5; }

.upb-cca-encart-illu {
    max-width: 64px;
}

.upb-cca-encart-illu img {
    display: block;
    width: 100%;
    height: auto;
}

.upb-cca-encart-copy h3 {
    margin: 0 0 8px;
    font-family: "Playfair Display", serif;
    font-weight: 500;
    font-size: 18px;
    color: #7b5143;
}

.upb-cca-encart-text {
    font-family: "Inter", sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #704b3e;
}

.upb-cca-encart-text p { margin: 0 0 10px; }
.upb-cca-encart-text p:last-child { margin-bottom: 0; }

/* ---------- Visuel légendé ---------- */
.upb-cca-visuel {
    margin: 0 0 32px;
}

.upb-cca-visuel-frame img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 6px;
}

.upb-cca-visuel--polaroid .upb-cca-visuel-frame {
    background: #ffffff;
    padding: 10px 10px 0;
    box-shadow: 0 6px 16px rgba(112,75,62,.15);
    transform: rotate(-1.5deg);
}

.upb-cca-visuel--polaroid .upb-cca-visuel-caption {
    background: #ffffff;
    box-shadow: 0 6px 16px rgba(112,75,62,.15);
    transform: rotate(-1.5deg);
    padding: 6px 10px 14px;
    margin-top: -1px;
}

.upb-cca-visuel-caption {
    display: block;
    font-family: "Playfair Display", serif;
    font-style: italic;
    font-size: 14px;
    color: #7b5143;
    text-align: center;
}

.upb-cca-visuel--plain .upb-cca-visuel-caption {
    margin-top: 10px;
}

.upb-cca-visuel-annotation {
    display: block;
    width: fit-content;
    max-width: 70%;
    margin-top: 12px;
    font-family: "Playfair Display", serif;
    font-style: italic;
    font-size: 14px;
    color: #7b5143;
}

.upb-cca-visuel-annotation--left {
    margin-right: auto;
    text-align: left;
}

.upb-cca-visuel-annotation--right {
    margin-left: auto;
    text-align: right;
}

/* ---------- Décorations (LABO DES ZIGOUIGOUI™) ---------- */
.upb-cca-visuel-photo {
    position: relative;
}

.upb-cca-visuel-frame .upb-cca-visuel-deco {
    position: absolute;
    display: block;
    width: 20%;
    height: auto;
    max-width: none;
    border-radius: 0;
    pointer-events: none;
    z-index: 2;
}

/* ---------- Citation / annotation seule ---------- */
.upb-cca-citation {
    margin: 0 0 28px;
    font-family: "Playfair Display", serif;
    font-style: italic;
    font-size: 16px;
    color: #7b5143;
    text-align: center;
}

.upb-cca-citation::after {
    content: "♡";
    display: block;
    margin-top: 12px;
    color: #d98fa0;
    font-size: 16px;
    font-style: normal;
    text-align: center;
}

/* ---------- Bloc de rebond commercial (facultatif) ---------- */
.upb-cca-promo {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 8px 0 0;
    padding: 24px 20px;
    border-radius: 16px;
    background: #faf7f5;
}

.upb-cca-promo-kicker {
    margin: 0;
    font-family: "Playfair Display", serif;
    font-style: italic;
    font-size: 18px;
    color: #7b5143;
}

.upb-cca-promo-title {
    margin: 0;
    font-family: "Playfair Display", serif;
    font-weight: 500;
    font-size: 28px;
    color: #7b5143;
}

.upb-cca-promo-text {
    margin: 0;
    font-family: "Inter", sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #704b3e;
}

.upb-cca-promo-link {
    display: inline-block;
    align-self: flex-start;
    padding: 12px 22px;
    border-radius: 30px;
    background: #d98fa0;
    font-family: "Inter", sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    text-decoration: none;
}

.upb-cca-promo-link:link,
.upb-cca-promo-link:visited,
.upb-cca-promo-link:hover,
.upb-cca-promo-link:focus {
    color: #ffffff;
    background: #d98fa0;
}

.upb-cca-promo-visuals {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.upb-cca-promo-photo {
    width: 140px;
    padding: 8px 8px 16px;
    background: #ffffff;
    box-shadow: 0 6px 16px rgba(112,75,62,.15);
}

.upb-cca-promo-photo img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.upb-cca-promo-photo:nth-child(1) {
    transform: rotate(-3deg);
}

.upb-cca-promo-photo:nth-child(2) {
    margin-top: 14px;
    transform: rotate(2deg);
}

.upb-cca-promo-photo:nth-child(3) {
    transform: rotate(-2deg);
}

/* ---------- Sidebar : Sur le même thème ---------- */
.upb-cca-sidebar-title {
    margin: 0 0 14px;
    font-family: "Playfair Display", serif;
    font-weight: 500;
    font-size: 18px;
    color: #7b5143;
}

.upb-cca-related-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* ---------- CTA fixe ---------- */
.upb-cca-cta {
    padding: 20px;
    border-radius: 12px;
    background: #dbe9f5;
    text-align: left;
}

.upb-cca-cta h2 {
    margin: 0 0 8px;
    font-family: "Playfair Display", serif;
    font-weight: 500;
    font-size: 18px;
    color: #7b5143;
}

.upb-cca-cta p {
    margin: 0 0 14px;
    font-family: "Inter", sans-serif;
    font-size: 13px;
    line-height: 1.5;
    color: #704b3e;
}

.upb-cca-cta-link {
    display: inline-block;
    padding: 10px 18px;
    border-radius: 30px;
    background: #ffffff;
    font-family: "Inter", sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #7b5143;
    text-decoration: none;
}

/* ---------- Sticky-note fixe ---------- */
.upb-cca-stickynote {
    position: relative;
    padding: 24px 20px;
    background: #f2e2e1;
    border-radius: 4px;
    text-align: center;
    transform: rotate(1.5deg);
}

.upb-cca-stickynote::before,
.upb-cca-stickynote::after {
    content: "";
    position: absolute;
    top: -9px;
    width: 34px;
    height: 16px;
    background: rgba(255,255,255,.6);
}

.upb-cca-stickynote::before {
    left: 18px;
    transform: rotate(-6deg);
}

.upb-cca-stickynote::after {
    right: 18px;
    transform: rotate(4deg);
}

.upb-cca-stickynote p {
    margin: 0 0 8px;
    font-family: "Playfair Display", serif;
    font-style: italic;
    font-size: 15px;
    color: #7b5143;
}

.upb-cca-stickynote-heart {
    display: block;
    margin-top: 4px;
    text-align: center;
    color: #d98fa0;
    font-size: 14px;
}

/* ---------- Footer : retour + partage ---------- */
.upb-cca-footer {
    max-width: 1180px;
    margin: 32px auto 0;
    padding: 32px 16px 48px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    border-top: 1px solid #efe6e2;
}

.upb-cca-back-link {
    font-family: "Inter", sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #7b5143;
    text-decoration: none;
}

.upb-cca-share {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: "Inter", sans-serif;
    font-size: 13px;
    color: #9a8d86;
}

.upb-cca-share-label {
    margin-right: 4px;
}

.upb-cca-share a {
    text-decoration: none;
    font-size: 16px;
    line-height: 1;
}

/* ---------- Desktop (même breakpoint que le reste du thème) ---------- */
@media (min-width: 769px) {

    .upb-cca-intro {
        max-width: 1320px;
        flex-direction: row;
        align-items: flex-start;
        justify-content: space-between;
        gap: 40px;
        padding-top: 32px;
    }

    .upb-cca-intro-copy {
        flex: 1;
        max-width: 640px;
    }

    .upb-cca-title {
        font-size: 40px;
    }

    .upb-cca-intro-illustration {
        flex: 0 0 260px;
        max-width: 260px;
        margin: 0;
    }

    .upb-cca-layout {
        max-width: 1320px;
        display: grid;
        grid-template-columns: 1fr 300px;
        column-gap: 48px;
        row-gap: 0;
        align-items: start;
        padding-top: 16px;
    }

    .upb-cca-content {
        grid-column: 1;
        grid-row: 1;
    }

    .upb-cca-promo {
        grid-column: 1;
        grid-row: 2;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 40px;
        padding: 32px 40px;
    }

    .upb-cca-promo-copy {
        flex: 0 1 45%;
    }

    .upb-cca-promo-link {
        white-space: nowrap;
    }

    .upb-cca-promo-visuals {
        flex: 0 1 55%;
        justify-content: flex-end;
        gap: 0;
    }

    .upb-cca-promo-photo {
        width: 160px;
    }

    .upb-cca-promo-photo:not(:first-child) {
        margin-left: -32px;
    }

    .upb-cca-sidebar-wrap {
        grid-column: 2;
        grid-row: 1;
        align-self: stretch;
    }

    .upb-cca-sidebar {
        position: sticky;
        top: 24px;
    }

    .upb-cca-footer {
        max-width: 1320px;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .upb-coin-curieux-article.ast-narrow-container .site-content > .ast-container {
        max-width: 1320px;
        padding-left: 0;
        padding-right: 0;
    }
}

/* ---------- Respiration visuelle (correction 6) ---------- */
.upb-cca-respiration {
    display: flex;
    justify-content: center;
    margin: 0 0 28px;
}

.upb-cca-respiration img {
    display: block;
    width: auto;
    height: auto;
}

.upb-cca-respiration--petit img {
    max-width: 48px;
}

.upb-cca-respiration--moyen img {
    max-width: 80px;
}

.upb-cca-respiration--grand img {
    max-width: 120px;
}

/* ---------- Corrections mobile Hero + hiérarchie (passe corrective 1) ---------- */
@media (max-width: 768px) {
    .upb-cca-intro-copy {
        text-align: center;
    }

    .upb-cca-eyebrow {
        font-family: "Playfair Display", serif;
        font-size: 40px;
        line-height: .8;
        text-transform: none;
        letter-spacing: normal;
        margin-bottom: 28px;
    }

    .upb-cca-title {
        font-size: 20px;
    }

    .upb-cca-chapo {
        font-size: 13px;
        line-height: 1.6;
        color: #7f7f7f;
    }

    .upb-cca-section--texte h2 {
        font-size: 18px;
    }

    .upb-cca-intro-illustration {
        max-width: none;
        width: 100%;
        margin: 12px 0 0;
        display: flex;
        justify-content: center;
    }

    .upb-cca-intro-illustration img {
        width: 144px;
        max-width: 60%;
    }
}

/* ---------- Corrections mobile — Bloc de rebond commercial ---------- */
@media (max-width: 768px) {
    .upb-cca-promo {
        gap: 14px;
    }

    .upb-cca-promo-copy {
        text-align: center;
    }

    .upb-cca-promo-title {
        margin-top: -8px;
    }

    .upb-cca-promo-text {
        font-size: 13px;
        line-height: 1.5;
    }

    .upb-cca-promo-link {
        align-self: center;
        margin-top: 8px;
        margin-bottom: 16px;
        padding: 9px 18px;
        font-size: 13px;
        white-space: nowrap;
    }

    .upb-cca-promo-visuals {
        flex-wrap: nowrap;
        gap: 0;
    }

    .upb-cca-promo-photo {
        width: 104px;
        padding: 8px 8px 12px;
    }

    .upb-cca-promo-photo:not(:first-child) {
        margin-left: -14px;
    }

    .upb-cca-promo-photo:nth-child(1) {
        transform: rotate(-6deg);
        z-index: 3;
    }

    .upb-cca-promo-photo:nth-child(2) {
        margin-top: 16px;
        transform: rotate(4deg);
        z-index: 2;
    }

    .upb-cca-promo-photo:nth-child(3) {
        margin-top: -6px;
        transform: rotate(-8deg);
        z-index: 1;
    }
}

/* =========================================================
   UPB — PAGE L'ATELIER (page-atelier.php)
   DA : adulte mais joyeux — blanc, brun chocolat, rose poudré,
   crème, touches bleu pâle. Reproduction fidèle de l'Artifact
   « L'Atelier — UPB (prototype V1) » validé. Base = desktop,
   @media (max-width:768px) pour le mobile, comme le reste du thème.
   ========================================================= */

.upb-atelier-page {
    background: #FBF6EE;
    color: #3E2A22;
    font-family: "Inter", sans-serif;
}

.upb-atelier-page h1,
.upb-atelier-page h2,
.upb-atelier-page h3 {
    font-family: "Playfair Display", serif;
    color: #3E2A22;
    margin: 0 0 12px;
}

.upb-atelier-page p {
    margin: 0 0 14px;
    line-height: 1.6;
}

.upb-atelier-page a {
    text-decoration: none;
}

/* ---------- En-tête / navigation ---------- */
.upb-ate-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(6px);
    border-bottom: 1px solid #E7DCC9;
}

.upb-ate-header-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.upb-ate-nav-links {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
}

.upb-ate-nav-link {
    color: #3E2A22;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.upb-ate-nav-link:hover {
    color: #7A5B49;
}

/* ---------- Boutons ---------- */
.upb-atelier-page .btn-primary {
    display: inline-block;
    padding: 14px 26px;
    background: #3E2A22;
    color: #FBF6EE;
    border-radius: 999px;
    font-weight: 600;
    font-size: 15px;
    border: 1px solid #3E2A22;
    transition: background .18s ease, color .18s ease;
}

.upb-atelier-page .btn-primary:hover {
    background: #7A5B49;
    border-color: #7A5B49;
}

/* CTA Hero « Découvrir les coloriages » : variante claire propre à ce
   bouton (fond crème, texte ink-soft, liseré foncé), conforme à la
   maquette. Ne s'applique qu'à ce bouton précis — le CTA du Livre
   (« Voir le livre sur Amazon ») garde le .btn-primary classique. */
.upb-atelier-page .btn-primary.upb-ate-hero-cta {
    background: #FBF6EE;
    color: #7A5B49;
    border: 1px solid #141413;
    padding: 10px 20px;
    font-size: 13px;
}

.upb-atelier-page .btn-primary.upb-ate-hero-cta:hover {
    background: #F4EBDD;
    color: #7A5B49;
    border-color: #141413;
}

.upb-atelier-page .btn-outline {
    display: inline-block;
    padding: 11px 20px;
    background: #FFFFFF;
    color: #3E2A22;
    border: 1px solid #3E2A22;
    border-radius: 999px;
    font-weight: 600;
    font-size: 14px;
    transition: background .18s ease, color .18s ease, border-color .18s ease;
    cursor: pointer;
}

.upb-atelier-page .btn-outline.btn-hover-pink:hover {
    background: #FBE3E8;
    color: #3E2A22;
    border-color: transparent;
}

.upb-ate-file-btn--disabled {
    opacity: 0.45;
    cursor: not-allowed;
    pointer-events: none;
}

/* ---------- Pastilles / labels ---------- */
.upb-ate-pill {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 999px;
    background: #FBE3E8;
    color: #7A5B49;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.upb-ate-pill--muted {
    background: #F4EBDD;
    color: #7A5B49;
}

/* ---------- Hero ---------- */
.upb-ate-hero {
    position: relative;
    padding: 56px 24px 72px;
    overflow: hidden;
    /* Fond blanc ciblé sur le hero uniquement : la page hérite du beige
       via .upb-atelier-page (background: #FBF6EE), qui reste inchangé
       pour toutes les sections situées après le hero (Coloriages à
       imprimer, Jeux, Recettes, etc.). */
    background: #FFFFFF;
}

/* Ronds de couleur décoratifs en fond de section (coins), conformes à
   la maquette. Éléments réels (et non des pseudo-éléments) placés avant
   la grille dans le flux, afin que .upb-ate-hero-grid (positionnée)
   s'affiche naturellement au-dessus, comme dans l'Artifact. */
.upb-ate-hero-blob {
    position: absolute;
    display: block;
    border-radius: 50%;
    pointer-events: none;
}

.upb-ate-hero-blob--blue {
    top: -70px;
    right: -90px;
    width: 280px;
    height: 280px;
    background: #E7F3F7;
    opacity: .7;
}

.upb-ate-hero-blob--pink {
    bottom: -90px;
    left: -70px;
    width: 220px;
    height: 220px;
    background: #FBE3E8;
    opacity: .6;
}

.upb-ate-hero-grid {
    position: relative;
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
}

.upb-ate-hero-copy {
    text-align: left;
}

.upb-ate-hero-copy h1 {
    font-size: 44px;
    line-height: 1.1;
    color: #7A5B49 !important;
}

.upb-ate-hero-subtitle {
    font-size: 16px;
    color: #7A5B49;
}

.upb-ate-hero-intro {
    max-width: 480px;
    color: #7A5B49 !important;
    font-size: 13px;
}

.upb-ate-nounours-photo {
    position: relative;
    max-width: 420px;
}

.upb-ate-nounours-photo img {
    display: block;
    width: 100%;
    height: auto;
    position: relative;
    z-index: 2;
}

/* Ronds de couleur sous le personnage (Nounours), conformes à la
   maquette : un grand rond organique rose derrière, un petit rond bleu
   en accent. Tailles différentes mobile/desktop, ciblées via le
   conteneur .upb-ate-nounours--mobile / --desktop. */
.upb-ate-nounours-blob {
    position: absolute;
    z-index: 1;
    pointer-events: none;
}

.upb-ate-nounours-blob--pink {
    background: #FBE3E8;
    border-radius: 48% 52% 55% 45% / 52% 48% 52% 48%;
}

.upb-ate-nounours-blob--blue {
    background: #E7F3F7;
    border-radius: 50%;
}

/* Sur mobile, la photo de Nounours est réduite (voir @media plus bas) :
   les ronds sont réduits dans la même proportion pour rester cohérents
   avec sa taille, au lieu de déborder largement du cadre. */
.upb-ate-nounours--mobile .upb-ate-nounours-blob--pink {
    width: 110px;
    height: 110px;
    top: 3px;
    left: 0;
}

.upb-ate-nounours--mobile .upb-ate-nounours-blob--blue {
    width: 50px;
    height: 50px;
    left: 6%;
    bottom: -2px;
}

.upb-ate-nounours--desktop .upb-ate-nounours-blob--pink {
    width: 380px;
    height: 380px;
    right: 20px;
    top: 0;
}

.upb-ate-nounours--desktop .upb-ate-nounours-blob--blue {
    width: 160px;
    height: 160px;
    left: 10px;
    bottom: 6px;
}

.upb-ate-nounours--mobile {
    display: none;
}

/* ---------- Titres de section ---------- */
.upb-ate-section-head {
    max-width: 720px;
    margin: 0 auto 32px;
    text-align: center;
}

.upb-ate-section-head h2 {
    font-size: 32px;
    color:  #7A5B49  !important;
}

.upb-ate-section-head p {
    font-size: 14px;
    color: #7A5B49;
}

/* Lien vers toutes les illustrations (entre l'intro et la grille) */
.upb-ate-coloriages-link-wrap {
    max-width: 720px;
    margin: 0 auto 32px;
    text-align: center;
}

.upb-ate-coloriages-link {
    display: inline-block;
    color: #7A5B49;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px solid currentColor;
    padding-bottom: 2px;
}

.upb-ate-coloriages-link:hover {
    color: #3E2A22;
}

/* ---------- Coloriages ---------- */
.upb-ate-coloriages,
.upb-ate-jeux,
.upb-ate-recettes {
    padding: 64px 24px;
    max-width: 1180px;
    margin: 0 auto;
}

.upb-ate-card {
    background: #FFFFFF;
    border: 1px solid #E7DCC9;
    border-radius: 16px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.upb-ate-grid-coloriages {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.upb-ate-card-media {
    position: relative;
    aspect-ratio: 4 / 3;
    border-radius: 12px;
    overflow: hidden;
    background: #F4EBDD;
}

.upb-ate-card-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.upb-ate-card-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 10px;
    border-radius: 999px;
    background: #FBE3E8;
    color: #7A5B49;
    font-size: 11px;
    font-weight: 700;
}

/* Cartes Coloriages : image en plein bord (pas de marge interne),
   coins arrondis à 20px comme la maquette — le padding ne reste que
   pour le texte, sous l'image. */
.upb-ate-coloriage-card {
    padding: 0;
    gap: 0;
    border-radius: 20px;
    overflow: hidden;
}

.upb-ate-coloriage-card .upb-ate-card-media {
    border-radius: 0;
}

.upb-ate-coloriage-card h3 {
    font-size: 15px;
    margin: 0;
    padding: 12px 16px 16px;
    text-align: center;
}

.upb-ate-coloriage-trigger {
    cursor: pointer;
    transition: box-shadow .18s ease, transform .18s ease;
}

.upb-ate-coloriage-trigger:hover,
.upb-ate-coloriage-trigger:focus-visible {
    box-shadow: 0 6px 18px rgba(62, 42, 34, 0.12);
    transform: translateY(-2px);
}

.upb-ate-coloriage-trigger:focus-visible {
    outline: 2px solid #3E2A22;
    outline-offset: 2px;
}

.upb-ate-respiration-text {
    text-align: center;
    color: #7A5B49;
    font-style: italic;
    margin: 32px 0 0;
}

/* ---------- Jeux ---------- */
.upb-ate-jeux {
    background: #F4EBDD;
}

.upb-ate-grid-jeux {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.upb-ate-game-card {
    align-items: center;
    text-align: center;
    color: #3E2A22;
    background: #E7F3F7;
    border-color: transparent;
}

.upb-ate-game-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto;
    color: #3E2A22;
    background: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.upb-ate-game-icon img {
    width: 32px;
    height: 32px;
    object-fit: cover;
    border-radius: 50%;
}

.upb-ate-game-card h3 {
    font-size: 16px;
    font-family: "Inter", sans-serif;
    color: #7A5B49;


}

/* ---------- Mes recettes ---------- */
.upb-ate-swipe-hint {
    color: #7A5B49;
    font-size: 13px;
}

/* Visuel éditorial de section (optionnel) : image telle quelle, sans
   décoration ni transformation — la composition graphique est fournie
   directement dans le fichier image par l'équipe. */
.upb-ate-recettes-visual {
    max-width: 640px;
    margin: 0 auto 32px;
}

.upb-ate-recettes-visual img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.upb-ate-recette-carousel {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 6px 4px 22px;
    outline: none;
}

.upb-ate-recette-carousel::-webkit-scrollbar {
    display: none;
}

.upb-ate-recette-slide {
    flex: 0 0 360px;
    scroll-snap-align: center;
    background: #FFFFFF;
    border-radius: 14px;
    padding: 22px;
    position: relative;
}

.upb-ate-recette-slide--v0 {
    border: 1px dashed #E7DCC9;
    transform: rotate(-0.6deg);
}

.upb-ate-recette-slide--v1 {
    border: 1px dashed #E7DCC9;
    transform: rotate(0.5deg);
}

.upb-ate-recette-slide--v1::before {
    content: "";
    position: absolute;
    top: -10px;
    right: 24px;
    width: 46px;
    height: 18px;
    background: #FBE3E8;
    opacity: 0.85;
    transform: rotate(3deg);
}

.upb-ate-recette-slide--v0::before {
    content: "";
    position: absolute;
    top: -10px;
    left: 24px;
    width: 46px;
    height: 18px;
    background: #E7F3F7;
    opacity: 0.85;
    transform: rotate(-3deg);
}

.upb-ate-recette-slide--v2 {
    border: 1px solid #E7DCC9;
}

.upb-ate-recette-slide--v3 {
    border: 1px dashed #E7DCC9;
    transform: rotate(0.6deg);
}

.upb-ate-recette-slide--v3::before {
    content: "";
    position: absolute;
    top: -10px;
    left: 50%;
    margin-left: -23px;
    width: 46px;
    height: 18px;
    background: #F4EBDD;
    opacity: 0.9;
}

.upb-ate-recette-pill {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    background: #F4EBDD;
    color: #7A5B49;
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 10px;
}

.upb-ate-recette-slide h3 {
    font-size: 17px;
}

.upb-ate-recette-preview img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 14px;
}

.upb-ate-recette-placeholder {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 14px;
}

.upb-ate-recette-placeholder span {
    display: block;
    padding: 18px 10px;
    text-align: center;
    background: #FBF6EE;
    border: 1px dashed #E7DCC9;
    border-radius: 8px;
    font-size: 12px;
    color: #7A5B49;
}

.upb-ate-recette-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 6px;
    outline: none;
}

.upb-ate-carousel-arrow {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #FFFFFF;
    border: 1px solid #E7DCC9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3E2A22;
    cursor: pointer;
    transition: background .18s ease, color .18s ease;
    outline: none;
}

.upb-ate-carousel-arrow:hover {
    background: #3E2A22;
    color: #FBF6EE;
}

.upb-ate-carousel-arrow[disabled] {
    opacity: 0.35;
    pointer-events: none;
}

.upb-ate-carousel-dots {
    display: flex;
    gap: 8px;
}

.upb-ate-carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    padding: 0;
    background: #E7DCC9;
    cursor: pointer;
    transition: background .2s ease;
    outline: none;
}

.upb-ate-carousel-dot.is-active {
    background: #3E2A22;
}

.upb-ate-carousel-arrow:focus,
.upb-ate-carousel-dot:focus,
.upb-ate-recette-carousel:focus {
    outline: none;
    box-shadow: none;
}

/* ---------- Rebond « Le Coin des Curieux » ---------- */
.upb-ate-rebond {
    max-width: 1180px;
    margin: 0 auto;
    padding: 48px 24px;
    text-align: center;
}

.upb-ate-rebond-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 780px;
    margin: 24px auto 0;
    text-align: left;
}

.upb-ate-rebond-card {
    display: block;
    background: #FFFFFF;
    border: 1px solid #E7DCC9;
    border-radius: 14px;
    overflow: hidden;
    color: #3E2A22;
}

.upb-ate-rebond-photo img {
    display: block;
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.upb-ate-rebond-copy {
    padding: 16px;
}

.upb-ate-rebond-copy h3 {
    font-size: 16px;
    margin-bottom: 8px;
}

.upb-ate-rebond-link {
    font-size: 13px;
    font-weight: 700;
    color: #7A5B49;
}

/* ---------- Livre ---------- */
.upb-ate-livre {
    background: #FBE3E8;
    padding: 64px 24px;
}

.upb-ate-livre-wrap {
    max-width: 1000px;
    margin: 0 auto;
    background: #FFFFFF;
    border-radius: 20px;
    padding: 40px;
    display: flex;
    align-items: center;
    gap: 48px;
}

.upb-ate-livre-cover {
    flex: 0 0 220px;
}

.upb-ate-livre-cover img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 12px 30px rgba(62, 42, 34, 0.18);
}

.upb-ate-livre-copy {
    flex: 1;
}

/* =========================================================
   UPB — L'ATELIER — RESPONSIVE MOBILE
   ========================================================= */
@media (max-width: 768px) {

    .upb-ate-header-inner {
        padding: 14px 16px;
        justify-content: flex-end;
    }

    .upb-ate-nav-links {
        gap: 16px;
    }

    .upb-ate-nav-link {
        font-size: 13px;
    }

    .upb-ate-hero {
        padding: 40px 16px 56px;
    }

    /* Les ronds de coin, dimensionnés pour la largeur desktop (1180px),
       débordent sur la mise en page mobile empilée (plus étroite et
       plus haute) et chevauchent le texte : on les réduit et on les
       repousse davantage vers les coins pour rester des touches
       discrètes en arrière-plan, sans toucher au reste du Hero. */
    .upb-ate-hero-blob--blue {
        width: 150px;
        height: 150px;
        top: -40px;
        right: -50px;
    }

    .upb-ate-hero-blob--pink {
        width: 130px;
        height: 130px;
        bottom: -50px;
        left: -40px;
    }

    .upb-ate-hero-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .upb-ate-hero-copy {
        text-align: center;
    }

    .upb-ate-hero-copy h1 {
        font-size: 44px;
    }

    .upb-ate-hero-intro {
        margin-left: auto;
        margin-right: auto;
    }

    .upb-ate-nounours--mobile {
        display: flex;
        justify-content: center;
        margin: 20px 0;
    }

    .upb-ate-nounours--desktop {
        display: none;
    }

    .upb-ate-nounours-photo {
        max-width: 130px;
        width: 130px;
    }

    .upb-ate-coloriages,
    .upb-ate-jeux,
    .upb-ate-recettes {
        padding: 48px 16px;
    }

    .upb-ate-grid-coloriages,
    .upb-ate-grid-jeux {
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }

    .upb-ate-section-head h2 {
        font-size: 26px;
    }

    .upb-ate-recette-slide {
        flex: 0 0 86%;
    }

    .upb-ate-recettes-visual {
        margin: 0 auto 24px;
    }

    .upb-ate-rebond-grid {
        grid-template-columns: 1fr;
    }

    .upb-ate-livre-wrap {
        flex-direction: column;
        padding: 28px 20px;
        text-align: center;
    }

    .upb-ate-livre-cover {
        flex: 0 0 auto;
        width: 60%;
        max-width: 220px;
    }
}

@media (max-width: 480px) {
    .upb-ate-grid-coloriages,
    .upb-ate-grid-jeux {
        grid-template-columns: 1fr;
    }
}

/* ---------- Lightbox « Coloriages » ---------- */
body.upb-ate-lightbox-open {
    overflow: hidden;
}

.upb-ate-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.upb-ate-lightbox[hidden] {
    display: none;
}

.upb-ate-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(62, 42, 34, 0.55);
}

.upb-ate-lightbox-panel {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    max-width: 640px;
    width: 100%;
    max-height: calc(100vh - 48px);
    overflow-y: auto;
    background: #FFFFFF;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.upb-ate-lightbox-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 50%;
    background: #FFFFFF;
    color: #3E2A22;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: background .18s ease, color .18s ease;
}

.upb-ate-lightbox-close:hover,
.upb-ate-lightbox-close:focus-visible {
    background: #3E2A22;
    color: #FBF6EE;
}

.upb-ate-lightbox-media {
    border-radius: 14px;
    overflow: hidden;
    background: #F4EBDD;
}

.upb-ate-lightbox-image {
    display: block;
    width: 100%;
    height: auto;
}

.upb-ate-lightbox-info {
    padding-top: 16px;
    text-align: center;
}

.upb-ate-lightbox-title {
    font-size: 20px;
    margin: 0 0 14px;
}

.upb-ate-lightbox-actions .upb-ate-file-btn {
    display: inline-block;
}

@media (max-width: 768px) {
    .upb-ate-lightbox {
        padding: 16px;
    }

    .upb-ate-lightbox-panel {
        padding: 16px;
        max-height: calc(100vh - 32px);
    }

    .upb-ate-lightbox-title {
        font-size: 17px;
    }
}
.upb-fonc-blob,
.upb-univers-blob {
    display: none;
}
body.single-creation .upb-creation-introduction p {
    font-size: 14px;
    line-height: 1.6;
}
@media (max-width: 768px) {
    body.single-creation .upb-produit-texte {
        font-size: 16px;
        line-height: 1.6;
    }

    body.single-creation .upb-produit-texte p {
        font-size: 16px;
        line-height: 1.6;
    }
}
@media (max-width: 768px) {
    body.single-creation .upb-creation-introduction p,
    body.single-creation .upb-produit-texte,
    body.single-creation .upb-produit-texte p,
    body.single-creation .upb-histoire-texte,
    body.single-creation .upb-histoire-texte p {
        font-size: 14px;
        line-height: 1.6;
    }
body.single-creation .upb-fonctionnement-texte p {
    font-size: 14px;
    line-height: 1.6;
}

body.single-creation .upb-fonctionnement-texte strong {
    font-size: 16px;
    line-height: 1.4;
}
body.single-creation .upb-univers-patisserie-text,
body.single-creation .upb-curieux-text {
    font-size: 14px;
    line-height: 1.6;
}

body.single-creation .upb-univers-patisserie-link,
body.single-creation .upb-curieux-link {
    font-size: 15px;
}
body.single-creation .upb-univers-patisserie-inner,
body.single-creation .upb-curieux-inner {
    max-width: 760px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
}

body.single-creation .upb-univers-patisserie-inner {
    padding-top: 48px;
    padding-bottom: 24px;
}

body.single-creation .upb-curieux {
    padding-top: 24px;
    padding-bottom: 56px;
}
body.single-creation .upb-univers-patisserie-inner {
    padding-bottom: 8px;
}

body.single-creation .upb-curieux {
    padding-top: 8px;
}
body.single-creation .upb-curieux-title {
    font-size: 26px;
    line-height: 1.2;
}
}


/* =========================================================
   ARTICLES « LE COIN DES CURIEUX » — TEMPLATES RÉCIT / DÉCOUVERTE
   Rendu par single-coin-des-curieux-refonte.php (choix « Template de
   l’article » du mini-BO). Tout est scopé sous .upb-cca2 (contenu de
   l'article uniquement) : aucun sélecteur ne vise le header, le footer
   ni les templates existants. Mobile d'abord, desktop à partir de
   769px (même breakpoint que le reste du thème).
   Palette : chocolat #704b3e · beige-doux #fbf6ee · beige-soutenu
   #f3e7de · rose-fond #f2e2e1 · rose-très-pâle #fbe3e8 · bleu-pâle
   #e7f3f7 · rose-accent #d98fa0 · gris #777.
   ========================================================= */

.upb-cca2 { color: #704b3e; }
.upb-cca2 h1, .upb-cca2 h2, .upb-cca2 h3 {
    font-family: "Playfair Display", serif;
    font-weight: 600;
    color: #704b3e;
}
.upb-cca2 a { color: #704b3e; }
.upb-cca2-article { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.upb-cca2-heart { flex-shrink: 0; display: inline-block; vertical-align: middle; }

/* ---------- Hero (mobile) ---------- */
.upb-cca2-hero { display: flex; flex-direction: column; padding: 8px 0 32px; }
.upb-cca2-hero-illu img { display: block; width: 150px; height: auto; margin: 0 auto 24px; }
.upb-cca2-eyebrow {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    margin: 0 0 16px; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
}
.upb-cca2 h1.upb-cca2-title {
    margin: 0; text-align: center; font-size: 30px; line-height: 1.15; letter-spacing: -.01em;
}
.upb-cca2-chapo { margin: 20px 0 0; font-size: 17px; line-height: 1.6; }
.upb-cca2-meta {
    margin-top: 24px; display: flex; align-items: center; flex-wrap: wrap; gap: 12px 20px;
    font-size: 14px; line-height: 20px; color: #777777;
}
.upb-cca2-meta-item { display: inline-flex; align-items: center; gap: 8px; }
.upb-cca2-meta-icon { width: 18px; height: 18px; flex-shrink: 0; }
.upb-cca2-meta-heart {
    width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
    background: #fbf6ee; border-radius: 999px; font-size: 20px; line-height: 1; color: #704b3e;
}
.upb-cca--decouverte .upb-cca2-hero-illu {
    margin-top: 28px; aspect-ratio: 8 / 5; padding: 12px; background: #e7f3f7; border-radius: 22px;
}
.upb-cca--decouverte .upb-cca2-hero-illu img { width: 100%; height: 100%; margin: 0; object-fit: cover; border-radius: 12px; }

/* ---------- Corps : sections dans l'ordre du mini-BO ---------- */
.upb-cca2-body { display: flex; flex-direction: column; gap: 40px; }
.upb-cca2-row { display: flex; flex-direction: column; gap: 28px; }
.upb-cca2-row-margin { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.upb-cca2-row-main { min-width: 0; }

.upb-cca2-text h2 { margin: 0 0 20px; text-align: center; font-size: 27px; line-height: 1.2; }
.upb-cca2-text-body { font-size: 16px; line-height: 1.65; }
.upb-cca2-text-body p { margin: 0 0 18px; }
.upb-cca2-text-body p:last-child { margin-bottom: 0; }
.upb-cca2-text-body a { text-decoration: underline; text-underline-offset: 3px; }
.upb-cca2-text-body h3 { margin: 32px 0 12px; text-align: center; font-size: 22px; line-height: 1.25; }
.upb-cca2-text-body h3::before {
    content: ""; display: block; width: 24px; height: 24px; margin: 0 auto 12px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D98FA0' stroke-width='2.2' stroke-linejoin='round' stroke-linecap='round'%3E%3Cpath d='M12 20.5S3.5 15.2 3.5 9.2C3.5 6.5 5.6 4.7 7.7 4.7c1.6 0 3.2.9 4.3 2.6 1.1-1.7 2.7-2.6 4.3-2.6 2.1 0 4.2 1.8 4.2 4.5 0 6-8.5 11.3-8.5 11.3z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Encart mis en avant */
.upb-cca2-encart { padding: 28px 24px 30px; border-radius: 24px; background: #fbf6ee; }
.upb-cca2-encart--rose { background: #f2e2e1; }
.upb-cca2-encart--bleu { background: #e7f3f7; }
.upb-cca2-encart-illu img { display: block; width: 100%; max-width: 160px; height: auto; margin: 0 auto 16px; }
.upb-cca2 .upb-cca2-encart h3 {
    display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font-size: 22px; line-height: 1.2;
}
.upb-cca2-encart-text { font-size: 15px; line-height: 1.65; }
.upb-cca2-encart-text p { margin: 0 0 10px; }
.upb-cca2-encart-text p:last-child { margin-bottom: 0; }

/* Visuel : cadre épais coloré, légende centrée, décors du Labo conservés */
.upb-cca2-visuel { margin: 0; }
.upb-cca2-frame { padding: 12px; border-radius: 22px; background: #f2e2e1; }
.upb-cca2-frame--bleu { background: #e7f3f7; }
.upb-cca2-frame--beige { background: #f3e7df; }
.upb-cca2-frame--none { padding: 0; background: transparent; }
.upb-cca2-photo { position: relative; }
.upb-cca2-photo img { display: block; width: 100%; height: auto; border-radius: 12px; }
.upb-cca2-frame--none .upb-cca2-photo img { border-radius: 6px; }
.upb-cca2-photo .upb-cca-visuel-deco {
    position: absolute; display: block; height: auto; max-width: none; border-radius: 0; pointer-events: none; z-index: 2;
}
.upb-cca2-caption {
    display: block; margin-top: 12px; text-align: center;
    font-family: "Playfair Display", serif; font-style: italic; font-size: 15px; line-height: 1.45; color: #704b3e;
}
.upb-cca2-annotation {
    display: block; width: fit-content; max-width: 70%; margin-top: 10px;
    font-family: "Playfair Display", serif; font-style: italic; font-size: 14px; color: #7b5143;
}
.upb-cca2-annotation--left { margin-right: auto; text-align: left; }
.upb-cca2-annotation--right { margin-left: auto; text-align: right; }

/* Visuels « marge » consécutifs : bande défilante sur mobile */
.upb-cca2-scroller {
    display: flex; gap: 16px; overflow-x: auto; margin: 0 -20px; padding: 0 20px 4px;
    scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch;
}
.upb-cca2-scroller .upb-cca2-visuel { flex: 0 0 280px; scroll-snap-align: start; }
.upb-cca2-scroller .upb-cca2-photo img { aspect-ratio: 1 / 1; object-fit: cover; }

/* Citation */
.upb-cca2-citation { margin: 0; padding: 0; border: 0; text-align: center; }
.upb-cca2-citation p {
    margin: 12px auto 0; max-width: 640px; font-family: "Playfair Display", serif;
    font-size: 24px; line-height: 1.3; font-weight: 500; color: #704b3e;
}

/* Respiration visuelle */
.upb-cca2-respiration img { display: block; width: 100%; height: auto; margin: 0 auto; border-radius: 20px; }
.upb-cca2-respiration--petit img { max-width: 50%; }
.upb-cca2-respiration--moyen img { max-width: 75%; }

/* Respiration image + citation (bande beige pleine largeur) — mobile */
.upb-cca2-rc {
    margin: 0; padding: 48px 20px; background: #fbf6ee;
    box-shadow: 0 0 0 100vmax #fbf6ee; clip-path: inset(0 -100vmax);
    display: flex; flex-direction: column; align-items: center; gap: 36px;
}
.upb-cca2-rc-photo { width: 100%; max-width: 320px; }
.upb-cca2-rc .upb-cca2-photo img { aspect-ratio: 4 / 5; object-fit: cover; }
.upb-cca2-rc-captions { margin-top: 14px; display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.upb-cca2-rc-cap { font-family: "Playfair Display", serif; font-style: italic; line-height: 1.4; }
.upb-cca2-rc-cap--left { font-size: 16px; color: #333333; }
.upb-cca2-rc-cap--right { font-size: 14px; color: #704b3e; }
.upb-cca2-rc-quote { margin: 0; padding: 0; border: 0; text-align: center; }
.upb-cca2-rc-quote p {
    margin: 0 0 20px; font-family: "Playfair Display", serif; font-size: 26px; line-height: 1.3;
    font-weight: 500; font-style: italic; color: #704b3e;
}
.upb-cca2-rc-quote .upb-cca2-heart { display: block; margin: 0 auto; stroke-width: 1.7; }
.upb-cca2-sep { display: flex; justify-content: center; }

/* ---------- Fin d'article : retour + partage ---------- */
.upb-cca2-end {
    margin-top: 56px; padding-top: 28px; border-top: 1px solid #f3e7df;
    display: flex; flex-direction: column; align-items: center; gap: 24px;
}
.upb-cca2-back {
    display: flex; align-items: center; justify-content: center; width: 100%; padding: 14px 24px;
    border: 1.5px solid #704b3e; border-radius: 999px; font-size: 15px; font-weight: 600; text-decoration: none;
}
.upb-cca2-share { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; }
.upb-cca2-share-label { flex-basis: 100%; text-align: center; font-size: 14px; color: #777777; }
.upb-cca2-share a {
    width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
    background: #fbf6ee; border-radius: 50%; color: #704b3e; text-decoration: none;
}

/* ---------- Bloc promo (univers Pâtisserie) ---------- */
.upb-cca2-promo { margin-top: 40px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px; }
.upb-cca2-promo-copy { display: contents; }
.upb-cca2-promo .upb-cca2-eyebrow { margin: 0; }
.upb-cca2 h2.upb-cca2-promo-title { margin: 0; font-size: 28px; line-height: 1.2; }
.upb-cca2-promo-text { margin: 0; font-size: 15px; line-height: 1.65; }
.upb-cca2-promo-visuals { order: 1; display: flex; justify-content: center; align-items: flex-start; padding: 12px 0; }
.upb-cca2-promo-link {
    order: 2; display: flex; align-items: center; justify-content: center; width: 100%; padding: 15px 24px;
    background: #704b3e; border-radius: 999px; font-size: 14px; font-weight: 600; line-height: 20px; text-decoration: none;
}
.upb-cca2 a.upb-cca2-promo-link, .upb-cca2 a.upb-cca2-promo-link:visited, .upb-cca2 a.upb-cca2-promo-link:hover { color: #ffffff; }
.upb-cca2-polaroid {
    width: 128px; padding: 7px 7px 12px; background: #ffffff; box-shadow: 0 10px 22px rgba(112,75,62,.14);
    position: relative; transform: rotate(-4deg);
}
.upb-cca2-polaroid img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.upb-cca2-polaroid:nth-child(2) { transform: rotate(2.5deg); margin-left: -16px; }
.upb-cca2-polaroid:nth-child(3) { transform: rotate(-2deg); margin-left: -16px; margin-top: 28px; }

/* ---------- Sur le même thème ---------- */
.upb-cca2-related {
    margin-top: 56px; padding: 56px 0; background: #fbf6ee;
    box-shadow: 0 0 0 100vmax #fbf6ee; clip-path: inset(0 -100vmax);
}
.upb-cca2 h2.upb-cca2-related-title { margin: 0 0 28px; text-align: center; font-size: 28px; line-height: 1.2; }
.upb-cca2-related-grid { display: flex; flex-direction: column; gap: 24px; }
.upb-cca2-card { display: flex; align-items: center; gap: 16px; text-decoration: none; }
.upb-cca2-card-photo { flex-shrink: 0; width: 104px; height: 104px; padding: 8px; border-radius: 20px; background: #fbe3e8; }
.upb-cca2-card:nth-child(3n+2) .upb-cca2-card-photo { background: #f3e7df; }
.upb-cca2-card:nth-child(3n) .upb-cca2-card-photo { background: #e7f3f7; }
.upb-cca2-card-photo img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 12px; }
.upb-cca2 .upb-cca2-card-copy h3 { margin: 0 0 8px; font-size: 19px; line-height: 1.28; }
.upb-cca2-card-link { font-size: 13px; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; color: #704b3e; }
.upb-cca2-cta { margin-top: 8px; padding: 28px 24px 26px; background: #e7f3f7; border-radius: 24px; }
.upb-cca2 .upb-cca2-cta h3 { margin: 0 0 10px; font-size: 24px; line-height: 1.2; }
.upb-cca2-cta p { margin: 0 0 20px; font-size: 15px; line-height: 1.6; }
.upb-cca2-cta-link {
    display: flex; align-items: center; justify-content: center; padding: 15px 24px; background: #704b3e;
    border-radius: 999px; font-size: 14px; font-weight: 600; line-height: 20px; text-decoration: none;
}
.upb-cca2 a.upb-cca2-cta-link, .upb-cca2 a.upb-cca2-cta-link:visited, .upb-cca2 a.upb-cca2-cta-link:hover { color: #ffffff; }
.upb-cca2-note { margin: 32px auto 0; }

/* ---------- Desktop ---------- */
@media (min-width: 769px) {

    .upb-cca2-article { padding: 0 24px; }

    /* Hero */
    .upb-cca2-hero { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; align-items: center; padding: 8px 0 72px; }
    .upb-cca2-eyebrow { justify-content: flex-start; margin: 0 0 24px; font-size: 13px; gap: 10px; }
    .upb-cca2 h1.upb-cca2-title { text-align: left; font-size: 50px; line-height: 1.1; }
    .upb-cca2-chapo { margin-top: 28px; font-size: 20px; line-height: 1.65; }
    .upb-cca2-meta { margin-top: 36px; gap: 12px 28px; font-size: 15px; line-height: 22px; }
    .upb-cca2-meta-heart { width: 40px; height: 40px; }

    .upb-cca--recit .upb-cca2-hero-illu { grid-column: 1 / 5; grid-row: 1; justify-self: center; }
    .upb-cca--recit .upb-cca2-hero-illu img { width: 210px; margin: 0; }
    .upb-cca--recit .upb-cca2-hero-copy { grid-column: 5 / 13; grid-row: 1; padding: 56px 0 0; }
    .upb-cca--recit .upb-cca2-hero:not(.has-illu) .upb-cca2-hero-copy { grid-column: 1 / -1; }

    .upb-cca--decouverte .upb-cca2-hero-copy { grid-column: 1 / 9; grid-row: 1; padding: 56px 0 0; }
    .upb-cca--decouverte .upb-cca2-hero-illu { grid-column: 9 / 13; grid-row: 1; margin-top: 0; padding: 16px; border-radius: 24px; }
    .upb-cca--decouverte .upb-cca2-hero-illu img { border-radius: 14px; }
    .upb-cca--decouverte .upb-cca2-hero:not(.has-illu) .upb-cca2-hero-copy { grid-column: 1 / -1; }

    /* Corps */
    .upb-cca2-body { gap: 72px; }
    .upb-cca2-row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; align-items: start; }
    .upb-cca2-row-margin { justify-self: center; width: 100%; max-width: 340px; gap: 28px; }

    .upb-cca--recit .upb-cca2-row-main { grid-column: 1 / 9; grid-row: 1; }
    .upb-cca--recit .upb-cca2-row-margin { grid-column: 9 / 13; grid-row: 1; }
    .upb-cca--decouverte .upb-cca2-row-main { grid-column: 5 / 13; grid-row: 1; }
    .upb-cca--decouverte .upb-cca2-row-margin { grid-column: 1 / 5; grid-row: 1; }

    /* Blocs dans le flux : colonne de lecture */
    .upb-cca--recit .upb-cca2-body > .upb-cca2-block:not(.upb-cca2-rc):not(.upb-cca2-respiration):not(.upb-cca2-citation) {
        width: calc((100% - 352px) / 12 * 8 + 224px);
    }
    .upb-cca--decouverte .upb-cca2-body > .upb-cca2-block:not(.upb-cca2-rc):not(.upb-cca2-respiration):not(.upb-cca2-citation) {
        width: calc((100% - 352px) / 12 * 8 + 224px); margin-left: auto;
    }

    .upb-cca2-text h2 { margin-bottom: 28px; text-align: left; font-size: 36px; }
    .upb-cca--recit .upb-cca2-text-body { font-size: 15px; line-height: 1.7; }
    .upb-cca--recit .upb-cca2-text--cols .upb-cca2-text-body { column-count: 2; column-gap: 32px; }
    .upb-cca--decouverte .upb-cca2-text-body { font-size: 20px; line-height: 1.65; column-count: 2; column-gap: 32px; }
    .upb-cca2-text-body p { margin-bottom: 20px; }
    .upb-cca2-text-body h3 { margin-top: 44px; text-align: left; font-size: 28px; break-after: avoid; }
    .upb-cca2-text-body h3::before { width: 28px; height: 28px; margin-bottom: 16px; }
    .upb-cca--decouverte .upb-cca2-text-body h3::before { margin-left: auto; margin-right: auto; }

    .upb-cca2-encart { padding: 34px 30px 36px; border-radius: 28px; }
    .upb-cca2 .upb-cca2-encart h3 { font-size: 24px; }
    .upb-cca2-frame { padding: 16px; border-radius: 24px; }
    .upb-cca2-photo img { border-radius: 14px; }
    .upb-cca2-caption { font-size: 15px; }

    .upb-cca2-scroller { flex-direction: column; gap: 28px; overflow: visible; margin: 0; padding: 0; }
    .upb-cca2-scroller .upb-cca2-visuel { flex: none; width: 100%; }
    .upb-cca2-scroller .upb-cca2-photo img { aspect-ratio: 3 / 2; }

    .upb-cca2-citation p { font-size: 30px; }

    /* Respiration image + citation — desktop */
    .upb-cca2-rc {
        padding: 96px 0; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; align-items: center;
    }
    .upb-cca2-rc-photo { grid-column: 4 / 10; max-width: none; }
    .upb-cca2-rc.has-quote .upb-cca2-rc-photo { grid-column: 1 / 7; }
    .upb-cca2-rc .upb-cca2-frame { padding: 20px; border-radius: 28px; }
    .upb-cca2-rc .upb-cca2-photo img { border-radius: 18px; }
    .upb-cca2-rc-captions { margin-top: 16px; flex-direction: row; justify-content: space-between; align-items: baseline; gap: 24px; }
    .upb-cca2-rc-cap--left { font-size: 17px; text-align: left; margin-right: auto; }
    .upb-cca2-rc-cap--right { font-size: 15px; text-align: right; margin-left: auto; }
    .upb-cca2-rc-quote { grid-column: 9 / 13; text-align: left; }
    .upb-cca2-rc-quote p { margin-bottom: 28px; font-size: 36px; line-height: 1.28; letter-spacing: -0.005em; }
    .upb-cca2-rc-quote .upb-cca2-heart { margin: 0; }
    .upb-cca2-sep .upb-cca2-heart { width: 30px; height: 30px; }

    /* Fin d'article */
    .upb-cca2-end {
        max-width: 1000px; margin: 112px auto 0; padding-top: 36px;
        flex-direction: row; justify-content: space-between;
    }
    .upb-cca2-back { width: auto; padding: 14px 26px; }
    .upb-cca2-share { flex-wrap: nowrap; }
    .upb-cca2-share-label { flex-basis: auto; margin-right: 8px; font-size: 15px; }

    /* Promo */
    .upb-cca2-promo {
        margin-top: 72px; padding: 64px 72px; background: #ffffff; border-radius: 36px;
        flex-direction: row; align-items: center; justify-content: space-between; text-align: left; gap: 40px;
    }
    .upb-cca2-promo-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 0; max-width: 520px; }
    .upb-cca2-promo:not(.has-visuals) .upb-cca2-promo-copy { max-width: none; }
    .upb-cca2-promo .upb-cca2-eyebrow { margin-bottom: 20px; }
    .upb-cca2 h2.upb-cca2-promo-title { margin-bottom: 20px; font-size: 38px; line-height: 1.18; }
    .upb-cca2-promo-text { font-size: 16px; }
    .upb-cca2-promo-link { order: 0; width: auto; margin-top: 28px; padding: 16px 32px; font-size: 16px; }
    .upb-cca2-promo-visuals { order: 0; padding: 0; }
    .upb-cca2-polaroid { width: 196px; padding: 10px 10px 16px; }
    .upb-cca2-polaroid:nth-child(2) { margin-left: -22px; }
    .upb-cca2-polaroid:nth-child(3) { margin-left: -22px; margin-top: 48px; }

    /* Sur le même thème */
    .upb-cca2-related { margin-top: 144px; padding: 112px 0 96px; }
    .upb-cca2 h2.upb-cca2-related-title { margin-bottom: 56px; text-align: left; font-size: 40px; line-height: 1.15; }
    .upb-cca2-related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); column-gap: 32px; row-gap: 40px; align-items: stretch; }
    .upb-cca2-card { display: block; }
    .upb-cca2-card-photo { width: 100%; height: auto; aspect-ratio: 4 / 3; padding: 14px; border-radius: 24px; }
    .upb-cca2-card-photo img { border-radius: 14px; }
    .upb-cca2 .upb-cca2-card-copy h3 { margin: 24px 0 14px; font-size: 23px; }
    .upb-cca2-card-link { font-size: 14px; text-underline-offset: 5px; }
    .upb-cca2-cta { margin-top: 0; padding: 36px 32px 32px; border-radius: 24px; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; }
    .upb-cca2 .upb-cca2-cta h3 { font-size: 27px; }
    .upb-cca2-cta p { margin: 0; }
    .upb-cca2-cta-link { align-self: flex-start; padding: 14px 24px; }
}

/* =========================================================
   ARTICLE RÉCIT — reproduction des maquettes validées
   (desktop 1440 px / mobile 390 px). Tout est scopé sous .upb-ccr :
   aucun sélecteur ne vise le header, le footer, le menu ni les
   autres templates. Mobile d'abord ; desktop à partir de 1024 px.
   Palette : chocolat #704b3e · beige doux #fbf6ee · beige fort #f3e7df
   · rose fond #f2e2e1 · rose très pâle #fbe3e8 · bleu pâle #e7f3f7
   · rose accent #d98fa0 · gris #777.
   ========================================================= */
.upb-ccr { width: 100%; color: #704b3e; font-family: "Inter", sans-serif; }
.upb-ccr *, .upb-ccr *::before, .upb-ccr *::after { box-sizing: border-box; }
.upb-ccr h1, .upb-ccr h2, .upb-ccr h3 { font-family: "Playfair Display", serif; font-weight: 600; color: #704b3e; }
:where(.upb-ccr) p, :where(.upb-ccr) figure, :where(.upb-ccr) h1, :where(.upb-ccr) h2, :where(.upb-ccr) h3 { margin: 0; }
.upb-ccr a { color: #704b3e; }
.upb-ccr img { display: block; max-width: 100%; }
.upb-ccr-heart { flex-shrink: 0; display: inline-block; vertical-align: middle; }
.upb-ccr-article { max-width: 1248px; margin: 0 auto; padding: 0 20px; }

.upb-ccr-tint--rose { --ccr-tint: #f2e2e1; }
.upb-ccr-tint--bleu { --ccr-tint: #e7f3f7; }
.upb-ccr-tint--beige { --ccr-tint: #f3e7df; }
.upb-ccr-tint--rosepale { --ccr-tint: #fbe3e8; }

/* Fil d'Ariane */
.upb-ccr-crumb {
    height: 40px; display: flex; align-items: center; gap: 8px; overflow: hidden; white-space: nowrap;
    font-size: 13px; line-height: 20px; color: #777777;
}
.upb-ccr-crumb a { color: #777777; }
.upb-ccr-crumb-current { min-width: 0; overflow: hidden; text-overflow: ellipsis; color: #704b3e; }

/* Hero */
.upb-ccr-hero { display: flex; flex-direction: column; padding: 8px 0 64px; }
.upb-ccr-hero-illu img { width: 150px; height: auto; margin: 0 auto 24px; }
.upb-ccr-eyebrow {
    display: flex; align-items: center; justify-content: center; gap: 8px; margin: 0 0 16px;
    font-size: 12px; font-weight: 600; line-height: normal; letter-spacing: .14em; text-transform: uppercase;
}
.upb-ccr-eyebrow .upb-ccr-heart { width: 14px; height: 14px; }
.upb-ccr h1.upb-ccr-title { text-align: center; font-size: 32px; line-height: 1.15; letter-spacing: -.01em; }
.upb-ccr-chapo { margin: 20px 0 0; font-size: 17px; line-height: 1.6; }
.upb-ccr-meta { margin-top: 24px; display: flex; align-items: center; flex-wrap: wrap; gap: 12px 20px; font-size: 14px; line-height: 20px; color: #777777; }
.upb-ccr-meta-item { display: inline-flex; align-items: center; gap: 8px; }

/* Sections texte */
.upb-ccr-sec.is-after-text, .upb-ccr-sec.is-after-rc, .upb-ccr-rc.is-after-text, .upb-ccr-rc.is-after-rc { margin-top: 56px; }
.upb-ccr h2.upb-ccr-h2 { margin: 0 0 20px; text-align: center; font-size: 27px; line-height: 1.2; }
.upb-ccr-body { font-size: 15px; line-height: 1.65; }
.upb-ccr-body p { margin: 0 0 16px; }
.upb-ccr-body p:last-child { margin-bottom: 0; }
.upb-ccr-body strong { font-weight: 600; }
.upb-ccr-body a { text-decoration: underline; }
.upb-ccr .upb-ccr-body h3 { margin: 32px 0 12px; text-align: center; font-size: 22px; line-height: 1.25; }
.upb-ccr .upb-ccr-body > h3:first-child { margin-top: 0; }
.upb-ccr-body h3::before {
    content: ""; display: block; width: 22px; height: 22px; margin: 0 auto 12px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D98FA0' stroke-width='2.2' stroke-linejoin='round' stroke-linecap='round'%3E%3Cpath d='M12 20.5S3.5 15.2 3.5 9.2C3.5 6.5 5.6 4.7 7.7 4.7c1.6 0 3.2.9 4.3 2.6 1.1-1.7 2.7-2.6 4.3-2.6 2.1 0 4.2 1.8 4.2 4.5 0 6-8.5 11.3-8.5 11.3z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Marge : encarts */
.upb-ccr-margin--encart { margin-top: 32px; display: flex; flex-direction: column; gap: 28px; }
.upb-ccr-encart { padding: 28px 24px 30px; border-radius: 24px; background: #fbf6ee; }
.upb-ccr-encart--bleu { background: #e7f3f7; }
.upb-ccr-encart--rose { background: #f2e2e1; }
.upb-ccr .upb-ccr-encart-title { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font-size: 22px; line-height: 1.2; }
.upb-ccr-encart-text { font-size: 15px; line-height: 1.65; }
.upb-ccr-encart-text p { margin: 0 0 10px; }
.upb-ccr-encart-text p:last-child { margin-bottom: 0; }

/* Marge : visuels (bande défilante sur mobile) */
.upb-ccr-margin--visuel { margin: 32px -20px 0; padding: 0 20px; display: flex; gap: 16px; overflow-x: auto; }
.upb-ccr-visuel { flex: 0 0 280px; }
.upb-ccr-frame { aspect-ratio: 3 / 2; padding: 12px; border-radius: 22px; background: var(--ccr-tint, #f2e2e1); }
.upb-ccr-photo { position: relative; width: 100%; height: 100%; }
.upb-ccr-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; }
.upb-ccr-photo .upb-cca-visuel-deco { position: absolute; display: block; width: auto; height: auto; max-width: none; object-fit: contain; border-radius: 0; pointer-events: none; z-index: 2; }
.upb-ccr-caption { margin: 10px 0 0; text-align: center; font-family: "Playfair Display", serif; font-style: italic; font-weight: 500; font-size: 14px; line-height: 1.45; }

/* Respiration image + citation */
.upb-ccr-rc {
    margin: 0; padding: 48px 0; background: #fbf6ee;
    box-shadow: 0 0 0 100vmax #fbf6ee; clip-path: inset(0 -100vmax);
}
.upb-ccr-rc-frame { aspect-ratio: 4 / 5; padding: 14px; border-radius: 24px; background: #f2e2e1; }
.upb-ccr-rc-frame img { width: 100%; height: 100%; object-fit: cover; border-radius: 14px; }
.upb-ccr-rc-caps { margin-top: 14px; display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; font-family: "Playfair Display", serif; font-style: italic; font-weight: 500; line-height: 1.4; }
.upb-ccr-rc-cap1 { font-size: 16px; }
.upb-ccr-rc-cap2 { font-size: 14px; }
.upb-ccr .upb-ccr-rc-quote { margin: 36px 0 0; padding: 0; border: 0; background: none; text-align: center; quotes: none; }
.upb-ccr .upb-ccr-rc-quote::before, .upb-ccr .upb-ccr-rc-quote::after { content: none; }
.upb-ccr-rc-quote p { margin: 0 0 20px; font-family: "Playfair Display", serif; font-style: italic; font-weight: 500; font-size: 26px; line-height: 1.3; }
.upb-ccr-rc-quote .upb-ccr-heart { width: 26px; height: 26px; stroke-width: 1.7; }
.upb-ccr-sep { position: relative; height: 0; display: flex; justify-content: center; }
.upb-ccr-sep .upb-ccr-heart { position: absolute; top: 16px; width: 24px; height: 24px; }

/* Fin d'article */
.upb-ccr-end { margin-top: 56px; }
.upb-ccr-end-inner { padding-top: 28px; border-top: 1px solid #f3e7df; display: flex; flex-direction: column; align-items: center; gap: 24px; }
.upb-ccr a.upb-ccr-back {
    width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 24px;
    border: 1.5px solid #704b3e; border-radius: 999px; font-size: 15px; font-weight: 600; line-height: 20px; text-decoration: none;
}
.upb-ccr-share { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.upb-ccr-share-label { font-size: 14px; color: #777777; }
.upb-ccr-share-btns { display: flex; align-items: center; gap: 12px; }
.upb-ccr-share-btns a {
    width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
    background: #fbf6ee; border-radius: 999px; text-decoration: none; font-size: 18px; font-weight: 700; line-height: 1;
}
.upb-ccr-share-btns a.upb-ccr-share-f { font-size: 20px; }

/* Bloc de rebond commercial */
.upb-ccr-promo { margin-top: 40px; display: flex; flex-direction: column; }
.upb-ccr-promo-copy { display: contents; }
.upb-ccr-promo .upb-ccr-eyebrow { margin: 0 0 14px; }
.upb-ccr h2.upb-ccr-promo-title { margin: 0 0 14px; text-align: center; font-size: 28px; line-height: 1.2; }
.upb-ccr-promo-text { font-size: 15px; line-height: 1.65; }
.upb-ccr-polaroids { order: 1; margin-top: 28px; padding: 8px 6px 14px; display: flex; justify-content: center; align-items: flex-start; }
.upb-ccr-polaroid { width: 128px; padding: 7px 7px 10px; background: #ffffff; box-shadow: 0 8px 18px rgba(112,75,62,.16); transform: rotate(-4deg); margin: 12px 0 0; }
.upb-ccr-polaroid img { width: 100%; height: 114px; object-fit: cover; }
.upb-ccr-polaroid:nth-child(2) { position: relative; margin: 0 0 0 -16px; transform: rotate(2.5deg); }
.upb-ccr-polaroid:nth-child(3) { position: relative; margin: 22px 0 0 -16px; transform: rotate(-2deg); }
.upb-ccr a.upb-ccr-promo-link, .upb-ccr a.upb-ccr-promo-link:visited, .upb-ccr a.upb-ccr-promo-link:hover {
    order: 2; margin-top: 20px; width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 16px 24px;
    background: #704b3e; border-radius: 999px; font-size: 15px; font-weight: 600; line-height: 20px; color: #ffffff; text-decoration: none;
}

/* Sur le même thème */
.upb-ccr-related {
    margin-top: 56px; padding: 56px 0; background: #fbf6ee;
    box-shadow: 0 0 0 100vmax #fbf6ee; clip-path: inset(0 -100vmax);
}
.upb-ccr h2.upb-ccr-related-title { margin: 0 0 28px; text-align: center; font-size: 28px; line-height: 1.2; }
.upb-ccr-related-grid { display: flex; flex-direction: column; gap: 20px; }
.upb-ccr-card a { display: flex; align-items: center; gap: 16px; text-decoration: none; }
.upb-ccr-card-photo { flex-shrink: 0; width: 104px; height: 104px; padding: 8px; border-radius: 20px; background: var(--ccr-tint, #fbe3e8); }
.upb-ccr-card-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; }
.upb-ccr .upb-ccr-card-copy h3 { margin: 0 0 8px; font-size: 19px; line-height: 1.28; }
.upb-ccr-card-link { font-size: 13px; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.upb-ccr-cta { margin-top: 12px; padding: 28px 24px 26px; background: #e7f3f7; border-radius: 24px; }
.upb-ccr .upb-ccr-cta h3 { margin: 0 0 10px; text-align: center; font-size: 24px; line-height: 1.2; }
.upb-ccr-cta p { margin: 0 0 20px; font-size: 15px; line-height: 1.6; }
.upb-ccr a.upb-ccr-cta-link, .upb-ccr a.upb-ccr-cta-link:visited, .upb-ccr a.upb-ccr-cta-link:hover {
    display: flex; align-items: center; justify-content: center; padding: 15px 24px; background: #704b3e; border-radius: 999px;
    font-size: 14px; font-weight: 600; line-height: 20px; color: #ffffff; text-decoration: none;
}

/* Article Récit — desktop (maquette 1440 px : grille 12 colonnes, gouttière 32 px, marges 120 px) */
@media (min-width: 1024px) {
    .upb-ccr-article { padding: 0 24px; }
    .upb-ccr-crumb { height: 28px; align-items: flex-end; gap: 10px; font-size: 14px; }

    .upb-ccr-hero { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; align-items: start; padding: 0; }
    .upb-ccr-hero-illu { grid-column: 1 / 5; grid-row: 1; align-self: stretch; padding: 56px 0 72px; display: flex; align-items: center; justify-content: center; }
    .upb-ccr-hero-illu img { width: 210px; margin: 0; }
    .upb-ccr-hero-copy { grid-column: 5 / 13; grid-row: 1; padding: 56px 0 72px; }
    .upb-ccr-eyebrow { justify-content: flex-start; gap: 10px; margin: 0 0 24px; font-size: 13px; }
    .upb-ccr h1.upb-ccr-title { text-align: left; font-size: 50px; line-height: 1.1; }
    .upb-ccr-chapo { max-width: 600px; margin: 28px 0 0; font-size: 20px; line-height: 1.65; }
    .upb-ccr-meta { margin-top: 36px; gap: 28px; font-size: 15px; line-height: 22px; }

    .upb-ccr-sec { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; align-items: start; }
    .upb-ccr-sec.is-after-text { margin-top: 96px; }
    .upb-ccr-sec.is-after-rc, .upb-ccr-rc.is-after-rc { margin-top: 120px; }
    .upb-ccr-rc.is-after-text { margin-top: 120px; }
    .upb-ccr-main { grid-column: 1 / 9; }
    .upb-ccr h2.upb-ccr-h2 { margin: 0 0 28px; text-align: left; font-size: 36px; line-height: 1.2; }
    .upb-ccr-sec--2col h2.upb-ccr-h2 { margin-bottom: 32px; }
    .upb-ccr-body { line-height: 1.7; }
    .upb-ccr-body p { margin: 0 0 22px; }
    .upb-ccr-body p:last-child { margin-bottom: 0; }
    .upb-ccr-sec--2col .upb-ccr-body { column-count: 2; column-gap: 32px; }
    .upb-ccr-sec--2col .upb-ccr-body p { margin-bottom: 20px; }
    .upb-ccr-sec--2col .upb-ccr-body p:last-child { margin-bottom: 0; }
    .upb-ccr .upb-ccr-body h3 { margin: 66px 0 16px; text-align: left; font-size: 28px; line-height: 1.25; }
    .upb-ccr-body h3::before { width: 28px; height: 28px; margin: 0 auto 16px; }

    .upb-ccr-margin { grid-column: 9 / 13; justify-self: center; width: 316px; }
    .upb-ccr-margin--encart { margin-top: 64px; align-self: center; gap: 28px; }
    .upb-ccr-encart { padding: 34px 30px 36px; border-radius: 28px; }
    .upb-ccr .upb-ccr-encart-title { gap: 10px; margin: 0 0 14px; font-size: 24px; }
    .upb-ccr-encart-text { line-height: 1.65; }
    .upb-ccr-encart-text p { margin: 0 0 10px; }
    .upb-ccr-margin--visuel { margin: 71px 0 0; padding: 0; flex-direction: column; gap: 28px; overflow: visible; }
    .upb-ccr-visuel { flex: none; width: 100%; }
    .upb-ccr-frame { padding: 16px; border-radius: 24px; }
    .upb-ccr-photo img { border-radius: 14px; }
    .upb-ccr-caption { margin-top: 12px; font-size: 15px; }

    .upb-ccr-rc { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; align-items: center; padding: 96px 0; }
    .upb-ccr-rc-photo { grid-column: 1 / 7; }
    .upb-ccr-rc-frame { padding: 20px; border-radius: 28px; }
    .upb-ccr-rc-frame img { border-radius: 18px; }
    .upb-ccr-rc-caps { margin-top: 16px; }
    .upb-ccr-rc-cap1 { font-size: 17px; }
    .upb-ccr-rc-cap2 { font-size: 15px; }
    .upb-ccr .upb-ccr-rc-quote { grid-column: 9 / 13; margin: 0; text-align: left; }
    .upb-ccr-rc-quote p { margin: 0 0 28px; font-size: 36px; line-height: 1.28; letter-spacing: -.005em; }
    .upb-ccr-sep .upb-ccr-heart { top: 45px; width: 30px; height: 30px; }

    .upb-ccr-end { margin-top: 112px; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; }
    .upb-ccr-end-inner { grid-column: 2 / 12; padding-top: 36px; flex-direction: row; justify-content: space-between; gap: 24px; }
    .upb-ccr a.upb-ccr-back { width: auto; padding: 14px 26px; }
    .upb-ccr-share { flex-direction: row; gap: 12px; }
    .upb-ccr-share-label { margin-right: 8px; font-size: 15px; }

    .upb-ccr-promo { margin-top: 72px; padding: 64px 72px; background: #ffffff; border-radius: 36px; flex-direction: row; align-items: center; justify-content: space-between; }
    .upb-ccr-promo-copy { display: block; width: 460px; }
    .upb-ccr-promo .upb-ccr-eyebrow { margin: 0 0 20px; }
    .upb-ccr h2.upb-ccr-promo-title { margin: 0 0 20px; text-align: left; font-size: 38px; line-height: 1.18; }
    .upb-ccr-promo-text { margin: 0 0 32px; line-height: 1.65; }
    .upb-ccr a.upb-ccr-promo-link, .upb-ccr a.upb-ccr-promo-link:visited, .upb-ccr a.upb-ccr-promo-link:hover { order: 0; width: auto; margin-top: 0; padding: 16px 30px; }
    .upb-ccr-polaroids { order: 0; margin: 0; padding: 0; justify-content: flex-start; }
    .upb-ccr-polaroid { width: 196px; padding: 10px 10px 16px; margin: 28px 0 0; box-shadow: 0 10px 22px rgba(112,75,62,.14); }
    .upb-ccr-polaroid img { height: 196px; }
    .upb-ccr-polaroid:nth-child(2) { margin: 0 0 0 -22px; }
    .upb-ccr-polaroid:nth-child(3) { margin: 48px 0 0 -22px; }

    .upb-ccr-related { margin-top: 144px; padding: 112px 0 96px; }
    .upb-ccr h2.upb-ccr-related-title { margin: 0; text-align: left; font-size: 40px; line-height: 1.15; }
    .upb-ccr-related-grid { margin-top: 56px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 32px; align-items: stretch; }
    .upb-ccr-card a { display: block; }
    .upb-ccr-card-photo { width: 100%; height: auto; aspect-ratio: 4 / 3; padding: 14px; border-radius: 24px; }
    .upb-ccr-card-photo img { border-radius: 14px; }
    .upb-ccr .upb-ccr-card-copy h3 { margin: 24px 0 14px; font-size: 23px; line-height: 1.28; }
    .upb-ccr-card-link { font-size: 14px; text-underline-offset: 5px; }
    .upb-ccr-cta { margin-top: 0; padding: 36px 32px 32px; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; }
    .upb-ccr .upb-ccr-cta h3 { margin: 0 0 14px; text-align: left; font-size: 27px; }
    .upb-ccr-cta p { margin: 0; line-height: 1.6; }
    .upb-ccr a.upb-ccr-cta-link, .upb-ccr a.upb-ccr-cta-link:visited, .upb-ccr a.upb-ccr-cta-link:hover { align-self: flex-start; display: inline-flex; padding: 14px 24px; }
}

/* =========================================================
   ARTICLE NOUVEAUTÉ — reproduction des maquettes validées
   (desktop 1440 px / mobile 390 px). Tout est scopé sous .upb-ccn
   (main.upb-ccr.upb-ccn) ; la fin d'article réutilise les classes
   upb-ccr-* de Récit sans les modifier. Mobile d'abord ; desktop
   à partir de 1024 px.
   ========================================================= */
.upb-ccn .upb-ccn-hero { display: flex; flex-direction: column; padding: 8px 0 0; }
.upb-ccn h1.upb-ccn-title { text-align: center; font-size: 30px; line-height: 1.15; letter-spacing: -.01em; }
.upb-ccn .upb-ccn-chapo { margin: 20px 0 0; font-size: 17px; line-height: 1.6; }
.upb-ccn .upb-ccr-meta { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; font-size: 14px; line-height: 20px; color: #777777; }
.upb-ccn .upb-ccn-opening { margin-top: 28px; }
.upb-ccn .upb-ccn-opening .upb-ccn-frame { aspect-ratio: 8 / 5; }

.upb-ccn .upb-ccn-frame { padding: 12px; border-radius: 22px; background: var(--ccr-tint, #e7f3f7); }
.upb-ccn .upb-ccn-frame img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; }
.upb-ccn .upb-ccn-fig--portrait .upb-ccn-frame { aspect-ratio: 4 / 5; }
.upb-ccn .upb-ccn-fig--large .upb-ccn-frame { aspect-ratio: 3 / 2; }
.upb-ccn .upb-ccn-fig--duo .upb-ccn-frame { aspect-ratio: 1 / 1; }
.upb-ccn .upb-ccn-caption { margin: 12px 0 0; text-align: center; font-family: "Playfair Display", serif; font-style: italic; font-weight: 500; font-size: 15px; line-height: 1.45; }

.upb-ccn .upb-ccn-sec { margin-top: 48px; }
.upb-ccn .upb-ccn-sec--large.is-after-large, .upb-ccn .upb-ccn-sec--large.is-after-duo,
.upb-ccn .upb-ccn-sec--duo.is-after-large, .upb-ccn .upb-ccn-sec--duo.is-after-duo { margin-top: 32px; }
.upb-ccn .upb-ccn-sec--duo { display: flex; flex-direction: column; gap: 32px; }
.upb-ccn h2.upb-ccn-h2 { margin: 0 0 20px; text-align: center; font-size: 27px; line-height: 1.2; }
.upb-ccn .upb-ccn-fig--portrait { max-width: 280px; margin: 0 auto 28px; }
.upb-ccn .upb-ccn-body { font-size: 16px; line-height: 1.65; }
.upb-ccn .upb-ccn-body p { margin: 0 0 18px; }
.upb-ccn .upb-ccn-body p:last-child { margin-bottom: 0; }
.upb-ccn .upb-ccn-body a { text-decoration: underline; }
.upb-ccn .upb-ccn-body strong { font-weight: 600; }

@media (min-width: 1024px) {
    .upb-ccn .upb-ccn-hero { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; align-items: start; padding: 56px 0 0; }
    .upb-ccn .upb-ccn-hero-copy { grid-column: 1 / 9; }
    .upb-ccn h1.upb-ccn-title { text-align: left; font-size: 52px; line-height: 1.1; }
    .upb-ccn .upb-ccn-chapo { margin: 28px 0 0; font-size: 20px; line-height: 1.65; }
    .upb-ccn .upb-ccr-meta { margin-top: 36px; gap: 28px; font-size: 15px; line-height: 22px; }
    .upb-ccn .upb-ccn-opening { grid-column: 9 / 13; align-self: center; margin-top: 0; width: 100%; }
    .upb-ccn .upb-ccn-frame { padding: 16px; border-radius: 24px; }
    .upb-ccn .upb-ccn-frame img { border-radius: 14px; }
    .upb-ccn .upb-ccn-caption { margin-top: 14px; font-size: 17px; line-height: 1.4; }
    .upb-ccn .upb-ccn-fig--large .upb-ccn-caption { margin-top: 16px; }

    .upb-ccn .upb-ccn-sec { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; align-items: start; margin-top: 88px; }
    .upb-ccn .upb-ccn-hero + .upb-ccn-sec { margin-top: 72px; }
    .upb-ccn .upb-ccn-sec--large.is-after-large, .upb-ccn .upb-ccn-sec--large.is-after-duo,
    .upb-ccn .upb-ccn-sec--duo.is-after-large, .upb-ccn .upb-ccn-sec--duo.is-after-duo { margin-top: 88px; }
    .upb-ccn .upb-ccn-sec--texte .upb-ccn-fig--portrait { grid-column: 1 / 5; grid-row: 1 / span 2; max-width: none; margin: 0; }
    .upb-ccn h2.upb-ccn-h2 { grid-column: 5 / 13; grid-row: 1; margin: 0 0 32px; text-align: left; font-size: 36px; line-height: 1.2; }
    .upb-ccn .upb-ccn-body { grid-column: 5 / 13; grid-row: 2; column-count: 2; column-gap: 32px; font-size: 20px; line-height: 1.65; }
    .upb-ccn .upb-ccn-body p { margin: 0 0 20px; break-inside: avoid-column; }
    .upb-ccn .upb-ccn-body p:last-child { margin-bottom: 0; }
    .upb-ccn .upb-ccn-sec--large .upb-ccn-fig { grid-column: 2 / 12; }
    .upb-ccn .upb-ccn-sec--duo { flex-direction: unset; gap: 0; column-gap: 32px; }
    .upb-ccn .upb-ccn-sec--duo .upb-ccn-fig:nth-child(1) { grid-column: 2 / 7; }
    .upb-ccn .upb-ccn-sec--duo .upb-ccn-fig:nth-child(2) { grid-column: 7 / 12; }

    /* « Sur le même thème » : maquette à 2 articles = 3 colonnes. */
    .upb-ccn .upb-ccn-rel { padding: 96px 0; }
    .upb-ccn .upb-ccn-rel--n0 .upb-ccr-related-grid, .upb-ccn .upb-ccn-rel--n1 .upb-ccr-related-grid, .upb-ccn .upb-ccn-rel--n2 .upb-ccr-related-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .upb-ccn .upb-ccn-rel--n0 .upb-ccr-card-copy h3, .upb-ccn .upb-ccn-rel--n1 .upb-ccr-card-copy h3, .upb-ccn .upb-ccn-rel--n2 .upb-ccr-card-copy h3 { font-size: 26px; line-height: 1.25; }
    .upb-ccn .upb-ccn-rel--n0 .upb-ccr-cta, .upb-ccn .upb-ccn-rel--n1 .upb-ccr-cta, .upb-ccn .upb-ccn-rel--n2 .upb-ccr-cta { padding: 40px 36px 36px; }
    .upb-ccn .upb-ccn-rel--n0 .upb-ccr-cta h3, .upb-ccn .upb-ccn-rel--n1 .upb-ccr-cta h3, .upb-ccn .upb-ccn-rel--n2 .upb-ccr-cta h3 { font-size: 30px; }
    .upb-ccn .upb-ccn-rel--n0 .upb-ccr-cta p, .upb-ccn .upb-ccn-rel--n1 .upb-ccr-cta p, .upb-ccn .upb-ccn-rel--n2 .upb-ccr-cta p { font-size: 17px; }
}

/* =========================================================
   UPB — PÂTISSERIE V3 — INTÉGRATION MAQUETTE « COOKIE v2 » (02-10-2026)
   Couche finale, limitée à .upb-pat-page (pages individuelles des termes
   Pâtisserie). Desktop = maquette 1190 px ; mobile = maquette 381 px.
   Palette officielle UPB uniquement ; Playfair Display + Inter.
   Les !important ci-dessous sont locaux et servent uniquement à passer
   devant les anciens !important de la composition « coups de cœur ».
   ========================================================= */
.upb-pat-page{font-family:"Inter",system-ui,-apple-system,"Segoe UI",sans-serif}
.upb-pat-page [hidden]{display:none}
.upb-pat-page .upb-pat-page-one{max-width:1190px}

/* ---- Haut de page : fond blanc, titre, Brioche ---- */
.upb-pat-page .upb-patisserie-intro{padding:49px 24px 43px;background:#ffffff}
.upb-pat-page .upb-patisserie-intro-inner{max-width:none}
.upb-pat-page .upb-patisserie-eyebrow{margin:0 0 26px;font-size:13px;font-weight:400;letter-spacing:4px;line-height:1;color:#9a8d86}
.upb-pat-page .upb-patisserie-title{font-size:clamp(64px,8.74vw,104px);line-height:1.1}
.upb-pat-page .upb-patisserie-heart{margin:5px 0 0;font-size:23px;line-height:1.2;color:#d98fa0}
.upb-pat-page .upb-patisserie-introduction{max-width:624px;margin:26px auto 0;font-size:21px;line-height:30px;color:#777777}
.upb-pat-page .upb-pat-intro-image{margin:34px auto 20px}
.upb-pat-page .upb-pat-intro-image img{width:156px;max-width:100%;height:auto}

/* ---- Hero ---- */
.upb-pat-page .upb-pat-opening{padding:0 21px 150px}
.upb-pat-page .upb-pat-opening-card{max-width:920px;margin:0 auto}
.upb-pat-page .upb-pat-opening-card .upb-pat-card-photo{aspect-ratio:2/3}
.upb-pat-page .upb-pat-opening-card .upb-pat-card-photo img{width:100%;height:100%;object-fit:cover}
.upb-pat-page .upb-pat-opening-card .upb-pat-card-copy{padding:12px 0 0 29px;background:transparent}
.upb-pat-page .upb-pat-opening-card .upb-pat-card-copy h2{margin:0;font-size:36px;line-height:1.2}
.upb-pat-page .upb-pat-opening-card .upb-pat-card-copy span{margin-top:8px;font-size:21px;line-height:1.35;color:#777777}
.upb-pat-page .upb-pat-page-one .upb-pat-opening-card .upb-pat-card-copy .upb-pat-discover{display:flex;align-items:center;justify-content:center;width:140px;height:49px;margin:20px 0 0;padding:0;border:1px solid #704b3e;border-radius:5px;font-size:19.5px;font-weight:400;line-height:1}

/* ---- Libellés de section ---- */
.upb-pat-page .upb-pat-section-head p{margin:0 0 3px;font-size:19.5px;font-weight:400;letter-spacing:4px;line-height:1;color:#9a8d86}
.upb-pat-page .upb-pat-section-head h2{font-size:36px;line-height:1.1}

/* ---- Cartes ---- */
.upb-pat-page .upb-pat-card-copy h2{font-size:26px;line-height:1.1}
.upb-pat-page .upb-pat-card-copy span{margin-top:4px;font-size:18px;color:#777777}
.upb-pat-page .upb-pat-card-copy span:not(.upb-pat-discover){text-transform:lowercase}
.upb-pat-page .upb-pat-card-copy span:not(.upb-pat-discover)::first-letter{text-transform:uppercase}
.upb-pat-page .upb-pat-new{background:#fbe3e8;color:#704b3e}

/* ---- Nos coups de cœur ---- */
.upb-pat-page .upb-pat-favorites{padding:62px 0 53px}
.upb-pat-page .upb-pat-favorites .upb-pat-section-head{padding:0 65px 26px}
.upb-pat-page .upb-pat-favorites .upb-pat-favorites-grid{display:grid;grid-template-columns:repeat(2,minmax(0,520px));gap:21px;padding:0 65px}
.upb-pat-page .upb-pat-favorites .upb-pat-favorites-grid:has(> :nth-child(3)){grid-template-columns:repeat(3,minmax(0,1fr))}
.upb-pat-page .upb-pat-favorites .upb-pat-card-photo{aspect-ratio:3/4}
.upb-pat-page .upb-pat-favorites .upb-pat-card-copy{padding:16px 0 0}
.upb-pat-page .upb-pat-favorites .upb-pat-card-copy span{font-variant:normal;letter-spacing:0}

/* ---- Visueltexte 1 / 2 : image déjà composée, fond au choix ---- */
.upb-pat-page .upb-pat-vt{display:flex;align-items:center;justify-content:center;padding:24px;margin:44px 21px 0}
.upb-pat-page .upb-pat-vt img{display:block;width:auto;max-width:100%;height:auto}
.upb-pat-page .upb-pat-vt--white{background:#FFFFFF}
.upb-pat-page .upb-pat-vt--beige{background:#FBF6EE}
.upb-pat-page .upb-pat-vt--rose{background:#F9F0F1}
.upb-pat-page .upb-pat-vt--blue{background:#E7F3F7}
.upb-pat-page .upb-pat-surprise + .upb-pat-vt{margin-top:62px}

/* ---- Encore plus d’inspiration ---- */
.upb-pat-page .upb-pat-inspiration{margin:81px 21px 0;padding:0 0 31px}
.upb-pat-page .upb-pat-inspiration .upb-pat-section-head{padding:0 23px 26px}
.upb-pat-page .upb-pat-inspiration .upb-pat-section-head p{margin:0;font-size:31px;letter-spacing:5px}
.upb-pat-page .upb-pat-inspiration .upb-pat-section-head h2{margin:3px 0 0;font-size:39px}
.upb-pat-page .upb-pat-inspiration .upb-pat-kinfolk{gap:18px;padding:0}
.upb-pat-page .upb-pat-inspiration .upb-pat-kinfolk .upb-pat-kinfolk-slide{flex:0 0 418px;width:418px}
.upb-pat-page .upb-pat-inspiration .upb-pat-kinfolk .upb-pat-kinfolk-slide:nth-child(3n){flex-basis:276px;width:276px}
.upb-pat-page .upb-pat-inspiration .upb-pat-kinfolk-slide .upb-pat-card-photo img{width:100%;height:525px;aspect-ratio:auto;object-fit:cover}
.upb-pat-page .upb-pat-inspiration .upb-pat-kinfolk-slide .upb-pat-card-copy{padding:3px 0 0}
.upb-pat-page .upb-pat-inspiration .upb-pat-kinfolk-slide .upb-pat-card-copy h2{font-size:26px}
.upb-pat-page .upb-pat-inspiration .upb-pat-kinfolk-slide .upb-pat-card-copy span{font-size:18px}

/* ---- Bulle Gourmande ---- */
.upb-pat-page .upb-pat-bg{margin:0;padding:21px 21px 0}
.upb-pat-page .upb-pat-bg-inner{grid-template-columns:634px minmax(0,1fr);column-gap:47px;align-items:center;min-height:416px;box-sizing:border-box;padding:52px 23px 70px}
.upb-pat-page .upb-pat-bg-image img{width:100%;height:294px;max-height:none;object-fit:cover}
.upb-pat-page .upb-pat-bg-copy{padding:0}
.upb-pat-page .upb-pat-bg-copy > p{margin:0 0 14px;font-size:17px;letter-spacing:3.4px;color:#9a8d86}
.upb-pat-page .upb-pat-bg-copy h2{max-width:338px;font-size:44px;line-height:49px;letter-spacing:0}
.upb-pat-page .upb-pat-bg-copy a{margin-top:34px;padding-bottom:8px;font-size:19.5px}
.upb-pat-page .upb-pat-bg-copy .upb-pat-bg-note{display:block;margin-top:14px;color:#9a8d86;font-size:13px;font-weight:400;line-height:1.45;letter-spacing:0;text-transform:none}

/* ---- Envie d’une autre douceur ---- */
.upb-pat-page .upb-pat-surprise{box-sizing:border-box;min-height:325px;margin:0 21px;padding:44px 24px 0;background:#FBF6EE}
.upb-pat-page .upb-pat-surprise::before{margin:0 auto;font-size:21px;color:#d98fa0}
.upb-pat-page .upb-pat-surprise p{max-width:286px;margin:16px auto 0;font-size:31px;line-height:34px}
.upb-pat-page .upb-pat-surprise a{width:192px;height:52px;min-height:0;margin-top:36px;padding:0;border-radius:5px;font-size:19.5px;font-weight:400}

/* ---- Grille « Toutes les créations » : respirations à hauteur de maquette ---- */
.upb-pat-page .upb-pat-respiration-catalog{display:flex;align-items:center;justify-content:center;box-sizing:border-box;padding:24px;overflow:visible}
.upb-pat-page .upb-pat-respiration-catalog img{display:block;width:auto;max-width:100%;height:auto;min-height:0;object-fit:contain}

/* ---- Charger plus ---- */
.upb-pat-page .upb-pat-more{display:flex;align-items:center;justify-content:center;max-width:1190px;min-height:143px;margin:0 auto}
.upb-pat-page .upb-pat-more-btn{display:inline-flex;align-items:center;height:49px;padding:0 42px;border:0;border-radius:26px;background:#704b3e;color:#ffffff;font-size:19.5px;line-height:1;text-decoration:none;cursor:pointer}
.upb-pat-page .upb-pat-more-btn:hover,.upb-pat-page .upb-pat-more-btn:focus{background:#704b3e;color:#ffffff;opacity:.9}
.upb-pat-page .upb-pat-more-btn[aria-busy="true"]{opacity:.6;cursor:progress}

/* ================= MOBILE — maquette 381 px ================= */
@media (max-width:768px){
  .upb-pat-page .upb-patisserie-intro{padding:42px 20px 39px}
  .upb-pat-page .upb-patisserie-eyebrow{margin-bottom:17px;font-size:10px;letter-spacing:3px}
  .upb-pat-page .upb-patisserie-title{font-size:69px;line-height:1}
  .upb-pat-page .upb-patisserie-heart{margin-top:14px;font-size:16px}
  .upb-pat-page .upb-patisserie-introduction{max-width:329px;margin-top:21px;font-size:13.6px;line-height:21.5px}
  .upb-pat-page .upb-pat-intro-image{margin:0 auto 31px}
  .upb-pat-page .upb-pat-intro-image img{width:100px}

  .upb-pat-page .upb-pat-opening{padding:0 28px 29px}
  .upb-pat-page .upb-pat-opening-card .upb-pat-card-photo{aspect-ratio:324/484}
  .upb-pat-page .upb-pat-opening-card .upb-pat-card-copy{padding:21px 0 0 21px}
  .upb-pat-page .upb-pat-opening-card .upb-pat-card-copy h2{font-size:24px}
  .upb-pat-page .upb-pat-opening-card .upb-pat-card-copy span{margin-top:6px;font-size:13px}
  .upb-pat-page .upb-pat-page-one .upb-pat-opening-card .upb-pat-card-copy .upb-pat-discover{width:122px;height:43px;margin-top:21px;border-radius:3px;font-size:14.3px}

  .upb-pat-page .upb-pat-section-head p{font-size:13.6px;letter-spacing:3px}
  .upb-pat-page .upb-pat-section-head h2{font-size:31.5px}
  .upb-pat-page .upb-pat-card-copy h2{font-size:14.3px}
  .upb-pat-page .upb-pat-card-copy span{margin-top:4px;font-size:12.9px}
  .upb-pat-page .upb-pat-new{top:11px;left:10px;display:flex;align-items:center;height:21px;padding:0 12px;border-radius:11px;font-size:9.4px;white-space:nowrap}

  .upb-pat-page .upb-pat-favorites{padding:41px 0 0}
  .upb-pat-page .upb-pat-favorites .upb-pat-section-head{padding:0 20px 20px}
  .upb-pat-page .upb-pat-favorites .upb-pat-favorites-grid,
  .upb-pat-page .upb-pat-favorites .upb-pat-favorites-grid:has(> :nth-child(3)){display:flex;gap:14px;padding:0 20px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-padding-left:20px;-webkit-overflow-scrolling:touch;scrollbar-width:none}
  .upb-pat-page .upb-pat-favorites .upb-pat-favorites-grid::-webkit-scrollbar{display:none}
  .upb-pat-page .upb-pat-favorites .upb-pat-favorites-grid > .upb-pat-card-front{flex:0 0 76% !important;width:76% !important;max-width:none !important;scroll-snap-align:start}
  .upb-pat-page .upb-pat-favorites .upb-pat-card-photo{aspect-ratio:243/318}
  .upb-pat-page .upb-pat-favorites .upb-pat-card-copy{padding-top:14px}
  .upb-pat-page .upb-pat-favorites .upb-pat-card-copy span{letter-spacing:0}

  .upb-pat-page .upb-pat-vt{padding:16px;margin:43px 0 0}
  .upb-pat-page .upb-pat-surprise + .upb-pat-vt{margin-top:34px}

  .upb-pat-page .upb-pat-inspiration{margin:57px 0 0;padding:0}
  .upb-pat-page .upb-pat-inspiration .upb-pat-section-head{padding:0 20px 39px 40px}
  .upb-pat-page .upb-pat-inspiration .upb-pat-kinfolk{gap:11px;padding:0 20px;scroll-padding-left:20px}
  .upb-pat-page .upb-pat-inspiration .upb-pat-kinfolk .upb-pat-kinfolk-slide,
  .upb-pat-page .upb-pat-inspiration .upb-pat-kinfolk .upb-pat-kinfolk-slide:nth-child(3n){flex:0 0 45%;width:45%}
  .upb-pat-page .upb-pat-inspiration .upb-pat-kinfolk-slide .upb-pat-card-photo img{height:auto;aspect-ratio:155/206}
  .upb-pat-page .upb-pat-inspiration .upb-pat-kinfolk-slide .upb-pat-card-copy{padding-top:11px}
  .upb-pat-page .upb-pat-inspiration .upb-pat-kinfolk-slide .upb-pat-card-copy h2{font-size:14.3px}
  .upb-pat-page .upb-pat-inspiration .upb-pat-kinfolk-slide .upb-pat-card-copy span{margin-top:4px;font-size:10px}
  .upb-pat-page .upb-pat-catalog-card .upb-pat-card-copy span{font-size:10px}

  .upb-pat-page .upb-pat-bg{padding:40px 28px 0}
  .upb-pat-page .upb-pat-bg-inner{grid-template-columns:1fr;min-height:0;padding:0}
  .upb-pat-page .upb-pat-bg-image img{height:auto;aspect-ratio:324/79}
  .upb-pat-page .upb-pat-bg-copy{padding:60px 12px 0}
  .upb-pat-page .upb-pat-bg-copy > p{margin-bottom:14px;font-size:13.6px;letter-spacing:3px}
  .upb-pat-page .upb-pat-bg-copy h2{max-width:300px;font-size:43px;line-height:41.5px}
  .upb-pat-page .upb-pat-bg-copy a{margin-top:34px;padding-bottom:7px;font-size:14.3px}
  .upb-pat-page .upb-pat-bg-copy .upb-pat-bg-note{margin-top:12px;margin-bottom:24px;font-size:12px}

  .upb-pat-page .upb-pat-surprise{min-height:238px;margin:33px 0 0;padding:23px 20px 0}
  .upb-pat-page .upb-pat-surprise::before{font-size:21.5px}
  .upb-pat-page .upb-pat-surprise p{max-width:215px;margin-top:11px;font-size:30px;line-height:33px}
  .upb-pat-page .upb-pat-surprise a{width:162px;height:46px;margin-top:20px;border-radius:3px;font-size:14.3px}

  .upb-pat-page .upb-pat-respiration-catalog{padding:16px}
  .upb-pat-page .upb-pat-more{min-height:0;margin-top:51px;padding-bottom:20px}
  .upb-pat-page .upb-pat-more-btn{height:37px;padding:0 26px;border-radius:19px;font-size:13px}
}
