/*
==========================================================================
IMPROVED AGENCY - GLOBAL STYLES v3.0
==========================================================================
*/
:root {
    /* Palette Principale */
    --yellow: #e9cc38;
    --green: #008766;
    --green-dark: #006f52;

    /* Neutres Premium */
    --dark: #141414;
    --darker: #0a0a0a;
    --grey-dim: rgba(255, 255, 255, 0.05);
    --dark-card: #1f1f1f;
    --dark-secondary: #2d2d2d;
    --light: #ffffff;
    --light-gray: #f8f9fa;
    --text-gray: #6b7280;
    --border-gray: #e5e7eb;
    --border-dark: #333333;

    /* Typographie */
    --font-display: 'Montserrat', sans-serif;
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Open Sans', sans-serif;

    /* Transitions */
    --transition-fast: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-slow: 0.6s cubic-bezier(0.19, 1, 0.22, 1);
    --transition-crazy: 1s cubic-bezier(0.19, 1, 0.22, 1);

    /* Responsive */
    --container-width: 1200px;

    /* Tribal / Ndop Accents */
    --ndop-blue: #002244;
    --tribal-ochre: #C17F38;
    --tribal-red: #A8332A;
}

/* NDOP PATTERN CSS */
.pattern-ndop {
    background-color: var(--dark);
    background-image:
        radial-gradient(circle at 100% 150%, var(--dark) 24%, rgba(255, 255, 255, 0.03) 25%, rgba(255, 255, 255, 0.03) 28%, var(--dark) 29%, var(--dark) 36%, rgba(255, 255, 255, 0.03) 36%, rgba(255, 255, 255, 0.03) 40%, transparent 40%, transparent),
        radial-gradient(circle at 0 150%, var(--dark) 24%, rgba(255, 255, 255, 0.03) 25%, rgba(255, 255, 255, 0.03) 28%, var(--dark) 29%, var(--dark) 36%, rgba(255, 255, 255, 0.03) 36%, rgba(255, 255, 255, 0.03) 40%, transparent 40%, transparent),
        radial-gradient(circle at 50% 100%, rgba(255, 255, 255, 0.03) 10%, var(--dark) 11%, var(--dark) 23%, rgba(255, 255, 255, 0.03) 24%, rgba(255, 255, 255, 0.03) 30%, var(--dark) 31%, var(--dark) 43%, rgba(255, 255, 255, 0.03) 44%, rgba(255, 255, 255, 0.03) 50%, var(--dark) 51%, var(--dark) 63%, rgba(255, 255, 255, 0.03) 64%, rgba(255, 255, 255, 0.03) 71%, transparent 71%, transparent);
    background-size: 50px 50px;
}

.tribal-accent {
    border-left: 5px solid var(--tribal-ochre);
    padding-left: 1rem;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: var(--font-body);
    background-color: var(--light);
    color: var(--dark-secondary);
    overflow-x: hidden;
    width: 100%;
    line-height: 1.6;
}

/* Conteneur global */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Style de section global */
.section {
    padding: 5rem 0;
    overflow: hidden;
    position: relative;
}

@media (min-width: 768px) {
    .section {
        padding: 5rem 0;
    }
}

/* Utilitaires */
.bg-light-gray {
    background-color: var(--light-gray);
}

.bg-dark {
    background-color: var(--dark);
    color: var(--light);
}

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

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

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

/* Éléments de texte */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    font-weight: 900;
    line-height: 1.2;
    color: var(--dark);
}

.bg-dark h1,
.bg-dark h2,
.bg-dark h3 {
    color: var(--light);
}

/* TITRES H2 ANIMÉS */
h2.section-title {
    font-size: clamp(2.25rem, 6vw, 3.5rem);
    text-align: center;
    margin-bottom: 1.5rem;
    position: relative;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

h2.section-title span {
    display: block;
    transform: translateY(110%);
    transition: transform var(--transition-crazy);
}

h2.section-title.visible span {
    transform: translateY(0);
}

/* Soulignement animé */
h2.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    width: 80px;
    height: 5px;
    background: linear-gradient(90deg, var(--yellow), var(--green));
    border-radius: 5px;
    transform: translateX(-50%) scaleX(0);
    transform-origin: center;
    transition: transform var(--transition-slow);
}

h2.section-title.visible::after {
    transform: translateX(-50%) scaleX(1);
    transition-delay: 0.5s;
}

p.section-intro {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    font-family: var(--font-heading);
    font-weight: 400;
    color: var(--text-gray);
    text-align: center;
    max-width: 750px;
    margin: 0 auto 4rem auto;
    line-height: 1.7;
}

p.section-intro.left-align {
    margin-left: 0;
    text-align: left;
}

p {
    margin-bottom: 1rem;
    color: var(--text-gray);
}

.bg-dark p {
    color: #a0a0a0;
}

/* Section base utility */
.section-standard { padding: 8rem 0; }
.section-narrow { max-width: 800px; margin: 0 auto; }

/* Flex & Grid Layouts */
.flex-column-center { display: flex; flex-direction: column; align-items: center; text-align: center; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2.5rem; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 4rem; }

/* Components */
.card-premium {
    background: rgba(255, 255, 255, 0.02);
    padding: 3rem;
    border-radius: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}
.card-premium:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--green);
}

.icon-box { font-size: 2.5rem; color: var(--green); margin-bottom: 1.5rem; }
.mono-label { font-family: 'JetBrains Mono', monospace; color: var(--yellow); letter-spacing: 4px; text-transform: uppercase; font-size: 0.8rem; }

/* Specific Overlays */
.hero-glow-green { position: absolute; top: 20%; left: 10%; width: 400px; height: 400px; background: radial-gradient(circle, rgba(0, 135, 102, 0.15) 0%, transparent 70%); filter: blur(60px); pointer-events: none; }
.hero-glow-yellow { position: absolute; bottom: 10%; right: 5%; width: 500px; height: 500px; background: radial-gradient(circle, rgba(233, 204, 56, 0.1) 0%, transparent 70%); filter: blur(80px); pointer-events: none; }

/* About Page Specifics */
.about-image-frame { width: 100%; aspect-ratio: 4/5; border-radius: 60px; overflow: hidden; box-shadow: 0 40px 100px rgba(0,0,0,0.15); }
.about-quote { font-size: clamp(1.5rem, 3vw, 2.5rem); font-family: var(--font-display); font-weight: 900; color: var(--dark); line-height: 1.2; margin-bottom: 3rem; }

/* WHATSAPP BUTTON STYLES */
#whatsapp-float {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    z-index: 999;
    background: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
}

#whatsapp-float:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.5);
}

@media (max-width: 768px) {
    #whatsapp-float {
        bottom: 1rem;
        left: 1rem;
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}
