/* =============================================
   ALT CONTRÔLE 28 – MAIN STYLESHEET
   ============================================= */

/* ---- CSS VARIABLES ---- */
:root {
    --white: #ffffff;
    --red: #cc3333;
    --red-dark: #a82828;
    --red-light: #e04444;
    --black: #070707;
    --gray-100: #f4f7fb;
    --gray-200: #eeeeee;
    --gray-400: #aaaaaa;
    --gray-600: #666666;
    --gray-800: #333333;

    --font-primary: 'Outfit', sans-serif;
    --font-secondary: 'Inter', sans-serif;

    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --radius: 12px;
    --radius-lg: 20px;
    --shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.08), 0 4px 10px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 20px 60px -15px rgba(204, 51, 51, 0.15), 0 8px 20px rgba(0, 0, 0, 0.06);
}

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

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

body {
    font-family: var(--font-secondary);
    color: var(--black);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

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

/* ---- CONTAINER ---- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---- SECTION PADDING ---- */
.section {
    padding: 100px 0;
    scroll-margin-top: 100px;
}

.section-sm {
    padding: 64px 0;
}

/* ---- TYPOGRAPHY UTILITIES ---- */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 16px;
    transition: var(--transition);
}

.section-label::before {
    content: '';
    display: block;
    width: 28px;
    height: 2px;
    background: var(--red);
    border-radius: 2px;
}

.section-title {
    font-family: var(--font-primary);
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    color: var(--black);
    line-height: 1.2;
    margin-bottom: 20px;
}

.section-title span {
    color: var(--red);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray-600);
    max-width: 620px;
    line-height: 1.8;
}

.title-center {
    text-align: center;
    justify-content: center;
}

.section-label.title-center {
    font-size: 0.95rem;
    width: 100%;
    margin-bottom: 24px;
    letter-spacing: 0.2rem;
}

.section-label.title-center::before,
.section-label.title-center::after {
    content: '';
    display: block;
    width: 28px;
    height: 2px;
    background: var(--red);
    border-radius: 2px;
}

/* Specific style for Presentation (Homepage) - Restoring the bold look */
.presentation-wording .section-label.title-center {
    font-size: 1.25rem;
    margin-bottom: 32px;
    letter-spacing: 0.25em;
}

.presentation-wording .section-label.title-center::before,
.presentation-wording .section-label.title-center::after {
    content: '';
    display: block;
    width: 32px;
    height: 3px;
    background: var(--red);
    border-radius: 2px;
}

.subtitle-center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

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

/* ---- BREADCRUMBS ---- */
.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 0.88rem;
    font-family: var(--font-primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.breadcrumbs a {
    color: var(--gray-600);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
}

.breadcrumbs a:hover {
    color: var(--red);
}

.breadcrumbs i.separator {
    font-size: 0.7rem;
    color: var(--gray-400);
}

.breadcrumbs span {
    color: var(--red);
}

/* ---- SOFT SECTIONING UTILS ---- */
.section-soft-bg {
    background-color: #f8fafc;
    border-top: 1px solid rgba(0, 0, 0, 0.02);
    border-bottom: 1px solid rgba(0, 0, 0, 0.02);
}

.section-white-bg {
    background-color: var(--white);
}

.section-divider-fade {
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(204, 51, 51, 0.1), transparent);
    width: 60%;
    margin: 0 auto;
}

/* ---- BUTTONS ---- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 50px;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--red-light), var(--red));
    color: var(--white);
    box-shadow: 0 6px 20px -4px rgba(204, 51, 51, 0.5);
    background-size: 200% auto;
}

.btn-primary:hover {
    background-position: right center;
    box-shadow: 0 10px 30px -4px rgba(204, 51, 51, 0.6);
    transform: translateY(-2px);
}

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

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

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

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

/* =============================================
   NAVBAR
   ============================================= */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: var(--transition);
}

.navbar {
    /* ... tes propriétés actuelles ... */
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);

    /* Ajout d'une ombre pour le contraste (Point 3) */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(204, 51, 51, 0.1);
    /* Une fine ligne rouge très claire */
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 32px rgba(0, 0, 0, 0.08);
}

.navbar.scrolled .nav-container {
    height: 70px;
}

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

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 110px;
    transition: height var(--transition);
}

.nav-logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 85px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}

.logo-img:hover {
    transform: scale(1.04);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-right: -15px;
}

.nav-link {
    font-family: var(--font-primary);
    font-weight: 500;
    font-size: 1rem;
    color: var(--gray-800);
    padding: 10px 20px;
    border-radius: 8px;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 20px;
    height: 2px;
    background: var(--red);
    border-radius: 2px;
    transition: var(--transition);
}

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

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

.nav-link.nav-cta {
    background: var(--red);
    color: var(--white);
    padding: 10px 24px;
    border-radius: 50px;
    box-shadow: 0 4px 16px rgba(204, 51, 51, 0.35);
}

.nav-link.nav-cta::after {
    display: none;
}

.nav-link.nav-cta:hover {
    background: var(--red-dark);
    box-shadow: 0 6px 24px rgba(204, 51, 51, 0.5);
    transform: translateY(-1px);
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    padding: 10px 10px;
    background: rgba(204, 51, 51, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(204, 51, 51, 0.15);
}

.bar {
    display: block;
    width: 30px;
    height: 3px;
    background: var(--black);
    border-radius: 3px;
    transition: var(--transition);
}

.hamburger.active .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.hamburger.active .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* =============================================
   HERO BANNER
   ============================================= */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 140px;
    overflow: hidden;
    background: var(--white);
}

.hero-slideshow {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    background: var(--white);
}

.hero-slideshow::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.95) 20%, rgba(255, 255, 255, 0.5) 100%);
    z-index: 1;
}

.hero-slideshow .slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    animation: fadeSlide 15s infinite ease-in-out;
}

.hero-slideshow .slide-1 {
    background-image: url('../images/slide1.webp');
    animation-delay: 0s;
}

.hero-slideshow .slide-2 {
    background-image: url('../images/slide2.webp');
    animation-delay: 5s;
}

.hero-slideshow .slide-3 {
    background-image: url('../images/Grue%20mobile.webp');
    background-position: 40% 10%;
    background-size: 112% cover;
    animation-delay: 10s;
}

@keyframes fadeSlide {
    0% {
        opacity: 0;
        transform: scale(1);
    }

    8% {
        opacity: 1;
        transform: scale(1.01);
    }

    25% {
        opacity: 1;
        transform: scale(1.03);
    }

    33.3% {
        opacity: 0;
        transform: scale(1.05);
    }

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

.hero-grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.025) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 1;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.4fr 0.6fr;
    gap: 60px;
    align-items: center;
    width: 100%;
}

.hero-text {
    animation: fadeSlideUp 0.9s ease forwards;
}

.hero-company {
    font-family: var(--font-primary);
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    font-weight: 800;
    color: var(--black);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.hero-company::after {
    content: '';
    flex: 1;
    height: 3px;
    background: var(--red);
    max-width: 60px;
    border-radius: 2px;
}

.hero-title {
    font-family: var(--font-primary);
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    font-weight: 900;
    color: var(--black);
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-title .highlight {
    color: var(--red);
    position: relative;
}

.hero-description {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
    max-width: 880px;
}

.hero-description p {
    font-size: 1.02rem;
    color: var(--gray-600);
    line-height: 1.6;
}

.hero-desc-intro {
    font-size: 1.08rem !important;
    font-weight: 500;
    color: var(--gray-800) !important;
}

.hero-desc-vision {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: rgba(0, 0, 0, 0.03);
    padding: 12px 16px;
    border-radius: 8px;
    border-left: 3px solid var(--red);
    font-size: 0.92rem !important;
}

.hero-desc-vision i {
    color: var(--red);
    margin-top: 4px;
}

.hero-desc-promo {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(204, 51, 51, 0.05);
    border: 1px dashed rgba(204, 51, 51, 0.3);
    padding: 14px 18px;
    border-radius: var(--radius);
}

.promo-icon {
    font-size: 1.5rem;
    color: var(--red);
    flex-shrink: 0;
}

.promo-text {
    font-size: 0.92rem;
    color: var(--gray-800);
    line-height: 1.5;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 52px;
}

.hero-stats {
    display: flex;
    gap: 40px;
}

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

.stat-number {
    font-family: var(--font-primary);
    font-size: 2rem;
    font-weight: 800;
    color: var(--black);
    line-height: 1;
    margin-bottom: 4px;
}

.stat-number span {
    color: var(--red);
}

.stat-label {
    font-size: 0.82rem;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* Hero Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeSlideLeft 0.9s ease 0.2s both;
}

.hero-card-stack {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: flex-end;
    perspective: 1000px;
}

.hero-main-card {
    width: 280px;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 16px;
    padding: 24px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-main-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
}

.hero-card-icon {
    width: 44px;
    height: 44px;
    background: var(--red);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--white);
    margin-bottom: 16px;
    box-shadow: 0 8px 24px rgba(204, 51, 51, 0.3);
}

.hero-card-title {
    font-family: var(--font-primary);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 8px;
}

.hero-card-text {
    font-size: 0.85rem;
    color: var(--gray-600);
    line-height: 1.6;
}

.hero-float-card {
    position: absolute;
    background: rgba(204, 51, 51, 0.9);
    border-radius: 12px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 8px 32px rgba(204, 51, 51, 0.4);
    animation: floatCard 3s ease-in-out infinite;
}

.hero-float-card:nth-child(2) {
    bottom: 60px;
    right: 0;
    animation-delay: 0s;
}

.hero-float-card:nth-child(3) {
    bottom: 0px;
    left: 0;
    animation-delay: 1.5s;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.float-card-icon {
    font-size: 1.2rem;
    color: var(--white);
}

.float-card-text {
    font-family: var(--font-primary);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--white);
    white-space: nowrap;
}

/* Scroll indicator */
.hero-scroll {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 2;
    animation: bounceDown 2s ease-in-out infinite;
}

.hero-scroll span {
    font-size: 0.72rem;
    color: var(--gray-600);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-scroll i {
    color: var(--gray-400);
    font-size: 1rem;
}

/* ---- PRESENTATION WORDING ---- */
.presentation-wording {
    background: var(--white);
    padding-top: 80px;
    padding-bottom: 40px;
}

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

.wording-text {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.wording-text p {
    font-size: 1.05rem;
    color: var(--gray-600);
    line-height: 1.8;
}

.vision-highlight {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: var(--gray-100);
    padding: 16px 24px;
    border-radius: 8px;
    border-left: 4px solid var(--red);
    font-size: 0.95rem;
    color: var(--black);
    text-align: left;
}

.vision-highlight i {
    color: var(--red);
    font-size: 1.2rem;
}

.promo-box {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(204, 51, 51, 0.05);
    border: 1px dashed var(--red);
    padding: 20px 24px;
    border-radius: var(--radius);
    text-align: left;
}

.promo-icon {
    font-size: 1.5rem;
    color: var(--red);
    flex-shrink: 0;
}

.promo-box p {
    font-size: 0.92rem;
    margin: 0;
    line-height: 1.5;
}

@media (max-width: 768px) {

    .vision-highlight,
    .promo-box {
        flex-direction: column;
        text-align: center;
    }
}

/* ---- INFO BLOCKS ---- */
.info-blocks {
    background: var(--white);
    margin-top: -30px;
    position: relative;
    z-index: 5;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.info-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 32px 24px;
    border-radius: 24px 8px 24px 8px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(var(--red) 0.5px, transparent 0.5px);
    background-size: 12px 12px;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.info-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px -12px rgba(204, 51, 51, 0.15);
    border-color: rgba(204, 51, 51, 0.3);
}

.info-card:hover::before {
    opacity: 0.05;
}

.info-card > * {
    position: relative;
    z-index: 1;
}

.info-icon {
    width: 60px;
    height: 60px;
    background: rgba(204, 51, 51, 0.05);
    color: var(--red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: var(--transition);
}

.info-card:hover .info-icon {
    background: var(--red);
    color: var(--white);
}

.info-body h4 {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--black);
    margin-bottom: 8px;
    line-height: 1.4;
}

.info-body p {
    font-size: 0.88rem;
    color: var(--gray-600);
    line-height: 1.6;
}

.promo-card {
    background: rgba(204, 51, 51, 0.03);
    border: 1px dashed var(--red);
}

.promo-card strong {
    color: var(--red);
}

@media (max-width: 1024px) {
    .info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .info-grid {
        grid-template-columns: 1fr;
    }

    .info-blocks {
        margin-top: 0;
    }
}

/* =============================================
   SERVICES PREVIEW (Homepage)
   ============================================= */
.services-preview {
    background-color: #edf1f6;
    background-image: 
        radial-gradient(rgba(204, 51, 51, 0.15) 1.5px, transparent 1.5px),
        linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
    background-size: 24px 24px, 48px 48px, 48px 48px;
    background-position: center center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 56px;
}

.service-card {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 40px 12px 40px 12px;
    padding: 48px 40px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.04), 0 5px 15px -5px rgba(0, 0, 0, 0.02);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
    cursor: default;
    z-index: 1;
}

a.service-card {
    cursor: pointer;
}

.service-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-primary);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--red);
    margin-top: 16px;
    transition: var(--transition);
}

.service-card-link i {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

a.service-card:hover .service-card-link i {
    transform: translateX(4px);
}

.service-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 100% 0%, rgba(204, 51, 51, 0.1), transparent 70%);
    opacity: 0.5;
    z-index: -1;
    transition: transform 0.8s ease, opacity 0.8s ease;
}

a.service-card:hover {
    transform: translateY(-12px) scale(1.01);
    box-shadow: 0 30px 60px -12px rgba(204, 51, 51, 0.25), 0 12px 24px -12px rgba(0, 0, 0, 0.1);
    border-color: rgba(204, 51, 51, 0.4);
    background: rgba(255, 255, 255, 0.9);
}

a.service-card:hover::after {
    transform: scale(1.5);
    opacity: 1;
}

.service-icon {
    width: 58px;
    height: 58px;
    background: rgba(204, 51, 51, 0.08);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--red);
    margin-bottom: 22px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--red);
    color: var(--white);
    box-shadow: 0 8px 20px rgba(204, 51, 51, 0.35);
}

.service-title {
    font-family: var(--font-primary);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 12px;
}

.service-desc {
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.75;
}

/* =============================================
   WHY US (Homepage)
   ============================================= */
.why-us {
    background: var(--white);
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-top: 20px;
}

.why-text .section-label {
    margin-top: 0;
}

.why-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 40px;
}

.why-feature {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.feature-icon {
    width: 44px;
    height: 44px;
    background: rgba(204, 51, 51, 0.08);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--red);
    flex-shrink: 0;
    transition: var(--transition);
}

.why-feature:hover .feature-icon {
    background: var(--red);
    color: var(--white);
}

.feature-body h4 {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 1rem;
    color: var(--black);
    margin-bottom: 4px;
}

.feature-body p {
    font-size: 0.88rem;
    color: var(--gray-600);
    line-height: 1.7;
}

/* Why Visual */
.why-visual {
    position: relative;
}

.why-img-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.why-img-wrapper img {
    width: 100%;
    height: 460px;
    object-fit: cover;
}

.why-badge-float {
    position: absolute;
    bottom: 24px;
    left: 24px;
    background: var(--red);
    color: var(--white);
    border-radius: var(--radius);
    padding: 18px 24px;
    box-shadow: 0 12px 40px rgba(204, 51, 51, 0.4);
    min-width: 160px;
}

.why-badge-float .badge-number {
    font-family: var(--font-primary);
    font-size: 2rem;
    font-weight: 900;
    line-height: 1;
}

.why-badge-float .badge-text {
    font-size: 0.78rem;
    opacity: 0.85;
    margin-top: 4px;
}


/* =============================================
   CTA BAND
   ============================================= */
.cta-band {
    background: var(--red);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.cta-band::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 100% at 80% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 60%),
        radial-gradient(ellipse 40% 80% at 20% 50%, rgba(0, 0, 0, 0.15) 0%, transparent 60%);
}

.cta-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.cta-text h2 {
    font-family: var(--font-primary);
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 10px;
}

.cta-text p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.05rem;
}

/* =============================================
   PAGE HERO (inner pages)
   ============================================= */
.page-hero {
    background: var(--gray-100);
    padding: 140px 0 80px;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 100% at 30% 50%, rgba(204, 51, 51, 0.08) 0%, transparent 60%),
        linear-gradient(135deg, #f8f8f8, #f0f0f0);
}

.page-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.page-hero-content .section-label {
    justify-content: center;
}

.page-hero-content .section-label::before {
    display: none;
}

.page-hero-title {
    font-family: var(--font-primary);
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    font-weight: 900;
    color: var(--black);
    margin-bottom: 16px;
}

.page-hero-subtitle {
    font-size: 1.05rem;
    color: var(--gray-600);
    max-width: 580px;
    margin: 0 auto;
    line-height: 1.8;
}

/* =============================================
   PRESTATIONS PAGE
   ============================================= */
#page-hero-prestations,
#page-hero-about,
#page-hero-contact,
#page-hero-404,
#page-hero-legal,
#page-hero-privacy {
    background-color: #050505;
    background-image: url('../../logo_AltControle.png');
    background-size: 50%;
    background-position: 85% center;
    background-repeat: no-repeat;
    position: relative;
}

#page-hero-prestations::before,
#page-hero-about::before,
#page-hero-contact::before,
#page-hero-404::before,
#page-hero-legal::before,
#page-hero-privacy::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.95) 80%);
    z-index: 0;
}

#page-hero-prestations .page-hero-title,
#page-hero-about .page-hero-title,
#page-hero-contact .page-hero-title,
#page-hero-404 .page-hero-title,
#page-hero-legal .page-hero-title,
#page-hero-privacy .page-hero-title {
    color: var(--white);
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

#page-hero-prestations .page-hero-subtitle,
#page-hero-about .page-hero-subtitle,
#page-hero-contact .page-hero-subtitle,
#page-hero-404 .page-hero-subtitle,
#page-hero-legal .page-hero-subtitle,
#page-hero-privacy .page-hero-subtitle {
    color: rgba(255, 255, 255, 0.85);
}

#page-hero-prestations .section-label,
#page-hero-about .section-label,
#page-hero-contact .section-label,
#page-hero-404 .section-label,
#page-hero-legal .section-label,
#page-hero-privacy .section-label {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

#nos-engagements {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(0, 0, 0, 0.07);
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

#nos-engagements .section-title,
#nos-engagements .section-label {
    color: var(--black);
    text-shadow: none;
}

#prestations-detail {
    background-color: #edf1f6;
    background-image: 
        radial-gradient(rgba(204, 51, 51, 0.15) 1.5px, transparent 1.5px),
        linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
    background-size: 24px 24px, 48px 48px, 48px 48px;
    background-position: center center;
}

.prestations-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-top: 64px;
}

.prestation-card {
    scroll-margin-top: 130px;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 40px 12px 40px 12px;
    padding: 48px 40px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.04), 0 5px 15px -5px rgba(0, 0, 0, 0.02);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.prestation-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 100% 0%, rgba(204, 51, 51, 0.08), transparent 70%);
    opacity: 0.5;
    z-index: -1;
    transition: transform 0.8s ease, opacity 0.8s ease;
}

.prestation-card:hover {
    transform: translateY(-12px) scale(1.01);
    box-shadow: 0 30px 60px -12px rgba(204, 51, 51, 0.25), 0 12px 24px -12px rgba(0, 0, 0, 0.1);
    border-color: rgba(204, 51, 51, 0.4);
    background: rgba(255, 255, 255, 0.9);
}

.prestation-card:hover::after {
    transform: scale(1.5);
    opacity: 1;
}

.prestation-num {
    position: absolute;
    top: 32px;
    right: 40px;
    font-family: var(--font-primary);
    font-size: 4rem;
    font-weight: 900;
    color: rgba(204, 51, 51, 0.05);
    line-height: 1;
    margin: 0;
    transition: all 0.5s ease;
    user-select: none;
    z-index: -1;
}

.prestation-card:hover .prestation-num {
    color: rgba(204, 51, 51, 0.1);
    transform: scale(1.1) translateY(-5px);
}

.prestation-icon {
    width: 60px;
    height: 60px;
    background: rgba(204, 51, 51, 0.1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--red);
    margin-bottom: 22px;
    transition: var(--transition);
}

.prestation-card:hover .prestation-icon {
    background: var(--red);
    color: var(--white);
    box-shadow: 0 8px 24px rgba(204, 51, 51, 0.4);
}

.prestation-title {
    font-family: var(--font-primary);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 12px;
}

.prestation-desc {
    font-size: 0.92rem;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 20px;
}

.prestation-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.prestation-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    color: var(--gray-800);
}

.prestation-list li i {
    color: var(--red);
    font-size: 0.75rem;
    flex-shrink: 0;
}

/* Engagements */
.engagements {
    padding: 80px 0;
}

.engagements-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 56px;
}

.engagement-item {
    text-align: center;
    padding: 32px 20px;
    border-radius: var(--radius);
    border: 1px solid var(--gray-200);
    background: var(--white);
    transition: var(--transition);
}

.engagement-item:hover {
    border-color: rgba(204, 51, 51, 0.4);
    background: rgba(204, 51, 51, 0.05);
}

.engagement-icon {
    font-size: 2rem;
    color: var(--red);
    margin-bottom: 16px;
}

.engagement-name {
    font-family: var(--font-primary);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 8px;
}

.engagement-desc {
    font-size: 0.84rem;
    color: var(--gray-600);
    line-height: 1.7;
}

/* =============================================
   QUI SOMMES-NOUS PAGE
   ============================================= */
.about-intro {
    background-color: #edf1f6;
    background-image: 
        radial-gradient(rgba(204, 51, 51, 0.15) 1.5px, transparent 1.5px),
        linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
    background-size: 24px 24px, 48px 48px, 48px 48px;
    background-position: center center;
    scroll-margin-top: 100px;
}

.about-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-quote {
    position: relative;
    background: var(--gray-100);
    border-radius: var(--radius-lg);
    padding: 40px 36px;
    border-left: 4px solid var(--red);
    margin-bottom: 32px;
}

.about-quote i {
    font-size: 2rem;
    color: var(--red);
    opacity: 0.3;
    margin-bottom: 12px;
    display: block;
}

.about-quote p {
    font-size: 1rem;
    color: var(--gray-800);
    line-height: 1.85;
    font-style: italic;
}

/* Vision cards */
.vision-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 56px;
}

.vision-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 20px 8px 20px 8px;
    padding: 28px 24px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 20px -10px rgba(0, 0, 0, 0.05);
}

.vision-card:hover {
    transform: translateY(-8px) scale(1.03);
    border-color: rgba(204, 51, 51, 0.3);
    box-shadow: 0 15px 40px -12px rgba(204, 51, 51, 0.15);
}

.vision-icon {
    font-size: 1.6rem;
    color: var(--red);
    margin-bottom: 10px;
}

.vision-name {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 1rem;
    color: var(--black);
    margin-bottom: 6px;
}

.vision-desc {
    font-size: 0.83rem;
    color: var(--gray-600);
    line-height: 1.65;
}

/* Team section */
.team {
    background: var(--gray-100);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 56px;
}

.team-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    text-align: center;
}

.team-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.team-avatar {
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, #1a0a0a, #2a1010);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: rgba(204, 51, 51, 0.4);
    position: relative;
    overflow: hidden;
}

.team-avatar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to bottom, transparent, rgba(204, 51, 51, 0.1));
}

.team-info {
    padding: 24px;
}

.team-name {
    font-family: var(--font-primary);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 4px;
}

.team-role {
    font-size: 0.85rem;
    color: var(--red);
    font-weight: 600;
    margin-bottom: 12px;
}

.team-bio {
    font-size: 0.85rem;
    color: var(--gray-600);
    line-height: 1.7;
}

/* =============================================
   CONTACT PAGE
   ============================================= */
.contact-section,
.legal-content,
#error-content {
    background-color: #edf1f6;
    background-image: 
        radial-gradient(rgba(204, 51, 51, 0.15) 1.5px, transparent 1.5px),
        linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
    background-size: 24px 24px, 48px 48px, 48px 48px;
    background-position: center center;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    margin-top: 64px;
}

.contact-info-panel {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-info-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 24px;
    display: flex;
    align-items: flex-start;
    gap: 18px;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.contact-info-card:hover {
    border-color: rgba(204, 51, 51, 0.2);
    box-shadow: var(--shadow);
}

.contact-info-icon {
    width: 48px;
    height: 48px;
    background: rgba(204, 51, 51, 0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--red);
    flex-shrink: 0;
}

.contact-info-body h4 {
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--black);
    margin-bottom: 4px;
}

.contact-info-body p,
.contact-info-body a {
    font-size: 0.88rem;
    color: var(--gray-600);
    transition: var(--transition);
}

.contact-info-body a:hover {
    color: var(--red);
}

/* Map Section */
.map-container {
    margin-top: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-200);
    position: relative;
    height: 450px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
    filter: grayscale(0.6) contrast(1.05);
    transition: filter 0.6s ease;
}

.map-container:hover iframe {
    filter: grayscale(0) contrast(1);
}

.map-badge-outside {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--white);
    padding: 12px 24px;
    border-radius: 50px;
    box-shadow: var(--shadow);
    border: 1px solid var(--gray-200);
    margin-bottom: 20px;
    margin-left: 20px;
    position: relative;
    z-index: 5;
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--black);
    transition: var(--transition);
}

.map-badge-outside:hover {
    transform: translateY(-2px);
    border-color: var(--red);
}

.map-badge-outside i {
    color: var(--red);
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .map-container {
        height: 350px;
    }

    .map-badge-outside {
        width: 100%;
        justify-content: center;
        margin-left: 0;
        margin-bottom: 20px;
        /* Give a bit more space on mobile if it's full width */
    }
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 48px 44px;
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow);
}

.form-title {
    font-family: var(--font-primary);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 8px;
}

.form-subtitle {
    font-size: 0.9rem;
    color: var(--gray-600);
    margin-bottom: 36px;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 22px;
}

.form-group label {
    font-family: var(--font-primary);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-800);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius);
    font-family: var(--font-secondary);
    font-size: 0.93rem;
    color: var(--black);
    background: var(--gray-100);
    transition: var(--transition);
    outline: none;
    resize: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--red);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(204, 51, 51, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #888;
}

.form-group.error input,
.form-group.error select,
.form-group.error textarea {
    border-color: var(--red);
    box-shadow: 0 0 0 3px rgba(204, 51, 51, 0.1);
}

.form-group .field-error {
    color: var(--red);
    font-size: 0.8rem;
    margin-top: 4px;
    display: none;
}

.form-group.error .field-error {
    display: block;
}

.form-submit {
    margin-top: 16px;
}

.rgpd-consent {
    margin-top: -8px;
    margin-bottom: 24px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.85rem;
    color: var(--gray-600);
    line-height: 1.5;
    cursor: pointer;
    font-weight: 400;
}

.checkbox-label input[type="checkbox"] {
    margin-top: 4px;
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: var(--red);
}

.checkbox-label a {
    color: var(--red);
    text-decoration: underline;
    transition: var(--transition);
}

.checkbox-label a:hover {
    color: var(--black);
}

.form-success {
    display: none;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: var(--radius);
    padding: 16px 20px;
    text-align: center;
    color: #166534;
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 16px;
}

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
    background: var(--white);
    color: var(--black);
    border-top: 1px solid var(--gray-200);
}

.footer-main {
    padding: 72px 0 48px;
    border-bottom: 1px solid var(--gray-200);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 48px;
}

.footer-logo {
    height: 120px;
    width: auto;
    object-fit: contain;
    margin-bottom: 20px;
}

.footer-tagline {
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 24px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.social-link {
    width: 38px;
    height: 38px;
    background: rgba(0, 0, 0, 0.04);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    color: var(--gray-600);
    transition: var(--transition);
}

.social-link:hover {
    background: var(--red);
    color: var(--white);
    transform: translateY(-2px);
}

.footer-title {
    font-family: var(--font-primary);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gray-800);
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 0.9rem;
    color: var(--gray-600);
    transition: var(--transition);
}

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

.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.88rem;
    color: var(--gray-600);
}

.footer-contact-list li i {
    color: var(--red);
    margin-top: 3px;
    flex-shrink: 0;
}

.footer-contact-list a {
    color: var(--gray-600);
    transition: var(--transition);
}

.footer-contact-list a:hover {
    color: var(--red);
}



.footer-bottom {
    padding: 24px 0;
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    font-size: 0.82rem;
    color: var(--gray-600);
}

.footer-legal-links {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.82rem;
    color: var(--gray-600);
}

.footer-legal-links .separator {
    color: var(--gray-400);
}

.footer-legal-links a {
    transition: var(--transition);
}

.footer-legal-links a:hover {
    color: var(--red);
}

/* Legal Pages Styling */
.legal-content .legal-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.legal-block {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 20px 8px 20px 8px;
    padding: 32px 36px;
    box-shadow: 0 4px 20px -10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.legal-block:hover {
    box-shadow: 0 10px 30px -10px rgba(204, 51, 51, 0.1);
    border-color: rgba(204, 51, 51, 0.2);
}

.legal-block h3 {
    font-family: var(--font-primary);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.legal-block h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--red);
    border-radius: 2px;
}

.legal-block p {
    font-size: 1rem;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 16px;
}

.legal-block ul {
    list-style: none;
    margin-bottom: 16px;
}

.legal-block ul li {
    font-size: 1rem;
    color: var(--gray-600);
    margin-bottom: 8px;
    display: flex;
    gap: 10px;
}

.legal-block ul li strong {
    color: var(--black);
    min-width: 140px;
}

@media (max-width: 600px) {
    .legal-block ul li {
        flex-direction: column;
        gap: 2px;
        margin-bottom: 12px;
    }
    
    .legal-block ul li strong {
        min-width: auto;
    }
    
    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-legal-links {
        justify-content: center;
    }
}

/* =============================================
   ERROR 404 PAGE
   ============================================= */
.error-404-icon {
    font-size: 8rem;
    color: var(--gray-800);
    margin: 0 auto 40px auto;
    display: block;
    width: fit-content;
    position: relative;
    transition: var(--transition);
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.08));
}

.error-404-icon i {
    animation: rotateCompass 15s linear infinite;
    display: inline-block;
}

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

.error-404-icon:hover i {
    color: var(--red);
    animation-duration: 4s; /* Spin faster on hover! */
}

/* =============================================
   ANIMATIONS
   ============================================= */
@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(32px);
    }

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

@keyframes fadeSlideLeft {
    from {
        opacity: 0;
        transform: translateX(32px);
    }

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

@keyframes floatCard {

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

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

@keyframes bounceDown {

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

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


/* Reveal on scroll */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* =============================================
   SCROLL TO TOP BUTTON
   ============================================= */
.scroll-top-btn {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    background: var(--red);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 24px rgba(204, 51, 51, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
}

.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top-btn:hover {
    background: var(--red-dark);
    box-shadow: 0 8px 32px rgba(204, 51, 51, 0.55);
    transform: translateY(-3px);
}

/* =============================================
   EXTRACTED INLINE STYLES (utilities)
   ============================================= */
.page-hero-title span {
    color: var(--red);
}

.about-intro-desc {
    font-size: 1.05rem;
    color: var(--gray-800);
    line-height: 1.6;
    margin-bottom: 24px;
    font-weight: 500;
}

.about-detail-grid {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.about-detail-card {
    flex: 1;
    padding: 24px;
    border-left: 4px solid var(--red);
    border-radius: 12px 2px 12px 2px;
    min-width: 200px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-left: 4px solid var(--red);
    box-shadow: 0 8px 24px -10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.about-detail-card:hover {
    transform: translateX(5px);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 12px 30px -10px rgba(204, 51, 51, 0.15);
}

.about-detail-card--dark {
    background: rgba(51, 51, 51, 0.05);
    border-left-color: var(--gray-800);
}

.about-detail-card--dark:hover {
    box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.1);
}

.about-detail-card strong {
    color: var(--black);
    display: block;
    margin-bottom: 8px;
}

.about-detail-card strong i {
    margin-right: 6px;
}

.about-detail-card span {
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.4;
    display: block;
}

.section-title-sm {
    font-size: 1.8rem;
}

.vision-grid-centered {
    max-width: 800px;
    margin: 56px auto 0;
}

.section-bg-light {
    background-color: #edf1f6;
    background-image: 
        radial-gradient(rgba(204, 51, 51, 0.15) 1.5px, transparent 1.5px),
        linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
    background-size: 24px 24px, 48px 48px, 48px 48px;
    background-position: center center;
}

.section-bg-white {
    background: var(--white);
}

.services-grid-spaced {
    margin-top: 56px;
}

.form-errors {
    background: rgba(204, 51, 51, 0.08);
    border: 1px solid rgba(204, 51, 51, 0.25);
    border-radius: var(--radius);
    padding: 14px 18px;
    margin-bottom: 24px;
}

.form-errors ul {
    margin: 0;
    padding-left: 18px;
    color: var(--red);
    font-size: 0.88rem;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.text-center-spaced {
    text-align: center;
    margin-top: 48px;
}

.form-success-icon {
    color: #16a34a;
    margin-right: 8px;
}

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

.hero-scroll {
    cursor: pointer;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        display: none;
    }

    .why-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

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

    .about-intro-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

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

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

    .engagements-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .page-hero {
        padding-top: 140px;
    }
}

@media (max-width: 768px) {
    .nav-container {
        height: 110px;
    }

    .logo-img {
        height: 85px;
    }

    .section {
        padding: 72px 0;
    }

    .hamburger {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 24px;
        right: 24px;
        background: rgba(255, 255, 255, 0.96);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        flex-direction: column;
        padding: 32px 24px;
        gap: 12px;
        border-radius: 20px;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
        border: 1px solid rgba(0, 0, 0, 0.05);
        transform: translateY(20px);
        opacity: 0;
        visibility: hidden;
        transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1001;
    }

    .nav-links.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-links li {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .nav-link {
        font-size: 1.15rem;
        font-weight: 600;
        color: var(--gray-800);
        padding: 14px 20px;
        text-align: center;
        width: 100%;
        border-radius: 12px;
        background: transparent;
        display: block;
        transition: var(--transition);
    }

    .nav-link::after {
        display: none;
    }

    .nav-link:hover,
    .nav-link.active {
        background: rgba(204, 51, 51, 0.08);
        color: var(--red);
    }

    .nav-link.nav-cta:hover,
    .nav-link.nav-cta.active {
        background: var(--red-dark);
        color: var(--white);
    }

    .nav-link.nav-cta {
        margin-top: 16px;
        display: inline-flex;
        width: auto;
        padding: 16px 48px;
        border-radius: 50px;
        background: var(--red);
        color: var(--white);
        justify-content: center;
        font-size: 1.25rem;
    }

    .hero {
        padding-top: 140px;
        min-height: auto;
        padding-bottom: 60px;
    }

    .hero-slideshow::after {
        /* Sur mobile, on change le sens du dégradé : du haut vers le bas, 
           pour fondre l'image doucement dans le texte en dessous */
        background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.85) 35%, rgba(255, 255, 255, 1) 60%);
    }

    /* --- Correction Point 2 : Meilleur rendu d'image sur mobile --- */
    .hero-slideshow .slide {
        /* On garde 'cover' pour que l'image soit toujours nette et remplisse l'écran */
        background-size: cover !important;
        /* On centre l'image pour que le sujet principal reste visible */
        background-position: center center !important;
    }

    .hero-slideshow .slide-1 {
        /* Si la grue est à droite sur la photo originale, on décale à droite */
        background-position: 70% center !important;
    }

    .hero-slideshow .slide-3 {
        background-position: top center !important;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-stats {
        gap: 24px;
    }

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

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

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

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

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

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }

    .footer-logo {
        margin-left: auto;
        margin-right: auto;
    }

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

    .footer-links,
    .footer-contact-list {
        align-items: center;
    }

    .footer-contact-list li {
        justify-content: center;
        text-align: center;
    }

    .contact-form-wrapper {
        padding: 32px 24px;
    }

    .cta-inner {
        flex-direction: column;
        text-align: center;
    }

    .why-badge-float {
        left: 16px;
        bottom: 16px;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 20px;
    }

    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
    }
}