/* ==========================================================================
   STYLE SHEET : RAYAN3D DESIGN SYSTEM (VERSION CLAIRE & PREMIUM)
   Ce fichier contient la charte graphique complète, les typographies
   et tous les styles partagés pour l'accueil et les pages de services.
   Chaque section ou composant est clairement identifié pour faciliter vos retours.
   ========================================================================== */

/* --- 1. IMPORT DES POLICES DE CARACTÈRE --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap');

/* --- Lenis Smooth Scroll Core Styles --- */
html.lenis {
    height: auto;
}

.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis-stopped {
    overflow: hidden;
}

.lenis-scrolling iframe {
    pointer-events: none;
}

/* --- 2. VARIABLES DE LA CHARTE GRAPHIQUE HIGGSFIELD (LUMINEUSE) --- */
:root {
    /* Palette de couleurs */
    --bg-alabaster: #FAF9F5;      /* Fond blanc cassé chaud chaleureux (ambiance galerie) */
    --bg-white: #FFFFFF;          /* Fond blanc pur pour les cartes et les contenants */
    --text-charcoal: #1E1E20;     /* Anthracite chic et profond pour les grands titres */
    --text-muted: #5C5C60;        /* Gris argenté élégant pour les descriptions et paragraphes */
    --bronze-mat: #B89A6C;        /* Bronze doré mat pour les boutons, accents et surbrillances */
    --bronze-light: #D0B99B;      /* Champagne clair pour les transitions douces */
    --bronze-fade: rgba(184, 154, 108, 0.04); /* Voile doré léger d'arrière-plan */
    --border-fine: rgba(184, 154, 108, 0.15); /* Bordure d'or ultra-fine haut de gamme */
    --border-grey: #E5E5EB;       /* Bordure grise neutre standard */
    --emerald-main: #10B981;      /* Vert émeraude pour les indicateurs de réassurance/succès */
    --emerald-fade: rgba(16, 185, 129, 0.08);

    /* Ombres et Effets */
    --shadow-soft: 0 4px 20px -2px rgba(184, 154, 108, 0.05);
    --shadow-premium: 0 15px 35px -5px rgba(184, 154, 108, 0.09);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- 3. RÉINITIALISATION ET STYLES GLOBAUX --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    background-color: var(--bg-alabaster);
    color: var(--text-muted);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    font-feature-settings: "cv01" on, "ss03" on;
}

/* Titres */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-charcoal);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    line-height: 1.25;
}

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

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

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

/* --- 4. COMPOSANTS RÉUTILISABLES & UTILITIES --- */

/* Conteneurs standards */
.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Boutons */
.btn-primary {
    background-color: var(--text-charcoal);
    color: var(--bg-white);
    padding: 14px 28px;
    font-size: 0.75rem;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 14px rgba(30, 30, 32, 0.15);
    transition: var(--transition-smooth);
}

.btn-primary:hover {
    background-color: var(--bronze-mat);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(184, 154, 108, 0.25);
}

.btn-secondary {
    background-color: var(--bg-white);
    color: var(--text-charcoal);
    border: 1px solid var(--border-fine);
    padding: 14px 28px;
    font-size: 0.75rem;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
}

.btn-secondary:hover {
    background-color: var(--bg-white);
    border-color: var(--bronze-mat);
    transform: translateY(-2px);
    box-shadow: var(--shadow-premium);
}

/* Badges Marketing */
.badge-marketing {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: var(--bg-white);
    border: 1px solid var(--border-fine);
    padding: 6px 14px;
    border-radius: 100px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--bronze-mat);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    box-shadow: var(--shadow-soft);
}

.badge-marketing .dot {
    width: 6px;
    height: 6px;
    background-color: var(--bronze-mat);
    border-radius: 50%;
}

/* Sections Standards */
.section-padding {
    padding: 96px 0;
    border-bottom: 1px solid var(--border-fine);
}

/* Cartes Premium */
.card-premium {
    background-color: var(--bg-white);
    border: 1px solid var(--border-fine);
    border-radius: var(--radius-md);
    padding: 32px;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
}

.card-premium:hover {
    transform: translateY(-4px);
    border-color: var(--bronze-mat);
    box-shadow: var(--shadow-premium);
}

/* --- 5. STYLE PARTICULIER DES COMPOSANTS --- */

/* [HEADER] Navigation Permanente */
.header-navigation {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(250, 249, 245, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-fine);
    transition: var(--transition-smooth);
}

.header-navigation .navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-badge {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--bronze-mat), var(--bronze-light));
    color: var(--bg-white);
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    box-shadow: 0 4px 10px rgba(184, 154, 108, 0.2);
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-text .title {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text-charcoal);
    letter-spacing: -0.02em;
    line-height: 1;
}

.brand-text .subtitle {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.55rem;
    font-weight: 600;
    color: var(--bronze-mat);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-top: 3px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
}

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.phone-action {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-muted);
}

.phone-action:hover {
    color: var(--bronze-mat);
}

.phone-action i {
    color: var(--bronze-mat);
}

/* Bouton hamburger pour mobile */
.hamburger-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 24px;
    height: 18px;
}

.hamburger-menu span {
    width: 100%;
    height: 2px;
    background-color: var(--text-charcoal);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

/* [HERO] Présentation Principale */
.hero-section {
    padding: 140px 0 80px 0;
    position: relative;
    background: radial-gradient(circle 800px at 50% -100px, rgba(184, 154, 108, 0.06), transparent 80%);
}

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

.hero-title {
    font-size: clamp(2rem, 5vw, 4.25rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
    color: var(--text-charcoal);
    margin: 24px 0;
}

.hero-title span {
    background: linear-gradient(to right, var(--bronze-mat), var(--bronze-light), var(--text-charcoal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: clamp(0.95rem, 2vw, 1.125rem);
    color: var(--text-muted);
    max-width: 680px;
    margin: 0 auto 40px auto;
}

.hero-ctas {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    max-width: 420px;
    margin: 0 auto 56px auto;
}

.hero-ctas .btn-primary {
    width: 100%;
    justify-content: center;
}

.hero-ctas .phone-sublink {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
}

.hero-ctas .phone-sublink:hover {
    color: var(--bronze-mat);
}

.hero-info-delay {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.6rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    display: block;
    margin-top: 4px;
}

/* Grande Vidéo du Hero */
.hero-video-box {
    max-width: 960px;
    margin: 0 auto;
    background-color: var(--bg-white);
    border: 1px solid var(--border-fine);
    border-radius: var(--radius-lg);
    padding: 10px;
    box-shadow: var(--shadow-premium);
    transition: var(--transition-smooth);
    cursor: pointer;
}

.hero-video-box:hover {
    border-color: var(--bronze-mat);
    transform: scale(1.005);
}

.hero-video-cover {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: calc(var(--radius-lg) - 8px);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-video-preview {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    z-index: 0;
}

.hero-video-cover::before {
    content: '';
    position: absolute;
    inset: 0;
    background-color: rgba(30, 30, 32, 0.45);
    transition: var(--transition-smooth);
    z-index: 1;
}

.hero-video-box:hover .hero-video-cover::before {
    background-color: rgba(30, 30, 32, 0.35);
}

.play-button-glowing {
    position: relative;
    z-index: 10;
    width: 72px;
    height: 72px;
    background-color: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-charcoal);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    transition: var(--transition-smooth);
}

.play-button-glowing i {
    font-size: 1.5rem;
    margin-left: 4px;
}

.hero-video-box:hover .play-button-glowing {
    transform: scale(1.1);
    background-color: var(--bronze-mat);
    color: var(--bg-white);
}

.hero-video-meta {
    position: absolute;
    bottom: 20px;
    left: 24px;
    right: 24px;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* [COLLABS] Grille de Confiance */
.collabs-section {
    padding: 48px 0;
    background-color: var(--bg-white);
    border-bottom: 1px solid var(--border-fine);
    overflow: hidden;
}

.collabs-title {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 32px;
}

.collabs-marquee {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 48px;
    opacity: 0.75;
}

.collab-logo {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text-charcoal);
    filter: grayscale(1);
    opacity: 0.5;
    transition: var(--transition-smooth);
}

.collab-logo:hover {
    filter: grayscale(0);
    opacity: 1;
}

/* [SECTEURS] Grille des 3 Domaines */
.secteurs-section {
    background-color: var(--bg-white);
}

.section-title-wrapper {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 64px auto;
}

.section-subtitle {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--bronze-mat);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 12px;
    display: block;
}

.section-title {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.section-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.secteurs-stack {
    display: flex;
    flex-direction: column;
    gap: 48px;
    max-width: 1000px;
    margin: 0 auto;
    padding-bottom: 50px;
}

.secteur-card-horizontal {
    position: sticky;
    background-color: var(--bg-white);
    border: 1px solid var(--border-fine);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-premium);
    display: flex;
    flex-direction: row;
    overflow: hidden;
    height: 420px;
    transition: var(--transition-smooth);
}

#secteur-card-ecom {
    top: 100px;
}

#secteur-card-amenagement {
    top: 130px;
}

#secteur-card-archi {
    top: 160px;
}

.secteur-card-horizontal .secteur-img-container {
    width: 45%;
    height: 100%;
    border-radius: 0;
    aspect-ratio: auto;
}

.secteur-card-horizontal .secteur-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.secteur-card-horizontal .secteur-info {
    width: 55%;
    padding: 40px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.secteur-card-horizontal:hover {
    border-color: var(--bronze-mat);
    transform: translateY(-2px) scale(1.005);
}

.secteur-card-horizontal:hover .secteur-link {
    color: var(--text-charcoal);
}

/* Feature tags inside horizontal card */
.secteur-features {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.secteur-feature-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: var(--bg-alabaster);
    border: 1px solid var(--border-fine);
    padding: 6px 12px;
    border-radius: 100px;
    font-size: 0.65rem;
    color: var(--text-muted);
    font-weight: 600;
    font-family: 'JetBrains Mono', monospace;
    transition: var(--transition-smooth);
}

.secteur-feature-tag i {
    width: 12px;
    height: 12px;
    color: var(--bronze-mat);
}

.secteur-card-horizontal:hover .secteur-feature-tag {
    background-color: var(--bg-white);
    border-color: var(--bronze-mat);
}

.secteur-img-container {
    border-radius: calc(var(--radius-lg) - 6px);
    overflow: hidden;
    position: relative;
    aspect-ratio: 4/3;
}

.secteur-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.secteur-card-horizontal:hover .secteur-img-container img {
    transform: scale(1.04);
}

.secteur-info {
    padding: 24px 16px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.secteur-tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.6rem;
    font-weight: 700;
    color: var(--bronze-mat);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 8px;
    display: block;
}

.secteur-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.secteur-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    line-height: 1.5;
}

.secteur-link {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--bronze-mat);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    transition: var(--transition-smooth);
}

.secteur-card-horizontal:hover .secteur-link {
    color: var(--text-charcoal);
}

/* [FORMATS] Deux Formats */
.formats-grid {
    display: grid;
    grid-template-cols: repeat(2, 1fr);
    gap: 40px;
    max-width: 960px;
    margin: 0 auto;
}

.format-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-fine);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition-smooth);
}

.format-card:hover {
    border-color: var(--bronze-mat);
    box-shadow: var(--shadow-premium);
}

.format-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.format-icon {
    width: 48px;
    height: 48px;
    background-color: var(--bronze-fade);
    color: var(--bronze-mat);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.format-title {
    font-size: 1.15rem;
    font-weight: 700;
    font-family: 'Plus Jakarta Sans', sans-serif;
    letter-spacing: -0.01em;
}

.format-body {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 32px;
}

.format-footer {
    display: flex;
    justify-content: space-between;
    border-t: 1px solid var(--border-grey);
    padding-top: 20px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.6rem;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 600;
}

.format-footer .accent-text {
    color: var(--bronze-mat);
    font-weight: 700;
}

/* Illustrative visual modules for formats */
.format-visual-container {
    margin-top: 24px;
    margin-bottom: 16px;
    background-color: var(--bg-alabaster);
    border: 1px solid var(--border-fine);
    border-radius: var(--radius-md);
    padding: 8px;
    overflow: hidden;
    transition: var(--transition-smooth);
}

/* Image Magnifier (Loupe) */
.magnifier-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
    border-radius: calc(var(--radius-md) - 4px);
    cursor: crosshair;
}

.magnifier-target {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.magnifier-lens {
    position: absolute;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    border: 3px solid var(--bronze-mat);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    pointer-events: none;
    display: none;
    z-index: 10;
    overflow: hidden;
}

.magnifier-clone {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    transform-origin: 0 0;
    max-width: none !important;
}

.magnifier-hint, .video-hint {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background-color: rgba(30, 30, 32, 0.85);
    backdrop-filter: blur(4px);
    color: var(--bg-white);
    padding: 6px 12px;
    border-radius: 100px;
    font-size: 0.6rem;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    pointer-events: none;
    z-index: 5;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    transition: var(--transition-smooth);
}

.magnifier-container:hover .magnifier-hint {
    opacity: 0;
    transform: translateY(5px);
}

/* Video Loop Preview */
.video-loop-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
    border-radius: calc(var(--radius-md) - 4px);
    background-color: var(--text-charcoal);
}

.format-video-loop {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* [METHODE] L'Agilité - Cartes horizontales ultra-compactes */
.methode-grid {
    display: grid;
    grid-template-cols: repeat(4, 1fr);
    gap: 20px;
}

.methode-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-fine);
    border-radius: var(--radius-md);
    padding: 20px;
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: row;
    gap: 16px;
    align-items: flex-start;
    transition: var(--transition-smooth);
}

.methode-card:hover {
    border-color: var(--bronze-mat);
    transform: translateY(-2px);
    box-shadow: var(--shadow-premium);
}

.methode-icon-wrapper {
    width: 36px;
    height: 36px;
    background-color: var(--bronze-fade);
    color: var(--bronze-mat);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.methode-card.green-accent .methode-icon-wrapper {
    background-color: var(--emerald-fade);
    color: var(--emerald-main);
}

.methode-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.methode-title {
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text-charcoal);
}

.methode-desc {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.4;
    margin-bottom: 12px;
}

.methode-tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.52rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--bronze-mat);
    margin-top: auto;
    display: inline-block;
}

.methode-card.green-accent .methode-tag {
    color: var(--emerald-main);
}

/* ==========================================================================
   [HISTOIRE] STYLE CREATIWISE (CLAIR, INTERACTIF, PREMIUM)
   ========================================================================== */
.histoire-creati-section {
    background-color: var(--bg-alabaster); /* Fond blanc chaud chaleureux */
    border-bottom: 1px solid var(--border-fine);
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

/* Grille principale rigide sous forme de flexbox */
.histoire-creati-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    z-index: 10;
}

/* Colonne de gauche (Contenu) */
.histoire-creati-content {
    width: 58%;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 28px;
    position: relative;
}

/* En-tête Badge Pilule */
.badge-creati-pill {
    display: inline-flex;
    align-items: center;
    background-color: transparent;
    border: 1px solid var(--border-fine);
    padding: 8px 20px;
    border-radius: 100px;
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-muted);
    width: fit-content;
}

/* Titre Majuscule géant avec sparkle */
.histoire-creati-title {
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 800;
    text-transform: uppercase;
    color: var(--text-charcoal);
    line-height: 1.05;
    letter-spacing: -0.03em;
    position: relative;
    max-width: 580px; /* Confinement de la largeur pour sceller l'étoile */
    padding-right: 80px; /* Réserve de l'espace pour l'étoile */
}

.histoire-creati-title span {
    color: var(--bronze-mat);
}

/* Étoile sparkle interactive */
.creati-star-accent {
    position: absolute;
    right: 0px;
    top: 20px;
    width: 64px;
    height: 64px;
    animation: rotateSlow 15s infinite linear;
}

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

/* Paragraphes narratifs */
.histoire-creati-desc {
    display: flex;
    flex-direction: column;
    gap: 16px;
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 500px; /* Confinement du paragraphe */
}

.histoire-creati-desc .lead-paragraph {
    font-size: 1.05rem;
    color: var(--text-charcoal);
    font-weight: 500;
    line-height: 1.5;
}

/* Conteneur CTA et éléments décoratifs */
.creati-cta-container {
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
    width: fit-content;
    margin-top: 8px;
}

/* Bouton Capsule "Let's Talk" */
.btn-talk-capsule {
    background-color: var(--text-charcoal);
    color: var(--bg-white);
    padding: 8px 8px 8px 24px;
    font-size: 0.85rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    border-radius: 100px;
    display: inline-flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 10px 25px rgba(30, 30, 32, 0.15);
    transition: var(--transition-smooth);
    z-index: 5;
}

.btn-talk-capsule .talk-circle-arrow {
    width: 42px;
    height: 42px;
    background-color: var(--bg-white);
    color: var(--text-charcoal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.btn-talk-capsule .talk-circle-arrow i {
    width: 18px;
    height: 18px;
}

/* Hover Bouton Capsule */
.btn-talk-capsule:hover {
    background-color: var(--bronze-mat);
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(184, 154, 108, 0.25);
}

.btn-talk-capsule:hover .talk-circle-arrow {
    transform: rotate(45deg);
    background-color: var(--text-charcoal);
    color: var(--bg-white);
}

/* Éclats décoratifs sous le bouton */
.btn-decorative-sparks {
    position: absolute;
    bottom: -15px;
    left: 80px;
    display: flex;
    gap: 4px;
    opacity: 0.8;
}

.btn-decorative-sparks span {
    width: 2px;
    background-color: var(--text-charcoal);
    border-radius: 2px;
}

.btn-decorative-sparks span:nth-child(1) { height: 10px; transform: rotate(-25deg); }
.btn-decorative-sparks span:nth-child(2) { height: 12px; }
.btn-decorative-sparks span:nth-child(3) { height: 10px; transform: rotate(25deg); }

/* Colonne de droite (Visuel) */
.histoire-creati-visual {
    position: relative;
    width: 38%;
    flex-shrink: 0;
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
}

/* Wrapper d'ancrage absolu de dimension fixe */
.portrait-creati-wrapper {
    position: relative;
    width: 100%;
    max-width: 380px;
    margin-left: auto; /* Pousse l'image à droite de sa colonne */
    margin-right: 0;
}

/* Conteneur Portrait principal */
.portrait-creati-container {
    width: 100%;
    aspect-ratio: 0.95;
    background: linear-gradient(135deg, rgba(184, 154, 108, 0.08) 0%, rgba(255, 255, 255, 0.8) 100%);
    border: 1px solid var(--border-fine);
    border-radius: 40px; /* Grande courbure épurée */
    overflow: hidden;
    cursor: zoom-in;
    box-shadow: var(--shadow-premium);
    position: relative;
    z-index: 2;
    transition: var(--transition-smooth);
}

.portrait-creati-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 15%; /* Concentre le crop plus haut sur le visage */
    display: block;
    mix-blend-mode: multiply;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.portrait-creati-container:hover .portrait-creati-img {
    transform: scale(1.03);
}

.portrait-creati-container:hover {
    border-color: var(--bronze-mat);
    box-shadow: 0 25px 50px -12px rgba(184, 154, 108, 0.2);
}

/* Encart Blanc Flottant Avatars (Top-Left du Wrapper) */
.creati-floating-card-avatars {
    position: absolute;
    top: -20px;
    left: -40px; /* Laisse le badge déborder sur la gauche de la photo */
    background-color: var(--bg-white);
    border: 1px solid var(--border-fine);
    border-radius: 16px;
    padding: 16px 20px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
    z-index: 5;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: var(--transition-smooth);
}

.creati-floating-card-avatars:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
}

.creati-floating-card-avatars .card-title {
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-charcoal);
    letter-spacing: -0.01em;
}

.avatars-row {
    display: flex;
    align-items: center;
}

.avatar-badge {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 800;
    color: var(--bg-white);
    margin-right: -8px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.avatar-sg { background: linear-gradient(135deg, #10B981, #059669); }
.avatar-dr { background: linear-gradient(135deg, var(--bronze-mat), var(--bronze-light)); }
.avatar-r { background: linear-gradient(135deg, var(--text-charcoal), var(--text-muted)); }

.avatar-plus {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--bronze-mat);
    margin-left: 16px;
}

/* Badge Capsule Noir en Bas (Solutions for Brand Identity style) */
.creati-floating-capsule-badge {
    position: absolute;
    bottom: -15px; /* Laisse le badge déborder sur le bas de la photo */
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--text-charcoal);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 100px;
    padding: 10px 24px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    z-index: 5;
    transition: var(--transition-smooth);
    width: max-content;
}

.creati-floating-capsule-badge span {
    color: var(--bg-white);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.62rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.portrait-creati-container:hover ~ .creati-floating-capsule-badge {
    background-color: var(--bronze-mat);
    transform: translateX(-50%) translateY(-2px);
}

/* RESPONSIVE CREATIWISE */
@media (max-width: 768px) {
    .histoire-creati-grid {
        flex-direction: column;
        gap: 24px;
        position: relative;
        padding-bottom: 0; /* Alignement parfait à la base sans décalage */
    }
    
    .histoire-creati-content {
        width: 100%;
        order: 1;
        position: relative;
        z-index: 5;
    }
    
    /* Conteneur CTA transformé en cadre réceptacle pour la bannière de fond */
    .creati-cta-container {
        display: flex;
        justify-content: center;
        align-items: flex-end; /* Aligne le bouton tout en bas du cadre */
        margin-top: 40px;
        height: 160px; /* Hauteur de la bannière horizontale */
        width: 100%;
        position: relative;
        z-index: 10;
    }
    
    /* Cache les éclats décoratifs pour ne pas surcharger le bouton sur l'image */
    .btn-decorative-sparks {
        display: none !important;
    }

    /* Le bouton capsule se détache élégamment sous l'image, avec seul son sommet débordant dessus */
    .btn-talk-capsule {
        margin-bottom: -48px; /* Laisse uniquement le sommet (10px) chevaucher l'image, le reste est en dessous */
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    }
    
    /* L'image se transforme en bannière horizontale placée sous le bouton */
    .histoire-creati-visual {
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
        max-width: 450px; /* Taille optimale sur mobile */
        height: 160px; /* Même hauteur que le conteneur CTA */
        order: 2;
        padding: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 1; /* Derrière le bouton */
        pointer-events: none; /* Laisse passer le clic vers le bouton */
    }
    
    .portrait-creati-wrapper {
        width: 100%;
        height: 100%;
        max-width: 100%;
        margin: 0;
    }
    
    .portrait-creati-container {
        width: 100%;
        height: 100%;
        aspect-ratio: auto; /* Supprime le ratio vertical */
        border-radius: 24px; /* Coins arrondis élégants pour la bannière */
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    }
    
    .portrait-creati-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center 12%; /* Cadre le visage parfaitement */
    }
    
    /* Masquage des badges flottants encombrants sur mobile */
    .creati-floating-card-avatars,
    .creati-floating-capsule-badge {
        display: none !important;
    }
    
    .creati-star-accent {
        right: 20px;
        top: 0px;
        width: 48px;
        height: 48px;
    }
}

@media (max-width: 640px) {
    .histoire-creati-section {
        padding: 80px 0;
    }
    
    .histoire-creati-title {
        font-size: 2.1rem;
    }
    
    .creati-star-accent {
        display: none; /* Cache l'étoile sur mobile */
    }
}

.js-tilt-glare {
    border-radius: var(--radius-lg);
}

/* [FAQ] Accordéon */
.faq-wrapper {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background-color: var(--bg-white);
    border: 1px solid var(--border-fine);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
}

.faq-item:hover {
    border-color: var(--bronze-mat);
}

.faq-trigger {
    width: 100%;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    background-color: var(--bg-white);
}

.faq-question-box {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--bronze-mat);
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.faq-question-text {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-charcoal);
    text-transform: none;
    letter-spacing: 0;
}

.faq-icon-wrapper {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: var(--bg-alabaster);
    color: var(--text-charcoal);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-content-inner {
    padding: 0 24px 24px 24px;
    font-size: 0.85rem;
    color: var(--text-muted);
    border-top: 1px solid rgba(184, 154, 108, 0.05);
}

.faq-item.active .faq-icon-wrapper {
    transform: rotate(45deg);
    background-color: var(--bronze-mat);
    color: var(--bg-white);
}

/* [AVIS] Carrousel */
.avis-carousel-wrapper {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.avis-carousel-track-container {
    overflow: hidden;
}

.avis-carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.avis-slide {
    min-width: 100%;
    padding: 0 8px;
}

.avis-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-fine);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-soft);
    position: relative;
}

.avis-quote {
    font-size: clamp(0.95rem, 2vw, 1.15rem);
    color: var(--text-muted);
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 32px;
}

.avis-author-box {
    display: flex;
    align-items: center;
    gap: 16px;
}

.avis-avatar {
    width: 44px;
    height: 44px;
    background-color: var(--bronze-fade);
    color: var(--bronze-mat);
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--border-fine);
}

.avis-author-name {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-charcoal);
    display: block;
}

.avis-author-company {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.6rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

.avis-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 32px;
}

.avis-control-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border-fine);
    background-color: var(--bg-white);
    color: var(--text-charcoal);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-soft);
}

.avis-control-btn:hover {
    border-color: var(--bronze-mat);
    background-color: var(--bronze-mat);
    color: var(--bg-white);
}

.avis-indicators {
    display: flex;
    gap: 8px;
}

.avis-indicator {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--border-grey);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.avis-indicator.active {
    background-color: var(--bronze-mat);
    width: 16px;
    border-radius: 3px;
}

/* [RESERVATION] Formulaire & TidyCal */
.reservation-grid {
    display: grid;
    grid-template-cols: 10fr 14fr;
    gap: 40px;
    align-items: stretch;
}

.reservation-info-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-fine);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.reservation-info-header {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.reservation-phone-box {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.reservation-phone-box .btn-secondary {
    width: 100%;
    justify-content: center;
}

.reservation-info-footer {
    border-t: 1px solid var(--border-grey);
    padding-top: 24px;
    font-size: 0.78rem;
    color: var(--text-muted);
}

.reservation-widget-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-fine);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-premium);
    min-height: 560px;
    display: flex;
    flex-direction: column;
}

.widget-header {
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid var(--border-grey);
    padding-bottom: 16px;
    margin-bottom: 24px;
}

.widget-beacon {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--emerald-main);
    animation: beacon-ping 1.5s infinite;
}

@keyframes beacon-ping {
    0% { transform: scale(0.9); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.4; }
    100% { transform: scale(0.9); opacity: 1; }
}

.widget-title {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--bronze-mat);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.tidycal-embed {
    width: 100%;
    flex-grow: 1;
    border: none;
}

/* Formulaire de Contact de Secours */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-charcoal);
    letter-spacing: 0.05em;
}

.form-input, .form-textarea {
    width: 100%;
    background-color: var(--bg-alabaster);
    border: 1px solid var(--border-grey);
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.85rem;
    color: var(--text-charcoal);
    transition: var(--transition-smooth);
}

.form-input:focus, .form-textarea:focus {
    outline: none;
    border-color: var(--bronze-mat);
    background-color: var(--bg-white);
    box-shadow: 0 0 0 3px rgba(184, 154, 108, 0.1);
}

/* Styles des cases à cocher & Boutons radio configurateurs (B2B Contact) */
.checkbox-label, .radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--text-muted);
    background-color: var(--bg-alabaster);
    padding: 8px 14px;
    border-radius: 20px;
    border: 1px solid var(--border-fine);
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    user-select: none;
}

.checkbox-label:hover, .radio-label:hover {
    border-color: var(--bronze-mat);
    background-color: var(--bg-white);
    color: var(--text-charcoal);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(184, 154, 108, 0.08);
}

.checkbox-label input[type="checkbox"], .radio-label input[type="radio"] {
    width: 14px;
    height: 14px;
    cursor: pointer;
    accent-color: var(--bronze-mat);
    margin: 0;
}

/* Effet interactif moderne :has() lorsque la case est cochée */
.checkbox-label:has(input:checked), .radio-label:has(input:checked) {
    border-color: var(--bronze-mat);
    background-color: rgba(184, 154, 108, 0.06);
    color: var(--bronze-mat);
    font-weight: 600;
    box-shadow: inset 0 0 0 1px rgba(184, 154, 108, 0.1);
}

/* Style de la case Rappel Téléphonique Rapide */
.checkbox-label-recall {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.82rem;
    color: var(--text-charcoal);
    cursor: pointer;
    font-weight: 600;
    user-select: none;
    transition: var(--transition-smooth);
    padding: 4px 0;
}

.checkbox-label-recall:hover {
    color: var(--bronze-mat);
}

.checkbox-label-recall input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
    accent-color: var(--bronze-mat);
    margin: 0;
}

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

/* [FOOTER] Pied de Page */
.footer-section {
    padding: 48px 0;
    background-color: var(--text-charcoal);
    color: rgba(255, 255, 255, 0.7);
    border-top: 1px solid var(--border-fine);
}

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

.footer-brand {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--bg-white);
}

.footer-brand span {
    font-weight: 400;
    color: rgba(255, 255, 255, 0.45);
}

.footer-links {
    display: flex;
    gap: 32px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-link:hover {
    color: var(--bg-white);
}

.footer-link.accent {
    color: var(--bronze-light);
    font-weight: 700;
}

/* Floating widgets WhatsApp/Phone */
.floating-widget-container {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.floating-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-white);
    font-size: 1.25rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    transition: var(--transition-smooth);
}

.floating-btn.whatsapp {
    background-color: #25D366;
}

.floating-btn.whatsapp:hover {
    background-color: #20BA5A;
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 28px rgba(37, 211, 102, 0.35);
}

/* Utilities */
.hidden {
    display: none !important;
}

/* Lightbox Modal */
.lightbox-modal {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.92);
    z-index: 2000;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px;
    cursor: zoom-out;
}

.lightbox-close-btn {
    position: absolute;
    top: 24px;
    right: 24px;
    color: var(--bg-white);
    font-size: 2rem;
    transition: var(--transition-smooth);
}

.lightbox-close-btn:hover {
    color: var(--bronze-mat);
}

.lightbox-container {
    max-width: 100%;
    max-height: 80vh;
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-container img, .lightbox-container video {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: var(--radius-sm);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    transform: scale(0.95);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox-modal.active .lightbox-container img,
.lightbox-modal.active .lightbox-container video {
    transform: scale(1);
}

.lightbox-caption {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.65rem;
    color: var(--bronze-light);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-top: 20px;
    text-align: center;
}

/* --- 6. PAGE SERVICE DÉDIÉE - MISES EN PAGE SPÉCIFIQUES --- */
.service-intro-section {
    padding: 120px 0 64px 0;
    background: radial-gradient(circle 800px at 50% -100px, rgba(184, 154, 108, 0.05), transparent 80%);
}

.service-intro-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.service-stats-bar {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--emerald-main);
    background-color: var(--emerald-fade);
    padding: 6px 16px;
    border-radius: 100px;
    width: fit-content;
}

.service-stats-bar span {
    font-family: 'JetBrains Mono', monospace;
}

.service-title {
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text-charcoal);
}

.service-description {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 760px;
}

.service-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.service-back-link:hover {
    color: var(--bronze-mat);
}

/* Service Context Grid */
.service-context-grid {
    display: grid;
    grid-template-cols: 1fr 1fr;
    gap: 32px;
}

.service-context-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-fine);
    border-radius: var(--radius-md);
    padding: 40px;
    box-shadow: var(--shadow-soft);
}

.service-context-card .title {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--bronze-mat);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
    display: block;
}

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

/* Service Deliverables */
.service-deliverables-title {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-charcoal);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 24px;
}

.service-deliverables-grid {
    display: grid;
    grid-template-cols: repeat(3, 1fr);
    gap: 20px;
}

.service-deliverable-item {
    background-color: var(--bg-white);
    border: 1px solid var(--border-fine);
    border-radius: var(--radius-sm);
    padding: 20px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    box-shadow: var(--shadow-soft);
}

.service-deliverable-item i {
    color: var(--bronze-mat);
    font-size: 1.1rem;
    margin-top: 2px;
}

.service-deliverable-item span {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-charcoal);
    line-height: 1.4;
}

/* Service Showcase Gallery */
.service-gallery-grid {
    display: grid;
    grid-template-cols: repeat(2, 1fr);
    gap: 24px;
}

.service-gallery-item {
    background-color: var(--bg-white);
    border: 1px solid var(--border-fine);
    border-radius: var(--radius-lg);
    padding: 8px;
    box-shadow: var(--shadow-soft);
    cursor: zoom-in;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.service-gallery-item:hover {
    border-color: var(--bronze-mat);
    transform: translateY(-4px);
    box-shadow: var(--shadow-premium);
}

.service-gallery-img {
    border-radius: calc(var(--radius-lg) - 6px);
    overflow: hidden;
    aspect-ratio: 16/10;
}

.service-gallery-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-gallery-item:hover .service-gallery-img img {
    transform: scale(1.03);
}

.service-gallery-overlay {
    position: absolute;
    bottom: 16px;
    left: 16px;
    right: 16px;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    border-radius: var(--radius-sm);
    padding: 8px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.58rem;
    color: var(--text-muted);
    font-weight: 500;
}

.service-gallery-overlay .action {
    color: var(--bronze-mat);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* --- 7. RESPONSIVE DESIGN (MÉDIAS QUERIES) --- */

@media (max-width: 1024px) {
    .header-navigation .nav-links,
    .header-navigation .header-actions {
        display: none;
    }
    
    .hamburger-menu {
        display: flex;
    }

    .secteur-card-horizontal {
        flex-direction: column;
        height: auto;
        position: relative;
        top: auto !important;
    }
    
    .secteur-card-horizontal .secteur-img-container {
        width: 100%;
        height: 260px;
    }
    
    .secteur-card-horizontal .secteur-info {
        width: 100%;
        padding: 30px 24px;
    }
    
    .secteurs-stack {
        gap: 32px;
    }
    

    
    .methode-grid {
        grid-template-cols: repeat(2, 1fr);
    }
    
    .reservation-grid {
        grid-template-cols: 1fr;
        gap: 32px;
    }
    
    .service-deliverables-grid {
        grid-template-cols: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding-top: 100px;
    }
    
    .formats-grid {
        grid-template-cols: 1fr;
    }
    
    .methode-grid {
        grid-template-cols: 1fr;
    }
    
    .service-context-grid {
        grid-template-cols: 1fr;
    }
    
    .service-deliverables-grid {
        grid-template-cols: 1fr;
    }
    
    .service-gallery-grid {
        grid-template-cols: 1fr;
    }
    
    .footer-navbar {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }
}

/* --- 8. PAGE DE REMERCIEMENT (merci.html) --- */
.thankyou-body {
    background-color: var(--bg-alabaster);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.thankyou-section {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 0 60px 0;
    position: relative;
    overflow: hidden;
}

.thankyou-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(184, 154, 108, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.thankyou-card {
    position: relative;
    z-index: 1;
    background-color: var(--bg-white);
    border: 1px solid var(--border-fine);
    border-radius: var(--radius-lg);
    padding: 60px 40px;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    box-shadow: var(--shadow-premium);
    transition: var(--transition-smooth);
    transform-style: preserve-3d;
}

.thankyou-card:hover {
    border-color: var(--bronze-mat);
    box-shadow: 0 25px 50px -10px rgba(184, 154, 108, 0.15);
}

.success-icon-wrapper {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 32px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateZ(30px);
}

.success-icon-inner {
    position: absolute;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--bronze-mat), var(--bronze-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-white);
    font-size: 1.5rem;
    box-shadow: 0 8px 20px rgba(184, 154, 108, 0.3);
    z-index: 2;
}

.success-icon-pulsing {
    position: absolute;
    width: 80px;
    height: 80px;
    background-color: var(--bronze-fade);
    border: 1px solid var(--border-fine);
    border-radius: 50%;
    animation: icon-pulse 2s infinite ease-in-out;
    z-index: 1;
}

@keyframes icon-pulse {
    0% { transform: scale(0.9); opacity: 1; }
    50% { transform: scale(1.15); opacity: 0.3; }
    100% { transform: scale(0.9); opacity: 1; }
}

.thankyou-title {
    font-size: clamp(1.5rem, 3.5vw, 2.2rem);
    font-weight: 800;
    color: var(--text-charcoal);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
    transform: translateZ(20px);
}

.thankyou-message {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 32px;
}

.thankyou-message strong {
    color: var(--text-charcoal);
}

.thankyou-info-box {
    background-color: var(--bg-alabaster);
    border: 1px solid var(--border-fine);
    border-radius: var(--radius-md);
    padding: 16px 24px;
    margin-bottom: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.thankyou-info-box .info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.thankyou-info-box .info-item i {
    color: var(--bronze-mat);
    flex-shrink: 0;
}

.thankyou-action {
    display: flex;
    justify-content: center;
    transform: translateZ(15px);
}

@media (max-width: 576px) {
    .thankyou-card {
        padding: 40px 24px;
    }
}

/* Identité visuelle - Logo Image personnalisé Rylo Production */
.brand-logo-img {
    height: 38px; /* Hauteur compacte et élégante */
    width: auto;
    display: block;
    transition: var(--transition-smooth);
}

.brand-logo:hover .brand-logo-img {
    opacity: 0.82;
    transform: scale(1.02);
}

@media (max-width: 768px) {
    .brand-logo-img {
        height: 32px; /* Un peu plus compact sur tablettes et mobiles */
    }
}
/* ==========================================================================
   [DELIVERABLES-BUBBLES] BULLES D'ILLUSTRATION DES LIVRABLES (PAGES PRODUIT)
   ========================================================================== */
.deliverables-bubbles-grid, .deliverables-bubbles-grid.grid-3 {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 20px !important;
    margin-top: 32px !important;
    max-width: 960px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.deliverables-bubbles-grid .deliverable-bubble, .deliverables-bubbles-grid.grid-3 .deliverable-bubble {
    flex: 0 0 calc(50% - 10px) !important;
    width: calc(50% - 10px) !important;
    max-width: calc(50% - 10px) !important;
    box-sizing: border-box !important;
}

.deliverable-bubble {
    display: flex;
    align-items: center;
    gap: 16px;
    background-color: var(--bg-white);
    border: 1px solid var(--border-fine);
    padding: 10px 20px 10px 10px;
    border-radius: 50px;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
    cursor: default;
}

.deliverable-bubble:hover {
    border-color: var(--bronze-mat);
    transform: translateY(-2px);
    box-shadow: var(--shadow-premium);
}

.deliverable-bubble-img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid var(--border-fine);
    transition: var(--transition-smooth);
}

.deliverable-bubble:hover .deliverable-bubble-img {
    border-color: var(--bronze-mat);
}

.deliverable-bubble-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.deliverable-bubble-info {
    display: flex;
    flex-direction: column;
}

.deliverable-bubble-title {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-charcoal);
    margin-bottom: 2px;
}

.deliverable-bubble-desc {
    font-size: 0.70rem;
    color: var(--text-muted);
    line-height: 1.3;
}

/* Responsive adjustment for deliverables bubbles */
@media (max-width: 1024px) {
    .deliverables-bubbles-grid, .deliverables-bubbles-grid.grid-3 {
        gap: 16px !important;
    }
    .deliverables-bubbles-grid .deliverable-bubble, .deliverables-bubbles-grid.grid-3 .deliverable-bubble {
        flex: 0 0 calc(50% - 8px) !important;
        width: calc(50% - 8px) !important;
        max-width: calc(50% - 8px) !important;
    }
}

@media (max-width: 768px) {
    .deliverables-bubbles-grid, .deliverables-bubbles-grid.grid-3 {
        flex-direction: column !important;
        gap: 12px !important;
    }
    .deliverables-bubbles-grid .deliverable-bubble, .deliverables-bubbles-grid.grid-3 .deliverable-bubble {
        flex: 0 0 100% !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .deliverable-bubble {
        padding: 8px 16px 8px 8px;
        gap: 12px;
        border-radius: 40px;
    }
    .deliverable-bubble-img {
        width: 48px;
        height: 48px;
        border-width: 1.5px;
    }
    .deliverable-bubble-title {
        font-size: 0.78rem;
    }
    .deliverable-bubble-desc {
        font-size: 0.65rem;
    }
}

/* Animations de chargement (Spinner) */
@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.animate-spin {
    animation: spin 1s linear infinite !important;
}
