/* ========================================
   WebInFun V2 - L'Architecte de Refuges
   Charte: Bleu Professionnel (confiance, expertise)
   ======================================== */

/* Typographies historiques WebInFun, servies localement pour éviter un appel tiers. */
@font-face {
    font-family: 'JetBrains Mono';
    src: url('../fonts/JetBrains_Mono/static/JetBrainsMono-Regular.ttf') format('truetype');
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'JetBrains Mono';
    src: url('../fonts/JetBrains_Mono/static/JetBrainsMono-Medium.ttf') format('truetype');
    font-style: normal;
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: 'JetBrains Mono';
    src: url('../fonts/JetBrains_Mono/static/JetBrainsMono-SemiBold.ttf') format('truetype');
    font-style: normal;
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: 'JetBrains Mono';
    src: url('../fonts/JetBrains_Mono/static/JetBrainsMono-Bold.ttf') format('truetype');
    font-style: normal;
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: 'Fraunces';
    src: url('../fonts/Fraunces/static/Fraunces_72pt-Regular.ttf') format('truetype');
    font-style: normal;
    font-weight: 300 500;
    font-display: swap;
}

@font-face {
    font-family: 'Fraunces';
    src: url('../fonts/Fraunces/static/Fraunces_72pt-Bold.woff2') format('woff2');
    font-style: normal;
    font-weight: 600 900;
    font-display: swap;
}

@font-face {
    font-family: 'Fraunces';
    src: url('../fonts/Fraunces/static/Fraunces_72pt-Italic.ttf') format('truetype');
    font-style: italic;
    font-weight: 300 900;
    font-display: swap;
}


/* Variables CSS - PALETTE BLEUE */
:root {
    /* Palette bleue professionnelle */
    --bleu-profond: #0B3577;      /* Primaire - confiance, autorité */
    --bleu-nuit: #22439E;         /* Secondaire - sérieux, profondeur */
    --bleu-ocean: #004A7F;        /* Alternative - entre les deux */
    --bleu-electrique: #2563AE;   /* Accent - modernité, action */
    --bleu-clair: #4795B9;         /* Accent secondaire - accessibilité */
    
    /* Déclinaisons */
    --bleu-profond-light: #3a5d96;
    --bleu-profond-dark: #082558;
    --bleu-nuit-light: #4a68b1;
    --bleu-clair-soft: rgba(71, 149, 185, 0.15);
    --bleu-electrique-soft: rgba(37, 99, 174, 0.1);
    
    /* Neutres */
    --blanc-casse: #F8F9FC;        /* Fond principal */
    --gris-tres-clair: #F0F2F6;    /* Fond alternatif */
    --gris-clair: #E2E6EC;         /* Bordures */
    --gris-moyen: #59697F;         /* Texte secondaire, contraste renforcé */
    --gris-fonce: #2D3A4B;         /* Texte principal */
    
    /* Typographie */
    --font-titres: 'Fraunces', serif;
    --font-texte: 'JetBrains Mono', monospace;
    
    /* Courbes de mouvement */
    --curve-arrive: cubic-bezier(0.2, 0.9, 0.3, 1.1);
    --curve-transition: cubic-bezier(0.4, 0, 0.2, 1);
    --curve-gentle: cubic-bezier(0.3, 0.1, 0.1, 1.3);
    
    /* Espacements */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 4rem;
    --space-2xl: 6rem;
    
    /* Bordures */
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --radius-xl: 2rem;
    --radius-full: 9999px;
    
    /* Ombres */
    --shadow-sm: 0 4px 6px rgba(11, 53, 119, 0.05);
    --shadow-md: 0 10px 25px rgba(11, 53, 119, 0.1);
    --shadow-lg: 0 20px 40px rgba(11, 53, 119, 0.15);
    --shadow-focus: 0 0 0 4px rgba(11, 53, 119, 0.2);
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-texte);
    font-size: 16px;
    line-height: 1.7;
    color: var(--gris-fonce);
    background-color: var(--blanc-casse);
    -webkit-font-smoothing: antialiased;
}

.skip-link {
    position: fixed;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 10000;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-md);
    background: white;
    color: var(--bleu-profond);
    font-weight: 700;
    box-shadow: var(--shadow-lg);
    transform: translateY(-160%);
    transition: transform 0.2s ease;
}

.skip-link:focus {
    transform: translateY(0);
}

:where(a, button, input, select, textarea):focus-visible {
    outline: 3px solid white;
    outline-offset: 3px;
    box-shadow: 0 0 0 6px var(--bleu-electrique);
}

.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Texture de fond subtile (moins visible qu'avant) */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(var(--bleu-clair-soft) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.15;
    pointer-events: none;
    z-index: 1000;
}

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

a {
    color: var(--bleu-profond);
    text-decoration: none;
    transition: color 0.3s var(--curve-transition);
}

a:hover {
    color: var(--bleu-electrique);
}

/* Container */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* Header */
.site-header {
    background: rgba(248, 249, 252, 0.95);
    border-bottom: 1px solid var(--gris-clair);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 85px;
}

.logo {
    font-family: var(--font-titres);
    font-size: 1.85rem;
    font-weight: 700;
    color: var(--bleu-profond);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    letter-spacing: -0.02em;
}

.logo-accent {
    color: var(--bleu-electrique);
    font-style: italic;
}

/* Navigation */
.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    list-style: none;
}

.nav-menu a {
    color: var(--gris-fonce);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 0;
    position: relative;
    letter-spacing: -0.02em;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--bleu-electrique);
    transition: width 0.4s var(--curve-gentle);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.btn-primary {
    background: var(--bleu-profond) !important;
    color: white !important;
    padding: 0.75rem 1.5rem !important;
    border-radius: var(--radius-md);
    transition: all 0.3s var(--curve-transition);
    border: 2px solid transparent;
}

.btn-primary:hover {
    background: var(--bleu-nuit) !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-primary::after {
    display: none !important;
}

/* Mobile nav */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--bleu-profond);
    margin: 5px 0;
    transition: all 0.3s;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-titres);
    font-weight: 600;
    line-height: 1.2;
    color: var(--bleu-profond);
}

h1 { 
    font-size: clamp(2.5rem, 6vw, 5rem); 
    letter-spacing: -0.02em;
}

h2 { 
    font-size: clamp(2rem, 4vw, 3.5rem); 
    letter-spacing: -0.01em;
}

h3 { 
    font-size: clamp(1.5rem, 3vw, 2.25rem); 
}

h4 { 
    font-size: 1.35rem; 
    font-weight: 600;
}

p {
    margin-bottom: var(--space-md);
    color: var(--gris-moyen);
}

/* Buttons génériques */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-family: var(--font-texte);
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.4s var(--curve-gentle);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1;
}

.btn-secondary {
    background: var(--bleu-electrique);
    color: white;
}

.btn-secondary:hover {
    background: var(--bleu-electrique);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    color: var(--bleu-profond);
    border-color: var(--bleu-profond);
}

.btn-outline:hover {
    background: var(--bleu-profond);
    color: white;
}

.btn-lg {
    padding: 1.25rem 2.5rem;
    font-size: 1rem;
}

/* Hero Section - NOUVEAU avec BLEU */
.hero {
    min-height: calc(100vh - 85px);
    display: flex;
    align-items: center;
    padding: var(--space-2xl) 0;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--blanc-casse) 0%, var(--gris-tres-clair) 100%);
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--bleu-clair-soft) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
}

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

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

.hero-content {
    position: relative;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(11, 53, 119, 0.08);
    color: var(--bleu-profond);
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: var(--space-md);
    border: 1px solid rgba(11, 53, 119, 0.1);
}

.hero h1 {
    margin-bottom: var(--space-md);
}

.hero h1 span {
    color: var(--bleu-electrique);
    font-style: italic;
    position: relative;
    display: inline-block;
}

.hero h1 span::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background: var(--bleu-clair-soft);
    z-index: -1;
}

.hero-subtitle {
    font-size: 1.35rem;
    color: var(--bleu-nuit);
    margin-bottom: var(--space-lg);
    font-family: var(--font-titres);
    font-weight: 400;
    line-height: 1.5;
}

.hero-cta {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
    margin-bottom: var(--space-xl);
}

/* Bulle protectrice version BLEUE */
.bulle-protectrice {
    position: relative;
    background: white;
    border: 2px solid var(--bleu-profond);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    margin-top: var(--space-lg);
    box-shadow: var(--shadow-md);
}

.bulle-protectrice::before {
    content: '';
    position: absolute;
    top: -6px;
    left: -6px;
    right: 6px;
    bottom: 6px;
    border: 2px solid var(--bleu-electrique);
    border-radius: var(--radius-lg);
    z-index: -1;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.bulle-protectrice:hover::before {
    top: -8px;
    left: -8px;
    right: 8px;
    bottom: 8px;
    opacity: 0.8;
}

.bulle-protectrice p {
    font-style: italic;
    margin: 0;
    font-size: 1rem;
    line-height: 1.8;
    color: var(--gris-fonce);
}

.bulle-auteur {
    display: block;
    margin-top: var(--space-sm);
    font-weight: 600;
    color: var(--bleu-electrique);
    font-size: 0.9rem;
    text-align: right;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-circle {
    width: 400px;
    height: 400px;
    border: 3px solid var(--bleu-profond);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    animation: float 6s ease-in-out infinite;
}

.hero-circle::before {
    content: '';
    position: absolute;
    width: 350px;
    height: 350px;
    border: 2px dashed var(--bleu-clair);
    border-radius: 50%;
    animation: rotate 20s linear infinite;
}

.hero-circle-inner {
    width: 280px;
    height: 280px;
    background: linear-gradient(135deg, var(--bleu-clair-soft) 0%, var(--bleu-electrique-soft) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6rem;
    color: var(--bleu-profond);
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* EEAT Section - Expertise */
.eeat-section {
    background: var(--bleu-profond);
    color: white;
    padding: var(--space-2xl) 0;
    position: relative;
    overflow: hidden;
}

.eeat-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 0%, rgba(255,255,255,0.05) 50%, transparent 100%);
    pointer-events: none;
}

.eeat-section h2 {
    color: white;
    text-align: center;
    margin-bottom: var(--space-lg);
}

.eeat-section h2 span {
    color: var(--bleu-clair);
}

.eeat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

.eeat-item {
    text-align: center;
    padding: var(--space-md);
    background: rgba(255,255,255,0.05);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(5px);
    transition: transform 0.3s ease;
}

.eeat-item:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.1);
}

.eeat-icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-sm);
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.2));
}

.eeat-value {
    font-family: var(--font-titres);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--bleu-clair);
    display: block;
    line-height: 1.2;
}

.eeat-label {
    font-size: 0.9rem;
    opacity: 0.9;
    font-weight: 400;
}

/* Section base */
.section {
    padding: var(--space-2xl) 0;
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s var(--curve-arrive);
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-alt {
    background: var(--gris-tres-clair);
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--space-xl);
}

.section-header h2 {
    margin-bottom: var(--space-sm);
}

.section-header p {
    font-size: 1.2rem;
    color: var(--gris-moyen);
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
}

.service-card {
    background: white;
    border: 1px solid var(--gris-clair);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    transition: all 0.4s var(--curve-gentle);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--bleu-electrique);
    transform: scaleY(0);
    transition: transform 0.4s var(--curve-gentle);
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--bleu-clair);
    box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
    transform: scaleY(1);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-sm);
}

.service-card h3 {
    margin-bottom: var(--space-xs);
    color: var(--bleu-profond);
}

.service-card p {
    margin-bottom: var(--space-md);
}

.service-price {
    color: var(--bleu-electrique);
    font-weight: 600;
    font-size: 0.95rem;
    margin-top: var(--space-sm);
    font-family: var(--font-titres);
}

/* Carte des villes - version bleue */
.map-section {
    background: linear-gradient(135deg, var(--bleu-profond) 0%, var(--bleu-nuit) 100%);
    color: white;
    padding: var(--space-2xl) 0;
}

.map-section h2 {
    color: white;
    text-align: center;
    margin-bottom: var(--space-lg);
}

.villes-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--space-sm);
}

.ville-item {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius-md);
    padding: var(--space-sm);
    text-align: center;
    transition: all 0.3s var(--curve-transition);
    backdrop-filter: blur(5px);
}

.ville-item:hover {
    background: var(--bleu-clair);
    transform: translateY(-3px);
    border-color: transparent;
}

.ville-item a {
    color: white;
    font-size: 0.9rem;
    font-weight: 500;
    display: block;
}

.ville-item span {
    display: block;
    font-size: 0.75rem;
    opacity: 0.8;
    margin-top: 0.25rem;
}

/* Pourquoi section */
.pourquoi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.pourquoi-item {
    text-align: center;
    padding: var(--space-lg);
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.pourquoi-item:hover {
    box-shadow: var(--shadow-md);
}

.pourquoi-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--bleu-clair-soft) 0%, var(--bleu-electrique-soft) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-md);
    font-size: 2.5rem;
    color: var(--bleu-profond);
    transition: all 0.4s var(--curve-gentle);
}

.pourquoi-item:hover .pourquoi-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, var(--bleu-electrique-soft) 0%, var(--bleu-clair-soft) 100%);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--bleu-electrique) 0%, var(--bleu-profond) 100%);
    color: white;
    text-align: center;
    padding: var(--space-2xl) 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotate 60s linear infinite;
}

.cta-section .container {
    position: relative;
    z-index: 2;
}

.cta-section h2 {
    color: white;
    margin-bottom: var(--space-md);
    font-size: clamp(2rem, 5vw, 3.5rem);
}

.cta-section p {
    font-size: 1.35rem;
    margin-bottom: var(--space-lg);
    opacity: 0.9;
    color: rgba(255,255,255,0.9);
}

.cta-btn {
    background: white;
    color: var(--bleu-profond);
    border: none;
    font-size: 1.1rem;
    padding: 1.25rem 3rem;
}

.cta-btn:hover {
    background: var(--bleu-clair);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 20px 30px rgba(0,0,0,0.2);
}

/* Footer */
.site-footer {
    background: var(--bleu-profond-dark);
    color: white;
    padding: var(--space-2xl) 0 var(--space-lg);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.footer-brand .logo {
    color: white;
    margin-bottom: var(--space-sm);
    font-size: 1.5rem;
}

.footer-brand p {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
}

.footer-links h4 {
    color: var(--bleu-clair);
    font-size: 1.1rem;
    margin-bottom: var(--space-md);
    font-weight: 600;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.footer-contact p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 0.5rem;
}

.footer-contact a {
    color: var(--bleu-clair);
    font-weight: 500;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: var(--space-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
}

.footer-tagline {
    color: var(--bleu-clair);
    font-style: italic;
}

/* Contact Form */
.contact-form {
    max-width: 700px;
    margin: 0 auto;
    background: white;
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gris-clair);
}

.form-group {
    margin-bottom: var(--space-md);
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--bleu-profond);
    font-size: 0.95rem;
    font-family: var(--font-titres);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--gris-clair);
    border-radius: var(--radius-md);
    font-family: var(--font-texte);
    font-size: 0.95rem;
    background: var(--blanc-casse);
    transition: all 0.3s var(--curve-transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--bleu-electrique);
    box-shadow: 0 0 0 4px rgba(37, 99, 174, 0.1);
    background: white;
}

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

.form-error {
    color: #D32F2F;
    font-size: 0.85rem;
    margin-top: 0.5rem;
    font-weight: 500;
}

.form-success {
    background: rgba(11, 53, 119, 0.05);
    border: 2px solid var(--bleu-profond);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    text-align: center;
    margin-bottom: var(--space-md);
    color: var(--bleu-profond);
    font-weight: 500;
}

/* Honeypot field (anti-spam) */
.honeypot {
    display: none !important;
}

/* Réalisations - Miniatures */
.realisations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.realisation-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s ease;
    border: 1px solid var(--gris-clair);
}

.realisation-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--bleu-clair);
}

.realisation-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--bleu-clair-soft) 0%, var(--bleu-electrique-soft) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--bleu-profond);
}

.realisation-content {
    padding: var(--space-lg);
}

.realisation-content h3 {
    margin-bottom: var(--space-xs);
    font-size: 1.35rem;
}

.realisation-content p {
    font-size: 0.9rem;
    margin-bottom: var(--space-md);
    color: var(--gris-moyen);
}

.realisation-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: var(--space-md);
}

.realisation-tag {
    background: var(--gris-tres-clair);
    color: var(--gris-fonce);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 500;
}

.realisation-link {
    color: var(--bleu-electrique);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.realisation-link:hover {
    gap: 0.75rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--space-lg);
    }
    
    .hero-visual {
        order: -1;
    }
    
    .hero-circle {
        width: 300px;
        height: 300px;
    }
    
    .hero-circle::before {
        width: 260px;
        height: 260px;
    }
    
    .hero-circle-inner {
        width: 220px;
        height: 220px;
        font-size: 4rem;
    }
    
    .eeat-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-md);
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .villes-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .pourquoi-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .realisations-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-cta {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    body.menu-open {
        overflow: hidden;
    }

    .nav-menu {
        position: fixed;
        top: 85px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: var(--space-md);
        gap: var(--space-sm);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        border-bottom: 1px solid var(--gris-clair);
        box-shadow: var(--shadow-md);
        z-index: 99;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }
    
    .eeat-grid {
        grid-template-columns: 1fr;
    }
    
    .villes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .pourquoi-grid {
        grid-template-columns: 1fr;
    }
    
    .realisations-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: var(--space-sm);
        text-align: center;
    }
    
    .section-header p {
        font-size: 1rem;
    }
    
    .contact-form {
        padding: var(--space-lg);
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Utilitaires */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-1 { margin-top: var(--space-xs); }
.mb-1 { margin-bottom: var(--space-xs); }
.mt-2 { margin-top: var(--space-sm); }
.mb-2 { margin-bottom: var(--space-sm); }
.mt-3 { margin-top: var(--space-md); }
.mb-3 { margin-bottom: var(--space-md); }
.mt-4 { margin-top: var(--space-lg); }
.mb-4 { margin-bottom: var(--space-lg); }
.mt-5 { margin-top: var(--space-xl); }
.mb-5 { margin-bottom: var(--space-xl); }

/* Footer premium et accessible */
.footer-brand {
    text-align: center;
}

.footer-brand .logo {
    justify-content: center;
    margin-bottom: var(--space-sm);
}

.footer-signature {
    margin-top: var(--space-sm);
    font-style: italic;
    opacity: 0.78;
}

.footer-heading {
    margin-bottom: var(--space-md);
    color: white;
    font-family: var(--font-titres);
    font-size: 1.35rem;
    font-weight: 600;
}

.performance-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.66rem;
}

.performance-badge span {
    color: #8ee8c2;
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
}

.rs-icons {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap;
    gap: 0.75rem !important;
    margin-top: 1rem !important;
    padding: 0 !important;
    list-style: none !important;
}

.rs-icons li {
    margin: 0 !important;
}

.rs-icons a {
    display: inline-grid !important;
    width: 2.5rem;
    height: 2.5rem;
    place-items: center;
    padding: 0 !important;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06) !important;
    color: white !important;
}

.rs-icons a:hover {
    border-color: rgba(255, 255, 255, 0.42);
    background: rgba(255, 255, 255, 0.14) !important;
    transform: translateY(-2px);
}

.rs-icons svg {
    width: 1.15rem;
    height: 1.15rem;
    fill: currentColor;
}

.footer-bottom {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: var(--space-md);
    align-items: center;
}

.footer-bottom > :last-child {
    text-align: right;
}

.footer-legal {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.78rem;
}

.reviews-widget {
    width: 100%;
    min-height: 320px;
    overflow: hidden;
}

.reviews-loading {
    display: grid;
    min-height: 320px;
    place-items: center;
    margin: 0;
    border: 1px solid var(--gris-clair);
    border-radius: var(--radius-lg);
    background: white;
    color: var(--gris-moyen);
    text-align: center;
}

@media (max-width: 768px) {
    .footer-bottom {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-bottom > :last-child {
        text-align: center;
    }

    .footer-legal {
        justify-content: center;
    }
}


/* HERO PLUS COMPACT */
.hero {
    min-height: auto;
    padding: var(--space-lg) 0;
}

.hero-grid {
    gap: var(--space-lg);
}

.hero h1 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin-bottom: var(--space-sm);
}

.hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: var(--space-md);
}

.hero-stats {
    display: flex;
    gap: var(--space-lg);
    margin-bottom: var(--space-md);
}

.hero-stat-value {
    font-size: 1.5rem;
}

.hero-stat-label {
    font-size: 0.8rem;
}

.hero-cta {
    margin-bottom: var(--space-md);
}

.hero-visual .hero-circle {
    width: 280px;
    height: 280px;
}

.hero-visual .hero-circle::before {
    width: 240px;
    height: 240px;
}

.hero-visual .hero-circle-inner {
    width: 200px;
    height: 200px;
    font-size: 3rem;
}

.hero-story {
    margin-top: var(--space-md);
}

/* VOYAGES SECTION (nouvelle) */
.voyages-section {
    padding: var(--space-xl) 0;
    background: var(--gris-tres-clair);
    border-top: 1px solid var(--gris-clair);
    border-bottom: 1px solid var(--gris-clair);
}

.voyages-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.voyages-content h2 {
    margin-bottom: var(--space-sm);
    color: var(--bleu-profond);
}

.voyages-content p {
    font-size: 1.1rem;
    margin-bottom: var(--space-lg);
}

.voyages-stats {
    display: flex;
    justify-content: center;
    gap: var(--space-xl);
    margin-bottom: var(--space-md);
}

.voyage-stat {
    text-align: center;
}

.voyage-value {
    display: block;
    font-family: var(--font-titres);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--bleu-electrique);
}

.voyage-label {
    font-size: 0.9rem;
    color: var(--gris-moyen);
}

.voyage-note {
    font-style: italic;
    color: var(--gris-moyen);
    font-size: 0.95rem;
}

/* RÉALISATIONS MINI */
.realisations-mini {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.realisation-mini-card {
    background: white;
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    text-align: center;
    border: 1px solid var(--gris-clair);
    transition: all 0.3s ease;
}

.realisation-mini-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--bleu-clair);
}

.realisation-mini-icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-sm);
}

.realisation-mini-card h3 {
    margin-bottom: 0.25rem;
    font-size: 1.25rem;
}

.realisation-mini-card p {
    font-size: 0.9rem;
    margin-bottom: var(--space-sm);
    color: var(--gris-moyen);
}

.realisation-mini-tag {
    display: inline-block;
    background: var(--bleu-clair-soft);
    color: var(--bleu-profond);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 500;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .hero-stats,
    .voyages-stats {
        flex-direction: column;
        gap: var(--space-sm);
        align-items: center;
    }
    
    .realisations-mini {
        grid-template-columns: 1fr;
    }
}

/* Footer social links */
.footer-social .social-link:hover {
    background: white !important;
    color: var(--bleu-profond) !important;
    transform: translateY(-2px);
}

.footer-social .social-link.whatsapp:hover {
    background: white !important;
    color: #25D366 !important;
}

/* Footer contact */
.footer-links ul li {
    transition: transform 0.2s;
}

.footer-links ul li:hover {
    transform: translateX(4px);
}

/* Footer bottom */
.footer-bottom a:hover {
    opacity: 1 !important;
    text-decoration: underline;
}

/* Responsive footer */
@media (max-width: 768px) {
    .footer-bottom > div {
        flex-direction: column;
        text-align: center;
        gap: var(--space-sm);
    }
    
    .footer-social .social-links {
        justify-content: center;
    }
}
/* Logo simplifié */
.logo {
    display: block;
    line-height: 0; /* Évite l'espace sous l'image */
}

.logo img {
    display: block;
    max-width: 180px;
    height: auto;
    transition: opacity 0.3s;
}

.logo:hover img {
    opacity: 0.9;
}

/* Ajustement responsive */
@media (max-width: 768px) {
    .logo img {
        max-width: 140px;
    }
}

/* Navigation CTA */
.nav-cta {
    background: var(--bleu-electrique);
    color: white !important;
    padding: 0.6rem 1.2rem !important;
    border-radius: 30px;
    transition: all 0.3s;
}

.nav-cta:hover {
    background: var(--bleu-profond);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.nav-cta::after {
    display: none !important;
}

/* Accessibilité focus */
a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--bleu-electrique);
    outline-offset: 2px;
}

/* Skip link (pour accessibilité) */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--bleu-profond);
    color: white;
    padding: 0.5rem 1rem;
    text-decoration: none;
    z-index: 100;
}

.skip-link:focus {
    top: 0;
}
/* Icônes sociales - effet hover */
.social-icon:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* Couleurs au hover (optionnel) */
.social-icon[aria-label="Facebook"]:hover { background: #0e5a9e !important; }
.social-icon[aria-label="Twitter"]:hover { background: #0c85d0 !important; }
.social-icon[aria-label="Instagram"]:hover { background: #c13584 !important; }
.social-icon[aria-label="WhatsApp"]:hover { background: #1da851 !important; }
.social-icon[aria-label="Email"]:hover { background: var(--bleu-electrique) !important; }

/* Responsive */
@media (max-width: 768px) {
    .social-icons {
        justify-content: center;
    }
}
.realisation-mini-img {
    width: 200px !important;
    height: 100px !important;
    object-fit: cover !important;
    object-position: center !important;
}

.realisation-mini-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Fallback pour les icônes */
.realisation-mini-icon:has(.realisation-mini-img) {
    overflow: hidden;
}
