/* Section eyebrows share the "Pour commencer" type scale, including shortcodes. */
.lu-eyebrow-wrap .lu-eyebrow-text {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 30px !important;
    font-weight: 700;
    flex: 0 1 auto !important;
    min-width: 0;
    white-space: normal !important;
    overflow-wrap: anywhere;
}
@media (max-width: 767px) {
    .lu-eyebrow-wrap .lu-eyebrow-text { font-size: 16px !important; }
}
/* Classes VintWood standalone pour Elementor (Atomic + Classic) */
.cws_textmodule_title,
.cws_textmodule_title .elementor-heading-title,
h2.cws_textmodule_title,
h2.cws_textmodule_title.e-heading-base {
    --padding-inline-start: 0px;
    --padding-left: 0px;
    font-size: 175px !important;
    font-weight: 600 !important;
    line-height: 0.9 !important;
    margin: 0 0 20px !important;
    padding: 0 !important;
    padding-inline-start: 0 !important;
    margin-inline-start: 0 !important;
    text-shadow: 5px 6px 0 #a9c9bb !important;
}
@media (max-width: 1199px) {
    .cws_textmodule_title,
    .cws_textmodule_title .elementor-heading-title,
    h2.cws_textmodule_title,
    h2.cws_textmodule_title.e-heading-base {
        font-size: 120px !important;
        text-shadow: 4px 5px 0 #a9c9bb !important;
    }
}
@media (max-width: 767px) {
    .cws_textmodule_title,
    .cws_textmodule_title .elementor-heading-title,
    h2.cws_textmodule_title,
    h2.cws_textmodule_title.e-heading-base {
        font-size: 60px !important;
        text-shadow: 2px 3px 0 #a9c9bb !important;
        line-height: 1 !important;
    }
}

/* Variante pour fonds sombres/verts — texte crème, shadow teal foncé */
.cws_textmodule_title--sombre,
.cws_textmodule_title--sombre .elementor-heading-title,
h2.cws_textmodule_title.cws_textmodule_title--sombre,
h2.e-heading-base.cws_textmodule_title--sombre {
    color: #e9e4dc !important;
    text-shadow: 5px 6px 0 #487d79 !important;
}
@media (max-width: 1199px) {
    .cws_textmodule_title--sombre,
    .cws_textmodule_title--sombre .elementor-heading-title {
        text-shadow: 4px 5px 0 #487d79 !important;
    }
}
@media (max-width: 767px) {
    .cws_textmodule_title--sombre,
    .cws_textmodule_title--sombre .elementor-heading-title {
        text-shadow: 2px 3px 0 #487d79 !important;
    }
}

/* Variante pour fonds colorés */
.cws_textmodule_title--light,
.cws_textmodule_title--light .elementor-heading-title,
h2.cws_textmodule_title.cws_textmodule_title--light,
h2.cws_textmodule_title.e-heading-base.cws_textmodule_title--light {
    text-shadow: 5px 6px 0 #b3603b !important;
    color: #e9e4dc !important;
}

/* Variante alignement gauche */
.cws_textmodule_title--left,
.cws_textmodule_title--left .elementor-heading-title,
h2.cws_textmodule_title.cws_textmodule_title--left,
h2.e-heading-base.cws_textmodule_title--left {
    text-align: left !important;
}

/* Correctif décalage gauche font bearing (Barlow Condensed grands titres) */
.lu-title-fix,
h2.cws_textmodule_title.lu-title-fix,
h2.e-heading-base.lu-title-fix {
    margin-left: -10px !important;
    margin-inline-start: -10px !important;
}

/* Sous-titre avec lignes latérales */
.cws_textmodule_subtitle,
.cws_textmodule_subtitle .elementor-heading-title {
    font-size: 24px !important;
    font-weight: 700 !important;
    letter-spacing: 0.05em !important;
    text-transform: uppercase !important;
    color: #224a49 !important;
    text-align: center !important;
    display: block !important;
    width: 100% !important;
    background-image:
        linear-gradient(#224a49, #224a49),
        linear-gradient(#224a49, #224a49) !important;
    background-size: 25% 2px !important;
    background-position: left center, right center !important;
    background-repeat: no-repeat !important;
}

/* Bandeau texte vert texturé avec triangles aux coins */
.cws_textmodule_banner,
.cws_textmodule_banner .elementor-heading-title {
    position: relative !important;
    display: inline-block !important;
    padding: 0 60px !important;
    background-color: #224a49 !important;
    background-image: url('/wp-content/themes/vintwood/img/patterns/green-dust-and-scratches.png') !important;
    background-position: center 65% !important;
    color: #fff !important;
    font-size: 45px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
}
.cws_textmodule_banner::before,
.cws_textmodule_banner .elementor-heading-title::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 0 16px 29px;
    border-color: transparent transparent #224a49 transparent;
    filter: brightness(0.65);
}
.cws_textmodule_banner::after,
.cws_textmodule_banner .elementor-heading-title::after {
    content: '';
    position: absolute;
    bottom: 100%;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 29px 16px 0;
    border-color: transparent transparent #224a49 transparent;
    filter: brightness(0.65);
}

/* Fond texturé vert collé au texte */
.lu-bg-vert {
    background-color: #517D72 !important;
    background-image: url('/wp-content/themes/vintwood/img/patterns/green-dust-and-scratches.png') !important;
    color: #fff !important;
    padding: 5px 12px !important;
    line-height: 1.7 !important;
    display: inline-block !important;
    width: fit-content !important;
    max-width: 100% !important;
}

/* Titre surligné rouge texturé — Heading widget Atomic (classe sur le h2 lui-même) */
h1.lu-titre-rouge, h2.lu-titre-rouge, h3.lu-titre-rouge,
h4.lu-titre-rouge, h5.lu-titre-rouge, h6.lu-titre-rouge,
.lu-titre-rouge.e-heading-base {
    background: none !important;
    color: #e9e4dc !important;
    padding: 0 !important;
    align-self: flex-start !important;
    width: fit-content !important;
}
/* Surlignage ligne par ligne via les <strong> à l'intérieur */
h1.lu-titre-rouge strong, h2.lu-titre-rouge strong, h3.lu-titre-rouge strong,
h4.lu-titre-rouge strong, h5.lu-titre-rouge strong, h6.lu-titre-rouge strong,
.lu-titre-rouge.e-heading-base strong {
    display: inline !important;
    -webkit-box-decoration-break: clone !important;
    box-decoration-break: clone !important;
    background-color: #e53e26 !important;
    background-image: url('/wp-content/themes/vintwood/img/patterns/shape_pattern.png') !important;
    color: #e9e4dc !important;
    padding: 8px 16px !important;
}

/* Titre surligné vert texturé — variante de lu-titre-rouge */
h1.lu-titre-vert, h2.lu-titre-vert, h3.lu-titre-vert,
h4.lu-titre-vert, h5.lu-titre-vert, h6.lu-titre-vert,
.lu-titre-vert.e-heading-base {
    background: none !important;
    color: #e9e4dc !important;
    padding: 0 !important;
    align-self: flex-start !important;
    width: fit-content !important;
}
h1.lu-titre-vert strong, h2.lu-titre-vert strong, h3.lu-titre-vert strong,
h4.lu-titre-vert strong, h5.lu-titre-vert strong, h6.lu-titre-vert strong,
.lu-titre-vert.e-heading-base strong {
    display: inline !important;
    -webkit-box-decoration-break: clone !important;
    box-decoration-break: clone !important;
    background-color: #517D72 !important;
    background-image: url('/wp-content/themes/vintwood/img/patterns/shape_pattern.png') !important;
    color: #e9e4dc !important;
    padding: 8px 16px !important;
}

/* Variante taille réduite — pour sections où 175px est trop grand */
h2.cws_textmodule_title.lu-title-md,
h2.e-heading-base.cws_textmodule_title.lu-title-md {
    font-size: 130px !important;
}
@media (max-width: 1199px) {
    h2.cws_textmodule_title.lu-title-md,
    h2.e-heading-base.cws_textmodule_title.lu-title-md {
        font-size: 70px !important;
    }
}
@media (max-width: 767px) {
    h2.cws_textmodule_title.lu-title-md,
    h2.e-heading-base.cws_textmodule_title.lu-title-md {
        font-size: 42px !important;
    }
}
