/* ========================
   Styles généraux
   ======================== */

.gradient-text {
    background: linear-gradient(90deg, #1868DB 0%, #0D3875 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.titre-logo {
    font-size: 30px;
}

/* ========================
   Navigation / Header
   ======================== */

.navbar {
    background-color: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    padding-left: 50px;
    padding-right: 50px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: background-color .25s ease, box-shadow .25s ease, backdrop-filter .25s ease;
}

/* ÉTAT "tout en haut" desktop uniquement : fond transparent et pas d'ombre */
.navbar.is-top {
    background-color: transparent !important;
    box-shadow: none !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
}

.logoBtp {
    margin-right: 20px;
}

/* nav link style */
.nav-link {
    position: relative;
    display: inline-block;
    padding-bottom: 2px;
    color: #4B5563; /* gray-600 */
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #2563eb; /* primary (blue-600) */
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 0%;
    background-color: #2563eb; /* primary */
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* ========================
   Couleurs principales
   ======================== */

.text-primary {
    color: #0d6efd;
}

.bg-primary {
    background-color: #0d6efd;
}

.border-primary {
    border-color: #c8d7fa;
}

.hover-primary:hover {
    background-color: #0b5ed7;
}

.borderCard {
    border: 1px solid #c8d7fa;
}

/* ========================
   Hero Section
   ======================== */

.hero {
    padding-top: 150px;
}

.bg-gradient-custom {
    background: #f7f9fe;
}

/* ========================
   FAQ Section
   ======================== */

.max-w-custom {
    max-width: 900px;
    width: 100%;
}

.py-50 {
    padding-top: 50px;
    padding-bottom: 150px;
}

/* ========================
   Calendly Button
   ======================== */

/* Bouton flottant */
#calendly-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #0d6efd;
    color: white;
    border: none;
    border-radius: 50%;
    padding: 15px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    transition: transform 0.3s ease, background-color 0.3s ease, right 0.4s ease;
}

#calendly-button:hover {
    transform: scale(1.15);
    background-color: #0b5ed7;
}

#calendly-button.hide {
    right: -80px;
}

/* Offcanvas */
#calendly-offcanvas {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 500px;
    height: 100%;
    background: white;
    box-shadow: -2px 0 8px rgba(0,0,0,0.1);
    z-index: 9998;
    transition: right 0.4s ease-in-out;
    display: flex;
    flex-direction: column;
}

#calendly-offcanvas.show {
    right: 0;
}

#calendly-offcanvas .offcanvas-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid #dee2e6;
    background-color: #f8f9fa;
}

#calendly-offcanvas iframe {
    flex: 1;
    width: 100%;
    border: none;
}

/* ========================
   Footer
   ======================== */

.footer-link {
    position: relative;
    display: inline-block;
    color: #9ca3af; /* gray-400 */
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #3b82f6; /* blue-500 */
}

.footer-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    height: 2px;
    width: 0%;
    background-color: #3b82f6;
    transition: width 0.3s ease;
}

.footer-link:hover::after {
    width: 100%;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #1f2937; /* gray-800 */
    color: #9ca3af;
    font-size: 16px;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: #3b82f6;
    color: #fff;
    transform: translateY(-3px);
}

/* ========================
   Cookie Banner
   ======================== */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 9999;
    font-family: Arial, sans-serif;
    font-size: 14px;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-banner .cookie-text {
    flex: 1;
    padding-right: 20px;
}

.cookie-banner .cookie-links a {
    color: #9ca3af;
    text-decoration: underline;
    margin-right: 15px;
    transition: color 0.2s;
}

.cookie-banner .cookie-links a:hover {
    color: white;
}

.cookie-banner .cookie-button {
    background-color: white;
    color: black;
    border: none;
    padding: 8px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.2s;
}

.cookie-banner .cookie-button:hover {
    background-color: #e5e5e5;
}
