/**
 * STYLE ULTRA MODERNE POUR PLATEFORME PNL
 * Design basé sur ChangeMed - Adapté pour Coach en PNL
 * Palette: Bleu Royal (#1F4E79), Or (#C9A13B), Vert Menthe (#A7C7A9)
 */

/* ============================================
   VARIABLES CSS ULTRA MODERNES
   ============================================ */
:root {
    /* Palette de couleurs personnalisée */
    --primary: #1F4E79;           /* Bleu royal */
    --primary-dark: #163a5f;
    --primary-light: #2d6ba8;
    --secondary: #C9A13B;         /* Or doux */
    --secondary-dark: #a68530;
    --secondary-light: #d4b05f;
    --accent: #A7C7A9;            /* Vert menthe doux */
    --accent-dark: #8ab58d;
    
    /* Couleurs fonctionnelles */
    --danger: #dc3545;
    --warning: #ffc107;
    --success: #28a745;
    --info: #17a2b8;
    
    /* Couleurs de texte */
    --text-primary: #1F4E79;
    --text-secondary: #5a6c7d;
    --text-light: #8794a1;
    --text-white: #FFFFFF;
    --text-gold: #C9A13B;
    
    /* Backgrounds */
    --bg-primary: #FFFFFF;
    --bg-secondary: #F3F3F3;
    --bg-dark: #1F4E79;
    --bg-gradient: linear-gradient(135deg, #1F4E79 0%, #2d6ba8 100%);
    --bg-gradient-gold: linear-gradient(135deg, #C9A13B 0%, #d4b05f 100%);
    --bg-gradient-accent: linear-gradient(135deg, #1F4E79 0%, #A7C7A9 100%);
    
    /* Borders */
    --border-color: #dce1e6;
    --border-light: #F3F3F3;
    --border-gold: #C9A13B;
    --border-primary: #1F4E79;
    
    /* Shadows */
    --shadow-sm: 0 1px 3px 0 rgba(31, 78, 121, 0.08);
    --shadow: 0 4px 12px -2px rgba(31, 78, 121, 0.12);
    --shadow-md: 0 8px 20px -4px rgba(31, 78, 121, 0.15);
    --shadow-lg: 0 16px 32px -8px rgba(31, 78, 121, 0.18);
    --shadow-xl: 0 24px 48px -12px rgba(31, 78, 121, 0.22);
    --shadow-gold: 0 8px 24px -4px rgba(201, 161, 59, 0.3);
    --shadow-glow: 0 0 40px rgba(201, 161, 59, 0.4);
    
    /* Radius */
    --radius-sm: 0.5rem;
    --radius: 0.75rem;
    --radius-md: 1rem;
    --radius-lg: 1.25rem;
    --radius-xl: 1.75rem;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Typography */
    --font-sans: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ============================================
   RESET & BASE
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-primary);
    background-color: var(--bg-secondary);
    direction: ltr;
    text-align: left;
    overflow-x: hidden;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding-top: 0 !important;
}

@media (max-width: 991.98px) {
    body {
        padding-top: 0 !important;
    }
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

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

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 1.25rem;
    color: var(--primary);
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
    font-size: 1.0625rem;
    line-height: 1.75;
}

/* ============================================
   HEADER ULTRA MODERNE
   ============================================ */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.99) 0%, 
        rgba(255, 255, 255, 0.97) 50%,
        rgba(255, 255, 255, 0.99) 100%);
    backdrop-filter: blur(24px) saturate(200%);
    -webkit-backdrop-filter: blur(24px) saturate(200%);
    border-bottom: 1px solid rgba(31, 78, 121, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: var(--font-body);
    box-shadow: 0 8px 32px rgba(31, 78, 121, 0.12), 
                0 0 0 1px rgba(31, 78, 121, 0.05);
    height: 70px;
    min-height: 70px;
    max-height: 70px;
    box-sizing: border-box;
}

.main-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(201, 161, 59, 0.05), 
        transparent);
    transition: left 3s ease-in-out;
    z-index: 0;
    pointer-events: none;
}

.main-header:hover::before {
    left: 100%;
}

.main-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent,
        var(--primary) 20%,
        var(--secondary) 50%,
        var(--primary) 80%,
        transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.main-header.scrolled {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.99) 0%, 
        rgba(255, 255, 255, 0.98) 100%);
    box-shadow: 0 12px 40px rgba(31, 78, 121, 0.15), 
                0 0 0 1px rgba(31, 78, 121, 0.08);
    backdrop-filter: blur(28px) saturate(220%);
    -webkit-backdrop-filter: blur(28px) saturate(220%);
    height: 70px;
    min-height: 70px;
    max-height: 70px;
}

.main-header.scrolled::after {
    opacity: 1;
}

.navbar {
    padding: 0;
    height: 100%;
    display: flex;
    align-items: center;
    box-sizing: border-box;
}

.navbar .container {
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0;
    max-width: 100%;
    width: 100%;
}

.nav-wrapper {
    max-width: 100%;
    margin: 0 auto;
    padding: 0.875rem 3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0;
    position: relative;
    z-index: 2;
    transition: padding 0.4s ease;
    height: 100%;
    box-sizing: border-box;
    width: 100%;
}

.main-header.scrolled .nav-wrapper {
    padding: 0.875rem 3rem;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    transition: var(--transition);
    position: relative;
    text-decoration: none;
    flex-shrink: 0;
    margin-right: auto;
    width: auto;
    max-width: 500px;
    font-size: 0;
}

.logo:hover {
    transform: translateY(-3px);
}

.logo-img {
    height: 65px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
    filter: drop-shadow(0 2px 12px rgba(31, 78, 121, 0.25));
    flex-shrink: 0;
    margin: 0;
    padding: 0;
    display: block;
    vertical-align: middle;
}

.logo-img-left {
    order: 1;
}

.logo-img-right {
    order: 3;
}

.main-header.scrolled .logo-img {
    height: 55px;
}

.logo:hover .logo-img {
    transform: scale(1.08);
    filter: drop-shadow(0 8px 28px rgba(31, 78, 121, 0.45));
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    transition: var(--transition);
    order: 2;
    flex: 0 0 auto;
    text-align: center;
    margin: 0;
    padding: 0;
    white-space: nowrap;
    font-size: 1rem;
}

.logo-name {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary);
    font-family: var(--font-heading);
    letter-spacing: -0.02em;
    white-space: nowrap;
    transition: var(--transition);
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}

.logo-subtitle {
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--text-secondary);
    font-family: var(--font-heading);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    opacity: 0.85;
    transition: var(--transition);
    margin-top: -2px;
}

.main-header.scrolled .logo-name {
    font-size: 1.15rem;
}

.main-header.scrolled .logo-subtitle {
    font-size: 0.65rem;
}

.logo:hover .logo-name {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo:hover .logo-subtitle {
    color: var(--secondary);
    opacity: 1;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    align-items: center;
    margin: 0;
    padding: 0;
    margin-left: auto;
    order: 3;
}

.nav-link {
    position: relative;
    font-weight: 600;
    color: var(--text-primary);
    padding: 0.625rem 1.25rem;
    transition: var(--transition);
    font-size: 0.9rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    letter-spacing: 0.01em;
}

.nav-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, 
        rgba(31, 78, 121, 0.08), 
        rgba(201, 161, 59, 0.08));
    border-radius: var(--radius-md);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1.25rem;
    right: 1.25rem;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary), var(--primary));
    border-radius: var(--radius-full);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover::before,
.nav-link.active::before {
    opacity: 1;
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

.nav-link:hover {
    color: var(--primary);
    transform: translateY(-2px);
}

.nav-link.active {
    color: var(--primary);
    font-weight: 700;
}

.nav-link-login {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.625rem !important;
    min-width: 40px;
    border-radius: var(--radius-md);
    background: transparent;
    transition: all 0.3s ease;
}

.nav-link-login svg {
    width: 20px;
    height: 20px;
    stroke: var(--text-primary);
    transition: all 0.3s ease;
}

.nav-link-login:hover {
    background: rgba(31, 78, 121, 0.1);
    transform: translateY(-2px);
}

.nav-link-login:hover svg {
    stroke: var(--primary);
    transform: scale(1.1);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    margin-left: auto;
    order: 2;
    cursor: pointer;
    padding: 5px;
    z-index: 10;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary);
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* ============================================
   MAIN CONTENT
   ============================================ */
.main-content {
    flex: 1;
    padding: 0 !important;
    padding-bottom: 40px;
    background: var(--bg-secondary);
    margin: 0 !important;
    padding-top: 0 !important;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

/* Espacement entre le slider et le container des sections */
.hero-slider + .container,
.hero-slider ~ .container,
.sections-container {
    margin-top: 80px !important;
    padding-top: 0 !important;
}

/* ============================================
   HERO SLIDER
   ============================================ */
.hero-slider {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
    margin: 0 !important;
    margin-top: 70px !important;
    margin-bottom: 0 !important;
    padding: 0 !important;
    padding-bottom: 150px !important;
    box-shadow: var(--shadow-xl);
    display: block;
    box-sizing: content-box;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-gradient);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 60px;
    text-align: center;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.65) 100%);
    z-index: 0;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.slide-content {
    position: relative;
    z-index: 1;
}

.slide-content h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--text-white);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.slide-content h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--secondary);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.slide-content p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    line-height: 1.8;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.95);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

/* ============================================
   BOUTON SLIDER AMÉLIORÉ
   ============================================ */
.slide-content .btn {
    background: linear-gradient(135deg, #C9A13B 0%, #d4b05f 50%, #e6c87f 100%);
    color: #1F4E79;
    font-weight: 600;
    font-size: 0.75rem;
    padding: 0.5rem 1.25rem;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(201, 161, 59, 0.25),
                0 1px 4px rgba(31, 78, 121, 0.12);
    text-shadow: none;
    letter-spacing: 0.2px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    margin-top: 10px;
    transition: all 0.3s ease;
}

.slide-content .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.slide-content .btn:hover::before {
    left: 100%;
}

.slide-content .btn:hover {
    background: linear-gradient(135deg, #d4b05f 0%, #e6c87f 50%, #f0d699 100%);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 12px rgba(201, 161, 59, 0.35),
                0 2px 6px rgba(31, 78, 121, 0.18);
}

.slide-content .btn:active {
    transform: scale(0.98);
    box-shadow: 0 1px 4px rgba(201, 161, 59, 0.25),
                0 1px 2px rgba(31, 78, 121, 0.15);
}



/* ============================================
   SECTIONS GRID
   ============================================ */
.sections-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 0;
    margin-bottom: 60px;
}

.section-card {
    position: relative;
    padding: 2.5rem;
    background: white;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-light);
    transition: var(--transition);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.section-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.section-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--bg-gradient-gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.section-card:hover::before {
    transform: scaleX(1);
}

.section-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--border-gold);
}

.section-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: block;
}

.section-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--primary);
}

.section-card p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

.section-card-has-cta {
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.section-card-has-cta .section-icon,
.section-card-has-cta h3,
.section-card-has-cta p {
    flex-shrink: 0;
}

.section-card-has-cta p:last-of-type {
    margin-bottom: 0;
}

.section-card-cta-wrap {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: auto;
    padding-top: 1.5rem;
    flex-shrink: 0;
}

/* ============================================
   BUTTONS PREMIUM
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.btn.section-card-cta {
    border-radius: 999px;
    padding: 0.75rem 1.9rem;
    font-size: 0.9375rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    color: #153a5c;
    background: linear-gradient(165deg, #f0d78c 0%, #deb85a 28%, #c9a13b 72%, #b8922f 100%);
    border: 1px solid rgba(255, 255, 255, 0.65);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.55) inset,
        0 2px 4px rgba(31, 78, 121, 0.08),
        0 6px 20px rgba(201, 161, 59, 0.38);
    transition: transform 0.28s cubic-bezier(0.34, 1.2, 0.64, 1),
        box-shadow 0.28s ease,
        color 0.2s ease,
        filter 0.2s ease;
    max-width: calc(100% - 0.5rem);
    text-align: center;
    white-space: normal;
    line-height: 1.35;
    min-height: 2.75rem;
}

.btn.section-card-cta:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn.section-card-cta:hover {
    color: #0f2d47;
    transform: translateY(-3px);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.65) inset,
        0 4px 12px rgba(31, 78, 121, 0.12),
        0 10px 32px rgba(201, 161, 59, 0.48);
    filter: brightness(1.04);
}

.btn.section-card-cta:active {
    transform: translateY(-1px);
    transition-duration: 0.1s;
}

.btn-primary {
    background: var(--bg-gradient-gold);
    color: var(--primary);
    box-shadow: var(--shadow-gold);
    font-weight: 700;
}

.btn-primary:hover {
    box-shadow: var(--shadow-glow), var(--shadow-xl);
    transform: translateY(-3px);
}

.btn-secondary {
    background: white;
    color: var(--primary);
    border: 2px solid var(--primary);
    box-shadow: var(--shadow);
}

.btn-secondary:hover {
    background: var(--primary);
    color: white;
}

/* ============================================
   APPOINTMENT SECTION
   ============================================ */
.appointment-section {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, 
        rgba(31, 78, 121, 0.02) 0%, 
        rgba(201, 161, 59, 0.02) 100%);
    border-radius: var(--radius-xl);
    margin-top: 60px;
    border: 1px solid var(--border-light);
}

/* Conteneurs qui contiennent les appointment-section doivent avoir un fond blanc */
.home-section-container {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-xl);
}

.appointment-section h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--primary);
}

.appointment-section p {
    font-size: 1.125rem;
    margin-bottom: 30px;
    color: var(--text-secondary);
}

/* Boutons stylisés pour les sections home_sections */
.appointment-section .btn {
    background: linear-gradient(135deg, #C9A13B 0%, #d4b05f 50%, #e6c87f 100%);
    color: #1F4E79;
    font-weight: 700;
    font-size: 1.0625rem;
    padding: 1.125rem 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 16px rgba(201, 161, 59, 0.3),
                0 2px 8px rgba(31, 78, 121, 0.15);
    text-shadow: none;
    letter-spacing: 0.3px;
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.3);
    margin-top: 1.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 200px;
}

.appointment-section .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transition: left 0.6s ease;
}

.appointment-section .btn:hover::before {
    left: 100%;
}

.appointment-section .btn:hover {
    background: linear-gradient(135deg, #d4b05f 0%, #e6c87f 50%, #f0d699 100%);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 6px 24px rgba(201, 161, 59, 0.4),
                0 4px 12px rgba(31, 78, 121, 0.2);
    transform: translateY(-3px);
}

.appointment-section .btn:active {
    transform: translateY(-1px) scale(0.98);
    box-shadow: 0 2px 8px rgba(201, 161, 59, 0.3),
                0 1px 4px rgba(31, 78, 121, 0.15);
}

/* ============================================
   FORMS
   ============================================ */
.form-group {
    margin-bottom: 1.75rem;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 700;
    color: var(--primary);
    font-size: 0.95rem;
    letter-spacing: 0.01em;
    transition: var(--transition);
}

.form-control {
    width: 100%;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 1rem;
    transition: var(--transition);
    font-family: var(--font-body);
    box-shadow: var(--shadow-sm);
}

.form-control:hover {
    border-color: rgba(31, 78, 121, 0.3);
    box-shadow: var(--shadow);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 4px rgba(31, 78, 121, 0.1), var(--shadow-md);
    transform: translateY(-2px);
}

.form-control::placeholder {
    color: var(--text-light);
    opacity: 0.7;
}

.form-control::placeholder {
    color: var(--text-light);
}

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

/* ============================================
   CALENDRIER RENDEZ-VOUS (Flatpickr)
   ============================================ */
.flatpickr-calendar {
    font-family: var(--font-body);
    border-radius: var(--radius);
    border: 1px solid rgba(31, 78, 121, 0.16);
    box-shadow: var(--shadow-md);
}

.flatpickr-months .flatpickr-month {
    background: var(--bg-gradient);
    color: #fff;
    border-top-left-radius: var(--radius);
    border-top-right-radius: var(--radius);
}

.flatpickr-months .flatpickr-prev-month,
.flatpickr-months .flatpickr-next-month {
    color: #fff;
    fill: #fff;
}

.flatpickr-weekdays {
    background: #f6f8fb;
    border-bottom: 1px solid rgba(31, 78, 121, 0.10);
}

.flatpickr-weekday {
    color: rgba(31, 78, 121, 0.75);
    font-weight: 700;
}

.flatpickr-day {
    border-radius: 10px;
    transition: var(--transition-fast);
}

.flatpickr-day:hover {
    background: rgba(31, 78, 121, 0.08);
}

.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange,
.flatpickr-day.inRange {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

/* Jours bloqués (non travaillés + exclusion) : barrés et non cliquables */
.flatpickr-day.pnl-day-blocked,
.flatpickr-day.flatpickr-disabled.pnl-day-blocked {
    color: rgba(31, 78, 121, 0.35) !important;
    text-decoration: line-through;
    text-decoration-thickness: 2px;
    text-decoration-color: rgba(220, 53, 69, 0.65);
    background: rgba(220, 53, 69, 0.04);
    border: 1px dashed rgba(220, 53, 69, 0.25);
    cursor: not-allowed !important;
}

.flatpickr-day.pnl-day-excluded {
    background: rgba(220, 53, 69, 0.07);
    border-color: rgba(220, 53, 69, 0.30);
}

.flatpickr-day.pnl-day-nonworking {
    background: rgba(31, 78, 121, 0.03);
    border-color: rgba(31, 78, 121, 0.18);
}

.flatpickr-day.pnl-day-blocked::after {
    content: '';
    position: absolute;
    left: 15%;
    right: 15%;
    top: 50%;
    height: 2px;
    background: rgba(220, 53, 69, 0.65);
    transform: translateY(-50%) rotate(-12deg);
    pointer-events: none;
}

/* Input alt (affiché par Flatpickr) : cohérent avec .form-control */
.flatpickr-input[readonly],
.flatpickr-input.form-control[readonly] {
    background: #fff;
    cursor: pointer;
}

/* ============================================
   ALERTS
   ============================================ */
.alert {
    padding: 1rem 1.25rem;
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
    border: 1px solid;
}

.alert-success {
    background: rgba(40, 167, 69, 0.1);
    border-color: rgba(40, 167, 69, 0.3);
    color: #155724;
}

.alert-error {
    background: rgba(220, 53, 69, 0.1);
    border-color: rgba(220, 53, 69, 0.3);
    color: #721c24;
}

/* ============================================
   BLUEPRINT PAGE
   ============================================ */
.page-title {
    text-align: center;
    margin-bottom: 3rem;
    margin-top: 90px;
    padding: 2rem 0;
}

.page-title h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--primary);
}

.page-title p {
    font-size: 1.125rem;
    color: var(--text-secondary);
}

/* ============================================
   PAGE LAISSEZ UN AVIS (submit_review.php)
   ============================================ */
.submit-review-page {
    max-width: 640px;
    margin: 0 auto;
    padding: 88px 1.25rem 3.5rem;
}

.submit-review-hero {
    text-align: center;
    margin-bottom: 1.75rem;
}

.submit-review-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary);
    background: rgba(31, 78, 121, 0.08);
    border: 1px solid rgba(31, 78, 121, 0.14);
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    margin-bottom: 1rem;
}

.submit-review-hero h1 {
    font-size: clamp(1.85rem, 4vw, 2.35rem);
    font-weight: 800;
    color: var(--primary);
    margin: 0 0 0.65rem;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.submit-review-hero p {
    margin: 0 auto;
    font-size: 1.0625rem;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 34rem;
}

.submit-review-card {
    background: #fff;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-lg);
    padding: 2rem 2rem 2.25rem;
    position: relative;
    overflow: hidden;
}

.submit-review-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--bg-gradient-gold);
    z-index: 1;
}

.submit-review-card form {
    position: relative;
    z-index: 0;
}

.submit-review-card .form-group {
    margin-bottom: 1.35rem;
}

.submit-review-card .form-group:last-of-type {
    margin-bottom: 1.5rem;
}

.submit-review-card label {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.45rem;
    display: block;
}

.submit-review-label-hint {
    font-weight: 500;
    color: var(--text-secondary);
}

.submit-review-card .form-control {
    border-radius: var(--radius);
    border: 1px solid #e5e7eb;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.submit-review-card .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(31, 78, 121, 0.12);
    outline: none;
}

.submit-review-card textarea.form-control {
    min-height: 168px;
    resize: vertical;
    line-height: 1.6;
}

.submit-review-note {
    display: flex;
    gap: 0.65rem;
    align-items: flex-start;
    font-size: 0.875rem;
    color: var(--text-secondary);
    background: linear-gradient(135deg, rgba(31, 78, 121, 0.04) 0%, rgba(201, 161, 59, 0.06) 100%);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 0.9rem 1rem;
    margin-bottom: 1.5rem;
    line-height: 1.55;
}

.submit-review-note svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--primary);
    opacity: 0.85;
}

.submit-review-card .btn-primary {
    width: 100%;
    padding: 0.95rem 1.5rem;
    font-weight: 700;
    font-size: 1rem;
    border-radius: var(--radius-lg);
    margin-top: 0.15rem;
    box-shadow: 0 6px 20px rgba(31, 78, 121, 0.22);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.submit-review-card .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 26px rgba(31, 78, 121, 0.28);
}

.submit-review-page .alert {
    margin-bottom: 1.25rem;
    border-radius: var(--radius);
}

@media (max-width: 576px) {
    .submit-review-page {
        padding: 76px 1rem 2.5rem;
    }

    .submit-review-card {
        padding: 1.5rem 1.15rem 1.65rem;
    }

    .submit-review-hero h1 {
        font-size: 1.65rem;
    }
}

.blueprint-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.blueprint-card {
    position: relative;
    padding: 2rem;
    background: white;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-light);
    transition: var(--transition);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.blueprint-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--bg-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.blueprint-card:hover::before {
    transform: scaleX(1);
}

.blueprint-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.blueprint-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary);
}

.blueprint-card p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

.blueprint-card img {
    width: 100%;
    border-radius: var(--radius);
    margin-bottom: 1.25rem;
}

/* ============================================
   BLUEPRINT ÉPINGLÉ (GRAND FORMAT)
   ============================================ */
.blueprint-pinned {
    margin-top: 3rem;
    margin-bottom: 4rem;
}

.blueprint-pinned-content {
    background: white;
    border-radius: var(--radius-xl);
    border: 2px solid var(--border-light);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    position: relative;
}

.blueprint-pinned-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--bg-gradient-gold);
    z-index: 1;
}

.blueprint-pinned-image {
    width: 100%;
    min-height: 300px;
    max-height: 600px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
}

.blueprint-pinned-image img {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: contain;
}

.blueprint-pinned-info {
    padding: 3rem;
}

.blueprint-pinned-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--primary);
    line-height: 1.2;
}

.blueprint-pinned-description {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.blueprint-pinned-body {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-primary);
    margin-bottom: 2.5rem;
}

.blueprint-pinned-form {
    margin-top: 2rem;
}

.blueprint-pinned-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.blueprint-pinned-form .form-row:last-of-type {
    grid-template-columns: 1fr;
}

.blueprint-pinned-form .form-control {
    padding: 1rem 1.25rem;
    font-size: 1rem;
}

/* ============================================
   BLUEPRINTS EN MINIATURE
   ============================================ */
.blueprints-miniature {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 2px solid var(--border-light);
}

.blueprints-miniature-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--primary);
    text-align: center;
}

.blueprints-miniature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.blueprint-miniature-card {
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.blueprint-miniature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.blueprint-miniature-image {
    width: 100%;
    min-height: 180px;
    max-height: 250px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
}

.blueprint-miniature-image img {
    width: 100%;
    height: auto;
    max-height: 250px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.blueprint-miniature-card:hover .blueprint-miniature-image img {
    transform: scale(1.02);
}

.blueprint-miniature-info {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blueprint-miniature-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--primary);
    line-height: 1.3;
}

.blueprint-miniature-description {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    flex: 1;
}

.blueprint-miniature-content {
    font-size: 0.875rem;
    line-height: 1.7;
    color: var(--text-primary);
    margin-top: 0.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-light);
}

.blueprint-miniature-form {
    margin-top: auto;
}

.blueprint-miniature-form .form-control {
    padding: 0.75rem;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.blueprint-miniature-form .btn-small {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    width: 100%;
}

@media (max-width: 768px) {
    .blueprint-pinned-image {
        min-height: 250px;
        max-height: 400px;
    }
    
    .blueprint-pinned-image img {
        max-height: 400px;
    }
    
    .blueprint-miniature-image {
        min-height: 150px;
        max-height: 200px;
    }
    
    .blueprint-miniature-image img {
        max-height: 200px;
    }

    .blueprint-pinned-info {
        padding: 2rem 1.5rem;
    }

    .blueprint-pinned-form .form-row {
        grid-template-columns: 1fr;
    }

    .blueprints-miniature-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   BLUEPRINT VIEW (DÉTAIL) - REFONTE PREMIUM (STYLE SITE)
   ============================================ */
.blueprint-view {
    margin-top: 90px;
    padding-bottom: 60px;
}

.blueprint-view-header {
    position: relative;
    background: white;
    border-radius: var(--radius-xl);
    border: 2px solid var(--border-light);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    margin-bottom: 2rem;
}

.blueprint-view-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--bg-gradient-gold);
    z-index: 1;
}

.blueprint-view-header-inner {
    padding: 2.25rem 2.25rem;
}

.blueprint-view-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
}

.blueprint-view-breadcrumb a {
    color: var(--primary);
    font-weight: 800;
}

.blueprint-view-headgrid {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 1.75rem;
    align-items: center;
}

.blueprint-view-thumb {
    width: 220px;
    height: 170px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    background: var(--bg-secondary);
    overflow: hidden;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    justify-content: center;
}

.blueprint-view-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* image pas trop grande */
    padding: 10px;
}

.blueprint-view-title {
    font-size: clamp(2rem, 3.4vw, 3rem);
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 1rem;
    line-height: 1.15;
}

.blueprint-view-desc {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.85;
    margin-bottom: 1.25rem;
}

.blueprint-view-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.blueprint-view-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.6rem 0.95rem;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, rgba(31, 78, 121, 0.06) 0%, rgba(201, 161, 59, 0.08) 100%);
    border: 1px solid rgba(31, 78, 121, 0.12);
    color: var(--primary);
    font-weight: 800;
    font-size: 0.9rem;
}

.blueprint-view-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.25rem;
}

.blueprint-view-sections {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.75rem;
}

.blueprint-view-section {
    position: relative;
    background: white;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(31, 78, 121, 0.10);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.blueprint-view-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--bg-gradient);
    opacity: 0.9;
}

.blueprint-view-section-inner {
    padding: 2.25rem;
}

.blueprint-view-section h2,
.blueprint-view-section h3 {
    margin-bottom: 1rem;
}

.blueprint-view-content {
    font-size: 1.0625rem;
    line-height: 1.9;
    color: var(--text-secondary);
}

.blueprint-view-two-col {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 1.75rem;
    align-items: start;
}

.blueprint-view-sidebar {
    position: sticky;
    top: 95px;
}

.blueprint-view-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.blueprint-view-form .form-row:last-of-type {
    grid-template-columns: 1fr;
}

.blueprint-view-form .btn {
    width: 100%;
}

.blueprint-view-note {
    margin-top: 1rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

@media (max-width: 991.98px) {
    .blueprint-view-headgrid {
        grid-template-columns: 1fr;
    }
    .blueprint-view-thumb {
        width: 100%;
        height: 220px;
    }
    .blueprint-view-two-col {
        grid-template-columns: 1fr;
    }
    .blueprint-view-sidebar {
        position: static;
        top: auto;
    }
}

@media (max-width: 768px) {
    .blueprint-view {
        margin-top: 85px;
    }
    .blueprint-view-header-inner,
    .blueprint-view-section-inner {
        padding: 1.75rem 1.5rem;
    }
    .blueprint-view-form .form-row {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   BLUEPRINT LIST (PAGE blueprint.php) - STYLE blueprint_view
   ============================================ */
.blueprint-list {
    margin-top: 90px;
    padding-bottom: 60px;
}

/* ============================================
   CONFERENCE LIST + VIEW - STYLE blueprint_view
   ============================================ */
.conference-list {
    margin-top: 90px;
    padding-bottom: 60px;
}

.conference-list-header {
    position: relative;
    background: white;
    border-radius: var(--radius-xl);
    border: 2px solid var(--border-light);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    margin-bottom: 2rem;
}

.conference-list-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--bg-gradient-gold);
    z-index: 1;
}

.conference-list-header-inner {
    padding: 2.25rem 2.25rem;
    text-align: center;
}

.conference-list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.75rem;
}

.conference-list-card {
    position: relative;
    background: white;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(31, 78, 121, 0.10);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}

.conference-list-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--bg-gradient);
    opacity: 0.9;
}

.conference-list-card:hover,
.conference-list-card:focus,
.conference-list-card:focus-visible {
    text-decoration: none;
    color: inherit;
    outline: none;
}

.conference-list-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(31, 78, 121, 0.22);
}

.conference-list-media {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-light);
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
}

.conference-list-media img {
    width: 100%;
    height: 200px;
    object-fit: contain;
}

.conference-list-body {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    flex: 1;
}

.conference-list-title {
    font-size: 1.35rem;
    margin: 0;
    font-weight: 900;
    color: var(--primary);
    line-height: 1.25;
}

.conference-list-desc {
    margin: 0;
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.75;
}

.conference-list-footer {
    margin-top: auto;
    display: flex;
    gap: 0.75rem;
    align-items: center;
    flex-wrap: wrap;
}

.conference-list-footer .btn {
    width: 100%;
}

/* E-books : même carte que la liste conférences, en <button> pour ouvrir le modal */
button.conference-list-card {
    width: 100%;
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
    font: inherit;
    font-family: inherit;
    text-align: inherit;
    color: inherit;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

button.conference-list-card:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
}

.conference-list-card--locked {
    opacity: 0.97;
}

.conference-list-price-line {
    margin: 0 0 0.35rem;
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.35;
}

.conference-list-price-line .conference-list-price-eur {
    display: block;
    margin-top: 0.2rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-secondary);
}

/* conference view re-use blueprint_view classes via alias */
.conference-view {
    margin-top: 90px;
    padding-bottom: 60px;
}

.conference-view-header,
.conference-view-section {
    position: relative;
    background: white;
    border-radius: var(--radius-xl);
    border: 2px solid var(--border-light);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
}

.conference-view-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--bg-gradient-gold);
    z-index: 1;
}

.conference-view-section {
    border-width: 1px;
    box-shadow: var(--shadow-md);
}

.conference-view-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--bg-gradient);
    opacity: 0.9;
}

.conference-view-header-inner,
.conference-view-section-inner {
    padding: 2.25rem;
}

.conference-view-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
}

.conference-view-breadcrumb a {
    color: var(--primary);
    font-weight: 800;
}

.conference-view-headgrid {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 1.75rem;
    align-items: center;
}

.conference-view-thumb {
    width: 220px;
    height: 170px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    background: var(--bg-secondary);
    overflow: hidden;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    justify-content: center;
}

.conference-view-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
}

.conference-view-title {
    font-size: clamp(2rem, 3.4vw, 3rem);
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 1rem;
    line-height: 1.15;
}

.conference-view-desc {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.85;
    margin-bottom: 1.25rem;
}

.conference-view-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.conference-view-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.6rem 0.95rem;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, rgba(31, 78, 121, 0.06) 0%, rgba(201, 161, 59, 0.08) 100%);
    border: 1px solid rgba(31, 78, 121, 0.12);
    color: var(--primary);
    font-weight: 800;
    font-size: 0.9rem;
}

.conference-view-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.25rem;
}

.conference-view-sections {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.75rem;
}

.conference-view-content {
    font-size: 1.0625rem;
    line-height: 1.9;
    color: var(--text-secondary);
}

.conference-view-note {
    margin-top: 1rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.conference-view-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.conference-view-form .form-row:last-of-type {
    grid-template-columns: 1fr;
}

@media (max-width: 991.98px) {
    .conference-view-headgrid {
        grid-template-columns: 1fr;
    }
    .conference-view-thumb {
        width: 100%;
        height: 220px;
    }
}

@media (max-width: 768px) {
    .conference-list,
    .conference-view {
        margin-top: 85px;
    }
    .conference-list-header-inner {
        padding: 1.75rem 1.5rem;
    }
    .conference-list-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .conference-list-body {
        padding: 1.5rem 1.25rem;
    }
    .conference-list-media img {
        height: 180px;
    }
    .conference-view-header-inner,
    .conference-view-section-inner {
        padding: 1.75rem 1.5rem;
    }
    .conference-view-form .form-row {
        grid-template-columns: 1fr;
    }
}

.blueprint-list-header {
    position: relative;
    background: white;
    border-radius: var(--radius-xl);
    border: 2px solid var(--border-light);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    margin-bottom: 2rem;
}

.blueprint-list-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--bg-gradient-gold);
    z-index: 1;
}

.blueprint-list-header-inner {
    padding: 2.25rem 2.25rem;
    text-align: center;
}

.blueprint-list-header-visual--thumb {
    margin: 1rem auto 0;
    max-width: 200px;
    width: 100%;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    box-sizing: border-box;
}

.blueprint-list-header-visual--thumb img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 120px;
    object-fit: contain;
    display: block;
}

.blueprint-list-header-copy {
    min-width: 0;
}

.blueprint-list-header h1 {
    margin-bottom: 0.85rem;
}

.blueprint-list-header-lead {
    margin: 0;
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.65;
}

.blueprint-list-header-details {
    margin-top: 1rem;
    color: var(--text-secondary);
    font-size: 0.98rem;
    line-height: 1.75;
}

.blueprint-list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.75rem;
}

.blueprint-list-card {
    position: relative;
    background: white;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(31, 78, 121, 0.10);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}

.blueprint-list-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--bg-gradient);
    opacity: 0.9;
}

.blueprint-list-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(31, 78, 121, 0.22);
}

.blueprint-list-card:hover,
.blueprint-list-card:focus,
.blueprint-list-card:focus-visible {
    text-decoration: none;
    color: inherit;
    outline: none;
}

.blueprint-list-media {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-light);
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
}

.blueprint-list-media img {
    width: 100%;
    height: 200px;
    object-fit: contain;
}

.blueprint-list-body {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    flex: 1;
}

.blueprint-list-title {
    font-size: 1.35rem;
    margin: 0;
    font-weight: 900;
    color: var(--primary);
    line-height: 1.25;
}

.blueprint-list-desc {
    margin: 0;
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.75;
}

.blueprint-list-footer {
    margin-top: auto;
    display: flex;
    gap: 0.75rem;
    align-items: center;
    flex-wrap: wrap;
}

.blueprint-list-footer .btn {
    width: 100%;
}

@media (max-width: 768px) {
    .blueprint-list {
        margin-top: 85px;
    }
    .blueprint-list-header-inner {
        padding: 1.75rem 1.5rem;
    }
    .blueprint-list-header-visual--thumb {
        max-width: 180px;
    }
    .blueprint-list-header-visual--thumb img {
        max-height: 100px;
    }
    .blueprint-list-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .blueprint-list-body {
        padding: 1.5rem 1.25rem;
    }
    .blueprint-list-media img {
        height: 180px;
    }
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.contact-info,
.contact-form-wrapper {
    position: relative;
    padding: 2.5rem;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.98) 0%, 
        rgba(255, 255, 255, 0.95) 100%);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(31, 78, 121, 0.1);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    overflow: hidden;
}

.contact-info::before,
.contact-form-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--bg-gradient-gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.contact-info:hover::before,
.contact-form-wrapper:hover::before {
    transform: scaleX(1);
}

.contact-info:hover,
.contact-form-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(31, 78, 121, 0.2);
}

.contact-info h3,
.contact-form-wrapper h3 {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 2rem;
    color: var(--primary);
    position: relative;
    padding-bottom: 1rem;
}

.contact-info h3::after,
.contact-form-wrapper h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--bg-gradient-gold);
    border-radius: var(--radius-full);
}

.contact-item {
    margin-bottom: 2rem;
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.25rem;
    background: rgba(31, 78, 121, 0.02);
    border-radius: var(--radius-md);
    transition: var(--transition);
    border: 1px solid transparent;
}

.contact-item:hover {
    background: rgba(31, 78, 121, 0.05);
    border-color: rgba(201, 161, 59, 0.2);
    transform: translateX(5px);
}

.contact-item-icon {
    width: 50px;
    height: 50px;
    background: var(--bg-gradient-gold);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
    font-size: 22px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.contact-item:hover .contact-item-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: var(--shadow-gold);
}

.contact-item-content h4 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.contact-item-content p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.social-link {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.9) 0%, 
        rgba(255, 255, 255, 0.7) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
    border: 2px solid rgba(31, 78, 121, 0.1);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-gradient-gold);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.social-link svg {
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

.social-link:hover {
    color: var(--primary);
    transform: translateY(-4px) scale(1.1);
    border-color: var(--secondary);
    box-shadow: var(--shadow-gold);
}

.social-link:hover::before {
    opacity: 1;
}

.social-link:hover svg {
    transform: scale(1.15);
    filter: brightness(0.9);
}

/* ============================================
   FOOTER
   ============================================ */
.main-footer {
    position: relative;
    background: linear-gradient(135deg, #1F4E79 0%, #163a5f 50%, #1F4E79 100%);
    color: var(--text-white);
    padding: 2.5rem 0 1rem;
    margin-top: 3rem;
    border-top: 3px solid var(--secondary);
    overflow: hidden;
    font-family: var(--font-body);
}

.main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(201, 161, 59, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(167, 199, 169, 0.08) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.main-footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent,
        rgba(201, 161, 59, 0.5) 20%,
        rgba(201, 161, 59, 0.8) 50%,
        rgba(201, 161, 59, 0.5) 80%,
        transparent
    );
    z-index: 1;
}

.main-footer .container {
    position: relative;
    z-index: 1;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 1.5rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 2rem;
}

.footer-section {
    position: relative;
}

.footer-section:first-child {
    position: relative;
}

.footer-section::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--bg-gradient-gold);
    border-radius: var(--radius-full);
    opacity: 0.8;
}

.footer-section h3,
.footer-section h4 {
    color: var(--secondary);
    margin-bottom: 1rem;
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    display: inline-block;
    line-height: 1.3;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.footer-logo-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    word-wrap: break-word;
}

.footer-logo-title span {
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.3;
}

.footer-logo {
    width: 45px;
    height: auto;
    object-fit: contain;
    filter: brightness(0) invert(1) sepia(1) saturate(5) hue-rotate(15deg);
    transition: var(--transition);
}

.footer-logo:hover {
    transform: scale(1.05);
    filter: brightness(0) invert(1) sepia(1) saturate(5) hue-rotate(15deg) drop-shadow(0 0 8px var(--secondary));
}

.footer-section h3::after,
.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--secondary);
    border-radius: var(--radius-full);
    opacity: 0.6;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 0.65rem;
    position: relative;
    padding-left: 1.2rem;
}

.footer-section ul li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-size: 0.8rem;
    transition: var(--transition);
    opacity: 0.7;
}

.footer-section ul li:hover::before {
    transform: translateX(3px);
    opacity: 1;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
    font-weight: 500;
    position: relative;
}

.footer-section a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: width 0.3s ease;
    border-radius: var(--radius-full);
}

.footer-section a:hover {
    color: var(--secondary);
    transform: translateX(5px);
}

.footer-section a:hover::after {
    width: 100%;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    margin: 0 0 0.5rem 0;
    font-size: 0.875rem;
}

.footer-section p:last-child {
    margin-bottom: 0;
}

.footer-section p strong {
    color: var(--secondary);
    font-weight: 600;
}

.footer-social-links {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.footer-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: var(--transition);
    padding: 0.25rem;
}

.footer-social-link:hover {
    color: var(--secondary);
    transform: translateY(-2px) scale(1.15);
}

.footer-social-link svg {
    width: 18px;
    height: 18px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    color: #FFFFFF;
    max-width: 1400px;
    margin: 0 auto;
    padding-left: 2rem;
    padding-right: 2rem;
    position: relative;
    font-size: 0.8rem;
    gap: 1rem;
}

.footer-bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 2rem;
    width: 100px;
    height: 1px;
    background: linear-gradient(90deg, 
        var(--secondary) 0%,
        rgba(201, 161, 59, 0.5) 100%
    );
}

.footer-bottom p {
    margin: 0;
    font-weight: 500;
    letter-spacing: 0.5px;
    color: #FFFFFF;
    font-size: 0.8rem;
}

.footer-bottom .copyright-left {
    text-align: left;
}

.footer-bottom .copyright-left::before {
    content: '©';
    margin-right: 5px;
    color: var(--secondary);
    font-weight: 700;
}

.footer-bottom .copyright-right {
    text-align: right;
    white-space: nowrap;
}

/* Les réseaux sociaux et copyright gardent la même position sur mobile/tablette */
/* Changement de position uniquement en desktop (min-width: 992px) */
@media (max-width: 991.98px) {
    .footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.75rem;
    }
    
    .footer-bottom::before {
        left: 50%;
        transform: translateX(-50%);
        width: 80px;
    }
    
    .footer-bottom .copyright-left,
    .footer-bottom .copyright-right {
        text-align: center;
        width: 100%;
        white-space: normal;
    }
    
    .footer-social-links {
        justify-content: center;
    }
}

.footer-bottom .developer-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: var(--transition);
    border-bottom: 1px solid transparent;
}

.footer-bottom .developer-link:hover {
    color: var(--secondary);
    border-bottom-color: var(--secondary);
}

.heart-beat {
    display: inline-block;
    color: #ff1744;
    animation: heartbeat 1.5s ease-in-out infinite;
    font-size: 1.1em;
    vertical-align: middle;
    margin: 0 3px;
}

@keyframes heartbeat {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    25% {
        transform: scale(1.2);
        opacity: 0.9;
    }
    50% {
        transform: scale(1.1);
        opacity: 1;
    }
    75% {
        transform: scale(1.2);
        opacity: 0.9;
    }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    body {
        padding-top: 0 !important;
        font-size: 15px;
    }
    
    /* Header Mobile */
    .main-header {
        height: 70px;
        min-height: 70px;
        max-height: 70px;
    }
    
    .nav-wrapper {
        padding: 0.875rem 1.5rem;
    }
    
    .main-header.scrolled .nav-wrapper {
        padding: 0.875rem 1.5rem;
    }
    
    .main-header.scrolled {
        height: 70px;
        min-height: 70px;
        max-height: 70px;
    }
    
    .logo-img {
        height: 55px;
    }
    
    .main-header.scrolled .logo-img {
        height: 50px;
    }

    .logo-name {
        font-size: 1.1rem;
    }

    .logo-subtitle {
        font-size: 0.6rem;
    }

    .main-header.scrolled .logo-name {
        font-size: 1rem;
    }

    .main-header.scrolled .logo-subtitle {
        font-size: 0.55rem;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background: white;
        width: 100%;
        padding: 1.5rem;
        transition: left 0.3s ease;
        border-top: 1px solid var(--border-color);
        box-shadow: var(--shadow-lg);
        gap: 0;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }

    .nav-menu.active {
        left: 0;
    }
    
    .nav-link {
        width: 100%;
        padding: 1rem;
        border-bottom: 1px solid var(--border-light);
        font-size: 0.95rem;
        text-align: left;
    }
    
    .nav-wrapper {
        padding: 1rem;
    }

    /* Hero Slider Mobile */
    .hero-slider {
        height: 400px;
        margin-top: 70px !important;
        margin-bottom: 80px !important;
        padding-bottom: 100px !important;
    }
    
    .page-title {
        margin-top: 85px;
        padding: 0 1.5rem;
    }
    
    .page-title h1 {
        font-size: clamp(1.75rem, 5vw, 2.25rem);
        margin-bottom: 0.75rem;
    }
    
    .page-title p {
        font-size: clamp(0.9rem, 2vw, 1.05rem);
    }
    
    .hero-slider + .container,
    .hero-slider ~ .container {
        margin-top: 80px !important;
    }

    .slide {
        padding: 30px 20px;
    }
    
    .slide-overlay {
        background: linear-gradient(135deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.75) 100%);
    }
    
    .slide-content h1 {
        font-size: clamp(1.75rem, 5vw, 2.5rem);
        margin-bottom: 12px;
    }
    
    .slide-content h2 {
        font-size: clamp(1.25rem, 3vw, 1.75rem);
        margin-bottom: 10px;
    }
    
    .slide-content p {
        font-size: clamp(0.9rem, 2vw, 1.05rem);
        margin-bottom: 20px;
        line-height: 1.6;
    }
    
    .slide-content .btn {
        padding: 0.5rem 1.25rem;
        font-size: 0.7rem;
        margin-top: 15px;
    }
    
    .slide-content .btn:hover {
        transform: none;
    }

    /* Sections Mobile */
    .sections-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 40px;
    }
    
    .section-card {
        padding: 2rem 1.5rem;
    }
    
    .section-card h3 {
        font-size: 1.35rem;
        margin-bottom: 1rem;
    }
    
    .section-card p {
        font-size: 0.95rem;
        line-height: 1.7;
    }
    
    .section-icon {
        font-size: 40px;
        margin-bottom: 15px;
    }
    
    .hero-slider + .container,
    .hero-slider ~ .container,
    .sections-container {
        margin-top: 60px !important;
    }

    /* Contact Mobile */
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-top: 2rem;
    }
    
    .contact-info,
    .contact-form-wrapper {
        padding: 2rem 1.5rem;
    }
    
    .contact-info h3,
    .contact-form-wrapper h3 {
        font-size: 1.35rem;
        margin-bottom: 1.5rem;
    }
    
    .contact-item {
        padding: 1.25rem 0;
    }
    
    .contact-item-icon {
        width: 45px;
        height: 45px;
    }
    
    .contact-item-content h4 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .contact-item-content p {
        font-size: 0.9rem;
    }
    
    .social-links {
        justify-content: center;
        gap: 0.75rem;
        margin-top: 1.5rem;
    }
    
    .social-link {
        width: 44px;
        height: 44px;
    }

    /* Blueprint Mobile */
    .blueprint-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .blueprint-pinned {
        margin-bottom: 2rem;
    }
    
    .blueprint-pinned-image {
        min-height: 250px;
        max-height: 350px;
    }
    
    .blueprint-pinned-info {
        padding: 2rem 1.5rem;
    }
    
    .blueprint-pinned-title {
        font-size: clamp(1.5rem, 4vw, 2rem);
        margin-bottom: 1rem;
    }
    
    .blueprint-pinned-description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .blueprint-pinned-body {
        font-size: 0.95rem;
        margin-bottom: 2rem;
    }
    
    .blueprint-pinned-form .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .blueprints-miniature {
        margin-top: 3rem;
        padding-top: 2rem;
    }
    
    .blueprints-miniature-title {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
    }
    
    .blueprints-miniature-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .blueprint-miniature-card {
        margin-bottom: 0;
    }
    
    .blueprint-miniature-info {
        padding: 1.25rem;
    }
    
    .blueprint-miniature-title {
        font-size: 1.15rem;
    }
    
    .blueprint-miniature-description {
        font-size: 0.85rem;
    }
    
    /* Appointment Section Mobile */
    .appointment-section {
        padding: 2.5rem 1.5rem;
        margin-top: 40px;
    }
    
    .appointment-section h2 {
        font-size: clamp(1.75rem, 4vw, 2rem);
        margin-bottom: 1rem;
    }
    
    .appointment-section p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
    
    .appointment-section .btn {
        width: 100%;
        padding: 1.125rem 2rem;
        min-width: auto;
        font-size: 1rem;
    }

    /* Footer responsive */
    .main-footer {
        padding: 2rem 0 1rem;
        margin-top: 2.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 1.25rem;
        padding: 0 1.5rem;
    }

    .footer-section {
        text-align: center;
    }

    .footer-section::before {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-section h3,
    .footer-section h4 {
        font-size: 1.1rem;
        margin-bottom: 0.875rem;
        text-align: center;
        width: 100%;
        display: block;
    }

    .footer-logo-title {
        justify-content: center;
        text-align: center;
        width: 100%;
    }
    
    .footer-logo-title h3 {
        justify-content: center;
    }

    .footer-logo {
        width: 40px;
    }

    .footer-section h3::after,
    .footer-section h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-section ul {
        display: inline-block;
        text-align: left;
    }

    .footer-section ul li {
        margin-bottom: 0.6rem;
    }

    .footer-section a {
        font-size: 0.875rem;
    }

    .footer-section p {
        font-size: 0.85rem;
        line-height: 1.6;
    }

    /* Footer-bottom garde la même position centrée que mobile */
    .footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.75rem;
        padding-top: 1.25rem;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
        font-size: 0.75rem;
    }

    .footer-bottom::before {
        left: 50%;
        transform: translateX(-50%);
        width: 80px;
    }

    .footer-bottom .copyright-left,
    .footer-bottom .copyright-right {
        text-align: center;
        width: 100%;
        white-space: normal;
    }

    .footer-bottom p {
        font-size: 0.75rem;
    }
    
    .footer-social-links {
        justify-content: center;
    }
}

/* ============================================
   STYLES MODALS BOOTSTRAP
   ============================================ */
.modal-content {
    border-radius: 1.25rem;
    border: none;
    box-shadow: 0 10px 40px rgba(31, 78, 121, 0.25);
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
}

.modal-header {
    border-radius: 1.25rem 1.25rem 0 0;
    border-bottom: none;
    padding: 1.75rem 2rem;
}

.modal-header.bg-success {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%) !important;
}

.modal-header.bg-danger {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%) !important;
}

.modal-title {
    font-weight: 700;
    font-size: 1.35rem;
    display: flex;
    align-items: center;
    letter-spacing: -0.02em;
}

.modal-body {
    padding: 2.5rem 2rem;
    font-size: 1.05rem;
    line-height: 1.7;
    color: #1F4E79;
}

.modal-footer {
    border-top: 1px solid #e9ecef;
    padding: 1.25rem 2rem;
    border-radius: 0 0 1.25rem 1.25rem;
}

.modal-footer .btn {
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 0.75rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1rem;
    letter-spacing: 0.01em;
}

.modal-footer .btn-success {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    border: none;
    color: #FFFFFF;
}

.modal-footer .btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.35);
    background: linear-gradient(135deg, #218838 0%, #1ea085 100%);
}

.modal-footer .btn-danger {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    border: none;
    color: #FFFFFF;
}

.modal-footer .btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.35);
    background: linear-gradient(135deg, #c82333 0%, #bd2130 100%);
}

.btn-close {
    opacity: 0.85;
    transition: all 0.3s ease;
}

.btn-close:hover {
    opacity: 1;
    transform: rotate(90deg);
}

.modal-backdrop {
    background-color: rgba(31, 78, 121, 0.6);
    backdrop-filter: blur(3px);
}

.modal-backdrop.show {
    opacity: 1;
}

/* Responsive pour les modals */
@media (max-width: 768px) {
    .modal-dialog {
        margin: 1rem;
    }
    
    .modal-header {
        padding: 1.25rem 1.5rem;
    }
    
    .modal-title {
        font-size: 1.15rem;
    }
    
    .modal-body {
        padding: 1.75rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .modal-footer {
        padding: 1rem 1.5rem;
    }
    
    .modal-footer .btn {
        padding: 0.625rem 1.5rem;
        font-size: 0.95rem;
    }
}

/* ============================================
   RESPONSIVE AMÉLIORÉ - TABLETTES (768px - 991px)
   ============================================ */
@media (min-width: 769px) and (max-width: 991.98px) {
    .container {
        padding: 0 1.5rem;
    }
    
    /* Header pour tablettes */
    .main-header {
        height: 75px;
    }
    
    .logo-img {
        height: 50px;
    }
    
    .logo-name {
        font-size: 1.15rem;
    }
    
    .logo-subtitle {
        font-size: 0.65rem;
    }
    
    .nav-link {
        font-size: 0.9rem;
        padding: 0.5rem 0.75rem;
    }
    
    /* Hero Slider pour tablettes */
    .hero-slider {
        height: 500px;
        margin-top: 75px !important;
        padding-bottom: 120px !important;
    }
    
    .slide {
        padding: 50px 40px;
    }
    
    .slide-content h1 {
        font-size: clamp(2rem, 4vw, 3rem);
        margin-bottom: 15px;
    }
    
    .slide-content h2 {
        font-size: clamp(1.5rem, 2.5vw, 2rem);
        margin-bottom: 12px;
    }
    
    .slide-content p {
        font-size: clamp(0.95rem, 1.8vw, 1.1rem);
        margin-bottom: 25px;
    }
    
    .slide-content .btn {
        padding: 0.625rem 1.5rem;
        font-size: 0.8rem;
    }
    
    /* Sections pour tablettes */
    .sections-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .section-card {
        padding: 2rem;
    }
    
    .section-card h3 {
        font-size: 1.35rem;
    }
    
    .section-card p {
        font-size: 0.95rem;
    }
    
    /* Page Title pour tablettes */
    .page-title {
        margin-top: 90px;
        padding: 0 1.5rem;
    }
    
    .page-title h1 {
        font-size: clamp(2rem, 4vw, 2.5rem);
    }
    
    .page-title p {
        font-size: clamp(0.95rem, 1.8vw, 1.1rem);
    }
    
    /* Contact pour tablettes */
    .contact-wrapper {
        gap: 2rem;
        grid-template-columns: 1fr 1fr;
    }
    
    .contact-info,
    .contact-form-wrapper {
        padding: 2rem;
    }
    
    .contact-item {
        padding: 1rem 0;
    }
    
    /* Blueprint pour tablettes */
    .blueprint-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .blueprint-pinned-image {
        min-height: 350px;
        max-height: 450px;
    }
    
    .blueprint-pinned-info {
        padding: 2.5rem;
    }
    
    .blueprint-pinned-title {
        font-size: clamp(1.75rem, 3vw, 2.25rem);
    }
    
    .blueprint-pinned-description {
        font-size: 1.1rem;
    }
    
    .blueprint-pinned-body {
        font-size: 1rem;
    }
    
    .blueprints-miniature-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
    
    /* Appointment Section pour tablettes */
    .appointment-section {
        padding: 3rem 1.5rem;
    }
    
    .appointment-section h2 {
        font-size: clamp(1.75rem, 3vw, 2.25rem);
    }
    
    .appointment-section p {
        font-size: 1rem;
    }
    
    /* Footer pour tablettes */
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
        padding: 0 1.5rem;
    }
    
    .footer-section {
        text-align: left;
    }
    
    .footer-section::before {
        left: 0;
        transform: none;
    }
    
    .footer-section h3,
    .footer-section h4 {
        font-size: 1.05rem;
        text-align: left;
        width: auto;
        display: inline-block;
    }
    
    .footer-logo-title {
        justify-content: flex-start;
        text-align: left;
    }
    
    .footer-section h3::after,
    .footer-section h4::after {
        left: 0;
        transform: none;
    }
    
    /* Footer-bottom garde la même position que mobile (centré) */
    .footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.75rem;
        padding: 1.25rem 1.5rem;
    }
    
    .footer-bottom::before {
        left: 50%;
        transform: translateX(-50%);
        width: 80px;
    }
    
    .footer-bottom .copyright-left,
    .footer-bottom .copyright-right {
        text-align: center;
        width: 100%;
        white-space: normal;
    }
    
    .footer-social-links {
        justify-content: center;
    }
}

/* ============================================
   RESPONSIVE AMÉLIORÉ - TRÈS PETITS ÉCRANS (< 480px)
   ============================================ */
@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .main-header {
        height: 60px;
        min-height: 60px;
        max-height: 60px;
    }
    
    .main-header.scrolled {
        height: 60px;
        min-height: 60px;
        max-height: 60px;
    }
    
    .nav-wrapper {
        padding: 0.75rem 1rem;
    }
    
    .logo-img {
        height: 45px;
    }
    
    .main-header.scrolled .logo-img {
        height: 40px;
    }
    
    .logo-name {
        font-size: 0.95rem;
    }
    
    .logo-subtitle {
        font-size: 0.5rem;
    }
    
    .main-header.scrolled .logo-name {
        font-size: 0.9rem;
    }
    
    .main-header.scrolled .logo-subtitle {
        font-size: 0.45rem;
    }
    
    .hero-slider {
        height: 350px;
        margin-top: 60px !important;
        margin-bottom: 80px !important;
        padding-bottom: 120px !important;
    }
    
    .page-title {
        margin-top: 75px;
        padding: 0 1rem;
    }
    
    .page-title h1 {
        font-size: 1.75rem;
    }
    
    .page-title p {
        font-size: 0.95rem;
    }
    
    .slide {
        padding: 20px 15px;
    }
    
    .slide-content h1 {
        font-size: 1.75rem;
        margin-bottom: 10px;
    }
    
    .slide-content h2 {
        font-size: 1.25rem;
        margin-bottom: 10px;
    }
    
    .slide-content p {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }
    
    .slide-content .btn {
        padding: 0.45rem 1rem;
        font-size: 0.65rem;
        margin-top: 10px;
    }
    
    .slide-content .btn:hover {
        transform: none;
    }
    
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .contact-wrapper {
        gap: 1.5rem;
        margin-top: 1.5rem;
    }
    
    .contact-info,
    .contact-form-wrapper {
        padding: 1.5rem;
    }
    
    .contact-info h3,
    .contact-form-wrapper h3 {
        font-size: 1.25rem;
        margin-bottom: 1.25rem;
    }
    
    .contact-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
        padding: 1rem 0;
    }
    
    .contact-item-icon {
        width: 40px;
        height: 40px;
    }
    
    .contact-item-icon svg {
        width: 20px;
        height: 20px;
    }
    
    .form-group {
        margin-bottom: 1.25rem;
    }
    
    .form-group label {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
    
    .form-control {
        padding: 0.875rem;
        font-size: 0.95rem;
    }
    
    .blueprint-pinned-info {
        padding: 1.5rem 1rem;
    }
    
    .blueprint-pinned-title {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .blueprint-pinned-description {
        font-size: 0.95rem;
        margin-bottom: 1rem;
    }
    
    .blueprint-pinned-image {
        min-height: 200px;
        max-height: 300px;
    }
    
    .blueprint-pinned-image img {
        max-height: 300px;
    }
    
    .blueprint-miniature-card {
        margin-bottom: 1.5rem;
    }
    
    .blueprint-miniature-image {
        min-height: 180px;
        max-height: 200px;
    }
    
    .blueprint-miniature-info {
        padding: 1.25rem;
    }
    
    .blueprint-miniature-title {
        font-size: 1.1rem;
    }
    
    .blueprint-miniature-description {
        font-size: 0.85rem;
    }
    
    .section-card {
        padding: 1.5rem;
    }
    
    .section-card h3 {
        font-size: 1.25rem;
        margin-bottom: 0.875rem;
    }
    
    .section-card p {
        font-size: 0.9rem;
    }
    
    .appointment-section {
        padding: 2rem 1rem;
        margin: 2rem 0;
    }
    
    .appointment-section h2 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .appointment-section p {
        font-size: 0.95rem;
        margin-bottom: 1.25rem;
    }
    
    .modal-dialog {
        margin: 0.5rem;
    }
    
    .modal-header {
        padding: 1rem 1.25rem;
    }
    
    .modal-title {
        font-size: 1rem;
    }
    
    .modal-body {
        padding: 1.5rem 1.25rem;
        font-size: 0.9rem;
    }
    
    .modal-footer {
        padding: 0.875rem 1.25rem;
    }
    
    .modal-footer .btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.9rem;
    }
    
    .main-footer {
        padding: 1.5rem 0 0.75rem;
        margin-top: 2rem;
    }
    
    .footer-content {
        padding: 0 1rem;
        gap: 1.25rem;
        margin-bottom: 1rem;
    }
    
    .footer-section {
        text-align: center;
        padding: 0 0.5rem;
    }
    
    .footer-logo-title {
        justify-content: center;
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
        width: 100%;
    }
    
    .footer-logo-title h3 {
        justify-content: center;
        width: 100%;
    }
    
    .footer-logo-title span {
        font-size: 0.9rem;
        text-align: center;
    }
    
    .footer-logo {
        width: 35px;
        margin: 0 auto;
    }
    
    .footer-section h3,
    .footer-section h4 {
        font-size: 0.95rem;
        margin-bottom: 0.75rem;
        text-align: center;
        width: 100%;
        display: block;
    }
    
    .footer-section h3::after,
    .footer-section h4::after {
        left: 50%;
        transform: translateX(-50%);
        width: 35px;
    }
    
    .footer-section p,
    .footer-section a {
        font-size: 0.8rem;
    }
    
    .footer-section ul {
        text-align: center;
    }
    
    .footer-section ul li {
        margin-bottom: 0.5rem;
        padding-left: 0;
        justify-content: center;
    }
    
    .footer-section ul li::before {
        display: none;
    }
    
    .footer-social-links {
        justify-content: center;
        gap: 0.5rem;
        margin-top: 0.75rem;
    }
    
    .footer-social-link {
        padding: 0.35rem;
    }
    
    .footer-social-link svg {
        width: 16px;
        height: 16px;
    }
    
    .footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.75rem;
        padding: 1rem 1rem 0.75rem;
        font-size: 0.7rem;
    }
    
    .footer-bottom::before {
        left: 50%;
        transform: translateX(-50%);
        width: 80px;
    }
    
    .footer-bottom p {
        font-size: 0.7rem;
        margin: 0;
    }
    
    .footer-bottom .copyright-left,
    .footer-bottom .copyright-right {
        text-align: center;
        width: 100%;
    }
    
    .footer-bottom .copyright-right {
        white-space: normal;
        word-break: break-word;
    }
}

/* ============================================
   RESPONSIVE POUR FORMULAIRES
   ============================================ */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr !important;
        gap: 1rem;
    }
    
    .form-group {
        margin-bottom: 1.25rem;
    }
    
    .form-control,
    select.form-control,
    textarea.form-control {
        width: 100%;
        font-size: 16px; /* Évite le zoom sur iOS */
    }
    
    input[type="date"],
    input[type="time"],
    input[type="email"],
    input[type="tel"],
    input[type="text"] {
        font-size: 16px; /* Évite le zoom sur iOS */
    }
}

/* ============================================
   RESPONSIVE POUR TIME SLOTS (APPOINTMENT)
   ============================================ */
@media (max-width: 768px) {
    .time-slots {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.75rem;
    }
    
    .time-slot {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
    
    /* Formulaires appointment mobile */
    div[style*="max-width: 800px"] {
        max-width: 100% !important;
        margin: 0 1rem 16px !important;
    }
    
    div[style*="display: grid"][style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
    
    .contact-form-wrapper {
        padding: 1.5rem !important;
    }
    
    .contact-form-wrapper h3 {
        font-size: 1.25rem !important;
        margin-bottom: 1.25rem !important;
    }
}

@media (max-width: 480px) {
    .time-slots {
        grid-template-columns: 1fr !important;
        gap: 0.625rem;
    }
    
    .time-slot {
        padding: 0.875rem;
        font-size: 0.95rem;
    }
    
    /* Formulaires appointment très petits écrans */
    div[style*="max-width: 800px"] {
        margin: 0 0.75rem 12px !important;
    }
    
    div[style*="padding: 14px 16px"] {
        padding: 12px 14px !important;
    }
    
    div[style*="padding: 10px 12px"] {
        padding: 8px 10px !important;
    }
    
    .contact-form-wrapper {
        padding: 1.25rem !important;
    }
}

/* ============================================
   RESPONSIVE POUR ALERTS
   ============================================ */
@media (max-width: 768px) {
    .alert {
        padding: 1rem;
        font-size: 0.95rem;
        border-radius: var(--radius);
    }
    
    .alert-error,
    .alert-success,
    .alert-warning,
    .alert-info {
        padding: 1rem 1.25rem;
    }
}

/* ============================================
   RESPONSIVE POUR GRID INLINE (appointment.php)
   ============================================ */
@media (max-width: 768px) {
    div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
    
    div[style*="display: grid"] {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
}

/* ============================================
   RESPONSIVE POUR EXCLUSION PERIODS (appointment.php)
   ============================================ */
@media (max-width: 768px) {
    div[style*="max-width: 800px"] {
        margin: 0 1rem 16px !important;
        max-width: 100% !important;
    }
    
    div[style*="display: flex"][style*="flex-wrap"] {
        flex-wrap: wrap !important;
    }
    
    div[style*="display: grid"][style*="gap: 8px"] {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 480px) {
    div[style*="padding: 14px 16px"] {
        padding: 12px 14px !important;
    }
    
    div[style*="padding: 10px 12px"] {
        padding: 8px 10px !important;
    }
    
    strong[style*="font-size: 0.95rem"] {
        font-size: 0.85rem !important;
    }
    
    span[style*="font-size: 0.8rem"],
    span[style*="font-size: 0.82rem"],
    span[style*="font-size: 0.75rem"] {
        font-size: 0.75rem !important;
    }
}

/* ============================================
   AMÉLIORATIONS RESPONSIVE GÉNÉRALES
   ============================================ */
@media (max-width: 768px) {
    /* Images responsives */
    img {
        max-width: 100%;
        height: auto;
    }
    
    /* Tables responsives */
    table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }
    
    /* Texte adaptatif */
    p, span, div {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    /* Boutons full-width sur mobile */
    .btn-group {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-group .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .btn-group .btn:last-child {
        margin-bottom: 0;
    }
    
    /* Alerts responsive */
    .alert {
        padding: 1rem;
        font-size: 0.9rem;
        border-radius: var(--radius);
        margin: 1rem 0;
    }
    
    .alert-error,
    .alert-success,
    .alert-warning,
    .alert-info {
        padding: 1rem 1.25rem;
    }
}

/* Améliorations pour tablettes */
@media (min-width: 769px) and (max-width: 991.98px) {
    /* Images responsives */
    img {
        max-width: 100%;
        height: auto;
    }
    
    /* Tables responsives */
    table {
        font-size: 0.95rem;
    }
    
    /* Alerts pour tablettes */
    .alert {
        padding: 1.125rem 1.5rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    /* Espacement réduit sur très petits écrans */
    .container {
        padding: 0 0.875rem;
    }
    
    /* Texte plus petit sur très petits écrans */
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }
    h4 { font-size: 1.1rem; }
    
    /* Boutons adaptatifs */
    .btn {
        width: 100%;
        text-align: center;
        padding: 0.875rem 1.5rem;
    }
    
    /* Formulaires optimisés pour mobile */
    input, select, textarea {
        font-size: 16px !important; /* Évite le zoom automatique sur iOS */
    }
    
    /* Alerts très petits écrans */
    .alert {
        padding: 0.875rem 1rem;
        font-size: 0.85rem;
    }
    
    /* Espacement général réduit */
    .section-card,
    .contact-info,
    .contact-form-wrapper {
        padding: 1.5rem 1.25rem;
    }
}

/* ============================================
   SECTION AVIS CLIENTS (alignée sur les autres blocs accueil)
   ============================================ */
.reviews-section {
    padding: 2.5rem 0 3rem;
    background: linear-gradient(135deg,
        rgba(31, 78, 121, 0.02) 0%,
        rgba(201, 161, 59, 0.02) 100%);
    margin-top: 40px;
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-light);
}

/* Bloc accueil : carte blanche + bandeau or (comme submit-review) */
.reviews-home-wrap {
    position: relative;
    margin-top: 60px;
    margin-bottom: 0;
    border: 1px solid var(--border-light);
    box-shadow:
        0 4px 28px rgba(31, 78, 121, 0.07),
        0 1px 0 rgba(255, 255, 255, 0.8) inset;
    padding: 2.5rem 2rem 2.25rem;
    overflow: hidden;
}

.reviews-home-wrap::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--bg-gradient-gold);
    z-index: 2;
    pointer-events: none;
}

.reviews-home-wrap .reviews-section {
    margin-top: 0;
    padding: 0;
    border: none;
    background: transparent;
    border-radius: 0;
    position: relative;
    z-index: 0;
}

.reviews-home-wrap .reviews-section::before {
    display: none;
}

.reviews-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--bg-gradient-gold);
    z-index: 1;
}

.reviews-header {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
}

.reviews-eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--primary);
    background: rgba(31, 78, 121, 0.07);
    border: 1px solid rgba(31, 78, 121, 0.12);
    padding: 0.45rem 1rem;
    border-radius: 999px;
    margin-bottom: 1rem;
}

.reviews-header h2 {
    font-size: clamp(1.85rem, 3.8vw, 2.35rem);
    font-weight: 800;
    color: var(--primary);
    margin: 0 0 0.65rem;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.reviews-header p {
    font-size: 1.0625rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0;
}

.reviews-slider {
    position: relative;
    max-width: 720px;
    margin: 0 auto;
    z-index: 1;
    padding: 0.5rem 0.25rem 0;
}

.reviews-track {
    position: relative;
    min-height: 200px;
    overflow: hidden;
}

.review-card {
    position: absolute;
    width: 100%;
    opacity: 0;
    transform: translateX(100%) scale(0.98);
    transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(180deg, #fff 0%, #fafbfc 100%);
    padding: 2rem 1.75rem 1.75rem;
    border-radius: var(--radius-xl);
    box-shadow:
        0 8px 32px rgba(31, 78, 121, 0.08),
        0 2px 8px rgba(31, 78, 121, 0.04);
    text-align: center;
    border: 1px solid rgba(31, 78, 121, 0.08);
    position: relative;
    overflow: hidden;
}

.review-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--bg-gradient-gold);
    opacity: 0.95;
}

.review-card::before {
    content: '“';
    position: absolute;
    top: 1.35rem;
    left: 1.25rem;
    font-size: 4rem;
    font-weight: 700;
    color: var(--primary);
    opacity: 0.06;
    font-family: Georgia, 'Times New Roman', serif;
    line-height: 1;
    pointer-events: none;
}

.review-card.active {
    opacity: 1;
    transform: translateX(0) scale(1);
    position: relative;
    z-index: 1;
}

.review-comment {
    margin-bottom: 1.35rem;
    position: relative;
    z-index: 1;
}

.review-comment p {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--text-primary);
    font-style: italic;
    margin: 0;
    position: relative;
    padding: 0.35rem 1.25rem 0 1.5rem;
}

.review-author-info {
    margin-top: 0.25rem;
    padding-top: 1.15rem;
    border-top: 1px solid rgba(31, 78, 121, 0.08);
    position: relative;
    z-index: 1;
}

.review-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
}

.review-author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bg-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.125rem;
    font-weight: 700;
    box-shadow: 0 2px 12px rgba(31, 78, 121, 0.22);
    flex-shrink: 0;
    border: 2px solid rgba(201, 161, 59, 0.35);
}

.review-author-details {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.review-author-details strong {
    font-size: 1.02rem;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.review-author-details .review-date {
    font-size: 0.8125rem;
    color: var(--text-secondary);
}

.reviews-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.review-nav {
    background: #fff;
    color: var(--primary);
    border: 2px solid rgba(31, 78, 121, 0.18);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
    box-shadow: 0 2px 8px rgba(31, 78, 121, 0.06);
}

.review-nav:hover {
    background: rgba(31, 78, 121, 0.06);
    border-color: var(--primary);
    transform: scale(1.06);
    box-shadow: 0 4px 14px rgba(31, 78, 121, 0.1);
}

.review-nav:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.review-nav:active {
    transform: scale(0.96);
}

.reviews-dots {
    display: flex;
    gap: 0.45rem;
    align-items: center;
    padding: 0.35rem 0.5rem;
    background: rgba(31, 78, 121, 0.04);
    border-radius: 999px;
    border: 1px solid rgba(31, 78, 121, 0.06);
}

.review-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    border: none;
    background: rgba(31, 78, 121, 0.22);
    cursor: pointer;
    transition: width 0.3s ease, background 0.3s ease, transform 0.2s ease;
    padding: 0;
}

.review-dot.active {
    background: var(--primary);
    width: 22px;
    transform: scale(1);
}

.review-dot:hover {
    background: rgba(31, 78, 121, 0.45);
}

.review-dot.active:hover {
    background: var(--primary-dark);
}

.reviews-footer-cta {
    text-align: center;
    margin: 1.75rem 0 0;
    padding-top: 0.25rem;
}

.reviews-cta-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    border-bottom: 2px solid rgba(201, 161, 59, 0.5);
    padding-bottom: 2px;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.reviews-cta-link:hover {
    color: var(--primary-dark);
    border-bottom-color: #c9a13b;
}

.reviews-cta-link::after {
    content: '→';
    font-size: 1em;
    transition: transform 0.2s ease;
}

.reviews-cta-link:hover::after {
    transform: translateX(3px);
}

/* Responsive pour les avis */
@media (max-width: 768px) {
    .reviews-section {
        padding: 2rem 0 2.25rem;
        margin-top: 32px;
    }

    .reviews-home-wrap {
        padding: 2rem 1.25rem 1.75rem;
    }

    .reviews-header {
        margin-bottom: 1.5rem;
    }

    .reviews-track {
        min-height: 240px;
    }

    .review-card {
        padding: 1.65rem 1.2rem 1.4rem;
    }

    .review-card::before {
        font-size: 3rem;
        top: 1.1rem;
        left: 0.9rem;
    }

    .review-comment p {
        font-size: 1rem;
        line-height: 1.65;
        padding: 0.25rem 0.5rem 0 0.85rem;
    }

    .review-author-avatar {
        width: 44px;
        height: 44px;
        font-size: 1.05rem;
    }

    .review-author-details strong {
        font-size: 0.98rem;
    }

    .review-nav {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }

    .reviews-controls {
        gap: 0.65rem;
        margin-top: 1.25rem;
    }
}
