/* ===================================
    Crafto - It business
====================================== */
/* font */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@200;300;400;500;600;700;800&display=swap');
/* variable */
:root {     
    --base-color: #6D37DA; 
    --dark-gray:#252840;
    --black:#05060a;
    --medium-gray:#7d8087;
    --very-light-gray: #f0f2f8;
    --primary-font: 'Plus Jakarta Sans', sans-serif;
}
/* reset */
body{
    line-height: 29px;
}
/* header */
header .navbar-brand img {
    max-height: 32px;
} 
.navbar .navbar-nav .nav-link {
    font-size: 17px;
}
header .btn.btn-rounded.btn-large {
    padding:10px 26px;
    font-size: 13px;
    font-weight: 500;
}
.sticky .header-transparent .header-button .btn {
    color: var(--dark-gray);
    border-color: var(--extra-medium-gray);
}
.sticky .header-transparent .header-button .btn:hover {
    border-color: var(--dark-gray);
    color: var(--white);
    background:  var(--dark-gray);
}
header.sticky.sticky-active [data-header-hover="light"] .widget-text i {
    color: var(--white);
}
/* accordion style 02 */
.navbar .navbar-nav .dropdown.dropdown-with-icon-style02 .dropdown-menu {
    background-color: var(--dark-gray);
}
.navbar .navbar-nav .dropdown.dropdown-with-icon-style02 .dropdown-menu li a {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
}
.navbar .navbar-nav .dropdown.dropdown-with-icon-style02 .dropdown-menu li:hover a,
.navbar .navbar-nav .dropdown.dropdown-with-icon-style02 .dropdown-menu li.active a{
    opacity: .5;
}
/* btn */
[class*=btn-transparent], [class*=" btn-transparent"] {
    font-weight: 500;
}
.btn {
    text-transform: none;
    font-family: var(--primary-font);
}
.btn.btn-switch-text.btn-extra-large > span {
    padding: 19px 40px;
}
.btn-gradient-purple-pink {
    background-image: linear-gradient(to right, #0b58cb, #e94037, #0b58cb);
    background-size: 200% auto;
    color: var(--white);
}
/* bg gradient color */
.bg-gradient-dark-gray-transparent { 
    background: -webkit-linear-gradient(right, rgba(24, 25, 28, .5), rgba(255, 255, 255, 0.0));
    background: linear-gradient(to right, rgba(24, 25, 28, .5), rgba(255, 255, 255, 0.0));
}
.bg-base-color-transparent {
    background-color: rgba(37, 40, 64, .8);
}
.bg-bright-turquoise {
    background-color: #D3D8FF;
}
.bg-gradient-misty-rose {
    background-image: linear-gradient(360deg, rgba(211, 216, 255, 0.5) 0%, #F8F9FF 100%);
}
.bg-gradient-very-light-gray-transparent {
    background: -webkit-linear-gradient(right, rgba(240, 244, 253, 1.0), rgba(255, 255, 255, 0.0));
    background: linear-gradient(to right, rgba(240, 244, 253, 1.0), rgba(255, 255, 255, 0.0));
}
.bg-gradient-flamingo-red-transparent {
    background: -webkit-linear-gradient(right, rgba(243, 69, 59, 1.0), rgba(255, 255, 255, 0.0));
    background: linear-gradient(to right, rgba(243, 69, 59, 1.0) 10%, rgba(255, 255, 255, 0.0) 95%);
}
.bg-gradient-base-color-transparent {
    background: -webkit-linear-gradient(right, rgba(15, 89, 201, 1.0), rgba(255, 255, 255, 0.0));
    background: linear-gradient(to right, rgba(15, 89, 201, 1.0) 10%, rgba(255, 255, 255, 0.0) 95%);
}
.bg-gradient-light-gray-transparent {
    background: -webkit-linear-gradient(right, rgba(222, 230, 244, 1.0), rgba(255, 255, 255, 0.0));
    background: linear-gradient(to right, rgba(222, 230, 244, 1.0), rgba(255, 255, 255, 0.0));
}
.bg-midnight-blue {
    background-color: #1e2033;
}
/* text */
.text-flamingo {
    color: #e55b53;
}
.text-gradient-orange-sky-blue {
    background-image: linear-gradient(to right, #5e70f3, #6170f1, #8074dc, #b87bb6, #ec8192);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    margin-bottom: 25px;
}
/* portfolio filter */
.portfolio-filter li {
    padding: 0 18px;
    line-height: 24px;
}
/* blog */ 
.categories-btn {
    font-size: 11px;
}
/* page title */
.page-title-extra-large h1 {
    font-size: 4rem;
    line-height: 4rem;
}
.page-title-extra-large h2 {
    font-size: 17px;
    line-height: 28px;
    margin: 0 auto;
}
.process-step-style-05 .progress-step-separator {
    bottom: -10px;
    height: 100%;
    z-index: -1;
}
/* height */
.h-72px {
    height: 72px !important;
}
#map {
    height: 650px;
    border-radius: 6px 0 0 6px;
}
/* margin top */
.mt-minus-50px {
    margin-top: -50px;
}
/* line-height */
.lh-200 {
    line-height: 12.5rem;
}
/* bottom */
.bottom-auto {
    bottom: auto;
}
/* footer */
footer .footer-logo img {
    max-height: 35px;
}
footer ul li {
    margin-bottom: 0;
}
.footer-light a:hover, .footer-navbar li a:hover {
    color: var(--dark-gray);
}
@media (max-width: 1299px) {
    .navbar .navbar-nav .nav-link {
        font-size: 15px;
    }
    header .btn.btn-rounded.btn-large {
        padding: 10px 15px;
        font-size: 12px; 
    }
}
@media (max-width: 1199px) {
    .navbar .navbar-nav .nav-link {
        font-size: 14px;
    }
    header .btn.btn-rounded.btn-large {
        padding: 10px 10px;
        font-size: 11px; 
    }
}
@media (max-width: 991px) {
    .navbar .navbar-nav .dropdown.dropdown-with-icon-style02 .dropdown-menu {
        width: calc(100% + 30px) !important;
        margin-left: -15px;
        padding: 10px 45px;
        margin-bottom: 0;
        margin-right: -15px;
    }
    .navbar .navbar-nav .dropdown.dropdown-with-icon-style02 .dropdown-menu li:last-child a {
        padding-bottom: 17px;
    }
    [data-mobile-nav-style=full-screen-menu] .navbar-full-screen-menu-inner .navbar-nav .dropdown.dropdown-with-icon-style02 .dropdown-menu li a i {
        font-size: 19px;
    }
    header .btn.btn-rounded.btn-large {
        color: var(--dark-gray);
        border-color: var(--extra-medium-gray);
        padding: 10px 15px;
        font-size: 13px;
    }
}
@media (max-width: 767px) {
    .portfolio-filter li {
        padding: 0;
    }
}
/* Chatbot styles */
.chatbot-container {
    position: fixed;
    bottom: 0px;
    right: 2px;
    z-index: 9999;
    pointer-events: none;
}

.chatbot-container_button {
    position: relative;
    width: 50px;
    height: 50px;
    border-radius: 15px 15px 15px 15px;
    border: none;
    outline: none;
    background: linear-gradient(135deg, #252840 0%, #252840 100%);
    /* background-color: var(--dark-gray); */
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(37, 40, 64, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.2s ease-out;
    pointer-events: all;
}
.cursor-pointer{
    cursor: pointer;
}
  .thumb {
    /* border: 1px solid transparent; */
    transition: all 0.3s ease;
  }

  /* Effet au survol */
  .thumb:hover {
    border: 2px solid #252840;
    box-shadow: 0 0 20px rgba(37, 40, 64, 0.4);
    transform: scale(1.03);
  }

  /* État actif (cliqué/sélectionné) */
  .active-thumb {
    border: 1.5px solid #252840 !important;
    /* box-shadow: 0 0 20px rgba(37, 40, 64, 0.4); */
    transform: scale(1.03);
  }

.chatbot-container.active .chatbot-container_button {
    transform: rotate(calc(45deg * 3));
    transition: transform 0.3s ease;
}


.chatbot-container_button svg {
    position: absolute;
    transition: transform cubic-bezier(0.39, 0.575, 0.565, 1) .4s, opacity cubic-bezier(0.39, 0.575, 0.565, 1) .4s;
}

.chatbot-container_button .chatbot-icon-bg {
    display: block;
    width: 50px;
    height: 50px;
    border-radius: 18px;
    background-color: transparent;
    position: relative;
    z-index: 2;
    transition: transform cubic-bezier(0.39, 0.575, 0.565, 1) .4s;
}

.chatbot-container_button {
    position: relative;
    border: none;
    outline: none;
    background-color: transparent;
}

.chatbot-container_button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(37, 40, 64, 0.4);
}

.chatbot-container_button svg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s ease;
}

.chatbot-container_button #chatbot-icon-opened {
    opacity: 0;
}

.chatbot-container_button #chatbot-icon-closed {
    opacity: 1;
}

.chatbot-container_button.active #chatbot-icon-opened {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(0deg);
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s ease;
}

.chatbot-container_button.active #chatbot-icon-closed {
    opacity: 0;
}

.chatbot-container_iframe {
    position: absolute;
    bottom: 120px;
    right: 0;
    width: 299px;
    height: 90vh;
    max-height: 550px;
    position: absolute;
    bottom: 95px;
    right: 55px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: all;
}

.chatbot-container_iframe.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.chatbot-container_iframe iframe {
    width: 100%;
    height: 100%;
    border-radius: 12px;
}

#pulse_animation {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    opacity: 0.8;
}

.chatbot-icon-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 15px 15px 15px 15px;
    background: rgba(255, 255, 255, 0.1);
    opacity: 0;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1), transform 0.2s ease-out;
}

.chatbot-container_button:hover .chatbot-icon-bg {
    opacity: 1;
}

/* Responsive */
@media (max-width: 768px) {
    .chatbot-container {
        bottom: 10px;
        right: 15px;
    }

    .chatbot-container_iframe {
        width: 300px;
        height: 500px;
        bottom: 80px;
        right: -25px;
    }

    .chatbot-container_button {
        width: 55px;
        height: 55px;
    }
}

.cookie-btn {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: none;
    background: var(--dark-gray);
    color: white;
    font-size: 22px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
    z-index: 10001;
    transition: transform .25s ease;
}

.cookie-btn:hover {
    transform: scale(1.1);
}

.cookie-popup {
    position: fixed;
    bottom: 80px;
    left: 20px;
    width: 400px;
    height: 300px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    display: none;
    overflow: hidden;
}

.cp-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.cookie-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.cp-body {
    flex: 1;
    /* display: flex; */
    gap: 14px;
    padding: 14px;
    overflow-y: auto;
}

.cp-body-col {
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex: 1;
    overflow-y: auto;
}

.cp-footer {
    display: flex;
    padding: 0 14px;
    border-top: 1px solid #eee;
    flex-shrink: 0;
}

.btn-cookie,
.btn-footer {
    flex: 1;
    padding: 12px;
    cursor: pointer;
    font-weight: 600;
    font-size: 13px;
}

.btn-cookie.primary,
.btn-footer.primary {
    background: transparent;
    color: var(--dark-gray);
    border: 0;
    border-left: 1px solid #eee !important;
}

.btn-cookie.outline,
.btn-footer.outline {
    background: transparent;
    border: 0;
    color: var(--text);
}

.w-16{
    width: 16px !important;
    height: 16px !important;
}

.cp-text h3,
.cp-body-col h3 {
    margin: 0 0 8px;
}
.cp-text-h3{
    font-size: 16px;
    line-height: normal;
}
.cp-text p,
.cp-body-col p {
    margin: 0;
    font-size: 14px;
    color: #555;
    line-height: 1.4;
}

.cp-illu img {
    width: 80px;
}

.setting-item,
.setting-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    border: 1px solid #eee;
    border-radius: 12px;
    background: #fafafa;
    gap: 10px;
}

.setting-info {
    flex: 1;
}

.setting-title {
    font-weight: 600;
    margin-bottom: 4px;
    font-size: 15px;
    line-height: normal !important;
}

.setting-info p {
    font-size: 11px;
    color: #555;
    margin: 0;
}

.switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #ccc;
    border-radius: 24px;
    transition: .3s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background: white;
    border-radius: 50%;
    transition: .3s;
}

.switch input:checked+.slider {
    background: #00b894;
}

.switch input:checked+.slider:before {
    transform: translateX(20px);
}

@media(max-width:480px) {
    .cookie-popup {
        width: 90%;
        left: 5%;
        bottom: 80px;
        height: 350px;
    }
}
.cp-body-col h3 {
    font-size: 16px;       /* plus lisible */
    line-height: 1.3;
    margin-bottom: 10px;
}
.cp-body-col p {
    font-size: 12px;       /* un peu plus grand */
    color: #333;
    line-height: 1.5;
}

/* Images dans les cartes cookies */
.setting-card .favicon {
    width: 40px;            /* taille fixe raisonnable */
    height: 40px;
}

/* Ajuster l'espacement et alignement */
.setting-card {
    gap: 12px;
    padding: 12px;
}
.cp-body-col {
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* Responsive */
@media(max-width:480px){
    .cp-body-col h3 { font-size: 16px; }
    .cp-body-col p { font-size: 14px; }
    .setting-card .favicon { width: 32px; height: 32px; }
}
.hidden-box {
    display: none;
}
.select:after{
    top: 70% !important;
}
.my-blur-bg {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(34px);
    -webkit-backdrop-filter: blur(34px);
  }

  /* Animation d’apparition douce */
  .fade-in {
    animation: fadeIn 0.5s ease-in-out;
  }
  @keyframes fadeIn {
    from { opacity: 0; transform: scale(0.98); }
    to { opacity: 1; transform: scale(1); }
  }