/* =========================================================
   LISSAGE GLOBAL DES POLICES
   ========================================================= */

body {
  /* Améliore le rendu des polices sur Chrome / Safari */
  -webkit-font-smoothing: antialiased;

  /* Améliore le rendu des polices sur macOS Firefox */
  -moz-osx-font-smoothing: grayscale;
}

/*//////////////////////////////////////////////////////////////////// 
//   GLOBAL
////////////////////////////////////////////////////////////////////*/
.FormGroup--1_PlD {padding: 16px !important;}

.cky-consent-container.cky-box-bottom-left {font: icon;}


/*///// PP MENU MOBILE 100% WIDTH ////*/
body:not(.pp-visualbuilder) .pp-slideover > .pp-block {
width: 100vw !important;
}

/*///////////////////////////////////////////////////////////////////////////////////////
//   PP SLIDESHOW - Réduit la taille des images en mode galerie 
///////////////////////////////////////////////////////////////////////////////////////*/
.ansel-slides-container .slide img {
  scale: 90%;
}

/* Version mobile */
@media (max-width: 767px) {
  .ansel-slides-container .slide img {
    scale: 95%;
  }
}
.pp-grid-image__image {
  cursor: pointer;
}
.ansel-slides-container {
  backdrop-filter: blur(8px);
}

.pp-slideshow-expanded,
.pp-slideshow-expanded .ansel-slides-container,
.pp-slideshow-expanded .ansel-slides {
    background: #ffffffc2!important;
    backdrop-filter: blur(8px);
}

.pp-rendered .ansel-slides-container.is-fullwindow .ansel-slides {
  /*  background: #ffffffb0 !important; */
}

/*//////////////////////////////////////////////////////////////////// 
//  ACCORDION PLUGIN
////////////////////////////////////////////////////////////////////*/

/* -----------------------------
   ÉTAT FERMÉ
   ----------------------------- */

/* Fond gris clair + pas de gras sur les items fermés */
.collapsed {
  background-color: #eee;
  font-weight: normal !important;
}

/* Mini-ombre sous chaque item */
.sp-easy-accordion .sp-ea-single {
  box-shadow: 0px 1px 4px rgba(123, 123, 123, 0.35);
}

/* -----------------------------
   HEADER (question)
   ----------------------------- */

/* Style général du lien de question + taille, casse et décoration du texte*/

@media (max-width: 768px) {
  .sp-ea-one.sp-easy-accordion .sp-ea-single .ea-header a {
    font-size: 13px !important;
    line-height: 1.35;
  }
}

.sp-ea-one.sp-easy-accordion .sp-ea-single .ea-header a {
  padding: 12px 5px 10px 16px;
  color: #444;
  background-color: #F2EFEB;
  font-size: 16px !important;
  text-transform: none !important;
  text-decoration: none;
}

/* Supprimer la bordure des items de l’accordéon */
.sp-easy-accordion .sp-ea-single {
  border: none !important;
}

/* Ajustement visuel au survol (sans changer la couleur ici) */
.sp-ea-one.sp-easy-accordion .sp-ea-single .ea-header a:hover {
 line-height: 1.35 !important;
}

/* -----------------------------
   ICÔNE + / -
   ----------------------------- */

/* Neutraliser l’icône du plugin */
.sp-easy-accordion .ea-expand-icon::before {
  content: "" !important;
}
.sp-easy-accordion .ea-expand-icon{
  display: inline-block;
  width: 22px;
  height: 22px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

/* fermé = + */
.sp-easy-accordion .eap-icon-ea-expand-plus {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 6l6 6-6 6' fill='none' stroke='%23686865' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
/* ouvert = - */
.sp-easy-accordion .eap-icon-ea-expand-minus {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%23686865' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}


/* Le lien devient le conteneur de référence */
.sp-ea-one.sp-easy-accordion .sp-ea-single .ea-header a{
  position: relative !important;
  padding-right: 40px !important; /* laisse de la place au + à droite */
}

/* L’icône est collée à droite, centrée verticalement */
.sp-ea-one.sp-easy-accordion .sp-ea-single .ea-header a .ea-expand-icon{
  position: absolute !important;
  right: 12px !important;
  left: auto !important;
  top: 50% !important;
  transform: translateY(-50%) !important;

  margin: 0 !important;
  float: none !important;
}

/* -----------------------------
   ÉTAT OUVERT
   ----------------------------- */

/* Fond beige quand l’item est ouvert */
.sp-ea-one .ea-card.ea-expand .ea-header a {
  background-color: #ece6dd;
}

/* Ombre + radius quand ouvert (effet carte premium) */
.sp-ea-one .ea-card.ea-expand {
  box-shadow: 0 3px 8px rgba(0,0,0,.1);
  border-radius: 10px;
}

/* Rétablir l’espace entre les paragraphes dans la réponse */
.sp-easy-accordion .ea-body p {
  margin: 0 0 1em 0 !important;
  line-height: 1.6;
}

/* Pas d’espace inutile après le dernier paragraphe */
.sp-easy-accordion .ea-body p:last-child {
  margin-bottom: 0 !important;
}

/* Réduire légèrement la typo du contenu */
.sp-easy-accordion .ea-body {
  font-size: calc(100% - 1px);
}

/* -----------------------------
   CARTES (OUVERTES + FERMÉES)
   ----------------------------- */

/* Border-radius commun à tous les items */
.sp-easy-accordion .sp-ea-single {
  border-radius: 10px;
  overflow: hidden; /* évite que les backgrounds dépassent */
}

/* -----------------------------
   TYPOGRAPHIE (ANTI-GRAS)
   ----------------------------- */

/* Forcer le texte non gras sur le h3 ET le lien */
.sp-easy-accordion .ea-header,
.sp-easy-accordion .ea-header a {
  font-weight: 400 !important;
}

/* -----------------------------
   HOVER = MÊME COULEUR QUE OUVERT
   ----------------------------- */

/* Transition douce pour éviter l’effet “claque” */
.sp-easy-accordion .ea-header a {
  transition: background-color 0.2s ease;
}

/* Même fond en hover qu’en état ouvert */
.sp-ea-one.sp-easy-accordion
.sp-ea-single
.ea-header a:hover {
  background-color: #EFEBE6;
}

/* -----------------------------
ANTI-DÉCALLAGE ACCORDEON : fige la géométrie du header 
   ----------------------------- */

.sp-ea-one.sp-easy-accordion .sp-ea-single .ea-header a,
.sp-ea-one.sp-easy-accordion .sp-ea-single .ea-header a:hover,
.sp-ea-one.sp-easy-accordion .sp-ea-single .ea-header a:focus,
.sp-ea-one.sp-easy-accordion .ea-card.ea-expand .ea-header a {
  box-sizing: border-box !important;
  border: 0 !important;
  outline: 0 !important;

  /* même padding partout = plus de “shift” */
  padding: 12px 40px 10px 16px !important;

  /* même hauteur de ligne partout */
  line-height: 1.35 !important;

  /* au cas où le plugin change l’affichage au hover */
  display: block !important;
}







/*//////////////////////////////////////////////////////////////////////////////////////////////////
////  FORMULAIRE FOTOSTUDIO
//////////////////////////////////////////////////////////////////////////////////////////////////*/

/* =========================================================
   Champ caché antispam
   ========================================================= */

.hidden-field{
	position:absolute;
	left:-9999px;
}

/* ================================================================================================
   ROWS
================================================================================================ */

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 0;
}

.left-half-contact,
.right-half-contact {
    flex: 1;
}

/* ================================================================================================
   FIX WORDPRESS / P TAGS
================================================================================================ */

.left-half-contact p,
.right-half-contact p {
    margin: 0;
}

#formulaire-responsive .form-section {
    margin-bottom: 25px;
}

/* ================================================================================================
   INPUTS / SELECT / TEXTAREA
================================================================================================ */

#formulaire-responsive input:not([type="checkbox"]):not([type="hidden"]),
#formulaire-responsive select,
#formulaire-responsive textarea {
    width: 100%;
    box-sizing: border-box;

    padding: 6px 8px;

    background: #fff;
    border: 1px solid #b8b8b8;
    border-radius: 0;

    color: #333;
    font-size: 16px !important;

    transition: all .25s ease;
}

/* ================================================================================================
   INPUT DATE
================================================================================================ */

#formulaire-responsive input[type="date"] {
    appearance: none;
    -webkit-appearance: none;
}

/* ================================================================================================
   SPACING
================================================================================================ */

#formulaire-responsive .form-row,
#formulaire-responsive .left-half-contact,
#formulaire-responsive .right-half-contact,
#formulaire-responsive select,
#formulaire-responsive section > div {
    margin-bottom: 8px;
}

#formulaire-responsive label {
    display: block;
    margin-bottom: 2px;
}

#formulaire-responsive input[type="checkbox"] + label {
    display: inline-block;
    margin-bottom: 18px;
    width: calc(100% - 34px);
    vertical-align: top;
    line-height: 1.5;
    cursor: pointer;
}

#formulaire-responsive h2 {
    margin-bottom: 16px !important;
}

/* ================================================================================================
   PLACEHOLDERS
================================================================================================ */

#formulaire-responsive input::placeholder,
#formulaire-responsive textarea::placeholder {
    color: #8d8d8d;
}

/* ================================================================================================
   FOCUS
================================================================================================ */

#formulaire-responsive input:not([type="checkbox"]):focus,
#formulaire-responsive select:focus,
#formulaire-responsive textarea:focus {
    background: #fff;
    border-color: #cfcfcf;
    outline: 1px solid #9d9d9d;
}

/* ================================================================================================
   TEXTAREA
================================================================================================ */

#formulaire-responsive textarea {
    height: 140px !important;
    min-height: 140px !important;
    resize: vertical;
}

/* ================================================================================================
   CHECKBOXES
================================================================================================ */

#formulaire-responsive input[type="checkbox"] {
    width: 18px !important;
    height: 18px !important;

    margin: 3px 10px 0 0;

    vertical-align: top;
    accent-color: #555;
}

#formulaire-responsive input[type="checkbox"] + label {
    display: inline-block;
    width: calc(100% - 34px);
    vertical-align: top;
    line-height: 1.5;
    cursor: pointer;
}

#formulaire-responsive input[type="checkbox"] + label,
#formulaire-responsive input[type="checkbox"] {
    margin-bottom: 18px;
}

/* ================================================================================================
     BOUTON
================================================================================================ */

#formulaire-responsive button,
#formulaire-responsive input[type="submit"] {
    width: auto;
    height: auto;

    margin-top: 30px;
    padding: 12px 28px;

    background: transparent;
    color: #555;

    border: 1px solid #555;
    border-radius: 0;

    font-size: 15px;
    letter-spacing: 2px;
    text-transform: uppercase;

    cursor: pointer;
    transition: all 0.25s ease;
}

#formulaire-responsive button:hover,
#formulaire-responsive input[type="submit"]:hover {
    background: #555;
    color: #fff;
}


/* ================================================================================================
   MOBILE
================================================================================================ */

@media (max-width: 768px) {

    .form-row {
        flex-direction: column;
        gap: 20px;
    }

}


/*//////////////////////////////////////////////////////////////////////////////////////////////////
// 13 - POPUP APPLE STYLE
//////////////////////////////////////////////////////////////////////////////////////////////////*/

@media (max-width: 768px) {
    .apple-popup-card h2 {
        font-size: 21px !important;
    }
    .apple-popup-close {
       width: 36px !important;
       height: 36px !important;
    }
    .apple-popup-close-svg {
       width: 38px !important;
       height: 38px !important;
    }
   .apple-popup-close-icon {
       width: 32px !important;
       height: 32px !important;
    }
}



.apple-popup-overlay {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    background: rgba(29, 29, 31, 0.45);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    opacity: 0;
    visibility: hidden;
    transition:
        opacity .35s ease,
        visibility .35s ease;
    z-index: 99999;
}

.apple-popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.apple-popup-card {
    position: relative;
    width: 100%;
    max-width: 780px;
    padding: 50px;
    background: rgba(255, 255, 255, 0.96);
    border-radius: 38px;
    overflow: visible;
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.18),
        0 10px 30px rgba(0, 0, 0, 0.08);

    transform:
        translateY(24px)
        scale(.98);
    opacity: 0;
    transition:
        transform .45s cubic-bezier(.28, .11, .32, 1),
        opacity .35s ease;
}

.apple-popup-overlay.active .apple-popup-card {
    transform:
        translateY(0)
        scale(1);
    opacity: 1;
}

.apple-popup-card h2 {
    margin: 0 0 32px;
    font-size: 30px;
    font-weight: 700;
    line-height: .95;
    letter-spacing: -0.02em;
    color: #1d1d1f;
    text-align: center;
}

.apple-popup-close {
    position: absolute;
    top: 28px;
    right: 28px;
    width: 56px;
    height: 56px;
    padding: 0;
    margin: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    z-index: 30;
}

.apple-popup-close::before {
    content: '';
    position: absolute;
    inset: -12px;
}

.apple-popup-close-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: #1d1d1f;
    transition:
        transform .25s cubic-bezier(.28, .11, .32, 1),
        background .15s linear;
}

.apple-popup-close-svg {
    display: block;
    width: 38px;
    height: 38px;
    color: #fff;
    flex-shrink: 0;
}

.apple-popup-close:hover .apple-popup-close-icon {
    background: #000;
    transform: scale(1.08);
}

.apple-popup-document {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 20;
}

.apple-popup-document img {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 20px;
    background: #fff;
    box-shadow:
        0 10px 30px rgba(0, 0, 0, .08);
}

.apple-popup-download {
    position: relative;
    z-index: 100;
    display: inline-flex;
    margin-top: 24px;
    color: #0066cc;
    text-decoration: none;
    cursor: pointer;
    padding: 8px 12px;
}

body.apple-popup-open {
    overflow: hidden;
}

@media (max-width: 768px) {

    .apple-popup-overlay {
        padding: 20px;
    }

    .apple-popup-card {
        padding: 32px 22px;
        border-radius: 28px;
    }

    .apple-popup-card h2 {
        font-size: 32px;
    }

    .apple-popup-close {
        top: 18px;
        right: 18px;
        width: 40px;
        height: 40px;
    }

    .apple-popup-close-icon {
        width: 40px;
        height: 40px;
    }

    .apple-popup-close-svg {
        width: 46px;
        height: 46px;
    }

    .apple-popup-document img {
        max-height: 60vh;
    }

}