/* ============================================
   BOUGOR ASSOCIATION – STYLE PRINCIPAL
   Palette : Rose magenta #E0368B → Violet #7B3FA0 → Bleu cyan #3ABDE0
   Marine foncé : #1C3A5E
   ============================================ */

/* ---- Variables CSS ---- */
:root {
    --rose:      #E0368B;
    --violet:    #9B4DBE;
    --bleu:      #3ABDE0;
    --bleu-light:#63D1F0;
    --marine:    #1C3A5E;
    --marine-md: #24507A;
    --blanc:     #FFFFFF;
    --gris-clair:#F4F6FA;
    --gris:      #E8EDF5;

    --grad-main: linear-gradient(135deg, var(--rose) 0%, var(--violet) 50%, var(--bleu) 100%);
    --grad-btn:  linear-gradient(135deg, var(--rose) 0%, var(--bleu) 100%);
    --grad-bg:   linear-gradient(160deg, #0D1B2E 0%, #1C3A5E 50%, #0D2540 100%);

    --shadow-card: 0 8px 40px rgba(28, 58, 94, 0.12);
    --shadow-glow: 0 0 60px rgba(58, 189, 224, 0.25);
    --radius-card: 20px;
    --transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--grad-bg);
    color: var(--blanc);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.7;
}

/* ---- Fond animé avec particules ---- */
.bg-particles {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.bg-particles::before {
    content: '';
    position: absolute;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(58, 189, 224, 0.12) 0%, transparent 70%);
    top: -100px; right: -100px;
    border-radius: 50%;
    animation: floatBubble 8s ease-in-out infinite;
}

.bg-particles::after {
    content: '';
    position: absolute;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(224, 54, 139, 0.1) 0%, transparent 70%);
    bottom: -100px; left: -100px;
    border-radius: 50%;
    animation: floatBubble 10s ease-in-out infinite reverse;
}

.particle {
    position: absolute;
    width: 4px; height: 4px;
    border-radius: 50%;
    background: var(--bleu-light);
    opacity: 0;
    animation: particleFade var(--duration, 6s) ease-in-out infinite;
    animation-delay: var(--delay, 0s);
}

@keyframes floatBubble {
    0%, 100% { transform: translateY(0) scale(1); }
    50%       { transform: translateY(-30px) scale(1.05); }
}

@keyframes particleFade {
    0%   { opacity: 0; transform: translateY(0) scale(0); }
    30%  { opacity: 0.6; transform: translateY(-20px) scale(1); }
    100% { opacity: 0; transform: translateY(-80px) scale(0.5); }
}

/* ---- Page Wrapper ---- */
.page-wrapper {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px 60px;
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 48px 0 32px;
}

.logo-container {
    position: relative;
}

.logo-container::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 3px;
    background: var(--grad-main);
    border-radius: 2px;
    opacity: 0.5;
}

.logo {
    width: 140px;
    height: 140px;
    object-fit: contain;
    filter: drop-shadow(0 8px 30px rgba(58, 189, 224, 0.35));
    animation: logoPulse 4s ease-in-out infinite;
}

@keyframes logoPulse {
    0%, 100% { filter: drop-shadow(0 8px 30px rgba(58, 189, 224, 0.35)); }
    50%       { filter: drop-shadow(0 8px 50px rgba(224, 54, 139, 0.4)); }
}

/* ============================================
   MAIN CONTENT
   ============================================ */
.main-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-top: 16px;
}

/* ---- Badge "Coming Soon" ---- */
.badge-coming-soon {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(58, 189, 224, 0.12);
    border: 1px solid rgba(58, 189, 224, 0.3);
    color: var(--bleu-light);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 28px;
    backdrop-filter: blur(10px);
    animation: fadeInDown 0.8s ease both;
}

.badge-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--bleu);
    box-shadow: 0 0 8px var(--bleu);
    animation: blink 1.5s ease-in-out infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; box-shadow: 0 0 8px var(--bleu); }
    50%       { opacity: 0.4; box-shadow: none; }
}

/* ---- Titre principal ---- */
.main-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--blanc);
    animation: fadeInDown 0.9s ease 0.1s both;
}

.gradient-text {
    background: var(--grad-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.main-subtitle {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: rgba(255,255,255,0.65);
    max-width: 600px;
    margin-bottom: 48px;
    font-weight: 300;
    animation: fadeInDown 1s ease 0.2s both;
}

/* ---- Séparateur décoratif ---- */
.separator {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    max-width: 500px;
    margin: 20px auto 48px;
}

.separator span:first-child,
.separator span:last-child {
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.15), transparent);
}

.sep-icon {
    background: var(--grad-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.2rem;
}

/* ============================================
   SECTION SERVICES
   ============================================ */
.services-section {
    width: 100%;
    margin-bottom: 20px;
}

.section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 700;
    color: var(--blanc);
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 1rem;
    color: rgba(255,255,255,0.55);
    max-width: 520px;
    margin: 0 auto 40px;
    font-weight: 300;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    text-align: left;
}

.service-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: var(--radius-card);
    padding: 32px 28px;
    backdrop-filter: blur(12px);
    transition: var(--transition);
    animation: fadeInUp 0.7s ease both;
    animation-delay: calc(var(--delay, 0) * 1ms);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 3px;
    background: var(--grad-main);
    border-radius: var(--radius-card) var(--radius-card) 0 0;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(58, 189, 224, 0.25);
    transform: translateY(-6px);
    box-shadow: var(--shadow-glow);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 52px; height: 52px;
    background: var(--grad-main);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    padding: 12px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(3deg);
    box-shadow: 0 8px 25px rgba(58, 189, 224, 0.4);
}

.service-icon svg {
    width: 100%; height: 100%;
    color: white;
}

.service-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--blanc);
    margin-bottom: 10px;
}

.service-desc {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.65;
    margin-bottom: 16px;
}

.service-list {
    list-style: none;
    padding: 0;
}

.service-list li {
    font-size: 0.83rem;
    color: rgba(255,255,255,0.5);
    padding: 4px 0 4px 20px;
    position: relative;
}

.service-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    background: var(--grad-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
}

/* ============================================
   SECTION AUDIENCE
   ============================================ */
.audience-section {
    width: 100%;
    margin-bottom: 20px;
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    text-align: left;
}

.audience-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: var(--radius-card);
    padding: 28px 24px;
    transition: var(--transition);
}

.audience-card.primary {
    background: rgba(58, 189, 224, 0.08);
    border-color: rgba(58, 189, 224, 0.25);
}

.audience-card:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.07);
    border-color: rgba(58, 189, 224, 0.3);
    box-shadow: 0 12px 40px rgba(58, 189, 224, 0.15);
}

.audience-icon {
    font-size: 2rem;
    margin-bottom: 14px;
}

.audience-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--blanc);
    margin-bottom: 10px;
}

.audience-card p {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.65;
}

.audience-tag {
    display: inline-block;
    margin-top: 14px;
    background: var(--grad-main);
    color: white;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 50px;
}

/* ============================================
   SECTION CONTACT
   ============================================ */
.contact-section {
    width: 100%;
    max-width: 680px;
    margin-bottom: 20px;
}

.contact-card {
    position: relative;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(58, 189, 224, 0.2);
    border-radius: 28px;
    padding: 52px 40px;
    overflow: hidden;
    backdrop-filter: blur(16px);
}

.contact-glow {
    position: absolute;
    top: -80px; left: 50%;
    transform: translateX(-50%);
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(58, 189, 224, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.contact-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    color: var(--blanc);
    margin-bottom: 16px;
}

.contact-text {
    font-size: 1rem;
    color: rgba(255,255,255,0.65);
    margin-bottom: 32px;
    font-weight: 300;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--grad-btn);
    color: white;
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 700;
    padding: 16px 36px;
    border-radius: 50px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(224, 54, 139, 0.3);
    letter-spacing: 0.01em;
}

.contact-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0);
    transition: background 0.3s;
}

.contact-btn:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 14px 45px rgba(58, 189, 224, 0.45);
}

.contact-btn:hover::after {
    background: rgba(255,255,255,0.08);
}

.btn-icon {
    width: 20px; height: 20px;
    flex-shrink: 0;
}

.contact-hint {
    margin-top: 16px;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.35);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    text-align: center;
    padding: 48px 0 24px;
    border-top: 1px solid rgba(255,255,255,0.07);
    margin-top: 60px;
}

.footer-logo {
    margin-bottom: 16px;
}

.footer-logo-img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    opacity: 0.85;
    filter: drop-shadow(0 4px 14px rgba(58, 189, 224, 0.3));
}

.footer-text {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.4);
    margin-bottom: 6px;
    font-weight: 400;
}

.footer-sub {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.3);
}

.footer-sub a {
    color: var(--bleu-light);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-sub a:hover {
    color: var(--blanc);
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .page-wrapper {
        padding: 0 16px 40px;
    }

    .services-grid,
    .audience-grid {
        grid-template-columns: 1fr;
    }

    .contact-card {
        padding: 36px 24px;
    }

    .contact-btn {
        font-size: 0.92rem;
        padding: 14px 28px;
        width: 100%;
        justify-content: center;
    }

    .logo {
        width: 110px;
        height: 110px;
    }

    .main-title br {
        display: none;
    }

    .main-subtitle br {
        display: none;
    }
}

@media (max-width: 480px) {
    .site-header {
        padding: 32px 0 24px;
    }

    .service-card {
        padding: 24px 20px;
    }

    .contact-card {
        padding: 28px 16px;
    }
}
