/* ==================== VARIABLES DE COULEUR ==================== */
:root {
    --color-primary: #D4AF37;    /* Or */
    --color-dark: #1a1a1a;       /* Noir très foncé */
    --color-light: #ffffff;      /* Blanc */
    --color-gray: #f5f5f5;       /* Gris clair */
    --color-text: #333333;       /* Texte sombre */
    --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ==================== RESET CSS ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, var(--color-light) 0%, var(--color-gray) 100%);
    color: var(--color-text);
    line-height: 1.6;
    min-height: 100vh;
}

/* ==================== CONTAINER ==================== */
.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
}

/* ==================== HEADER ==================== */
.header {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, var(--color-dark) 0%, #2d2d2d 100%);
    border-radius: 20px;
    margin-bottom: 50px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, rgba(212, 175, 55, 0.1), transparent);
    pointer-events: none;
}

.logo-section {
    position: relative;
    z-index: 1;
}

.logo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--color-primary);
    margin-bottom: 20px;
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
    transition: var(--transition);
    animation: logoFloat 3s ease-in-out infinite;
}

.logo:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 35px rgba(212, 175, 55, 0.5);
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.header h1 {
    font-size: 2.5em;
    color: var(--color-light);
    margin-bottom: 10px;
    font-weight: 700;
    letter-spacing: 1px;
}

.tagline {
    font-size: 1.1em;
    color: var(--color-primary);
    font-weight: 300;
    letter-spacing: 0.5px;
}

/* ==================== SERVICES SECTION ==================== */
.services-section {
    margin-bottom: 60px;
}

.services-section h2 {
    text-align: center;
    font-size: 2em;
    color: var(--color-dark);
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.services-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.service-card {
    background: var(--color-light);
    padding: 30px;
    border-radius: 15px;
    border-left: 5px solid var(--color-primary);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), transparent);
    transition: right 0.3s ease;
    pointer-events: none;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.2);
}

.service-card:hover::before {
    right: 0;
}

.service-icon {
    font-size: 2.5em;
    margin-bottom: 15px;
}

.service-card h3 {
    color: var(--color-dark);
    margin-bottom: 10px;
    font-size: 1.2em;
}

.service-card p {
    color: #666;
    font-size: 0.95em;
    line-height: 1.5;
}

/* ==================== SOCIAL SECTION ==================== */
.social-section {
    background: white;
    padding: 50px 30px;
    border-radius: 20px;
    margin-bottom: 40px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.social-section h2 {
    font-size: 2em;
    color: var(--color-dark);
    margin-bottom: 10px;
    position: relative;
    padding-bottom: 15px;
}

.social-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
}

.social-subtitle {
    color: #999;
    margin-bottom: 35px;
    font-size: 1em;
}

.social-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 15px;
}

.social-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border-radius: 12px;
    text-decoration: none;
    transition: var(--transition);
    font-weight: 600;
    font-size: 0.95em;
    color: var(--color-dark);
    background: var(--color-gray);
}

.social-btn img {
    width: 40px;
    height: 40px;
    margin-bottom: 8px;
    object-fit: contain;
    transition: var(--transition);
}

.social-btn span {
    transition: var(--transition);
}

.social-btn:hover {
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.7), 0 0 60px rgba(212, 175, 55, 0.4);
}

/* ==================== WEBSITE SECTION ==================== */
.website-section {
    text-align: center;
    margin-bottom: 40px;
    padding: 40px 30px;
    background: linear-gradient(135deg, var(--color-dark) 0%, #2d2d2d 100%);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.website-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1), transparent);
}

.website-section h2 {
    font-size: 1.8em;
    color: var(--color-light);
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.website-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 50px;
    background: linear-gradient(135deg, var(--color-primary), #e6c200);
    color: var(--color-dark);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1em;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
    position: relative;
    z-index: 1;
    letter-spacing: 0.5px;
}

.website-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.5);
}

.website-btn:active {
    transform: translateY(-1px);
}

.btn-arrow {
    font-size: 1.3em;
    transition: var(--transition);
    animation: slideArrow 2s ease-in-out infinite;
}

.website-btn:hover .btn-arrow {
    transform: translateX(5px);
    animation: none;
}

@keyframes slideArrow {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(5px); }
}

/* ==================== FOOTER ==================== */
.footer {
    text-align: center;
    padding: 30px 20px;
    color: var(--color-dark);
    border-top: 2px solid rgba(212, 175, 55, 0.2);
}

.footer p {
    margin: 5px 0;
}

.footer-subtitle {
    color: var(--color-primary);
    font-size: 0.95em;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 768px) {
    .header {
        padding: 30px 15px;
        margin-bottom: 40px;
    }

    .header h1 {
        font-size: 2em;
    }

    .logo {
        width: 120px;
        height: 120px;
    }

    .services-section h2,
    .social-section h2,
    .website-section h2 {
        font-size: 1.6em;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .social-links {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }

    .website-btn {
        padding: 15px 40px;
        font-size: 1em;
    }

    .container {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .header h1 {
        font-size: 1.6em;
    }

    .tagline {
        font-size: 0.95em;
    }

    .logo {
        width: 95px;
        height: 95px;
    }

    .services-section h2,
    .social-section h2,
    .website-section h2 {
        font-size: 1.4em;
    }

    .service-card {
        padding: 20px;
    }

    .social-section {
        padding: 30px 15px;
    }

    .social-links {
        grid-template-columns: repeat(2, 1fr);
    }

    .social-btn {
        padding: 15px;
    }

    .social-btn img {
        width: 35px;
        height: 35px;
    }

    .website-btn {
        padding: 12px 30px;
        font-size: 0.95em;
    }
}

/* ==================== ANIMATIONS SUPPLÉMENTAIRES ==================== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card,
.social-btn,
.website-btn {
    animation: fadeIn 0.6s ease forwards;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }
