/*
Theme Name: hello-elementor-child
Description: Theme enfant de aifordesigners
Author: Alexis Markarian
Author URI: https://aifordesigners.io/
Template: hello-elementor
Version: 1.4
*/

h1 strong {
    font-style: italic;
    font-weight: 400;
}

.blcInnerblur {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid #FFFFFF6E;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.08));
    backdrop-filter: blur(6px) saturate(140%);
    -webkit-backdrop-filter: blur(6px) saturate(140%);
}

.twentytwenty-container img {
  loading: eager !important;
}

.e-n-accordion-item {
    box-shadow: 0px 3px 29px #0000001C;
    background: #FEFEFE 0% 0% no-repeat padding-box;
}

.twentytwenty-overlay:hover {
    background: transparent!important;
}

.blcStars {
    font-family: "Inter", Sans-serif;
    font-size: 15px;
    color: #FCFAF8;
    display: flex;
    align-items: center;
    gap: 15px;
}

.blcStars svg {
    width: 22px;
    color: #FBC228;
}

summary.e-n-accordion-item-title {
    justify-content: space-between !important;
}

.priceplan>span {
    font: normal normal bold 24px / 38px Inter;
    letter-spacing: 0px;
    color: #343230;
}

.plan {
      padding: 4vw 2.5vw;
}

.planentreprise {
      padding: 2vw 2.5vw;
}

.plan p {
    margin: 0;
}

.priceplan
 {
    display: flex;
    align-items: center;
}

.plan .elementor-button {
    width: 100%;
}

.priceplan span:last-child {
    font-size: 9px;
    letter-spacing: 0px;
    color: #848484;
    line-height: 11px;
    margin-left: 5px;
}

.bestplan {
    margin-top: -38px!important;
}

#faq h2 {
  font-weight: 400!important;
}

li.startnow {
    padding: 6px 20px 20px 20px;
}

li.startnow a {
    background-color: #50190F;
    font-family: "Inter", Sans-serif;
    font-size: 12px;
    font-weight: 400;
    fill: #F4F2EE;
    color: #F4F2EE;
    width: fit-content;
    border-radius: 35px;
    padding: 6px 25px 6px 25px;
}

@media (min-width: 768px) {
  .startnow {
      display: none !important;
  }
}
@media (max-width: 768px) {
  .startnowdesk {
      display: none !important;
  }
}

/* ===============================
   IMAGE TOGGLE DAY/NIGHT
   Transition fluide sans flash
================================ */

.image-toggle {
  position: relative;
  overflow: hidden;
  background-color: transparent;
}

/* IMAGE JOUR - Base layer */
.image-toggle .img-day {
  position: relative;
  width: 100%;
  z-index: 1;
  opacity: 1;
  pointer-events: auto;
}

/* IMAGE NUIT - Overlay layer */
.image-toggle .img-night {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  opacity: 0;
  pointer-events: none;
}

/* Images - Optimisation du rendu */
.image-toggle .img-day img,
.image-toggle .img-night img {
  width: 100%;
  height: auto;
  display: block;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

/* Transition crossfade uniquement sur l'image du dessus */
.image-toggle .img-night {
  transition: opacity 1.2s cubic-bezier(0.25, 0.1, 0.25, 1);
  will-change: opacity;
}

/* ÉTAT NIGHT - Seule l'image night change */
.image-toggle.is-night .img-night {
  opacity: 1;
  pointer-events: auto;
}

/* Bouton toujours cliquable */
.image-toggle .toggle-btn {
  position: relative;
  z-index: 5;
}

/* ===============================
   NIGHT MODE GLOBAL
================================ */

body {
  transition: background-color 0.8s cubic-bezier(0.4, 0, 0.2, 1), 
              color 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

body.global-night {
  background-color: #E2DED8;
}

.image-toggle {
    transition: opacity 1.2s cubic-bezier(0.25, 0.1, 0.25, 1)!important;
    will-change: opacity!important;
}

.img-day, .img-night {
    transition: opacity 1.2s cubic-bezier(0.25, 0.1, 0.25, 1) !important;
    will-change: opacity !important;
}

/* ===============================
   TOGGLE STYLE (incommonwith-like)
================================ */

.light-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  color: #151515;
  font-family: 'Inter', sans-serif;
  user-select: none;
  -webkit-user-select: none;
}

.light-toggle .label {
  font-size: 12px;
  letter-spacing: 0.05em;
  transition: color 0.3s ease;
}

.light-toggle .switch {
  width: 44px;
  height: 22px;
  border-radius: 22px;
  border: 2px solid #5a1e14;
  position: relative;
  transition: background-color 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
              border-color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.light-toggle .dot {
  width: 14px;
  height: 14px;
  background: #5a1e14;
  border-radius: 50%;
  position: absolute;
  top: 2px;
  left: 2px;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              background-color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ÉTAT NIGHT du toggle */
body.global-night .light-toggle .switch {
  background-color: #5a1e14;
}

body.global-night .light-toggle .dot {
  background: #fff;
  transform: translateX(22px);
}

.toggle-btn {
    display: flex;
}