/* Forfaits residences : hauteur egale des deux cartes */
.elementor-element-fa56121{align-items:stretch}
.elementor-element-e869680,.elementor-element-fcdddbd{display:flex;flex-direction:column}
.elementor-element-e869680>.elementor-widget,.elementor-element-fcdddbd>.elementor-widget{flex:1 1 auto;display:flex;width:100%;align-items:stretch}
.elementor-element-e869680 .elementor-widget-container,.elementor-element-fcdddbd .elementor-widget-container{flex:1 1 auto;display:flex;width:100%;align-items:stretch}
.elementor-element-e869680 .eael-pricing,.elementor-element-fcdddbd .eael-pricing{flex:1 1 auto;display:flex;width:100%;align-items:stretch}
.elementor-element-e869680 .eael-pricing-item,.elementor-element-fcdddbd .eael-pricing-item{flex:1 1 auto;display:flex;flex-direction:column;width:100%}
.elementor-element-e869680 .eael-pricing-item .footer,.elementor-element-fcdddbd .eael-pricing-item .footer{margin-top:auto}

/* Drapeaux : Canada pour English, Quebec pour Francais */
.gtranslate_wrapper a[data-gt-lang="en"] img{content:url('/wp-content/plugins/gtranslate/flags/svg/en-ca.svg')}
.gtranslate_wrapper a[data-gt-lang="fr"] img{content:url('/wp-content/plugins/gtranslate/flags/svg/fr-qc.svg')}

/* Boutons des forfaits : meme taille et alignes en bas */
.elementor-element-e869680 .eael-pricing-item .footer,
.elementor-element-fcdddbd .eael-pricing-item .footer{margin:auto 0 0 0 !important;width:100% !important;max-width:100% !important;display:flex !important;justify-content:center !important;align-items:center;box-sizing:border-box}
.elementor-element-e869680 .eael-pricing-button,
.elementor-element-fcdddbd .eael-pricing-button{
 width:250px !important;min-height:64px !important;
 display:flex !important;align-items:center !important;justify-content:center !important;
 margin-left:auto !important;margin-right:auto !important;
 padding:12px 16px !important;text-align:center;box-sizing:border-box;line-height:1.25}

/* ---- Section formulaire (Réservation) ---- */
.elementor-element-24673f3{background-color:#F5F5DC !important}
.elementor-element-24673f3 > .e-con-inner{align-items:flex-start !important;gap:56px}
.elementor-element-d13079d{align-self:flex-start;position:sticky;top:110px}

.elementor-element-eb48f93 .wpforms-container{background:#fff;border:1px solid #E7E3CF;border-radius:14px;padding:36px 32px;box-shadow:0 6px 24px rgba(0,0,0,.06);margin:0}
.elementor-element-eb48f93 .wpforms-form .wpforms-field{padding:0 0 20px 0}

.elementor-element-eb48f93 .wpforms-form input.wpforms-field-medium,
.elementor-element-eb48f93 .wpforms-form input.wpforms-field-large,
.elementor-element-eb48f93 .wpforms-form textarea.wpforms-field-medium,
.elementor-element-eb48f93 .wpforms-form textarea.wpforms-field-large{max-width:100% !important;width:100% !important}

.elementor-element-eb48f93 .wpforms-form input[type=text],
.elementor-element-eb48f93 .wpforms-form input[type=email],
.elementor-element-eb48f93 .wpforms-form input[type=tel],
.elementor-element-eb48f93 .wpforms-form input[type=number],
.elementor-element-eb48f93 .wpforms-form textarea{background:#FCFCF7;border:1px solid #DCD7C0;border-radius:8px;padding:12px 14px;font-size:16px;color:#2b2b2b;box-shadow:none}
.elementor-element-eb48f93 .wpforms-form input:focus,
.elementor-element-eb48f93 .wpforms-form textarea:focus{border-color:#C4A484;box-shadow:0 0 0 3px rgba(196,164,132,.25);outline:none}

.elementor-element-eb48f93 .wpforms-form .wpforms-field-label{color:#2b2b2b !important;font-weight:600;font-size:15px;margin-bottom:8px;display:block}
.elementor-element-eb48f93 .wpforms-form .wpforms-field-sublabel{color:#8a8a7a;font-size:13px}

.elementor-element-eb48f93 .wpforms-form .wpforms-field-checkbox ul li{margin-bottom:10px;display:flex;align-items:flex-start;gap:10px}
.elementor-element-eb48f93 .wpforms-form .wpforms-field-checkbox input[type=checkbox]{margin:3px 0 0 0;width:18px;height:18px;accent-color:#C4A484;flex:0 0 auto}
.elementor-element-eb48f93 .wpforms-form .wpforms-field-checkbox label{color:#3a3a3a;font-size:15px;line-height:1.45}

.elementor-element-eb48f93 .wpforms-form .wpforms-submit{background:#C4A484 !important;color:#fff !important;border:0;border-radius:6px;padding:14px 34px;font-size:16px;font-weight:600;width:100%;cursor:pointer}
.elementor-element-eb48f93 .wpforms-form .wpforms-submit:hover{background:#B3906D !important}

@media(max-width:1024px){
 .elementor-element-24673f3 > .e-con-inner{gap:28px}
 .elementor-element-d13079d{position:static !important;top:auto !important}
 .elementor-element-eb48f93 .wpforms-container{padding:24px 20px}
}

/* ---- Bloc contact (page Contact) ---- */
.elementor-element-3daccd4{background:#fff;border:1px solid #E7E3CF;border-radius:14px;box-shadow:0 6px 24px rgba(0,0,0,.06);max-width:760px;margin:0 auto;padding:52px 44px !important}
.elementor-element-3daccd4 .elementor-heading-title{text-align:center}
.elementor-element-2573ccc .elementor-heading-title{font-size:34px;line-height:1.25;margin-bottom:6px}
.elementor-element-a9e4637 .elementor-heading-title{color:#6f6a58;font-size:16px;font-weight:400}
.elementor-element-393d0dc{margin-top:6px}
.elementor-element-393d0dc .elementor-heading-title{font-size:24px;letter-spacing:.2px}
.elementor-element-393d0dc .elementor-heading-title a{color:#2b2b2b;text-decoration:none;border-bottom:2px solid #C4A484;padding-bottom:2px}
.elementor-element-393d0dc .elementor-heading-title a:hover{color:#B3906D;border-bottom-color:#B3906D}
.elementor-element-d7990bb{margin-top:22px}
@media(max-width:767px){
 .elementor-element-3daccd4{padding:34px 22px !important;margin:0 16px}
 .elementor-element-2573ccc .elementor-heading-title{font-size:26px}
 .elementor-element-393d0dc .elementor-heading-title{font-size:19px;word-break:break-word}
}
.elementor-element-39ad6de{background-color:#F5F5DC !important}
.elementor-element-77897ae{width:100% !important;--width:100%}
.elementor-element-307b34f{width:100% !important;--width:100% !important;flex:1 1 100% !important;--margin-left:0% !important;--margin-right:0% !important;margin-left:0 !important;margin-right:0 !important;--padding-bottom:0px !important}

/* ---- Pages légales (Politique de confidentialité 1873, Conditions 1874) ---- */
.page-id-1873 .site-content,
.page-id-1874 .site-content{background:#F5F5DC;padding-bottom:60px;}
.page-id-1873 .ast-container,
.page-id-1874 .ast-container{max-width:920px;}
.page-id-1873 .entry-content,
.page-id-1874 .entry-content{background:#fff;border:1px solid #E7E3CF;border-radius:14px;box-shadow:0 2px 14px rgba(0,0,0,.04);padding:52px 56px 60px;margin-top:56px;}
.page-id-1873 .entry-content > *:first-child,
.page-id-1874 .entry-content > *:first-child{margin-top:0;}
.cs-legal-title{font-size:2.1rem !important;line-height:1.2;margin:0 0 6px !important;}
.page-id-1873 .entry-content h2,
.page-id-1874 .entry-content h2{font-size:1.4rem !important;line-height:1.35;margin:38px 0 12px !important;padding-top:22px;border-top:1px solid #EFEADA;}
.page-id-1873 .entry-content h3,
.page-id-1874 .entry-content h3{font-size:1.08rem !important;line-height:1.4;margin:26px 0 8px !important;}
.page-id-1873 .entry-content p,
.page-id-1874 .entry-content p,
.page-id-1873 .entry-content li,
.page-id-1874 .entry-content li{font-size:1rem;line-height:1.75;}
.page-id-1873 .entry-content ul,
.page-id-1874 .entry-content ul{margin:0 0 18px 1.3em;}
.page-id-1873 .entry-content li,
.page-id-1874 .entry-content li{margin-bottom:7px;}
.page-id-1873 .entry-content a,
.page-id-1874 .entry-content a{color:#B3906D;text-decoration:underline;}
@media (max-width:782px){
 .page-id-1873 .entry-content,
 .page-id-1874 .entry-content{padding:30px 22px 36px;margin-top:28px;}
 .cs-legal-title{font-size:1.6rem !important;}
 .page-id-1873 .site-content,
 .page-id-1874 .site-content{padding-bottom:40px;}
}

/* En-tête : sur les pages légales il n'y a pas de bannière sombre derrière le menu transparent */
.page-id-1873 .site-header,
.page-id-1874 .site-header{position:relative !important;background:#C4A484 !important;}
.page-id-1873 .entry-content,
.page-id-1874 .entry-content{margin-top:40px;}

/* Astra enveloppe l'article dans une boîte blanche : on la neutralise, la carte suffit */
.page-id-1873 .ast-article-single,
.page-id-1874 .ast-article-single{background:transparent !important;padding:0 !important;border:0 !important;box-shadow:none !important;}

/* Avis de collecte sous le formulaire (Réservation) */
.cs-privacy-note{font-size:.82rem !important;line-height:1.6;color:#7A7364;max-width:760px;margin:14px auto 0;text-align:center;}
.cs-privacy-note a{color:#B3906D;text-decoration:underline;}

/* Le CTA du pied de page remonte de -375px pour chevaucher une section sombre.
   Les pages légales n'en ont pas : on annule le chevauchement, sinon le texte blanc
   s'affiche sur le beige et devient invisible. */
.page-id-1873 [data-elementor-id="137"] > .e-con > .e-con-inner,
.page-id-1873 [data-elementor-id="137"] [data-id="1d89827"],
.page-id-1874 [data-elementor-id="137"] [data-id="1d89827"]{margin-top:0 !important;}

/* Liens d'ancrage vers un atelier (pied de page, cartes Accueil et Réservation) */
html{scroll-behavior:auto !important;}

#CyberSécurité,#Gestion,#Bien,#Base,#Applications,#Transport{scroll-margin-top:28px;}

/* ---- Cartes d'atelier : toute la carte est cliquable, pas seulement le texte ---- */
.e-con:has(> .elementor-widget-heading .elementor-heading-title > a[href*="/services/#"]){position:relative;cursor:pointer;}
/* le widget est en position:relative par défaut, ce qui limiterait la zone cliquable */
.e-con:has(> .elementor-widget-heading .elementor-heading-title > a[href*="/services/#"]) > .elementor-widget-heading{position:static;}
.elementor-widget-heading .elementor-heading-title > a[href*="/services/#"]::after{content:"";position:absolute;inset:0;z-index:2;}
@media (hover:hover){.e-con:has(> .elementor-widget-heading .elementor-heading-title > a[href*="/services/#"]):hover{box-shadow:0 18px 30px -12px rgba(0,0,0,.22);transform:translateY(-3px);}}
.e-con:has(> .elementor-widget-heading .elementor-heading-title > a[href*="/services/#"]):focus-within{outline:2px solid #B3906D;outline-offset:3px;}

/* ---- Contour de focus du menu ----
   Au clic à la souris, le navigateur dessinait son propre encadré pointillé
   autour du lien (toute sa zone cliquable, 142x113). On le retire pour la souris
   et on garde un contour net et lisible pour la navigation au clavier. */
.site-header a:focus:not(:focus-visible),
.main-header-menu a:focus:not(:focus-visible),
.ast-masthead-custom-menu-items a:focus:not(:focus-visible){outline:none !important;box-shadow:none !important;}
.site-header a:focus-visible,
.main-header-menu a:focus-visible{outline:2px solid #C4A484 !important;outline-width:2px !important;outline-offset:-8px !important;border-radius:6px;}

/* ---- Menu mobile : en-tête collant + panneau lisible ---- */
.ast-header-break-point .site-header{position:fixed !important;top:0;left:0;right:0;width:100%;z-index:999;background:#C4A484 !important;box-shadow:0 2px 12px rgba(0,0,0,.18);}
/* pas de décalage barre admin : sur mobile elle est absolute et défile, ce qui laissait un trou */

.ast-header-break-point .main-header-menu{background:#F5F5DC !important;border-top:1px solid rgba(0,0,0,.10);}
.ast-header-break-point .main-header-menu .menu-item > .menu-link{
  display:flex;align-items:center;min-height:54px;
  padding:14px 22px !important;
  font-size:17px !important;line-height:1.35;
  color:#3F3A2E !important;
  border-bottom:1px solid rgba(0,0,0,.08);}
.ast-header-break-point .main-header-menu .current-menu-item > .menu-link{
  background:rgba(196,164,132,.22);color:#75552F !important;font-weight:600;}
.ast-header-break-point .main-header-menu > li.menu-item-type-gs_sim{padding:14px 22px;border-bottom:0;}

/* le X de fermeture : même traitement de focus que les liens */
.site-header button:focus:not(:focus-visible),
.site-header .menu-toggle:focus:not(:focus-visible){outline:none !important;box-shadow:none !important;}
.site-header button:focus-visible{outline:2px solid #ffffff !important;outline-offset:-4px;border-radius:6px;}

/* le bouton hamburger etait tan sur fond tan : invisible */
.ast-header-break-point .site-header .menu-toggle,
.ast-header-break-point .site-header .menu-toggle .ast-icon{color:#FFFFFF !important;}
.ast-header-break-point .site-header .menu-toggle svg{fill:#FFFFFF !important;}

/* Selecteur de langue : espacer English et Francais */
.gtranslate_wrapper a.glink{display:inline-flex;align-items:center;gap:7px;}
.gtranslate_wrapper a.glink + a.glink{margin-left:26px;}

/* Ordinateur : le selecteur de langue collait au lien Contact (0px d'ecart) */
body:not(.ast-header-break-point) .main-header-menu > li.menu-item-type-gs_sim{margin-left:30px;}

/* ---- Lisibilite du menu sur la photo (ordinateur) ----
   Voile degrade applique EN FOND de l'en-tete : la photo reste entiere,
   elle n'est ni rognee ni decalee, seulement assombrie en haut. */
body:not(.ast-header-break-point) .site-header{
  background-image:linear-gradient(to bottom,rgba(0,0,0,.60) 0%,rgba(0,0,0,.34) 55%,rgba(0,0,0,0) 100%) !important;
  background-color:transparent !important;}
body:not(.ast-header-break-point) .main-header-menu a.menu-link{
  color:rgba(255,255,255,.93) !important;
  text-shadow:0 1px 3px rgba(0,0,0,.55);}
body:not(.ast-header-break-point) .main-header-menu .current-menu-item > a.menu-link{
  color:#FFFFFF !important;}
body:not(.ast-header-break-point) .site-header .gtranslate_wrapper a.glink{
  text-shadow:0 1px 3px rgba(0,0,0,.55);}

/* ---- Mobile : l'en-tete fixe masquait le haut de l'image du hero ---- */
.ast-header-break-point #content{padding-top:73px;}

/* ---- Mobile : ateliers en quinconce ----
   En 2 colonnes alternees (texte|image puis image|texte), l'empilement donnait
   image+image puis texte+texte. On force l'image en premier partout : chaque
   image se retrouve juste au-dessus de SA description. */
@media (max-width:766px){
  [data-id="ed18755"],
  [data-id="5d56e38"],
  [data-id="0ad456e"]{order:-1;}
}

/* ---- iPad / iPhone : background-attachment:fixed est casse dans Safari ----
   Le hero de l'Accueil (a64ca34) et de la Reservation (6ec67ab) passe en
   attachment:fixed au-dessus de 1024px (parallaxe). Safari iOS/iPadOS ne
   supporte pas les fonds fixes : l'image est dimensionnee sur le document et
   s'affiche zoomee/mal cadree. Les autres sections utilisent scroll, d'ou le
   fait qu'elles s'affichent correctement. On repasse en scroll sur tactile. */
@media (hover:none),(pointer:coarse){
  #content .elementor-element,
  #content .e-con,
  #content .e-con-inner{background-attachment:scroll !important;}
}
@supports (-webkit-touch-callout:none){
  #content .elementor-element,
  #content .e-con,
  #content .e-con-inner{background-attachment:scroll !important;}
}
