@font-face {
    font-family: 'Exod';
    src: url('../font/ExodusDemo-Sharpen.woff2') format('woff2'),
        url('../font/ExodusDemo-Sharpen.woff') format('woff'),
        url('../font/ExodusDemo-Sharpen.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

.font-exod {
    font-family: 'Exod', sans-serif !important;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: #1a1a1a;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    background-color: #ffffff;
}

h1,
h2,
h3,
.serif {
    font-family: 'Playfair Display', serif;
}

#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: #e11d48;
    z-index: 100;
    transition: width 0.1s ease-out;
}

.nav-link {
    position: relative;
    transition: opacity 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: currentColor;
    transition: width 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

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

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s cubic-bezier(0.23, 1, 0.32, 1);
}

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

/* Animations spécifiques index */
.plus-rotate {
    display: inline-block;
    transform: rotate(90deg) scaleX(2);
    color: #e11d48;
    font-size: 130%;
    margin-left: -0.1em;
    margin-right: 0.15em;
    line-height: 0;
    vertical-align: middle;
    font-weight: 700;
    position: relative;
    top: -0.05em;
    z-index: 10;
}

.dynamic-phrase {
    display: block;
    transition: all 1s cubic-bezier(0.76, 0, 0.24, 1);
    opacity: 1;
    transform: translateY(0);
}

.dynamic-phrase.fade-out {
    opacity: 0;
    transform: translateY(-40px) skewY(2deg);
    filter: blur(5px);
}

.dynamic-phrase.fade-in {
    opacity: 0;
    transform: translateY(40px) skewY(-2deg);
    filter: blur(5px);
}

.bg-video-overlay {
    filter: brightness(70%);
    opacity: 1;
    transition: opacity 1s ease;
}

/* ROTATEUR DE MOTS */
.agency-rotator {
    display: inline-block;
    position: relative;
    overflow: hidden;
    vertical-align: bottom;
    height: 1.2em;
}

.agency-word {
    display: block;
    color: #e11d48;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.6s ease;
}

.agency-word.exit {
    transform: translateY(-100%);
    opacity: 0;
}

.agency-word.enter {
    transform: translateY(100%);
    opacity: 0;
}

/* ESCALIER DYNAMIQUE */
.stair-step {
    opacity: 0.25;
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    border-left: 1px solid #e11d48;
    padding-left: 3rem;
    margin-bottom: 4rem;
}

.stair-step:hover,
.stair-step.active {
    opacity: 0.8;
    transform: translateX(15px);
}

.tech-marker {
    position: absolute;
    left: -11px;
    top: 0;
    width: 21px;
    height: 21px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
}

.marker-inner-filled {
    width: 8px;
    height: 8px;
    background: #e11d48;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(225, 29, 72, 0.5);
}

.marker-inner-outline {
    width: 16px;
    height: 16px;
    border: 1.5px solid #e11d48;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.marker-crosshair {
    position: absolute;
    width: 30px;
    height: 30px;
    pointer-events: none;
}

.marker-crosshair::before,
.marker-crosshair::after {
    content: '';
    position: absolute;
    background: #e11d48;
    opacity: 0.5;
}

.marker-crosshair::before {
    width: 1px;
    height: 100%;
    left: 50%;
    top: 0;
}

.marker-crosshair::after {
    height: 1px;
    width: 100%;
    top: 50%;
    left: 0;
}

/* Fibonacci Gallery Styles */
.fibonacci-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 1.5rem;
    height: 85vh;
    position: relative;
    z-index: 5;
}

.fib-item {
    position: relative;
    overflow: hidden;
    background: #000;
}

.fib-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 1.2s cubic-bezier(0.23, 1, 0.32, 1);
}

.fib-item:hover img {
    filter: grayscale(0%);
    opacity: 0.4;
    transform: scale(1.05);
}

.fib-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2.5rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 40%),
        linear-gradient(to bottom, rgba(0, 0, 0, 0.5) 0%, transparent 20%);
    transition: all 0.4s ease;
    z-index: 10;
}

.vertical-text {
    writing-mode: vertical-rl;
    text-orientation: mixed;
}

.fib-corner-mark {
    position: absolute;
    width: 15px;
    height: 15px;
    border: 1px solid rgba(225, 29, 72, 0.4);
    z-index: 15;
    pointer-events: none;
}

.corner-tl {
    top: 1rem;
    left: 1rem;
    border-right: 0;
    border-bottom: 0;
}

.corner-br {
    bottom: 1rem;
    right: 1rem;
    border-left: 0;
    border-top: 0;
}

@media (max-width: 1024px) {
    .fibonacci-grid {
        display: flex;
        flex-direction: column;
        height: auto;
    }

    .fib-item {
        aspect-ratio: 16/9;
    }

    .stair-step {
        margin-left: 0 !important;
    }
}

/* Stagger delays */
.reveal-delay-100 {
    transition-delay: 0.1s;
}

.reveal-delay-200 {
    transition-delay: 0.2s;
}

.reveal-delay-300 {
    transition-delay: 0.3s;
}

html {
    scroll-behavior: smooth;
}

/* --- CONVERSION CTAS --- */
.floating-cta {
    display: none;
    /* Mobile only via media query */
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    background-color: #e11d48;
    /* Red-600 */
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(225, 29, 72, 0.4);
    z-index: 90;
    align-items: center;
    justify-content: center;
    color: white;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: pulse-cta 2s infinite;
}

.floating-cta:active {
    transform: scale(0.9);
}

@media (max-width: 768px) {
    .floating-cta {
        display: flex;
    }
}

@keyframes pulse-cta {
    0% {
        box-shadow: 0 0 0 0 rgba(225, 29, 72, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(225, 29, 72, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(225, 29, 72, 0);
    }
}

.sales-banner {
    background: #09090b;
    /* Zinc-950 */
    color: white;
    padding: 4rem 1.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.sales-banner-btn {
    display: inline-block;
    background: #e11d48;
    color: white;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    padding: 1rem 2.5rem;
    margin-top: 2rem;
    transition: all 0.3s ease;
    border: 1px solid #e11d48;
}

.sales-banner-btn:hover {
    background: transparent;
    color: #e11d48;
}

.menu-highlight {
    color: #e11d48 !important;
    /* Force red */
    border: 1px solid rgba(225, 29, 72, 0.2);
    padding: 8px 16px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.menu-highlight:hover {
    background: #e11d48;
    color: white !important;
}