/* ============================================================
   EnvolEXPERTS - Site Premium DAF Externalisé
   Auteur: Refonte complète 2026
   Palette: Bleu nuit + Or + Blanc
   ============================================================ */

/* --- CSS Variables --- */
:root {
    --primary: #0f1c35;
    --primary-light: #1a2d52;
    --secondary: #1e3a6e;
    --accent: #c8a55c;
    --accent-light: #dfc07a;
    --accent-dark: #a8873d;
    --text: #2d2d2d;
    --text-light: #6b7280;
    --text-white: #f0f0f0;
    --bg-light: #f7f8fa;
    --bg-white: #ffffff;
    --border: #e5e7eb;
    --shadow: 0 4px 30px rgba(15, 28, 53, 0.08);
    --shadow-lg: 0 10px 50px rgba(15, 28, 53, 0.12);
    --radius: 8px;
    --radius-lg: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    line-height: 1.7;
    background: var(--bg-white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Accessibilité : masquage visuel sans display:none */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Skip-to-content */
.skip-link {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--bg-white);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    z-index: 10000;
    font-weight: 600;
    text-decoration: none;
    transition: top 0.2s;
}
.skip-link:focus {
    top: 1rem;
}

/* Focus visible pour navigation clavier */
:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

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

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

ul, ol {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--primary);
    line-height: 1.3;
    font-weight: 700;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.15rem; }

p {
    margin-bottom: 1rem;
    color: var(--text);
}

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

.section-padding {
    padding: 100px 0;
}

/* --- Decorative Elements --- */
.accent-line {
    width: 60px;
    height: 3px;
    background: var(--accent);
    margin-bottom: 1.5rem;
}

.accent-line-center {
    width: 60px;
    height: 3px;
    background: var(--accent);
    margin: 0 auto 1.5rem;
}

.section-subtitle {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent);
    margin-bottom: 0.75rem;
    display: block;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 14px 32px;
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: var(--accent);
    color: var(--primary);
}

.btn-primary:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(200, 165, 92, 0.35);
}

.btn-outline {
    background: transparent;
    color: var(--bg-white);
    border: 2px solid var(--accent);
}

.btn-outline:hover {
    background: var(--accent);
    color: var(--primary);
    transform: translateY(-2px);
}

.btn-dark {
    background: var(--primary);
    color: var(--bg-white);
}

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

.btn-arrow::after {
    content: '→';
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.btn-arrow:hover::after {
    transform: translateX(4px);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.2rem 0;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(15, 28, 53, 0.97);
    backdrop-filter: blur(20px);
    padding: 0.8rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-logo img {
    height: 50px;
    transition: var(--transition);
    filter: brightness(0) invert(1);
}

.navbar.scrolled .navbar-logo img {
    height: 42px;
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.navbar-menu a {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    position: relative;
    padding: 0.5rem 0;
}

.navbar-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

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

.navbar-menu a:hover {
    color: var(--accent);
}

.navbar-cta {
    background: var(--accent) !important;
    color: var(--primary) !important;
    padding: 10px 24px !important;
    border-radius: var(--radius) !important;
    font-weight: 600 !important;
}

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

.navbar-cta:hover {
    background: var(--accent-light) !important;
    transform: translateY(-1px);
}

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    width: 28px;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: var(--transition);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--primary);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.2;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 28, 53, 0.95) 0%, rgba(30, 58, 110, 0.8) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 750px;
    padding-top: 100px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(200, 165, 92, 0.15);
    border: 1px solid rgba(200, 165, 92, 0.3);
    padding: 8px 20px;
    border-radius: 50px;
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.hero h1 {
    color: var(--bg-white);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.hero h1 .highlight {
    color: var(--accent);
    display: block;
}

.hero-description {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-stats {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 3rem;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stat {
    text-align: left;
}

.hero-stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 0.3rem;
}

.hero-stat-label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

/* Decorative geometric shapes in hero */
.hero-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.05;
    background: var(--accent);
}

.hero-shape-1 {
    width: 400px;
    height: 400px;
    right: -100px;
    top: -100px;
}

.hero-shape-2 {
    width: 250px;
    height: 250px;
    right: 15%;
    bottom: 10%;
}

.hero-shape-3 {
    width: 150px;
    height: 150px;
    left: 30%;
    bottom: -50px;
}

/* ============================================================
   SERVICES / EXPERTISES
   ============================================================ */
.services {
    background: var(--bg-white);
}

.services-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.services-grid > h3 {
    grid-column: 1 / -1;
}

.service-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

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

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

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

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: rgba(200, 165, 92, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: var(--accent);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--accent);
    color: var(--primary);
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.service-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

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

.service-link:hover {
    color: var(--accent);
    gap: 0.75rem;
}

/* ============================================================
   ABOUT / À PROPOS
   ============================================================ */
.about {
    background: var(--bg-light);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
    object-fit: cover;
    max-height: 550px;
}

.about-image-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--accent);
    color: var(--primary);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.about-image-badge .number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    display: block;
}

.about-image-badge .label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-content h2 {
    margin-bottom: 1.5rem;
}

.about-text {
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
}

.about-feature i {
    color: var(--accent);
    font-size: 1.1rem;
    width: 24px;
    text-align: center;
}

.about-video-full {
    margin-top: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================================
   METHODOLOGY
   ============================================================ */
.methodology {
    background: var(--primary);
    color: var(--text-white);
    position: relative;
    overflow: hidden;
}

.methodology h2 {
    color: var(--bg-white);
}

.methodology .section-subtitle {
    color: var(--accent);
}

.methodology-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem;
}

.methodology-header p {
    color: rgba(255, 255, 255, 0.6);
}

.methodology-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
}

.methodology-steps::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    background: rgba(200, 165, 92, 0.3);
}

.methodology-step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(200, 165, 92, 0.15);
    border: 2px solid var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent);
    position: relative;
    z-index: 2;
    background: var(--primary);
}

.methodology-step h4 {
    color: var(--bg-white);
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.methodology-step p {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials {
    background: var(--bg-white);
}

.testimonials-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem;
}

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

.testimonial-card {
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    position: relative;
}

.testimonial-quote {
    font-size: 3rem;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 1rem;
    font-family: Georgia, serif;
}

.testimonial-text {
    color: var(--text);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-info h4,
.testimonial-name {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.2rem;
}

.testimonial-info span {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* ============================================================
   PRESS / MEDIA
   ============================================================ */
.press {
    background: var(--bg-light);
    text-align: center;
}

.press-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.press-logo {
    opacity: 0.6;
    transition: var(--transition);
    max-height: 45px;
}

.press-logo:hover {
    opacity: 1;
}

/* ============================================================
   CLIENTS
   ============================================================ */
.clients {
    background: var(--bg-white);
    text-align: center;
}

.clients-header {
    margin-bottom: 3rem;
}

.clients-logos {
    max-width: 900px;
    margin: 0 auto;
    opacity: 0.7;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(200, 165, 92, 0.05);
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 650px;
    margin: 0 auto;
}

.cta-section h2 {
    color: var(--bg-white);
    margin-bottom: 1.5rem;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.cta-text-left {
    text-align: left !important; /* Force l'alignement à gauche */
    max-width: 750px;            /* Largeur optimale pour la lecture */
    margin: 0 auto 2rem auto;    /* Centre le bloc de texte lui-même, mais pas le texte dedans */
    line-height: 1.8;            /* Aère le texte pour plus de clarté cognitive */
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-hero {
    background: var(--primary);
    padding: 160px 0 80px;
    text-align: center;
}

.contact-hero h1 {
    color: var(--bg-white);
    margin-bottom: 1rem;
}

.contact-hero p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 1.1rem;
}

.contact-section {
    padding: 80px 0 100px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
}

.contact-info h3 {
    margin-bottom: 1rem;
}

.contact-info p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-detail-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 12px;
    background: rgba(200, 165, 92, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.1rem;
}

.contact-detail h4 {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.contact-detail span, .contact-detail a {
    font-size: 0.9rem;
    color: var(--text-light);
}

.contact-detail a:hover {
    color: var(--accent);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text);
    background: var(--bg-white);
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(200, 165, 92, 0.15);
}

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

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

/* ============================================================
   EXPERTISES PAGE
   ============================================================ */
.expertise-hero {
    background: var(--primary);
    padding: 160px 0 80px;
    text-align: center;
}

.expertise-hero h1 {
    color: var(--bg-white);
    margin-bottom: 1rem;
}

.expertise-hero p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.expertise-block {
    padding: 80px 0;
}

.expertise-block:nth-child(even) {
    background: var(--bg-light);
}

.expertise-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.expertise-block:nth-child(even) .expertise-content {
    direction: rtl;
}

.expertise-block:nth-child(even) .expertise-content > * {
    direction: ltr;
}

.expertise-text h2 {
    margin-bottom: 1.5rem;
}

.expertise-text p {
    color: var(--text-light);
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
}

.expertise-list {
    margin-bottom: 2rem;
}

.expertise-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.6rem 0;
    color: var(--text);
    font-size: 0.95rem;
}

.expertise-list li i {
    color: var(--accent);
    margin-top: 3px;
    min-width: 16px;
}

.expertise-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    width: 100%;
    object-fit: cover;
    max-height: 450px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background: var(--primary);
    color: rgba(255, 255, 255, 0.6);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand img {
    height: 45px;
    filter: brightness(0) invert(1);
    margin-bottom: 1rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.footer h4 {
    color: var(--bg-white);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer-links a {
    display: block;
    padding: 0.4rem 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.footer-contact-item i {
    color: var(--accent);
    margin-top: 3px;
    min-width: 16px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    font-size: 0.8rem;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.65);
}

.footer-bottom a:hover {
    color: var(--accent);
}

/* ============================================================
   ANIMATIONS (AOS-like custom)
   ============================================================ */
html.js .fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

html.js .fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

html.js .fade-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

html.js .fade-left.visible {
    opacity: 1;
    transform: translateX(0);
}

html.js .fade-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

html.js .fade-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* stagger delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* Accessibilité : désactivation des animations si l'utilisateur le préfère */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .fade-up,
    .fade-left,
    .fade-right {
        opacity: 1;
        transform: none;
        transition: none;
    }
    * {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}

/* Tagline services */
.services-tagline {
    grid-column: 1 / -1;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary);
    text-align: center;
    padding: 1rem 0 0;
    font-family: var(--font-heading);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .about-grid,
    .expertise-content,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .expertise-block:nth-child(even) .expertise-content {
        direction: ltr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .methodology-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }

    .methodology-steps::before {
        display: none;
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }

    .container {
        padding: 0 1.25rem;
    }

    .navbar-menu {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(15, 28, 53, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        z-index: 999;
    }

    .navbar-menu.active {
        display: flex;
    }

    .navbar-menu a {
        font-size: 1.3rem;
    }

    .menu-toggle {
        display: flex;
        z-index: 1001;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

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

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

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

    .hero-buttons .btn {
        text-align: center;
        justify-content: center;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .methodology-steps {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

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

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .about-image-badge {
        right: 10px;
        bottom: -10px;
    }

    .press-logos {
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.6rem; }

    .hero {
        min-height: auto;
        padding: 120px 0 60px;
    }

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

    .testimonial-card {
        padding: 2rem;
    }
}

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.text-center { text-align: center; }
.text-accent { color: var(--accent); }
.text-white { color: var(--bg-white); }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-2 { margin-top: 1rem; }
.mt-4 { margin-top: 2rem; }

/* Form success/error messages */
.form-message {
    padding: 1rem;
    border-radius: var(--radius);
    margin-top: 1rem;
    font-size: 0.95rem;
    display: none;
}

.form-message.success {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
    display: block;
}

.form-message.error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
    display: block;
}

/* ============================================================
   LANG SWITCHER
   ============================================================ */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 0;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 6px;
    overflow: hidden;
    margin-left: 0.5rem;
    flex-shrink: 0;
}

.lang-btn {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 1px;
    padding: 5px 10px;
    cursor: pointer;
    transition: var(--transition);
    line-height: 1;
}

.lang-btn:hover {
    color: var(--accent);
    background: rgba(200, 165, 92, 0.1);
}

.lang-btn.active {
    background: var(--accent);
    color: var(--primary);
}

.lang-btn + .lang-btn {
    border-left: 1px solid rgba(255, 255, 255, 0.2);
}

@media (max-width: 768px) {
    .lang-switcher {
        margin-left: 0;
        order: -1;
    }
}
