/* Import Google Font */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #f8f9fa;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 20px;
    color: #000;
	overflow: hidden;
}
.ccme-layout {
    width: 100%;
    text-align: center;
    min-height: 100vh;
	height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.ccme-layout__container {
    max-width: 500px;
    margin: 0 auto;
}
.ccme-layout__container__logo {
    max-width: 120px;
    margin: 0 auto 40px;
}
.ccme-layout__container__logo img {
    max-width: 100%;
    height: auto;
}
.ccme-layout__container__content {
    margin-bottom: 100px;
}
.ccme-layout__container__content h1{
    margin-bottom: 40px;
    font-size: 2rem;
    font-weight: 700;
}
.ccme-layout__container__content p {
    margin-bottom: 50px;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.5;
}
.ccme-layout__container__back {
    display: inline-block;
    margin-bottom: 50px;
    font-size: .75rem;
    font-weight: 600;
    line-height: 1.5;
    color: #9D0201;
    text-decoration: none;
    text-align: center;
}

.ccme-layout__container__back:hover {
    text-decoration: underline;
    color: #ff0000;
}

.ccme-layout__container__button {
    background-color: #ff0000;
    border: none;
    padding: 12px 24px; 
    border-radius: 8px;
    color: #fff;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    transition: background-color 0.3s ease;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    -ms-border-radius: 8px;
    -o-border-radius: 8px;
}
.ccme-layout__container__button:hover {
    background-color: #cc0000;
    transition: background-color 0.3s ease;
}
/* Style du bouton sticky */
.header_chatbot{
    border-bottom: 1px solid #dcdcdc;
  padding: 7px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
    background: #F3F4F6;
    border-radius: 10px 10px 0px 0px;
}
.header_chatbot .ccme_logo {
    width: 63px;
}
.header_chatbot .close-btn{
    color: #fff;
  background: #9D0201;
  border: none;
  padding: 0;
  cursor: pointer;
  border-radius: 55px;
  font-size: 12px;
  line-height: 1;
  width: 25px;
  height: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.header_chatbot .close-btn:hover {
    background: #000;
}
.header_chatbot h4 {
    line-height: 1.25; 
    max-width: 90%; 
    color: #000; 
    font-size: 15px; 
    text-align: center; 
}
#sticky-button button:hover {
    background: #fff;
    color: #9D0201;
    box-shadow: 0px 2px 8px 1px rgba(0,0,0, .25);
}
/* Style du modal */
#iframe-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}
#iframe-container {
    position: relative;
    width: 90%;
    height: 80vh;
    max-height: 700px;
    background: #FFFFFF;
    border: 1px solid #EEEEEE;
    box-shadow: 0px 0px 14.1px rgba(2, 2, 2, 0.1);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

#iframe-container iframe {
    width: 100%;
    flex: 1;
    border: none;
    border-radius: 0 0 10px 10px;
}

/* Ajout des styles pour le modal actif */
#iframe-modal.active {
    display: flex;
}

/* Style pour bloquer le scroll du body quand modal ouvert */
body.modal-open {
    overflow: hidden;
}

/* Responsive du modal */


@media (min-width: 320px) {
    .ccme-layout__container__logo {
        margin: 0 auto 20px;
    }
    .ccme-layout__container__content {
        margin-bottom: 60px;
    }
    .ccme-layout__container__content h1{
        margin-bottom: 20px;
        font-size: 1.75rem;
    }
    .ccme-layout__container__content p {
        margin-bottom: 30px;
    }
}

@media (min-width: 480px) {
    
    .header_chatbot h4 {
        font-size: 13px;
    }
    #iframe-container {
        width: 95%;
        height: 90vh;
    }
    
    .header_chatbot h4 {
        font-size: 12px;
    }
}
@media (min-width: 768px) {
body {
        position: fixed;
        width: 100%;
    }
	}
	
@media (min-width: 768px) {
    .ccme-layout__container__logo {
        margin: 0 auto 40px;
    }
    .ccme-layout__container__content {
        margin-bottom: 80px;
    }
    .ccme-layout__container__content h1{
        margin-bottom: 30px;
        font-size: 1.875rem;
    }
    .ccme-layout__container__content p {
        margin-bottom: 40px;
    }
    
     #iframe-container {
        width: 95%;
        height: 85vh;
        max-height: 600px;
    }
    
    .header_chatbot h4 {
        font-size: 13px;
    }
}
@media (min-width: 991px) {
    .ccme-layout__container__content {
        margin-bottom: 100px;
    }
    .ccme-layout__container__content h1{
        margin-bottom: 40px;
        font-size: 2rem;
    }
    .ccme-layout__container__content p {
        margin-bottom: 50px;
    }
}

/* Animation d'entrée progressive */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ccme-layout__container__logo,
.ccme-layout__container__content h1,
.ccme-layout__container__content p,
.ccme-layout__container__button {
    animation: fadeInUp 0.6s ease-out forwards;
}

.ccme-layout__container__logo {
    animation-delay: 0.1s;
}

.ccme-layout__container__content h1 {
    animation-delay: 0.2s;
}

.ccme-layout__container__content p {
    animation-delay: 0.3s;
}

.ccme-layout__container__button {
    animation-delay: 0.4s;
}