/*
Theme Name: Astra Child
Theme URI: https://votresite.com
Description: Thème enfant pour Astra
Author: Votre Nom
Template: astra
Version: 1.0
*/

/* Vos personnalisations CSS ici */
.ast-primary-header-bar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 9999;
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}


/* Hauteur header 30px */
.main-header-bar {
    min-height: 30px !important;
    height: 30px !important;
    padding: 0 !important;
    display: flex;
    align-items: center; /* centre vertical */
	background-color: #2E2828 !important; /* color professionnel */
	text-transform: uppercase;
}
/**/
/* Centrer les éléments internes */
.ast-builder-grid-row {
    align-items: center !important;
}

/* Menu */
.main-header-menu > .menu-item > a {
    height: 30px;
    line-height: 30px;
    padding: 0 15px !important;
    font-size: 13px;
}

/* Logo */
.custom-logo-link img {
    max-height: 24px;
    display: block;
}
/**/
/* Menu existant dans la banner */
/* ========== HERO HEADER ========== */
.mcc-hero2 {
  background: #fff;
  padding: 20px 0;
  border-bottom: 1px solid #eee;
}

.mcc-container {
  max-width: 1200px;
  background: #fff;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 15px;
}

/* LEFT */
.mcc-left img {
  width: 220px;
  border-radius: 12px;
}

/* CENTER */
.mcc-center h1 {
  font-size: 42px;
  color: #101070;
}

.mcc-center h1 span {
  color: #00d4ff;
}

.mcc-center h3 {
  color: #101070;
  margin: 5px 0;
}

.mcc-center p {
  font-style: italic;
  border-left: 3px solid #101070;
  padding-left: 10px;
}

/* BUTTON */
.mcc-btn {
  display: inline-block;
  margin-top: 10px;
  padding: 12px 25px;
  background: #101070;
  color: #fff;
  border-radius: 30px;
  text-decoration: none;
  transition: 0.3s;
}

.mcc-btn:hover {
  background: #00d4ff;
  color: #000;
}

/* RIGHT */
.mcc-right {
  text-align: center;
}

.mcc-right img {
  width: 80px;
  margin: 5px;
}

/* ========== MENU ASTRA CUSTOM ========== */
.main-header-bar {
  background: #101070 !important;
}

/* LIENS */
.main-header-menu > li > a {
  color: #fff !important;
  font-weight: 600;
}

/* HOVER */
.main-header-menu > li > a:hover {
  color: #00d4ff !important;
}

/* SUBMENU */
.sub-menu {
  background: #fff !important;
}

.sub-menu a {
  color: #333 !important;
}

/* ========== STICKY MENU ========== */
.ast-primary-header-bar {
  position: sticky;
  top: 0;
  z-index: 999;
}

/* SHADOW */
.ast-primary-header-bar {
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
/* mobile */
@media(max-width:768px){
	
	.main-header-bar {
		top:0;
    min-height: 30px !important;
    height: 60px !important;
    padding: 0 !important;
    display: flex;
    align-items: center; /* centre vertical */
	background-color: #fff !important; /* color professionnel */
	text-transform: uppercase;
}
	
	
	.mcc-hero {
  display: none;
}
.mcc-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 15px;
}

/* LEFT */
.mcc-left img {
  width: 220px;
  border-radius: 12px;
}

/* CENTER */
.mcc-center h1 {
  font-size: 42px;
  color: #101070;
}

.mcc-center h1 span {
  color: #00d4ff;
}

.mcc-center h3 {
  color: #101070;
  margin: 5px 0;
}

.mcc-center p {
  font-style: italic;
  border-left: 3px solid #101070;
  padding-left: 10px;
}

/* BUTTON */
.mcc-btn {
  display: inline-block;
  margin-top: 10px;
  padding: 12px 25px;
  background: #fff;
  color: #101070;
  border-radius: 30px;
  text-decoration: none;
  transition: 0.3s;
}

.mcc-btn:hover {
  background: #00d4ff;
  color: #000;
}

/* RIGHT */
.mcc-right {
  text-align: center;
}

.mcc-right img {
  width: 80px;
  margin: 5px;
}

/* ========== MENU ASTRA CUSTOM ========== */
.main-header-bar {
  background: #fff !important;
}

/* LIENS */
.main-header-menu > li > a {
  color: #101070 !important;
  font-weight: 600;
}

/* HOVER */
.main-header-menu > li > a:hover {
  color: #00d4ff !important;
}

/* SUBMENU */
.sub-menu {
  background: #fff !important;
}

.sub-menu a {
  color: #333 !important;
}

/* ========== STICKY MENU ========== */
.ast-primary-header-bar {
  position: sticky;
  top: 0;
  z-index: 999;
}

/* SHADOW */
.ast-primary-header-bar {
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
}
/**/
/* Supprimer l'espace vide entre header et hero */
.mcc-hero {
    margin-top: 0;
    padding-top: 0;
}

/* Conteneur flexible */
.mcc-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

/* Mobile */
@media (max-width: 768px){
    .mcc-container {
        flex-direction: column;
        text-align: center;
    }

    .mcc-left img { width: 140px; }
    .mcc-center h1 { font-size: 26px; }
    .mcc-center p { font-size: 14px; }
    .mcc-right img { width: 50px; }
}
/*pour home page*/
.hero {
    background: linear-gradient(rgba(11,31,58,0.8), rgba(16,16,112,0.8)),
    url('lab.jpg') center/cover;
    color: white;
    padding: 120px 20px;
    text-align: center;
}

.container {
    max-width: 1200px;
    margin: auto;
}

.btn-primary {
    background: #00B4D8;
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    margin: 10px;
}

.btn-secondary {
    border: 2px solid white;
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    margin: 10px;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
    padding: 50px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.card {
    background: #F4F6F8;
    padding: 25px;
    border-radius: 8px;
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.process {
    background: #0B1F3A;
    color: white;
    padding: 60px 20px;
}

.cta {
    background: #101070;
    color: white;
    text-align: center;
    padding: 60px 20px;
}
/*home2*/
.mcc-hero {
    background:#101070;
    color:white;
    padding:80px 20px;
    text-align:center;
}

.container {
    max-width:1200px;
    margin:auto;
}

.mcc-services {
    display:flex;
    gap:30px;
    padding:60px 20px;
}

.service-box {
    flex:1;
    background:#f9f9f9;
    padding:20px;
    text-align:center;
    border-radius:8px;
    transition:0.3s;
}

.service-box:hover {
    transform:translateY(-5px);
    box-shadow:0 10px 30px rgba(0,0,0,0.1);
}

.service-box img {
    width:100%;
    height:180px;
    object-fit:cover;
    border-radius:6px;
}

.btn {
    display:inline-block;
    margin-top:15px;
    padding:10px 20px;
    background:#101070;
    color:white;
    text-decoration:none;
    border-radius:5px;
}

.mcc-about {
    background:#f1f3f8;
    padding:60px 20px;
    text-align:center;
}

@media(max-width:900px){
    .mcc-services{
        flex-direction:column;
    }
}
/*pour widget*/
/*stiky menu*/
/* Menu sticky Astra */
.main-header-bar {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 9999;
  transition: all 0.3s ease;
}

/* Optionnel : effet ombre quand on scroll */
.main-header-bar.is-sticky {
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}
/* Réduire le padding au scroll */
.main-header-bar.is-sticky .site-header {
  padding: 8px 0;
}
