/* Variables de couleurs personnalisées */
:root {
    --pgme-dark: #0A1A44; /* Bleu foncé */
    --pgme-accent: #1F5EFF; /* Bleu royal pour CTA/accents */
    --pgme-white: #FFFFFF;
    --pgme-light-bg: #F4F4F4; /* Fond clair moderne */
    --pgme-accent-hover: #1748C7; /* Accent + foncé pour hover */
    --pgme-muted: #6B7280;
    --pgme-border: #E5E7EB;
    --pgme-shadow: 0 16px 40px rgba(10, 26, 68, 0.12);
    --pgme-soft: #F8FAFF;
}

/* Police de caractères */
body {
    font-family: 'Inter', sans-serif;
    color: var(--pgme-dark);
    background-color: var(--pgme-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

main {
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

/* Styles Bootstrap personnalisés */
.btn-primary {
    background-color: var(--pgme-accent);
    border-color: var(--pgme-accent);
    transition: background-color 0.3s ease, border-color 0.3s ease;
    font-weight: 600;
    border-radius: 12px;
}

.btn-primary:hover {
    background-color: var(--pgme-accent-hover);
    border-color: var(--pgme-accent-hover);
}

.text-primary {
    color: var(--pgme-accent) !important;
}

.bg-primary {
    background-color: var(--pgme-dark) !important;
}

/* Liens */
a {
    color: var(--pgme-accent);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--pgme-dark);
    text-decoration: underline;
}

/* Sections */
section {
    padding: 80px 0;
    position: relative;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.section-subtitle {
    color: var(--pgme-muted);
    max-width: 720px;
    margin: 0 auto;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    background: rgba(31, 94, 255, 0.1);
    color: var(--pgme-accent);
}

.soft-bg {
    background: var(--pgme-soft);
}

.glass {
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(226, 232, 240, 0.8);
    backdrop-filter: blur(10px);
}

.shadow-soft {
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.12);
}

/* Formulaire multi-étapes */
.step-form-container {
    background-color: var(--pgme-light-bg);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.step-progress {
    margin-bottom: 30px;
}

/* Hero Section */
.hero-section {
    padding: 120px 0;
    background-color: var(--pgme-light-bg);
    background-image: radial-gradient(1200px 400px at 10% -10%, rgba(31, 94, 255, 0.12), transparent),
                      radial-gradient(1200px 400px at 90% 10%, rgba(10, 26, 68, 0.08), transparent);
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--pgme-dark);
}

.hero-section p.lead {
    font-size: 1.25rem;
    color: #555;
}

.hero-section .btn {
    padding: 0.85rem 1.6rem;
}

.hero-section img {
    border-radius: 18px;
    box-shadow: var(--pgme-shadow);
}

.hero-highlights {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem 1.5rem;
    margin-top: 1.25rem;
    font-size: 0.95rem;
    color: var(--pgme-muted);
}

.hero-highlights i {
    color: var(--pgme-accent);
    margin-right: 0.5rem;
}

/* Navbar improvements */
.navbar {
    min-height: 72px;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    backdrop-filter: saturate(180%) blur(8px);
}

.navbar-brand {
    display: flex;
    align-items: center;
}

.navbar-logo {
    height: 56px;
    max-height: 56px;
    width: auto;
    object-fit: contain;
}

/* Titres des sections */
h2 {
    font-weight: 700;
    color: var(--pgme-dark);
    margin-bottom: 20px;
}

/* Cartes de services */
.card {
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #fff;
    border: 1px solid var(--pgme-border);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
}
.team-img {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: 50%;
}

/* Navbar adjustments */
.navbar-nav .nav-link {
    font-size: 0.95rem;
    font-weight: 500;
}

@media (max-width: 1200px) {
    .navbar-nav .nav-link {
        font-size: 0.9rem;
        padding-left: 0.5rem !important;
        padding-right: 0.5rem !important;
    }
}

/* Global layout polish */
.container {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

.bg-light {
    background-color: var(--pgme-light-bg) !important;
}

.lead {
    font-weight: 400;
    color: var(--pgme-muted);
}

.card {
    border-radius: 16px;
}

.card .card-body {
    padding: 1.75rem;
}

.card .card-title {
    color: var(--pgme-dark);
}

.badge {
    border-radius: 999px;
    padding: 0.45rem 0.7rem;
    font-weight: 600;
}

.stat-card {
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 1.5rem;
    backdrop-filter: blur(8px);
}

.icon-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(31, 94, 255, 0.12);
    color: var(--pgme-accent);
}

.btn-cta {
    border-radius: 14px;
    box-shadow: 0 12px 28px rgba(31, 94, 255, 0.28);
}

.btn-ghost {
    border-radius: 14px;
    border: 1px solid rgba(15, 23, 42, 0.12);
}

.btn-primary {
    box-shadow: 0 8px 18px rgba(31, 94, 255, 0.22);
}

.btn-primary:focus,
.btn-primary:active {
    box-shadow: 0 0 0 0.2rem rgba(31, 94, 255, 0.25);
}

.btn-outline-dark,
.btn-outline-primary,
.btn-outline-light {
    border-radius: 12px;
    font-weight: 600;
}

.btn-outline-dark:hover,
.btn-outline-primary:hover,
.btn-outline-light:hover {
    transform: translateY(-1px);
}

/* Responsive refinements */
@media (max-width: 992px) {
    .hero-section {
        padding: 80px 0;
    }

    .hero-section h1 {
        font-size: 2.6rem;
    }

    .hero-section p.lead {
        font-size: 1.1rem;
    }

    section {
        padding: 64px 0;
    }
}

@media (max-width: 768px) {
    .navbar {
        min-height: 64px;
    }

    .navbar-logo {
        height: 44px;
        max-height: 44px;
    }

    .navbar-collapse {
        background: var(--pgme-white);
        padding: 1rem;
        border-radius: 12px;
        box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
        margin-top: 0.75rem;
    }

    .navbar-nav .nav-link {
        padding: 0.75rem 0 !important;
    }

    .navbar-nav .nav-link.active {
        color: var(--pgme-accent);
        font-weight: 600;
    }

    .hero-section {
        padding: 64px 0;
        text-align: center;
    }

    .hero-section h1 {
        font-size: 2.2rem;
        line-height: 1.15;
    }

    .hero-section p.lead {
        font-size: 1rem;
    }

    .hero-highlights {
        grid-template-columns: 1fr;
    }

    section {
        padding: 52px 0;
    }

    .card .card-body {
        padding: 1.4rem;
    }
}

@media (max-width: 576px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .hero-section h1 {
        font-size: 2rem;
    }

    .btn {
        width: 100%;
        margin-top: 0.5rem;
    }
}

/* Accessibility / motion */
@media (prefers-reduced-motion: reduce) {
    * {
        scroll-behavior: auto !important;
        transition: none !important;
        animation: none !important;
    }
}

