/* ============================================================
   STYLE CSS V2 - AGENCY FAMILY CLX
   Designé & Hébergé par UlyWeb.fr
   ============================================================ */

:root {
    --gold-light: #FFDF00;
    --gold-main: #F4B400;
    --gold-dark: #B8860B;
    --bg-color: #FAFAFC;
    --text-dark: #111111;
    --text-gray: #666666;
    --card-bg: #FFFFFF;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* --- BASE --- */
body, html {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-dark);
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* --- EFFET SOURIS (LUEUR DORÉE) --- */
.cursor-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(244, 180, 0, 0.12) 0%, rgba(250, 250, 252, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: top 0.1s ease-out, left 0.1s ease-out;
}

/* --- NAVIGATION --- */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 50px;
    background-color: rgba(255, 255, 255, 0.9);
    border-bottom: 2px solid var(--gold-light);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.logo {
    font-size: 24px;
    font-weight: 900;
    color: var(--text-dark);
    font-style: italic;
    text-decoration: none;
    letter-spacing: -1px;
}

.logo span {
    background: linear-gradient(45deg, var(--gold-light), var(--gold-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

nav a {
    color: var(--text-gray);
    text-decoration: none;
    margin: 0 15px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85em;
    transition: 0.3s ease;
}

nav a:hover, nav a.active {
    color: var(--gold-main);
}

/* --- TYPOGRAPHIE & SECTIONS --- */
.container {
    padding: 80px 20px;
    max-width: 1200px;
    margin: auto;
    text-align: center;
}

h1 {
    font-size: 3.5em;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-style: italic;
    font-weight: 900;
}

h2 {
    font-size: 2.2em;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 25%;
    width: 50%;
    height: 4px;
    background: var(--gold-main);
    border-radius: 2px;
}

.text-gradient {
    background: linear-gradient(to right, var(--gold-main), var(--gold-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

p {
    font-size: 1.15em;
    line-height: 1.7;
    color: var(--text-gray);
    max-width: 800px;
    margin: 0 auto 30px;
}

/* --- GRILLES & CARTES --- */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 40px 30px;
    border: 1px solid #f0f0f0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: var(--shadow);
}

.card:hover {
    border-color: var(--gold-main);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(244, 180, 0, 0.12);
}

/* --- BOUTONS --- */
.btn-outline {
    display: inline-block;
    padding: 12px 30px;
    border: 2px solid var(--gold-main);
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.9em;
    transition: 0.3s;
}

.btn-outline:hover {
    background-color: var(--gold-main);
    color: white;
    box-shadow: 0 10px 20px rgba(244, 180, 0, 0.3);
}

/* --- STATISTIQUES --- */
.stats {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    background: white;
    padding: 50px;
    border-radius: 25px;
    margin: 50px 0;
    border: 1px solid #f0f0f0;
    box-shadow: var(--shadow);
}

.stat-box h3 {
    font-size: 3.2em;
    color: var(--gold-main);
    margin: 0;
    font-weight: 900;
}

.stat-box p {
    margin: 5px 0 0;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.8em;
    letter-spacing: 1px;
}

/* --- FOOTER & SIGNATURE --- */
footer {
    background-color: white;
    padding: 60px 20px 30px;
    text-align: center;
    border-top: 3px solid var(--gold-light);
    margin-top: 100px;
}

.footer-links {
    margin-bottom: 30px;
}

.footer-links a {
    color: var(--text-gray);
    text-decoration: none;
    margin: 0 20px;
    font-weight: 600;
    transition: 0.3s;
}

.footer-links a:hover {
    color: var(--gold-main);
}

.copyright {
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: 1px;
}

.dev-signature {
    margin-top: 15px;
    font-size: 0.85em;
    color: var(--text-gray);
    font-style: italic;
}

.dev-signature a {
    color: var(--gold-dark);
    text-decoration: none;
    font-weight: 900;
    transition: 0.3s;
}

.dev-signature a:hover {
    color: var(--gold-main);
    text-decoration: underline;
}