@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;600;800;900&display=swap');

/* ==========================================================================
   0. FONTS & SYSTÈME & MASQUAGE MOBILES
   ========================================================================== */
.mobile-menu-overlay,
.mobile-nav-links,
.menu-toggle,
.mobile-link,
.bar {
    display: none;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
}

:root {
    --bg-color: #F9F9FB;
    --text-main: #1A1A1B;
    --primary-blue: #185183;
    /* Royal Blue */
    --cyan-blue: #48b2f1;
    /* Cyan Light Blue */
    --dark-blue: #0B203E;
    /* Navy */
    --accent-blue: #48b2f1;
    --text-muted: #888;
    --font-display: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --container-width: 1200px;
    --radius-full: 9999px;
    --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
    background-color: #FFFFFF;
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

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

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

h1,
h2,
h3 {
    font-family: var(--font-display);
    line-height: 1.2;
    font-weight: 800;
}

.section-title {
    font-size: 2.8rem;
    text-align: left;
    margin-bottom: 2rem;
    color: var(--primary-blue);
    font-weight: 900;
}

.section-subtitle {
    display: block;
    text-align: left;
    color: var(--cyan-blue);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.85rem;
    margin-bottom: 3rem;
}

/* ==========================================================================
   2. NAVIGATION (RESTAURATION GLASSMORPHISM & SCROLL)
   ========================================================================== */
.main-header {
    position: fixed;
    /* Fixé en haut pour le scroll */
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 0;
    /* Padding initial large */
    z-index: 2000;
    background-color: transparent;
    /* Transparent par défaut */
    backdrop-filter: blur(0px);
    border-bottom: 1px solid transparent;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* État 'scrolled' (activé par JS) */
.main-header.scrolled {
    padding: 1rem 0;
    /* Se rétrécit */
    background-color: rgba(255, 255, 255, 0.82);
    /* Glassmorphism opaque */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--container-width);
    margin: 0 auto;
}

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

.logo-graphic {
    position: relative;
    width: 44px;
    height: 44px;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 36px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-c {
    color: var(--primary-blue);
    position: absolute;
    left: 2px;
}

.logo-i {
    color: var(--cyan-blue);
    position: absolute;
    right: 5px;
    top: 10px;
    font-size: 28px;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 800;
    color: #1A1A1B;
}

.logo-com {
    color: var(--primary-blue);
}

.logo-text span:last-child {
    color: var(--cyan-blue);
}

.nav-links {
    display: flex;
    gap: 3.5rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    font-weight: 600;
    color: var(--primary-blue);
    font-size: 0.95rem;
    opacity: 0.85;
}

.nav-links a:hover {
    opacity: 1;
    color: var(--cyan-blue);
}

.btn-contact {
    background: var(--primary-blue) !important;
    color: #fff !important;
    padding: 0.75rem 2.2rem !important;
    border-radius: 50px !important;
}

/* ==========================================================================
   3. HERO SECTION (AJUSTEMENT EXACT - MAQUETTE ORIGINALE)
   ========================================================================== */
.hero-home {
    height: 100vh;
    min-height: 700px;
    padding-top: 5rem;
    padding-bottom: 0;
    position: relative;
    overflow: hidden;
    background-color: #ffffff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cg stroke='%23185183' stroke-width='1' stroke-opacity='0.06' fill='none'%3E%3Cpath d='M0 100L100 0M0 0l100 100M50 0v100M0 50h100'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 100px 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Le Cercle Fin Isométrique */
.hero-home::before {
    content: '';
    position: absolute;
    left: -10%;
    top: 15%;
    width: 650px;
    height: 650px;
    border: 3px solid rgba(24, 81, 131, 0.06);
    border-radius: 50%;
    z-index: 1;
    pointer-events: none;
}

/* Le Triangle Shard Bleu pâle à droite */
.hero-home::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    width: 50%;
    height: 80%;
    background: linear-gradient(135deg, rgba(72, 178, 241, 0.09) 0%, rgba(72, 178, 241, 0.02) 100%);
    clip-path: polygon(100% 0, 0 100%, 100% 100%);
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.hero-label {
    display: inline-block;
    background: #fff;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.hero-title {
    font-family: var(--font-display);
    font-size: 3rem;
    color: #1A1A1B;
    line-height: 1.1;
    font-weight: 900;
    margin-bottom: 1.5rem;
    width: 100%;
    max-width: 800px;
    letter-spacing: -0.02em;
}

.hero-title .accent-text {
    color: var(--primary-blue);
}

.hero-description {
    font-size: 2rem;
    color: #777777;
    font-weight: 400;
    line-height: 1.15;
    margin-bottom: 2.5rem;
    max-width: 650px;
}

.hero-description strong {
    color: inherit;
    font-weight: 700;
}

.hero-actions {
    display: flex;
    gap: 1.2rem;
    justify-content: flex-start;
    width: 100%;
}

.btn-primary,
.btn-secondary {
    padding: 1.1rem 2.5rem;
    border-radius: var(--radius-full);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.85rem;
    transition: var(--transition);
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: var(--primary-blue) !important;
    color: #fff !important;
}

.btn-primary:hover {
    background: var(--dark-blue) !important;
}

.btn-secondary {
    background: transparent;
    color: var(--primary-blue) !important;
    border: 2px solid var(--primary-blue);
}

.btn-secondary:hover {
    background: rgba(24, 81, 131, 0.05);
}

/* ==========================================================================
   4. EXPERTISES
   ========================================================================= */
.expertises-dark-theme {
    background: var(--dark-blue);
    padding: 8rem 0;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.expertises-header {
    text-align: left;
    margin-bottom: 5rem;
}

.expertises-header .section-title {
    color: #fff;
}

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

.expertise-card {
    padding: 3rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 20px;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.expertise-card:hover {
    transform: translateY(-10px);
    background: linear-gradient(135deg, rgba(72, 178, 241, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
}

.expertise-step-number {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 900;
    color: rgba(72, 178, 241, 0.2);
    margin-bottom: 1.5rem;
    line-height: 1;
}

.expertise-card h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: #fff;
}

.expertise-card p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.7;
}

/* ==========================================================================
   5. PORTFOLIO 
   ========================================================================= */
.portfolio-preview-home {
    background: #fff;
    padding: 8rem 0;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* <-- On passe de 2 à 3 colonnes ici */
    gap: 30px;
    /* J'ai légèrement réduit l'espacement (gap) pour que les 3 cartes respirent bien */
    margin-bottom: 5rem;
}

.project-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

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

.project-image {
    width: 100%;
    height: 250px;
    /* <-- J'ai réduit la hauteur (de 350px à 250px) pour équilibrer le format plus étroit des cartes */
    object-fit: cover;
    transition: var(--transition);
}

.project-card:hover .project-image {
    transform: scale(1.03);
}

.project-content {
    padding: 2rem;
    /* J'ai très légèrement réduit le padding (de 2.5rem à 2rem) pour la carte plus petite */
}

.project-tags {
    display: block;
    font-size: 0.7rem;
    /* Tag un peu plus petit */
    font-weight: 700;
    color: var(--cyan-blue);
    text-transform: uppercase;
    margin-bottom: 0.8rem;
    letter-spacing: 0.1em;
}

.project-client-name {
    font-size: 0.85rem;
    /* Client un peu plus petit */
    color: #888;
    margin-bottom: 0.5rem;
}

.project-title {
    font-size: 1.4rem;
    /* Titre plus adapté à la largeur de la carte */
    color: var(--text-main);
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.project-excerpt {
    font-size: 0.9rem;
    /* Texte d'intro ajusté */
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.project-link {
    font-weight: 700;
    color: var(--primary-blue);
    font-size: 0.85rem;
}

.portfolio-cta {
    text-align: left;
    margin-top: 3rem;
}

/* ==========================================================================
   6. CLIENTS MARQUEE
   ========================================================================= */
.clients-marquee-section {
    padding: 5rem 0;
    background: #fafafa;
    text-align: center;
}

.clients-marquee-section .section-subtitle {
    text-align: center;
    font-family: var(--font-display) !important;
    font-weight: 800 !important;
    text-transform: none;
    font-size: 1.4rem;
    margin-bottom: 2.4rem;
}

.marquee-container {
    margin-top: 2rem;
    overflow: hidden;
    position: relative;
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: marquee 40s linear infinite;
    gap: 80px;
    align-items: center;
}

.marquee-track:hover {
    animation-play-state: paused;
}

.marquee-track img {
    height: 80px;
    width: auto;
    opacity: 0.5;
    filter: grayscale(1);
    transition: 0.3s;
    cursor: pointer;
}

.marquee-track img:hover {
    opacity: 1;
    filter: grayscale(0);
    transform: scale(1.05);
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

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

/* ==========================================================================
   7. CALL TO ACTION / FOOTER (DOUBLE THEME)
   ========================================================================= */

/* --- THÈME SOMBRE (PAR DÉFAUT) --- */
#main-footer {
    background: var(--dark-blue);
    color: #fff;
    position: relative;
    overflow: hidden;
    transition: background-color 0.3s ease;
}

.footer-cta {
    padding: 10rem 0 8rem;
    position: relative;
}

.cta-watermark {
    position: absolute;
    right: -8%;
    top: 50%;
    transform: translateY(-50%);
    font-size: 55vw;
    font-family: var(--font-display);
    font-weight: 900;
    color: rgba(255, 255, 255, 0.02);
    line-height: 1;
    pointer-events: none;
    z-index: 0;
}

.cta-card {
    max-width: 800px;
    position: relative;
    z-index: 1;
    margin: 0;
}

.cta-card h2 {
    font-size: 3.6rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.cta-card p {
    font-size: 1.35rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 580px;
    margin-bottom: 3.5rem;
    font-weight: 400;
    line-height: 1.6;
}

.btn-ghost-luxe {
    display: inline-block;
    padding: 1.2rem 3rem;
    border: 2px solid #fff;
    color: #fff;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: var(--transition);
}

.btn-ghost-luxe:hover {
    background: #fff;
    color: var(--dark-blue);
}

/* Barre de bas de page */
.footer-bottom {
    padding: 2.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    position: relative;
    z-index: 1;
}

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

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a:hover {
    color: #fff;
}


/* --- THÈME CLAIR (INVERSION POUR LA PAGE AGENCE) --- */
#main-footer.light-theme {
    background: #F9F9FB;
    color: var(--dark-blue);
}

#main-footer.light-theme .cta-watermark {
    color: rgba(0, 0, 0, 0.03);
}

#main-footer.light-theme .cta-card h2 {
    color: var(--dark-blue);
}

#main-footer.light-theme .cta-card p {
    color: #666666;
}

#main-footer.light-theme .btn-ghost-luxe {
    border-color: rgba(0, 0, 0, 0.15);
    color: var(--dark-blue);
}

#main-footer.light-theme .btn-ghost-luxe:hover {
    background: var(--dark-blue);
    color: #fff;
    border-color: var(--dark-blue);
}

#main-footer.light-theme .footer-bottom {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    color: #888888;
}

#main-footer.light-theme .footer-links a:hover {
    color: var(--primary-blue);
}



/* ==========================================================================
   8. PAGE EXPERTISES (RESTAURATION)
   ========================================================================== */

/* Header de la page */
.portfolio-header {
    padding: 12rem 0 6rem;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.portfolio-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--cyan-blue);
    letter-spacing: 0.15em;
    display: block;
    margin-bottom: 1.5rem;
}

.portfolio-title {
    font-size: 3.5rem;
    color: var(--dark-blue);
    margin-bottom: 1.5rem;
}

.portfolio-title .dot {
    color: var(--cyan-blue);
}

.portfolio-description {
    font-size: 1.25rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Layout Principal d'une Expertise */
.expertise-section {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    /* Aligne le texte et les images au centre verticalement */
    margin-bottom: 6rem;
}

/* --- Colonne Gauche (Texte) --- */
.expertise-left {
    width: 42%;
    position: relative;
    z-index: 2;
}

/* Le grand numéro en filigrane */
.expertise-number {
    position: absolute;
    top: -70px;
    left: -20px;
    font-family: var(--font-display);
    font-size: 14rem;
    font-weight: 900;
    color: rgba(24, 81, 131, 0.04);
    /* Bleu primaire ultra transparent */
    line-height: 1;
    z-index: -1;
    pointer-events: none;
}

.expertise-tags {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--cyan-blue);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    display: block;
    margin-bottom: 1rem;
}

.expertise-title {
    font-size: 3.2rem;
    color: var(--primary-blue);
    line-height: 1.1;
    margin-bottom: 3rem;
    letter-spacing: -0.02em;
}

/* La liste avec les séparateurs */
.expertise-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.expertise-list li {
    padding: 1.2rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-main);
}

.expertise-list li:first-child {
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

/* --- Colonne Droite (Images / Moodboard) --- */
.expertise-right {
    width: 50%;
    position: relative;
    min-height: 500px;
    /* Donne de l'espace pour que les images respirent */
}

.process-moodboard {
    position: relative;
    width: 100%;
    height: 100%;
}

/* La grande image en fond */
.asset-1 {
    width: 85%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 1;
}

.asset-1 img {
    width: 100%;
    display: block;
    object-fit: cover;
}

/* La petite image qui chevauche (Parallaxe) */
.asset-2 {
    width: 55%;
    position: absolute;
    bottom: -10%;
    /* Fait déborder l'image vers le bas */
    right: 0;
    /* Aligne l'image à droite */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
    z-index: 2;
    border: 6px solid #fff;
    /* Cadre blanc pour détacher l'image du fond */
}

.asset-2 img {
    width: 100%;
    display: block;
}

/* Paragraphe central de conclusion */
.expertise-description {
    width: 100%;
    max-width: 800px;
    margin: 8rem auto 0;
    text-align: center;
    font-size: 1.25rem;
    color: #666;
    line-height: 1.6;
}

/* Ligne fine entre les gros blocs d'expertise */
.expertise-divider {
    border: none;
    height: 1px;
    background: rgba(0, 0, 0, 0.05);
    margin: 0 auto 8rem;
    width: 100%;
    max-width: 100px;
    /* Petite ligne chic au centre */
}

/* ==========================================================================
   9. PAGE PORTFOLIO (LISTE ALTERNÉE Z-PATTERN)
   ========================================================================== */
.portfolio-list {
    padding-bottom: 8rem;
}

.portfolio-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10rem;
    position: relative;
}

/* L'alternance grâce à la classe générée par ton PHP */
.portfolio-item.row-reverse {
    flex-direction: row-reverse;
}

/* Le conteneur de l'image (Plus large) */
.portfolio-item-visual {
    width: 60%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 1;
}

.portfolio-img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 4/3;
    /* Force toutes les images à avoir les mêmes proportions */
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* La carte de contenu (En chevauchement) */
.portfolio-item-content {
    width: 45%;
    /* 60% + 45% = 105%, ça crée le chevauchement naturel */
    background: #ffffff;
    padding: 4rem;
    border-radius: 16px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
    z-index: 2;
    position: relative;
    margin-left: -5%;
    /* Chevauchement par défaut (image à gauche) */
    border: 1px solid rgba(0, 0, 0, 0.03);
}

/* On inverse le chevauchement quand l'image est à droite */
.portfolio-item.row-reverse .portfolio-item-content {
    margin-left: 0;
    margin-right: -5%;
}

/* Typographie de la carte projet */
.project-number {
    position: absolute;
    top: 20px;
    right: 30px;
    font-family: var(--font-display);
    font-size: 8rem;
    font-weight: 900;
    color: rgba(24, 81, 131, 0.04);
    line-height: 1;
    z-index: 0;
    pointer-events: none;
}

.portfolio-item-tags {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--cyan-blue);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    display: block;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

.project-client-name {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.portfolio-item-title {
    font-size: 2.5rem;
    color: var(--primary-blue);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.portfolio-item-excerpt {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    position: relative;
    z-index: 1;
}

.luxury-link {
    font-weight: 700;
    color: var(--primary-blue);
    font-size: 1rem;
    position: relative;
    z-index: 1;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.luxury-link:hover {
    color: var(--cyan-blue);
}

/* ==========================================================================
   10. PAGE AGENCE (LE MANIFESTE)
   ========================================================================== */
/* Le Header / Manifeste */
.agency-hero {
    padding: 14rem 0 8rem;
    max-width: 1000px;
    /* Un peu plus large pour laisser respirer le manifeste */
    margin: 0 auto;
}

.agency-hero .portfolio-title {
    text-align: left;
    /* Force l'alignement à gauche */
    font-size: 4.5rem;
    /* Titre géant pour l'impact */
    margin-bottom: 2rem;
}

.agency-intro-text {
    font-size: 2rem;
    font-weight: 300;
    color: #555555;
    line-height: 1.6;
    max-width: 900px;
}

/* La Vision (Asymétrie) */
.vision-section {
    padding-bottom: 12rem;
}

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

.vision-text-p {
    font-size: 1.25rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.vision-text-p:last-child {
    margin-bottom: 0;
}

.vision-image {
    position: relative;
    z-index: 1;
}

.vision-image img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
    display: block;
}

/* Les Piliers / Valeurs (Design Architectural Dark Mode) */
.values-dark-section {
    background: var(--dark-blue);
    padding: 10rem 0;
    color: #fff;
    position: relative;
}

.values-dark-section .section-title {
    color: #ffffff;
    text-align: left;
    margin-bottom: 6rem;
}

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

/* Style typographique sans "cartes" */
.value-item {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    /* Ligne fine séparatrice */
    padding-top: 3rem;
    position: relative;
    transition: transform 0.3s ease;
}

.value-item:hover {
    transform: translateY(-10px);
    /* Léger soulèvement au survol */
}

.value-number {
    display: block;
    font-family: var(--font-display);
    font-size: 6rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.05);
    /* Numéro géant très transparent */
    line-height: 0.8;
    margin-bottom: 1rem;
}

.value-item h3 {
    font-size: 1.8rem;
    color: #ffffff;
    margin-bottom: 1.5rem;
}

.value-item p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.7;
}

/* ==========================================================================
   11. PAGE CONTACT
   ========================================================================== */
.contact-page-section {
    padding: 2rem 0 8rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
    /* Aligne les blocs vers le haut */
}

/* --- Colonne Gauche : Infos --- */
.contact-info-column h1 {
    font-size: 4rem;
    color: var(--dark-blue);
    line-height: 1.1;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

.contact-info-column h1 .dot {
    color: var(--cyan-blue);
}

.contact-intro-p {
    font-size: 1.2rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 4rem;
    max-width: 450px;
}

.contact-details-list {
    list-style: none;
}

.contact-detail-item {
    margin-bottom: 2.5rem;
}

.detail-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 0.5rem;
}

.detail-value {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-blue);
    position: relative;
    display: inline-block;
}

.detail-value:hover {
    color: var(--cyan-blue);
}

.social-links-text {
    display: flex;
    gap: 1.5rem;
}

.social-links-text a {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-blue);
}

.social-links-text a:hover {
    color: var(--cyan-blue);
}

/* --- Colonne Droite : Formulaire --- */
.premium-form {
    background: #ffffff;
    padding: 4rem;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

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

.form-group-premium {
    margin-bottom: 2rem;
}

.form-group-premium label {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 0.8rem;
}

.form-group-premium input,
.form-group-premium textarea {
    width: 100%;
    padding: 1.2rem 1.5rem;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-main);
    background: #fafafa;
    transition: var(--transition);
}

.form-group-premium input:focus,
.form-group-premium textarea:focus {
    outline: none;
    border-color: var(--cyan-blue);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(72, 178, 241, 0.1);
    /* Joli halo cyan au focus */
}

.form-group-premium textarea {
    min-height: 180px;
    resize: vertical;
    /* Permet d'agrandir uniquement vers le bas */
}

.btn-premium-send {
    width: 100%;
    padding: 1.2rem;
    background: var(--primary-blue);
    color: #fff;
    border: none;
    border-radius: var(--radius-full);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 1rem;
}

.btn-premium-send:hover {
    background: var(--dark-blue);
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(24, 81, 131, 0.15);
}





/* ==========================================================================
   MOBILE
   ========================================================================== */

@media (max-width: 991px) {
    .main-header {
        padding: 1rem 0;
        position: fixed;
        background: #fff;
    }

    .main-header.active {
        background: transparent !important;
        border-bottom: none !important;
    }

    .nav-logo.active img,
    .main-header.active .nav-logo {
        color: #fff !important;
    }

    .main-header.active .logo-graphic .logo-c,
    .main-header.active .logo-graphic .logo-i,
    .main-header.active .logo-text,
    .main-header.active .logo-text .innov {
        color: #fff !important;
    }

    .main-header.scrolled {
        padding: 1rem 0;
    }

    .nav-links {
        display: none;
    }

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

    .hero-description {
        font-size: 1.2rem;
        line-height: 1.5;
        max-width: 100%;
        margin-bottom: 2rem;
    }

    .expertises-grid,
    .projects-grid {
        grid-template-columns: 1fr;
    }

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

    /* Responsive Page Expertises */
    .expertise-left,
    .expertise-right {
        width: 100%;
    }

    .expertise-right {
        margin-top: 4rem;
        min-height: auto;
        /* Annule la hauteur forcée */
        padding-bottom: 2rem;
    }

    .asset-1 {
        width: 100%;
    }

    .asset-2 {
        width: 70%;
        bottom: -5%;
        /* Réduit le débordement sur petit écran */
    }

    .expertise-number {
        font-size: 8rem;
        top: -40px;
    }

    /* Responsive Page Portfolio */
    .portfolio-item,
    .portfolio-item.row-reverse {
        flex-direction: column;
        margin-bottom: 6rem;
    }

    .portfolio-item-visual {
        width: 100%;
    }

    .portfolio-item-content,
    .portfolio-item.row-reverse .portfolio-item-content {
        width: 92%;
        margin: -4rem auto 0 !important;
        /* Force le chevauchement vertical */
        padding: 2.5rem;
    }

    .portfolio-item-title {
        font-size: 2rem;
    }

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

    .vision-section {
        padding-bottom: 8rem !important;
    }

    .values-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .value-item {
        padding-top: 2rem;
    }

    /* Responsive Page Contact */
    .contact-page-section {
        padding-top: 8rem;
    }

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

    .contact-info-column h1 {
        font-size: 3rem;
    }

    .contact-intro-p {
        font-size: 1.1rem;
        margin-bottom: 3rem;
    }

    .detail-value {
        font-size: 1.4rem;
    }

    .premium-form {
        padding: 2.5rem 1.5rem;
    }

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

/* ==========================================================================
   12. NOTRE JOURNAL (BLOG PREVIEW)
   ========================================================================== */
#blog-preview {
    background: #ffffff;
    padding: 8rem 0;
}

.blog-preview-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 5rem;
}

.blog-preview-header .section-title,
.blog-preview-header .section-subtitle {
    margin-bottom: 0;
    text-align: left;
}

.blog-preview-header .section-subtitle {
    margin-bottom: 0.8rem;
}

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

.news-card {
    background: #F9F9FB;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.news-image-wrapper {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.news-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.news-card:hover .news-image {
    transform: scale(1.05);
}

.news-content {
    padding: 2.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.news-category {
    color: var(--cyan-blue);
}

.news-date {
    color: #888;
}

.news-title {
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--dark-blue);
    margin-bottom: 2rem;
    line-height: 1.3;
    flex-grow: 1;
}

.news-link {
    font-weight: 700;
    color: var(--primary-blue);
    font-size: 0.9rem;
    transition: var(--transition);
}

.news-link:hover {
    color: var(--cyan-blue);
}

@media (max-width: 991px) {
    .blog-preview-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
    }

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

/* ==========================================================================
   13. PAGE BLOG (LE JOURNAL)
   ========================================================================== */
.latest-news-section {
    padding-top: 4rem;
    padding-bottom: 12rem;
}

.no-results p {
    font-family: var(--font-body);
    font-weight: 300;
    line-height: 1.6;
}

/* ==========================================================================
   14. SINGLE ARTICLE (ARTICLE.PHP)
   ========================================================================== */
.article-single .portfolio-header {
    text-align: center;
    padding-bottom: 4rem;
}

.article-meta-header {
    margin-bottom: 2rem;
}

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

.article-hero-image {
    margin-bottom: 4rem;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.1);
}

.article-hero-image img {
    width: 100%;
    height: auto;
    display: block;
}

.article-body-content {
    font-family: var(--font-body);
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-main);
    letter-spacing: -0.01em;
}

.article-body-content h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--dark-blue);
    margin: 3rem 0 1.5rem;
}

.article-body-content h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin: 2.5rem 0 1rem;
}

.article-body-content p {
    margin-bottom: 2rem;
}

.article-body-content .lead {
    font-size: 1.4rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 3rem;
    font-weight: 300;
}

.article-body-content blockquote {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 1.8rem;
    color: var(--primary-blue);
    padding: 2rem;
    margin: 3rem 0;
    border-left: 5px solid var(--cyan-blue);
    background: #F9F9FB;
    border-radius: 0 12px 12px 0;
}

.article-body-content ul,
.article-body-content ol {
    margin-bottom: 2rem;
    padding-left: 1.5rem;
}

.article-body-content li {
    margin-bottom: 1rem;
}

.article-sep {
    border: none;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    margin: 6rem 0 3rem;
}

.article-footer-nav {
    padding-bottom: 10rem;
}

/* ==========================================================================
   15. CASE STUDY PAGE (PROJECT.PHP)
   ========================================================================== */
.single-project {
    padding-top: 10rem;
    padding-bottom: 8rem;
    background-color: #FFFFFF;
    position: relative;
    z-index: 1;
}

.bg-grain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.04;
    pointer-events: none;
    z-index: 0;
}

.case-study-hero {
    display: grid;
    grid-template-columns: 45% 50%;
    gap: 5%;
    align-items: center;
    margin-bottom: 8rem;
}

.case-study-tags {
    display: block;
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--cyan-blue);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 1.5rem;
}

.case-study-title {
    font-size: 4rem;
    color: var(--dark-blue);
    line-height: 1.1;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

.case-study-client {
    font-size: 1.1rem;
    color: var(--text-muted);
}

.case-study-client strong {
    color: var(--primary-blue);
    font-weight: 700;
}

.case-study-img-wrapper {
    position: relative;
    z-index: 1;
}

.case-study-hero-img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.06);
    display: block;
}

.project-case-section {
    margin-bottom: 8rem;
}

.project-content {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #444;
    max-width: 900px;
    margin: 0 auto;
}

.project-content h2 {
    font-size: 2.2rem;
    color: var(--dark-blue);
    margin: 4rem 0 1.5rem;
}

.project-content h3 {
    font-size: 1.8rem;
    color: var(--primary-blue);
    margin: 3rem 0 1.2rem;
}

.project-content p {
    margin-bottom: 1.8rem;
}

.project-content .lead {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 3rem;
}

.project-content ul {
    margin-bottom: 2rem;
    padding-left: 1.5rem;
}

.project-content li {
    margin-bottom: 0.8rem;
}

.case-study-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin: 6rem 0;
}

.project-case-img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    transition: transform 0.5s ease;
}

.project-case-img:hover {
    transform: translateY(-10px);
}

.single-project-footer {
    margin-top: 8rem;
    text-align: center;
}

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

    .nav-container {
        padding: 0 2rem;
    }

    .nav-links {
        display: none;
    }

    /* Activation du Menu Hamburger */
    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 6px;
        width: 40px;
        height: 40px;
        cursor: pointer;
        z-index: 2005;
        position: relative;
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
    }

    .menu-toggle .bar {
        display: block;
        width: 32px;
        height: 3px;
        background-color: var(--primary-blue);
        border-radius: 10px;
        transition: var(--transition);
        visibility: visible;
        opacity: 1;
    }

    /* Animation Hamburger -> X */
    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(4.5px) rotate(45deg);
        background-color: #fff;
        height: 2px;
    }

    .menu-toggle.active .bar:nth-child(2) {
        transform: translateY(-4.5px) rotate(-45deg);
        background-color: #fff;
        height: 2px;
    }

    /* Overlay Mobile */
    .mobile-menu-overlay {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: var(--dark-blue);
        z-index: 1500;
        visibility: hidden;
        opacity: 0;
        transition: var(--transition);
        pointer-events: none;
    }

    .mobile-menu-overlay.active {
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
    }

    .mobile-nav-links {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 3rem;
        list-style: none;
        visibility: visible;
        opacity: 1;
    }

    .mobile-nav-links li {
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.4s ease;
    }

    .mobile-menu-overlay.active .mobile-nav-links li {
        opacity: 1;
        transform: translateY(0);
    }

    .mobile-menu-overlay.active .mobile-nav-links li:nth-child(1) { transition-delay: 0.1s; }
    .mobile-menu-overlay.active .mobile-nav-links li:nth-child(2) { transition-delay: 0.2s; }
    .mobile-menu-overlay.active .mobile-nav-links li:nth-child(3) { transition-delay: 0.3s; }
    .mobile-menu-overlay.active .mobile-nav-links li:nth-child(4) { transition-delay: 0.4s; }
    .mobile-menu-overlay.active .mobile-nav-links li:nth-child(5) { transition-delay: 0.5s; }

    .mobile-link {
        display: block;
        font-family: var(--font-display);
        font-size: 2rem;
        font-weight: 800;
        color: #fff;
        text-transform: uppercase;
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
    }

    .expertises-grid,
    .projects-grid,
    .news-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    .hero-home {
        padding-top: 2rem;
        text-align: left;
    }

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

    .hero-description {
        font-size: 1.2rem;
        line-height: 1.4;
    }

    .hero-actions {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-actions .btn-primary,
    .hero-actions .btn-secondary {
        width: 100%;
        padding: 1rem 2rem;
    }

    .expertises-grid,
    .projects-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }

    .expertise-card {
        padding: 2rem;
    }

    /* Pages internes */
    .portfolio-header {
        padding: 8rem 1.5rem 4rem;
        text-align: center;
    }

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

    .portfolio-description {
        font-size: 1.1rem;
        max-width: 100%;
    }

    .expertise-section {
        flex-direction: column;
        gap: 3rem;
    }

    .expertise-left,
    .expertise-right {
        width: 100%;
    }

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

    .expertise-number {
        font-size: 8rem;
        top: -40px;
    }

    /* Footer CTA */
    .cta-card h2 {
        font-size: 2.4rem;
    }

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

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    /* Corrections spécifiques demandées par l'utilisateur */
    .section-white-text h2.section-title {
        font-size: 2.2rem;
        word-wrap: break-word;
    }
    
    /* Correction du titre qui sortait de l'écran */
    .cta-card h2 {
        font-size: 2.4rem;
        line-height: 1.1;
    }
}

@media (max-width: 480px) {
    .logo-text {
        font-size: 1.4rem;
    }
    
    .logo-graphic {
        width: 36px;
        height: 36px;
        font-size: 28px;
    }

    .hero-label {
        font-size: 0.75rem;
        padding: 8px 16px;
    }
}

/* ==========================================================================
   14. LIENS DANS LES CONTENUS (PROJETS & BLOG)
   ========================================================================== */
.project-content a, 
.article-body-content a,
.vision-text a {
    color: var(--primary-blue);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-thickness: 1px;
    transition: var(--transition);
}

.project-content a:hover, 
.article-body-content a:hover,
.vision-text a:hover {
    color: var(--cyan-blue);
    text-decoration-thickness: 2px;
}

/* ==========================================================================
   15. CORRECTIFS RESPONSIVE SUPPLÉMENTAIRES
   ========================================================================== */
@media (max-width: 991px) {
    .case-study-hero {
        grid-template-columns: 1fr;
        gap: 2rem; /* Réduit */
        text-align: center;
        margin-bottom: 3rem; /* Réduit */
    }

    .case-study-text {
        order: 2;
    }

    .case-study-img-wrapper {
        order: 1;
    }

    .case-study-title {
        font-size: 2.2rem;
        margin-bottom: 1rem; /* Réduit */
        word-wrap: break-word;
    }

    .case-study-client {
        margin-bottom: 1.5rem;
    }

    .project-case-section {
        margin-bottom: 4rem; /* Réduit */
    }

    .project-content h2 {
        font-size: 1.8rem;
        margin-top: 3rem; /* Réduit */
        margin-bottom: 1rem;
    }

    .project-content h3 {
        font-size: 1.4rem;
        margin-top: 2.5rem; /* Réduit */
        margin-bottom: 0.8rem;
    }

    .case-study-gallery {
        grid-template-columns: 1fr;
        gap: 15px;
        margin: 3rem 0; /* Réduit */
    }

    .small-container {
        padding: 0 1.5rem;
    }

    .article-single .portfolio-header {
        padding-top: 6rem;
        padding-bottom: 2rem;
    }

    .article-hero-image {
        margin-bottom: 2rem;
    }

    .article-body-content h2 {
        font-size: 1.6rem;
        margin: 2rem 0 1rem;
    }

    /* Sécurité Menu Mobile pour éviter les liens fantômes */
    .mobile-menu-overlay {
        display: none;
    }

    .mobile-menu-overlay.active {
        display: flex;
    }
}

@media (max-width: 480px) {
    .case-study-title {
        font-size: 1.8rem;
    }
    
    .single-project {
        padding-top: 6.5rem; /* Réduit */
    }

    .project-content p {
        font-size: 1.05rem;
        margin-bottom: 1.2rem;
    }

    .project-content .lead {
        font-size: 1.2rem;
        margin-bottom: 2rem;
    }
}



