:root {
    --hs-bleu-marine: #1B3A5C;
    --hs-vert: #2E8B57;
    --hs-orange: #F5A623;
    --hs-bleu-ciel: #3B82C4;
}

body.page-public {
    font-family: 'Nunito', sans-serif;
    color: #2b3440;
    margin: 0;
}

/* Navbar */
.navbar-public {
    background: #fff;
    box-shadow: 0 2px 12px rgba(27, 58, 92, 0.08);
    padding: .6rem 0;
}
.navbar-public .navbar-brand span { color: var(--hs-bleu-marine); font-weight: 800; }
.navbar-public .navbar-logo { height: 44px; width: auto; border-radius: 6px; }
.navbar-public .nav-link { color: #3a4a5c; font-weight: 600; padding: .5rem .85rem; }
.navbar-public .nav-link:hover,
.navbar-public .nav-link.active { color: var(--hs-vert); }
.btn-connexion {
    background: var(--hs-bleu-marine); color: #fff; font-weight: 700;
    border-radius: 999px; padding: .5rem 1.4rem;
}
.btn-connexion:hover { background: #142c46; color: #fff; }

/* Buttons */
.btn-hs {
    background: var(--hs-orange); color: #1b2733; font-weight: 800;
    border-radius: 999px; padding: .75rem 1.8rem; border: none;
}
.btn-hs:hover { background: #e0921a; color: #1b2733; }
.btn-hs-outline {
    background: transparent; color: #fff; font-weight: 700;
    border: 2px solid #fff; border-radius: 999px; padding: .7rem 1.7rem;
}
.btn-hs-outline:hover { background: #fff; color: var(--hs-bleu-marine); }

/* Hero */
.hero-public {
    background: linear-gradient(135deg, var(--hs-bleu-marine) 0%, var(--hs-bleu-ciel) 100%);
    color: #fff; padding: 5.5rem 0; text-align: center;
}
.hero-public h1 { font-weight: 800; font-size: clamp(2rem, 5vw, 3.4rem); margin-bottom: 1rem; }
.hero-public p.lead { font-size: 1.25rem; max-width: 720px; margin: 0 auto 2rem; opacity: .95; }
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* Sections */
.section-public { padding: 4.5rem 0; }
.section-public.alt { background: #f5f8fb; }
.section-title { text-align: center; margin-bottom: 2.5rem; }
.section-title h2 { color: var(--hs-bleu-marine); font-weight: 800; }
.section-title p { color: #6b7785; max-width: 640px; margin: .5rem auto 0; }

/* Cards */
.card-public {
    background: #fff; border: 1px solid #e7edf3; border-radius: 16px;
    padding: 2rem; height: 100%; transition: transform .2s, box-shadow .2s;
}
.card-public:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(27,58,92,.12); }
.card-public .card-icon {
    width: 58px; height: 58px; border-radius: 14px; display: flex;
    align-items: center; justify-content: center; font-size: 1.6rem;
    color: #fff; margin-bottom: 1.1rem; background: var(--hs-vert);
}
.card-public h3 { color: var(--hs-bleu-marine); font-weight: 700; font-size: 1.25rem; }

/* Stats band */
.stats-band { background: var(--hs-vert); color: #fff; padding: 3rem 0; }
.stat-num { font-size: 2.6rem; font-weight: 800; }
.stat-label { opacity: .9; }

/* Neutral image placeholder */
.img-placeholder {
    background: linear-gradient(135deg, #e9edf2, #d6dde6);
    display: flex; align-items: center; justify-content: center;
    color: #8a97a7; font-size: 2.4rem; border-radius: 14px; min-height: 220px;
}

/* Info / placeholder page block */
.coming-soon {
    text-align: center; padding: 4rem 2rem; background: #f5f8fb;
    border-radius: 16px; color: #6b7785;
}
.coming-soon i { font-size: 3rem; color: var(--hs-orange); }

/* Footer */
.footer-public { background: var(--hs-bleu-marine); color: #cdd8e4; padding: 3.5rem 0 1.5rem; }
.footer-title { color: #fff; font-weight: 700; margin-bottom: 1rem; }
.footer-text { color: #b9c6d6; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links a { color: #cdd8e4; text-decoration: none; line-height: 2; }
.footer-links a:hover { color: var(--hs-orange); }
.footer-social a { color: #fff; font-size: 1.3rem; margin-right: .9rem; }
.footer-hr { border-color: rgba(255,255,255,.15); margin: 2rem 0 1rem; }
.footer-copy { color: #9fb0c2; font-size: .9rem; }

/* Contact */
.contact-form .form-control { border-radius: 10px; }
.contact-info i { color: var(--hs-vert); }
