/* Container & layout */
body.full-page {
  overflow: hidden; /* Le body ne bouge plus */
}
.full-page .float{
    display: none;
}
.deviseur {
  position: fixed;
  inset: 0;                /* top:0; right:0; bottom:0; left:0 */
  overflow-y: auto;        /* Scroll vertical interne */
  overflow-x: hidden;      /* Pas de scroll horizontal */
  height: 100vh;           /* S’assure que la zone scrollable prend tout l’écran */
  width: 100vw;
  -webkit-overflow-scrolling: touch; /* Scroll fluide mobile */
  background: linear-gradient(160deg,rgb(255, 255, 255) 80%, rgba(248, 118, 64, 1) 100%);
  z-index: 100;
}

.container{
    max-width: 95vw;
    margin: 1em auto;
}
.deviseur-step{
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
}
.deviseur-step .step{
  height: 2px;
  background: #DBDBDB;
  width: 100%;
  border-radius: 1px;
}
.deviseur-step .step.is-active{
    background: #000;
    border: 2px solid #000000
}

.deviseur-inner {
    display: flex;
    align-items: stretch;
    gap: 4em;
    max-width: 95vw;
    margin: 0 auto;
}

.deviseur-col-image,
.deviseur-col-form {
    flex: 1 1 50%;
}

/* Image header + back button */
.deviseur-col-image-header {
    position: relative;
    display: flex;
    transform: translateY(100%);
    z-index: 10;
    align-items: stretch;
}
.deviseur-col-image-header::before{
  content: url('data:image/svg+xml,<svg width="50" height="50" viewBox="0 0 50 50" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M50 0C22.3858 0 0 22.3858 0 50V0H50Z" fill="white"/></svg>');
  left: 0;
}
.deviseur-col-image-header::after {
  content: url('data:image/svg+xml,<svg width="50" height="50" viewBox="0 0 50 50" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M50 50C50 22.3858 27.6142 0 0 0H50V50Z" fill="white"/></svg>');
  right: 0;
}
.deviseur-col-image-header::before,
.deviseur-col-image-header::after{
  position: absolute;
  bottom: 0;
  transform: translateY(99%);
}


.deviseur-step-return{
    background: #fff;
}
.deviseur-col-form{
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.deviseur .deviseur-inner:first-child .step-return{
  visibility: hidden;
}
.step-return {
    border: none;
    padding: 10px !important;
    line-height: 0;
    box-shadow: none !important;
}
.step-return svg{
  pointer-events: none;
}
.step-return:hover{
    background: none;
}
.step-return:hover path{
    fill: #fff;
}

/* Price badge */
.deviseur-price-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 10%;
    gap: 2px;
    color: #fff;    
    min-height: 53px;
    position: relative;
}
.deviseur-price-badge::before,
.deviseur-price-badge::after {
	content: "";
	display: block;
	width: 100%;
	height: 100%;
	background-size: contain;
	background-repeat: no-repeat;
	position: absolute;
}

.deviseur-price-badge::before{
  background-image: url('../../../../../wp-content/plugins/deviseur-elementor/assets/img/Intersect-before.png');
  background-position: left center;
}
.deviseur-price-badge::after{
  background-image: url('../../../../../wp-content/plugins/deviseur-elementor/assets/img/Intersect-after.png');
  background-position: right center;
}

.deviseur-price-badge > svg{
  position: absolute;
  top: 20px;
  margin-left: 10px;
}

.deviseur-price-badge span {
    display: block;
    line-height: 1;
}

.deviseur-price-badge .amount {
    font-size: 53px;
    font-weight: 700;
}
.deviseur-price-badge-month > span:first-child{
    font-weight: 700;
}

.deviseur-price-badge-month .per-month {
    font-size: 14px;
}


.deviseur-white-content {
	background: #fff;
	width: 100%;
}
/* Main illustration */
.deviseur-figure{
    position: relative;
}
.deviseur-figure::after {
	content: "";
	display: block;
	width: 100%;
	height: 50vh;
	background: url('../../../../../wp-content/plugins/deviseur-elementor/assets/img/Intersect.png');
	background-size: 100%;
	background-repeat: no-repeat;
	position: absolute;
	background-position: bottom center;
	inset: auto 1px -1px 1px;
}
.deviseur-figure img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 40px;
}

/* Header (title + lead) */
.deviseur-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
}

.elementor-kit-44 h2.deviseur-title {
    font-size: 44px;
    font-weight: 800;
    line-height: 1.05;
    text-align: center;
    text-transform: uppercase;
}
.deviseur-header p{
    font-size: 19px;
    text-align: center;
}
.deviseur-lead {
    font-weight: 700;
}

/* List */
.liste-main {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.liste-main li {
    font-size: 16px;
}

.liste-main li::before {
    content: "👉 ";
}

/* Options block */
.deviseur-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
    padding: 14px 18px;
    border-radius: 14px;
    background: linear-gradient(55.84deg, #E867A0 -0.29%, #FBB037 90.52%);
}

.deviseur-option {
    position: relative;
    user-select: none;
}

.deviseur-option-body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 22px;
    background-color: #F8F9FA;
    border-radius: 7px;
    cursor: pointer;
}

.deviseur-option-label{
    font-size: 13px;
    font-weight: 700;
}

/* cercle radio custom */
.deviseur-option-radio {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    position: relative;
    display: inline-block;

    /* Bordure dégradée */
    border: 2px solid transparent;
    background: 
        linear-gradient(#F8F9FA, #F8F9FA) padding-box, /* fond par défaut */
        linear-gradient(55deg, #D4D4D4, #D4D4D4) border-box; /* bordure dégradée */

    transition: .25s ease!important;
}

.deviseur-option-input:checked + .deviseur-option-body .deviseur-option-radio{
    background: 
        linear-gradient(#F8F9FA, #F8F9FA) padding-box, /* fond par défaut */
        linear-gradient(55deg, #E867A0, #FBB037) border-box; /* bordure dégradée */
}

.deviseur-option-more {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;

    /* Bordure dégradée + fond blanc */
    border: 2px solid transparent;
    background:
        linear-gradient(#F8F9FA, #F8F9FA) padding-box,
        linear-gradient(55deg, #D4D4D4, #D4D4D4) border-box;

    transition: .25s ease;
}

/* Trait vertical du "+" */
.deviseur-option-more::before,
.deviseur-option-more::after {
    content: "";
    position: absolute;
    background: #d3d3d3; /* gris neutre */
    transition: .25s ease;
}

/* Barre verticale */
.deviseur-option-more::before {
    width: 2px;
    height: 12px;
}

/* Barre horizontale */
.deviseur-option-more::after {
    width: 12px;
    height: 2px;
}

.deviseur-option-input:checked + .deviseur-option-body .deviseur-option-more {
    background:
        linear-gradient(55deg, #E867A0, #FBB037) padding-box,
        linear-gradient(55deg, #E867A0, #FBB037) border-box;
}

.deviseur-option-input:checked + .deviseur-option-body .deviseur-option-more::before,
.deviseur-option-input:checked + .deviseur-option-body .deviseur-option-more::after {
    background: #fff; /* le "+" devient blanc */
}

/* cacher le radio natif */
.deviseur-option-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}



/* Halo dégradé (optionnel mais superbe) */
.deviseur-option-radio::after {
    content: "";
    position: absolute;
    inset: 2px;
    border-radius: inherit;
    background: linear-gradient(55deg, #E867A0, #FBB037);
    opacity: 0;
    transition: .25s ease;
}

.deviseur-option-input:checked + .deviseur-option-body .deviseur-option-radio::after {
    opacity: 1;
}


/* bulle */
.deviseur-option-tooltip {
    position: absolute;
    top: 0;
    left: 30%;
    transform: translate(12px,-50%);
    padding: 10px 21px;
    border-radius: 10px;
    background: #fff;
    font-size: 13px;
    font-weight: 700;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
    z-index: 10;
    border: 1px solid black;
}

/* petite flèche de la bulle */
.deviseur-option-tooltip::before {
    content: "";
    position: absolute;
    left: 20%;
    top: 100%;
    transform: translateY(-50%) rotate(45deg);
    width: 12px;
    height: 12px;
    background: #fff;
    border-right: 1px solid black;
    border-bottom: 1px solid black;
}
.deviseur-card-option .deviseur-option-tooltip{
    left: 0;
    top: 0;
    z-index: 12;
}

/* afficher la bulle uniquement quand l'option est cochée */
.deviseur-card-option.is-active:hover .deviseur-option-tooltip{
    opacity: 1;
    transform: translate(25%,75%);
}
.deviseur-option-input:checked + .deviseur-option-body + .deviseur-option-tooltip {
    opacity: 1;
    transform: translate(12px,-50%);
}

.deviseur-card {
    position: relative;
    max-width: 520px;
    margin: 0 auto;
    padding: 40px 0;
    overflow: hidden; /* pour couper les cartes latérales */
}

/* LES CARTES EN LIGNE HORIZONTALE */
.deviseur-card .deviseur-card-options {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.deviseur-card-option{
  position: relative;
  border-radius: 14px;
  padding: 14px;
  border: 1px solid #BFBFBF;
  background: #FFFFFF;
  aspect-ratio: 1/1;
  flex: 0 0 260px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}
.deviseur-card-option.is-checked{
    background: linear-gradient(55deg, #E867A0, #FBB037);
}
.deviseur-card-option > img{
  aspect-ratio: 1/1;
  width: 100%;
  object-fit: cover;
}
.deviseur-card-option > .deviseur-card-option-legend{
  position: absolute;
  bottom: 32px;
  left: 14px;
  width: calc(100% - 28px);
  color: #fff;
  font-weight: 700;  
  text-align: center;
  z-index: 10;
}
.deviseur-card-option-legend-title{
  font-size: 22px;
}
.deviseur-card-option-legend-description{
  font-size: 13px;
}

/* ÉTATS DU CARROUSEL */
.deviseur-card-option.is-active {
    transform: scale(1.05) translateY(0) rotate(0deg);
    z-index: 3;
    opacity: 1;
}

.deviseur-card-option.is-prev {
    transform: rotate(-6deg) translateX(-20px);
    z-index: 2;
    opacity: 0.8;
}

.deviseur-card-option.is-next {
    transform: rotate(6deg) translateX(20px);
    z-index: 2;
    opacity: 0.8;
}

.deviseur-card-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 54px;
    height: 54px;
    border-radius: 999px;
    border: 2px solid rgba(0,0,0,0.06);
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0!important;
    cursor: pointer;
    outline: none;
    z-index: 10;
}

.deviseur-card-arrow--prev {
    left: -10px;
}

.deviseur-card-arrow--next {
    right: -10px;
}

/* petit effet hover */
.deviseur-card-arrow:hover {
    transform: translateY(-50%) scale(1.05);
}

/* Bloc dégradé */
.dates-wrapper{
    margin: 2rem 0;
}
.dates-gradient {
  padding: 15px;
  border-radius: 14px;
  background: linear-gradient(55.84deg, #E867A0 -0.29%, #FBB037 90.52%);
  width: 100%;
}

.dates-inner {
  display: flex;
  gap: 4px;
}

.elementor-kit-44 button.date-btn {
  flex: 1 1 50%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: #F8F9FA;
  border-radius: 8px;
  padding: 23px 21px 17px 21px;
  border: none;
  color: #000;
  cursor: pointer;
  font: inherit;
}

.date-btn + .date-btn {
  margin-left: 4px;
}

.picto-calendar svg,
.date-btn-icon svg {
	width: 27px;
	display: block;
}

.date-btn-text {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.1;
  width: 100%;
}

.date-btn-text strong {
  font-size: 14px;
}

.date-btn-text small {
  font-size: 13px;
  opacity: 0.6;
}

.date-btn-arrow {
  font-size: 10px;
}

/* Sidebar */
.date-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  width: 420px;
  max-width: 100%;
  height: 100vh;
  background: #fff;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
  transform: translateX(100%);
  transition: transform 0.35s ease;
  z-index: 1001;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.date-sidebar.is-open {
  transform: translateX(0);
}

.date-sidebar-header {
  display: flex;
  align-items: center;
  gap: 16px;
}

.date-sidebar-label {
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0;
}

.date-sidebar-month {
  font-size: 16px;
  font-weight: 600;
  margin: 2px 0 0;
}

.date-sidebar-body {
  padding: 20px;
  overflow-y: auto;
  width: 90%;
}

/* pour la démo */
/* Conteneur général */
#bigDatePicker {
    width: 100%;
}

/* Air Datepicker override */
#bigDatePicker .air-datepicker {
    width: auto!important;
    padding: 10px;
    background-color: #F8F9FA;
    border: none;
    border-radius: 8px;
}

#bigDatePicker .air-datepicker-nav {
    padding: 12px 0;
    font-size: 18px;
    font-weight: 700;
}
#bigDatePicker .air-datepicker-nav--action{
    border-radius: 100%;
    background-color: #fff;
}
#bigDatePicker .air-datepicker-body--day-names,
#bigDatePicker .air-datepicker-body--cells.-days-{
    gap: 5px;
    grid-auto-rows : 40px;
}

#bigDatePicker .air-datepicker-body--day-name {
    color: #4A4A4A;
    font-size: 13px;
    opacity: 0.5;
}

#bigDatePicker .air-datepicker-cell {
    font-size: 16px;
    border-radius: 10px;
    background-color: #fff;
}

#bigDatePicker .air-datepicker-cell.-selected- {
    color: #fff;
    font-weight: bold;
}

#bigDatePicker .air-datepicker-cell.-focus- {
    background: rgba(0,0,0,0.05);
}

#bigDatePicker .air-datepicker-cell.-current-{
    color: #aef1bb;
}
/* CASE SÉLECTIONNÉE */
#bigDatePicker .air-datepicker-cell.-selected- {
    position: relative;
    background-color: #fff !important; /* fond blanc */
    border-radius: 10px;
    color: transparent !important; /* masque le texte natif */
}

/* BORDER GRADIENT */
#bigDatePicker .air-datepicker-cell.-selected-::before {
    content: "";
    position: absolute;
    inset: 0;
    padding: 1px; /* épaisseur */
    border-radius: inherit;
    background: linear-gradient(55deg, #E867A0, #FBB037);
    z-index: -1;

    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
}

/* TEXTE GRADIENT */
#bigDatePicker .air-datepicker-cell.-selected-::after {
    content: attr(data-day-label); /* JS va remplir cette valeur */
    position: absolute;
    inset: 0;

    display: flex;
    justify-content: center;
    align-items: center;

    font-weight: 600;
    font-size: 16px;

    background: linear-gradient(55deg, #E867A0, #FBB037);
    -webkit-background-clip: text;
            background-clip: text;
    color: transparent;
    pointer-events: none;
}

/* Overlay */
.date-sidebar-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  z-index: 1000;
}

.date-sidebar-overlay.is-visible {
  opacity: 1;
  pointer-events: auto;
}

/* état "active" d'un bouton date */
.date-btn.is-active {
  background: #fdf4ff;
}

/* CTA button */
.elementor-kit-44 button.deviseur-submit{
    cursor: not-allowed;
    display: flex;
    justify-content: center;
    gap: 10px;
    align-items: center;
}
.elementor-kit-44 button.deviseur-submit.cliquable{
    cursor: pointer;
}
.elementor-kit-44 button.deviseur-submit.cliquable svg *[fill="#000"]{
    fill: #fff;
}
.elementor-kit-44 button.deviseur-submit.cliquable
.elementor-kit-44 button.deviseur-submit:focus,
.elementor-kit-44 button.cta-abonnement-color,
.elementor-kit-44 button.deviseur-submit {
    width: 100%;
    margin-top: 24px;
    padding: 18px;
    border-radius: 10em;
    border: 1px solid #000;
    font-weight: 700;
    font-size: 15px;
    color: #000;
    background: #fff;
}

.elementor-kit-44 button.cta-abonnement-color {
    color: #fff;
    border: none;
}
.elementor-kit-44 button.deviseur-submit.cliquable:focus,
.elementor-kit-44 button.deviseur-submit.cliquable,
.elementor-kit-44 .deviseur button.deviseur-submit:hover{
    background: linear-gradient(90deg, #E867A0 0%, #FBB037 100%)!important;
    color: #fff;
    border: none;
}

/* CTA small text */
.text-cta-abonnement {
    margin-top: 25px;
    font-size: 11px;
    text-align: center;
}


@media (min-width: 1001px) {
    .deviseur-inner,
    .container{
        max-width: 1200px;
    }
    .deviseur-step{
        max-width: calc(50% - 2em);
        margin-left: auto;
    }
    .deviseur-price-badge.min-size{
        min-width: 35%;
    }
}
/* Responsive mobile */
@media (max-width: 1000px) {
    .deviseur{
        padding: 1em 0 10vh 0;
    }
    .deviseur-inner {
        flex-direction: column;
    }
    .deviseur-col-form{
        margin-top: -10vh;
    }
    .deviseur-price-badge.min-size{
        min-width: 45%;
    }
}
