/* ── Club / Association — Style Narani-inspired ── */
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,600;0,700;0,800;1,400&display=swap");

:root {
    --color-primary:   #344677; /* bleu marine, légèrement plus clair que le logo (#28355B) */
    --color-primary-dark: #28355B; /* bleu marine exact du logo, utilisé pour les états hover/actifs */
    --color-dark:      #222222;
    --color-grey:      #777777;
    --color-light-bg:  #f9f9f9;
    --color-border:    #e5e5e5;
}

/* ── Base ── */
body {
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
    line-height: 28px;
    color: #333;
    background: #fff;
    -webkit-font-smoothing: antialiased;
}
h1,h2,h3,h4,h5,h6 {
    font-family: "Open Sans", sans-serif;
    font-weight: 600;
    color: #000;
    margin: 0;
}
h1 { font-size: 3.2em; line-height: 44px; margin-bottom: 24px; }
h2 { font-size: 2.6em; line-height: 42px; margin-bottom: 24px; }
h3 { font-size: 1.8em; line-height: 28px; margin-bottom: 20px; }
p  { color: #555; margin-bottom: 16px; }
a  { color: #000; text-decoration: none; transition: color .2s; }
a:hover { color: var(--color-primary); }
.colored-text { color: var(--color-primary); }

/* ── Dividers ── */
.divide20 { height: 20px; }
.divide30 { height: 30px; }
.divide40 { height: 40px; }
.divide60 { height: 60px; }
.divide80 { height: 80px; }

/* ── Heading style (h3.heading) ── */
h3.heading {
    border-bottom: 1px solid var(--color-border);
    color: #4e4e4e;
    font-size: 20px;
    margin: 0 0 30px;
    padding-bottom: 10px;
    position: relative;
    text-transform: uppercase;
    font-weight: 600;
}
h3.heading::before {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--color-primary);
    content: '';
}

/* ── Navbar ── */
.navbar-narani {
    background: #fff;
    border-bottom: 1px solid var(--color-border);
    padding: 0;
    transition: box-shadow .3s;
}
.navbar-narani.sticky-top { box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.navbar-narani .navbar-brand {
    font-size: 1.6rem;
    font-weight: 800;
    color: #000;
    letter-spacing: -1px;
    padding: 16px 0;
}
.navbar-narani .navbar-brand span { color: var(--color-primary); }
.navbar-narani .nav-link {
    color: #333 !important;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .5px;
    padding: 24px 14px !important;
    transition: color .2s;
}
.navbar-narani .nav-link:hover,
.navbar-narani .nav-link.active { color: var(--color-primary) !important; }
.navbar-narani .nav-link.active { border-bottom: 2px solid var(--color-primary); }
.navbar-toggler { border: none; }

/* ── Top bar ── */
.top-bar {
    background: #222;
    color: #aaa;
    font-size: 12px;
    padding: 8px 0;
}
.top-bar a { color: #aaa; }
.top-bar a:hover { color: var(--color-primary); }
.top-bar .social-icons a { margin-left: 10px; font-size: 13px; }

/* ── Hero Slider ── */
.main-slider {
    position: relative;
    overflow: hidden;
}
.slider-item {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.slider-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.45);
}
.slider-text {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    padding: 40px 20px;
}
.slider-text h1 { color: #fff; font-size: 3em; margin-bottom: 16px; }
.slider-text p  { color: rgba(255,255,255,.85); font-size: 16px; max-width: 600px; margin: 0 auto 28px; }

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: none;
    background: rgba(0,0,0,.35);
    color: #fff;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .2s, transform .2s;
}
.slider-arrow:hover { background: rgba(0,0,0,.6); }
.slider-arrow:active { transform: translateY(-50%) scale(.94); }
.slider-arrow-left  { left: 20px; }
.slider-arrow-right { right: 20px; }
@media (max-width: 576px) {
    .slider-arrow { width: 38px; height: 38px; font-size: 15px; }
    .slider-arrow-left  { left: 10px; }
    .slider-arrow-right { right: 10px; }
}

/* ── Boutons ── */
.btn-theme {
    background: var(--color-primary);
    color: #fff;
    border: none;
    border-radius: 2px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .5px;
    padding: 12px 28px;
    transition: background .2s, transform .15s;
}
.btn-theme:hover { background: var(--color-primary-dark); color: #fff; transform: translateY(-1px); }
.btn-outline-dark-narani {
    border: 2px solid #222;
    color: #222;
    background: transparent;
    border-radius: 2px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .5px;
    padding: 10px 26px;
    transition: all .2s;
}
.btn-outline-dark-narani:hover { background: #222; color: #fff; }
.btn-outline-white {
    border: 2px solid #fff;
    color: #fff;
    background: transparent;
    border-radius: 2px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    padding: 12px 28px;
    transition: all .2s;
}
.btn-outline-white:hover { background: #fff; color: #222; }

/* ── Section bannière CTA ── */
.purchase-section {
    background: var(--color-light-bg);
    border: 1px solid var(--color-border);
    padding: 30px 40px;
    border-radius: 2px;
}
.purchase-section h3 { font-size: 18px; margin-bottom: 8px; }
.purchase-section p  { margin: 0; color: #777; }

/* ── Service boxes ── */
.service-box {
    padding: 24px;
    border: 1px solid var(--color-border);
    border-top: 3px solid var(--color-primary);
    transition: box-shadow .2s, transform .2s;
    margin-bottom: 24px;
}
.service-box:hover { box-shadow: 0 4px 20px rgba(0,0,0,.08); transform: translateY(-3px); }
.service-box h4 { font-size: 15px; margin-bottom: 12px; color: #222; }
.service-box h4 i, .service-box h4 .bi {
    color: var(--color-primary);
    margin-right: 8px;
    font-size: 18px;
}
.service-box p { color: #777; font-size: 13px; margin: 0; }

/* ── Section parallax / testimonials ── */
.parallax-section {
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 80px 0;
}
.parallax-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(34,34,34,.78);
}
.parallax-section .container { position: relative; z-index: 2; }
.testimonial-item { text-align: center; color: #fff; padding: 0 30px; }
.testimonial-item h4 { font-size: 18px; font-weight: 300; line-height: 32px; color: #fff; margin-bottom: 20px; }
.testimonial-item .fa-quote-left { color: var(--color-primary); font-size: 24px; margin-right: 8px; }
.testimonial-item p  { color: rgba(255,255,255,.7); font-size: 13px; }

/* ── Team / Bureau cards ── */
.team-item {
    text-align: center;
    margin-bottom: 30px;
}
.team-item .team-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--color-primary);
    margin: 0 auto 16px;
    display: block;
}
.team-item .team-placeholder {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--color-primary);
    color: #fff;
    font-size: 2.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}
.team-item h5 { font-size: 15px; margin-bottom: 4px; }
.team-item .role { color: var(--color-primary); font-size: 12px; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 8px; }
.team-item .contact-info a { color: #777; font-size: 12px; display: block; }
.team-item .contact-info a:hover { color: var(--color-primary); }

/* ── Vignette équipe dans la liste des équipes (cartes) ── */
.card-narani .team-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    object-position: center;
    border-radius: 8px;
    margin-bottom: 16px;
    display: block;
}
.card-narani .team-placeholder {
    width: 100%;
    height: 180px;
    border-radius: 8px;
    background: var(--color-primary);
    color: #fff;
    font-size: 3rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

/* ── Cards actualités / équipes ── */
.card-narani {
    border: 1px solid var(--color-border);
    border-radius: 2px;
    overflow: hidden;
    transition: box-shadow .2s, transform .2s;
    margin-bottom: 24px;
}
.card-narani:hover { box-shadow: 0 6px 24px rgba(0,0,0,.1); transform: translateY(-3px); }
.card-narani .card-img { height: 200px; object-fit: cover; width: 100%; }
.card-narani .card-img-placeholder {
    height: 200px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #fff;
}
.card-narani .card-body { padding: 20px; }
.card-narani .card-body h5 { font-size: 15px; margin-bottom: 10px; }
.card-narani .card-body p  { font-size: 13px; color: #777; margin: 0; }
.card-narani .card-footer {
    background: var(--color-light-bg);
    border-top: 1px solid var(--color-border);
    padding: 10px 20px;
    font-size: 12px;
    color: #aaa;
}

/* ── Badge état ── */
.badge-online  { background: var(--color-primary); color: #fff; font-size: 11px; padding: 3px 8px; border-radius: 2px; }
.badge-offline { background: #aaa; color: #fff; font-size: 11px; padding: 3px 8px; border-radius: 2px; }

/* ── Calendrier événements ── */
.event-date-box {
    min-width: 60px;
    background: var(--color-primary);
    color: #fff;
    text-align: center;
    padding: 8px;
    border-radius: 2px;
    flex-shrink: 0;
}
.event-date-box .day  { font-size: 1.8rem; font-weight: 700; line-height: 1; }
.event-date-box .month { font-size: 11px; text-transform: uppercase; }
.event-item {
    border: 1px solid var(--color-border);
    padding: 16px;
    margin-bottom: 12px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    transition: box-shadow .2s;
}
.event-item:hover { box-shadow: 0 2px 12px rgba(0,0,0,.07); }
.event-item h6 { font-size: 14px; margin-bottom: 4px; }
.event-item .meta { font-size: 12px; color: #999; }

/* ── Galerie ── */
.galerie-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    cursor: pointer;
    transition: opacity .2s, transform .2s;
    border: 3px solid #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,.1);
}
.galerie-item img:hover { opacity: .85; transform: scale(1.02); }

/* ── Partenaires ── */
.partenaire-item {
    border: 1px solid var(--color-border);
    padding: 24px;
    text-align: center;
    transition: box-shadow .2s;
    margin-bottom: 24px;
}
.partenaire-item:hover { box-shadow: 0 4px 16px rgba(0,0,0,.08); }
.partenaire-item img { max-height: 70px; max-width: 160px; object-fit: contain; filter: grayscale(30%); transition: filter .2s; }
.partenaire-item img:hover { filter: grayscale(0); }

/* ── Documents ── */
.doc-item {
    border: 1px solid var(--color-border);
    border-left: 4px solid var(--color-primary);
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 10px;
    transition: box-shadow .2s;
}
.doc-item:hover { box-shadow: 0 2px 12px rgba(0,0,0,.07); }
.doc-item .doc-icon { font-size: 1.8rem; color: var(--color-primary); flex-shrink: 0; }
.doc-item h6 { font-size: 13px; margin: 0; }
.doc-item span { font-size: 12px; color: #aaa; }

/* ── Counters ── */
.counter-section { background: var(--color-primary); padding: 60px 0; }
.counter-box { text-align: center; color: #fff; }
.counter-box .number { font-size: 3rem; font-weight: 800; line-height: 1; }
.counter-box .label  { font-size: 13px; text-transform: uppercase; letter-spacing: 1px; opacity: .85; margin-top: 6px; }

/* ── Footer ── */
footer.site-footer {
    background: #222;
    color: #999;
    padding: 60px 0 0;
    font-size: 13px;
}
footer.site-footer h3.heading {
    color: #fff;
    border-bottom-color: #444;
    font-size: 15px;
}
footer.site-footer h3.heading::before { background: var(--color-primary); }
footer.site-footer p { color: #999; }
footer.site-footer a { color: #999; }
footer.site-footer a:hover { color: var(--color-primary); }
footer.site-footer ul { padding: 0; list-style: none; }
footer.site-footer ul li { padding: 4px 0; border-bottom: 1px solid #333; }
footer.site-footer ul li a::before { content: '› '; color: var(--color-primary); }
.footer-bottom { background: #1a1a1a; padding: 16px 0; margin-top: 40px; text-align: center; font-size: 12px; color: #666; }
.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 1px solid #444;
    border-radius: 50%;
    color: #999;
    margin-right: 6px;
    transition: all .2s;
}
.social-icons a:hover { background: var(--color-primary); border-color: var(--color-primary); color: #fff; }

/* ── Contact form ── */
.contact-form .form-control {
    border-radius: 2px;
    border: 1px solid var(--color-border);
    font-size: 13px;
    padding: 10px 14px;
}
.contact-form .form-control:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 .15rem rgba(50,197,210,.2);
}

/* ── Breadcrumb ── */
.page-header-narani {
    background: var(--color-light-bg);
    border-bottom: 1px solid var(--color-border);
    padding: 30px 0;
    margin-bottom: 50px;
}
.page-header-narani h2 { font-size: 1.8rem; margin: 0; }
.page-header-narani .breadcrumb { background: none; padding: 0; margin: 0; font-size: 12px; }
.page-header-narani .breadcrumb-item + .breadcrumb-item::before { color: #aaa; }

/* ── Match badge ── */
.badge-domicile  { background: var(--color-primary); color: #fff; font-size: 11px; padding: 3px 8px; border-radius: 2px; }
.badge-exterieur { background: #555; color: #fff; font-size: 11px; padding: 3px 8px; border-radius: 2px; }

/* ── Animations WOW ── */
.animate-up { animation: fadeInUp .6s ease both; }
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .slider-item { min-height: 320px; }
    .slider-text h1 { font-size: 2rem; }
    .divide80 { height: 40px; }
    .divide60 { height: 30px; }
    .navbar-narani .nav-link { padding: 12px 14px !important; }
}
