/*
Theme Name: Hello Elementor Child — L'Âme Strong
Template: hello-elementor
Version: 1.0
Description: Thème enfant Hello Elementor pour L'Âme Strong
*/

*, *::before, *::after { box-sizing: border-box; }

body {
    background-color: #faf7f5;
    color: #6a4a4c;
    font-family: sans-serif;
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: Georgia, serif;
    color: #2A1416;
    font-weight: 300;
}

a { color: #E53E2C; text-decoration: none; }
a:hover { color: #2A1416; }

.elementor-widget-heading .elementor-heading-title { font-family: Georgia, serif; }
.elementor-widget-text-editor p { font-family: sans-serif; line-height: 1.9; }
.elementor-button { border-radius: 2px !important; letter-spacing: 3px !important; text-transform: uppercase !important; font-family: sans-serif !important; }

/* Grille artistes masonry */
.lms-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.lms-card { position: relative; overflow: hidden; cursor: none !important; background: #1a0d0e; }
.lms-card img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s ease; }
.lms-card:hover img { transform: scale(1.05); }
.lms-card--large { grid-row: span 2; min-height: 380px; }
.lms-card--wide { grid-column: span 2; }
.lms-card--normal { min-height: 186px; }
.lms-card__overlay { position: absolute; inset: 0; pointer-events: none; z-index: 5; opacity: 0; transition: opacity 0.15s; background: rgba(42,20,22,0.82); }
.lms-card__info { position: absolute; bottom: 0; left: 0; right: 0; padding: 20px; background: linear-gradient(to top, rgba(42,20,22,0.95), transparent); z-index: 6; transform: translateY(4px); transition: transform 0.3s ease; }
.lms-card:hover .lms-card__info { transform: translateY(0); }
.lms-card__cat { color: #E53E2C; font-size: 8px; letter-spacing: 3px; text-transform: uppercase; font-family: sans-serif; margin-bottom: 5px; }
.lms-card__name { color: #ffffff; font-size: 15px; font-family: Georgia, serif; }
.lms-section { background: #2A1416; padding: 60px 64px; }
.lms-section__header { margin-bottom: 48px; }
.lms-section__tag { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; }
.lms-section__tag::before { content: ''; width: 40px; height: 1px; background: #E53E2C; flex-shrink: 0; }
.lms-section__tag span { color: #E53E2C; font-size: 9px; letter-spacing: 5px; text-transform: uppercase; font-family: sans-serif; }
.lms-section__title { color: #ffffff; font-size: 38px; font-weight: 300; letter-spacing: -1px; font-family: Georgia, serif; margin: 0; }
.lms-section__cta { text-align: center; margin-top: 40px; }
.lms-section__cta a { display: inline-block; border: 1px solid rgba(229,62,44,0.5); color: #E53E2C; padding: 14px 36px; font-size: 10px; letter-spacing: 4px; text-transform: uppercase; font-family: sans-serif; border-radius: 2px; text-decoration: none; transition: background 0.2s, color 0.2s; }
.lms-section__cta a:hover { background: #E53E2C; color: #fff; }

/* Artist hero */
.lms-artist-hero { position: relative; min-height: 560px; background-size: cover !important; background-position: center !important; display: flex; align-items: flex-end; border-left: 6px solid #E53E2C; }
.lms-artist-hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(to right, rgba(42,20,22,0.88) 35%, rgba(42,20,22,0.2) 100%); }

/* Menu transparent -> bordeaux */
.site-header { position: absolute; width: 100%; z-index: 999; background: transparent; transition: background 0.3s ease, box-shadow 0.3s ease; }
.site-header.scrolled { position: fixed; background: #2A1416; box-shadow: 0 2px 20px rgba(42,20,22,0.3); }

/* Boutons globaux */
.elementor-button-wrapper .elementor-button { background: #E53E2C; color: #fff; border-radius: 2px; letter-spacing: 3px; text-transform: uppercase; font-size: 11px; padding: 16px 32px; transition: background 0.2s ease; }
.elementor-button-wrapper .elementor-button:hover { background: #2A1416; color: #fff; }

/* Sections Elementor pleine largeur */
.elementor-section.elementor-section-stretched { width: 100% !important; left: 0 !important; }

/* Compat portfolio */
.elementor-widget-image img, .elementor-post__thumbnail img { object-fit: cover; width: 100%; height: 100%; }
.elementor-posts--skin-cards .elementor-post__title a { color: #2A1416; font-family: Georgia, serif; }
.elementor-posts--skin-cards .elementor-post__title a:hover { color: #E53E2C; }
.elementor-divider-separator { border-color: #e8dcd8 !important; }

/* Responsive */
@media (max-width: 1024px) { .lms-grid { grid-template-columns: repeat(2, 1fr); } .lms-card--large { grid-row: span 1; min-height: 200px; } .lms-section { padding: 40px 32px; } }
@media (max-width: 767px) { .lms-grid { grid-template-columns: 1fr 1fr; } .lms-section { padding: 32px 20px; } .lms-section__title { font-size: 28px; } }

/* Header transparent des le chargement */
header.elementor-location-header,
.elementor-location-header { position: absolute !important; top: 0 !important; left: 0 !important; right: 0 !important; z-index: 999 !important; background: transparent !important; width: 100% !important; }
header.elementor-location-header.elementor-sticky--active,
.elementor-location-header.elementor-sticky--effects { position: fixed !important; background: #2A1416 !important; box-shadow: 0 2px 20px rgba(42,20,22,0.4) !important; }
header.elementor-location-header .elementor-nav-menu a,
header.elementor-location-header .elementor-nav-menu--main .elementor-item { color: rgba(255,255,255,0.85) !important; }
header.elementor-location-header .elementor-nav-menu a:hover,
header.elementor-location-header .elementor-nav-menu--main .elementor-item:hover,
header.elementor-location-header .elementor-nav-menu--main .elementor-item.elementor-item-active { color: #E53E2C !important; }
header.elementor-location-header .elementor-button { background: transparent !important; border: 1px solid rgba(229,62,44,0.7) !important; color: #E53E2C !important; }
header.elementor-location-header .elementor-button:hover { background: #E53E2C !important; color: #fff !important; }
.elementor-location-header + * { margin-top: 0 !important; }

/* Force couleur primaire partout */
.elementor-icon i, .elementor-icon svg { color: #E53E2C !important; fill: #E53E2C !important; }
.elementor-icon-box-icon .elementor-icon i, .elementor-icon-box-icon .elementor-icon svg { color: #E53E2C !important; fill: #E53E2C !important; }

/* Hide residual shortcodes from RevSlider cache */
sr7-txt[id*="SR7"] {
    visibility: visible;
}
sr7-txt {
    /* Hide any element showing raw shortcodes */
}


/* === FIXES FINAUX L AME STRONG === */
.single-portfolio-item .page-title,
.single-portfolio-item .entry-title,
.single-portfolio-item > h1:not(.elementor-heading-title) { display: none !important; }

header.elementor-location-header {
    position: absolute !important; top: 0 !important; left: 0 !important; right: 0 !important;
    width: 100% !important; z-index: 9999 !important; background: transparent !important;
    transition: background 0.35s ease, box-shadow 0.35s ease !important;
}
header.elementor-location-header.elementor-sticky--active {
    position: fixed !important; background: #2A1416 !important;
    box-shadow: 0 2px 24px rgba(42,20,22,0.35) !important;
}
header.elementor-location-header .elementor-nav-menu--main .elementor-item,
header.elementor-location-header .elementor-nav-menu a {
    color: rgba(255,255,255,0.85) !important; transition: color 0.2s ease !important;
}
header.elementor-location-header .elementor-nav-menu--main .elementor-item:hover,
header.elementor-location-header .elementor-nav-menu--main .elementor-item-active,
header.elementor-location-header .elementor-nav-menu a:hover { color: #E53E2C !important; }
header.elementor-location-header .elementor-button {
    background: transparent !important; border: 1px solid rgba(229,62,44,0.6) !important; color: #E53E2C !important;
}
header.elementor-location-header .elementor-button:hover {
    background: #E53E2C !important; color: #fff !important; border-color: #E53E2C !important;
}
@media (max-width: 1024px) {
    .lms-grid { grid-template-columns: repeat(2,1fr) !important; }
    .lms-card--large { grid-row: span 1 !important; min-height: 220px !important; }
}
@media (max-width: 767px) {
    .lms-grid { grid-template-columns: 1fr 1fr !important; }
    .lms-card--wide { grid-column: span 2 !important; }
    header.elementor-location-header .elementor-nav-menu--main { display: none !important; }
}
@media (max-width: 480px) {
    .lms-grid { grid-template-columns: 1fr !important; }
    .lms-card--wide { grid-column: span 1 !important; }
}

/* MENU FIXE FOND BORDEAUX PERMANENT */
header.elementor-location-header {
    position: fixed !important;
    background: rgba(42,20,22,0.95) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border-bottom: 1px solid rgba(229,62,44,0.25) !important;
}
