/*
Theme Name: Contes & Couleurs
Author: Contes & Couleurs
Description: Thème léger et responsive pour la boutique de Christelle D’OLIVEIRA, compatible WooCommerce.
Version: 0.3.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: contes-couleurs
*/
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=DM+Sans:wght@400;500;600;700&display=swap');

:root {
    --font-title: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'DM Sans', Arial, sans-serif;
}
:root{--sage:#657b68;--sage-dark:#405847;--cream:#faf8f2;--pink:#e9d1ce;--ink:#29372e;--line:#e5e6dc}*{box-sizing:border-box}body{margin:0;background:var(--cream);color:var(--ink);font:16px/1.65 system-ui,-apple-system,Segoe UI,sans-serif}a{color:var(--sage-dark)}a:hover{text-decoration:none}.container{width:min(1140px,calc(100% - 40px));margin:auto}.site-header{background:#fff;border-bottom:1px solid var(--line)}.header-inner{display:flex;align-items:center;justify-content:space-between;gap:22px;padding:20px 0;flex-wrap:wrap}.brand{text-decoration:none;color:var(--sage-dark);font-family:Georgia,serif;font-size:29px;line-height:1.15}.brand small{display:block;font:12px/1.6 system-ui,sans-serif;letter-spacing:.06em;color:#666}.main-nav ul{display:flex;gap:17px;flex-wrap:wrap;list-style:none;margin:0;padding:0}.main-nav a{text-decoration:none;font-size:14px}.cart-link{white-space:nowrap}.hero{padding:75px 0;background:linear-gradient(115deg,#eef1e8,#faf8f2 65%,#f5e7e4)}.hero h1{font:clamp(36px,5vw,64px)/1.13 Georgia,serif;max-width:720px;margin:0 0 20px}.hero p{max-width:570px;font-size:19px}.button,.wp-block-button__link,button,input[type=submit],.woocommerce a.button,.woocommerce button.button,.woocommerce input.button{display:inline-block;background:var(--sage-dark)!important;color:white!important;border:0;border-radius:5px;padding:12px 23px;text-decoration:none;cursor:pointer}.button:hover,.wp-block-button__link:hover{background:#263c2d!important}.section{padding:55px 0}.section h2{font:34px Georgia,serif;margin:0 0 25px}.categories{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.category{padding:28px;background:white;border:1px solid var(--line);border-radius:10px;text-decoration:none}.category h3{font:25px Georgia,serif;margin:0 0 8px}.category p{margin:0;color:#5c625c}.content{min-height:55vh;padding:48px 0}.content h1{font:42px Georgia,serif}.woocommerce ul.products li.product{background:#fff;padding:14px;border-radius:9px}.woocommerce div.product p.stock{color:var(--sage-dark)}.woocommerce div.product p.stock.out-of-stock{color:#8a5555}.site-footer{background:#e9eee6;padding:35px 0;margin-top:35px}.footer-inner{display:flex;justify-content:space-between;gap:15px;flex-wrap:wrap}.muted{color:#606a61}img{max-width:100%;height:auto}input,textarea,select{max-width:100%}@media(max-width:750px){.header-inner{align-items:flex-start;flex-direction:column}.main-nav ul{gap:10px 16px}.hero{padding:55px 0}.categories{grid-template-columns:1fr}.content h1{font-size:34px}.section{padding:40px 0}}

/* Améliorations accessibilité, panier et petit écran */
:focus-visible{outline:3px solid #ba6d78;outline-offset:3px}
.main-nav a:hover,.main-nav a:focus-visible{text-decoration:underline}
.woocommerce ul.products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.woocommerce ul.products::before,.woocommerce ul.products::after{display:none}
.woocommerce ul.products li.product{float:none!important;width:auto!important;margin:0!important}
.woocommerce ul.products li.product img{aspect-ratio:3/4;object-fit:contain;background:#faf8f2}
.woocommerce .quantity .qty{width:4.5em}
.woocommerce table.shop_table{background:white}
.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea{padding:10px;border:1px solid #adb7ad;border-radius:4px}
@media(max-width:900px){.woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:500px){.woocommerce ul.products{grid-template-columns:1fr}.brand{font-size:25px}.container{width:min(1140px,calc(100% - 28px))}}

/* Galerie des véritables couvertures : présentation, sans faux prix ni faux stock */
.featured-covers{background:#f1f2ea}.section-heading p{margin-top:-14px;color:#58645a}.cover-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px}.cover-card{background:white;padding:17px;border:1px solid var(--line);border-radius:12px;text-align:center}.cover-image{height:290px;display:flex;align-items:center;justify-content:center;background:#fbfaf7;border-radius:7px;overflow:hidden}.cover-image img{height:100%;width:100%;object-fit:contain}.cover-card h3{font:22px/1.3 Georgia,serif;margin:16px 0 5px}.cover-card p{margin:0;color:#687268;font-size:14px}.cover-note{font-size:13px;color:#626b63;margin-top:18px}@media(max-width:900px){.cover-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:500px){.cover-grid{gap:12px}.cover-card{padding:10px}.cover-image{height:205px}.cover-card h3{font-size:17px}}

/* Espacement entre la grande couverture et les miniatures */
.woocommerce div.product .woocommerce-product-gallery .flex-control-nav.flex-control-thumbs {
    margin-top: 20px !important;
    padding-top: 0;
}

/* Titres de la boutique */
.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 25px;
}

/* Menu */
.main-nav a {
    font-size: 14px;
    font-weight: 500;
}

/* Boutons */
.button,
.wp-block-button__link,
.woocommerce a.button,
.woocommerce button.button {
    font-family: var(--font-body);
    font-weight: 600;
    letter-spacing: 0.01em;
}

/* Nouvelle typographie Contes & Couleurs */

/* Textes */
body,
button,
input,
textarea,
select {
    font-family: var(--font-body);
}

/* Titres */
h1, h2, h3, h4,
.brand,
.hero h1,
.section h2,
.category h3,
.content h1,
.cover-card h3,
.woocommerce div.product .product_title,
.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-family: var(--font-title);
    font-weight: 600;
    line-height: 1.15;
}

/* Titres des pages */
.content h1 {
    font-size: clamp(38px, 5vw, 52px);
}

/* Sous-titres */
.content h2 {
    font-size: clamp(29px, 4vw, 38px);
}

/* Paragraphes */
.content p {
    line-height: 1.8;
}

/* Contes & Couleurs — Bandeau Coffrets cadeaux */

.cc-coffrets-intro {
    background: #f7e9e8;
    padding: 45px 55px;
    border-radius: 12px;
    text-align: center;
    margin: 25px auto 45px;
}

.cc-coffrets-intro h2 {
    font-family: var(--font-title);
    font-size: clamp(30px, 4vw, 42px);
    font-weight: 600;
    line-height: 1.2;
    color: #405847;
    margin: 0 auto 22px;
    max-width: 680px;
}

.cc-coffrets-intro p {
    max-width: 620px;
    margin: 0 auto 18px;
    line-height: 1.7;
    color: #574e4c;
}

.cc-coffrets-intro p:last-child {
    margin-bottom: 0;
    font-style: italic;
    color: #806e6a;
}

@media (max-width: 600px) {
    .cc-coffrets-intro {
        padding: 30px 20px;
    }
}

/* Contes & Couleurs — Présentation À propos */

.cc-a-propos-intro {
    background: #faf8f2;
    padding: 50px 60px;
    border-radius: 12px;
    text-align: center;
    max-width: 900px;
    margin: 25px auto 50px;
}

.cc-a-propos-intro h2 {
    font-family: var(--font-title);
    font-size: clamp(32px, 4vw, 44px);
    font-weight: 600;
    line-height: 1.2;
    color: #405847;
    margin: 0 auto 28px;
}

.cc-a-propos-intro p {
    max-width: 650px;
    margin: 0 auto 20px;
    line-height: 1.8;
    color: #405047;
}

.cc-a-propos-intro p:last-child {
    margin-bottom: 0;
}

@media (max-width: 600px) {
    .cc-a-propos-intro {
        padding: 30px 22px;
    }
}

/* Accueil — Derrière Contes & Couleurs */

.cc-home-about {
    background: #faf8f2;
    text-align: center;
    padding: 65px 20px;
}

.cc-home-about h2 {
    font-family: var(--font-title);
    font-size: 34px;
    font-weight: 600;
    color: #405847;
    margin: 0 auto 25px;
}

.cc-home-about p {
    max-width: 620px;
    margin: 0 auto 20px;
    line-height: 1.8;
    color: #405047;
}

.cc-home-about .button {
    display: inline-block;
    margin-top: 12px;
}

@media (max-width: 600px) {
    .cc-home-about {
        padding: 45px 20px;
    }
}

/* Accueil — Centrer les deux catégories */

.categories {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 600px) {
    .categories {
        grid-template-columns: 1fr;
    }
}

/* Contes & Couleurs — Bouton formulaire de contact */

.wpforms-container button[type="submit"] {
    background: #405847 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 5px !important;
    padding: 13px 28px !important;
    font-family: var(--font-body) !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    cursor: pointer;
    transition: background 0.2s ease;
}

.wpforms-container button[type="submit"]:hover {
    background: #657b68 !important;
    color: #ffffff !important;
}

/* Contes & Couleurs — Champs du formulaire */

.wpforms-container .wpforms-field input,
.wpforms-container .wpforms-field textarea,
.wpforms-container .wpforms-field select {
    background-color: #ffffff !important;
    border: 1px solid #d8dfd6 !important;
    border-radius: 6px !important;
    font-family: var(--font-body) !important;
    font-size: 15px !important;
    color: #405047 !important;
}

.wpforms-container .wpforms-field input:focus,
.wpforms-container .wpforms-field textarea:focus,
.wpforms-container .wpforms-field select:focus {
    border-color: #657b68 !important;
    box-shadow: 0 0 0 2px rgba(101, 123, 104, 0.12) !important;
}

.wpforms-container .wpforms-field-label {
    font-family: var(--font-body) !important;
    color: #405847 !important;
    font-weight: 600 !important;
}

/* Contes & Couleurs — Largeur du formulaire Contact */

.wpforms-container {
    max-width: 650px;
    margin-left: 0 !important;
    margin-right: auto !important;
}

.wpforms-container .wpforms-field-container {
    width: 100%;
}

.wpforms-container .wpforms-field input:not([type="checkbox"]),
.wpforms-container .wpforms-field textarea,
.wpforms-container .wpforms-field select {
    max-width: 100%;
}

/* Contact — Agrandir les champs Prénom et Nom */

.wpforms-container .wpforms-field-name .wpforms-field-row {
    max-width: 100% !important;
    width: 100% !important;
}

.wpforms-container .wpforms-field-name .wpforms-field-row-block {
    width: 50% !important;
    max-width: 50% !important;
    box-sizing: border-box;
}

.wpforms-container .wpforms-field-name input {
    width: 100% !important;
}

/* Fiches produits — Masquer uniquement l'UGS */

.single-product .product_meta .sku_wrapper {
    display: none !important;
}

/* Navigation des livres - Contes & Couleurs */

.cc-book-filters {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    margin: 20px 0 35px;
    width: 100%;
}

.cc-book-filter {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 10px 8px;
    background: #526B50;
    color: #ffffff;
    border-radius: 8px;
    text-decoration: none;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
    transition: background 0.2s ease;
}

.cc-book-filter:hover,
.cc-book-filter:focus {
    background: #A96F80;
    color: #ffffff;
}

/* Adaptation aux téléphones */

@media (max-width: 768px) {
    .cc-book-filters {
        flex-wrap: wrap;
    }

    .cc-book-filter {
        flex: 1 1 45%;
        font-size: 15px;
    }
}

/* Boutons catégories - Contes & Couleurs */

.cc-book-filters {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    margin: 24px 0 32px;
    width: 100%;
}

.cc-book-filter {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 10px 8px;
    background: #526B50;
    color: #ffffff;
    border-radius: 7px;
    text-decoration: none;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
    transition: background 0.2s ease;
}

.cc-book-filter:hover,
.cc-book-filter:focus,
.cc-book-filter.active {
    background: #F3D8DC;
    color: #344A3B;
}

@media (max-width: 768px) {
    .cc-book-filters {
        flex-wrap: wrap;
    }

    .cc-book-filter {
        flex: 1 1 45%;
        font-size: 15px;
    }
}
/* Titre de la boutique au-dessus des filtres */
.cc-shop-title {
    margin: 0 0 24px;
}

/* COFFRETS CADEAUX — BANDEAU AVEC VRAI BOUTON */

.cc-home-gifts {
    background: #fff;
    padding: 50px 0;
}

.cc-home-gifts .cc-home-gifts__panel {
    display: grid;
    grid-template-columns: 46% 54%;
    align-items: center;
    gap: 0;
    min-height: 280px;
    padding: 30px 42px;

    background-image: url('/wp-content/uploads/2026/11/fond_bandeau_cadeau.png') !important;
    background-size: 100% auto !important;
    background-position: center 18% !important;
    background-repeat: no-repeat !important;
    background-color: #FFF8F5 !important;

    border: none;
    border-radius: 12px;
    overflow: hidden;
}

.cc-home-gifts__copy {
    grid-column: 2;
    position: relative;
    z-index: 1;
    padding: 0 18px;
}

.cc-home-gifts .cc-home-gifts__copy h2 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(35px, 3.5vw, 45px);
    font-weight: 600;
    line-height: 1.1;
    color: #315443;
    margin: 0 0 13px;
}

.cc-home-gifts__copy p {
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: #405047;
    max-width: 400px;
    margin: 0 0 21px;
}

.cc-home-gifts .cc-home-gifts__copy .button {
    display: inline-block;
    background: #D98C84 !important;
    color: #FFFFFF !important;
    border-radius: 50px !important;
    padding: 12px 23px !important;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.cc-home-gifts .cc-home-gifts__copy .button:hover {
    background: #C97870 !important;
}

/* Version téléphone */
@media (max-width: 760px) {
    .cc-home-gifts .cc-home-gifts__panel {
        display: block;
        min-height: 0;
        padding: 190px 24px 30px;
        background-size: 600px auto !important;
        background-position: left -30px top !important;
    }

    .cc-home-gifts__copy {
        padding: 0;
    }

    .cc-home-gifts .cc-home-gifts__copy h2 {
        font-size: 36px;
    }
}

/* En-tête Le Secret Bavard */
.brand {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    font-size: 32px;
    line-height: 1.2;
    text-align: center;
    white-space: nowrap;
}

.brand small {
    display: block;
    font-size: 11px;
    letter-spacing: 0.01em;
    text-align: center;
    margin-top: 5px;
}

@media (max-width: 500px) {
    .brand {
        font-size: 27px;
    }
    .brand small {
        font-size: 10px;
    }
}
/* En-tête Le Secret Bavard */
.brand {
    display: inline-flex;
    font-size: 32px;
    line-height: 1.2;
    white-space: nowrap;
}

@media (max-width: 500px) {
    .brand {
        font-size: 27px;
    }
}

/* Titre principal de la page d'accueil */
.hero h1 {
    font-size: clamp(34px, 4vw, 54px);
    line-height: 1.18;
    max-width: 900px;
}
/* Prix des cartes produits */
.woocommerce ul.products li.product .price {
    font-size: 16px;
    font-weight: 600;
}
/* COFFRETS CADEAUX — ESPACE AVANT LE PIED DE PAGE */

.page-id-28 .woocommerce ul.products {
    margin-bottom: 35px !important;
}

/* MENU MOBILE — LE SECRET BAVARD */

.mobile-nav,
.cart-mobile {
    display: none;
}

@media (max-width: 860px) {

    .site-header .header-inner {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        flex-wrap: nowrap !important;
        gap: 10px;
        min-height: 64px;
        padding-top: 10px;
        padding-bottom: 10px;
        position: relative;
    }

    .site-header .brand {
        display: inline-flex;
        font-size: clamp(21px, 5.5vw, 27px);
        white-space: nowrap;
        flex-shrink: 1;
        line-height: 1.2;
    }

    .site-header .main-nav {
        display: none !important;
    }

    .site-header .cart-link {
        margin-left: auto !important;
        white-space: nowrap;
        flex-shrink: 0;
        text-decoration: none;
    }

    .site-header .cart-desktop {
        display: none;
    }

    .site-header .cart-mobile {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        color: #315443;
        font-size: 13px;
    }

    .site-header .cart-mobile svg {
        width: 24px;
        height: 24px;
    }

    .site-header .mobile-nav {
        display: block;
        flex-shrink: 0;
    }

    .site-header .mobile-nav summary {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 44px;
        cursor: pointer;
        color: #315443;
        list-style: none;
    }

    .site-header .mobile-nav summary::-webkit-details-marker {
        display: none;
    }

    .site-header .mobile-nav summary svg {
        width: 26px;
        height: 26px;
    }

    .site-header .mobile-nav-label {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
    }

    .site-header .mobile-nav-panel {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 1000;
        background: #fffaf6;
        border: 1px solid #eee6e0;
        border-radius: 0 0 12px 12px;
        box-shadow: 0 8px 16px rgba(0,0,0,.08);
        padding: 8px 0;
    }

    .site-header .mobile-nav-panel ul {
        display: flex;
        flex-direction: column;
        list-style: none;
        margin: 0;
        padding: 0;
        gap: 0;
    }

    .site-header .mobile-nav-panel li {
        display: block;
        margin: 0;
    }

    .site-header .mobile-nav-panel a {
        display: block;
        padding: 13px 20px;
        color: #315443;
        text-decoration: none;
        font-size: 15px;
    }

    .site-header .mobile-nav-panel a:hover,
    .site-header .mobile-nav-panel a:focus-visible {
        background: #f5e7e9;
    }
}

/* CORRECTION EN-TÊTE MOBILE COMPACT */

@media (max-width: 860px) {

    .site-header {
        padding: 0 !important;
    }

    .site-header .header-inner {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto auto !important;
        grid-template-areas: "brand cart menu";
        align-items: center !important;
        gap: 12px !important;
        min-height: 62px !important;
        padding: 8px 14px !important;
        position: relative;
    }

    .site-header .brand {
        grid-area: brand;
        display: block !important;
        width: auto !important;
        margin: 0 !important;
        font-size: clamp(20px, 5.2vw, 25px) !important;
        line-height: 1.2 !important;
        text-align: left !important;
        white-space: nowrap;
    }

    .site-header .main-nav {
        display: none !important;
    }

    .site-header .cart-link {
        grid-area: cart;
        display: flex !important;
        align-items: center;
        justify-self: end;
        margin: 0 !important;
        padding: 0 !important;
    }

    .site-header .cart-desktop {
        display: none !important;
    }

    .site-header .cart-mobile {
        display: inline-flex !important;
        align-items: center;
        gap: 4px;
    }

    .site-header .mobile-nav {
        grid-area: menu;
        display: block !important;
        justify-self: end;
        margin: 0 !important;
        padding: 0 !important;
    }

    .site-header .mobile-nav summary {
        margin: 0 !important;
        padding: 0 !important;
        width: 40px;
        height: 44px;
        display: flex !important;
        align-items: center;
        justify-content: center;
    }
}

/* FOOTER — AJUSTEMENT MOBILE */

@media (max-width: 750px) {
    .site-footer .footer-inner {
        padding-left: 12px;
        padding-right: 12px;
        gap: 18px;
    }
}

/* COFFRETS CADEAUX - ALIGNEMENT DES CARTES */

/* Titres sur une hauteur identique */
body.page-id-28 .wc-block-product-template .wp-block-post-title {
    min-height: 3.2em;
    text-align: left !important;
}

/* Prix alignés à gauche */
body.page-id-28 .wc-block-product-template
.wp-block-woocommerce-product-price,
body.page-id-28 .wc-block-product-template
.wc-block-components-product-price {
    width: 100%;
    text-align: left !important;
    margin-left: 0 !important;
}

/* Boutons alignés à gauche */
body.page-id-28 .wc-block-product-template
.wp-block-woocommerce-product-button,
body.page-id-28 .wc-block-product-template
.wp-block-button {
    width: 100%;
    text-align: left !important;
    justify-content: flex-start !important;
    margin-left: 0 !important;
}

body.page-id-28 .wc-block-product-template
.wp-block-button__link {
    margin-left: 0 !important;
    margin-right: auto !important;
}

/* COFFRETS CADEAUX - TITRES PLUS GRANDS */

body.page-id-28 .woocommerce-loop-product__title,
body.page-id-28 .wc-block-product-template .wp-block-post-title,
body.page-id-28 .wc-block-grid__product-title {
    font-size: 22px !important;
    line-height: 1.3 !important;
    text-align: left !important;
}

/* COFFRETS CADEAUX - PRIX PLUS VISIBLES */

body.page-id-28 .woocommerce ul.products li.product .price,
body.page-id-28 .wc-block-components-product-price,
body.page-id-28 .wc-block-grid__product-price {
    font-size: 19px !important;
    line-height: 1.4 !important;
    font-weight: 600 !important;
    text-align: left !important;
}

/* Adaptation mobile */

@media (max-width: 767px) {
    body.page-id-28 .woocommerce-loop-product__title,
    body.page-id-28 .wc-block-product-template .wp-block-post-title {
        font-size: 19px !important;
    }

    body.page-id-28 .woocommerce ul.products li.product .price,
    body.page-id-28 .wc-block-components-product-price {
        font-size: 18px !important;
    }
}

/* =========================================
   ACCUEIL — POURQUOI LE SECRET BAVARD ?
   ========================================= */

.cc-secret-story {
    padding: 55px 20px 70px;
    background: transparent;
}

.cc-secret-story-inner {
    max-width: 850px;
    margin: 0 auto;
    padding: 48px 65px;
    background: #FAF5EF;
    border-radius: 18px;
    text-align: center;
}

/* Petite introduction */
.cc-secret-story-eyebrow {
    margin: 0 0 14px;
    color: #8A746B;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Titre */
.cc-secret-story h2 {
    margin: 0 0 25px;
    color: #303D35;
    font-family: Georgia, serif;
    font-size: clamp(27px, 3vw, 36px);
    font-weight: 400;
    line-height: 1.25;
}

/* Paragraphes */
.cc-secret-story-inner > p:not(.cc-secret-story-eyebrow) {
    max-width: 650px;
    margin: 0 auto 17px;
    color: #4C4B47;
    font-size: 16px;
    line-height: 1.8;
}

/* Dernière phrase mise en valeur */
.cc-secret-story-inner .cc-secret-story-ending {
    margin-top: 24px;
    margin-bottom: 0;
    color: #9B6674;
    font-family: Georgia, serif;
    font-size: 20px;
    font-style: italic;
    line-height: 1.5;
}

/* Adaptation mobile */
@media (max-width: 767px) {
    .cc-secret-story {
        padding: 30px 15px 45px;
    }

    .cc-secret-story-inner {
        padding: 35px 23px;
        border-radius: 14px;
    }

    .cc-secret-story h2 {
        font-size: 27px;
    }

    .cc-secret-story-inner > p:not(.cc-secret-story-eyebrow) {
        font-size: 15px;
        line-height: 1.7;
    }

    .cc-secret-story-inner .cc-secret-story-ending {
        font-size: 18px;
    }
}
.cc-home-name-story {
    padding: 2.5rem 0 4rem;
}

.cc-name-story-card {
    position: relative;
    max-width: 920px;
    margin: 0 auto;
    padding: 4.2rem 3rem 3rem;
    background: #f6f1eb;
    border-radius: 28px;
    text-align: center;
    overflow: visible;
}

.cc-name-story-leaf {
    position: absolute;
    top: -34px;
    right: -24px;
    width: 160px;
    max-width: 32%;
    height: auto;
    pointer-events: none;
}

.cc-name-story-eyebrow {
    margin: 0 0 1rem;
    font-size: 0.82rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #9b7b56;
    font-weight: 600;
}

.cc-home-name-story h2 {
    margin: 0 0 1.5rem;
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1.15;
    color: #2f4a43;
}

.cc-name-story-card p {
    max-width: 720px;
    margin: 0 auto 1.2rem;
    font-size: 1.12rem;
    line-height: 1.85;
    color: #4d4d4d;
}

.cc-name-story-signature {
    margin-top: 1.8rem;
    font-style: italic;
    color: #6b5a4a;
}

@media (max-width: 768px) {
    .cc-name-story-card {
        padding: 2.3rem 3rem 1.8rem;
        border-radius: 22px;
    }

    .cc-name-story-leaf {
        top: -22px;
        right: -10px;
        width: 110px;
    }

    .cc-name-story-card p {
        font-size: 1rem;
        line-height: 1.75;
    }
}

/* Supprimer l'espace sous la dernière phrase */
.cc-name-story-card p:last-child {
    margin-bottom: 0;
}

/* Ajustement sur mobile */
@media (max-width: 768px) {
    .cc-name-story-card {
        padding: 2.2rem 1.5rem 1.8rem;
    }
}

/* ENCADRÉ POURQUOI LE SECRET BAVARD
   Réduire les espaces intérieurs */

.cc-home-name-story .cc-name-story-card {
    padding-top: 25px !important;
    padding-bottom: 25px !important;
}

/* Supprimer la marge sous la dernière phrase */
.cc-home-name-story .cc-name-story-card p:last-child {
    margin-bottom: 0 !important;
}

/* Version mobile */
@media (max-width: 768px) {
    .cc-home-name-story .cc-name-story-card {
        padding-top: 30px !important;
        padding-bottom: 25px !important;
    }
}

/* ACCUEIL - FAISONS CONNAISSANCE */

.section.cc-home-about {
    padding-top: 40px !important;
    padding-bottom: 40px !important;
}

/* Version mobile */
@media (max-width: 767px) {
    .section.cc-home-about {
        padding-top: 30px !important;
        padding-bottom: 30px !important;
    }
}

