/*
Theme Name: SkyCaptain Child
Theme URI: https://thalia-parapente.ch
Description: Thème enfant pour SkyCaptain
Author: Thalia Parapente
Author URI: https://thalia-parapente.ch
Template: skycaptain
Version: 1.2
*/

/* === FULL WIDTH FIX (ZÉRO PIXEL FANTÔME) === */

/* 1. On utilise ta formule magique avec une sécurité anti-liseré */
.elementor-container-full, 
.e-con.e-con-full {
    width: 100.1vw !important; /* On force 0.1% de débordement pour boucher les trous */
    max-width: 100.1vw !important;
    position: relative;
    left: 50% !important;
    margin-left: -50.05vw !important; /* On ajuste le centrage en conséquence */
}

/* 2. Correction spécifique pour le Header */
header .elementor-section-stretched,
header .elementor-container-full {
    width: 100.1vw !important;
    margin-left: -50.05vw !important;
    left: 50% !important;
}

/* 3. On verrouille le body pour que le débordement de 0.1vw soit invisible */
html, body {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    overflow-x: hidden !important; /* CACHE LES PIXELS EN TROP */
}

/* 4. On garde ton fix Hero Mobile */
@media (max-width: 768px) {
    .hero { overflow-x: hidden; }
    .hero .e-con-boxed {
        width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
}
/* === STABILISATION H1 === */
h1:not(.sc_item_title) {
    font-size: 60px !important;
}

/* Desktop */
h1.sc_item_title,
.elementor-widget-trx_sc_title h1.sc_item_title {
    font-family: "Rubik", sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 56px !important;
    line-height: 1.18 !important;
    text-align: center;
    margin-top: 0 !important;
    margin-bottom: 15px !important;
    color: #2c3e50;
}

/* Tablette */
@media (max-width: 1024px) {
    h1.sc_item_title,
    .elementor-widget-trx_sc_title h1.sc_item_title {
        font-size: 34px !important;
        line-height: 1.2 !important;
    }
}

/* Mobile */
@media (max-width: 767px) {
    h1.sc_item_title,
    .elementor-widget-trx_sc_title h1.sc_item_title {
        font-size: 32px !important;
        line-height: 1.2 !important;
    }
}

/* === SHOP MODE === */
.skycaptain_shop_mode_buttons a.woocommerce_list, .skycaptain_shop_mode_buttons a {
    visibility: hidden;
}
/* === CORRECTIF TAILLE RADIO FLUENT FORMS === */
/* On cible le span et le label pour être certain de tout couvrir */
.ff-el-form-check-label, 
.ff-el-form-check-label span {
    font-size: 17px !important;
    line-height: 1.5 !important;
    color: #333 !important;
}

/* On s'assure que le cercle radio suit le mouvement */
.ff-el-form-check-input.ff-el-form-check-radio {
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important; /* Évite qu'il s'écrase sur mobile */
    margin-right: 10px !important;
}

/* Espacement entre les options de vol */
.ff-el-form-check {
    margin-bottom: 12px !important;
}

/* Ajustement Mobile */
@media (max-width: 767px) {
    .ff-el-form-check-label, 
    .ff-el-form-check-label span {
        font-size: 16px !important;
    }
}
/* === FLUENT FORMS - TITRES DES CHAMPS (LABELS) === */
.fluentform .ff-el-input--label label,
.fluentform .ff-el-input--label {
    font-size: 18px !important; /* Légèrement plus grand que le texte (17px) */
    font-weight: 600 !important;
    color: #222 !important;
    margin-bottom: 8px !important;
    display: block !important;
}

/* Ajustement Mobile */
@media (max-width: 767px) {
    .fluentform .ff-el-input--label label,
    .fluentform .ff-el-input--label {
        font-size: 16px !important;
    }
}
.ff-el-form-control[type="text"]:focus, .ff-el-form-control[type="email"]:focus, .ff-el-form-control[type="textarea"]:focus, .ff-el-form-control[type="select"]:focus, .ff-el-form-control[type="text"].filled, .ff-el-form-control[type="email"].filled, .ff-el-form-control[type="textarea"].filled, .ff-el-form-control[type="select"].filled {
    border-color: #008000;
}
/* === INTERACTIONS PAR DÉFAUT === */
.scheme_default input[type]:hover, .scheme_default textarea:hover, .scheme_default input[type].filled, .scheme_default textarea.filled, .scheme_default select:hover, .scheme_default .select_container:hover {
    border-color: #008000;
}
.scheme_default .sc_icons .sc_icons_icon {
    color: #fb4729;
}
/* === BOUTONS === */
.scheme_default .sc_button_hover_style_hover.sc_button_hover_slide_left, .scheme_default .woocommerce button.button.alt, .scheme_default .woocommerce input.button.alt, .scheme_default.sidebar .widget.WOOCS_CONVERTER .button, .scheme_default.sidebar .widget.yith-woocompare-widget a.button, .scheme_default.sidebar .widget_product_search .search_button, .scheme_default.sidebar .woocommerce-message .button, .scheme_default.sidebar .woocommerce-error .button, .scheme_default.sidebar .woocommerce-info .button, .scheme_default.sidebar .widget.woocommerce .button, .scheme_default.sidebar .widget.woocommerce a.button, .scheme_default.sidebar .widget.woocommerce button.button, .scheme_default.sidebar .widget.woocommerce input.button, .scheme_default.sidebar .widget.woocommerce input[type="button"], .scheme_default.sidebar .widget.woocommerce input[type="submit"] {
    color: #ffffff;
    background: linear-gradient(to right, #fb4729 50%, #f02805 50%) no-repeat scroll right bottom / 210% 100% #f02805 !important;
}
.scheme_default .sc_button_hover_style_hover.sc_button_hover_slide_left:hover, .scheme_default .woocommerce button.button.alt:hover, .scheme_default .woocommerce input.button.alt:hover, .scheme_default.sidebar .widget.WOOCS_CONVERTER .button:hover, .scheme_default.sidebar .widget.yith-woocompare-widget a.button:hover, .scheme_default.sidebar .widget_product_search .search_button:hover, .scheme_default.sidebar .woocommerce-message .button:hover, .scheme_default.sidebar .woocommerce-error .button:hover, .scheme_default.sidebar .woocommerce-info .button:hover, .scheme_default.sidebar .widget.woocommerce .button:hover, .scheme_default.sidebar .widget.woocommerce a.button:hover, .scheme_default.sidebar .widget.woocommerce button.button:hover, .scheme_default.sidebar .widget.woocommerce input.button:hover, .scheme_default.sidebar .widget.woocommerce input[type="button"]:hover, .scheme_default.sidebar .widget.woocommerce input[type="submit"]:hover {
    color: #ffffff;
    background-position: left bottom !important;
}
/* === AMELIA === */
#amelia-v2-booking-1000 {
  position: relative;
  z-index: 10;
}

#amelia-container {
  padding-bottom: 2rem;
}

.bloc {
  position: relative;
  z-index: 1;
}
.am-advsc__slots-wrapper {
    display: none;
}
.am-fs__congrats-info-app-time, div.am-fs__congrats-info-app-time, .am-fs__congrats-info-app-employee {
    display: none !important;
}
/* === DIVERS === */
select.flatpickr-monthDropdown-months {
    visibility: visible !important;
}
html {
  scroll-behavior: smooth;
}
.swiper-slide {
  min-height: 300px;
}


/* === IMAGES === */
.elementor-widget-image img, .elementor-widget-text-editor img, .elementor-image img {
  display: block;
  max-width: 100%;
  height: auto;
  margin-top: 24px !important;
  margin-bottom: 24px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
@media (max-width: 768px) {
  .elementor-widget-image img {
    margin-top: 0px !important;
    margin-bottom: 16px !important;
  }
}
/* === BLOCS PRINCIPAUX === */
.bloc:nth-of-type(odd) { background-color: #fafafa !important; }
.bloc:nth-of-type(even) { background-color: #fbfaf4 !important; }
.bloc {
  margin-bottom: 12px !important;
  padding-top: 10px !important;
  padding-bottom: 10px !important;
}
@media (max-width: 768px) {
  .bloc {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
  }
}
.bloc > .contenu {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
/* === HERO === */
.hero {
  position: relative;
  background-color: #F0FAFF;
  background-size: cover;
  background-position: center;
  z-index: 1;
  overflow: hidden;
  margin-bottom: 12px !important;
}
/* === BOUTONS TRX === */
/* 1. Gère l'espacement vertical (marges) du widget */
.elementor-widget-trx_sc_button {
    padding-top: 25px !important;
    padding-bottom: 25px !important;
}

/* 2. Nouveau code : Gère la taille du texte à l'intérieur du bouton */
.elementor-widget-trx_sc_button .sc_button_title {
    font-size: 14px !important; /* <-- Modifie cette valeur pour la taille */
}

/* Optionnel : Taille réduite pour mobile (pour éviter que ça dépasse) */
@media (max-width: 767px) {
    .elementor-widget-trx_sc_button .sc_button_title {
        font-size: 12px !important;
    }
}
/* === WIDGETS === */
.elementor-widget-text-editor, .elementor-widget-price-list, .elementor-widget-toggle {
  padding-top: 25px !important;
  padding-bottom: 25px !important;
}

/* ==========================================================================
   RESET GLOBAL : PADDING POUR TOUS LES WIDGETS HTML
   (Cible la classe .elementor-widget-html présente dans ton code)
   ========================================================================== */ 
.elementor-widget-html {
    padding: 10px !important;
    margin: 0 !important;
    border: none !important;
}

/* On ne met le line-height à 0 QUE si le widget contient une iframe (vidéo, map, etc.) */
.elementor-widget-html iframe {
    display: block; /* Supprime l'espace sous l'iframe proprement */
}
/* === WOOCOMMERCE PRODUIT (STYLES ACTIFS) === */

/* Titre du produit */
.woocommerce div.product .product_title {
    font-size: 30px !important;
    font-weight: 700 !important;
    color: #222;
    font-family: "Rubik", sans-serif;
    margin-bottom: 10px;
}

/* Prix du produit */
.woocommerce div.product .summary .price, 
.woocommerce div.product .summary .price .woocommerce-Price-amount, 
.woocommerce div.product .summary .price .amount {
    font-size: 24px !important;
    font-weight: 600 !important;
    color: #d72638 !important;
    font-family: "Rubik", sans-serif !important;
}

/* Cache les produits suggérés "Montée en gamme" */
.upsells.products { 
    display: none; 
}

/* === STRUCTURE ARTICLES BLOG (Centrage & Marges) === */
.single-post .site-content, 
.single-post .entry-content,
.single-post .entry-header {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* === TITRE H1 (Titre de l'article) === */
.single-post .entry-title {
  font-size: 38px !important; /* Standard Desktop */
}

/* === TITRES H2 (Sous-titres) === */
.single-post .entry-content h2.wp-block-heading {
    margin-top: 1.2em !important;
    margin-bottom: 0.8em; 
    font-size: 28px !important; /* Standard Desktop */
}

/* === GESTION MOBILE (max 768px) === */
@media (max-width: 768px) {
  /* Marge au dessus du titre principal */
  .single-post .entry-header {
    margin-top: 4em !important;
  }
  
  /* Taille H1 Mobile */
  .single-post .entry-title {
    margin-top: 1em !important;
    font-size: 30px !important; 
  }

  /* Taille et marge H2 Mobile */
  .single-post .entry-content h2.wp-block-heading {
      margin-top: 1em !important;
      font-size: 24px !important;
  }
}

/* === MARGE DESKTOP TITRE PRINCIPAL === */
@media (min-width: 769px) {
  .single-post .entry-header {
    margin-top: 4em;
  }
}

body.woocommerce-cart table.shop_table th {
  color: #333333 !important;
  background-color: #f3f3f3 !important;
}
.single-post .post_featured { display: none !important; }
a[href*="/author/"] {
  pointer-events: none;
  cursor: default;
  text-decoration: none;
  color: inherit;
}
.ti-widget-container .ti-header a, .ti-widget-container .ti-header { color: #000000 !important; }
.author_link { display: none !important; }
blockquote:not(.testimonial-quote-highlight):not(.testimonial-pullquote), .wp-block-quote:not(.testimonial-quote-highlight):not(.testimonial-pullquote), .elementor-widget-text-editor blockquote:not(.testimonial-quote-highlight):not(.testimonial-pullquote) {
  background: #FFF5F5 !important;
  color: #333 !important;
}
blockquote:not(.testimonial-quote-highlight):not(.testimonial-pullquote) *, .wp-block-quote:not(.testimonial-quote-highlight):not(.testimonial-pullquote) *, .elementor-widget-text-editor blockquote:not(.testimonial-quote-highlight):not(.testimonial-pullquote) * { color: #333 !important; }
blockquote:not(.testimonial-quote-highlight):not(.testimonial-pullquote)::before, blockquote:not(.testimonial-quote-highlight):not(.testimonial-pullquote)::after, .wp-block-quote:not(.testimonial-quote-highlight):not(.testimonial-pullquote)::before, .wp-block-quote:not(.testimonial-quote-highlight):not(.testimonial-pullquote)::after { color: #333 !important; }
.author_info.author.vcard { margin-bottom: 60px !important; }
@media (max-width: 768px) { .author_info.author.vcard { margin-bottom: 40px !important; } }
.table-responsive { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 20px 0; }
.table-responsive::after {
    content: "\2190  Faites d\00E9 filer \2192"; 
    display: block;
    text-align: center;
    font-size: 12px;
    color: #999;
    padding: 8px 0;
    font-style: italic;
}
@media (min-width: 769px) { .table-responsive::after { display: none; } }
@media (max-width: 768px) {
    .table-responsive table { min-width: 800px; font-size: 12px; }
    .table-responsive table th, .table-responsive table td { padding: 8px 6px; white-space: nowrap; }
}
@media only screen and (max-width: 767px) {
    body.woocommerce-page .page_content_wrap, body.woocommerce-page .content_wrap, body.woocommerce-page .elementor-section.elementor-section-boxed > .elementor-container {
        width: 100% !important;
        max-width: 100vw !important;
        margin: 0 !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
        box-sizing: border-box !important;
    }
    .woocommerce-cart .woocommerce-cart-form { width: 100% !important; overflow-x: hidden !important; }
    .woocommerce-cart table.shop_table { width: 100% !important; box-sizing: border-box !important; display: block !important; overflow-x: auto !important; }
    .woocommerce-checkout .col2-set .col-1, .woocommerce-checkout .col2-set .col-2, .woocommerce-checkout #customer_details {
        float: none !important;
        width: 100% !important;
        padding: 0 !important;
        margin-bottom: 20px !important;
        box-sizing: border-box !important;
    }
    .woocommerce-checkout #order_review_heading, .woocommerce-checkout #order_review {
        width: 100% !important;
        padding: 15px !important;
        box-sizing: border-box !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    .single-product .woocommerce-product-gallery, .single-product .summary.entry-summary { width: 100% !important; padding: 0 !important; box-sizing: border-box !important; }
    .single-product .woocommerce-product-details__short-description > div { width: 100% !important; padding: 20px !important; box-sizing: border-box !important; }
}
/* --- STYLE THALIA TRUST BAR (Largeur Adaptative) --- */

.thalia-trust-bar {
    background-color: #ffffff;
    border: 1px solid #f0f0f0;
    border-radius: 16px;
    
    /* LE SECRET : On s'adapte au texte et on centre le bloc */
    width: fit-content !important; 
    margin: 0 auto !important; 
    
    display: flex;
    flex-wrap: wrap;           
    justify-content: center;   
    align-items: center;       
    gap: 40px;                 
    padding: 20px 40px; /* Plus d'espace sur les côtés sur Desktop */
    
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}

.thalia-trust-item {
    display: flex;
    align-items: center;
    text-align: left;
    /* On laisse chaque item prendre sa place naturelle */
}

.thalia-trust-icon {
    font-size: 38px;           
    margin-right: 15px; 
    line-height: 1;
    width: 50px; /* Aligne les icônes verticalement */
    display: flex;
    justify-content: center;
    flex-shrink: 0;
}

.thalia-trust-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.3;
}

.thalia-trust-title {
    display: block;
    color: #2c3e50;            
    font-size: 1.1rem;           
    font-weight: 700;
}

.thalia-trust-subtitle {
    font-size: 14px;           
    color: #777;
    display: block;
}

/* --- VERSION MOBILE --- */
@media (max-width: 768px) {
    .thalia-trust-bar {
        flex-direction: column;
        align-items: stretch; 
        padding: 0 20px; /* Espace interne sur les côtés */
        gap: 0;
        /* Sur mobile, fit-content centrera aussi le bloc parfaitement */
    }
    
    .thalia-trust-item {
        padding: 15px 0;
        border-bottom: 1px solid #f0f0f0;
    }

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

    .thalia-trust-icon {
        font-size: 32px; 
        width: 45px;
    }
}
/* ==========================================================================
   NOUVEAU BLOC : PAGE STAGE & HERO (Mis à jour le 15/02/2026)
   (Inclut: Boutons Rouges/Blancs, Animation Zen, Cartes Infos)
   ========================================================================== */



/* --- 2. STYLE BOUTON ROUGE "THALIA" --- */
.btn-thalia, 
.nav-pill.cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    
    /* Dimensions & Typo */
    padding: 14px 24px; 
    font-size: 14px; /* <--- MODIFIÉ : 14px sur Desktop */
    font-weight: 600; 
    line-height: 1.2;
    text-transform: uppercase; 
    text-decoration: none !important;
    border-radius: 50px;
    letter-spacing: 0.5px;
    
    /* Couleurs & Bordures */
    background-color: #e20d0a !important; 
    color: #ffffff !important; 
    border: 1px solid #e20d0a;
    
    box-shadow: 0 4px 15px rgba(226, 13, 10, 0.4) !important; 
    
    /* Animation & Transition */
    transition: all 0.3s ease;
   
}

/* Au survol */
.btn-thalia:hover, 
.nav-pill.cta:hover {
    background-color: #c40b08 !important;
    border-color: #c40b08;
    color: #ffffff !important;
    transform: translateY(-2px); 
    box-shadow: 0 8px 25px rgba(226, 13, 10, 0.6) !important;
    animation: none;
}

/* Conteneurs des boutons */
.thalia-hero-actions, .hero-nav {
    display: flex;
    gap: 30px; 
    justify-content: center;
    flex-wrap: wrap;
}

/* --- 3. AUTRES BOUTONS NAVIGATION (Blancs/Gris) --- */
.nav-pill:not(.cta) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    background-color: #f5f5f5;
    color: #333 !important;
    text-decoration: none !important;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase; 
    border: 1px solid transparent;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08) !important;
}

/* --- 4. TEXTE D'INTRO --- */
.intro-hero {
    font-size: 1.15rem;
    line-height: 1.6;
    color: #333;
    margin-bottom: 2rem;
}

/* --- 5. INFOS CLÉS (Les Cartes Stage) --- */
.infos-cles {
    display: flex;
    justify-content: center; 
    flex-wrap: wrap;
    gap: 1.5rem;
    margin: 2.5rem 0;
    width: 100%;
}

.info-item {
    text-align: center;
    background-color: #f9f9f9 !important;
    padding: 1.5rem 1rem;
    border-radius: 16px;
    border: 1px solid #eee;
    flex: 1;
    min-width: 140px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.info-item strong {
    display: block;
    font-size: 1.6rem !important;
    color: #e20d0a !important; 
    font-weight: 800 !important;
    margin-bottom: 0.5rem;
    line-height: 1.1;
}

.info-item span {
    display: block;
    font-size: 1rem !important;
    color: #555 !important;
    font-weight: 600;
    line-height: 1.3 !important;
}

/* --- 6. BLOC ENCADREMENT & TITRES --- */
.encadrement-highlight {
    background-color: #fff;
    padding: 2rem;
    border-radius: 16px;
    margin: 2rem 0;
}

.highlight-title {
    display: block;
    font-size: 1.7rem !important; 
    font-weight: 800;
    color: #e20d0a; 
    margin-bottom: 1rem;
}

/* --- 7. RESPONSIVE (MOBILE & TABLETTE) --- */
@media (max-width: 768px) {
    .thalia-hero-actions, .hero-nav {
       flex-direction: column;
        gap: 30px;
        width: 100%;
    }

    .btn-thalia, .nav-pill {
        width: 100%;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center;
        padding: 10px 20px !important;
        min-height: 48px !important;
        height: auto !important;
        line-height: 1.2 !important;
        box-sizing: border-box !important;
        border-width: 1px !important;
        border-style: solid !important;
    }

    /* --- AJOUT TAILLE MOBILE --- */
    .btn-thalia {
        font-size: 1rem !important; /* <--- MODIFIÉ : 1rem sur Mobile */
    }

    .infos-cles {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        margin: 2rem 0;
    }
    
    .info-item {
        padding: 15px 5px !important;
    }

    .intro-hero {
        font-size: 1.05rem; 
    }
}
/* ============================================
   CORRECTIF ESPACES SOUS-TITRE & DESCRIPTION
   ============================================ */

/* 1. Le SOUS-TITRE (Formation de pilote...) */
/* On réduit l'espace en DESSOUS de lui */
.sc_item_subtitle {
    margin-top: 15px !important;      /* Colle au titre du dessus */
    margin-bottom: 25px !important; /* <--- C'est ici qu'on règle l'espace SOUS le sous-titre */
    display: block;                /* Assure que la marge est respectée */
    line-height: 1.3 !important;   /* Évite que les lignes s'écartent trop */
}

/* 2. La DESCRIPTION (L'expertise d'une instructrice...) */
/* On réduit l'espace AU-DESSUS d'elle */
.sc_item_descr {
    margin-top: 5px !important;    /* <--- C'est ici qu'on règle l'espace AU-DESSUS de la description */
    margin-bottom: 15px !important; /* Un peu d'air après le bloc complet */
}

/* --- MOBILE UNIQUEMENT --- */
/* Si tu veux que ce soit encore plus serré sur téléphone */
@media (max-width: 767px) {
    .sc_item_subtitle {
        margin-bottom: 25px !important;
        margin-top: 15px !important;
    }
    .sc_item_descr {
        margin-top: 5px !important;
        margin-bottom: 10px !important;
	font-size: 1.1em !important;
    }
}
/* ============================================
   OPTIMISATION SEO & ACCESSIBILITÉ (Motion)
   ============================================ */

/* 1. Respecte le choix de l'utilisateur (Signal Google Quality) */
@media (prefers-reduced-motion: reduce) {
    .btn-thalia, 
    .nav-pill.cta {
        animation: none !important; /* Coupe l'animation */
        transition: none !important; /* Coupe les transitions brutales */
    }
}

/* --- CONTENEUR --- */
.thalia-home-list {
    display: flex;
    flex-direction: column;
    gap: 15px; /* Espace entre les articles */
}

/* --- L'ARTICLE (Ligne horizontale) --- */
.thalia-compact-item {
    display: flex;
    align-items: center; /* Centre verticalement */
    background: #fff;
    border-radius: 8px;
    padding: 10px;
    border: 1px solid #eee;
    transition: transform 0.2s, box-shadow 0.2s;
}

.thalia-compact-item:hover {
    transform: translateX(5px); /* Petit mouvement vers la droite */
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border-color: #e20d0a;
}

/* --- IMAGE (Carré Gauche) --- */
.compact-img-link {
    width: 80px;  /* Largeur fixe compacte */
    height: 80px; /* Hauteur fixe compacte */
    flex-shrink: 0; /* Empêche l'image de s'écraser */
    border-radius: 6px;
    overflow: hidden;
    margin-right: 15px; /* Espace image-texte */
    background: #f4f4f4;
}

.compact-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Remplit le carré sans déformer */
    transition: transform 0.3s;
}

.thalia-compact-item:hover .compact-thumb {
    transform: scale(1.1);
}

/* --- CONTENU (Droite) --- */
.compact-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Méta (Date • Catégorie) */
.compact-meta {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: #999;
    font-weight: 700;
    margin-bottom: 5px;
}

.compact-cat {
    color: #e20d0a;
}

/* Titre */
.compact-title {
    margin: 0;
    font-size: 1.1rem; /* Taille de police raisonnable */
    line-height: 1.3;
    font-weight: 700;
    color: #333;
}

.compact-title a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

.compact-title a:hover {
    color: #e20d0a;
}

/* --- RESPONSIVE MOBILE (Tous les téléphones) --- */
@media (max-width: 767px) {
    /* Sécurité supplémentaire pour mobile si le thème insiste */
    .thalia-compact-item h3.compact-title,
    .thalia-compact-item h3.compact-title a {
        font-size: 14px !important;
        line-height: 1.3 !important;
    }

    .compact-img-link {
        width: 70px !important;
        height: 70px !important;
    }
}


/* === SECTION BON CADEAU V13 (FINAL - IMAGE AÉRÉE) === */

/* 1. SÉCURITÉ ANCRE */
.elementor-menu-anchor {
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* 2. LE CONTENEUR PRINCIPAL */
.boncadeau-wrapper {
    max-width: 1100px;
    margin: 0 auto 3rem auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

/* --- CARTE FLEXBOX (DESKTOP) --- */
.thalia-spotlight-card {
    display: flex;
    flex-direction: row;
    background-color: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border: 1px solid #f0f0f0;
    align-items: center; 
}

/* --- COLONNE IMAGE --- */
.thalia-spotlight-image-col {
    width: 45%;         
    flex: 0 0 45%;      
    position: relative; 
    margin: 0;
    
    /* --- LE CORRECTIF EST ICI --- */
    padding: 30px !important; /* On donne de l'air autour de l'image (Haut/Bas/Gauche/Droite) */
    background-color: #fff;   /* Fond blanc derrière l'image */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* L'IMAGE (Arrondie et détachée) */
.thalia-spotlight-image-col img {
    width: 100% !important;
    height: auto !important; 
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    object-fit: contain;
    
    /* On arrondit l'image car elle n'est plus collée aux bords */
    border-radius: 12px !important; 
    box-shadow: 0 5px 15px rgba(0,0,0,0.05); /* Petite ombre portée pour le relief */
    
    position: static !important;
    max-width: 100% !important;
}

/* LE BADGE (Repositionné par rapport au padding) */
.thalia-pilot-badge {
    position: absolute;
    /* On décale le badge pour qu'il reste sur le coin de l'image */
    top: 45px; 
    left: 45px;
    
    background: rgba(255, 255, 255, 0.95);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    color: #333;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    z-index: 5;
    width: auto !important;
    display: inline-block;
}

/* --- COLONNE TEXTE --- */
.thalia-spotlight-content-col {
    flex: 1;
    padding: 40px 50px 40px 20px; /* Moins de padding à gauche car l'image en a déjà */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Styles Typo */
.spotlight-tag {
    color: #e20d0a;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1px;
    margin-bottom: 12px;
    display: block;
    line-height: 1.5;
}

.thalia-spotlight-content-col h3 {
    margin-top: 0 !important;
    margin-bottom: 20px !important;
    font-size: 26px !important;
    line-height: 1.2 !important;
    color: #222;
}

.intro-text {
    font-size: 16px;
    color: #555;
    margin-bottom: 25px;
    line-height: 1.6;
}

.quote-box {
    background: #f1fbf3;
    border-left: 4px solid #38bb2b;
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 0 8px 8px 0;
}

.quote-box p {
    margin: 0;
    font-size: 15px;
    color: #444;
    line-height: 1.5;
}

.nav-pill.cta {
    display: inline-block;
    background-color: #e20d0a;
    color: #fff !important;
    padding: 14px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.2s ease;
    text-align: center;
    border: none;
    font-size: 14px;
    text-transform: uppercase;
}

.nav-pill.cta:hover {
    background-color: #c90b08;
    transform: translateY(-2px);
}

/* --- RESPONSIVE MOBILE (<= 1024px) --- */
@media (max-width: 1024px) {
    .thalia-spotlight-card {
        flex-direction: column !important;
        align-items: stretch !important;
    }
    
    .thalia-spotlight-image-col {
        width: 100% !important;
        flex: none !important;
        padding: 20px !important; /* Un peu moins de padding sur mobile */
    }

    .thalia-pilot-badge {
        top: 35px;
        left: 35px;
    }

    .thalia-spotlight-content-col {
        padding: 10px 30px 40px 30px !important;
    }
    
    .thalia-spotlight-content-col h3 {
        font-size: 22px !important;
    }
}

/* ============================================

   DESIGN INFOS PRATIQUES (GRID SYSTEM)

   ============================================ */



.infos-pratiques-wrapper {

  width: 100%;

}



.section-title {

  font-size: 1.8rem; /* Plus gros de base sur PC */

  font-weight: 800;

  color: #222;

  margin-bottom: 1.5rem;

  padding-left: 0; /* On enlève le padding */

  border: none;    /* On enlève la ligne verticale */

  text-align: center; /* Optionnel : Centre le titre (souvent plus joli sans la ligne) */

}



/* LA GRILLE */

.infos-grid {

  display: grid;

  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Automatique : 1 ou 2 colonnes */

  gap: 20px;

}



/* LA CARTE INFO INDIVIDUELLE */

.info-card {

  background: #fff;

  border: 1px solid #eee;

  border-radius: 12px;

  padding: 10px;

  display: flex;

  align-items: flex-start; /* Aligne l'icône en haut */

  gap: 15px;

  transition: transform 0.3s ease, box-shadow 0.3s ease;

}



.info-card:hover {

  transform: translateY(-3px);

  box-shadow: 0 5px 15px rgba(0,0,0,0.05);

  border-color: #ddd;

}



/* VERSION HIGHLIGHT (Pour le contact) */

.info-card.highlight {

  background: #fff5f5; /* Fond très légèrement rouge */

  border-color: #ffdcd6;

}



/* L'ICÔNE */

.info-icon {

  font-size: 2rem;

  line-height: 1;

  background: #f9f9f9;

  width: 50px;

  height: 50px;

  display: flex;

  align-items: center;

  justify-content: center;

  border-radius: 50%; /* Icône dans un rond */

  flex-shrink: 0;

}



/* LE CONTENU TEXTE */

.info-content h4 {

  margin: 0 0 15px 0;

  font-size: 1.1rem;

  font-weight: 700;

  color: #222;

}



.info-content p {

  margin: 0 0 10px 0;

  font-size: 0.95rem;

  color: #555;

  line-height: 1.4;

}



.small-address {

  font-size: 0.85rem !important;

  color: #888 !important;

  margin-bottom: 8px !important;

}



.info-note {

  font-size: 0.85rem !important;

  font-style: italic;

  color: #666 !important;

}



.map-link {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #f02805;
  text-decoration: none; /* Supprime le soulignement par défaut */
  margin-top: 5px;
  border-bottom: 1.5px solid transparent; /* Prépare une bordure invisible */
  transition: all 0.3s ease;
}




.phone-link {

  font-size: 1.2rem;

  font-weight: 800;

  color: #f02805;

  text-decoration: none;

  display: block;

  margin-top: 5px;

}



/* ============================================

   RESPONSIVE MOBILE : TITRES FORTS & TEXTE STANDARD

   ============================================ */

@media (max-width: 768px) {

  

  /* 1. LA GRILLE (1 colonne) */

  .infos-grid {

    grid-template-columns: 1fr;

    gap: 20px;

  }

  

  /* 2. LES TITRES DE SECTION (On garde ton "J'aime bien") */

  h3.section-title {

    font-size: 22px !important; /* On force le gros titre */

    line-height: 1.3 !important;

    text-align: center !important;

    margin-top: 0px !important;

    margin-bottom: 20px !important;

  }



  /* 3. LES CARTES (Centrées) */

  .info-card {

    padding: 10px !important;

    display: flex;

    flex-direction: column; /* Icône au dessus */

    align-items: center;    /* Tout centré */

    text-align: center;

  }



  /* 4. LES SOUS-TITRES (On garde la taille visible) */

  .info-content h4 {

    font-size: 18px !important; 

    margin-bottom: 8px !important;

  }



  /* 5. LE TEXTE COURANT (Retour à la normale) */

  /* J'ai supprimé les tailles forcées. 

     Ça va reprendre la taille par défaut de ton thème. */

  .info-content p, 

  .info-content a,

  .small-address, 

  .info-note {

    font-size: inherit !important; /* Hérite de la config du site */

    line-height: 1.5 !important;   /* Juste un bon interligne pour la lecture */

  }

  

  /* 6. L'ICÔNE */

  .info-icon {

    width: 60px;

    height: 60px;

    font-size: 2rem;

  }

}
/* ============================================
   STAGE CARD - Jour 1 & Jour 2
   ============================================ */

.stage-card {
  background: white;
  border-left: 4px solid #38BB2B;
  border-radius: 8px;
  padding: 2rem;
  margin-bottom: 2.5rem;
  margin-top: 3.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.stage-card:hover {
  box-shadow: 0 4px 16px rgba(56, 187, 43, 0.15);
  transform: translateY(-2px);
}

/* Numéro du jour (rond rouge) */
.jour-numero {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: #F02805;
  color: white;
  border-radius: 50%;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  flex-shrink: 0;
}

/* Contenu du jour */
.jour-content h3 {
  font-size: 1.5rem;
  color: #222;
  margin: 0 0 1.5rem 0;
  font-weight: 700;
  line-height: 1.4;
}

.jour-content p {
  color: #555;
  line-height: 1.8;
  margin-bottom: 1.2rem;
  font-size: 1.05rem;
}

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

.jour-content strong {
  color: #222;
  font-weight: 700;
}

/* Label "Objectif:" */
.label {
  font-weight: 700;
  color: #F02805;
}

/* Responsive mobile */
@media (max-width: 768px) {
  .stage-card {
    padding: 1rem;
    margin-bottom: 2rem;
    margin-top: 3.5rem;
  }
  
  .jour-numero {
    width: 50px;
    height: 50px;
    font-size: 1.6rem;
    margin-bottom: 1rem;
  }
  
  .jour-content h3 {
    font-size: 1.3rem;
    margin-bottom: 1.2rem;
  }
  
  .jour-content p {
    font-size: 1rem;
    margin-bottom: 1rem;
  }
}

/* ============================================
   BLOC TARIF & INCLUSIONS
   ============================================ */

/* 1. LE PRIX (Simple et efficace) */
.tarif-principal {
    text-align: center;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f9f9f9; /* Gris très léger pour délimiter la zone */
    border-radius: 12px;
}

.tarif-principal .prix {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: #222; /* Noir pour le prix, c'est plus chic que le rouge ici */
    margin-bottom: 0.2rem;
    line-height: 1;
}

.tarif-principal .description {
    display: block;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 1rem;
}

/* 2. LA GARANTIE MÉTÉO (Vert = Validation/Sécurité) */
.garantie-meteo {
    display: inline-block; /* Pour ne pas prendre toute la largeur */
    margin-top: 0.5rem;
    padding: 0.6rem 1.2rem;
    background: #e8f5e9;       /* Fond vert très pâle */
    border: 1px solid #c8e6c9; /* Bordure verte subtile */
    border-radius: 50px;       /* Forme de pilule */
    font-weight: 600;
    font-size: 0.95rem;
    color: #2e7d32;            /* Texte vert foncé */
}

/* 3. L'ARGUMENT 1 POUR 2 (Cadre Vert + Titre Rouge) */
.encadrement-highlight {
    background: #fff;
    border: 1px solid #eee;
    border-left: 5px solid #38BB2B; /* TA COULEUR VERTE VALIDÉE */
    padding: 1.5rem;
    margin-bottom: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}

/* Le TITRE (H4) : Lui il a le droit d'être "Block" (sur sa propre ligne) */
.encadrement-highlight h4 {
    display: block;
    font-size: 1.25rem;
    color: #e20d0a;      /* Rouge Thalia */
    margin-top: 0;       /* Colle en haut */
    margin-bottom: 0.8rem;
    font-weight: 800;
    line-height: 1.2;
}

/* Le texte normal */
.encadrement-highlight p {
    margin: 0;
    line-height: 1.6;
    color: #444;
}

/* LE GRAS DANS LE TEXTE : Il reste ROUGE mais sur la MÊME LIGNE (Inline) */
.encadrement-highlight strong {
    color: #e20d0a;
    font-weight: 700;
    display: inline; /* C'EST ÇA QUI RÉPARE TON PROBLÈME DE VIRGULE */
}

/* 4. LA LISTE DES INCLUSIONS (Pour aligner les ✅) */
.liste-inclus {
    list-style: none; /* Enlève les points noirs moches */
    padding: 0;
    margin: 0;
}

.liste-inclus li {
    margin-bottom: 12px;
    display: flex;        /* Aligne l'emoji et le texte */
    align-items: flex-start;
    gap: 12px;            /* Espace entre ✅ et le texte */
    line-height: 1.5;
    color: #333;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .tarif-principal .prix {
        font-size: 2rem;
    }
    .encadrement-highlight {
        padding: 1.2rem;
    }
}
/* === PREUVES SOCIALES === */

/* Grid des stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: #f9f9f9;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transform: translateY(-4px);
}

.stat-icon {
    font-size: 2.1rem;
    margin-bottom: 0.5rem;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: bold;
    color: #e20d0a;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.4;
}

/* Témoignages mini */
.temoignages-mini {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 3rem 0;
}

.temoignage-card {
    background: #fff;
    border-left: 4px solid #4caf50;
    padding: 1.5rem;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

.temoignage-texte {
    font-style: italic;
    line-height: 1.6;
    color: #333;
    margin-bottom: 1rem;
}

.temoignage-auteur {
    font-size: 0.9rem;
    font-weight: 600;
    color: #666;
    margin: 0;
}

/* CTA équipe */
.cta-equipe {
    text-align: center;
    margin-top: 2rem;
}

/* Responsive */
@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .stat-icon {
        font-size: 2rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .temoignages-mini {
        grid-template-columns: 1fr;
    }
}

/* FORCE LE ROUGE SUR LE COMPTEUR DE PLACES ET LE STATUT COMPLET */

/* 1. On cible le conteneur global */
.am-ec__info-capacity {
    color: #e20d0a !important;
    opacity: 1 !important;
}

/* 2. On cible les chiffres, le texte ET le statut "Complet" */
.am-ec__info-capacity span, 
.am-ec__info-capacity__number, 
.am-ec__info-capacity__text,
.am-ec__info-availability.full { /* Ajout de la cible pour "Complet" */
    color: #e20d0a !important;
    font-weight: 600 !important;
}
/* ============================================
   LES 5 ÉTAPES DU BREVET (Harmonisé avec Liste de Prix)
   ============================================ */

.step-block {
  background: white;
  /* On reprend exactement le style des cartes prix */
  border: 1px solid #f0f0f0; 
  border-radius: 12px;
  padding: 20px 25px; 
  margin: 15px 0;
  box-shadow: 0 4px 10px rgba(0,0,0,0.03);
  
  display: flex;
  gap: 15px; /* Espace entre le numéro et le texte */
  align-items: flex-start;
  transition: all 0.3s ease;
}

.step-block:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(226, 13, 10, 0.1);
    border-color: #e20d0a; /* Petit effet au survol comme les prix */
}

/* Le Numéro (Calibré sur le badge prix) */
.step-number {
  background: #f5f5f5; /* Fond gris clair comme les prix */
  color: #333;         /* Chiffre gris foncé */
  /* Dimensions réduites pour matcher */
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;     /* Taille police harmonisée */
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 2px;     /* Alignement optique avec le titre */
}

/* Option : Le Joker reste spécial */
.step-block:last-child .step-number {
    background-color: #e8f5e9; /* Vert pâle */
    color: #38BB2B;
}

.step-content {
  flex: 1;
}

/* Le Titre (Identique à .price-title) */
.step-content h3 {
  font-size: 1.2rem !important; 
  color: #2c3e50;
  margin: 0 0 8px 0;
  font-weight: 700;
  line-height: 1.3;
}

/* Les infos Méta (Durée/Objectif) */
.step-meta {
  display: flex;
  gap: 15px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.step-meta span {
  font-size: 13px; 
  color: #777;
  font-weight: 600;
  background: #fafafa;
  padding: 4px 8px;
  border-radius: 4px;
  border: 1px solid #eee;
}

/* Le Paragraphe (Identique à .price-details-list) */
.step-content p {
  color: #555;
  line-height: 1.5;
  margin: 0 0 10px 0;
  font-size: 16px !important; /* Force la même taille que la liste de prix */
}

/* Liste à puces dans les étapes (si utilisée) */
.step-content ul li {
    font-size: 16px !important;
    margin-bottom: 5px;
}

/* Le Lien en bas */
.step-link {
  display: inline-block;
  color: #e20d0a; /* Rouge Thalia */
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  margin-top: 5px;
  transition: all 0.2s ease;
}

.step-link:hover {
  color: #c40b08;
}

/* Responsive mobile */
@media (max-width: 768px) {
  .step-block {
    padding: 15px 20px;
    /* On garde l'alignement horizontal (numéro à gauche) car c'est plus propre maintenant que c'est petit */
    flex-direction: row; 
    align-items: flex-start;
  }
  
  .step-content h3 {
    font-size: 1.1rem !important;
  }
  
  .step-content p {
    font-size: 15px !important; /* Un chouia plus petit sur mobile */
  }
}/* --- IMAGE CORRIGÉE --- */
.esprit-image {
    flex: 1;
    position: relative; /* IMPORTANT: C'est le repère pour le badge */
    text-align: center; /* Pour centrer l'image si elle est moins large */
}

.esprit-image img {
    width: 100%;
    max-width: 600px; /* Limite la taille pour pas que ce soit géant */
    border-radius: 20px;
    box-shadow: 10px 10px 0px #f4f4f4; /* Ombre décalée */
    object-fit: cover;
    display: block; /* Évite les espaces fantômes */
    margin: 0 auto; /* Centre l'image */
}

/* Badge flottant CORRIGÉ (Centré en bas) */
.floating-badge {
    position: absolute;
    bottom: -20px; /* Il dépasse un peu vers le bas */
    left: 50%; /* On le place au milieu horizontalement */
    transform: translateX(-50%); /* On le centre parfaitement par rapport à lui-même */
    
    background: white;
    padding: 10px 25px;
    border-radius: 50px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.15); /* Ombre un peu plus marquée */
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap; /* Empêche le texte de passer à la ligne */
    z-index: 10; /* S'assure qu'il est au dessus de tout */
    
    /* Animation douce */
    animation: float 3s ease-in-out infinite;
}

.badge-emoji { font-size: 1.5rem; }
.badge-text { 
    font-weight: 800; 
    color: #222; 
    font-size: 0.9rem; 
    text-transform: uppercase; 
}

/* L'animation de flottement */
@keyframes float {
    0% { transform: translateX(-50%) translateY(0px); }
    50% { transform: translateX(-50%) translateY(-5px); }
    100% { transform: translateX(-50%) translateY(0px); }
}
/* ============================================
   SPOTLIGHT CARD - Version Flexbox (Plus stable)
   ============================================ */

.spotlight-card {
  display: flex;            /* Utilise Flexbox au lieu de Grid */
  flex-direction: row;      /* Force l'alignement horizontal */
  align-items: stretch;     /* Les deux colonnes ont la même hauteur */
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  margin: 3rem 0;
  border: 1px solid #f0f0f0;
}

/* --- COLONNE IMAGE (GAUCHE) --- */
.spotlight-image-col {
  width: 40%;              /* Prend 40% de la largeur */
  position: relative;
  min-height: 400px;       /* Hauteur minimum garantie */
  flex-shrink: 0;          /* Empêche l'image de s'écraser */
}

.spotlight-image-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;       /* L'image remplit tout le cadre proprement */
  display: block;
}

.pilot-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(255, 255, 255, 0.95);
  color: #38BB2B;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.85rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* --- COLONNE TEXTE (DROITE) --- */
.spotlight-content-col {
  width: 60%;              /* Prend le reste de la place */
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center; /* Centre le contenu verticalement */
  text-align: left;        /* FORCE L'ALIGNEMENT À GAUCHE */
}

.spotlight-tag {
  display: block;          /* Force le tag sur sa propre ligne */
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 1px;
  color: #888;
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.spotlight-content-col h3 {
  font-size: 2rem;
  color: #222;
  font-weight: 800;
  margin: 0 0 1.5rem 0;
  line-height: 1.1;
}

.intro-text {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* Citation */
.quote-box {
  background: #f9f9f9;
  border-left: 4px solid #38BB2B;
  padding: 1.5rem;
  border-radius: 0 8px 8px 0;
  margin-bottom: 2rem;
  text-align: left; /* Sécurité supplémentaire */
}

.quote-box p {
  font-style: italic;
  color: #333;
  font-size: 1.05rem;
  line-height: 1.6;
  margin: 0 0 1rem 0;
}

.quote-box cite {
  font-weight: 700;
  color: #38BB2B;
  font-style: normal;
  font-size: 0.9rem;
}

.story-summary {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 0; /* Plus de marge en bas car plus de bouton */
}

/* --- RESPONSIVE MOBILE --- */
@media (max-width: 900px) {
  .spotlight-card {
    flex-direction: column; /* Passe en vertical sur mobile */
  }

  .spotlight-image-col {
    width: 100%;
    height: 300px;
    min-height: auto;
  }

  .spotlight-content-col {
    width: 100%;
    padding: 2rem;
  }
  
  .spotlight-content-col h3 {
    font-size: 1.6rem;
  }
}
.wp-image-21910 {
  aspect-ratio: 348 / 309;
  width: 100%;
  height: auto;
  display: block;
}
/* ============================================
   LISTE DE PRIX THALIA (Style Carte Moderne)
   ============================================ */

.thalia-pricelist-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 800px; /* Largeur idéale pour la lecture */
    margin: 25px auto;
}

/* --- STYLE DE LA CARTE --- */
.thalia-price-card {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    padding: 20px 25px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
    transition: all 0.3s ease;
    text-decoration: none !important; /* Pour les liens */
    color: inherit;
    display: block;
}

/* Effet au survol pour les éléments cliquables */
.thalia-price-card.clickable:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(226, 13, 10, 0.1);
    border-color: #e20d0a;
}

/* --- HEADER (Numéro + Titre + Prix) --- */
.price-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

.header-main {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Le Badge Numéro */
.step-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background-color: #f5f5f5;
    color: #333;
    font-weight: 800;
    border-radius: 50%;
    font-size: 14px;
    flex-shrink: 0;
}

/* Le Titre */
.price-title {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 700;
    color: #2c3e50;
}

/* Le Prix (VERSION VERT CONFIANCE) */
.price-tag {
    font-size: 1.2rem;
    font-weight: 800;
    
    /* --- CHANGEMENT ICI --- */
    color: #38BB2B;       /* Vert Thalia au lieu du rouge */
    background: #e8f5e9;  /* Fond vert très pâle et doux */
    border: 1px solid #c8e6c9; /* Petite bordure subtile pour finir le look */
    
    padding: 6px 14px;
    border-radius: 50px; /* On arrondit plus pour le côté "Badge sympa" */
    white-space: nowrap;
}

.price-tag small {
    font-size: 0.7em;
    font-weight: 600;
    color: #38BB2B;       /* On passe le "/ Vol" en vert aussi */
    opacity: 0.8;
}

/* Optionnel : Si tu veux garder le "Total" différent, tu peux le laisser comme il était ou le passer en bleu foncé */
.total-card .price-tag {
    background-color: #38BB2B; 
    color: #fff;
    border: none;
}

/* --- CORPS DE LA CARTE --- */
.description-intro {
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
    font-size: 16px;
}

.price-details-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.price-details-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 8px;
    font-size: 16px;
    color: #555;
    line-height: 1.5;
}

/* Petite coche verte à la place des puces */
.price-details-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: #38BB2B; /* Vert Thalia */
    font-weight: bold;
}

/* Styles spécifiques pour le texte */
.price-details-list li .highlight {
    color: #e20d0a;
    font-weight: 600;
}

.price-details-list li .notice {
    font-style: italic;
    color: #777;
    font-size: 14px;
}

/* Petit lien "Voir plus" */
.btn-text-link {
    display: inline-block;
    margin-top: 10px;
    font-size: 13px;
    font-weight: 700;
    color: #e20d0a;
    text-transform: uppercase;
}

/* --- CARTE TOTAL (Style spécial) --- */
.thalia-price-card.total-card {
    background-color: #2c3e50; /* Fond foncé pour contraste */
    border: none;
    color: #fff;
}

.total-card .price-title {
    color: #fff;
}

.total-card .price-tag {
    background-color: #38BB2B; /* Vert pour le total (ou garde rouge si tu préfères) */
    color: #fff;
}

/* --- RESPONSIVE MOBILE --- */
@media (max-width: 768px) {
    .price-card-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }
    
    .price-tag {
        align-self: flex-start; /* Aligne le prix à gauche sous le titre */
        margin-left: 47px; /* Aligne sous le texte du titre (32px badge + 15px gap) */
        font-size: 1.1rem;
    }

    .thalia-price-card {
        padding: 15px 20px;
    }
}
/* --- CONTENEUR GLOBAL --- */
.thalia-blog-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    font-family: 'Helvetica', 'Arial', sans-serif; /* À adapter selon ton site */
}

/* --- RECHERCHE (Alignement Flexbox corrigé) --- */
.thalia-search-bar {
    max-width: 600px;
    margin: 0 auto 40px auto;
}

.thalia-search-bar form {
    display: flex; /* Aligne Input et Bouton sur la même ligne */
    gap: 10px;
    align-items: center;
}

.thalia-search-bar input {
    flex-grow: 1; /* Prend toute la place disponible */
    padding: 15px 20px;
    border: 1px solid #ddd;
    border-radius: 6px; /* Coins légèrement arrondis pour l'input */
    font-size: 0.8rem;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
    outline: none;
    transition: border 0.3s;
}

.thalia-search-bar input:focus {
    border-color: #e20d0a;
}

.thalia-search-bar button {
    background: #e20d0a;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 0 25px;
    height: 50px; /* Force la même hauteur que l'input */
    cursor: pointer;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: background 0.3s;
    flex-shrink: 0; /* Empêche le bouton d'être écrasé */
}

.thalia-search-bar button:hover {
    background: #c30b08;
}

/* --- FILTRES (CATÉGORIES) --- */
.thalia-filter-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 50px;
}

.thalia-filter-btn {
    padding: 10px 20px;
    border-radius: 50px;
    border: 1px solid #eee;
    background: #fff;
    color: #e20d0a;
    text-decoration: none;
    font-size: 0.90rem;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.thalia-filter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    background: #e20d0a !important; /* Force le fond rouge */
    color: #ffffff !important;     /* FORCE le texte en blanc au survol */
}

/* État Actif */
.thalia-filter-btn.active {
    background: #e20d0a;
    color: white;
    border-color: #e20d0a;
    box-shadow: 0 4px 12px rgba(226, 13, 10, 0.3);
}

/* --- GRILLE DES ARTICLES --- */
.thalia-blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

/* --- CARTE (CARD) --- */
.thalia-blog-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.thalia-blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

/* --- IMAGE --- */
.blog-img-link {
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
}

.blog-thumb {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: contain; /* L'image entière est visible */
    transition: transform 0.5s ease;
}

.thalia-blog-card:hover .blog-thumb {
    transform: scale(1.05);
}

/* --- CONTENU --- */
.blog-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-meta {
    font-size: 0.75rem;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.blog-date { color: #ccc; }
.blog-cat { color: #e20d0a; }

.blog-title {
    font-size: 1.15rem;
    margin: 0 0 15px 0;
    line-height: 1.4;
    font-weight: 700;
}

.blog-title a {
    color: #222;
    text-decoration: none;
    transition: color 0.2s;
}

.blog-title a:hover { color: #e20d0a; }

.blog-excerpt {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.blog-read-more {
    color: #e20d0a;
    font-weight: 800;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    align-self: flex-start;
    margin-top: auto;
}

.blog-read-more:hover {
    text-decoration: underline;
}

/* ==============================================
   PROPRIÉTÉS SPÉCIFIQUES PAR ÉCRAN
   ============================================== */

/* DESKTOP (Normal) */
@media (min-width: 768px) {
    .blog-img-link {
        aspect-ratio: 3 / 2; /* Ratio rectangulaire classique */
    }
}

/* MOBILE (Version Compacte Horizontale) */
@media (max-width: 767px) {
    /* Transforme la grille en liste simple */
    .thalia-blog-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
    }

    /* La carte devient horizontale */
    .thalia-blog-card {
        flex-direction: row !important;
        height: 100px !important; /* Hauteur fixe compacte */
        align-items: center !important;
        padding: 8px !important;
    }

    /* L'image devient un petit carré à gauche */
    .blog-img-link {
        width: 80px !important;
        height: 80px !important;
        flex: 0 0 80px !important; /* Fixe la taille */
        aspect-ratio: 1 / 1 !important;
        border-radius: 8px !important;
        margin-right: 12px !important;
    }

    .blog-thumb {
        object-fit: cover !important; /* Remplit tout le carré */
        width: 100% !important;
        height: 100% !important;
    }

    /* Contenu simplifié */
    .blog-content {
        padding: 0 !important;
        justify-content: center !important;
    }

    /* Titre optimisé */
    .blog-title {
        font-size: 14px !important;
        margin: 0 !important;
        line-height: 1.3 !important;
        /* Coupe le texte après 2 lignes proprement */
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    /* Masque les éléments inutiles sur mobile pour gagner de la place */
    .blog-excerpt, 
    .blog-read-more, 
    .blog-date {
        display: none !important;
    }

    .blog-meta {
        margin-bottom: 4px !important;
        font-size: 10px !important;
    }
}

/* --- PAGINATION --- */
.thalia-pagination {
    margin-top: 60px;
    text-align: center;
}

.thalia-pagination .page-numbers {
    display: inline-block;
    padding: 12px 20px;
    margin: 0 5px;
    background: white;
    border: 1px solid #eee;
    color: #333;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
}

.thalia-pagination .page-numbers.current,
.thalia-pagination .page-numbers:hover {
    background: #e20d0a;
    color: white;
    border-color: #e20d0a;
}

.thalia-no-results {
    text-align: center;
    padding: 60px;
    background: #f9f9f9;
    border-radius: 12px;
    grid-column: 1 / -1;
}
/* ==========================================================================
   BOUTONS LOGIN / LOGOUT (PORTAIL ÉLÈVES)
   ========================================================================== */

.login-button, 
.logout-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    
    /* On reprend ton design "Pill" */
    padding: 12px 28px; 
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none !important;
    border-radius: 50px;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

/* ============================================================
   BOUTON CONNEXION (Action Principale - Focus)
   ============================================================ */
.login-button {
    background-color: #e20d0a !important;
    color: #ffffff !important;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    border: none;
    box-shadow: 0 4px 15px rgba(226, 13, 10, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.login-button:hover {
    background-color: #c40b08 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(226, 13, 10, 0.5);
    animation: none; /* Stoppe l'anim au survol pour la précision */
}

/* ============================================================
   BOUTON DÉCONNEXION (Action Secondaire - Discret)
   ============================================================ */
.logout-button {
    background-color: transparent !important;
    color: #888 !important; /* Gris neutre */
    border: 1px solid #ddd !important;
    padding: 6px 14px !important; /* Plus petit */
    font-size: 13px !important; /* Texte réduit */
    border-radius: 50px;
    text-decoration: none;
    display: inline-block;
    box-shadow: none !important; /* Pas de relief pour ne pas attirer l'oeil */
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.logout-button:hover {
    background-color: #fff1f0 !important; /* Teinte rouge très légère */
    color: #e20d0a !important; 
    border-color: #e20d0a !important;
    box-shadow: 0 2px 8px rgba(226, 13, 10, 0.1) !important;
}

/* ============================================================
   ANIMATION & RESPONSIVE
   ============================================================ */


@media (max-width: 767px) {
    .login-button {
        width: 100%; /* Le bouton principal prend la place en mobile */
        padding: 15px 20px;
        font-size: 14px;
        text-align: center;
    }

    .logout-button {
        width: auto !important; /* Le bouton déconnexion reste petit */
        display: block;
        margin: 15px auto; /* Centré proprement */
        text-align: center;
        max-width: fit-content;
    }
}
/* Cache le texte pour les robots/lecteurs d'écran sans casser le SEO */
.screen-reader-text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
/* === CACHE UNIQUEMENT LES BLOCS DE DONNÉES GOOGLE (JSON-LD) === */
/* Utilise :has() pour détecter si le widget contient un script de données structurées */
.elementor-widget-html:has(script[type="application/ld+json"]) {
    height: 0 !important;
    width: 0 !important;
    padding: 0 !important; /* Annule le padding de 10px global */
    margin: 0 !important;
    overflow: hidden !important;
    position: absolute !important; /* Le sort du flux pour qu'il ne pousse rien */
    z-index: -1;
}

/* --- INTEGRATION CSS WIDGET TOGGLE (Optimisation Perf) --- */
.elementor-tab-title a { color: inherit; }
.elementor-toggle { text-align: start; }
.elementor-toggle .elementor-tab-title { border-block-end: 1px solid #d5d8dc; cursor: pointer; font-weight: 700; line-height: 1; margin: 0; outline: none; padding: 15px; }
.elementor-toggle .elementor-tab-title .elementor-toggle-icon { display: inline-block; width: 1em; }
.elementor-toggle .elementor-tab-title .elementor-toggle-icon svg { height: 1em; margin-inline-start: -5px; width: 1em; }
.elementor-toggle .elementor-tab-title .elementor-toggle-icon.elementor-toggle-icon-right { float: right; text-align: right; }
.elementor-toggle .elementor-tab-title .elementor-toggle-icon.elementor-toggle-icon-left { float: left; text-align: left; }
.elementor-toggle .elementor-tab-title .elementor-toggle-icon .elementor-toggle-icon-closed { display: block; }
.elementor-toggle .elementor-tab-title .elementor-toggle-icon .elementor-toggle-icon-opened { display: none; }
.elementor-toggle .elementor-tab-title.elementor-active { border-block-end: none; }
.elementor-toggle .elementor-tab-title.elementor-active .elementor-toggle-icon-closed { display: none; }
.elementor-toggle .elementor-tab-title.elementor-active .elementor-toggle-icon-opened { display: block; }
.elementor-toggle .elementor-tab-content { border-block-end: 1px solid #d5d8dc; display: none; padding: 15px; }

@media (max-width: 767px) {
    .elementor-toggle .elementor-tab-title { padding: 12px; }
    .elementor-toggle .elementor-tab-content { padding: 12px 10px; }
}

.e-con-inner > .elementor-widget-toggle,
.e-con > .elementor-widget-toggle {
    width: var(--container-widget-width, 100%); /* Fallback ajouté par sécurité */
    --flex-grow: var(--container-widget-flex-grow);
}
/* =========================================
   MENU NAVIGATION PERSONNALISÉ (THALIA)
   ========================================= */

/* 1. GÉNÉRAL DESKTOP */
.thalia-vanilla-nav {
    font-family: 'Rubik', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
}

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

.thalia-menu-list li { position: relative; }

.thalia-menu-list > li > .nav-link, 
.thalia-menu-list > li > .link-wrapper > .nav-link {
    text-decoration: none;
    color: #ffffff !important; 
    font-weight: 600; font-size: 14px;
    text-transform: uppercase !important;
    letter-spacing: 1px; padding: 0px 5px; display: block;
}

.thalia-menu-list > li > .nav-link:not(.cta-eleve):not(.cta-cadeau):hover, 
.thalia-menu-list > li > .link-wrapper > .nav-link:hover {
    color: #e20d0a !important; 
}

/* SOUS-MENUS DESKTOP */
.dropdown-toggle { display: none; }
.sub-menu {
    display: none; position: absolute; top: 115%; left: 0;
    background: #ffffff; min-width: 240px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    padding: 10px 0; border-top: 3px solid #e20d0a;
    z-index: 999; list-style: none; text-align: left;
}

.sub-menu a {
    display: block; padding: 10px 20px;
    color: #333333 !important; text-decoration: none;
    font-size: 15px; border-bottom: 1px solid #f5f5f5;
    font-weight: 500; text-transform: none !important;
    transition: all 0.2s ease;
}

.sub-menu a:hover { color: #e20d0a !important; padding-left: 25px; background: #fafafa; }

.highlight-link { 
    color: #e20d0a !important; 
    font-weight: 700 !important; 
    background-color: transparent !important; 
}

/* === MODIFICATION : Passage à 1200px et centrage sans casse === */
@media (min-width: 1200px) {
    .thalia-vanilla-nav { 
        display: flex;
        justify-content: center;
        width: 100%;
        /* Décalage vers la gauche pour ignorer le logo */
        transform: translateX(-80px); 
    }
    
    .thalia-menu-list { gap: 15px; } 
    
    .sub-menu {
        display: block !important; opacity: 0; visibility: hidden;
        transform: translateY(10px); transition: all 0.3s ease;
        transition-delay: 0.3s; 
    }
    .has-child:hover > .sub-menu {
        opacity: 1; visibility: visible; transform: translateY(0); transition-delay: 0s; 
    }
    .sub-menu .has-child > .sub-menu { top: 0; left: 100%; margin-top: -3px; }
    .has-child > .link-wrapper > a::after, .sub-menu .has-child > .link-wrapper > a::after {
        content: ' ▼'; font-size: 9px; margin-left: 6px; vertical-align: middle;
        opacity: 0.7; transition: transform 0.3s; display: inline-block;
    }
    .has-child:hover > .link-wrapper > a::after { transform: rotate(180deg); opacity: 1; color: #e20d0a; }
    .sub-menu .has-child > .link-wrapper > a::after { content: ' ▶'; font-size: 8px; }
}

/* BOUTONS CTA (DESKTOP & BASE) */
nav.thalia-vanilla-nav .thalia-menu-list > li > a.nav-link.cta-eleve,
nav.thalia-vanilla-nav .thalia-menu-list > li > a.nav-link.cta-cadeau {
    display: inline-block !important;
    padding: 5px 15px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    border-radius: 50px !important;
    margin: 0 !important;
}

nav.thalia-vanilla-nav .thalia-menu-list > li > a.nav-link.cta-eleve {
    background-color: #ffffff !important; 
    color: #000000 !important;
    border: 1px solid #fff !important;
}
nav.thalia-vanilla-nav .thalia-menu-list > li > a.nav-link.cta-eleve:hover { 
    background-color: #e20d0a !important; color: #ffffff !important; border-color: #e20d0a !important; 
}

nav.thalia-vanilla-nav .thalia-menu-list > li > a.nav-link.cta-cadeau {
    background-color: #e20d0a !important; 
    color: #ffffff !important;
    border: 1px solid #e20d0a !important;
}
nav.thalia-vanilla-nav .thalia-menu-list > li > a.nav-link.cta-cadeau:hover { 
    background-color: #ffffff !important; color: #e20d0a !important; border-color: #ffffff !important; 
}

/* CHEVRON SVG — animation rotation */
.chevron-icon {
    transition: transform 0.3s ease;
}
.dropdown-toggle[aria-expanded="true"] .chevron-icon {
    transform: rotate(180deg);
}

/* === MOBILE & TABLETTE (Déclenchement à 1199px) === */
.thalia-burger { display: none; }

@media (max-width: 1199px) {
    .thalia-burger {
        display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
        width: 45px; height: 45px; border-radius: 50%;
        background-color: #e20d0a; border: 1px solid rgba(255,255,255,0.2);
        cursor: pointer; z-index: 1001; margin-left: auto; padding: 0;
    }
    .bar { width: 24px; height: 2px; background-color: #ffffff; transition: 0.3s; }
    
    .thalia-burger.is-active .top { transform: translateY(7px) rotate(45deg); }
    .thalia-burger.is-active .middle { opacity: 0; }
    .thalia-burger.is-active .bottom { transform: translateY(-7px) rotate(-45deg); }

    .thalia-menu-list {
        position: fixed; top: 64px; left: 0; width: 100vw; height: calc(100vh - 64px);
        background-color: #111111 !important; flex-direction: column;
        transform: translateX(100%); transition: transform 0.4s ease-out;
        border-top: 1px solid #333; overflow-y: auto; padding: 30px 0 100px 0;
    }
    .thalia-menu-list.is-open { transform: translateX(0); }
    .thalia-menu-list li { width: 100%; border-bottom: 1px solid #222; }

    .link-wrapper { display: flex; align-items: stretch; width: 100%; }

    /* ZONE TACTILE PLEINE LARGEUR */
    .thalia-menu-list li a.nav-link, 
    .thalia-menu-list li .link-wrapper .nav-link { 
        flex: 1; display: flex; align-items: center;
        padding: 18px 20px !important; color: #ffffff !important;
        text-transform: uppercase !important; font-weight: 600; 
        font-size: 16px !important; 
    }
    .thalia-menu-list li a:active, .thalia-menu-list li a:hover { background-color: #222 !important; }

    /* CTAs MOBILE (Surcharge parfaite pour les 2 boutons) */
    nav.thalia-vanilla-nav .thalia-menu-list > li > a.nav-link.cta-eleve,
    nav.thalia-vanilla-nav .thalia-menu-list > li > a.nav-link.cta-cadeau {
        flex: none !important; 
        display: inline-block !important; 
        width: auto !important;
        margin: 15px 20px !important; 
        padding: 10px 25px !important; 
        font-size: 14px !important; 
        text-align: center !important;
    }

    nav.thalia-vanilla-nav .thalia-menu-list > li > a.nav-link.cta-eleve:active {
        background-color: #e20d0a !important; color: #ffffff !important; border-color: #e20d0a !important;
    }
    nav.thalia-vanilla-nav .thalia-menu-list > li > a.nav-link.cta-cadeau:active {
        background-color: #ffffff !important; color: #e20d0a !important; border-color: #ffffff !important;
    }

    /* DROPDOWN TOGGLE — surcharge forcée du thème */
    nav.thalia-vanilla-nav button.dropdown-toggle,
    .thalia-vanilla-nav .link-wrapper > button.dropdown-toggle,
    button.dropdown-toggle {
        display: flex; 
        align-items: center; 
        justify-content: center;
        width: 60px; 
        min-height: 55px; 
        cursor: pointer;
        border: none !important;
        border-left: 1px solid #222 !important; 
        background: none !important;
        background-color: transparent !important;
        background-image: none !important;
        color: #ffffff !important; 
        opacity: 0.5;
        font-size: 14px;
        outline: none !important;
        box-shadow: none !important;
        transition: opacity 0.2s, background-color 0.15s;
        -webkit-appearance: none;
        appearance: none;
    }
    nav.thalia-vanilla-nav button.dropdown-toggle:hover,
    nav.thalia-vanilla-nav button.dropdown-toggle:active,
    nav.thalia-vanilla-nav button.dropdown-toggle:focus {
        opacity: 1;
        background: rgba(255,255,255,0.05) !important;
        background-color: rgba(255,255,255,0.05) !important;
    }
    nav.thalia-vanilla-nav button.dropdown-toggle[aria-expanded="true"] {
        opacity: 1;
        background: transparent !important;
        background-color: transparent !important;
    }

    .sub-menu {
        position: static; background-color: #1a1a1a !important; display: none; width: 100%;
        border-left: 4px solid #e20d0a; border-top: none; box-shadow: none;
    }
    .sub-menu.sub-open { display: block; }
    
    /* SOUS-MENU NIVEAU 2 */
    .sub-menu li a { 
        padding: 16px 20px 16px 40px !important; 
        font-size: 16px; text-transform: none !important; 
        color: #eeeeee !important; 
        border-bottom: 1px solid #2a2a2a;
    }
    
    /* SOUS-SOUS-MENU NIVEAU 3 */
    .sub-menu .sub-menu { background-color: #1f1f1f !important; border-left: none; }
    .sub-menu .sub-menu li a { 
        padding-left: 60px !important; 
        font-size: 15px; 
        color: #dddddd !important; 
        border-bottom: 1px solid #252525;
    }
}
/* === BODY FIX === */
body {
    min-height: 100vh;
    display: block;
}
/* === TYPOGRAPHIE === */
.scheme_default h1, .scheme_default h2, .scheme_default h3, .scheme_default h4, .scheme_default h5, .scheme_default h6 {
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: manual;
}
.woocommerce-loop-product__title a {
    color: #000000 !important;
}
.woocommerce .woocommerce-form__label input[type=checkbox].woocommerce-form__input, .gdpr-terms-container input[type=checkbox] {
    display: none;
}
.woocommerce-page.woocommerce-checkout .col2-set .col-1 {
    float: none !important;
    width: 100% !important;
}
.woocommerce-ordering {
    display: none;
}
@media (max-width: 768px) {
    .related.products > h2, .up-sells > h2 {
        font-size: 1.1em;
    }
}

/* --- CSS DÉDIÉ FOOTER DISTRIBUTEURS --- */
#thalia-distrib-footer {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    font-family: 'Rubik', sans-serif;
    color: #444;
    margin-bottom: -30px !important;
}

#thalia-distrib-footer * {
    box-sizing: border-box;
}

/* TITRES LOGOS FOOTER, SANS BALISE HN */
#thalia-distrib-footer .thalia-footer-logo-heading {
    display: block;
    width: 100%;
    text-align: center;
    margin: 40px 0 25px 0;
    padding: 0;
    font-family: 'Rubik', sans-serif;
    font-size: 0.85rem;
    line-height: 1.3;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #555555;
}

/* TITRE PARTENAIRES */
#thalia-distrib-footer .thalia-footer-logo-heading-dark {
    color: #222222;
    letter-spacing: 1.5px;
    font-weight: 800;
}

/* CONTENEUR FLEX GÉNÉRAL */
#thalia-distrib-footer .tdf-flex-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 40px;
    align-items: center;
}

#thalia-distrib-footer .tdf-flex-container:last-child {
    margin-bottom: 0 !important;
}

/* ITEM DE BASE */
#thalia-distrib-footer .tdf-item {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background: transparent;
    transition: all 0.3s ease;
    padding: 5px;
    height: 50px;
    min-width: 80px;
}

/* STYLE DISTRIBUTEURS */
#thalia-distrib-footer .tdf-item img {
    max-height: 35px;
    max-width: 140px;
    width: auto;
    height: auto;
    object-fit: contain;
    opacity: 0.5;
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

#thalia-distrib-footer .tdf-item:hover img {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.15);
}

/* STYLE SPÉCIFIQUE PARTENAIRES */
#thalia-distrib-footer .tdf-partners .tdf-item img {
    max-height: 60px !important;
    max-width: 180px !important;
    opacity: 1 !important;
    filter: none !important;
}

#thalia-distrib-footer .tdf-partners .tdf-item:hover img {
    transform: scale(1.1);
}

/* MOBILE */
@media (max-width: 768px) {
    #thalia-distrib-footer .thalia-footer-logo-heading {
        margin: 35px 0 22px 0;
        font-size: 0.8rem;
        letter-spacing: 1.6px;
    }

    #thalia-distrib-footer .tdf-flex-container {
        gap: 20px;
    }

    #thalia-distrib-footer .tdf-item {
        height: 40px;
    }

    #thalia-distrib-footer .tdf-item img {
        max-height: 25px;
        max-width: 100px;
    }

    #thalia-distrib-footer .tdf-partners .tdf-item img {
        max-height: 45px !important;
        max-width: 140px !important;
    }
}

/* --- CSS DÉDIÉ FOOTER DARK MODE (FINAL COMPACT) --- */
#thalia-footer-bottom {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    font-family: 'Rubik', sans-serif;
    box-sizing: border-box;
    color: #ffffff;
    /* --- ASTUCE HAUT : Supprime l'espace au-dessus du footer --- */
    margin-top: -20px !important;
}

#thalia-footer-bottom * {
    box-sizing: border-box;
}

/* Grille Principale */
#thalia-footer-bottom .tfb-grid {
    display: grid;
    grid-template-columns: 1fr; /* Mobile : 1 colonne */
    gap: 30px;
    align-items: start;
    padding-top: 20px;
    padding-bottom: 10px;
    border-top: 1px solid #333333;
    margin-top: 0;
}

/* --- COLONNES --- */
#thalia-footer-bottom .tfb-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
}

/* --- LOGO --- */
#thalia-footer-bottom .tfb-logo {
    display: block;
    max-width: 245px;
    height: auto;
    margin-bottom: 0;
    opacity: 1;
}

/* --- SITES DE VOL --- */
#thalia-footer-bottom .tfb-sites {
    display: block;
    margin: 12px 0 0 0 !important;
    font-size: 1rem;
    color: #bbbbbb;
    line-height: 1.5;
}

#thalia-footer-bottom .tfb-sites span {
    display: inline-block;
    margin: 6px 10px 0 0;
    padding: 3px 8px;
    border: 1px solid #333;
    border-radius: 20px;
    font-size: 0.8rem;
    color: #cccccc;
}

/* --- MENU (CENTRE) --- */
#thalia-footer-bottom .tfb-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

#thalia-footer-bottom .tfb-links a {
    text-decoration: none;
    color: #cccccc !important;
    font-weight: 500;
    font-size: 1.1rem;
    display: inline-block;
}

/* --- LE HOVER SIMPLE --- */
#thalia-footer-bottom .tfb-links a:hover {
    color: #e20d0a !important;
}

/* --- TEXTES & CONTACT (DROITE) --- */
#thalia-footer-bottom .tfb-text-block {
    font-size: 1rem;
    line-height: 1.6;
    color: #bbbbbb;
    margin-bottom: 15px;
}

#thalia-footer-bottom .tfb-text-block strong {
    color: #ffffff;
    font-size: 1.1rem;
}

/* Téléphones */
#thalia-footer-bottom .tfb-text-block a {
    color: #ffffff !important;
    font-weight: 700;
    text-decoration: none;
}

#thalia-footer-bottom .tfb-text-block a:hover {
    color: #e20d0a !important;
}

/* --- RÉSEAUX SOCIAUX --- */
#thalia-footer-bottom .tfb-social-icons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 5px;
}

#thalia-footer-bottom .tfb-social-icons img {
    width: 50px;
    height: 50px;
    transition: transform 0.3s ease;
}

#thalia-footer-bottom .tfb-social-icons a:hover img {
    transform: scale(1.1);
}

/* --- COPYRIGHT (ZONE MODIFIÉE) --- */
#thalia-footer-bottom .tfb-socket {
    width: 100%;
    text-align: center;
    border-top: 1px solid #222;
    padding-top: 10px;
    padding-bottom: 5px;
    margin-bottom: -35px !important;
    font-size: 0.75rem;
    color: #999;
    margin-top: 0;
}

/* --- DESKTOP (3 Colonnes) --- */
@media (min-width: 768px) {
    #thalia-footer-bottom .tfb-grid {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 40px;
    }

    #thalia-footer-bottom .tfb-col-left {
        align-items: flex-start;
        text-align: left;
    }

    #thalia-footer-bottom .tfb-logo {
        margin-left: -5px;
    }

    #thalia-footer-bottom .tfb-col-center {
        align-items: center;
    }

    #thalia-footer-bottom .tfb-links {
        text-align: center;
    }

    #thalia-footer-bottom .tfb-col-right {
        align-items: flex-end;
        text-align: right;
    }

    #thalia-footer-bottom .tfb-social-icons {
        justify-content: flex-end;
    }

    #thalia-footer-bottom .tfb-col-left .tfb-sites {
        text-align: left;
    }
}

/* Désactiver les clics sur les tags Thalia */
.post_meta_item.post_tags a {
    pointer-events: none; /* Empêche le clic */
    cursor: default;     /* Curseur flèche normal au lieu de la main */
    color: inherit;      /* Garde la couleur du texte parent */
    text-decoration: none; /* Enlève le soulignement si présent */
}

/* Optionnel : masquer le mot "Tags:" pour plus de légèreté */
/* .post_meta_label { display: none; } */

/* === NEUTRALISATION ANCIEN MENU MOBILE THEMEREX === */
.menu_mobile,
.menu_mobile_overlay {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
}
@media only screen and (max-width: 768px) {
    /* Titres dans la grille/liste des produits (H2) */
    h2.woocommerce-loop-product__title,
    h2.woocommerce-loop-product__title a {
        font-size: 1.125em !important;
    }
}

@media only screen and (max-width: 768px) {
    /* Règle UNIQUE pour le titre H1 de la fiche produit */
    .woocommerce div.product h1.product_title.entry-title {
        font-size: 1.5em !important; /* Changez cette valeur pour ajuster SEULEMENT ce titre */
        line-height: 1.2 !important;   /* Ajuste l'espace entre les lignes si le titre est sur 2 lignes */
    }
}

/* =======================================================
   ESPACEMENT TITRES TRX
   ======================================================= */

/* Desktop */
.elementor-widget-trx_sc_title {
    padding-top: 40px !important;
}

.elementor-widget-trx_sc_title h1.sc_item_title,
.elementor-widget-trx_sc_title h2.sc_item_title,
.elementor-widget-trx_sc_title h3.sc_item_title,
.elementor-widget-trx_sc_title h4.sc_item_title,
.elementor-widget-trx_sc_title h5.sc_item_title,
.elementor-widget-trx_sc_title h6.sc_item_title {
    margin-top: 0 !important;
}

.elementor-widget-trx_sc_title h1.sc_item_title {
    margin-bottom: 20px !important;
    line-height: 1.2 !important;
}

.elementor-widget-trx_sc_title h2.sc_item_title {
    margin-bottom: 20px !important;
}

.elementor-widget-trx_sc_title h3.sc_item_title,
.elementor-widget-trx_sc_title h4.sc_item_title,
.elementor-widget-trx_sc_title h5.sc_item_title,
.elementor-widget-trx_sc_title h6.sc_item_title {
    margin-bottom: 15px !important;
}

/* Mobile */
@media (max-width: 768px) {
    .elementor-widget-trx_sc_title {
        padding-top: 35px !important;
    }

    .elementor-widget-trx_sc_title h1.sc_item_title {
        margin-bottom: 15px !important;
        line-height: 1.25 !important;
    }

    .elementor-widget-trx_sc_title h2.sc_item_title {
        margin-bottom: 15px !important;
    }

    .elementor-widget-trx_sc_title h3.sc_item_title,
    .elementor-widget-trx_sc_title h4.sc_item_title,
    .elementor-widget-trx_sc_title h5.sc_item_title,
    .elementor-widget-trx_sc_title h6.sc_item_title {
        margin-bottom: 12px !important;
    }
}
/* =========================================
   ARTICLES SIMILAIRES (CRP PLUGIN)
   ========================================= */

/* Le conteneur principal */
.crp_related {
    margin: 60px 0 40px 0; /* Bel espace pour respirer après l'article */
    font-family: 'Rubik', sans-serif;
    clear: both;
}

/* Le titre de la section ("À lire aussi...") */
.crp_related h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #2c3e50; /* CORRIGÉ */
    margin-bottom: 25px;
    padding-left: 15px;
    border-left: 4px solid #e20d0a; /* Le petit liseré rouge Thalia */
}

/* La grille d'articles */
.crp_related ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 colonnes égales */
    gap: 25px; /* Espace entre les cartes */
}

/* Design de la carte (Card) */
.crp_related li {
    margin: 0 !important;
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden; /* Pour que l'image respecte les bords arrondis */
    box-shadow: 0 4px 15px rgba(0,0,0,0.06); /* Ombre douce et moderne */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

/* Animation au survol de la carte (Lévitation) */
.crp_related li:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

/* Le lien englobe toute la carte */
.crp_related li a {
    text-decoration: none !important;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* L'image (Miniature) */
.crp_related img {
    width: 100% !important;
    height: 180px !important;
    object-fit: cover !important; /* L'image remplit la boîte sans se déformer */
    display: block;
    margin: 0 !important;
    border: none !important;
    transition: transform 0.5s ease; /* Animation fluide */
}

/* Effet de zoom très léger sur l'image au survol */
.crp_related li:hover img {
    transform: scale(1.05);
}

/* Conteneur du titre (Masque le débordement du zoom image) */
.crp_related .crp_title {
    display: block;
    padding: 20px 15px;
    font-weight: 600;
    font-size: 1.05rem;
    line-height: 1.4;
    color: #2c3e50; /* CORRIGÉ */
    transition: color 0.3s ease;
    background-color: #ffffff;
    position: relative; /* Par dessus l'image */
    z-index: 2;
    flex-grow: 1; /* Pousse le texte pour remplir la carte si titres inégaux */
}

/* Le titre devient rouge Thalia au survol */
.crp_related li:hover .crp_title {
    color: #e20d0a;
}

/* =========================================
   RESPONSIVE (Mobile & Tablette)
   ========================================= */

@media (max-width: 992px) {
    /* Sur tablette, on passe à 2 colonnes (le 3e passe en dessous) */
    .crp_related ul {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    /* Sur téléphone, on passe à 1 seule colonne */
    .crp_related ul {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .crp_related img {
        height: 200px !important; /* Un peu plus grand sur mobile pour l'impact visuel */
    }
}

/* Supprime l'espace des widgets ancre Elementor dans les conteneurs flex */
.e-con-inner > .elementor-widget-menu-anchor {
    position: absolute !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    pointer-events: none !important;
}
/* === MOBILE : TAILLE DES CHAMPS DE FORMULAIRE === */
@media (max-width: 767px) {
    input[type="text"],
    input[type="number"],
    input[type="email"],
    input[type="url"],
    input[type="tel"],
    input[type="search"],
    input[type="password"],
    textarea,
    textarea.wp-editor-area,
    .select_container,
    select,
    .select_container select,
    .woocommerce table.cart td.actions .coupon .input-text,
    .woocommerce #content table.cart td.actions .coupon .input-text,
    .woocommerce-page table.cart td.actions .coupon .input-text,
    .woocommerce-page #content table.cart td.actions .coupon .input-text,
    .select2-container.select2-container--default span.select2-choice,
    .select2-container.select2-container--default span.select2-selection,
    .woocommerce form .form-row .input-text,
    .woocommerce form .form-row select {
        font-size: 14px !important;
    }
}

/* === DESKTOP : TAILLE DES CHAMPS DE FORMULAIRE === */
@media (min-width: 768px) {
    input[type="text"],
    input[type="number"],
    input[type="email"],
    input[type="url"],
    input[type="tel"],
    input[type="search"],
    input[type="password"],
    textarea,
    textarea.wp-editor-area,
    .select_container,
    select,
    .select_container select,
    .woocommerce table.cart td.actions .coupon .input-text,
    .woocommerce #content table.cart td.actions .coupon .input-text,
    .woocommerce-page table.cart td.actions .coupon .input-text,
    .woocommerce-page #content table.cart td.actions .coupon .input-text,
    .select2-container.select2-container--default span.select2-choice,
    .select2-container.select2-container--default span.select2-selection,
    .woocommerce form .form-row .input-text,
    .woocommerce form .form-row select {
        font-size: 16px !important;
    }
}
