/* ============================================
   HOUSE SERVICE S.A.S - STYLES GLOBAUX UNIFIÉS
   Architecture UI/UX Épurée & Professionnelle
   Typographie: Outfit (titres) + Roboto (texte)
   ============================================ */

:root {
    /* --- PALETTE COULEURS --- */
    --hs-red: #D32F2F;
    --hs-blue: #29B6F6;
    --hs-dark: #111827;
    --hs-gray-light: #F8FAFB;
    --hs-gray-border: #E5E7EB;
    
    /* --- FOND & TEXTE --- */
    --bg-primary: #FFFFFF;
    --bg-secondary: #F8FAFB;
    --text-primary: #202124;
    --text-secondary: #5F6368;
    --text-muted: #9AA0A6;
    
    /* --- OMBRES & EFFETS --- */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
    
    /* --- ESPACEMENTS --- */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    --spacing-2xl: 48px;
    
    /* --- TYPOGRAPHIE STYLE GOOGLE --- */
    --font-sans: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Outfit', sans-serif;
}

/* ============================================
   RÉINITIALISATION & STYLES GÉNÉRAUX
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.6;
    font-size: 16px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ============================================
   TYPOGRAPHIE - Échelle Google Style
   Titres: Outfit | Corps: Roboto
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 500;
    line-height: 1.25;
    letter-spacing: -0.5px;
    color: var(--text-primary);
}

/* H1 - Grand Titre Héros: 3.5rem (56px) */
h1 { font-size: 3.5rem; }

/* H2 - Titres de Section: 2.25rem (36px) */
h2 { font-size: 2.25rem; }

/* H3 - Titres de Cartes: 1.5rem (24px) */
h3 { font-size: 1.5rem; }

/* H4 - Petits Titres: 0.9rem (14.4px) - Majuscules */
h4 { 
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

h5 { font-size: 0.85rem; }
h6 { font-size: 0.8rem; }

/* Lead Text - Sous-titre Héros: 1.2rem (19.2px) */
.text-lead {
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* Texte Standard: 1rem (16px) */
p {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
    line-height: 1.7;
}

/* Texte Secondaire: 0.95rem (15.2px) */
.text-secondary {
    font-size: 0.95rem;
}

/* Petits Textes: 0.85rem (13.6px) */
.text-small,
.text-caption {
    font-size: 0.85rem;
    color: var(--text-muted);
}

a {
    color: var(--hs-red);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--hs-blue);
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--hs-red) 0%, #C41C3B 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(211, 47, 47, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(211, 47, 47, 0.3);
}

.btn-secondary {
    background: white;
    color: var(--hs-red);
    border: 2px solid var(--hs-red);
}

.btn-secondary:hover {
    background: var(--hs-red);
    color: white;
    transform: translateY(-2px);
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.85rem;
}

/* Section Styling */
section h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--hs-dark);
    line-height: 1.3;
}

section h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--hs-dark);
    margin-bottom: 8px;
}

/* ============================================
   CONTENEUR & GRILLE
   ============================================ */

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.section-py {
    padding: 80px 0;
}

.section-py-md {
    padding: 60px 0;
}

.section-py-sm {
    padding: 40px 0;
}

.grid {
    display: grid;
    gap: var(--spacing-lg);
}

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

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* ============================================
   BOUTONS
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary {
    background-color: var(--hs-red);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background-color: #B71C1C;
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--hs-blue);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
    background-color: #039BE5;
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.btn-ghost {
    background-color: transparent;
    color: var(--hs-red);
    border: 1.5px solid var(--hs-red);
}

.btn-ghost:hover {
    background-color: var(--hs-gray-light);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 16px 40px;
    font-size: 1rem;
}

/* ============================================
   EN-TÊTES & NAVIGATION
   ============================================ */

header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--hs-gray-border);
    z-index: 1000;
    padding: var(--spacing-md) 0;
    box-shadow: var(--shadow-sm);
}

.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-lg);
}

.logo {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.logo span {
    color: var(--hs-red);
}

.nav-menu {
    display: flex;
    gap: var(--spacing-xl);
    align-items: center;
}

.nav-link {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    position: relative;
    padding: var(--spacing-sm) 0;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--hs-red);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--hs-red);
}

.nav-link:hover::after {
    width: 100%;
}

/*header import*/
header-import {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--hs-gray-border);
    z-index: 1000;
    padding: var(--spacing-md) 0;
    box-shadow: var(--shadow-sm);
}

.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-lg);
}

.logo {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.logo span {
    color: var(--hs-red);
}

.nav-menu {
    display: flex;
    gap: var(--spacing-xl);
    align-items: center;
}

.nav-link {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    position: relative;
    padding: var(--spacing-sm) 0;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--hs-red);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--hs-red);
}

.nav-link:hover::after {
    width: 100%;
}
/*-fin-*/

/* ============================================
   DROPDOWN MENU - Style Google
   ============================================ */

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    width: 320px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    z-index: 100;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(10px);
}

.drop-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 12px;
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.2s ease;
}

.drop-item:hover {
    background: var(--bg-secondary);
}

.drop-icon {
    font-size: 1.2rem;
    color: var(--hs-blue);
    background: rgba(41, 182, 246, 0.1);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    flex-shrink: 0;
}

.drop-text h5 {
    font-weight: 700;
    margin-bottom: 4px;
    font-size: 0.95rem;
    text-transform: none;
    letter-spacing: 0;
}

.drop-text p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin: 0;
}

/* ============================================
   HÉROS & SECTIONS DE PRÉSENTATION
   ============================================ */

.page-hero {
    padding: 140px var(--spacing-lg) 80px;
    text-align: center;
    background: linear-gradient(135deg, rgba(255,255,255,0.92) 0%, rgba(248,250,251,0.95) 100%);
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

/* Arrière-plan image par défaut */
.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
    opacity: 0.15;
}

/* Services Page Hero */
.page-hero.hero-services::before {
    background-image: url('../images/solutions.webp');
}

/* Recrutement/Talents Page Hero */
.page-hero.hero-talents::before {
    background-image: url('../images/formation.webp');
}

/* Tarifs Page Hero */
.page-hero.hero-tarifs::before {
    background-image: url('../images/pub1.webp');
}

/* About Page Hero */
.page-hero.hero-about::before {
    background-image: url('../images/aa.webp');
}

/* Devis Page Hero */
.page-hero.hero-devis::before {
    background-image: url('../images/pub3.webp');
}

.page-hero.hero-partners::before {
    background-image: url('images/partenaires/plazza-1%20(1).jpeg');
    opacity: 0.2;
}

.page-hero h1 {
    margin-bottom: var(--spacing-md);
    font-size: 2.8rem;
    position: relative;
    z-index: 1;
}

.page-hero p {
    max-width: 700px;
    margin: 0 auto var(--spacing-lg);
    font-size: 1.1rem;
    color: var(--text-secondary);
    position: relative;
    z-index: 1;
}

.page-hero .section-header-tag {
    position: relative;
    z-index: 1;
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.section-header-tag {
    color: var(--hs-red);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 0.75rem;
    margin-bottom: var(--spacing-md);
}

/* ============================================
   CARTES & BLOCS
   ============================================ */

.card {
    background-color: var(--bg-primary);
    border: 1px solid var(--hs-gray-border);
    border-radius: 12px;
    padding: var(--spacing-xl);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.card:hover {
    border-color: var(--hs-blue);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.card-icon {
    width: 48px;
    height: 48px;
    background-color: var(--hs-blue);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-bottom: var(--spacing-md);
}

.card h3 {
    margin-bottom: var(--spacing-sm);
}

.card p {
    margin: 0;
}

/* ============================================
   FORMULAIRES
   ============================================ */

.form-group {
    margin-bottom: var(--spacing-lg);
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: var(--spacing-md);
    border: 1px solid var(--hs-gray-border);
    border-radius: 8px;
    font-family: var(--font-sans);
    font-size: 1rem;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    transition: all 0.3s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--hs-red);
    box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

/* ============================================
   LISTE & ÉLÉMENTS
   ============================================ */

ul {
    list-style: none;
}

ul li {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    color: var(--text-secondary);
}

ul li i {
    color: var(--hs-red);
    margin-top: 4px;
    flex-shrink: 0;
}

/* ============================================
   PIED DE PAGE
   ============================================ */

footer {
    background-color: var(--hs-dark);
    color: var(--text-muted);
    padding: var(--spacing-2xl) 0 var(--spacing-lg);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-2xl);
    margin-bottom: var(--spacing-2xl);
    padding-bottom: var(--spacing-2xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col h4 {
    color: white;
    margin-bottom: var(--spacing-md);
    font-size: 0.95rem;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.footer-col a {
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: var(--hs-red);
}

.footer-bottom {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ============================================
   MISE EN ÉVIDENCE DES LIENS IMPORTANTS (SEO)
   ============================================ */

/* Liens importants dans le contenu */
a {
    color: var(--hs-red);
    text-decoration: none;
    transition: all 0.2s ease;
    font-weight: 500;
}

a:hover,
a:focus {
    color: var(--hs-blue);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Liens de navigation principaux */
.nav-link {
    font-weight: 600;
    position: relative;
}

.nav-link:focus {
    outline: 2px solid var(--hs-blue);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Boutons CTA (Appels à l'action) */
.btn {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.2);
    transition: left 0.3s ease;
    z-index: -1;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    box-shadow: 0 6px 20px rgba(211, 47, 47, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(211, 47, 47, 0.4);
}

.btn-primary:focus {
    outline: 2px solid var(--hs-blue);
    outline-offset: 2px;
}

.btn-secondary {
    box-shadow: 0 6px 20px rgba(41, 182, 246, 0.3);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(41, 182, 246, 0.4);
}

.btn-secondary:focus {
    outline: 2px solid var(--hs-red);
    outline-offset: 2px;
}

/* Liens importants des services */
.service-link,
.card a,
.drop-item {
    position: relative;
    font-weight: 600;
}

.service-link::after,
.card a::after {
    content: ' →';
    display: inline-block;
    transition: transform 0.3s ease;
}

.service-link:hover::after,
.card a:hover::after {
    transform: translateX(4px);
}

/* Liens en footer */
.footer-col a {
    font-weight: 500;
    position: relative;
}

.footer-col a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--hs-red);
    transition: width 0.3s ease;
}

.footer-col a:hover::before {
    width: 100%;
}

/* Liens du breadcrumb (JSON-LD) */
.breadcrumb {
    list-style: none;
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
}

.breadcrumb li {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: var(--text-secondary);
}

.breadcrumb a {
    color: var(--hs-blue);
    font-weight: 600;
}

.breadcrumb a:hover {
    color: var(--hs-red);
}

/* Liens du menu déroulant */
.drop-item {
    padding: 12px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.drop-item:hover {
    background: #f0f7ff;
    border-left: 3px solid var(--hs-blue);
    padding-left: 9px;
}

/* Liens CTA dans sections */
.cta-link {
    color: var(--hs-red);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 4px;
    border-bottom: 2px solid var(--hs-red);
    transition: all 0.3s ease;
}

.cta-link:hover {
    color: var(--hs-blue);
    border-bottom-color: var(--hs-blue);
}

/* Mise en avant des liens dans le contenu */
p > a,
li > a,
div > a {
    font-weight: 600;
    position: relative;
    padding: 2px 4px;
    border-radius: 3px;
}

p > a::before,
li > a::before,
div > a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(41, 182, 246, 0.1);
    border-radius: 3px;
    z-index: -1;
    transition: all 0.2s ease;
}

p > a:hover::before,
li > a:hover::before,
div > a:hover::before {
    background: rgba(41, 182, 246, 0.2);
}

/* ============================================
   UTILITAIRES
   ============================================ */

.text-center { text-align: center; }
.text-red { color: var(--hs-red); }
.text-blue { color: var(--hs-blue); }
.text-muted { color: var(--text-muted); }

.mt-1 { margin-top: var(--spacing-xs); }
.mt-2 { margin-top: var(--spacing-sm); }
.mt-3 { margin-top: var(--spacing-md); }
.mt-4 { margin-top: var(--spacing-lg); }

.mb-1 { margin-bottom: var(--spacing-xs); }
.mb-2 { margin-bottom: var(--spacing-sm); }
.mb-3 { margin-bottom: var(--spacing-md); }
.mb-4 { margin-bottom: var(--spacing-lg); }

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Hamburger Menu */
.hamburger {
    display: none;
    position: relative;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
    background: var(--hs-red);
    border: none;
    border-radius: 8px;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.hamburger:hover,
.hamburger:focus {
    background: #B71C1C;
    outline: 2px solid var(--hs-blue);
    outline-offset: 2px;
}

/* Navigation Overlay */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 992px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 350px;
        height: 100vh;
        background: var(--bg-primary);
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        padding: 100px 30px 40px;
        gap: 10px;
        transition: right 0.3s ease;
        z-index: 1000;
        box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
        overflow-y: auto;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-link {
        display: block;
        padding: 15px 20px;
        background: var(--bg-secondary);
        border-radius: 8px;
        font-size: 1rem;
        border-left: 3px solid transparent;
        transition: all 0.3s ease;
    }
    
    .nav-link:hover,
    .nav-link.active {
        background: white;
        border-left-color: var(--hs-red);
        color: var(--hs-red);
    }
    
    .nav-link::after {
        display: none;
    }
    
    .nav-menu .btn {
        margin-top: 20px;
        text-align: center;
    }
    
    /* Dropdown Mobile */
    .dropdown {
        width: 100%;
    }
    
    .dropdown > .nav-link {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .dropdown-menu {
        position: static !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        transform: none !important;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        border: none;
        padding: 12px;
        display: none;
        background: #e8f4fc;
        border-radius: 10px;
        margin-top: 8px;
        grid-template-columns: 1fr;
    }
    
    .dropdown.active .dropdown-menu {
        display: grid;
        gap: 10px;
    }
    
    .drop-item {
        padding: 14px 16px;
        border-radius: 8px;
        background: white;
        display: flex;
        align-items: center;
        gap: 12px;
        margin-bottom: 0;
    }
    
    .drop-item:hover {
        background: #f0f7ff;
    }
    
    .drop-icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1rem;
    }
    
    .drop-text h5 {
        font-size: 0.95rem;
        margin-bottom: 2px;
    }
    
    .drop-text p {
        font-size: 0.8rem;
        margin: 0;
    }
}

@media (max-width: 768px) {
    /* Échelle typographique mobile */
    h1 { font-size: 2.5rem; } /* 40px sur mobile */
    h2 { font-size: 1.75rem; } /* 28px */
    h3 { font-size: 1.25rem; } /* 20px */
    h4 { font-size: 0.85rem; } /* 13.6px */
    
    .text-lead { font-size: 1.1rem; }
    
    .section-py {
        padding: 60px 0;
    }
    
    .section-py-md {
        padding: 40px 0;
    }
    
    .page-hero {
        padding: 100px var(--spacing-md) 60px;
    }
    
    .page-hero h1 {
        font-size: 2rem;
    }
    
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-md);
    }
    
    .btn {
        width: 100%;
    }
    
    .nav-menu {
        width: 100%;
        max-width: 100%;
        padding: 90px 20px 30px;
    }
}
/* ============================================
   COMMENTS SYSTEM - GLOBAL STYLES
   ============================================ */

#comments-button {
    position: fixed;
    bottom: 120px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--hs-red) 0%, #C41C3B 100%);
    color: white;
    border: none;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(211, 47, 47, 0.4);
    z-index: 995;
    animation: pulse 2s infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

#comments-button:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(211, 47, 47, 0.5);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(211, 47, 47, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(211, 47, 47, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(211, 47, 47, 0);
    }
}

.comments-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
}

.modal-content {
    position: relative;
    background: white;
    border-radius: 12px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    z-index: 1001;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-secondary);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: var(--hs-gray-light);
    color: var(--hs-red);
}

.modal-content h2 {
    color: var(--hs-dark);
    margin-bottom: 8px;
    font-size: 1.5rem;
}

.modal-subtitle {
    color: var(--text-secondary);
    margin-bottom: 24px;
    font-size: 0.9rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--hs-dark);
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--hs-gray-border);
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-primary);
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--hs-blue);
    box-shadow: 0 0 0 3px rgba(41, 182, 246, 0.1);
}

.star-rating {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.star-rating i {
    font-size: 1.5rem;
    color: #FBC02D;
    cursor: pointer;
    transition: all 0.2s ease;
}

.star-rating i.far {
    color: #DDD;
}

.star-rating i:hover {
    transform: scale(1.2);
}

.form-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
}

.form-success i {
    font-size: 3rem;
    color: #4CAF50;
    margin-bottom: 16px;
}

.form-success h3 {
    color: var(--hs-dark);
    margin-bottom: 8px;
}

.form-success p {
    color: var(--text-secondary);
}

@media (max-width: 480px) {
    #comments-button {
        width: 50px;
        height: 50px;
        bottom: 80px;
        right: 20px;
    }
    
    .modal-content {
        padding: 30px 20px;
        width: 95%;
    }
    
    .form-group {
        margin-bottom: 16px;
    }
}

.partner-preview {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
    max-width: 1080px;
    margin: 0 auto;
    gap: 0;
    align-items: center;
    background: white;
    border: 1px solid #dbe8eb;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 14px 32px rgba(17, 24, 39, 0.08);
}

.partner-section {
    background: #f6fafb;
    border-top: 1px solid #e5eef0;
    border-bottom: 1px solid #e5eef0;
}

.partner-section-header {
    max-width: 700px;
    margin: 0 auto var(--spacing-2xl);
}

.partner-section-header .section-header-tag {
    display: block;
    margin-bottom: 10px;
}

.partner-section-header h2 {
    margin-bottom: 12px;
    font-size: clamp(2rem, 3vw, 2.5rem);
    line-height: 1.2;
}

.partner-section-header p {
    max-width: 620px;
    margin: 0 auto;
    line-height: 1.65;
}

.partner-preview-image {
    height: 340px;
    overflow: hidden;
    position: relative;
}

.partner-preview-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.partner-image-badge {
    position: absolute;
    left: 20px;
    bottom: 20px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 12px;
    background: rgba(17, 24, 39, 0.86);
    color: white;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 600;
}

.partner-preview-content { padding: 38px 44px; }
.partner-preview-content h3 { font-size: 2rem; margin: 8px 0 12px; }
.partner-label { color: var(--hs-red); font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.3px; }

.partner-intro { background: #fffdf7; }
.partner-intro-grid, .partner-join-inner { display: grid; grid-template-columns: 1.4fr 0.8fr; gap: 56px; align-items: center; }
.partner-intro h2, .partner-join h2 { max-width: 650px; margin-bottom: 18px; }
.partner-intro-note { padding: 28px; border-left: 4px solid var(--hs-yellow); background: white; box-shadow: var(--shadow-md); }
.partner-intro-note i { color: var(--hs-red); font-size: 1.8rem; display: block; margin-bottom: 16px; }
.partner-intro-note strong, .partner-intro-note span { display: block; }
.partner-intro-note span { color: var(--text-secondary); margin-top: 8px; }
.partner-section-heading { text-align: center; margin-bottom: 36px; }
.partner-directory { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.partner-card { display: grid; grid-template-columns: 0.95fr 1.05fr; background: white; border: 1px solid var(--hs-gray-border); box-shadow: var(--shadow-sm); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.partner-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.partner-card-image { min-height: 285px; position: relative; overflow: hidden; }
.partner-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.partner-card:hover .partner-card-image img { transform: scale(1.04); }
.partner-card-image span { position: absolute; left: 14px; bottom: 14px; padding: 7px 10px; background: rgba(17, 24, 39, 0.86); color: white; font-size: 0.78rem; font-weight: 600; }
.partner-card-content { padding: 28px 24px; display: flex; flex-direction: column; align-items: flex-start; }
.partner-card-content h3 { font-size: 1.45rem; margin: 8px 0 10px; }
.partner-card-content p { margin-bottom: 20px; }
.partner-card-link { margin-top: auto; color: var(--hs-red); font-weight: 700; }
.partner-card-link i { margin-left: 6px; transition: transform 0.2s ease; }
.partner-card-link:hover i { transform: translateX(4px); }
.partner-program { background: #f8fafb; }
.partner-benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.partner-benefits-grid article { position: relative; padding: 28px; background: white; border-top: 3px solid var(--hs-blue); box-shadow: var(--shadow-sm); }
.partner-benefit-number { position: absolute; top: 18px; right: 20px; color: var(--hs-gray-border); font-size: 1.8rem; font-weight: 800; }
.partner-benefits-grid i { color: var(--hs-red); font-size: 1.5rem; margin-bottom: 18px; }
.partner-benefits-grid h3 { margin-bottom: 8px; }
.partner-benefits-grid p { margin-bottom: 0; }
.partner-gallery { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 20px; }
.partner-gallery figure { margin: 0; background: #f3f4f6; overflow: hidden; border-radius: 12px; }
.partner-gallery img { width: 100%; height: 100%; object-fit: cover; }
.partner-gallery-main { min-height: 420px; }
.partner-activity-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; }
.partner-activity-grid article { padding: 24px; border-top: 3px solid var(--hs-blue); background: #f8fafb; }
.partner-activity-grid i { color: var(--hs-red); font-size: 1.4rem; margin-bottom: 16px; }
.partner-activity-grid h3 { margin-bottom: 8px; }
.partner-activity-grid p { margin-bottom: 0; }
.partner-join { background: var(--hs-dark); color: white; }
.partner-join h2 { color: white; }
.partner-join p { color: #cbd5e1; }
.partner-join .section-header-tag { color: var(--hs-yellow); }
.partner-join-inner .btn { justify-self: end; }
.partner-join-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; justify-self: end; }
.partner-phone { color: white; font-weight: 700; }
.partner-phone i { color: var(--hs-yellow); margin-right: 8px; }
.partner-steps { display: flex; flex-wrap: wrap; gap: 14px 24px; margin-top: 24px; color: #e2e8f0; font-size: 0.9rem; }
.partner-steps span { display: inline-flex; align-items: center; gap: 8px; }
.partner-steps b { display: inline-flex; width: 24px; height: 24px; align-items: center; justify-content: center; border: 1px solid var(--hs-yellow); border-radius: 50%; color: var(--hs-yellow); font-size: 0.75rem; }
.partner-detail-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr); gap: 56px; align-items: center; }
.partner-detail-gallery { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 16px; min-height: 360px; }
.partner-detail-gallery img { width: 100%; height: 100%; min-height: 360px; object-fit: cover; border-radius: 12px; }
.partner-detail-list { display: grid; gap: 12px; margin-top: 24px; }
.partner-detail-list span { display: flex; align-items: center; gap: 10px; color: var(--text-secondary); font-weight: 600; }
.partner-detail-list i { width: 24px; color: var(--hs-red); }
.partner-hero-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.partner-hero-actions .btn { max-width: 100%; }
.partner-detail-section { background: #fffdf7; }
.partner-detail-copy h2 { margin-bottom: 16px; }
.partner-detail-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 28px; }
.partner-detail-facts span { display: grid; grid-template-columns: 24px 1fr; column-gap: 8px; padding: 14px; background: white; border-left: 3px solid var(--hs-yellow); color: var(--text-secondary); font-size: 0.9rem; }
.partner-detail-facts i { grid-row: span 2; color: var(--hs-red); padding-top: 2px; }
.partner-detail-facts strong { color: var(--text-primary); font-size: 0.82rem; }
.partner-services { background: #f8fafb; }

@media (max-width: 768px) {
    .partner-preview, .partner-intro-grid, .partner-join-inner, .partner-gallery, .partner-directory { grid-template-columns: 1fr; gap: 24px; }
    .partner-preview-image { height: 250px; }
    .partner-preview-content { padding: 28px 24px 30px; }
    .partner-preview-content h3 { font-size: 1.6rem; }
    .partner-activity-grid { grid-template-columns: 1fr; }
    .partner-benefits-grid { grid-template-columns: 1fr; }
    .partner-card { grid-template-columns: 1fr; }
    .partner-card-image { min-height: 240px; }
    .partner-gallery-main { min-height: 0; }
    .partner-join-inner .btn { justify-self: stretch; }
    .partner-join-actions { justify-self: stretch; align-items: stretch; }
    .partner-detail-facts { grid-template-columns: 1fr; }
    .partner-hero-actions { flex-direction: column; align-items: stretch; }
    .partner-hero-actions .btn { width: 100%; }
    .partner-join-actions .btn, .partner-join-actions .partner-phone { width: 100%; justify-content: center; text-align: center; }
    .partner-detail-grid, .partner-detail-gallery { grid-template-columns: 1fr; gap: 24px; }
    .partner-detail-gallery img { min-height: 240px; max-height: 300px; }
}

@media (max-width: 992px) {
    .partner-nav-actions .btn-devis-desktop { display: none; }
}