/* ==========================================================================
   NLION INFORMATIQUE - Site Web Professionnel
   Développeur Web Indépendant
   ========================================================================== */

@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter/inter-v19-latin-regular.woff2') format('woff2');
  font-weight: 300 700;
  font-style: normal;
    font-display: fallback;
}

@font-face {
  font-family: 'Playfair Display';
  src: url('../fonts/Playfair_Display/PlayfairDisplay-VariableFont_wght.ttf') format('truetype');
  font-weight: 400 900;
  font-style: normal;
    font-display: fallback;
}

@font-face {
  font-family: 'Playfair Display';
  src: url('../fonts/Playfair_Display/PlayfairDisplay-Italic-VariableFont_wght.ttf') format('truetype');
  font-weight: 400 900;
  font-style: italic;
    font-display: fallback;
}

/* Reset et base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Optimisation des performances d'animation */

.service-card,
.cta-button,
.nav-menu a {
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

html, body {
    overflow-x: hidden;
    max-width: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--bg-light);
    min-height: 100vh;
    font-weight: 400;
    letter-spacing: -0.01em;
    font-size: 16px;
}

/* Variables CSS - Style inspiré d'o2switch */
:root {
    --primary-color: #0066cc;
    --primary-light: #3399ff;
    --primary-dark: #004499;
    --secondary-color: #1a1a1a;
    --secondary-light: #333333;
    --accent-color: #00cc66;
    --accent-light: #33ff99;
    --text-light: #ffffff;
    --text-dark: #1a1a1a;
    --text-muted: #666666;
    --bg-light: #ffffff;
    --bg-gray: #f5f7fa;
    --bg-dark: #1a1a1a;
    --border-light: #e5e7eb;
    --shadow-light: 0 2px 8px rgba(0,0,0,0.08);
    --shadow: 0 4px 20px rgba(0,0,0,0.12);
    --shadow-heavy: 0 8px 40px rgba(0,0,0,0.16);
    --border-radius: 12px;
    --border-radius-small: 6px;
    --border-radius-large: 24px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Header */
.header {
    background: var(--bg-light);
    backdrop-filter: blur(20px);
    padding: 1.2rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: var(--shadow-light);
}

.header.scrolled {
    background: rgba(0, 27, 49, 0.98);
    padding: 0.8rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.logo:hover {
    transform: translateY(-2px) scale(1.02);
}

/* Indicateur de statut serveur */
.status-indicator {
    display: flex;
    align-items: center;
    margin-left: 1rem;
    cursor: help;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-color);
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.6);
    animation: statusPulse 2s infinite;
    transition: var(--transition);
}

.status-indicator.offline .status-dot {
    background: #ef4444;
    box-shadow: 0 0 8px rgba(239, 68, 68, 0.6);
    animation: none;
}

.status-indicator.maintenance .status-dot {
    background: #f59e0b;
    box-shadow: 0 0 8px rgba(245, 158, 11, 0.6);
    animation: statusBlink 1s infinite;
}

@keyframes statusPulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.1);
    }
}

@keyframes statusBlink {
    0%, 50% {
        opacity: 1;
    }
    51%, 100% {
        opacity: 0.02;
    }
}

/* Bouton Audit Sécurité discret dans la carte de service */
.audit-security-btn {
    background: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    margin-top: 10px;
    display: inline-block;
    width: auto;
}

.audit-security-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-1px);
    text-decoration: none;
}

/* Modal Styles - Adapté au design du site */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(26, 26, 26, 0.85);
    backdrop-filter: blur(8px);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: var(--bg-light);
    margin: 2% auto;
    padding: 0;
    border-radius: 20px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-heavy);
    animation: slideIn 0.3s ease;
    color: var(--text-dark);
    border: 1px solid rgba(0, 102, 204, 0.1);
}

.modal-header {
    background: linear-gradient(135deg, #dc2626, #ea580c);
    padding: 2rem;
    border-radius: 20px 20px 0 0;
    text-align: center;
    position: relative;
}

/* Header spécifique pour la popup de débogage */
#debug-modal .modal-header {
    background: linear-gradient(135deg, #f97316, #0066cc);
}

.modal-header h2 {
    margin: 0 0 1rem 0;
    font-size: 1.8rem;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.modal-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-style: italic;
}

.close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    color: white;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.modal-body {
    padding: 2rem;
    line-height: 1.6;
    background: var(--bg-light);
}

.modal-body h3 {
    color: var(--primary-color);
    margin: 2rem 0 1rem 0;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}

.modal-body ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.modal-body li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-light);
    color: var(--text-dark);
}

.modal-body li:last-child {
    border-bottom: none;
}

.audit-intro,
.audit-features,
.audit-report,
.audit-why,
.audit-expertise {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--bg-gray);
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    box-shadow: var(--shadow-light);
}

.modal-footer {
    padding: 2rem;
    background: var(--bg-gray);
    border-radius: 0 0 20px 20px;
    text-align: center;
    border-top: 1px solid var(--border-light);
}

.contact-options {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.comeup-btn {
    background: linear-gradient(135deg, var(--accent-color), #059669);
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-light);
}

.comeup-btn:hover {
    background: linear-gradient(135deg, #059669, #047857);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
    color: white;
    text-decoration: none;
}

.contact-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-light);
}

.contact-btn:hover {
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    transform: translateY(-2px);
    box-shadow: var(--shadow);
    color: white;
    text-decoration: none;
}

.contact-info {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 1rem 0 0 0;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.logo img {
    height: 50px;
    width: 50px;
    object-fit: contain;
}

/* Fix pour éviter l'écrasement du logo dans le footer */
.footer-logo img {
    height: 40px !important;
    width: 40px !important;
    object-fit: contain !important;
    flex-shrink: 0;
}

        /* Styles spécifiques au footer */
        .footer {
            background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
            color: var(--text-light);
            padding: 3rem 0 1rem;
            margin-top: auto;
        }
        
        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
            margin-bottom: 2rem;
        }
        
        .footer-section {
            text-align: center;
        }
        
        .footer-section h4 {
            color: var(--primary-color);
            margin-bottom: 1rem;
            font-size: 1.2rem;
        }
        
        .footer-section ul {
            list-style: none;
        }
        
        .footer-section ul li {
            margin-bottom: 0.5rem;
            color: #ccc;
        }
        
        .footer-logo {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            margin-bottom: 1rem;
            font-weight: bold;
            font-size: 1.1rem;
        }
        
        .contact-details {
            display: flex;
            flex-direction: column;
            align-items: center;
        }
        
        .contact-details p {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            margin-bottom: 0.5rem;
            color: #ccc;
        }
        
        .contact-details i {
            color: var(--primary-color);
            width: 16px;
        }
        
        .social-links {
            display: flex;
            gap: 1rem;
            justify-content: center;
        }
        
        .social-links a {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            background: var(--primary-color);
            color: white;
            border-radius: 50%;
            text-decoration: none;
            transition: all 0.3s ease;
        }
        
        .social-links a:hover {
            background: #e55a2b;
            transform: translateY(-3px);
        }
        
        .footer-divider {
            height: 1px;
            background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
            margin: 2rem 0 1rem;
        }
        
        .footer-bottom-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 1rem;
        }
        
        .footer-links {
            display: flex;
            gap: 1.5rem;
        }
        
        .footer-links a {
            color: #ccc;
            text-decoration: none;
            font-size: 0.9rem;
            transition: color 0.3s ease;
        }
        
        .footer-links a:hover {
            color: var(--primary-color);
        }
        
        @media (max-width: 768px) {
            .footer-content {
                grid-template-columns: 1fr;
                text-align: center;
            }
            
            .footer-bottom-content {
                flex-direction: column;
                text-align: center;
            }
            
            .footer-links {
                flex-direction: column;
                gap: 0.5rem;
            }
        }



.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.5rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius-large);
    position: relative;
    transition: var(--transition);
    font-size: 0.95rem;
    background: transparent;
    border: none;
}

.nav-menu a:hover {
    background: var(--primary-color);
    color: var(--text-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.nav-menu a.active {
    background: var(--primary-color);
    color: var(--text-light);
    box-shadow: var(--shadow-light);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 2rem;
    margin-top: 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 300 300"><defs><style>.code-text { font-family: "Courier New", monospace; font-size: 12px; fill: white; opacity: 0.8; }</style></defs><text x="20" y="30" class="code-text">&lt;?php</text><text x="180" y="60" class="code-text">document.querySelector</text><text x="80" y="100" class="code-text">function()</text><text x="220" y="140" class="code-text">margin:</text><text x="40" y="180" class="code-text">const</text><text x="160" y="220" class="code-text">=&gt;</text><text x="260" y="80" class="code-text">[]</text><text x="120" y="260" class="code-text">if __name__</text><text x="10" y="120" class="code-text">$_POST</text><text x="200" y="200" class="code-text">addEventListener</text><text x="280" y="180" class="code-text">&amp;&amp;</text><text x="60" y="240" class="code-text">return</text></svg>');
    pointer-events: none;
    animation: codeFloat 20s ease-in-out infinite;
    opacity: 0.1;
    filter: blur(0.5px);
    transform-style: preserve-3d;
    transition: all 0.3s ease;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 300 300"><defs><style>.code-symbol { font-family: "Courier New", monospace; font-size: 14px; fill: white; opacity: 0.7; }</style></defs><text x="50" y="50" class="code-symbol">class</text><text x="200" y="90" class="code-symbol">for</text><text x="30" y="150" class="code-symbol">while</text><text x="250" y="120" class="code-symbol">try</text><text x="100" y="200" class="code-symbol">catch</text><text x="180" y="250" class="code-symbol">else</text><text x="270" y="200" class="code-symbol">new</text><text x="20" y="280" class="code-symbol">def</text><text x="150" y="40" class="code-symbol">async</text><text x="80" y="280" class="code-symbol">await</text><text x="220" y="30" class="code-symbol">import</text><text x="10" y="200" class="code-symbol">export</text></svg>');
    pointer-events: none;
    animation: codeFloat2 25s ease-in-out infinite reverse;
    opacity: 0.08;
    filter: blur(0.3px);
    transform-style: preserve-3d;
    transition: all 0.3s ease;
}

/* Couche de particules flottantes */
.hero {
    position: relative;
    overflow: hidden;
}

.hero:before {
    z-index: 1;
}

.hero:after {
    z-index: 2;
}

/* Nouvelle couche de particules */
.hero-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 30%, rgba(255,255,255,0.1) 1px, transparent 1px),
                radial-gradient(circle at 80% 70%, rgba(255,255,255,0.08) 1px, transparent 1px),
                radial-gradient(circle at 40% 80%, rgba(255,255,255,0.06) 1px, transparent 1px);
    background-size: 100px 100px, 150px 150px, 200px 200px;
    pointer-events: none;
    z-index: -1;
}

/* Animation principale du code flottant */
@keyframes codeFloat {
    0% {
        transform: translateY(100vh) translateX(0px) rotate(0deg);
        opacity: 0;
    }
    15% {
        opacity: 0.02;
    }
    25% {
        transform: translateY(75vh) translateX(10px) rotate(45deg);
        opacity: 0.25;
    }
    50% {
        transform: translateY(50vh) translateX(25px) rotate(90deg);
        opacity: 0.02;
    }
    75% {
        transform: translateY(25vh) translateX(35px) rotate(135deg);
        opacity: 0.25;
    }
    85% {
        opacity: 0.02;
    }
    100% {
        transform: translateY(-100px) translateX(50px) rotate(180deg);
        opacity: 0;
    }
}

/* Animation secondaire du code flottant */
@keyframes codeFloat2 {
    0% {
        transform: translateY(100vh) translateX(0px) rotate(0deg);
        opacity: 0;
    }
    20% {
        opacity: 0.08;
    }
    30% {
        transform: translateY(70vh) translateX(-8px) rotate(-30deg);
        opacity: 0.15;
    }
    50% {
        transform: translateY(50vh) translateX(-15px) rotate(-60deg);
        opacity: 0.02;
    }
    70% {
        transform: translateY(30vh) translateX(-22px) rotate(-90deg);
        opacity: 0.15;
    }
    80% {
        opacity: 0.08;
    }
    100% {
        transform: translateY(-100px) translateX(-30px) rotate(-120deg);
        opacity: 0;
    }
}

/* Animation du dégradé de fond */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    25% {
        background-position: 50% 25%;
    }
    50% {
        background-position: 100% 50%;
    }
    75% {
        background-position: 50% 75%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Animation de pulsation pour les éléments de code */
@keyframes codePulse {
    0%, 100% {
        transform: scale(1) rotateZ(0deg);
        filter: brightness(1);
    }
    25% {
        transform: scale(1.02) rotateZ(0.5deg);
        filter: brightness(1.1);
    }
    50% {
        transform: scale(1.05) rotateZ(1deg);
        filter: brightness(1.2);
    }
    75% {
        transform: scale(1.02) rotateZ(0.5deg);
        filter: brightness(1.1);
    }
}

/* Animation de lueur pour les symboles */
@keyframes codeGlow {
    0%, 100% {
        filter: blur(0.3px) drop-shadow(0 0 2px rgba(255,255,255,0.1));
        opacity: 0.08;
    }
    33% {
        filter: blur(0.2px) drop-shadow(0 0 4px rgba(255,255,255,0.2));
        opacity: 0.02;
    }
    66% {
        filter: blur(0.4px) drop-shadow(0 0 6px rgba(255,255,255,0.15));
        opacity: 0.25;
    }
}

/* Animation des particules flottantes */
@keyframes particleFloat {
    0% {
        transform: translateY(0px) rotate(0deg);
        background-position: 0% 0%;
    }
    25% {
        transform: translateY(-5px) rotate(90deg);
        background-position: 25% 25%;
    }
    50% {
        transform: translateY(-10px) rotate(180deg);
        background-position: 50% 50%;
    }
    75% {
        transform: translateY(-5px) rotate(270deg);
        background-position: 75% 75%;
    }
    100% {
        transform: translateY(0px) rotate(360deg);
        background-position: 100% 100%;
    }
}

/* Animation de vague pour l'arrière-plan */
@keyframes waveMotion {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    25% {
        transform: translateY(-2px) scale(1.005);
    }
    50% {
        transform: translateY(-5px) scale(1.01);
    }
    75% {
        transform: translateY(-2px) scale(1.005);
    }
}

/* Animation de respiration pour le contenu */
@keyframes breathe {
    0%, 100% {
        transform: scale(1) translateY(0);
    }
    50% {
        transform: scale(1.01) translateY(-2px);
    }
}

/* Effet de morphing pour les éléments de code */
@keyframes morphCode {
    0% {
        border-radius: 0;
        transform: skew(0deg);
    }
    25% {
        border-radius: 10px;
        transform: skew(1deg);
    }
    50% {
        border-radius: 20px;
        transform: skew(0deg);
    }
    75% {
        border-radius: 10px;
        transform: skew(-1deg);
    }
    100% {
        border-radius: 0;
        transform: skew(0deg);
    }
}

/* Animation pour les particules de clic */
@keyframes particleExplosion {
    0% {
        transform: scale(1) translate(0, 0);
        opacity: 1;
    }
    50% {
        transform: scale(3) translate(var(--random-x, 20px), var(--random-y, -20px));
        opacity: 0.7;
    }
    100% {
        transform: scale(0) translate(var(--random-x, 40px), var(--random-y, -40px));
        opacity: 0;
    }
}

/* Animation d'apparition pour les éléments au scroll */
@keyframes slideInUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Curseur clignotant pour l'effet typing */
@keyframes blink {
    0%, 50% {
        opacity: 1;
    }
    51%, 100% {
        opacity: 0;
    }
}

/* Styles pour les animations interactives */
.hero {
    --mouse-glow: 0;
    --viewport-width: 100vw;
    --viewport-height: 100vh;
}

.hero::before {
    filter: blur(0.5px) brightness(calc(1 + var(--mouse-glow) * 0.3));
}

.hero::after {
    filter: blur(0.3px) brightness(calc(1 + var(--mouse-glow) * 0.2)) drop-shadow(0 0 calc(var(--mouse-glow) * 10px) rgba(255,255,255,0.3));
}

/* Styles pour les éléments animés au scroll */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.animate-on-scroll.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.animate-on-scroll:nth-child(2) {
    transition-delay: 0.1s;
}

.animate-on-scroll:nth-child(3) {
    transition-delay: 0.2s;
}

.animate-on-scroll:nth-child(4) {
    transition-delay: 0.3s;
}

/* Curseur clignotant */
.typing-cursor {
    animation: blink 1s infinite;
    font-weight: normal;
    color: var(--primary-color);
}

/* Effet de hover amélioré pour les boutons */
.btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.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;
}

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

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}







.hero-content {
    max-width: 900px;
    color: var(--text-light);
    z-index: 2;
    position: relative;
    /* animation: breathe 8s ease-in-out infinite; */
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    margin-bottom: 2rem;
    font-weight: 800;
    color: white;
    line-height: 1.1;
    letter-spacing: -0.02em;
    white-space: nowrap;
}

.hero h1::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(247, 97, 33, 0.1) 0%, 
        transparent 50%,
        rgba(0, 123, 255, 0.1) 100%);
    border-radius: 10px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}



.hero .subtitle {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
    letter-spacing: -0.01em;
}





/* Hero Description */
.hero-description {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}













/* Services */
.services {
    padding: 8rem 2rem;
    background: var(--bg-gray);
    position: relative;
}



.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    margin-bottom: 4rem;
    color: var(--text-dark);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.service-card {
    background: var(--bg-light);
    padding: 3rem 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    text-align: center;
    transition: var(--transition);
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.06);
    height: 100%;
    display: flex;
    flex-direction: column;
}



.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow);
    border-color: var(--primary-color);
}



.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    display: inline-block;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: scale(1.1);
    color: var(--primary-light);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.service-card p {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 1rem;
    flex-grow: 1;
}

.service-card ul {
    position: relative;
    z-index: 2;
}

.service-card ul li {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 0.3rem 0;
}

.service-card:hover ul li {
    color: var(--text-dark);
}

/* États des cartes d'outils en ligne */
.service-card.disabled {
    opacity: 0.5;
    pointer-events: none;
    cursor: not-allowed;
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

.service-card.disabled:hover {
    transform: none;
    box-shadow: var(--shadow-light);
    border-color: rgba(0, 0, 0, 0.06);
}

.service-card.disabled .service-icon {
    color: #999;
}

.service-card.disabled:hover .service-icon {
    transform: none;
    color: #999;
}

.service-card.disabled h3 {
    color: #999;
}

.service-card.disabled p {
    color: #ccc;
}

.service-card.disabled button {
    background: #e5e5e5;
    color: #999;
    cursor: not-allowed;
    border: 1px solid #ddd;
}

.service-card.disabled button:hover {
    background: #e5e5e5;
    color: #999;
    transform: none;
    box-shadow: none;
}

/* CTA Button */
.cta-button {
    display: inline-block;
    background: var(--primary-color);
    color: var(--text-light);
    padding: 1rem 2.5rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    box-shadow: var(--shadow-light);
    margin-top: 2rem;
    position: relative;
    border: none;
    cursor: pointer;
    letter-spacing: -0.01em;
}





.cta-button:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}





.cta-button:active {
    transform: translateY(0);
    box-shadow: var(--shadow-light);
}

/* Contact */
.contact {
    background: var(--text-dark);
    color: var(--text-light);
    padding: 6rem 2rem;
    text-align: center;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: var(--text-light);
    text-align: center;
    padding: 3rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Bouton retour en haut */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--text-light);
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-size: 1.2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-heavy);
    background: var(--primary-light);
}

.back-to-top:active {
    transform: translateY(-1px);
}

/* Styles pour les outils */
.tools-category {
    background: rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.8);
}

/* Styles spécifiques pour les catégories d'outils */
.tools-category.web-tools {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(147, 197, 253, 0.1));
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.tools-category.office-tools {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(110, 231, 183, 0.1));
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.tools-category h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-align: center;
    position: relative;
}

.tools-category.web-tools h3::before {
    content: '🌐';
    margin-right: 0.5rem;
}

.tools-category.office-tools h3::before {
    content: '📋';
    margin-right: 0.5rem;
}

.server-status {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 2rem;
}

.status-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 500;
}

.status-indicator i {
    font-size: 0.8rem;
}

.status-online {
    color: #059669;
}

.status-offline {
    color: #dc2626;
}

.status-checking {
    color: #d97706;
    animation: pulse 2s infinite;
}

.status-partial {
    color: #ea580c;
}

/* Outils en ligne */
.tool-card {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 2px solid #e2e8f0;
}

.tool-card:hover {
    border-color: #1e40af;
    box-shadow: 0 8px 25px rgba(30, 64, 175, 0.15);
}

.tool-card.disabled {
    opacity: 0.9;
    pointer-events: none;
}

.tool-card.disabled::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

/* Boutons spécifiques aux outils en ligne */
.tool-btn {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    margin-top: 10px;
    display: inline-block;
    width: auto;
    box-shadow: 0 2px 8px rgba(5, 150, 105, 0.2);
}

.tool-btn:disabled {
    background: linear-gradient(135deg, #94a3b8 0%, #64748b 100%);
    cursor: not-allowed;
    opacity: 0.7;
    box-shadow: 0 2px 8px rgba(148, 163, 184, 0.2);
}

.tool-btn:not(:disabled):hover {
    background: linear-gradient(135deg, #047857 0%, #065f46 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(5, 150, 105, 0.3);
}

/* Applications hors ligne */
.offline-tool-card {
    transition: all 0.3s ease;
    border: 2px solid #d1fae5;
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
}

.offline-tool-card:hover {
    border-color: #059669;
    box-shadow: 0 8px 25px rgba(5, 150, 105, 0.15);
    transform: translateY(-3px);
}

.offline-tool-card .service-icon {
    background: linear-gradient(135deg, #059669, #047857);
    color: white;
}

.offline-tool-btn {
    background: #059669;
    transition: all 0.3s ease;
}

.offline-tool-btn:hover {
    background: #047857;
    transform: translateY(-2px);
}

.offline-tool-btn:active {
    transform: translateY(0);
}

/* Animation de téléchargement */
.offline-tool-btn.downloading {
    background: #d97706;
    cursor: wait;
}

.offline-tool-btn.downloading::after {
    content: ' ⬇️';
    animation: bounce 1s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-3px);
    }
    60% {
        transform: translateY(-1px);
    }
}

/* Responsive pour les catégories */
@media (max-width: 768px) {
    .tools-category {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .tools-category h3 {
        font-size: 1.5rem !important;
    }
}

/* Animation pour l'icône de chargement */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.fa-spin {
    animation: spin 1s linear infinite;
}

/* Cartes désactivées quand le serveur est hors ligne */
.service-card.disabled {
    opacity: 0.5 !important;
    pointer-events: none !important;
    position: relative;
    transition: all 0.3s ease;
}

.service-card.disabled::before {
    content: '🔌 Serveur hors ligne';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(239, 68, 68, 0.9);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.service-card.disabled:hover::before {
    opacity: 1;
}

.service-card.disabled .tool-btn,
.service-card.disabled a.tool-btn {
    opacity: 0.5 !important;
    pointer-events: none !important;
    cursor: not-allowed !important;
}

.service-card.disabled .service-icon {
    opacity: 0.5;
}

.service-card.disabled h3,
.service-card.disabled p {
    opacity: 0.7;
}

/* Applications hors ligne */
.offline-tools {
    margin-top: 3rem;
}

.offline-tools .tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.offline-app-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
}

.offline-app-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.offline-app-card h4 {
    color: #1f2937;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.offline-app-card p {
    color: #6b7280;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.download-app-btn {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    font-size: 0.9rem;
}

.download-app-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

.download-app-btn:disabled {
    background: #d1d5db;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.download-app-btn.downloading {
    background: #f59e0b;
    cursor: wait;
}

.download-app-btn.downloading::after {
    content: "";
    display: inline-block;
    width: 12px;
    height: 12px;
    margin-left: 8px;
    border: 2px solid transparent;
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Section Blog */
.blog-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.blog-image {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 2rem;
    text-align: center;
    border-bottom: 1px solid #e5e7eb;
}

.blog-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.85rem;
}

.blog-date {
    color: #6b7280;
    font-weight: 500;
}

.blog-category {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-card h3 {
    color: #1f2937;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.blog-card p {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.blog-read-more {
    color: #6366f1;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-read-more:hover {
    color: #4f46e5;
    transform: translateX(3px);
}

.blog-read-more i {
    transition: transform 0.3s ease;
}

.blog-read-more:hover i {
    transform: translateX(3px);
}

/* Responsive pour la section blog */
@media (max-width: 768px) {
    .blog-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .blog-card h3 {
        font-size: 1rem;
    }
    
    .blog-image {
        padding: 1.5rem;
    }
    
    .blog-content {
        padding: 1.25rem;
    }
}

/* Styles pour les popups de débogage et d'audit */
.debug-popup, .audit-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

/* Section Témoignages */
.testimonials {
    position: relative;
}

.testimonials-grid {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.2s;
}

.testimonial-card {
    background: white;
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.testimonial-content {
    font-style: italic;
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    position: relative;
    padding: 1.5rem 1rem 1rem 2.5rem;
    text-indent: 0;
    background: rgba(var(--primary-rgb), 0.02);
    border-left: 4px solid var(--primary-color);
    border-radius: 0 8px 8px 0;
    min-height: 80px;
    display: flex;
    align-items: center;
}

.testimonial-content::before {
    content: '"';
    font-size: 4rem;
    color: var(--primary-color);
    position: absolute;
    top: -0.5rem;
    left: 0.2rem;
    font-family: Georgia, serif;
    opacity: 0.15;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.testimonial-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.testimonial-bottom .testimonial-author {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
    align-self: flex-start;
    width: 100%;
}

.testimonial-avatar {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.3rem;
    box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.3);
    flex-shrink: 0;
}

.testimonial-info {
    flex: 1;
}

.testimonial-info h4 {
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 0.4rem;
    font-size: 1.05rem;
}

.testimonial-date {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 500;
}

.testimonial-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
    align-self: flex-start;
}

.testimonial-link:hover {
    color: var(--primary-dark);
    transform: translateX(3px);
}

.testimonial-link i {
    font-size: 0.8rem;
}

/* Animation pour les témoignages */
.testimonial-card {
    opacity: 0;
    transform: translateY(30px);
    animation: slideInUp 0.6s ease forwards;
}

.testimonial-card:nth-child(1) { animation-delay: 0.1s; }
.testimonial-card:nth-child(2) { animation-delay: 0.2s; }
.testimonial-card:nth-child(3) { animation-delay: 0.3s; }
.testimonial-card:nth-child(4) { animation-delay: 0.4s; }
.testimonial-card:nth-child(5) { animation-delay: 0.5s; }
.testimonial-card:nth-child(6) { animation-delay: 0.6s; }

@keyframes slideInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        padding-top: 6rem;
        padding-bottom: 1rem;
        min-height: 100vh;
        display: flex;
        align-items: flex-start;
        justify-content: center;
    }
    
    .hero h1 {
        font-size: 2.2rem;
        white-space: normal;
        line-height: 1.2;
    }
    
    .hero .subtitle {
        font-size: 1.4rem;
        font-weight: 600;
    }
    
    .section-title {
        font-size: 2rem;
        white-space: normal;
        line-height: 1.3;
    }
    
    .service-card h3 {
        font-size: 1.3rem;
        white-space: normal;
        line-height: 1.4;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 1rem;
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        padding: 1rem;
        box-shadow: var(--shadow);
    }
    
    .contact-info {
        flex-direction: column;
        gap: 1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-top: 3rem;
    }
    
    .service-card {
        padding: 2.5rem 2rem;
    }
    
    .services {
        padding: 5rem 2rem;
    }
    
    /* Section À propos responsive */
    #apropos > .container > div:first-of-type {
        grid-template-columns: 1fr !important;
        text-align: center;
    }
    
    #apropos img {
        width: 200px !important;
        margin: 2rem 0;
    }
    
    .back-to-top {
         bottom: 20px;
         right: 20px;
         width: 45px;
         height: 45px;
         font-size: 1.1rem;
     }
 }

/* Styles du préchargement déplacés vers css/preloader.css */

/* Accents verts inspirés d'o2switch */
.service-card:nth-child(2) .service-icon,
.service-card:nth-child(4) .service-icon {
    color: var(--accent-color);
}

.service-card:nth-child(2):hover .service-icon,
.service-card:nth-child(4):hover .service-icon {
    color: var(--accent-light);
}

.service-card:nth-child(2):hover,
.service-card:nth-child(4):hover {
    border-color: var(--accent-color);
}

/* Animation d'entrée pour les cards */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card {
    animation: fadeInUp 0.6s ease-out;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }
.service-card:nth-child(5) { animation-delay: 0.5s; }
.service-card:nth-child(6) { animation-delay: 0.6s; }



@media (max-width: 768px) {
    .status-indicator {
        margin-left: 0.5rem;
    }
    
    .status-dot {
        width: 6px;
        height: 6px;
    }
    
    .modal-content {
        width: 95%;
        margin: 5% auto;
    }
    
    .modal-header {
        padding: 1.5rem;
    }
    
    .modal-header h2 {
        font-size: 1.5rem;
    }
    
    .modal-body {
        padding: 1.5rem;
    }
    
    .contact-options {
        flex-direction: column;
        align-items: center;
    }
    
    .audit-security-btn {
        padding: 5px 10px;
        font-size: 0.75rem;
        margin-top: 8px;
        width: auto;
        text-align: center;
    }
    
    /* Témoignages responsive */
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .testimonial-card {
        padding: 1.2rem;
        border-radius: 12px;
    }
    
    .testimonial-avatar {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .testimonial-author {
        gap: 1rem;
        margin-top: 0.8rem;
        padding-top: 0.8rem;
    }
    
    .testimonial-bottom {
        gap: 0.8rem;
        margin-top: 0.8rem;
        padding-top: 0.8rem;
    }
    
    .testimonial-bottom .testimonial-author {
        margin-top: 0;
        padding-top: 0;
    }
    
    .testimonial-info h4 {
        font-size: 1rem;
    }
    
    .testimonial-content {
        font-size: 1rem;
        padding: 1.2rem 0.8rem 1rem 2rem;
        text-indent: 0;
        min-height: 70px;
    }
    
    .testimonial-content::before {
        font-size: 3rem;
        top: -0.3rem;
        left: 0.1rem;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 100vh;
        display: flex;
        align-items: flex-start;
        justify-content: center;
        padding-top: 7rem;
        padding-bottom: 0.5rem;
    }
    
    .hero h1 {
        font-size: 1.8rem;
        white-space: normal;
        line-height: 1.2;
    }
    
    .hero .subtitle {
        font-size: 1.2rem;
        font-weight: 600;
    }
    
    .section-title {
        font-size: 1.6rem;
        white-space: normal;
        line-height: 1.3;
    }
    
    .service-card h3 {
        font-size: 1.1rem;
        white-space: normal;
        line-height: 1.4;
    }
    
    .blog-card h3 {
        font-size: 0.9rem;
        white-space: normal;
        line-height: 1.4;
    }
    
    .status-indicator {
        margin-left: 0.3rem;
    }
    

    
    .nav-container {
        padding: 0 1rem;
    }
    
    .nav-menu {
        gap: 0.5rem;
        flex-wrap: wrap;
    }
    
    .nav-menu a {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    .audit-security-btn {
        padding: 4px 8px;
        font-size: 0.7rem;
        margin-top: 6px;
        width: auto;
        text-align: center;
    }
    
    .modal-content {
        width: 98%;
        margin: 2% auto;
        max-height: 95vh;
    }
    
    .modal-header {
        padding: 1rem;
    }
    
    .modal-header h2 {
        font-size: 1.3rem;
        flex-direction: column;
        gap: 0.3rem;
    }
    
    .modal-subtitle {
        font-size: 1rem;
    }
    
    .modal-body {
        padding: 1rem;
    }
    
    .audit-intro,
    .audit-features,
    .audit-report,
    .audit-why,
    .audit-expertise {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .modal-footer {
        padding: 1rem;
    }
    
    .close {
        top: 0.5rem;
        right: 1rem;
        width: 35px;
        height: 35px;
        font-size: 1.5rem;
    }
    
    .services {
        padding: 4rem 1rem;
    }
    
    .service-card {
        padding: 2rem 1.5rem;
    }
    
    .contact {
        padding: 4rem 1rem;
    }
    
    .footer {
        padding: 2rem 1rem;
    }
}

/* Pages légales */
.legal-page {
    padding: 2rem 0;
    min-height: calc(100vh - 200px);
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

.legal-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem 0;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--text-light);
    border-radius: 12px;
    box-shadow: var(--shadow-light);
}

.legal-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.legal-sections {
    background: var(--bg-light);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-light);
}

.legal-intro {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--bg-gray);
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);

}

/* ==========================================================================
   Refonte 2026 - direction visuelle epuree
   ========================================================================== */

:root {
    --font-body: 'Inter', 'Segoe UI', sans-serif;
    --font-heading: 'Playfair Display', 'Georgia', serif;
    --primary-color: #aa5a33;
    --primary-light: #c78057;
    --primary-dark: #7b3d22;
    --primary-rgb: 170, 90, 51;
    --accent-color: #6c7b5d;
    --accent-light: #8d9b7f;
    --secondary-color: #171411;
    --secondary-light: #302823;
    --text-dark: #211d1a;
    --text-muted: #655c54;
    --text-light: #fbf7f1;
    --bg-light: #f7f2eb;
    --bg-gray: #efe7dd;
    --bg-dark: #16120f;
    --surface-color: rgba(255, 252, 247, 0.82);
    --surface-strong: #fffdf8;
    --surface-dark: #231d19;
    --border-light: rgba(60, 44, 34, 0.11);
    --border-strong: rgba(130, 87, 58, 0.24);
    --shadow-light: 0 10px 30px rgba(35, 23, 15, 0.06);
    --shadow: 0 20px 45px rgba(35, 23, 15, 0.1);
    --shadow-heavy: 0 30px 70px rgba(22, 18, 15, 0.16);
    --border-radius: 24px;
    --border-radius-small: 14px;
    --border-radius-large: 999px;
    --transition: all 0.28s ease;
}

html {
    scroll-behavior: smooth;
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(199, 128, 87, 0.12), transparent 34%),
        radial-gradient(circle at right 15%, rgba(108, 123, 93, 0.12), transparent 26%),
        linear-gradient(180deg, #fbf7f1 0%, #f4ede4 100%);
    background-attachment: fixed;
    background-size: cover;
}

body {
    font-family: var(--font-body);
    background: transparent;
    color: var(--text-dark);
}

html.js body.homepage .hero-eyebrow,
html.js body.homepage .hero h1,
html.js body.homepage .hero .subtitle,
html.js body.homepage .hero .hero-description,
html.js body.homepage .hero .hero-actions,
html.js body.homepage .hero .hero-proof,
html.js body.homepage .hero .local-seo-strip--hero {
    transition: opacity 0.24s ease, transform 0.32s ease, filter 0.32s ease;
}

html.js:not(.hero-fonts-ready) body.homepage .hero-eyebrow,
html.js:not(.hero-fonts-ready) body.homepage .hero h1,
html.js:not(.hero-fonts-ready) body.homepage .hero .subtitle,
html.js:not(.hero-fonts-ready) body.homepage .hero .hero-description,
html.js:not(.hero-fonts-ready) body.homepage .hero .hero-actions,
html.js:not(.hero-fonts-ready) body.homepage .hero .hero-proof,
html.js:not(.hero-fonts-ready) body.homepage .hero .local-seo-strip--hero {
    opacity: 0;
    transform: translateY(8px);
    filter: blur(2px);
}

html.js.hero-fonts-ready body.homepage .hero-eyebrow,
html.js.hero-fonts-ready body.homepage .hero h1,
html.js.hero-fonts-ready body.homepage .hero .subtitle,
html.js.hero-fonts-ready body.homepage .hero .hero-description,
html.js.hero-fonts-ready body.homepage .hero .hero-actions,
html.js.hero-fonts-ready body.homepage .hero .hero-proof,
html.js.hero-fonts-ready body.homepage .hero .local-seo-strip--hero {
    opacity: 1;
    transform: none;
    filter: none;
}

.container {
    max-width: 1320px;
    padding: 0 2rem;
}

.header {
    background: rgba(251, 247, 241, 0.78);
    border-bottom: 1px solid rgba(60, 44, 34, 0.08);
    box-shadow: none;
    backdrop-filter: blur(16px);
}

.header.scrolled {
    background: rgba(251, 247, 241, 0.95);
    padding: 0.9rem 0;
    box-shadow: 0 8px 30px rgba(35, 23, 15, 0.08);
}

.nav-container {
    gap: 1.5rem;
}

.logo {
    gap: 0.85rem;
}

.logo:hover {
    transform: none;
}

.logo-text {
    display: flex;
    flex-direction: column;
    gap: 0.12rem;
}

.logo-name,
.logo-subname {
    margin: 0;
}

.logo-name {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    line-height: 1;
    letter-spacing: 0.03em;
}

.logo-subname {
    font-size: 0.72rem;
    letter-spacing: 0.28em;
    color: var(--primary-color);
    font-weight: 700;
}

.nav-menu {
    gap: 0.35rem;
}

.nav-menu a {
    padding: 0.75rem 1rem;
    border-radius: 999px;
    color: var(--text-dark);
    font-weight: 500;
}

.nav-menu a:hover,
.nav-menu a.active {
    background: rgba(170, 90, 51, 0.1);
    color: var(--primary-dark);
    box-shadow: none;
    transform: none;
}

.mobile-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border: 1px solid var(--border-light);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.7);
    align-items: center;
    justify-content: center;
    gap: 0.26rem;
    flex-direction: column;
    cursor: pointer;
}

.mobile-toggle span {
    width: 16px;
    height: 1.5px;
    background: var(--text-dark);
    transition: var(--transition);
}

.mobile-toggle.is-active span:nth-child(1) {
    transform: translateY(3.8px) rotate(45deg);
}

.mobile-toggle.is-active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.is-active span:nth-child(3) {
    transform: translateY(-3.8px) rotate(-45deg);
}

.hero {
    min-height: clamp(42rem, 90svh, 58rem);
    min-height: clamp(42rem, 90dvh, 58rem);
    padding: 7rem 0 2.5rem;
    background: transparent;
    text-align: center;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero .container {
    max-width: 1440px;
}

/* Halo ambiance gauche */
.hero::before {
    content: '';
    position: absolute;
    inset: 5% auto auto 3%;
    width: 40rem;
    height: 40rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(170, 90, 51, 0.14) 0%, rgba(170, 90, 51, 0) 70%);
    pointer-events: none;
}

/* Halo ambiance droite */
.hero::after {
    content: '';
    position: absolute;
    right: 4%;
    top: 10%;
    width: 30rem;
    height: 30rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(108, 123, 93, 0.12) 0%, rgba(108, 123, 93, 0) 70%);
    pointer-events: none;
}

.hero-content::before {
    content: none;
}

.hero-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    max-width: none;
    width: 100%;
    min-height: 100%;
    align-items: center;
    justify-items: center;
}

.hero-content {
    max-width: 860px;
    color: var(--text-dark);
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Badge eyebrow */
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.42rem 1rem 0.42rem 0.7rem;
    border: 1px solid rgba(170, 90, 51, 0.2);
    border-radius: 999px;
    font-size: 0.8rem;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--primary-dark);
    background: rgba(255, 255, 255, 0.60);
    backdrop-filter: blur(8px);
    margin-bottom: 1.6rem;
}

.hero-eyebrow__dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(170, 90, 51, 0.18);
    flex-shrink: 0;
}

.proof-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.8rem;
    border: 1px solid rgba(170, 90, 51, 0.18);
    border-radius: 999px;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary-dark);
    background: rgba(255, 255, 255, 0.55);
}

/* H1 avec typo éditoriale */
.hero h1,
.section-title,
.hero-panel-card-main h2 {
    font-family: var(--font-heading);
}

.hero h1 {
    font-size: clamp(3.4rem, 9vw, 6.8rem);
    color: var(--text-dark);
    line-height: 1;
    letter-spacing: -0.03em;
    margin: 0 0 1.4rem;
    font-weight: 700;
}

/* Mot accentué en italique Playfair */
.hero-h1-accent {
    font-style: italic;
    font-weight: 800;
    color: var(--primary-color);
    -webkit-text-fill-color: transparent;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 55%, #e09a62 100%);
    -webkit-background-clip: text;
    background-clip: text;
}

.hero .subtitle {
    color: var(--secondary-light);
    font-size: clamp(1.1rem, 1.9vw, 1.38rem);
    max-width: 44rem;
    margin-bottom: 0;
    margin-left: auto;
    margin-right: auto;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: -0.01em;
}

.hero .subtitle span,
.hero-description span {
    display: block;
}

.hero .subtitle span + span {
    margin-top: 0.15rem;
}

.hero-description {
    max-width: 46rem;
    margin: 1.35rem auto 0;
    color: var(--text-muted);
    font-size: clamp(0.97rem, 1.4vw, 1.13rem);
    line-height: 1.7;
    position: relative;
    padding-top: 1.25rem;
}

.hero-description::before {
    content: '';
    width: 56px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), transparent);
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
    opacity: 0.45;
}

.hero-description span + span {
    margin-top: 0.1rem;
}

.hero-actions {
    display: flex;
    gap: 0.85rem;
    flex-wrap: wrap;
    margin: 1.9rem 0 0;
    justify-content: center;
}

/* Chips de preuve sociale */
.hero-proof {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 1.6rem;
}

.hero-proof__chip {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.38rem 0.85rem;
    background: rgba(255, 255, 255, 0.52);
    border: 1px solid rgba(60, 44, 34, 0.1);
    border-radius: 999px;
    font-size: 0.84rem;
    font-weight: 500;
    color: var(--text-dark);
    backdrop-filter: blur(8px);
    white-space: nowrap;
}

.hero-proof__chip i {
    font-size: 0.75rem;
    color: var(--primary-color);
}

.hero-proof__sep {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--border-strong);
    flex-shrink: 0;
}

.cta-button,
.secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.95rem 1.55rem;
    min-height: 52px;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    margin-top: 0;
}

.cta-button {
    background: var(--text-dark);
    color: var(--text-light);
    box-shadow: none;
}

.cta-button:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 18px 32px rgba(123, 61, 34, 0.18);
}

.secondary-button {
    border: 1px solid var(--border-strong);
    color: var(--text-dark);
    background: rgba(255, 255, 255, 0.45);
}

.secondary-button:hover {
    border-color: var(--primary-color);
    color: var(--primary-dark);
    background: rgba(255, 255, 255, 0.85);
}

.hero-panel-card-main,
.hero-micro-card,
.service-card,
.review-card,
.showcase-card,
.contact-card,
.faq-item,
.tools-category,
.blog-card,
.contact-form-shell,
.footer {
    border: 1px solid var(--border-light);
}

.services,
.about-section,
.faq-section,
.proof-strip,
.showcase-section {
    padding: 5.5rem 0;
    background: transparent;
}

.about-section {
    display: flex;
    align-items: center;
    min-height: clamp(700px, 86svh, 960px);
    padding: clamp(2.5rem, 4vh, 3.75rem) 0;
}

.about-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: inherit;
}

.services {
    position: relative;
}

.section-title {
    font-size: clamp(2.4rem, 4vw, 4rem);
    line-height: 1.04;
    margin-bottom: 1rem;
}

.section-intro,
.contact-intro,
.blog-comments-kicker {
    max-width: 48rem;
    margin: 0 auto 2.8rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 1rem;
}

.section-actions,
.showcase-actions {
    display: flex;
    justify-content: center;
    margin-top: 2.5rem;
}

.services-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
    margin-top: 2.5rem;
}

.service-card,
.review-card,
.showcase-card,
.blog-card,
.contact-form-shell,
.tools-category,
.faq-item {
    background: rgba(255, 253, 248, 0.75);
    border-radius: 24px;
    box-shadow: var(--shadow-light);
    backdrop-filter: blur(10px);
}

.service-card {
    padding: 2rem 1.5rem;
    text-align: left;
}

.service-card:hover,
.review-card:hover,
.showcase-card:hover,
.blog-card:hover,
.faq-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: var(--border-strong);
}

.service-icon {
    width: 3.35rem;
    height: 3.35rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(170, 90, 51, 0.1);
    color: var(--primary-color);
    margin-bottom: 1.25rem;
    font-size: 1.3rem;
}

.service-card:hover .service-icon {
    color: var(--primary-dark);
    background: rgba(170, 90, 51, 0.14);
    transform: none;
}

.service-card h3,
.blog-card h3 {
    font-size: 1.28rem;
    margin-bottom: 0.75rem;
}

.service-card p {
    font-size: 0.98rem;
}

.audit-security-btn,
.tool-btn,
.blog-link-button {
    border-radius: 999px;
    padding: 0.72rem 1rem;
    border: 1px solid var(--border-strong);
    background: transparent;
    color: var(--primary-dark);
    font-weight: 600;
    font-size: 0.86rem;
    box-shadow: none;
}

.audit-security-btn:hover,
.tool-btn:not(:disabled):hover,
.blog-link-button:hover {
    background: var(--text-dark);
    color: var(--text-light);
    border-color: var(--text-dark);
    transform: translateY(-1px);
    box-shadow: none;
}

.proof-shell,
.showcase-shell,
.faq-shell {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.proof-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.proof-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.7rem 1rem;
    border-radius: 999px;
    border: 1px solid var(--border-light);
    background: rgba(255, 255, 255, 0.65);
    color: var(--text-muted);
}

.proof-badge img {
    width: 15px;
    height: 15px;
}

.proof-stars {
    color: #c49120;
    letter-spacing: 0.12em;
}

.toggle-button {
    padding: 0.78rem 1rem;
    border-radius: 999px;
    border: 1px solid var(--border-light);
    background: rgba(255, 255, 255, 0.7);
    color: var(--text-dark);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.toggle-button:hover {
    background: #fff;
    border-color: var(--border-strong);
}

.toggle-button-ghost {
    background: transparent;
    border-style: dashed;
}

.collapsible-panel {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.45s ease, opacity 0.32s ease;
}

.collapsible-panel.is-open {
    max-height: 4200px;
    opacity: 1;
}

.collapsible-panel-spaced {
    margin-top: 1rem;
}

.collapsible-panel-tools.is-open {
    max-height: 9000px;
}

.showcase-panel-preview {
    position: relative;
    max-height: 365px;
    overflow: hidden;
    transition: max-height 0.45s ease;
}

.showcase-panel-preview::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 72px;
    background: linear-gradient(180deg, rgba(247, 242, 235, 0), rgba(247, 242, 235, 1));
    pointer-events: none;
}

.showcase-panel-preview.is-open {
    max-height: 4200px;
}

.showcase-panel-preview.is-open::after {
    display: none;
}

.proof-grid,
.showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.1rem;
    margin-top: 1.4rem;
}

.review-card {
    padding: 1.25rem;
}

.review-meta {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.7rem;
}

.review-card p {
    margin: 0;
    color: var(--text-muted);
}

.proof-link-wrap {
    margin-top: 1.2rem;
    text-align: center;
}

.subtle-link {
    color: var(--primary-dark);
    text-decoration: none;
    border-bottom: 1px solid rgba(170, 90, 51, 0.25);
}

.showcase-card {
    overflow: hidden;
    text-decoration: none;
    color: inherit;
}

.showcase-thumb {
    position: relative;
    height: 190px;
    background: linear-gradient(180deg, rgba(239, 231, 221, 0.92), rgba(233, 224, 214, 0.86));
}

.showcase-thumb img,
.showcase-fallback {
    width: 100%;
    height: 100%;
}

.showcase-thumb img {
    display: block;
    object-fit: cover;
}

.showcase-fallback {
    display: none;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.showcase-body {
    padding: 1rem 1.05rem 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.showcase-body strong {
    font-size: 1rem;
}

.showcase-body span,
.showcase-note {
    color: var(--text-muted);
    font-size: 0.92rem;
}

.showcase-note {
    text-align: center;
    margin-top: 1rem;
}

/* === Section Livre === */
.book-section {
    padding: 5rem 0;
    background: var(--bg-gray);
}

.book-card {
    display: flex;
    gap: 3rem;
    align-items: center;
    background: var(--surface-strong);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 2.5rem;
    border: 1px solid var(--border-light);
    max-width: 860px;
    margin: 0 auto;
    transition: var(--transition);
}

.book-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-heavy);
}

.book-cover {
    flex-shrink: 0;
    width: 200px;
}

.book-cover a {
    display: block;
}

.book-cover img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 12px 30px rgba(35, 23, 15, 0.22);
    display: block;
    transition: var(--transition);
}

.book-cover a:hover img {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(35, 23, 15, 0.28);
}

.book-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.book-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    border: 1px solid var(--border-strong);
    background: rgba(170, 90, 51, 0.07);
    color: var(--primary-dark);
    font-size: 0.85rem;
    font-weight: 600;
    width: fit-content;
}

.book-title-text {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    line-height: 1.25;
    color: var(--text-dark);
    margin: 0;
}

.book-desc {
    color: var(--text-muted);
    font-size: 0.97rem;
    line-height: 1.65;
    margin: 0;
}

.book-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.book-features li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.93rem;
    color: var(--text-muted);
}

.book-feat-icon {
    font-size: 1rem;
    width: 1.4rem;
    text-align: center;
    flex-shrink: 0;
}

.book-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    background: var(--primary-color);
    color: var(--text-light);
    padding: 0.82rem 1.5rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: var(--transition);
    align-self: flex-start;
    margin-top: 0.5rem;
    border: none;
}

.book-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(170, 90, 51, 0.3);
    color: var(--text-light);
    text-decoration: none;
}

@media (max-width: 640px) {
    .book-card {
        flex-direction: column;
        gap: 1.8rem;
        padding: 1.75rem 1.25rem;
        text-align: center;
    }
    .book-cover {
        width: 160px;
        margin: 0 auto;
    }
    .book-badge,
    .book-cta {
        align-self: center;
    }
    .book-features li {
        justify-content: center;
    }
}

.tools-section .tools-category {
    background: rgba(255, 252, 247, 0.68);
}

.tools-section .tools-category.web-tools,
.tools-section .tools-category.office-tools,
.tools-section .games-tools {
    background: rgba(255, 252, 247, 0.68);
    border: 1px solid var(--border-light);
}

.tools-category h3,
.blog-category,
.blog-read-more,
.contact-item i,
.footer-section h4,
.footer-links a:hover,
.social-links a:hover,
.contact-details i {
    color: var(--primary-color);
}

.server-status {
    background: rgba(255, 255, 255, 0.58);
    border: 1px solid var(--border-light);
}

.tool-card {
    border: 1px solid var(--border-light);
}

.tool-card:hover {
    border-color: var(--border-strong);
    box-shadow: var(--shadow);
}

.tool-btn,
.offline-tool-btn,
.download-app-btn {
    background: var(--text-dark);
    color: var(--text-light);
    border-color: var(--text-dark);
}

.tool-btn:disabled {
    background: #b7aea4;
    border-color: #b7aea4;
}

.blog-section .loading-indicator p,
.loading-testimonials p {
    color: var(--text-muted);
}

.blog-card {
    overflow: hidden;
}

.blog-image {
    background: linear-gradient(180deg, rgba(239, 231, 221, 0.95), rgba(255, 252, 247, 0.85));
    border-bottom: 1px solid var(--border-light);
}

.blog-category {
    background: rgba(170, 90, 51, 0.1);
    border: 1px solid rgba(170, 90, 51, 0.14);
    color: var(--primary-dark);
}

.blog-read-more {
    font-weight: 700;
}

.blog-comments-shell {
    max-width: 1000px;
    margin: 2rem auto 0;
    text-align: center;
}

.testimonials-grid-compact {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
    gap: 1.25rem;
    margin: 0 auto;
}

.loading-testimonials-compact {
    text-align: center;
    grid-column: 1 / -1;
    padding: 1.5rem;
}

.loading-testimonials-compact i {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.about-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
    gap: 2.5rem;
    align-items: center;
    max-width: 1120px;
    margin: 0 auto;
    padding: 2.4rem;
    border-radius: 34px;
    background: linear-gradient(145deg, rgba(255, 253, 248, 0.92), rgba(248, 241, 232, 0.82));
    border: 1px solid var(--border-light);
    box-shadow: 0 22px 60px rgba(32, 23, 18, 0.08);
    min-height: clamp(460px, 62svh, 620px);
    width: 100%;
}

.about-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.4rem;
    min-height: 100%;
}

.about-header {
    max-width: 620px;
    margin: 0;
    text-align: left;
}

.about-header .section-title {
    font-size: clamp(2rem, 3vw, 3rem);
}

.about-header .proof-kicker {
    margin-bottom: 1rem;
}

.about-intro {
    margin-bottom: 0;
    max-width: 38rem;
    text-align: left;
}

.about-portrait {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100%;
}

.about-portrait-card {
    width: min(100%, 340px);
    padding: 1rem;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.58);
    border: 1px solid rgba(170, 90, 51, 0.12);
    box-shadow: 0 18px 34px rgba(56, 39, 29, 0.08);
}

.about-portrait img {
    width: 100%;
    max-width: 308px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 24px;
    display: block;
    margin: 0 auto;
}

.about-copy {
    color: var(--text-muted);
    font-size: 1.04rem;
    max-width: 640px;
}

.about-role {
    font-size: 1.06rem;
    color: var(--text-dark);
}

.about-copy p {
    margin: 0 0 0.9rem;
}

.about-name {
    font-size: 1.5rem;
    color: var(--text-dark);
}

.about-note {
    font-style: italic;
    color: var(--primary-dark);
    margin-bottom: 0;
}

.about-points {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 1.1rem 0 1.2rem;
}

.about-points span {
    display: inline-flex;
    align-items: center;
    min-height: 2.6rem;
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(170, 90, 51, 0.16);
    background: rgba(255, 255, 255, 0.72);
    color: var(--text-dark);
    font-size: 0.92rem;
    font-weight: 600;
}

.contact {
    background: linear-gradient(180deg, #1c1714 0%, #120f0d 100%);
    padding: 5.5rem 0;
}

.contact-shell {
    display: grid;
    grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
    gap: 1.5rem;
    align-items: start;
}

.contact-copy {
    padding: 1rem 0.5rem 0 0;
}

.contact-kicker {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    border: 1px solid rgba(199, 128, 87, 0.22);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(251, 247, 241, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.76rem;
    margin: 0 0 1rem;
}

.contact-title,
.faq-title {
    color: var(--text-light);
}

.contact-intro {
    color: rgba(251, 247, 241, 0.76);
    max-width: 34rem;
    margin: 0 0 1.6rem;
    text-align: left;
}

.contact-info {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 0;
}

.contact-card {
    min-width: 0;
    padding: 1rem 1.1rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    align-items: flex-start;
    gap: 0.85rem;
    text-align: left;
}

.contact-card div {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    align-items: flex-start;
    text-align: left;
    flex: 1;
}

.contact-card strong {
    color: var(--text-light);
    font-size: 0.92rem;
    font-weight: 600;
}

.contact-card span {
    color: rgba(251, 247, 241, 0.76);
    line-height: 1.5;
}

.contact-card i {
    color: var(--primary-light);
    font-size: 1rem;
    width: 18px;
    margin-top: 0.2rem;
}

.contact-form-shell {
    max-width: none;
    margin: 0;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 24px 54px rgba(0, 0, 0, 0.18);
}

.contact-form-title {
    margin: 0 0 0.5rem;
    color: var(--text-light);
    font-size: 1.35rem;
    font-weight: 700;
}

.contact-form-intro {
    margin: 0 0 1.4rem;
    color: rgba(251, 247, 241, 0.66);
}

.contact-note {
    margin: 1.4rem 0 0;
    color: rgba(251, 247, 241, 0.58);
    line-height: 1.65;
    max-width: 30rem;
}

.contact-honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
}

.form-grid {
    display: grid;
    gap: 1rem;
}

.form-grid-dual {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-row {
    margin-bottom: 1.25rem;
    text-align: left;
}

.form-row label {
    display: block;
    margin-bottom: 0.55rem;
    color: var(--text-light);
    font-weight: 600;
}

.field-hint {
    font-size: 0.82em;
    opacity: 0.7;
}

.form-row input,
.form-row select,
.form-row textarea {
    width: 100%;
    padding: 1rem 1rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 252, 247, 0.96);
    font: inherit;
    color: var(--text-dark);
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

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

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
    outline: none;
    border-color: rgba(199, 128, 87, 0.6);
    box-shadow: 0 0 0 4px rgba(199, 128, 87, 0.12);
    transform: translateY(-1px);
}

.message-counter {
    margin-top: 0.35rem;
    text-align: right;
    font-size: 0.82rem;
    color: rgba(251, 247, 241, 0.72);
}

.message-counter.is-warning {
    color: #f2c463;
}

.message-counter.is-limit {
    color: #ff9683;
}

.cta-button-block {
    width: 100%;
}

.faq-section {
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at top left, rgba(170, 90, 51, 0.12), transparent 28%), linear-gradient(180deg, #120e0b 0%, #0d0a08 100%);
}

.faq-shell {
    max-width: 1180px;
    position: relative;
    z-index: 1;
}

.faq-header {
    max-width: 780px;
    margin: 0 auto 2.4rem;
    text-align: center;
}

.faq-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    border: 1px solid rgba(199, 128, 87, 0.24);
    background: rgba(255, 255, 255, 0.06);
    color: rgba(251, 247, 241, 0.72);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.76rem;
    margin: 0 auto 1rem;
}

.faq-intro {
    margin: 0 auto;
    max-width: 44rem;
    color: rgba(251, 247, 241, 0.62);
    font-size: 1rem;
    line-height: 1.65;
}

.faq-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.2rem;
}

.faq-item {
    position: relative;
    min-height: 100%;
    padding: 1.5rem 1.5rem 1.5rem 4.1rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.03) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.12);
}

.faq-index {
    position: absolute;
    top: 1.45rem;
    left: 1.35rem;
    color: rgba(199, 128, 87, 0.72);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
}

.faq-item h3 {
    color: var(--text-light);
    margin-bottom: 0.65rem;
    font-size: 1.12rem;
    line-height: 1.35;
}

.faq-item p {
    margin: 0;
    color: rgba(251, 247, 241, 0.74);
    line-height: 1.72;
}

.faq-item:hover {
    transform: translateY(-2px);
    border-color: rgba(199, 128, 87, 0.18);
    box-shadow: 0 24px 44px rgba(0, 0, 0, 0.16);
}

.footer {
    background: linear-gradient(180deg, #16120f 0%, #0f0c0a 100%);
    text-align: left;
    padding: 4rem 0 1.5rem;
    margin-top: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-content {
    align-items: start;
}

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

.footer-intro p,
.footer-section ul li,
.contact-details p,
.footer-bottom-content p,
.footer-links a {
    color: rgba(251, 247, 241, 0.72);
}

.footer-logo {
    justify-content: flex-start;
}

.footer .contact-details {
    align-items: flex-start;
}

.footer .contact-details p {
    justify-content: flex-start;
    text-align: left;
}

.social-links a {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light);
}

.social-links a:hover {
    background: rgba(170, 90, 51, 0.12);
    transform: translateY(-2px);
}

.footer-divider {
    background: linear-gradient(90deg, transparent, rgba(199, 128, 87, 0.4), transparent);
}

.back-to-top {
    background: var(--text-dark);
    border-radius: 50%;
}

.back-to-top:hover {
    background: var(--primary-dark);
}

.reveal-item {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal-item.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1080px) {
    .hero-shell,
    .about-shell {
        grid-template-columns: 1fr;
    }

    .about-shell {
        min-height: auto;
    }

    .about-header,
    .about-intro,
    .about-copy {
        max-width: none;
    }

    .services-grid,
    .proof-grid,
    .showcase-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .mobile-toggle {
        display: inline-flex;
    }

    .showcase-panel-preview {
        max-height: 930px;
    }

    .nav-menu {
        position: absolute;
        top: calc(100% + 0.75rem);
        right: 1.5rem;
        left: 1.5rem;
        display: none;
        flex-direction: column;
        padding: 1rem;
        border-radius: 24px;
        background: rgba(255, 252, 247, 0.96);
        border: 1px solid var(--border-light);
        box-shadow: var(--shadow);
    }

    .nav-menu.is-open {
        display: flex;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.25rem;
    }

    .hero {
        min-height: auto;
        padding: 1.25rem 0 1.75rem;
        align-items: flex-start;
    }

    .hero-shell {
        min-height: inherit;
        align-content: center;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .hero-eyebrow {
        font-size: 0.72rem;
        margin-bottom: 1.1rem;
    }

    .hero-proof {
        gap: 0.3rem;
        margin-top: 1.2rem;
    }

    .hero-proof__chip {
        font-size: 0.78rem;
        padding: 0.32rem 0.7rem;
    }

    .local-seo-strip--hero {
        margin-top: 1.4rem;
        padding: 0.9rem 1rem;
        border-radius: 18px;
    }

    .local-seo-strip .local-seo-text {
        font-size: 0.98rem;
        line-height: 1.5;
    }

    .hero-shell,
    .services-grid,
    .proof-grid,
    .showcase-grid,
    .footer-content,
    .footer-bottom-content,
    .about-shell {
        grid-template-columns: 1fr;
    }

    .faq-list {
        grid-template-columns: 1fr;
    }

    .proof-header,
    .footer-bottom-content {
        align-items: flex-start;
    }

    .section-title {
        font-size: 2.35rem;
    }

    .contact-info {
        flex-direction: column;
    }

    .contact-shell,
    .form-grid-dual {
        grid-template-columns: 1fr;
    }

    .contact-form-shell,
    .about-shell,
    .service-card {
        padding: 1.5rem;
    }

    .about-section {
        min-height: auto;
        padding: 5.5rem 0;
    }

    .about-container {
        min-height: auto;
    }

    .about-content,
    .about-header {
        text-align: center;
    }

    .about-portrait {
        width: 100%;
        min-height: auto;
        align-self: center;
        align-items: center;
        justify-content: center;
    }

    .about-portrait-card {
        width: min(100%, 280px);
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto;
    }

    .about-intro {
        text-align: center;
    }

    .about-points {
        justify-content: center;
    }

    .contact-copy {
        padding-right: 0;
    }

    .faq-item {
        padding: 1.35rem 1.25rem 1.35rem 3.5rem;
    }

    .about-portrait img {
        width: 100%;
        max-width: 100%;
        height: auto;
        margin: 0 auto;
    }

    .footer-links {
        gap: 0.8rem;
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .hero h1 {
        font-size: 2.6rem;
        max-width: none;
    }

    .hero-eyebrow {
        font-size: 0.7rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero {
        min-height: auto;
        padding: 1rem 0 1.5rem;
    }

    .local-seo-strip--hero {
        margin-top: 1.1rem;
        padding: 0.85rem 0.9rem;
    }

    .local-seo-strip .local-seo-text {
        font-size: 0.94rem;
    }

    .hero-actions {
        flex-direction: column;
    }

    .cta-button,
    .secondary-button,
    .toggle-button,
    .audit-security-btn,
    .tool-btn,
    .blog-link-button {
        width: 100%;
    }
}
}

.legal-intro p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.7;
}

.legal-section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-light);
}

.legal-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.legal-section h2 {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-light);
}

.legal-section .text-content {
    color: var(--text-dark);
    line-height: 1.8;
    font-size: 1rem;
}

/* Affinage des cartes blog sur la page d'accueil */
.blog-card-link {
    display: block;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.blog-card-link:hover,
.blog-card-link:focus {
    text-decoration: none;
    color: inherit;
}

.blog-section .blog-card {
    border-radius: 24px;
    overflow: hidden;
}

.blog-section .blog-image {
    position: relative;
    min-height: 220px;
    height: 220px;
    padding: 0.8rem;
    background:
        radial-gradient(circle at top left, rgba(170, 90, 51, 0.12), transparent 34%),
        linear-gradient(180deg, rgba(249, 243, 235, 0.96), rgba(242, 233, 222, 0.92));
    border-bottom: 1px solid var(--border-light);
}

.blog-section .blog-image-media,
.blog-section .blog-image-fallback {
    width: 100%;
    height: 100%;
    min-height: 0;
    border-radius: 16px;
}

.blog-section .blog-image-media {
    display: block;
    object-fit: contain;
    object-position: center;
    background: rgba(255, 255, 255, 0.5);
    box-shadow: 0 16px 30px rgba(33, 29, 26, 0.12);
}

.blog-section .blog-image-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.65), rgba(255, 255, 255, 0.28));
    border: 1px solid rgba(123, 61, 34, 0.1);
}

.blog-section .blog-image-fallback i {
    font-size: 2.7rem;
    color: var(--blog-category-color, var(--primary-color));
}

.blog-section .blog-content {
    gap: 0.9rem;
}

.blog-section .blog-meta {
    justify-content: flex-start;
    gap: 0.55rem;
    flex-wrap: wrap;
}

.blog-section .blog-date,
.blog-section .blog-category {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
}

.blog-section .blog-card h3 {
    letter-spacing: -0.03em;
}

.blog-section .blog-card p {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 768px) {
    .blog-section .blog-image {
        min-height: 190px;
        height: 190px;
        padding: 0.7rem;
    }

    .blog-section .blog-image-media,
    .blog-section .blog-image-fallback {
        height: 100%;
        min-height: 0;
    }
}

.legal-section .text-content p {
    margin-bottom: 1rem;
}

.legal-section .text-content strong {
    color: var(--primary-dark);
    font-weight: 600;
}

.legal-section .text-content ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.legal-section .text-content li {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

/* Responsive pour les pages légales */
@media (max-width: 768px) {
    .legal-header h1 {
        font-size: 1.8rem;
    }
    
    .legal-content {
        padding: 0 0.5rem;
    }
    
    .legal-sections {
        padding: 1.5rem;
    }
    
    .legal-section h2 {
        font-size: 1.2rem;
    }
}

/* ========================================================================== 
     Atelier programmation (accordéons sobres)
     ========================================================================== */

.tools-section .tools-accordion__header {
    width: 100%;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    color: #111827;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    cursor: pointer;
    font-size: 1.05rem;
    font-weight: 600;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.tools-section .tools-accordion__header:hover {
    background: #f9fafb;
    border-color: #d1d5db;
}

.tools-section .tools-accordion__header:focus-visible {
    outline: 3px solid rgba(17, 24, 39, 0.18);
    outline-offset: 2px;
}

.tools-section .tools-accordion__title {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.tools-section .tools-accordion__title i {
    color: #6b7280;
    font-size: 1.05rem;
}

.tools-section .tools-accordion__chevron {
    color: #6b7280;
    font-size: 0.95rem;
    transition: transform 0.25s ease;
}

.tools-section .tools-accordion__chevron.is-open {
    transform: rotate(180deg);
}

.tools-section .tools-accordion__panel {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    margin-top: 0;
    transition: max-height 0.35s ease, opacity 0.25s ease, margin-top 0.25s ease;
}

.tools-section .tools-accordion__panel.is-open {
    opacity: 1;
    margin-top: 1.25rem;
}

.tools-section .tools-accordion__desc {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    margin: 0;
    color: #6b7280;
    font-style: italic;
    text-align: center;
    transition: max-height 0.35s ease, opacity 0.25s ease, margin 0.25s ease;
}

.tools-section .tools-accordion__desc.is-open {
    opacity: 1;
    margin: 1rem 0 0;
}

/* Neutralise les CTA colorés uniquement dans l'atelier */
.tools-section .tool-btn,
.tools-section .audit-security-btn.tool-btn {
    background: #ffffff !important;
    color: #111827 !important;
    border: 1px solid #d1d5db !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.tools-section .tool-btn:hover,
.tools-section .audit-security-btn.tool-btn:hover {
    background: #f9fafb !important;
    border-color: #9ca3af !important;
}

.tools-section .tool-btn:disabled,
.tools-section button.tool-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

@media (prefers-reduced-motion: reduce) {
    .tools-section .tools-accordion__panel,
    .tools-section .tools-accordion__desc,
    .tools-section .tools-accordion__chevron {
        transition: none;
    }
}

.tools-toggle-wrap {
    display: flex;
    justify-content: center;
}

/* === Bande SEO localités === */
.local-seo-strip {
    padding: 1.2rem 0;
    text-align: center;
    background: rgba(123, 61, 34, 0.04);
    border-bottom: 1px solid rgba(123, 61, 34, 0.08);
}

.local-seo-strip--hero {
    width: min(100%, 920px);
    margin: 2rem auto 0;
    padding: 1rem 1.4rem;
    border: 1px solid rgba(123, 61, 34, 0.12);
    border-radius: 22px;
    background: rgba(255, 248, 242, 0.78);
    backdrop-filter: blur(10px);
}

.local-seo-strip--hero .local-seo-text {
    max-width: none;
}

.local-seo-strip .local-seo-text {
    font-size: 1.05rem;
    color: var(--text);
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}
.local-seo-strip .local-seo-text strong {
    color: var(--primary);
}