/*
 Theme Name:   Hello Elementor SPA
 Template:     hello-elementor
 Version:      1.0
*/
@import url("https://fonts.googleapis.com/css?family=Open+Sans:300,400,700,800|Sacramento");

/* ===== BASE ===== */
body {
    background: #fff;
    font-family: "Open Sans", Arial, sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.8;
}
a { transition: .3s all ease; color: #52bfdc; text-decoration: none; }
a:hover { color: #c9844a; text-decoration: underline; }
h1, h2, h3, h4, h5 { color: #000; }
.cursive { font-family: "Sacramento", cursive; }

/* ===== BOUTONS ===== */
.btn { outline: none; box-shadow: none !important; }
.btn:hover { box-shadow: 0 3px 10px -2px rgba(0,0,0,.2) !important; }
.btn.btn-primary {
    color: #fff; border-width: 2px;
    background-color: #52bfdc; border-color: #52bfdc;
}
.btn.btn-primary:hover, .btn.btn-primary:active {
    border-color: #c9844a; background: #c9844a;
}
.btn.btn-outline-primary {
    border-width: 2px; color: #52bfdc; border-color: #52bfdc;
}
.btn.btn-outline-primary:hover {
    color: #fff; background-color: #52bfdc; border-color: #52bfdc;
}

/* ===== HEADER / NAVBAR ===== */
header { position: relative; top: 0; left: 0; width: 100%; z-index: 5; }
header .top-bar { background: #52bfdc; }
header .top-bar a { color: #000; padding: 10px; font-size: 13px; transition: .3s all ease; display: inline-block; }
header .top-bar a:hover { color: #fff; }
header .top-bar .social li { display: inline-block; }
header .top-bar .social li a { color: #fff; padding: 10px; width: 40px; display: inline-block; }
header .top-bar .social li a:hover { background: #5AC8D8; box-shadow: 2px 0 20px 0 rgba(0,0,0,.1); }
header .navbar { padding-top: 8px; padding-bottom: 8px; background: white !important; overflow: visible; }
header .navbar .nav-link { padding: 1.7rem 1rem; outline: none !important; }
header .navbar .nav-link.active { color: #52bfdc !important; }
header .navbar .dropdown-menu {
    font-size: 14px; border-radius: 10px; border: none;
    box-shadow: 0 2px 30px 0px rgba(0,0,0,.2); min-width: 13em; margin-top: -10px;
}
header .navbar .dropdown-menu .dropdown-item:hover { background: #52bfdc; color: #fff; }

/* ===== CAROUSEL ANIMAUX ===== */
.owl-carousel .owl-item { opacity: .4; }
.owl-carousel .owl-item.active { opacity: 1; }
.owl-carousel .owl-nav { position: absolute; top: 50%; width: 100%; }
.owl-theme .owl-nav [class*=owl-]:hover { background: transparent; color: #52bfdc; }
.owl-carousel.home-slider .slider-item {
    background-size: cover; background-position: center center;
    height: calc(100vh - 117px); min-height: 700px; position: relative;
}
.owl-carousel.home-slider .slider-item:before {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,.2); content: "";
}
.owl-carousel.home-slider .slider-item .slider-text { color: #fff; height: calc(100vh - 117px); min-height: 700px; }
.owl-carousel.home-slider .slider-item .slider-text h1 {
    font-size: 40px; color: #fff; line-height: 1.2; font-weight: 800 !important; text-transform: uppercase;
}
.owl-carousel.home-slider .slider-item .slider-text p { font-size: 20px; line-height: 1.5; font-weight: 300; color: white; }

/* ===== CTA OVERLAP ===== */
.cta-overlap { margin-top: -4em; position: relative; z-index: 100; }
.cta-overlap .text { background: #52bfdc; padding: 3em 2em; box-shadow: 0 1px 30px -4px rgba(0,0,0,.2); }
.cta-overlap .text h2 { margin-bottom: 0; color: #fff; }

/* ===== SECTIONS ===== */
.section { padding: 3em 0; }
.section-white { padding: 7em 0; }
.section-grey { padding: 7em 0; background: #f3f3f3; }
.custom-icon { font-size: 70px; color: #52bfdc; }
.age { font-size: 14px; color: #868e96; }
.bg-primary { background: #52bfdc !important; }
.bg-grey-100 { background: #f3f3f3; }

/* ===== FOOTER ===== */
footer { padding: 7em 0 3em; background: #fff; }
footer .footer-logo { font-size: 20px; font-weight: 700; text-transform: uppercase; letter-spacing: .2em; }
footer ul { list-style: none; padding-left: 0; }
footer ul li a { color: #868e96; font-size: 14px; line-height: 2; }
footer ul li a:hover { color: #52bfdc; text-decoration: none; }
footer .copyright small { color: #868e96; }
footer .copyright a { color: #52bfdc; }

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
    header .navbar { padding: .5rem; }
    header .navbar .nav-link { padding: .5rem 0; }
    .cta-overlap .text { padding: 30px 15px; display: block !important; text-align: center; }
    .section-white, .section-grey { padding: 3em 0; }
}
@media (max-width: 767px) {
    header .top-bar a { padding-left: 3px; padding-right: 3px; }
}

/* ===== BANNIÈRE HAUT DE PAGE ===== */
.page-header-banner { margin-bottom: 0; }
.banner-inner {
    padding: 4em 0 3em;
    position: relative;
}
.page-banner-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: .5rem;
}
.breadcrumb-custom {
    background: none;
    padding: 0;
}
.breadcrumb-custom li a { color: rgba(255,255,255,.8); }
.breadcrumb-custom li a:hover { color: #fff; text-decoration: none; }
.breadcrumb-custom li.active { color: #fff; }
.breadcrumb-custom li.breadcrumb-item + .breadcrumb-item:before {
    content: /;
    color: rgba(255,255,255,.4);
}

/* ===== CONTENU PAGES INTÉRIEURES ===== */
.spa-content h2, .spa-content h3 { color: #000; margin-top: 1.5rem; }
.spa-content p { line-height: 1.8; color: #333; }
.spa-content ul { padding-left: 1.5rem; }
.spa-content ul li { margin-bottom: .4rem; line-height: 1.7; }
.spa-content a { color: #52bfdc; }
.spa-content a:hover { color: #c9844a; }
.spa-content .highlight-box {
    background: #f0f9fc;
    border-left: 4px solid #52bfdc;
    padding: 1rem 1.5rem;
    border-radius: 0 8px 8px 0;
    margin: 1.5rem 0;
}
.spa-content .highlight-box.orange {
    background: #fff5ee;
    border-color: #c9844a;
}

/* ===== SIDEBAR ===== */
.sidebar-box {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    font-size: .9rem;
    border-radius: 8px;
    border: 2px solid #f0f0f0;
    background: #fff;
}
.sidebar-box h3 { font-size: 1rem; color: #000; margin-bottom: 1rem; }
.sidebar-box ul { list-style: none; padding-left: 0; margin-bottom: 0; }
.sidebar-box ul li { margin-bottom: .4rem; }

/* ===== PAGINATION ===== */
.page-numbers { display: inline-block; padding: 6px 14px; border: 1px solid #dee2e6; border-radius: 4px; margin: 2px; color: #52bfdc; }
.page-numbers.current { background: #52bfdc; color: #fff; border-color: #52bfdc; }
.page-numbers:hover { background: #52bfdc; color: #fff; text-decoration: none; }

/* ===== RESPONSIVE ===== */
@media (max-width: 767px) {
    .page-banner-title { font-size: 1.5rem; }
    .banner-inner { padding: 2.5em 0 2em; }
}

/* ===== LOGO NAVBAR ===== */
.navbar-brand img {
    height: 55px;
    width: auto;
    max-height: 55px;
}
@media (max-width: 991px) {
    .navbar-brand img { height: 44px; }
}

/* ===== NAVBAR — fond blanc opaque + ombre permanente ===== */
.navbar {
    background: #ffffff !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.10) !important;
    border-bottom: 1px solid rgba(0,0,0,0.06);
}
/* Ombre renforcée au scroll (classe ajoutée par JS) */
.navbar.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15) !important;
}

/* ===== BARRE SUPÉRIEURE — séparation nette ===== */
.top-bar {
    background: #52bfdc;
    position: relative;
    z-index: 1031; /* au-dessus du sticky navbar */
}

/* ===== BREADCRUMB — fond transparent, texte blanc lisible ===== */
.breadcrumb {
    background-color: transparent !important;
    padding: 0 !important;
    margin-bottom: 0 !important;
    border-radius: 0 !important;
}
.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
}
.breadcrumb-item a:hover {
    color: #ffffff;
    text-decoration: underline;
}
.breadcrumb-item.active {
    color: #ffffff;
    font-weight: 600;
}
.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5);
    content: "/";
}
