/* 
Theme Name: Madagascar Escape Specialist
Description: Madagascar Escape Specialist theme is a child theme of Kadence
Author: Andry Rakots
Template: kadence
Version: 1.0.1
Text Domain: kadence-child
*/
@font-face {
    font-family: 'lex';
    src: url('/wp-content/themes/Madagascar Escape Specialist/fonts/Lexend-Light.woff2') format('woff2'),
         url('/wp-content/themes/Madagascar Escape Specialist/fonts/Lexend-Light.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
body {
    font-family: 'lex', sans-serif;
}
/* === HERO HEADER === */
.voyage-hero {
    position: relative;
    background-size: cover;
    background-position: center;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    margin-top: -80px;
}
.voyage-hero-overlay {
    text-align: center;
}
.voyage-hero-title {
    font-size: 36px;
    font-weight: bold;
    margin: 0;
    line-height: 1.2;
    color: #FFF;
}
.voyage-hero-subtitle {
    margin-top: 20px;
    font-size: 1.5rem;
    font-weight: 500;
    color: #eeeeee;
}
/* === NAVIGATION ONGLET / MENU DES SECTIONS === */
.voyage-nav-tabs {
    background: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}
.voyage-nav-tabs ul {
    display: flex;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
}
.voyage-nav-tabs li {
    margin: 0;
}
.voyage-nav-tabs a.tab-nav-link {
    display: block;
    padding: 15px 20px;
    font-size: 1rem;
    color: #333333;
    text-decoration: none;
    transition: color 0.3s, border-bottom 0.3s;
    border-bottom: 3px solid transparent;
}
.voyage-nav-tabs a.tab-nav-link.active {
    color: #0066cc;
    /* couleur accent */
    border-bottom: 3px solid #0066cc;
}
.voyage-nav-tabs a.tab-nav-link:hover {
    color: #005bb5;
}
/* === SECTIONS === */
.voyage-section {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}
.voyage-section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #222222;
}
.voyage-section img {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
}
/* === RESPONSIVE / MOBILE === */
@media (max-width: 768px) {
    .voyage-hero {
        min-height: 250px;
    }
    .voyage-hero-title {
        font-size: 2rem;
    }
    .voyage-hero-subtitle {
        font-size: 1.2rem;
    }
    /* Onglets cachés, accordeon replacé */
    .voyage-nav-tabs {
        display: none;
    }
    .voyage-section {
        border-bottom: 1px solid #ddd;
        padding: 15px 10px;
    }
    .voyage-section h2 {
        font-size: 1.3rem;
        margin: 0;
        background: #f5f5f5;
        padding: 12px;
    }
    .voyage-section:not(.active)>*:not(h2) {
        display: none;
    }
    .voyage-section.active>* {
        display: block;
        padding-top: 10px;
    }
}
/* Desktop : onglets */
.voyage-section {
    /*max-height: 0;*/
    opacity: 1;
    /*overflow: hidden;*/
    transition: max-height 0.5s ease, opacity 0.5s ease;
}
.voyage-section.active {
    max-height: 2000px; /* assez grand pour tout le contenu */
    opacity: 1;
    overflow: visible;
}
/* Mobile : accordéon */
@media (max-width: 768px) {
    .voyage-nav-tabs {
        display: none;
    }
    .voyage-section {
        max-height: none !important;
        opacity: 1 !important;
        border-bottom: 1px solid #ddd;
        padding: 0;
    }
    .voyage-section h2 {
        cursor: pointer;
        background: #f5f5f5;
        padding: 12px;
        margin: 0;
        font-size: 1.2rem;
    }
    .voyage-section .section-content {
        /*display: none;*/
        padding: 15px 10px;
    }
    .voyage-section.active .section-content {
        display: block;
    }
}
/* === Home page header === */
#masthead{
    background: transparent;
}
.mini-devis-form {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: center;
}
.mini-devis-form select,
.mini-devis-form input[type="text"],
.mini-devis-form input[type="date"] {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.9);
    border-radius: 6px;
    padding: 6px 18px;
    font-size: 22px;
    font-weight: bold;
    outline: none;
    transition: all 0.3s ease;
    appearance: none;
    width: 202px;
    text-transform: uppercase;
    height: 52px;
}
.mini-devis-form select:focus,
.mini-devis-form input[type="text"]:focus,
.mini-devis-form input[type="date"]:focus {
  border-color: #f8f8f8;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
}
.mini-devis-form option {
  color: #000; /* le texte des options du menu déroulant */
}
.mini-devis-btn {
  background-color: #CC4B25;
  color: #FFF;
  border: 2px solid #CC4B25;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}
.mini-devis-btn:hover {
  background-color: #fff;
  border: 2px solid #fff;
  color: #000;
  transform: translateY(-1px);
}
/* liste voyages */
.ms-wrap{
    padding: 0px;
    height: 219px;
    position: relative;
}
.ms-post-meta, .ms-post-content, .ms-read-more-btn{
    display: none;
}
.ms-post-title{
    position: absolute;
    bottom: 4px;
    width: 100%;
    text-align: center;
}
.ms-voyage-acf-duree {
    background: #E4A435;
    width: 90px;
    color: #FFF;
    font-weight: bold;
    top: 10px;
    right: 10px;
    position: absolute;
}
/* demande de devis page */
button.forminator-button.forminator-button-submit {
    background: #CC4B25;
}
.forminator-row {
    font-size: medium;
}
label.forminator-label.forminator-repeater-label {
    font-weight: bold;
    font-size: 40px;
    color: #3D1F17;
}
/*section presentation*/
div#mes-presentation-section {
    box-sizing: border-box;
    padding: 30px;
    background: #E4A435;
}
.site-bottom-footer-inner-wrap .widget-area .widget-title{color:#fff;}
.mobile-toggle-open-container .menu-toggle-open .menu-toggle-icon{
    font-size: 61px;
    padding-top: 20px;
}
.mes-cont-dest {
    position: relative!important;
}
.mes-dest-bloc {
    position: absolute!important;
    left: 0;
    bottom: 30px;
    width: 100%;
}
.mes-dest-child-bloc {
    font-size: 13px;
    font-weight: 100;
    line-height: 1.1;
    display: block;
    width: 90%;
    margin: 0 auto;
}
.mes-dest-child-bloc .elementor-heading-title{
    line-height: 22px;
}
.site-header-section-right {
    margin-right: -15px!important;
}
.mobile-toggle-open-container .menu-toggle-open {
    color: #FFF;
}
.mes-prix-bloc .elementor-heading-title {
    background: #E4A435;
    width: auto;
    font-weight: bold;
    top: 15px;
    right: 10px;
    position: absolute;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding-left: 5px;
    padding-right: 5px;
}
.mes-jour-bloc .elementor-heading-title {
    background: #E4A435;
    width: 90px;
    font-weight: bold;
    top: -5px;
    left: 10px;
    position: absolute;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}
label.forminator-label.forminator-repeater-label {
    font-size: 25px!important;
}
h2.forminator-title {
    font-size: 20px;
}
/*BOUTON FLOTTANT*/
#mes-custom-floating-btn {
    position: fixed;
    bottom: 100px;
    right: 20px;
    width: 156px;
    height: 48px;
    background: #CC4B25;
    color: #FFF;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 26px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 9999;
    font-size:14px;
}
#mes-custom-floating-btn.show {
    opacity: 1;
    visibility: visible;
}
#mes-custom-floating-btn:hover {
    background: #333;
    transform: translateY(-3px);
}
@media (max-width: 767px) {
    #mes-custom-floating-btn {
        bottom: 20px;
    }
}
.mes-footer-icon{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #111;
}
a.mes-footer-icon.mes-email {
    font-size: 12px;
}
.forminator-required:after {
    content: " (champ obligatoire)";
    font-size: 12px;
    font-weight: normal;
    color: #777;
    margin-left: 4px;
}

