/* ======================================== */
/*          STYLES DE BASE             */
/* ======================================== */

.visually-hidden {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

:root {
    /* Palette inspirée */
    --primary-color: #ff1493; /* Rose vif principal */
    --secondary-color: #ff69b4; /* Rose plus clair */
    --dark-color: #1a1a1a;      /* Fond sombre secondaire */
    --darker-color: #121212;     /* Fond sombre principal */
    --light-color: #ffffff;     /* Texte/éléments clairs */
    --gray-color: #2a2a2a;      /* Gris pour cartes/éléments */
    --text-color: #e0e0e0;      /* Couleur texte standard */
    --text-secondary: #a0a0a0;  /* Couleur texte secondaire */
    --border-color-subtle: rgba(255, 255, 255, 0.1); /* Bordure discrète */
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --card-shadow: 0 6px 25px rgba(0, 0, 0, 0.3); /* Ombre carte ajustée */
    --pink-shadow-light: 0 4px 15px rgba(255, 20, 147, 0.2); /* Ombre rose légère */
    --pink-shadow-strong: 0 8px 30px rgba(255, 20, 147, 0.3); /* Ombre rose forte */
    --header-height: 70px;
    --safe-area-inset-top: env(safe-area-inset-top); /* Pour encoches iPhone etc. */
    --safe-area-inset-bottom: env(safe-area-inset-bottom);
}

/* Reset et styles de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', 'Segoe UI', 'Roboto', sans-serif; /* Nouvelle police */
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--darker-color);
    background-image: linear-gradient(45deg, var(--darker-color) 0%, var(--dark-color) 100%);
    min-height: 100vh;
    padding-top: var(--header-height); /* Espace pour header fixe */
}

/* Styles Sticky Footer (appliqués via classes spécifiques au body) */
body.body-calor-page,
body.body-contact-page,
body.body-profile-page,
body.body-test-page { /* Ajouté test page pour cohérence */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

body.body-calor-page footer,
body.body-contact-page footer,
body.body-profile-page footer,
body.body-test-page footer { /* Ajouté test page pour cohérence */
    margin-top: auto;
}

main {
    margin-bottom: 2rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
    flex-grow: 1; /* Permet au main de prendre la place dispo (pour sticky footer) */
}

a {
    color: var(--primary-color);
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}

/* ======================================== */
/*          STYLES DESKTOP (Défaut)       */
/* ======================================== */

/* --- Header --- */
header {
    background-color: rgba(26, 26, 26, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    padding-top: var(--safe-area-inset-top);
    border-bottom: 1px solid var(--border-color-subtle);
    height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

/* Logo */
.logo-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}
.logo-link:hover {
    transform: scale(1.05);
}
header h1 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--light-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}
header h1 .pink-logo {
    color: var(--primary-color);
}

/* Navigation Desktop */
.desktop-nav {
    display: flex;
    align-items: center;
    margin: 0 auto; /* Centre la navigation */
}
.desktop-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 2rem;
    align-items: center;
}
.desktop-nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.5rem 0;
    position: relative;
}
.desktop-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width 0.3s ease;
}
.desktop-nav a:hover,
.desktop-nav a:focus,
.desktop-nav a.active {
    color: var(--light-color); /* Changé pour light-color au survol/actif */
}
.desktop-nav a:hover::after,
.desktop-nav a:focus::after,
.desktop-nav a.active::after {
    width: 100%;
}
.desktop-nav a.active {
    color: var(--primary-color); /* Garder rose pour le lien actif */
}

/* Sélecteur Langue (Base) */
.language-selector {
    display: flex;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.3rem;
    border-radius: 8px;
}
.language-selector button {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0.4rem 0.8rem;
    transition: var(--transition);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 6px;
    line-height: 1;
}
.language-selector button.active {
    background: var(--primary-color);
    color: var(--light-color); /* Texte blanc sur fond rose */
}
.language-selector button:hover:not(.active) {
    color: var(--light-color);
}
.language-selector.desktop-lang {
    margin-left: 2rem; /* Espace après la navigation desktop */
}

/* Bouton Burger (Caché sur Desktop) */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1100;
    position: relative;
    width: 30px;
    height: 22px;
}
.mobile-menu-toggle .line {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--light-color);
    border-radius: 1px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.mobile-menu-toggle .line:nth-child(2) { margin: 5px 0; }

/* Menu Mobile (Caché sur Desktop) */
#mobile-menu {
    display: none; /* Caché par défaut */
    flex-direction: column;
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100vh; height: 100dvh;
    background-color: rgba(20, 20, 20, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: var(--safe-area-inset-top) 1.5rem calc(var(--safe-area-inset-bottom) + 1rem) 1.5rem;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 9999;
    overflow-y: auto; /* Permettre scroll si contenu dépasse */
    visibility: hidden;
}
.mobile-menu-logo {
    display: block;
    text-align: center;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}
.mobile-menu-logo h1 { font-size: 1.5rem; }
#mobile-menu nav ul {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
    list-style: none;
    padding: 0;
}
#mobile-menu nav a { /* Styles spécifiques liens menu mobile */
    font-size: 1.2rem;
    color: var(--light-color);
    font-weight: 600;
    text-decoration: none;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.3s ease;
}
#mobile-menu nav a::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; width: 0; height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}
#mobile-menu nav a:hover,
#mobile-menu nav a.active { color: var(--primary-color); }
#mobile-menu nav a:hover::after,
#mobile-menu nav a.active::after { width: 100%; }
/* Sélecteur langue dans menu mobile */
#mobile-menu .language-selector {
    justify-content: center;
    gap: 0.8rem;
    padding-top: 1rem; /* Ajusté */
    padding-bottom: 1rem; /* Ajouté */
    background: none;
    border-top: 1px solid var(--border-color-subtle);
    margin-top: auto; /* Pousse en bas si possible */
}
#mobile-menu .language-selector button {
    font-size: 0.9rem;
    padding: 0.5rem 0.9rem;
    border: 1px solid var(--border-color-subtle);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
}
#mobile-menu .language-selector button.active {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: var(--darker-color);
}
#mobile-menu .language-selector button:hover:not(.active) {
    border-color: var(--secondary-color);
    color: var(--light-color);
}
/* Profils dans menu mobile */
.mobile-menu-profiles {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
    padding: 1rem 0;
    margin-bottom: 1.5rem;
    border-top: 1px solid var(--border-color-subtle);
    border-bottom: 1px solid var(--border-color-subtle);
}
.mobile-menu-profiles .profile-thumbnail.in-menu {
    aspect-ratio: 9/14;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0, 0.4);
    border: none;
    cursor: pointer; /* Garder cliquable car c'est un lien */
}
.mobile-menu-profiles .profile-thumbnail.in-menu:hover {
    transform: none;
    box-shadow: 0 4px 12px rgba(0,0,0, 0.5); /* Légère accentuation */
}
.mobile-menu-profiles .profile-thumbnail.in-menu .profile-image::after { height: 50%; background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.6) 40%, rgba(0,0,0,0) 100%); }
.mobile-menu-profiles .profile-thumbnail.in-menu .profile-content-overlay { padding: 0.5rem; gap: 0.1rem; }
.mobile-menu-profiles .profile-thumbnail.in-menu h4 { font-size: 0.8rem; text-shadow: 1px 1px 3px rgba(0,0,0,0.7); }
.mobile-menu-profiles .profile-thumbnail.in-menu .profile-price.in-menu-price { display: block; font-size: 0.75rem; font-weight: 600; color: var(--primary-color); text-align: left; margin-top: 0.1rem; }
/* Services dans menu mobile */
.mobile-menu-services {
    padding: 1rem 0;
    margin-bottom: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}
.mobile-menu-services .service-bubble.in-menu-service { padding: 0.4rem 0.9rem; font-size: 0.75rem; flex-grow: 0; }


/* --- Filtres (Index Page) --- */
#filters-bar {
    background-color: rgba(42, 42, 42, 0.8);
    padding: 1.5rem;
    margin: 2rem auto; /* Centré */
    max-width: 1100px; /* Largeur max */
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border-color-subtle);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
    z-index: 1;
    overflow: hidden;
    padding-bottom: 0.5rem;
}
#filters-bar::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: url('data/images/bandeau-placeholder.jpg'); /* REMPLACER */
    background-size: cover;
    background-position: center center;
    background-color: var(--dark-color);
    background-blend-mode: overlay;
    opacity: 0.3;
    z-index: -1;
    border-radius: inherit;
}
.filter-row {
    display: flex;
    gap: 1rem;
    width: 100%;
    align-items: flex-end;
    /* Pas de flex-wrap par défaut (desktop) */
}
.filter-item {
    flex-grow: 1; /* Partage l'espace équitablement par défaut */
    flex-shrink: 1;
    flex-basis: 0; /* Base 0 pour flex-grow */
    min-width: 150px; /* Largeur minimale pour éviter compression excessive */
    position: relative;
}

/* Conteneur spécifique pour le bouton reset */
.filter-button-item {
    flex-grow: 0; /* Ne grandit pas */
    flex-shrink: 0; /* Ne rétrécit pas */
    flex-basis: auto; /* Largeur basée sur le contenu du bouton */
    min-width: auto; /* Annuler min-width général */
    display: flex; /* Pour centrer le bouton dedans */
    justify-content: center;
    align-items: flex-end;
}

/* Inputs et Selects dans les filtres */
#filters-bar input[type="search"],
#filters-bar select {
    appearance: none;
    -webkit-appearance: none;
    width: 100%;
    padding: 0.8rem 1rem;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color-subtle);
    border-radius: 8px;
    color: var(--text-color);
    font-size: 0.9rem;
    line-height: 1.6;
    transition: var(--transition);
    height: calc(1.6em + 1.6rem + 2px); /* Hauteur explicite */
}
#filters-bar select {
    padding-right: 2.5rem; /* Espace flèche */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23a0a0a0'%3E%3Cpath fill-rule='evenodd' d='M4.22 6.22a.75.75 0 011.06 0L8 8.94l2.72-2.72a.75.75 0 111.06 1.06l-3.25 3.25a.75.75 0 01-1.06 0L4.22 7.28a.75.75 0 010-1.06z' clip-rule='evenodd' /%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.8rem center;
    background-size: 16px 16px;
}
#filters-bar input[type="search"]:focus,
#filters-bar select:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 10px var(--pink-shadow-light);
}
#filters-bar input::placeholder { color: var(--text-secondary); opacity: 0.7; }
#filters-bar select:disabled { opacity: 0.5; cursor: not-allowed; background-color: rgba(255, 255, 255, 0.03); }


/* Bouton reset - Styles d'apparence (UNE SEULE FOIS) */
#reset-filters-btn {
    appearance: none; -webkit-appearance: none; cursor: pointer;
    padding: 0.65rem; border: 1px solid var(--primary-color); border-radius: 50%;
    background-color: transparent; color: var(--primary-color);
    font-size: 1.1rem; line-height: 0; transition: var(--transition);
    /* flex-shrink: 0; /* Géré par le conteneur */
    display: inline-flex; align-items: center; justify-content: center;
    aspect-ratio: 1 / 1; 
    height: calc(1.6em + 1.6rem + 2px); /* Matcher hauteur input/select */
}
#reset-filters-btn svg { display: block; }
#reset-filters-btn:hover { background-color: var(--primary-color); color: var(--light-color); box-shadow: var(--pink-shadow-light); transform: translateY(-1px) rotate(-90deg); }
#reset-filters-btn:focus { outline: none; border-color: var(--primary-color); box-shadow: 0 0 15px var(--pink-shadow-light); background-color: transparent; }

/* Filtres Services (bulles scrollables) */
#service-filters {
    display: flex; gap: 0.5rem; overflow-x: auto;
    padding: 0.5rem 0; margin: 0 -1.5rem; padding-left: 1.5rem; padding-right: 1.5rem;
    scrollbar-width: none; -ms-overflow-style: none; -webkit-overflow-scrolling: touch;
    justify-content: flex-start; position: relative; margin-bottom: 0;
}
#service-filters::-webkit-scrollbar { display: none; }
#service-filters::after {
    content: ''; position: absolute; right: 0; top: 0; bottom: 0; width: 50px;
    background: linear-gradient(to left, rgba(42, 42, 42, 0.95), rgba(42, 42, 42, 0));
    pointer-events: none;
}
.service-bubble {
    padding: 0.6rem 1.1rem; border: 1px solid var(--primary-color); border-radius: 20px;
    background: none; color: var(--primary-color); cursor: pointer; transition: var(--transition);
    white-space: nowrap; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px;
    font-size: 0.8rem; flex-shrink: 0;
}
.service-bubble.active { background-color: var(--primary-color); color: var(--light-color); box-shadow: var(--pink-shadow-light); }
.service-bubble:hover:not(.active) { transform: translateY(-2px); background-color: rgba(255, 20, 147, 0.1); box-shadow: var(--pink-shadow-light); }

/* --- Grille Profils (Index Page) --- */
#content h2, #content h3 { /* Titre "Découvrir" */
    font-size: 1.8rem; font-weight: 600; color: var(--light-color); text-align: center;
    margin-bottom: 1.5rem; margin-top: 1rem; text-transform: uppercase; letter-spacing: 1px;
}
.profile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Plus flexible */
    gap: 1.5rem;
    padding: 0;
}
.profile-thumbnail-link { /* Lien entourant la vignette */
    display: block; text-decoration: none; color: inherit;
    border-radius: var(--border-radius); transition: outline-offset 0.1s ease;
    outline: 2px solid transparent; outline-offset: 0px; position: relative; z-index: 1;
}
.profile-thumbnail-link:hover,
.profile-thumbnail-link:focus { outline-color: var(--primary-color); outline-offset: 3px; }
.profile-thumbnail { /* La carte vignette */
    background-color: var(--gray-color); border-radius: var(--border-radius); overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    position: relative; aspect-ratio: 9/16; border: 1px solid var(--border-color-subtle); cursor: pointer;
}
.profile-thumbnail:hover { transform: translateY(-6px) scale(1.02); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px var(--pink-shadow-light); }
/* Image dans vignette */
.profile-image {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-color: var(--dark-color); background-size: cover; background-position: center center;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.5s ease-in-out;
    z-index: 0; opacity: 0; /* Lazy loading */
}
.profile-image.loaded { opacity: 1; }
.profile-thumbnail:hover .profile-image { transform: scale(1.08); }
.profile-image::after { /* Dégradé */
    content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 60%;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.7) 40%, rgba(0,0,0,0) 100%);
    z-index: 1; transition: opacity 0.4s ease;
}
.profile-image.profile-image-placeholder::before { /* Placeholder */
    content: "Image"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    color: var(--text-secondary); font-size: 1.2rem; z-index: 1;
}
/* Contenu texte dans vignette */
.profile-content-overlay {
    position: absolute; bottom: 0; left: 0; right: 0; padding: 0.8rem;
    color: var(--light-color); z-index: 2; display: flex; flex-direction: column; gap: 0.3rem;
}
.profile-thumbnail h4 { font-size: 1.1rem; font-weight: 700; text-shadow: 1px 1px 4px rgba(0,0,0,0.8); margin: 0; line-height: 1.2; }
.profile-info { display: flex; justify-content: space-between; align-items: baseline; gap: 0.5rem; font-size: 0.8rem; font-weight: 500; color: var(--text-secondary); }
.profile-location { text-overflow: ellipsis; white-space: nowrap; overflow: hidden; }
.profile-price { font-weight: 700; color: var(--primary-color); font-size: 0.9rem; white-space: nowrap; }
/* Bouton WhatsApp sur vignette (affiché par JS) */
.profile-content-overlay .whatsapp-button {
    align-self: flex-end; /* Aligner à droite */
    margin-top: 0.5rem;
    background-color: #25D366; color: white; border-radius: 50%;
    width: 30px; height: 30px; display: flex; align-items: center; justify-content: center;
    text-decoration: none; box-shadow: 0 2px 6px rgba(0,0,0,0.4); transition: transform 0.2s ease, background-color 0.2s ease;
    flex-shrink: 0; z-index: 3; /* Au dessus de l'overlay */
}
.profile-content-overlay .whatsapp-button:hover { transform: scale(1.1); background-color: #128C7E; }
.profile-content-overlay .whatsapp-button svg { width: 16px; height: 16px; fill: currentColor; }

/* --- Page Profil --- */
.profile-page-container { max-width: 1100px; margin: 2rem auto; padding: 0 1rem; }
/* Navigation Profil */
.profile-nav {
    display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem;
    margin-bottom: 1.5rem; padding-bottom: 1rem; border-bottom: 1px solid var(--border-color-subtle);
}
.profile-nav .nav-button { flex-shrink: 0; }
.profile-nav .nav-button.next-button { text-align: right; }
.profile-nav-title {
    font-size: 1.8rem; color: var(--primary-color); text-align: center; font-weight: 700;
    margin: 0; line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.profile-nav-link {
    display: inline-flex; align-items: center; gap: 0.5em; padding: 0.5rem 1rem;
    border: 1px solid var(--text-secondary); border-radius: 6px; color: var(--text-secondary);
    text-decoration: none; font-size: 0.85rem; font-weight: 600; transition: var(--transition); cursor: pointer;
}
.profile-nav-link:not(.disabled):hover { background-color: var(--primary-color); border-color: var(--primary-color); color: var(--light-color); box-shadow: var(--pink-shadow-light); transform: translateY(-1px); }
.profile-nav-link.disabled { opacity: 0.4; cursor: not-allowed; pointer-events: none; }
/* Galerie Profil */
.profile-gallery { margin-bottom: 2.5rem; }
.main-image { width: 100%; height: 100%; overflow: hidden; border-radius: var(--border-radius); margin-bottom: 1rem; background-color: var(--gray-color); }
.main-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center top; /* Align image to the top */
    transition: opacity 0.3s ease;
}
.thumbnail-strip {
    display: flex; /* Arrange items horizontally */
    overflow-x: auto; /* Enable horizontal scrolling if needed */
    gap: 0.75rem; /* Corrected space between thumbnails */
    padding: 0.5rem 0; /* Add some vertical padding */
    margin-bottom: 1rem; /* Space below the strip */
    position: relative; /* Needed for pseudo-elements on mobile */
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
    scrollbar-width: none; /* Hide scrollbar Firefox */
}
.thumbnail-strip::-webkit-scrollbar { display: none; /* Hide scrollbar Chrome/Safari */ }
.profile-thumbnail-item {
    height: 80px; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 8px; cursor: pointer;
    opacity: 0.7; transition: opacity 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    border: 2px solid transparent;
    flex-shrink: 0; /* Prevent thumbnails from shrinking */
}
/* Contenu Profil (2 colonnes) */
.profile-content { display: grid; grid-template-columns: 2fr 1fr; gap: 2.5rem; }
.profile-main-info h2,
.profile-sidebar-details h2 {
    font-size: 1.5rem; color: var(--light-color); margin-bottom: 1rem; padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-color-subtle); font-weight: 600;
}
.profile-main-info p { line-height: 1.7; margin-bottom: 1.5rem; color: var(--text-color); }
/* Services sur Page Profil */
.profile-services { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1rem; }
.profile-page-service { font-size: 0.8rem; padding: 0.5rem 1rem; cursor: default; }
.profile-page-service:hover { transform: none; background-color: initial; box-shadow: none; }
/* Détails Sidebar */
.profile-sidebar-details dl { display: flex; flex-direction: column; gap: 0.8rem; }
.detail-item { display: flex; justify-content: space-between; align-items: baseline; gap: 0.5rem; font-size: 0.9rem; padding: 0.4rem 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
.detail-item:last-child { border-bottom: none; }
.detail-item dt { font-weight: 600; color: var(--text-secondary); flex-shrink: 0; }
.detail-item dd { color: var(--text-color); text-align: right; font-weight: 500; }
/* Contact Sidebar */
.profile-contact { margin-top: 2rem; display: flex; flex-direction: column; gap: 0.8rem; }
.profile-contact-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
    padding: 0.7rem 1rem; border-radius: 8px; text-decoration: none; font-weight: 600;
    transition: var(--transition); font-size: 0.9rem; width: 100%;
}
.profile-contact-btn.whatsapp-button {
    border-radius: 8px; width: 100%; height: auto; background-color: #25D366; color: white;
}
.profile-contact-btn.whatsapp-button:hover { background-color: #128C7E; transform: translateY(-2px); }
.profile-contact-btn.whatsapp-button svg { width: 18px; height: 18px; }

/* --- Page Contact --- */
.platform-presentation {
    max-width: 700px; margin: 2rem auto 2.5rem auto; padding: 1.5rem;
    background-color: rgba(42, 42, 42, 0.5); border-radius: var(--border-radius);
    text-align: center; border: 1px solid var(--border-color-subtle);
}
.platform-presentation h2 { color: var(--light-color); margin-bottom: 1rem; font-size: 1.8rem; font-weight: 600; }
.platform-presentation p { color: var(--text-secondary); line-height: 1.7; font-size: 0.95rem; margin-bottom: 0; }
.contact-container {
    max-width: 700px; margin: 0 auto 3rem auto; padding: 2rem;
    background-color: var(--gray-color); border-radius: var(--border-radius);
    box-shadow: var(--card-shadow); text-align: center; border: 1px solid var(--border-color-subtle);
}
.contact-container h1 { color: var(--primary-color); margin-bottom: 1.5rem; font-size: 2.2rem; font-weight: 700; }
.contact-container p { color: var(--text-color); line-height: 1.8; font-size: 1rem; margin-bottom: 2rem; }
.contact-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin-top: 2rem; }
.contact-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
    padding: 0.8rem 1.5rem; border-radius: var(--border-radius); text-decoration: none;
    font-weight: 600; transition: var(--transition); font-size: 0.95rem; border: none;
    cursor: pointer; min-width: 200px; text-align: center;
}
.contact-btn svg { width: 1.1em; height: 1.1em; fill: currentColor; }
.contact-btn.whatsapp { background-color: #25D366; color: white; }
.contact-btn.whatsapp:hover { background-color: #128C7E; transform: translateY(-2px); box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3); }
.contact-btn.email { background-color: var(--primary-color); color: var(--light-color); }
.contact-btn.email:hover { background-color: var(--secondary-color); transform: translateY(-2px); box-shadow: var(--pink-shadow-light); }

/* --- Page Calor --- */

/* Centrage vertical pour le contenu de la page Calor */
body.body-calor-page main {
    display: flex;
    flex-direction: column; /* Garder la direction colonne pour main */
    justify-content: center; /* Centre verticalement */
    align-items: center; /* Centre horizontalement le .page-container */
    flex-grow: 1; /* Assurer que main prend l'espace */
}

.page-container { /* Conteneur générique utilisé par Calor */
    max-width: 800px; 
    /* margin: 3rem auto; /* Supprimé car centré par flex parent */
    padding: 2rem;
    background-color: var(--gray-color); /* Garder une couleur de fond solide */
    border-radius: var(--border-radius); 
    box-shadow: var(--card-shadow);
    text-align: center;
    border: 1px solid var(--border-color-subtle);
    position: relative; /* Pour le pseudo-élément */
    z-index: 1; /* Pour que le pseudo-élément soit derrière */
    overflow: hidden; /* Pour que le pseudo-élément respecte le border-radius */
}

/* Pseudo-élément pour l'image de fond avec opacité */
.page-container::before {
    content: '';
    position: absolute;
    top: 0; 
    left: 0; 
    right: 0; 
    bottom: 0;
    /* REMPLACEZ CECI par le chemin de votre image */
    background-image: url('data/images/background-calor.jpg'); 
    background-size: cover;
    background-position: center center;
    opacity: 0.2; /* Ajustez l'opacité comme souhaité (0.0 à 1.0) */
    z-index: -1; /* Placer derrière le contenu */
    /* border-radius: inherit; /* Assurer que le fond suit l'arrondi si pas d'overflow: hidden */
}

.page-container h1 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 2.5rem;
    font-weight: 700;
}
.page-container p {
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
}
/* Compte à rebours */
#countdown-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}
.time-block {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    min-width: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.3);
}
.time-block .number {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--light-color);
    line-height: 1.1;
}
.time-block .label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.3rem;
}

/* NOUVEAU: Styles Formulaire Newsletter (Page Calor) */
.newsletter-form-section {
    margin-top: 3rem; /* Espace après le compteur */
    padding: 1.5rem 0; /* Padding vertical */
    border-top: 1px solid var(--border-color-subtle);
}

.newsletter-form-section h2 {
    color: var(--light-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem; /* Un peu plus petit que titre principal */
    font-weight: 600;
}

.newsletter-form {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    max-width: 500px; /* Limiter largeur */
    margin: 0 auto 1rem auto; /* Centrer et marge basse */
    flex-wrap: wrap; /* Permettre retour ligne sur très petits écrans */
}

.newsletter-form input[type="text"] {
    flex-grow: 1; /* Prend l'espace dispo */
    padding: 0.7rem 1rem;
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-color-subtle);
    border-radius: 8px;
    color: var(--text-color);
    font-size: 0.9rem;
    min-width: 200px; /* Largeur min */
}
.newsletter-form input[type="text"]:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: rgba(255, 255, 255, 0.1);
}

.newsletter-form button {
    padding: 0.7rem 1.5rem;
    background-color: var(--primary-color);
    color: var(--light-color);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    flex-shrink: 0;
}

.newsletter-form button:hover {
    background-color: var(--secondary-color);
    transform: translateY(-1px);
}

/* Styles pour les messages de retour */
.form-message {
    font-size: 0.9rem;
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}
.form-message.success {
    color: #2ecc71;
    background-color: rgba(46, 204, 113, 0.1);
    border: 1px solid rgba(46, 204, 113, 0.3);
}
.form-message.error {
    color: #e74c3c;
    background-color: rgba(231, 76, 60, 0.1);
    border: 1px solid rgba(231, 76, 60, 0.3);
}
/* FIN NOUVEAU */

/* NOUVEAU: Styles pour la section Vidéo */
.video-section {
    max-width: 900px; /* Largeur max un peu plus grande */
    margin: 3rem auto; /* Espacement vertical et centrage */
    padding: 0 1rem; /* Padding latéral */
    text-align: center; /* Centrer le titre h2 */
}

.video-section h2 {
    color: var(--light-color);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    font-weight: 600;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* Ratio 16:9 */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    border-radius: var(--border-radius); /* Appliquer l'arrondi */
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border-color-subtle);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0; /* S'assurer qu'il n'y a pas de bordure iframe */
}

/* Video thumbnail styling */
.video-thumbnail {
    position: relative;
    height: 80px;
    aspect-ratio: 1 / 1;
    background-color: var(--dark-color);
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    border: 2px solid transparent;
}

.video-thumbnail:hover {
    opacity: 1;
    transform: scale(1.05);
    box-shadow: 0 0 10px var(--pink-shadow-light);
}

.video-thumbnail.active {
    opacity: 1;
    border-color: var(--primary-color);
}

.video-thumbnail-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.video-icon {
    font-size: 2rem;
    color: var(--light-color);
    opacity: 0.8;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.video-thumbnail:hover .video-icon {
    opacity: 1;
    transform: scale(1.2);
}

/* Video player styling */
#mainProfileVideo {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Changed from 'contain' to 'cover' to respect aspect ratio and fill container */
    background-color: var(--dark-color);
    border-radius: var(--border-radius);
    max-height: 100%;
    display: block;
}


/* Style amélioré pour les vignettes vidéo dans la galerie */
.video-thumbnail {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.video-thumbnail-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.video-thumbnail:hover .video-thumbnail-overlay {
    background-color: rgba(0, 0, 0, 0.3);
}

.video-icon {
    color: white;
    font-size: 24px;
    background-color: rgba(255, 20, 147, 0.6);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.video-thumbnail:hover .video-icon {
    transform: scale(1.2);
    background-color: var(--primary-color);
}

@media (max-width: 768px) {
    .video-modal-content {
        padding: 0;
    }
    
    #modalVideo {
        width: 95%;
        max-height: 80vh;
    }
    
    .video-modal-close {
        top: 10px;
        right: 15px;
        font-size: 30px;
    }
    
    .video-icon {
        width: 30px;
        height: 30px;
        font-size: 16px;
    }
}

@media (max-width: 991px) {
    .video-thumbnail {
        height: 60px;
    }
    
    .video-icon {
        font-size: 1.5rem;
    }

    .profile-thumbnail-item {
        height: 60px; /* Slightly smaller thumbnails */
    }

    .thumbnail-strip {
        /* Calculate max-width: 4 full thumbs (60px) + 4 gaps (0.75rem) + half of 5th thumb (30px) */
        max-width: calc((4 * 60px) + (4 * 0.75rem) + (60px / 2));
        margin-left: auto; /* Center the strip if content is less than max-width */
        margin-right: auto; /* Center the strip if content is less than max-width */
    }

    .thumbnail-strip::before,
    .thumbnail-strip::after {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0; /* Adjust to cover padding if needed */
        padding-top: 0.5rem; /* Match parent padding */
        padding-bottom: 0.5rem; /* Match parent padding */
        height: 60px; /* Match thumbnail height */
        width: 25px; /* Width of the fade */
        pointer-events: none;
        z-index: 2; /* Ensure it's above thumbnails */
    }

    .thumbnail-strip::before {
        left: 0;
        background: linear-gradient(to right, var(--darker-color) 20%, transparent);
    }

    .thumbnail-strip::after {
        right: 0;
        background: linear-gradient(to left, var(--darker-color) 20%, transparent);
    }
}

/* FIN NOUVEAU */

/* Styles pour le système d'onglets */
.profile-content-tabs {
    margin-top: 2rem;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.profile-tabs-nav {
    display: flex;
    border-bottom: 1px solid #e0e0e0;
    background-color: #f8f8f8;
}

.tab-button {
    padding: 1rem 1.5rem;
    background: none;
    border: none;
    font-size: 1rem;
    font-weight: 500;
    color: #707070;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

.tab-button:hover {
    color: var(--primary-color);
    background-color: rgba(255, 105, 180, 0.05);
}

.tab-button.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
    background-color: white;
}

.profile-tabs-content {
    padding: 2rem;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.profile-details-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
}

.profile-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.service-item {
    background-color: #f8f8f8;
    border-radius: 6px;
    padding: 1rem;
    text-align: center;
    transition: all 0.3s ease;
}

.service-item:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
}

.contact-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.profile-contact-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: all 0.3s ease;
}

.whatsapp-button {
    background-color: #25d366;
}

.whatsapp-button:hover {
    background-color: #128c7e;
}

.phone-button {
    background-color: #0088cc;
}

.phone-button:hover {
    background-color: #006699;
}

.profile-contact-btn svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.contact-availability {
    margin-top: 2rem;
    padding: 1rem;
    background-color: #f8f8f8;
    border-radius: 6px;
}

/* Masquer la version mobile sur desktop */
@media (min-width: 769px) {
    .mobile-only {
        display: none;
    }
}

/* Animation de fade in */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ======================================== */
/*          STYLES MOBILE (Overrides)     */
/* ======================================== */

@media (max-width: 991px) { /* Changé à 991px pour être < 992px */

    /* --- Ajustements Globaux Mobile --- */
    body { font-size: 15px; padding-top: 60px; /* Header plus petit */ }
    main { padding: 0 0.5rem; } /* Padding horizontal uniquement */

    /* --- Header Mobile --- */
    header { 
        height: 60px; 
        padding-left: 1rem; 
        padding-right: 1rem; 
        /* align-items: center; est hérité */
    }
    header h1 { font-size: 1.4rem; }
    .desktop-nav, .desktop-lang { display: none; } /* Cacher nav & langue desktop */
    .mobile-menu-toggle { display: block; } /* Afficher burger */
    /* Styles burger ouvert ('X') */
    .mobile-menu-toggle.active .line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .mobile-menu-toggle.active .line:nth-child(2) { opacity: 0; }
    .mobile-menu-toggle.active .line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    
    /* Afficher/Style Menu Mobile */
    #mobile-menu {
        padding: var(--safe-area-inset-top) 1rem calc(var(--safe-area-inset-bottom) + 1rem) 1rem;
    }
    #mobile-menu.active { 
        transform: translateX(0); 
        visibility: visible; 
        display: flex; 
    }
    .mobile-menu-logo {
        text-align: center; 
    }
    #mobile-menu nav ul {
        gap: 1.5rem; 
        margin-bottom: 1.5rem; 
        padding: 1rem 0; 
        align-items: center; /* Centre les LI horizontalement */
        border-top: 1px solid var(--border-color-subtle); 
        list-style: none; 
    }
    #mobile-menu nav ul li {
        width: 100%; /* S'assurer que LI prend la largeur */
        text-align: center; /* AJOUT: Centre le texte à l'intérieur du LI */
    }
    #mobile-menu nav a { 
        /* Styles des liens du menu mobile */
        display: inline-block; 
        font-size: 1.1rem; 
        padding: 0.6rem 0; 
        color: var(--light-color); 
        font-weight: 600;
        text-decoration: none; 
        position: relative;
        transition: color 0.3s ease;
    }
    #mobile-menu nav a::after { 
        /* Soulignement pour hover/actif */
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%; /* Centrer le départ du soulignement */
        transform: translateX(-50%); /* Centrer le départ du soulignement */
        width: 0;
        height: 2px;
        background-color: var(--primary-color);
        transition: width 0.3s ease;
    }
    #mobile-menu nav a:hover,
    #mobile-menu nav a.active { 
        color: var(--primary-color); /* Couleur au survol/actif */
    }
    #mobile-menu nav a:hover::after,
    #mobile-menu nav a.active::after { 
        width: 60%; /* Largeur du soulignement */
    }
    /* Profils dans menu mobile */
    .mobile-menu-profiles {
        gap: 1rem; 
        padding: 1.5rem 0; 
        margin-bottom: 1.5rem; 
        border-top: 1px solid var(--border-color-subtle); 
        border-bottom: none; 
    }
    /* Services dans menu mobile */
    .mobile-menu-services {
        padding: 1.5rem 0; 
        margin-bottom: 1.5rem; 
        gap: 0.6rem; 
        justify-content: center; 
        border-top: 1px solid var(--border-color-subtle); 
    }
    /* Sélecteur langue dans menu mobile */
    #mobile-menu .language-selector {
        gap: 1rem; 
        padding-top: 1.5rem; 
        padding-bottom: 1rem; 
        margin-top: auto; 
        border-top: 1px solid var(--border-color-subtle); 
    }
    #mobile-menu .language-selector button {
        padding: 0.6rem 1rem; 
    }

    /* --- Filtres Mobile --- */
    #filters-bar { padding: 1rem; margin: 1.5rem auto; }
    #filters-bar::before { opacity: 0.35; }
    .filter-row { 
        gap: 0.8rem; 
        flex-wrap: wrap; /* IMPORTANT: Garder pour permettre le passage à la ligne des autres filtres */
    }
    /* Règle générale: tous les items prennent 100% par défaut sur mobile */
    .filter-item { 
        flex-basis: 100%; 
        min-width: unset; 
        flex-grow: 1; 
    }

    /* EXCEPTION pour la 1ère ligne: Recherche et Reset restent côte à côte */
    /* Cibler le 1er filter-row */
    #filters-bar > .filter-row:first-of-type > .filter-item:nth-child(1), /* Conteneur Recherche */
    #filters-bar > .filter-row:first-of-type > .filter-item.filter-button-item { /* Conteneur Bouton Reset */
        flex-basis: auto; /* Annuler le 100% */
        flex-grow: 0;     /* Ne pas les laisser grandir uniformément pour l'instant */
    }

    /* Donner la flexibilité à la recherche dans la 1ère ligne */
    #filters-bar > .filter-row:first-of-type > .filter-item:nth-child(1) {
        flex-grow: 1;     /* La recherche prend l'espace dispo */
        flex-shrink: 1;
        flex-basis: 0;      /* Base 0 pour flex-grow */
        min-width: 100px;   /* Minimum pour la recherche */
    }

    /* S'assurer que le bouton reset ne grandit/rétrécit pas dans la 1ère ligne */
    #filters-bar > .filter-row:first-of-type > .filter-item.filter-button-item {
        flex-grow: 0;
        flex-shrink: 0;
        flex-basis: auto;   /* Largeur naturelle */
        min-width: auto;
        justify-content: center; /* Centrer bouton si espace dispo */
    }
    
    /* Les autres .filter-item (Langue, Ville, Quartier) garderont flex-basis: 100% */

    #filters-bar input[type="search"],
    #filters-bar select {
        font-size: 0.85rem;
    }
    #service-filters { 
        margin: 0 -1rem; 
        padding-left: 1rem; 
        padding-right: 1rem; 
    }
    #service-filters::after { width: 40px; }
    .service-bubble { padding: 0.5rem 1rem; font-size: 0.8rem; }

    /* --- Grille Profils Mobile --- */
    .profile-grid { grid-template-columns: repeat(2, 1fr); gap: 0.6rem; padding: 0 0.4rem; }
    .profile-thumbnail { aspect-ratio: 9/15; border-radius: 8px; }
    .profile-content-overlay { padding: 0.5rem; gap: 0.15rem; }
    .profile-thumbnail h4 { font-size: 0.85rem; }
    .profile-info { font-size: 0.7rem; gap: 0.3rem; }
    .profile-price { font-size: 0.75rem; }
    .profile-content-overlay .whatsapp-button { width: 28px; height: 28px; } /* Plus petit sur mobile */
    .profile-content-overlay .whatsapp-button svg { width: 14px; height: 14px; }

    /* --- Page Profil Mobile --- */
    .profile-page-container { margin: 1rem auto; padding: 0 0.5rem; /* Reduced horizontal padding */ }
    .profile-nav-title {
        font-size: 1.4rem; /* Slightly smaller title */
        overflow: hidden; /* Prevent overflow */
        text-overflow: ellipsis; /* Add ellipsis for long titles */
        white-space: nowrap; /* Keep title on one line */
    }
    .profile-nav-link { font-size: 0.75rem; padding: 0.4rem 0.6rem; /* Slightly smaller buttons */ }
    .main-image { aspect-ratio: 1 / 1; }
    .profile-thumbnail-item { height: 60px; /* Slightly smaller thumbnails */ }
    /* .profile-content rule removed as content is now handled by tabs */
    .profile-sidebar-details { margin-top: 1rem; } /* This might be unused now if details are only in tabs */
    .profile-main-info h2, .profile-sidebar-details h2 { font-size: 1.3rem; } /* Adjust if needed for tab titles */

    /* --- Profile Tabs Mobile (Adapted Interface) --- */
    /* On mobile, we stack content instead of using tabs */
    .profile-content-tabs {
        margin-top: 1.5rem; /* Keep adjusted margin */
        /* Restore container styles */
        background-color: var(--gray-color); /* Use a dark background consistent with theme */
        border-radius: var(--border-radius);
        box-shadow: var(--card-shadow);
        overflow: hidden; /* Keep overflow hidden for container */
        border: 1px solid var(--border-color-subtle);
        background-color: transparent; /* Remove desktop white background */
        box-shadow: none; /* Remove desktop shadow */
        border: none; /* Remove desktop border */
    }
    .profile-tabs-nav {
        display: none; /* Hide tab navigation buttons on mobile */
    }
    /* .profile-tabs-nav::-webkit-scrollbar { */ /* Remove scrollbar styles as nav is hidden */
        /* display: none; */ /* Hide scrollbar Chrome/Safari */
    /* } */
    /* .tab-button { */ /* Remove tab button styles as they are hidden */
        /* padding: 0.8rem 1rem; */ /* Adjust padding */
        /* font-size: 0.9rem; */
        /* flex-shrink: 0; */ /* Prevent shrinking */
        /* border-bottom-width: 2px; */ /* Slightly thinner border */
        /* color: var(--text-secondary); */ /* Adjust color for dark theme */
    /* } */
     /* .tab-button:hover { */
        /* color: var(--light-color); */
        /* background-color: rgba(255, 105, 180, 0.1); */ /* Adjust hover for dark theme */
    /* } */
    /* .tab-button.active { */
        /* color: var(--primary-color); */
        /* border-bottom-color: var(--primary-color); */
        /* background-color: var(--gray-color); */ /* Match content background */
    /* } */
    .profile-tabs-content {
        padding: 0; /* Remove padding from the overall container */
    }
    /* Ensure only active tab content is shown */
    .tab-content {
        display: block !important; /* IMPORTANT: Force ALL tab content to display */
        margin-bottom: 2rem; /* Add space between stacked sections */
        padding: 1.5rem 1rem; /* Add padding to individual sections */
        background-color: var(--gray-color); /* Add background to sections */
        border-radius: var(--border-radius); /* Add border-radius to sections */
        border: 1px solid var(--border-color-subtle); /* Add border to sections */
        animation: none; /* Disable fade-in animation for stacked view */
    }
    /* .tab-content.active { */ /* No longer needed */
        /* display: block; */ /* Show active tab */
    /* } */
     .tab-content h2 { /* Style headings within sections */
        white-space: nowrap; /* Prevent wrapping */
        -webkit-overflow-scrolling: touch; /* Smooth scroll on iOS */
        scrollbar-width: none; /* Hide scrollbar Firefox */
        background-color: rgba(0,0,0,0.2); /* Slightly different background for nav */
        border-bottom: 1px solid var(--border-color-subtle);
    }
    .profile-tabs-nav::-webkit-scrollbar {
        display: none; /* Hide scrollbar Chrome/Safari */
    }
    .tab-button {
        padding: 0.8rem 1rem; /* Adjust padding */
        font-size: 0.9rem;
        flex-shrink: 0; /* Prevent shrinking */
        border-bottom-width: 2px; /* Slightly thinner border */
        color: var(--text-secondary); /* Adjust color for dark theme */
    }
     .tab-button:hover {
        color: var(--light-color);
        background-color: rgba(255, 105, 180, 0.1); /* Adjust hover for dark theme */
    }
    .tab-button.active {
        color: var(--primary-color);
        border-bottom-color: var(--primary-color);
        background-color: var(--gray-color); /* Match content background */
    }
    .profile-tabs-content {
        padding: 1.5rem 1rem; /* Adjust padding for content area */
    }
    /* Ensure only active tab content is shown */
    .tab-content {
        display: none; /* Hide inactive tabs */
        /* Remove styles specific to stacking */
        /* margin-bottom: 2rem; */
        /* padding: 1rem; */
        /* background-color: var(--gray-color); */
        /* border-radius: var(--border-radius); */
        /* border: 1px solid var(--border-color-subtle); */
        animation: fadeIn 0.5s ease; /* Restore animation */
    }
    .tab-content.active {
        display: block; /* Show active tab */
    }
     .tab-content h2 { /* Style headings within sections */
        font-size: 1.4rem;
        color: var(--primary-color);
        margin-bottom: 1rem;
        padding-bottom: 0.5rem;
        border-bottom: 1px solid var(--border-color-subtle);
    }
    /* Keep grid adjustments within tabs */
    .profile-tabs-content .profile-details-list {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 0.8rem;
    }
    .profile-tabs-content .profile-services-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 0.8rem;
    }
    /* Keep contact button stacking within the contact tab */
    .profile-tabs-content #tab-contact .contact-buttons { /* Be more specific */
        flex-direction: column;
        align-items: stretch;
        gap: 0.8rem;
        margin-bottom: 1rem;
    }
     .profile-tabs-content #tab-contact .profile-contact-btn { /* Be more specific */
        width: 100%;
        font-size: 0.9rem;
    }

    /* --- Page Contact Mobile --- */
    .contact-buttons { flex-direction: column; align-items: center; }
    .contact-btn { width: 80%; max-width: 300px; min-width: unset; }

    /* --- Page Calor Mobile --- */
    .page-container { margin: 1.5rem auto; padding: 1.5rem; }
    .page-container h1 { font-size: 2rem; }
    .page-container p { font-size: 1rem; }
    #countdown-container { gap: 1rem; }
    .time-block { padding: 0.8rem 1rem; min-width: 80px; }
    .time-block .number { font-size: 2rem; }
    .time-block .label { font-size: 0.7rem; }

    /* --- Page Tinder Mobile --- */
    /* Les styles sont déjà orientés mobile, peu d'ajustements nécessaires */
    .tinder-action-btn { width: 55px; height: 55px; font-size: 1.6rem; }

    /* --- Footer Mobile --- */
    footer {
        margin-top: 2rem;
        display: flex; 
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        padding-bottom: 1.5rem; /* Un peu plus de padding bas global */
    }
    footer .mobile-lang { 
        display: flex !important; /* Affiché sur mobile */
        margin-bottom: 0.5rem; 
    } 
    /* Styles boutons langue footer mobile (EXISTANT ET OK) */
    footer .mobile-lang .lang-btn {
         background: none; border: 1px solid var(--border-color-subtle);
         color: var(--text-secondary); padding: 0.4rem 0.8rem; border-radius: 4px;
         cursor: pointer; transition: all 0.3s ease; font-size: 0.8rem;
         font-weight: 600; line-height: 1;
    }
    footer .mobile-lang .lang-btn:hover { border-color: var(--primary-color); color: var(--primary-color); }
    footer .mobile-lang .lang-btn.active { background-color: var(--primary-color); border-color: var(--primary-color); color: var(--darker-color); }

}

/* ======================================== */
/*          AUTRES STYLES (Helpers, etc)  */
/* ======================================== */

/* (Pas d'autres styles spécifiques pour le moment) */

/* SUPPRESSION DE LA LIGNE INVALIDE */

/* --- Footer --- */
footer {
    background-color: var(--dark-color); color: var(--text-secondary); padding: 1rem 0;
    margin-top: 4rem; position: relative; padding-bottom: calc(1rem + var(--safe-area-inset-bottom));
    border-top: 1px solid var(--border-color-subtle); font-size: 0.8rem; text-align: center;
}
/* Sélecteur langue mobile dans Footer (DOIT être caché sur desktop) */
body footer .mobile-lang { 
    display: none !important; /* Masqué sur desktop */
}

/* Age Verification Modal Styles */
.age-verification-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.age-verification-modal.hiding {
    opacity: 0;
}

.age-verification-content {
    background-color: #fff;
    padding: 2rem;
    border-radius: 10px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.age-verification-content h2 {
    color: var(--primary-color, #ff1493);
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.age-verification-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: #333;
}

.age-verification-content .legal-text {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 2rem;
}

.age-verify-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.age-verify-btn {
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: transform 0.2s, background-color 0.2s;
}

.age-verify-btn:hover {
    transform: translateY(-2px);
}

.age-verify-btn.yes {
    background-color: var(--primary-color, #ff1493);
    color: white;
}

.age-verify-btn.no {
    background-color: #ccc;
    color: #333;
}

.age-verify-lang {
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.age-verify-lang .lang-btn {
    background: none;
    border: 2px solid #ddd;
    border-radius: 4px;
    padding: 5px 10px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s;
}

.age-verify-lang .lang-btn.active {
    border-color: var(--primary-color, #ff1493);
color: #ffffff;
}

body.modal-open {
    overflow: hidden;
}

/* Responsive adjustments for mobile */
@media (max-width: 480px) {
    .age-verification-content {
        padding: 1.5rem;
    }
    
    .age-verification-content h2 {
        font-size: 1.5rem;
    }
    
    .age-verification-content p {
        font-size: 1rem;
    }
    
    .age-verify-btn {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
}

/* ======================================== */
/*     STYLES LANDING PAGE MÁLAGA          */
/* ======================================== */

/* Boutons CTA */
.cta-button {
    display: inline-block;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    box-shadow: var(--pink-shadow-light);
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--pink-shadow-strong);
    text-decoration: none;
    color: white;
}

.cta-button-large {
    display: inline-block;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 16px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
    transition: var(--transition);
    box-shadow: var(--pink-shadow-strong);
    border: none;
    cursor: pointer;
}

.cta-button-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(255, 20, 147, 0.4);
    text-decoration: none;
    color: white;
}

/* Sections principales */
.intro-section {
    background: linear-gradient(135deg, rgba(255, 20, 147, 0.1) 0%, rgba(255, 105, 180, 0.05) 100%);
    padding: 60px 0;
    text-align: center;
    border-bottom: 1px solid rgba(255, 20, 147, 0.1);
    margin-top: var(--header-height);
}

.intro-content h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.intro-text {
   
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--text-color);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.intro-features {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.feature-tag {
    background: rgba(255, 20, 147, 0.1);
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 20, 147, 0.2);
    font-weight: 500;
}

/* Section Comment ça marche */
.how-it-works {
    padding: 80px 0;
    background: var(--darker-color);
}

.how-it-works h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 50px;
    color: var(--light-color);
    font-weight: 600;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.step-card {
    background: var(--gray-color);
    padding: 30px 20px;
    border-radius: var(--border-radius);
    text-align: center;
    border: 1px solid var(--border-color-subtle);
    transition: var(--transition);
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-shadow);
    border-color: rgba(255, 20, 147, 0.3);
}

.step-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.step-card h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.step-card p {
    color: var(--text-color);
    line-height: 1.6;
}

.cta-center {
    text-align: center;
}

/* Section témoignages */
.testimonials {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(255, 20, 147, 0.05) 0%, rgba(255, 105, 180, 0.02) 100%);
}

.testimonials h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 50px;
    color: var(--light-color);
    font-weight: 600;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--gray-color);
    padding: 30px;
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color-subtle);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--card-shadow);
    border-color: rgba(255, 20, 147, 0.2);
}

.stars {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #ffd700;
}

.testimonial-card p {
    color: var(--text-color);
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 1rem;
}

.author {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
}

/* Section CTA finale */
.final-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--dark-color) 0%, var(--darker-color) 100%);
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--light-color);
    font-weight: 700;
}

.cta-content p {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 40px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.disclaimer {
    margin-top: 30px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-style: italic;
}

/* Header spécifique Málaga */
.age-notice-header {
    background: var(--primary-color);
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
}

.location-badge {
    background: rgba(255, 20, 147, 0.15);
    color: var(--primary-color);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    border: 1px solid rgba(255, 20, 147, 0.3);
    margin-left: 10px;
}

.nav-right {
    display: flex;
    align-items: center;
}

/* Footer spécifique */
.footer-location {
    margin-top: 10px;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* Message desktop */
.desktop-message {
    text-align: center;
    color: var(--text-color);
    padding: 60px 20px;
}

.desktop-message h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.desktop-message p {
    margin-bottom: 30px;
    line-height: 1.6;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.qr-code {
    width: 200px;
    height: 200px;
    background: white;
    margin: 20px auto;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #333;
    box-shadow: var(--card-shadow);
}

/* Responsive pour landing page */
@media (max-width: 768px) {
    .intro-section {
        padding: 40px 0;
    }
    
    .intro-content h1 {
        font-size: 2rem;
    }
    
    .intro-text {
        font-size: 1rem;
        padding: 0 20px;
    }
    
    .intro-features {
        gap: 10px;
    }
    
    .feature-tag {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
    
    .nav-right {
        gap: 5px;
    }
    
    .location-badge, .age-notice-header {
        font-size: 0.7rem;
        padding: 3px 8px;
    }
    
    .how-it-works, .testimonials, .final-cta {
        padding: 60px 0;
    }
    
    .how-it-works h2, .testimonials h2 {
        font-size: 1.8rem;
    }
    
    .final-cta h2 {
        font-size: 2rem;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .step-card, .testimonial-card {
        padding: 20px;
    }
    
    .cta-button {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
    
    .cta-button-large {
        padding: 14px 35px;
        font-size: 1.1rem;
    }
}
