/*
 Theme Name:     Divi Child
 Theme URI:      https://www.elegantthemes.com/gallery/divi/
 Description:    Divi Child Theme
 Author:         Elegant Themes
 Author URI:     https://www.elegantthemes.com
 Template:       Divi
 Version:        1.0.0
*/
 
 
/* =Theme customization starts here
------------------------------------------------------- */

body {
  --accent: #174460;
  --accent2: #EFBF04;
}


/* Managing homepage video */
#homepageVideo .et-pb-background-video {
    opacity: 90%;
}

/* Section must clip and act as positioning context */
#homepageVideo {
  position: relative;
  overflow: hidden;
}

/* Make the BG video layer span the section */
#homepageVideo .et-pb-background-video {
  position: absolute;
  inset: 0;
  opacity: 0;                     /* hidden until ready */
  transition: opacity .3s ease;
}

/* Force MEJS wrappers + video to fill, kill inline margins */
#homepageVideo .et-pb-background-video .mejs-container,
#homepageVideo .et-pb-background-video .mejs-inner,
#homepageVideo .et-pb-background-video .mejs-mediaelement,
#homepageVideo .et-pb-background-video video {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
}

/* Cover + default focal point (desktop) */
#homepageVideo .et-pb-background-video video {
  object-fit: cover;
  object-position: 50% 50%;
}

  /* Reveal once ready */
#homepageVideo.video-ready .et-pb-background-video {
  opacity: 1;
}

/* Luxe Aviation – bloc d'expérience */
.aircraftExp {
  position: relative;
  padding: 16px 20px 16px 56px;
  color: #f5f5f5;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(0,0,0,.18);
  transition: transform .25s ease, box-shadow .25s ease;
  overflow: hidden;
  /* ---- Bordure dorée en dégradé ---- */
  background: 
    linear-gradient(42deg, var(--accent), var(--accent2), var(--accent)) border-box,
    #0b0d10 padding-box; /* ton fond sombre */
  border: 2px solid transparent;
  background-origin: border-box;
  background-clip: padding-box, border-box;
}

/* barre d'accent verticale */
.aircraftExp::before{
  content: "";
  position: absolute;
  left: 18px;
  top: 12px;
  bottom: 12px;
  width: 4px;
  border-radius: 2px;
}

.aircraftExp p::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 100%;
  margin-left: 12px;
  height: 1px;
  width: 25%;
  background: linear-gradient(90deg, #174460 0%, rgba(239,191,4,0.0) 100%);
  opacity: .7;
}

/* icône avion (optionnelle) */
.aircraftExp::after{
  content: "✈︎";
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  line-height: 1;
  color: var(--accent);
  text-shadow: 0 0 8px rgba(239,191,4,.25);
  opacity: .95;
}

/* texte interne Divi/Brizy */
.aircraftExp .et_pb_text_inner,
.aircraftExp p{
  margin: 0;
}

.aircraftExp p{
  font-weight: 500;
  letter-spacing: .2px;
  position: relative;
  display: inline-block;
}

/* état hover : subtil, premium */
.aircraftExp:hover{
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(0,0,0,.24);
  border-color: rgba(239,191,4,.45);
}

/* espacement entre éléments (liste chronologique) */
.aircraftExp + .aircraftExp{
  margin-top: 14px;
}

/* variante claire possible si besoin */
.aircraftExp.is-light{
  background: #ffffff;
  color: #111;
  border: 1px solid rgba(239,191,4,.35);
}
.aircraftExp.is-light::before{ opacity: .9; }
.aircraftExp.is-light::after{ text-shadow: none; }

/* accessibilité : réduit les animations si l’utilisateur le souhaite */
@media (prefers-reduced-motion: reduce){
  .aircraftExp{ transition: none; }
}


/* Cards homepage */

.subDesc {
    text-align: center;
    color: black;
    font-size: 20px;
}

/* conteneur */
.cardColumn{
  position: relative;
  overflow: hidden;
}

/* couche IMAGE qui reprend le background de la colonne */
.cardColumn::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:0;
  background: inherit;              /* récupère l'image, position, repeat, etc. */
  background-size: cover;           /* ou 'inherit' si tu préfères */
  background-position: inherit;
  background-repeat: inherit;
  transform: scale(1);              /* état repos */
  transition: transform .4s ease-in-out;
  will-change: transform;
  pointer-events: none;
  border-radius: inherit;
}

/* overlay noir (au-dessus de l'image, sous le contenu) */
.cardColumn::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  background: rgba(0,0,0,0);        /* repos */
  transition: background .35s ease;
  pointer-events: none;
  border-radius: inherit;
}

/* contenu au-dessus */
.cardColumn > *{
  position: relative;
  z-index: 2;
}

/* HOVER : zoom fluide + voile noir */
.cardColumn:hover::before{
  transform: scale(1.08);           /* léger zoom */
}
.cardColumn:hover::after{
  background: rgba(0,0,0,.5);
}

/* ta phrase accent */
.cardColumn .subDesc{
  color:white;
  font-weight:500;
  letter-spacing:.3px;
  transition:color .3s ease;
}
.cardColumn:hover .subDesc{
  color:#efbf04;
}

/* Bouton masqué par défaut */
.cardColumn .et_pb_button_module_wrapper {
  opacity: 0;
  transform: translateY(10px); /* descend un peu au repos */
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none; /* évite les clics tant qu’il est masqué */
  z-index: 3; /* au-dessus du voile noir */
  position: relative;
}

/* Apparition fluide au hover */
.cardColumn:hover .et_pb_button_module_wrapper {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Optionnel : centrage horizontal */
.cardColumn .et_pb_button_module_wrapper {
  display: flex;
  justify-content: center;
  margin-top: 20px; /* espace depuis le texte */
}

/* Managing HEADER style */

.contactLinks {
  display: flex;
  flex-direction: row; /* ou row si tu veux en ligne */
  gap: 8px;
  font-family: "Open Sans", sans-serif;
}

/* Style de base des liens */
.contactItem {
  display: inline-flex;
  align-items: center;
  color: white !important;
  text-decoration: none;
  font-size: 13px;
  transition: color 0.3s ease, transform 0.3s ease;
}

/* Icônes Elegant Icons (Divi native) */
.contactItem .et-pb-icon {
  font-family: "ETmodules";
  font-size: 15px;
  color: white; /* ta couleur accent */
  line-height: 1;
  transition: color 0.3s ease;
  padding-right: 10px;
}

/* Effet hover */
.contactItem:hover {
  color: #174460 !important;
  transform: translateX(4px);
}
.contactItem:hover .et-pb-icon {
  color: #174460;
}

#homeMenu a {
    color: #174460;
    font-weight: 600;
}

#homeMenu a:hover {
  color: #efbf04;
}

.et-pb-contact-message {
    color: white;
    font-family: 'Lato';
    font-size: 23px;
}

/* Our Rate page */


.jmc-pricing {
  display: flex;
  flex-direction: column;
  gap: 28px;
  max-width: 980px;
  margin: 0 auto;
}

/* Card */
.jmc-card {
  background: #fff;
  border: 1px solid #ebebeb;
  box-shadow: 0 6px 18px rgba(0,0,0,.06);
  transition: box-shadow .25s ease, transform .25s ease;
}
.jmc-card:hover { box-shadow: 0 10px 28px rgba(0,0,0,.1); transform: translateY(-3px); }

/* Inner split (left price/cta • right perks) */
.jmc-inner {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 24px;
  padding: 35px;
  align-items: center;
}
@media (max-width: 767px){
  .jmc-inner { grid-template-columns: 1fr; padding: 22px; }
}

/* Left column */
.jmc-left .jmc-plan {
  display: inline-block;
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  color: #174460;
  background: rgba(23,68,96,.08);
  padding: 2px 12px;
  border-radius: 8px;
  letter-spacing: .05em;
  margin-bottom: 12px;
}
.jmc-left .jmc-badge {
  margin-left: 8px;
  font-size: 12px;
  position: relative;
  color:#174460;
  font-weight:600;
  padding:6px 12px;
  border-radius:8px;
  letter-spacing:.05em;
  text-transform:uppercase;
  background: linear-gradient(120deg,
    rgba(239,191,4,1) 0%,
    rgb(255, 229, 124) 30%,
    rgba(255,220,82,1) 50%,
    rgb(255,204,0) 70%,
    rgba(239,191,4,1) 100%);
  box-shadow: inset 0 1px 1px rgba(255,255,255,.3),
              0 1px 3px rgba(0,0,0,.12);
  overflow:hidden;
}

/* Seamless shimmer wave */
.jmc-badge::after{
  content:"";
  position:absolute;
  inset:-1px;                    /* bleed to edges */
  border-radius:inherit;
  pointer-events:none;
  mix-blend-mode:screen;         /* soft metallic sheen */
  background:
    repeating-linear-gradient(100deg,
      transparent 0%,
      transparent 38%,
      rgba(255,255,255,.18) 42%,
      rgba(255,255,255,.35) 47%,
      transparent 52%,
      transparent 100%);
  background-size: 200% 100%;    /* pattern repeats smoothly */
  animation: jmcGoldWave 3.8s linear infinite;
}

@keyframes jmcGoldWave{
  from { background-position: 0% 0; }
  to   { background-position: 100% 0; } /* seamless loop */
}

.jmc-title {
  font-size: 26px; font-weight: 700; color: #174460; margin: 12px 0 6px;
}
.jmc-price {
  font-size: 42px; line-height: 1; font-weight: 800; color: #111;
  margin: 6px 0 2px;
}
.jmc-unit { color: #777; font-size: 14px; }

.jmc-cta {
  display: inline-block;
  margin-top: 16px;
  background: #174460;
  color: #fff !important;
  text-decoration: none;
  padding: 12px 18px;
  border-radius: 10px;
  font-weight: 600;
  transition: background .25s ease, transform .2s ease;
}
.jmc-cta:hover { background:#133a55; transform: translateY(-2px); }

.jmc-note { margin-top:10px; font-size:12px; color:#666; }

/* Right column (perks) */
.jmc-right {
  border-left: 1px solid #eee;
  padding-left: 24px;
}
@media (max-width: 767px){
  .jmc-right { border-left: 0; padding-left: 0; border-top:1px solid #eee; padding-top:16px; }
}

.jmc-perks {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 10px;
  padding-bottom: 0 !important;
  text-decoration: none;
  list-style: none;
  list-style-type: none !important;
}
.jmc-perks li {
  position: relative; padding-left: 28px; color:#333; line-height:1.5; font-size: 15px;
}
.jmc-perks li::before {
  content: "";
  position: absolute; left: 0; top: 3px;
  width: 18px; height: 18px; border-radius: 50%;
  border: 1px solid rgba(23,68,96,.25);
  box-shadow: inset 0 0 0 2px #fff;
}
.jmc-perks li::after {
  content: "✓";
  position: absolute; left: 5px; top: 3px;
  font-size: 12px; color: #EFBF04; font-weight: 700;
}

/* footer */

.jmc-contact {
  display: grid;
  gap: 10px;
  max-width: 720px;
  margin: 0 auto;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  grid-auto-rows: auto;
  font-size: 16px;
}

.jmc-contact .item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  justify-content: center;
  flex-direction: column;
}

.jmc-contact .icon, .jmc-quick span {
  font-family: "ETmodules";
  font-size: 25px;
  line-height: 1;
  color: var(--accent2);
  flex: 0 0 22px;
  display: inline-grid;
  place-items: center;
}

.jmc-contact a,
.jmc-contact .text {
  color: white;        /* main color */
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.2px;
  text-align: center;
}

.jmc-contact a:hover {
  text-decoration: underline;
}

/* Small helper: stack tighter on mobile */
@media (max-width: 480px){
  .jmc-contact { gap: 8px; }
  .jmc-contact .item { padding: 12px; }
}

/* Mobile Menu */

/* ===== JMC Mobile Navigation (Divi 5) ===== */
/* ===== JMC Mobile Navigation ===== */
:root {
  --jmc-main: #174460;  /* deep blue */
  --jmc-accent: #EFBF04;/* gold */
}

/* Show only on mobile (hide on tablet/desktop) */
@media (min-width: 981px){ .jmc-nav{ display:none; } }

/* Sticky top bar */
.jmc-nav { position:sticky; top:0; z-index:100000; }
.jmc-bar {
  height:56px;
  display:flex; align-items:center; justify-content:space-between;
  padding: 0 14px 40px 14px;
  background:#fff;
  border-bottom:1px solid #e9eef3;
}
.jmc-logo img{ height:70px; width:auto; display:block; }

/* Hamburger */
/* ===== Premium JMC Burger Button ===== */
.jmc-burger {
  transform: scale(2);
  position: relative;
  width: 46px;
  height: 46px;
  border: none;
  background: transparent;
  cursor: pointer;
  display: grid;
  place-items: center;
  z-index: 100001;
  transition: transform 0.3s ease;
}

/* Lines */
.jmc-burger .line {
  position: absolute;
  width: 24px;
  height: 3px;
  background: #174460; /* deep blue */
  transition: all 0.35s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Line positions */
.jmc-burger .line.top {
  top: 15px;
  width: 18px;
  right: 11px;
  background: #EFBF04;
}
.jmc-burger .line.middle {
  top: 22px;
  width: 24px;
  left: 11px;
}
.jmc-burger .line.bottom {
  top: 29px;
  width: 18px;
  right: 11px;
  background: #EFBF04;
}

/* ===== Active (open) state animation ===== */
.jmc-burger.is-open .line.top {
  transform: translateY(7px) rotate(45deg);
  width: 24px;
  background: #174460;
}
.jmc-burger.is-open .line.middle {
  opacity: 0;
  transform: scaleX(0);
}
.jmc-burger.is-open .line.bottom {
  transform: translateY(-7px) rotate(-45deg);
  width: 24px;
  background: #174460;
}

/* Backdrop */
.jmc-backdrop{
  position:fixed; inset:0;
  background:rgba(0,0,0,.35);
  z-index:99998;
}

/* Drawer */
.jmc-drawer{
  position: fixed;
  inset: 0;
  width: 100vw;
  background: #ffffff;
  color: var(--jmc-main);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  padding: 80px 24px 24px;
  transform: translateX(100%);
  transition: transform .3s ease;
  z-index: 99999;
}

/* Logo inside drawer */
.jmc-drawer::before{
  content: "";
  position: absolute;
  top: 51px;
  left: 22px;
  width: 300px;
  height: 100px;
  background: url('https://jet-maintenance-consulting.com/wp-content/uploads/2025/11/logo.png') no-repeat center/contain;
}

/* ===== Close (X) button in drawer ===== */
.jmc-close {
  position: absolute;
  top: 40px;
  right: 22px;
  width: 100px;
  height: 100px;
  font-size: 72px;
  font-weight: 300;
  line-height: 1;
  border: none;
  background: transparent;
  color: #174460; /* main blue */
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.jmc-close:hover {
  opacity: 0.7;
  transform: scale(1.05);
}

body.jmc-menu-open {
  overflow: hidden;
  height: 100vh;
  touch-action: none; /* blocks iOS scroll bounce */
}

/* Menu list */
.jmc-menu{
  list-style:none;
  margin: auto 0;
  padding:0;
  list-style-type: none !important;
}
.jmc-menu li{ margin-bottom:20px; }
.jmc-menu a{
  font-size:1.5rem;
  font-weight:600;
  color:var(--jmc-main);
  background:#ffffff;
  border:1px solid #e9eef3;
  padding:22px 20px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  text-decoration:none;
  transition:all .25s ease;
}
.jmc-menu a:hover{
  background:#f7f9fb;
  border-color:#cdd9e2;
}
.jmc-menu a.is-active{
  outline:2px solid rgba(239,191,4,.5);
  box-shadow:inset 0 0 0 1px rgba(239,191,4,.3);
}

/* Quick buttons */
.jmc-quick{
  margin-top:auto;
  display:flex;
  flex-direction:row;
  gap:14px;
  justify-content:center;
}

.jmc-quick-btn{
  flex:1;
  text-align:center;
  padding:14px 10px;
  font-weight:700;
  letter-spacing:.3px;
  font-size:1rem;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  text-decoration:none;
}
.jmc-quick-btn.call{
  background:var(--jmc-main);
  color:#fff;
}

.jmc-quick-btn.mail{
  background:#ffffff;
  color:var(--jmc-main);
  border:1px solid #d7e0e9;
}

/* Open state */
.jmc-nav.is-open .jmc-drawer{ transform: translateX(0); }

/* Captcha */

.et_contact_bottom_container  .clearfix, .input et_pb_contact_captcha {
  color: white;
  font-size: 20px;
}


/* Media queries */

@media (max-width: 1264px) and (min-width: 980px) {

  .homeTitle {
    padding-left: 10%;
  }

  .cardsHome {
    width: 90% !important;
    --horizontal-gap: 3% !important;
  }
  .cardColumn {
    width: 33vw;
  }
  
  /* kill the left column */
  .disableOnTablet { display: none !important; }

  /* make the right column take all the space */
  .getFullWidth {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
  }

  /* tighten the nested rows paddings if needed */
  .et_pb_row_3.et_pb_row_nested,
  .et_pb_row_4.et_pb_row_nested {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* keep text and portrait side-by-side with a nicer ratio */
  .et_pb_column_5 { width: 58% !important; flex: 0 0 58% !important; }
  .et_pb_column_6 { width: 42% !important; flex: 0 0 42% !important; }

  /* make the top “jet horizon” image span the width of its container */
  .et_pb_image_1 img { width: 100% !important; height: auto !important; }

  /* optional: adjust heading size a bit in this band */
  .et_pb_text_3 h3 { font-size: clamp(30px, 3.2vw, 36px) !important; }
}

/* 768px – 980px */
@media (min-width: 768px) and (max-width: 980px) {
  /* Styles tablette */
  .disableOnTablet {
    display: none;
  }
  .getFullWidth {
    width: 100% !important;
  }
   .jmc-contact{
    grid-template-columns: 1fr;   /* stack items */
  }
  .jmc-contact .item:nth-child(3){
    grid-column: auto;            /* single column anyway */
    justify-self: stretch;        /* take full width */
    text-align: center;
  }
  .jmc-contact {
  font-size: 18px;
}
#homepageVideo .et-pb-background-video video {
    object-position: 80% 50%; 
  }
}

/* ≤ 767px */
@media (max-width: 767px) {
   #homepageVideo .et-pb-background-video video {
    object-position: 80% 50%; 
  }

  .disableOnTablet {
    display: none;
  }
  .disableOnPhone {
    display: none;
  }
    .getFullWidth {
    width: 100% !important;
  }
   .jmc-contact{
    grid-template-columns: 1fr;   /* stack items */
  }
  .jmc-contact .item:nth-child(3){
    grid-column: auto;            /* single column anyway */
    justify-self: stretch;        /* take full width */
    text-align: center;
  }
    .jmc-contact {
  font-size: 20px;
}
}

/* ==========================================================
   Fix ONLY when the MOBILE MENU is open & height < 840px
   ========================================================== */
@media (max-height: 840px) {

  /* Masque uniquement le logo du drawer */
  .jmc-nav.is-open .jmc-drawer::before {
    display: none !important;
    content: none !important;
  }

  /* Ajoute un vrai espace en haut du drawer */
  .jmc-nav.is-open .jmc-drawer {
    padding-top: 30% !important; /* Ajustable : mets 50–70px selon ton goût */
  }

  /* Réduit la taille de la croix si besoin */
  .jmc-nav.is-open .jmc-burger {
    transform: scale(0.85);
  }
}




