
:root{
    --primaryColor-: #f59f27;
    --primaryColor: #f59f27;
    --primaryColorLight : rgba(0, 153, 79,.1);
    --secondaryColor: #f59f27;
    --redColor: #D50000;
    --redColorLight: #d5000012;
    --bgGray: rgb(236, 240, 237);
    --blackColor: #202020;
    --textDefaultColor: rgba(16, 16, 16, 0.7);
    --grayLightColor: rgba(16, 16, 16, 0.05);
    --defaultBorderRadius: 15px;
    --btnRadius: 30px;
    --defaultPadding: 20px;
    --fontSizeInput: 19px;
    --heightInput: 50px;
}



html, body {
    height: 100%;
    margin: 0;
    background-color: #ffffff !important;
    color: black;
}
*, a{
    box-sizing: border-box;
    font-family: 'League Spartan', sans-serif;
    color: var(--textDefaultColor);
    font-size: 19px;
    font-weight: 300;
}
a{
    text-decoration: none;
    transition: 0.3s ease;
}
a:hover, a:active, a:focus{
    color: var(--textDefaultColor);
    text-decoration: none;
}
h1, h2, h3, h4{
    margin: 0;
    font-weight: 500;
}
h1 *, h2 *, h3 *, h4 * {
    font-weight: inherit; /* reprend le font-weight du parent */
    font-size: inherit;   /* reprend la taille du parent */
}
b{
    font-weight:6500;
}

/* 
    DEFAULT 
*/
.e-img{
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
.e-container{
    padding: 0 150px;
}
.e-radius{
    border-radius: var(--defaultBorderRadius) !important;
    overflow: hidden !important;
}
.e-btn{
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 45px;
    background-color: var(--primaryColor);
    color: var(--textDefaultColor);
    padding: 0px 20px;
    transition: 0.3s ease;
    color: black;
    cursor: pointer;
    border: none;
    border-radius: var(--btnRadius);
}
.e-btn:hover{
    transition: 0.3s ease;
}
.e-btn ion-icon {
    margin-left: 5px;
}
.e-btn.e-no-bg{
    background-color: transparent;
    padding: 0px;
}
.e-color-black{
    color: black;
}
.e-color-primary{
    color: var(--primaryColor);
}


/* 
    HEAD 
*/
.e-head{
    height: 100% !important;
    margin-bottom: 0 !important;
    padding: 0;
    background-color: #ffffff  !important;
}

/* Navbar */
.e-head .e-navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    background-color: white;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.10);
    position: relative;
    top: 35px;
    z-index: 10;
    margin: 0 150px;
    padding: 0 50px;
    border-radius: 40px;
}
.e-head .e-top {
    min-height: 60px;
}
.e-navbar.fixed {
    position: fixed;
    top: 10px;
    left: 0;
    right: 0;
    z-index: 9999;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}
.e-navbar .logo {
    padding-top: 5px;
    font-size: 22px;
    font-weight: bold;
}
.e-navbar .nav-links {
    list-style: none;
    display: flex;
    gap: 40px;
}
.e-navbar .nav-links li a {
    display: inline-block;
    padding: 5px 0px;
    text-decoration: none;
    position: relative;
}
.e-navbar  .nav-links li a.e-contact {
    background-color: var(--primaryColor);
    padding: 5px 15px;
}
.e-navbar .nav-links li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0%;
    height: 2px;
    background-color: var(--textDefaultColor);
    transition: width 0.3s ease;
}
.e-navbar .nav-links li a:not(.e-contact):hover::after {
    width: 100%;
}
.e-navbar .menu-toggle {
    display: none;
    font-size: 26px;
    cursor: pointer;
}

/* Main content */
.e-head .e-main-content{
    height: calc(100% - 70px - 20px);
    display: flex;
    justify-content: center;
    align-items: flex-end;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    overflow: hidden;
    border-radius: var(--defaultBorderRadius);
    margin: 0 20px;
    padding: 80px;
}
.e-main-content::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.60) 60%,    /* milieu légèrement sombre */
    rgba(0,0,0,0.80) 80%,    /* milieu légèrement sombre */
    rgba(0,0,0,0.90) 90%,    /* milieu légèrement sombre */
    rgba(0,0,0,1) 100%,     /* devient bien sombre */
    rgba(0,0,0,1) 100%       /* totalement noir en bas */
);
    z-index: 1;
}
.e-main-content > div {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}
.e-main-content h1 {
    margin-bottom: 20px;
    color: white;
    font-weight: 300;
    width: 40%;
    font-size: 55px;
}
.e-main-content .e-desc {
    width: 40%;
    margin-left: 100px;
    margin-bottom: 15px;
}
.e-main-content  .e-desc p {
    margin-bottom: 30px;
    color: white;
}

/* 
    GALLERY
*/
.e-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 250px; /* hauteur par défaut des lignes */
    grid-gap: 15px;
}

.e-gallery > div {
    border-radius: var(--defaultBorderRadius);
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-color: #f8f8f8;
}

/* Photo 1 : colonne 1, span 2 lignes */
.photo1 {
    grid-column: 1;
    grid-row: 1 / span 2;
}

/* Photo 2 : ligne 1, colonne 2 */
.photo2 {
    grid-column: 2;
    grid-row: 1;
}

/* Photo 3 : ligne 1, colonne 3 */
.photo3 {
    grid-column: 3;
    grid-row: 1;
}

/* Photo 4 : ligne 2, colonne 2+3 */
.photo4 {
    grid-column: 2 / span 2;
    grid-row: 2;
}


/* 
    SERVICES
*/
.e-service-container{
    border-radius: var(--defaultBorderRadius);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.e-service-overlay{
    border-radius: var(--defaultBorderRadius);
}
.glass-card {
    background: rgba(255,255,255,0.18) !important;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: var(--btnRadius);
    padding: 30px;
    color: white !important;
}

.glass-card .uk-card-title {
    color: white !important;
}

.glass-card p {
    color: var(--bgGray);
}

.icon-emoji {
    font-size: 48px;
    margin-bottom: 12px;
}



/* 
    CONTACT
*/
.e-contact-content .e-icon{
}
.e-contact-content .e-icon i{
    color: var(--primaryColor);
    font-size: 25px;
}

/* 
    ACTUALITY
*/
.news-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
}
.news-card {
    background: #fff;
    overflow: hidden;
    transition: transform 0.3s ease;
}
.news-card:hover {
    transform: translateY(-5px);
}
.news-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.news-content {
    padding: 20px;
}

.news-date {
    font-size: 0.85rem;
    color: #777;
}
.news-title {
    margin: 10px 0;
    font-size: 1.2rem;
    color: #333;
}
.news-desc {
    color: #555;
    font-size: 0.95rem;
    margin-bottom: 20px;
}
.news-btn {
    display: inline-block;
    padding: 8px 15px;
    background-color: #2E8B57;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.9rem;
}
.news-btn:hover {
    background-color: #256f47;
}


/* 
    -
 */
.e-img-befor-footer{
    width: 60%;
}
