/* ============================================================
   RRR & Associés — Feuille de styles (v2 refactorisée)
   Structure :
   1. Variables
   2. Reset & base
   3. Utilitaires (Tailwind-like)
   4. Composants réutilisables
   5. Header / Navigation
   6. Hero
   7. Sections (About, Services, Projects, Recent, CTA, Contact, Testimonials, Blog)
   8. Footer
   9. Flash messages
   10. Responsive
   ============================================================ */


/* ============================================================
   1. VARIABLES
   ============================================================ */
:root {
    --navy: #0d1b4b;
    --red: #e63946;
    --red-dark: #cf2e3b;
    --red-light: #f87171;
    --gray-bg: #F8F9FA;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --white: #ffffff;
}


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

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

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--navy);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    width: 100%;
}

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

a {
    text-decoration: none;
    color: inherit;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}


/* ============================================================
   3. UTILITAIRES (Tailwind-like)
   ============================================================ */
/* ----- Typographie ----- */
.font-sans {
    font-family: 'Inter', system-ui, sans-serif;
}

.font-display {
    font-family: 'Oswald', 'Inter', sans-serif;
}

.text-navy {
    color: var(--navy);
}

.text-red {
    color: var(--red);
}

.text-white {
    color: #fff;
}

.text-gray-500 {
    color: var(--gray-500);
}

.text-gray-600 {
    color: var(--gray-600);
}

.text-xs {
    font-size: .75rem;
}

.text-sm {
    font-size: .875rem;
}

.text-base {
    font-size: 1rem;
}

.text-lg {
    font-size: 1.125rem;
}

.text-xl {
    font-size: 1.25rem;
}

.text-2xl {
    font-size: 1.5rem;
}

.text-3xl {
    font-size: 1.875rem;
}

.text-4xl {
    font-size: 2.25rem;
}

.text-5xl {
    font-size: 3rem;
}

.text-6xl {
    font-size: 3.75rem;
}

.text-7xl {
    font-size: 4.5rem;
}

.leading-none {
    line-height: 1;
}

.leading-tight {
    line-height: 1.25;
}

.leading-snug {
    line-height: 1.375;
}

.tracking-wide {
    letter-spacing: .025em;
}

.tracking-widest {
    letter-spacing: .1em;
}

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

.uppercase {
    text-transform: uppercase;
}

.italic {
    font-style: italic;
}

.font-bold {
    font-weight: 700;
}

.font-black {
    font-weight: 900;
}

/* ----- Couleurs de fond ----- */
.bg-white {
    background: var(--white);
}

.bg-navy {
    background: var(--navy);
}

.bg-red {
    background: var(--red);
}

.bg-slate-600 {
    background: #475569;
}

.bg-\[\#F8F9FA\] {
    background: var(--gray-bg);
}

.bg-\[\#F87171\] {
    background: var(--red-light);
}

.bg-white\/20 {
    background: rgba(255, 255, 255, .2);
}

.bg-white\/90 {
    background-color: var(--white) !important;
    backdrop-filter: blur(8px);
}

.bg-navy\/70 {
    background: rgba(13, 27, 75, .7);
}

.text-white\/60 {
    color: rgba(255, 255, 255, .6);
}

.text-white\/70 {
    color: rgba(255, 255, 255, .7);
}

.text-white\/80 {
    color: rgba(255, 255, 255, .8);
}

.text-white\/85 {
    color: rgba(255, 255, 255, .85);
}

.text-white\/90 {
    color: rgba(255, 255, 255, .9);
}

/* ----- Layout ----- */
.max-w-2xl {
    max-width: 42rem;
}

.max-w-3xl {
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}

.max-w-4xl {
    max-width: 56rem;
    margin-left: auto;
    margin-right: auto;
}

.max-w-7xl {
    max-width: 80rem;
    margin-left: auto;
    margin-right: auto;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.grid {
    display: grid;
}

.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.flex-1 {
    flex: 1;
}

.items-center {
    align-items: center;
}

.items-end {
    align-items: flex-end;
}

.justify-between {
    justify-content: space-between;
}

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

.justify-end {
    justify-content: flex-end;
}

.self-start {
    align-self: flex-start;
}

.gap-2 {
    gap: .5rem;
}

.gap-3 {
    gap: .75rem;
}

.gap-4 {
    gap: 1rem;
}

.gap-5 {
    gap: 1.25rem;
}

.gap-6 {
    gap: 1.5rem;
}

.gap-7 {
    gap: 1.75rem;
}

.gap-8 {
    gap: 2rem;
}

.gap-10 {
    gap: 2.5rem;
}

.gap-12 {
    gap: 3rem;
}

/* ----- Espacements ----- */
.p-1 {
    padding: .25rem;
}

.p-6 {
    padding: 1.5rem;
}

.p-7 {
    padding: 1.75rem;
}

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.px-5 {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

.px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.py-3 {
    padding-top: .75rem;
    padding-bottom: .75rem;
}

.py-4 {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.py-24 {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.pt-16 {
    padding-top: 4rem;
}

.pb-6 {
    padding-bottom: 1.5rem;
}

.mt-2 {
    margin-top: .5rem;
}

.mt-3 {
    margin-top: .75rem;
}

.mt-4 {
    margin-top: 1rem;
}

.mt-5 {
    margin-top: 1.25rem;
}

.mt-6 {
    margin-top: 1.5rem;
}

.mt-8 {
    margin-top: 2rem;
}

.mt-10 {
    margin-top: 2.5rem;
}

.mt-12 {
    margin-top: 3rem;
}

.mb-1\.5 {
    margin-bottom: .375rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.space-y-2>*+* {
    margin-top: .5rem;
}

.space-y-3>*+* {
    margin-top: .75rem;
}

.space-y-4>*+* {
    margin-top: 1rem;
}

/* ----- Position ----- */
.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

.fixed {
    position: fixed;
}

.inset-0 {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.inset-x-0 {
    left: 0;
    right: 0;
}

.top-0 {
    top: 0;
}

.z-50 {
    z-index: 50;
}

/* ----- Dimensions ----- */
.w-full {
    width: 100%;
}

.h-full {
    height: 100%;
}

.w-auto {
    width: auto;
}

.w-2 {
    width: .5rem;
}

.w-6 {
    width: 1.5rem;
}

.w-7 {
    width: 1.75rem;
}

.w-8 {
    width: 2rem;
}

.w-10 {
    width: 2.5rem;
}

.w-12 {
    width: 3rem;
}

.w-16 {
    width: 4rem;
}

.w-32 {
    width: 8rem;
}

.h-0\.5 {
    height: 2px;
}

.h-2 {
    height: .5rem;
}

.h-7 {
    height: 1.75rem;
}

.h-10 {
    height: 2.5rem;
}

.h-12 {
    height: 3rem;
}

.h-16 {
    height: 4rem;
}

.h-20 {
    height: 5rem;
}

.h-48 {
    height: 12rem;
}

.h-\[480px\] {
    height: 480px;
}

/* ----- Bordures & radius ----- */
.rounded-full {
    border-radius: 9999px;
}

.rounded-lg {
    border-radius: .5rem;
}

.rounded-xl {
    border-radius: .75rem;
}

.rounded-2xl {
    border-radius: 1rem;
}

.rounded-l-lg {
    border-top-left-radius: .5rem;
    border-bottom-left-radius: .5rem;
}

.rounded-r-lg {
    border-top-right-radius: .5rem;
    border-bottom-right-radius: .5rem;
}

.border {
    border: 1px solid var(--gray-200);
}

.border-2 {
    border: 2px solid;
}

.border-navy {
    border-color: var(--navy);
}

.border-gray-200 {
    border-color: var(--gray-200);
}

.border-gray-300 {
    border-color: var(--gray-300);
}

.border-t-4 {
    border-top: 4px solid;
}

.border-white\/15 {
    border-color: rgba(255, 255, 255, .15);
}

/* ----- Ombres ----- */
.shadow-md {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, .1);
}

.shadow-lg {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, .1);
}

.shadow-xl {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, .1);
}

/* ----- Effets ----- */
.transition {
    transition: all .3s ease;
}

.transition-all {
    transition: all .3s ease;
}

.duration-300 {
    transition-duration: .3s;
}

.opacity-0 {
    opacity: 0;
}

.opacity-50 {
    opacity: .5;
}

.opacity-70 {
    opacity: .7;
}

.opacity-80 {
    opacity: .8;
}

.opacity-100 {
    opacity: 1;
}

.drop-shadow {
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .3));
}

.scale-110 {
    transform: scale(1.1);
}

.backdrop-blur {
    backdrop-filter: blur(8px);
}

.pointer-events-none {
    pointer-events: none;
}

.overflow-hidden {
    overflow: hidden;
}

.hidden {
    display: none;
}

.hover\:text-red:hover {
    color: var(--red);
}

.hover\:scale-105:hover {
    transform: scale(1.05);
}

.hover\:-translate-y-1:hover {
    transform: translateY(-0.25rem);
}

.hover\:-translate-y-2:hover {
    transform: translateY(-0.5rem);
}


/* ============================================================
   4. COMPOSANTS RÉUTILISABLES
   ============================================================ */
.section-label {
    color: var(--red);
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    letter-spacing: .1em;
    font-size: .875rem;
    text-transform: uppercase;
}

.section-title {
    font-family: 'Oswald', sans-serif;
    font-weight: 900;
    font-size: clamp(1.875rem, 4vw, 2.25rem);
    margin-top: .5rem;
    text-transform: uppercase;
}

.btn-primary {
    background: var(--red);
    color: #fff;
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    letter-spacing: .025em;
    padding: .875rem 1.75rem;
    border-radius: 9999px;
    display: inline-block;
    box-shadow: 0 4px 14px rgba(230, 57, 70, .3);
    transition: all .3s ease;
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(230, 57, 70, .5);
}

.btn-primary .arrow {
    display: inline-block;
    transition: transform .3s;
}

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

.btn-outline {
    background: var(--navy);
    color: #fff;
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    padding: .75rem 1.75rem;
    border-radius: 9999px;
    font-size: .875rem;
    transition: background .3s;
}

.btn-outline:hover {
    background: var(--red);
}

/* Bouton header (compact) */
.btn-header {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding: 0 22px;
    background: var(--red);
    color: var(--white);
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: 0.8125rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-radius: 9999px;
    white-space: nowrap;
    box-shadow: 0 3px 10px rgba(230, 57, 70, 0.25);
    transition: all 0.25s ease;
    text-decoration: none;
}

.btn-header:hover {
    background: var(--red-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(230, 57, 70, 0.4);
}

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

/* Bouton COMMENCER (formulaire contact) */
.btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    height: 46px;
    padding: 0 28px;
    background: var(--navy);
    color: var(--white);
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: 0.8125rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: 9999px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(13, 27, 75, 0.15);
}

.btn-submit:hover {
    background: var(--red);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(230, 57, 70, 0.35);
}

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

.btn-submit .arrow {
    display: inline-block;
    transition: transform 0.3s ease;
}

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

/* Sélecteur de langue FR / EN */
.lang-switcher {
    display: inline-flex;
    align-items: center;
    background: var(--white);
    border: 2px solid var(--navy);
    border-radius: 9999px;
    padding: 3px;
    gap: 2px;
    box-shadow: 0 2px 6px rgba(13, 27, 75, 0.08);
    height: 40px;
}

.lang-btn {
    height: 100%;
    min-width: 44px;
    padding: 0 14px;
    font-size: 0.8125rem;
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    letter-spacing: 0.5px;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--navy);
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    line-height: 1;
    text-decoration: none;
}

.lang-btn.active {
    background: var(--navy);
    color: var(--white);
    box-shadow: 0 2px 6px rgba(13, 27, 75, 0.25);
}

.lang-btn:not(.active):hover {
    background: rgba(13, 27, 75, 0.06);
}

/* Navigation */
.nav-link {
    position: relative;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    color: var(--navy);
    transition: color 0.3s ease;
    padding: 6px 0;
}

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

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

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

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

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

/* Menu mobile */
.mobile-menu-link {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    color: var(--navy);
    transition: color 0.25s ease;
    padding: 0.5rem 0;
}

.mobile-menu-link:hover {
    color: var(--red);
}

.mobile-menu-link-mobile-cta {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    background: var(--red);
    color: var(--white);
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    letter-spacing: 0.05em;
    padding: 0.75rem 1.25rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    text-transform: uppercase;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.mobile-menu-link-mobile-cta:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 16px rgba(230, 57, 70, 0.35);
}

/* Accordéons / FAQ */
.accordion,
.faq-item {
    border: 1px solid var(--gray-200);
    border-radius: .75rem;
    overflow: hidden;
    background: var(--white);
}

.accordion-header,
.faq-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: .75rem;
    padding: 1rem 1.25rem;
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: .875rem;
    text-transform: uppercase;
    text-align: left;
    transition: all .3s;
    background: transparent;
    color: var(--navy);
}

.accordion-header.active,
.faq-header.active {
    background: var(--red);
    color: var(--white);
}

.accordion-body,
.faq-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
}

.accordion-body.open,
.faq-body.open {
    max-height: 500px;
}

/* Formulaire */
.form-input {
    width: 100%;
    border: 1px solid var(--gray-300);
    background: var(--white);
    border-radius: .5rem;
    padding: .75rem 1rem;
    font-size: .875rem;
    font-family: inherit;
    transition: border-color .3s;
}

.form-input:focus {
    outline: none;
    border-color: var(--red);
}

/* Toggle FAQ */
.faq-hidden {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.5s ease, opacity 0.4s ease;
}

.faq-hidden.open {
    max-height: 3000px;
    opacity: 1;
}

.faq-hidden>.faq-item {
    margin-top: 0.75rem;
}

.faq-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    color: var(--red);
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: color 0.3s ease, transform 0.3s ease;
}

.faq-toggle:hover {
    color: var(--red-dark);
    transform: translateX(4px);
}

.faq-toggle .arrow {
    display: inline-block;
    transition: transform 0.3s ease;
}

.faq-toggle.open .arrow {
    transform: rotate(90deg);
}

/* Pattern dot-grid */
.dot-grid {
    background-image: radial-gradient(rgba(255, 255, 255, .15) 1px, transparent 1px);
    background-size: 20px 20px;
}


/* ============================================================
   5. HEADER / NAVIGATION
   ============================================================ */
header {
    background-color: var(--white) !important;
    width: 100%;
    left: 0;
    right: 0;
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

header>div {
    width: 100%;
}

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


/* ============================================================
   6. HERO
   ============================================================ */
.hero-section {
    position: relative;
    padding: 10rem 0 8rem;
    color: var(--white);
    overflow: hidden;
    background-color: var(--navy);
    background-image: linear-gradient(135deg, rgba(13, 27, 75, 0.92) 0%, rgba(13, 27, 75, 0.75) 100%),
        url('https://images.unsplash.com/photo-1573164713714-d95e436ab8d6?w=1800&q=80&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* Formes décoratives */
.hero-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.35;
    pointer-events: none;
    z-index: 1;
}

.hero-shape-1 {
    width: 400px;
    height: 400px;
    background: var(--red);
    top: -100px;
    right: -100px;
    animation: floatShape 8s ease-in-out infinite;
}

.hero-shape-2 {
    width: 300px;
    height: 300px;
    background: #3b82f6;
    bottom: -80px;
    left: -80px;
    animation: floatShape 10s ease-in-out infinite reverse;
}

.hero-shape-3 {
    width: 200px;
    height: 200px;
    background: var(--red-light);
    top: 40%;
    right: 20%;
    opacity: 0.15;
    animation: floatShape 12s ease-in-out infinite;
}

/* Container hero */
.hero-container {
    position: relative;
    z-index: 2;
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.hero-grid {
    display: grid;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1.2fr 1fr;
        gap: 4rem;
    }
}

/* Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.6s ease 0.1s both;
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.25);
    animation: pulseDot 2s infinite;
}

/* Titre hero */
.hero-title {
    font-family: 'Oswald', sans-serif;
    font-weight: 900;
    font-size: clamp(2rem, 5vw, 3.75rem);
    line-height: 1.05;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.7s ease 0.2s both;
}

.hero-highlight {
    position: relative;
    display: inline-block;
    color: var(--red);
}

.hero-highlight::after {
    content: "";
    position: absolute;
    bottom: 4px;
    left: 0;
    right: 0;
    height: 6px;
    border-radius: 3px;
    z-index: -1;
}

.hero-text {
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    max-width: 560px;
    margin-bottom: 2rem;
    animation: fadeInUp 0.7s ease 0.3s both;
}

@media (min-width: 640px) {
    .hero-text {
        font-size: 1.125rem;
    }
}

/* Actions */
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2.5rem;
    animation: fadeInUp 0.7s ease 0.4s both;
}

.hero-btn {
    margin: 0;
}

.hero-btn-secondary {
    display: inline-flex;
    align-items: center;
    padding: 0.875rem 1.75rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: var(--white);
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: 0.8125rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 9999px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.hero-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

/* Stats */
.hero-stats {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    animation: fadeInUp 0.7s ease 0.5s both;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.hero-stat-number {
    font-family: 'Oswald', sans-serif;
    font-weight: 900;
    font-size: 1.75rem;
    color: var(--white);
    line-height: 1;
}

.hero-stat-label {
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 600;
}

.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
}

/* Visuel droit */
.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeInUp 0.8s ease 0.4s both;
}

/* Indicateur scroll */
.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.7);
    z-index: 2;
    transition: color 0.3s ease;
}

.hero-scroll:hover {
    color: var(--white);
}

.hero-scroll-mouse {
    width: 24px;
    height: 40px;
    border: 2px solid currentColor;
    border-radius: 14px;
    position: relative;
    display: flex;
    justify-content: center;
    padding-top: 6px;
}

.hero-scroll-wheel {
    width: 3px;
    height: 8px;
    background: currentColor;
    border-radius: 2px;
    animation: scrollWheel 1.8s ease-in-out infinite;
}

.hero-scroll-text {
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 600;
}

/* Compteur de visiteurs */
.visitor-card {
    position: relative;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    text-align: center;
    max-width: 380px;
    width: 100%;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.5);
    animation: floatCard 5s ease-in-out infinite;
}

.visitor-card::before {
    content: "";
    position: absolute;
    top: -30px;
    right: -30px;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(230, 57, 70, 0.4), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.visitor-card::after {
    content: "";
    position: absolute;
    bottom: -40px;
    left: -40px;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.3), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.visitor-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--red) 0%, #b91c1c 100%);
    color: var(--white);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    box-shadow: 0 10px 25px rgba(230, 57, 70, 0.35);
    position: relative;
    z-index: 1;
}

.visitor-icon svg {
    width: 30px;
    height: 30px;
}

.visitor-label {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.75rem;
    position: relative;
    z-index: 1;
}

.visitor-number {
    font-family: 'Oswald', sans-serif;
    font-weight: 900;
    font-size: clamp(3rem, 6vw, 4.5rem);
    line-height: 1;
    color: var(--white);
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
    position: relative;
    z-index: 1;
    background: linear-gradient(135deg, #ffffff 0%, #e63946 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: pulseNumber 3s ease-in-out infinite;
}

.visitor-sub {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}


/* ============================================================
   7. SECTIONS
   ============================================================ */
/* ----- About ----- */
/* (utilise .accordion, .section-label, .section-title déjà définis) */

/* ----- Services ----- */
.service-card {
    background: var(--white);
    border-radius: 1rem;
    padding: 1.75rem;
    border-top: 4px solid var(--navy);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, .1);
    transition: all .3s ease;
}

.service-card:hover {
    border-top-color: var(--red);
    transform: translateY(-0.25rem);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, .25);
}

.service-link {
    display: inline-block;
    margin-top: 1.25rem;
    color: var(--red);
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: .875rem;
    letter-spacing: .025em;
}

.service-link .arrow {
    display: inline-block;
    transition: transform .3s;
}

.service-link:hover .arrow {
    transform: translateX(4px);
}

/* ----- Projects ----- */
.projects-section {
    padding: 6rem 0;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.projects-header {
    text-align: center;
    max-width: 48rem;
    margin: 0 auto 4rem;
}

.projects-intro {
    margin-top: 1rem;
    color: var(--gray-600);
    font-size: 1rem;
    line-height: 1.7;
}

.projects-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .projects-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.project-card {
    position: relative;
    min-height: 420px;
    border-radius: 1.25rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    color: var(--white);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.15);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease;
    cursor: pointer;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px -15px rgba(13, 27, 75, 0.4);
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(13, 27, 75, 0.35) 0%,
            rgba(13, 27, 75, 0.75) 50%,
            rgba(13, 27, 75, 0.95) 100%);
    transition: background 0.4s ease;
    z-index: 1;
}

.project-card:hover .project-overlay {
    background: linear-gradient(to bottom,
            rgba(13, 27, 75, 0.25) 0%,
            rgba(230, 57, 70, 0.7) 60%,
            rgba(13, 27, 75, 0.95) 100%);
}

.project-content {
    position: relative;
    z-index: 2;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
}

.project-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.75rem;
}

.project-logo {
    background: var(--white);
    border-radius: 10px;
    padding: 0.4rem 0.6rem;
    width: 85px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.project-card:hover .project-logo {
    transform: scale(1.05);
}

.project-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.project-tag {
    background: rgba(230, 57, 70, 0.9);
    backdrop-filter: blur(10px);
    color: var(--white);
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.3rem 0.7rem;
    border-radius: 9999px;
    white-space: nowrap;
}

.project-body {
    margin-top: 1.25rem;
    flex: 1;
}

.project-title {
    font-family: 'Oswald', sans-serif;
    font-weight: 900;
    font-size: 1.5rem;
    text-transform: uppercase;
    line-height: 1.1;
    letter-spacing: -0.01em;
    margin-bottom: 0.25rem;
    color: var(--white);
}

.project-subtitle {
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.5rem;
}

.project-tagline {
    font-size: 0.8125rem;
    font-style: italic;
    font-weight: 600;
    color: var(--red-light);
    margin-bottom: 0.75rem;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.project-desc {
    font-size: 0.8125rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.85);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--white);
    text-decoration: none;
    align-self: flex-start;
    padding-bottom: 0.25rem;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.project-link svg {
    transition: transform 0.3s ease;
}

.project-link:hover {
    border-bottom-color: var(--red);
    gap: 0.75rem;
}

.project-link:hover svg {
    transform: translateX(4px);
}

/* ----- Recent Projects ----- */
.recent-section {
    padding: 6rem 0;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.recent-header {
    display: grid;
    gap: 1.5rem;
    align-items: end;
    margin-bottom: 3.5rem;
}

@media (min-width: 1024px) {
    .recent-header {
        grid-template-columns: 1.3fr 1fr;
        gap: 3rem;
    }
}

.recent-intro {
    color: var(--gray-600);
    font-size: 0.95rem;
    line-height: 1.7;
    max-width: 480px;
}

.recent-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

@media (min-width: 640px) {
    .recent-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .recent-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.recent-card {
    position: relative;
    padding: 2rem 1.5rem 1.75rem;
    min-height: 340px;
    border-radius: 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: var(--white);
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease;
}

.recent-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(13, 27, 75, 0.35);
}

.recent-card-1 {
    background: linear-gradient(135deg, #f87171 0%, #dc2626 100%);
}

.recent-card-2 {
    background: linear-gradient(135deg, #e63946 0%, #b91c1c 100%);
}

.recent-card-3 {
    background: linear-gradient(135deg, #64748b 0%, #334155 100%);
}

.recent-card-4 {
    background: linear-gradient(135deg, #1e3a8a 0%, #0d1b4b 100%);
}

.recent-card::before {
    content: "";
    position: absolute;
    top: -50px;
    right: -50px;
    width: 160px;
    height: 160px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    transition: transform 0.5s ease;
}

.recent-card:hover::before {
    transform: scale(1.3);
}

.recent-card::after {
    content: "";
    position: absolute;
    bottom: -30px;
    left: -30px;
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    transition: transform 0.5s ease;
}

.recent-card:hover::after {
    transform: scale(1.2);
}

.recent-number {
    position: absolute;
    top: 1.25rem;
    right: 1.5rem;
    font-family: 'Oswald', sans-serif;
    font-weight: 900;
    font-size: 3rem;
    line-height: 1;
    color: rgba(255, 255, 255, 0.15);
    transition: color 0.4s ease, transform 0.4s ease;
    z-index: 1;
}

.recent-card:hover .recent-number {
    color: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.recent-icon {
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
    transition: all 0.4s ease;
}

.recent-icon svg {
    width: 26px;
    height: 26px;
}

.recent-card:hover .recent-icon {
    background: var(--white);
    color: var(--navy);
    transform: scale(1.08) rotate(-5deg);
}

.recent-title {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: 1.125rem;
    text-transform: uppercase;
    line-height: 1.3;
    letter-spacing: 0.02em;
    position: relative;
    z-index: 1;
    margin-bottom: 0.75rem;
}

.recent-text {
    font-size: 0.8125rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    position: relative;
    z-index: 1;
    flex: 1;
}

.recent-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.25rem;
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--white);
    position: relative;
    z-index: 1;
    transition: gap 0.3s ease;
}

.recent-link svg {
    transition: transform 0.3s ease;
}

.recent-card:hover .recent-link {
    gap: 0.75rem;
}

.recent-card:hover .recent-link svg {
    transform: translateX(4px);
}

/* ----- CTA ----- */
.cta-title {
    font-size: clamp(2rem, 5vw, 2.75rem);
    line-height: 1.05;
}

/* ----- Blog ----- */
.blog-card {
    background: var(--white);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, .1);
    transition: all .3s ease;
}

.blog-card:hover {
    transform: translateY(-0.25rem);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, .25);
}

.blog-card-header {
    position: relative;
    height: 12rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.blog-logo {
    width: 8rem;
    opacity: 0.85;
    position: relative;
    z-index: 2;
}

.blog-tag {
    position: absolute;
    bottom: .75rem;
    left: .75rem;
    background: var(--red);
    color: var(--white);
    font-size: .75rem;
    font-weight: 700;
    padding: .25rem .75rem;
    border-radius: 9999px;
    text-transform: uppercase;
    z-index: 3;
}

.blog-card-header .dot-grid {
    z-index: 1;
}

.blog-link {
    display: inline-block;
    margin-top: 1rem;
    color: var(--red);
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: .875rem;
}

/* ----- Testimonials ----- */
.testimonial-avatar {
    width: 4rem;
    height: 4rem;
    border-radius: 9999px;
    background: linear-gradient(135deg, var(--navy), rgba(13, 27, 75, .7));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .3s;
    opacity: .7;
}

.testimonial-avatar.active {
    opacity: 1;
    transform: scale(1.1);
    box-shadow: 0 0 0 4px var(--red);
}

.testimonial-content {
    display: none;
    opacity: 0;
    transition: opacity .5s;
}

.testimonial-content.active {
    display: block;
    opacity: 1;
}

.testimonial-dot {
    width: .5rem;
    height: .5rem;
    border-radius: 9999px;
    background: var(--gray-300);
    transition: all .3s;
}

.testimonial-dot.active {
    width: 2rem;
    background: var(--red);
}


/* ============================================================
   8. FOOTER
   ============================================================ */
.footer {
    background: var(--navy);
    color: var(--white);
    padding-top: 4rem;
    padding-bottom: 1.5rem;
}

.footer-container {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

@media (min-width: 640px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-container {
        grid-template-columns: 1.4fr 1fr 1.3fr 1.3fr;
        gap: 3rem;
    }
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-brand {
    max-width: 320px;
}

.footer-logo {
    display: block;
    height: 48px !important;
    width: auto !important;
    max-width: 220px;
    margin-bottom: 1rem;
    object-fit: contain;
}

.footer-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    line-height: 1.6;
    margin-top: 0.5rem;
}

.footer-title {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: 1.125rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--white);
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 2rem;
    height: 2px;
    background: var(--red);
}

.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    position: relative;
    padding-left: 1rem;
}

.footer-link::before {
    content: "›";
    position: absolute;
    left: 0;
    color: var(--red);
    font-weight: 700;
    font-size: 1rem;
    transition: transform 0.25s ease;
}

.footer-link:hover {
    color: var(--red);
    padding-left: 1.25rem;
}

.footer-link:hover::before {
    transform: translateX(3px);
}

.footer-socials {
    display: flex;
    gap: 0.5rem;
    margin-top: 1.25rem;
}

.social-icon {
    width: 2.5rem;
    height: 2.5rem;
    background: var(--red);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 0.8125rem;
    text-transform: lowercase;
    transition: all 0.25s ease;
    text-decoration: none;
}

.social-icon:hover {
    background: var(--red-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(230, 57, 70, 0.4);
}

.footer-newsletter {
    display: flex;
    margin-top: 1rem;
    border-radius: 0.5rem;
    overflow: hidden;
    background: var(--white);
    height: 46px;
}

.footer-input {
    flex: 1;
    padding: 0 1rem;
    border: none;
    background: var(--white);
    color: var(--navy);
    font-size: 0.875rem;
    font-family: inherit;
    outline: none;
}

.footer-input::placeholder {
    color: #9ca3af;
}

.footer-btn {
    width: 52px;
    height: 100%;
    background: var(--red);
    color: var(--white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    font-weight: 700;
    transition: background 0.25s ease;
}

.footer-btn:hover {
    background: var(--red-dark);
}

.footer-btn .arrow {
    display: inline-block;
    transition: transform 0.3s ease;
}

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

.footer-bottom {
    max-width: 80rem;
    margin: 3rem auto 0;
    padding: 1.5rem 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    margin: 0;
}


/* ============================================================
   9. FLASH MESSAGES
   ============================================================ */
.flash-message {
    padding: 0.875rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    border-left: 4px solid;
    animation: slideIn 0.3s ease;
}

.flash-success {
    background: #ecfdf5;
    color: #065f46;
    border-color: #10b981;
}

.flash-error {
    background: #fef2f2;
    color: #991b1b;
    border-color: #ef4444;
}


/* ============================================================
   10. ANIMATIONS
   ============================================================ */
@keyframes floatShape {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(30px, -30px) scale(1.1);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

@keyframes pulseDot {

    0%,
    100% {
        box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.25);
    }

    50% {
        box-shadow: 0 0 0 8px rgba(34, 197, 94, 0.1);
    }
}

@keyframes floatCard {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

@keyframes pulseNumber {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.03);
    }
}

@keyframes scrollWheel {
    0% {
        transform: translateY(0);
        opacity: 1;
    }

    50% {
        transform: translateY(8px);
        opacity: 0.3;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

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


/* ============================================================
   11. RESPONSIVE
   ============================================================ */
@media (min-width: 640px) {
    .sm\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sm\:px-6 {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .sm\:h-12 {
        height: 3rem;
    }

    .sm\:text-4xl {
        font-size: 2.25rem;
    }

    .sm\:text-5xl {
        font-size: 3rem;
    }

    .sm\:text-lg {
        font-size: 1.125rem;
    }
}

@media (min-width: 768px) {
    .md\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .md\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .lg\:flex {
        display: flex;
    }

    .lg\:hidden {
        display: none;
    }

    .lg\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .lg\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .lg\:grid-cols-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .lg\:text-6xl {
        font-size: 3.75rem;
    }
}

@media (max-width: 640px) {
    .hero-section {
        padding: 8rem 0 6rem;
        background-attachment: scroll;
    }

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

    .hero-stat-divider {
        display: none;
    }

    .hero-scroll {
        display: none;
    }
}