body {
    margin: 0;
    font-family: "Inter", sans-serif;
    background: white;
    color: #0D1B2A;
	background: #FFFFFF;
background-image: url('data:image/svg+xml;utf8,\
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320">\
  <g transform="scale(1,-1) translate(0,-320)">\
    <path fill="rgba(255,229,183,0.50)" d="M0,160L48,165.3C96,171,192,181,288,197.3C384,213,480,235,576,224C672,213,768,171,864,149.3C960,128,1056,128,1152,160C1248,192,1344,256,1392,288L1440,320L1440,0L1392,0C1344,0,1248,0,1152,0C1056,0,960,0,864,0C768,0,672,0,576,0C480,0,384,0,288,0C192,0,96,0,48,0L0,0Z"></path>\
  </g>\
</svg>');

  background-repeat: repeat-x;
  background-size: cover;
}

.container { max-width: 1200px; margin: auto; padding-top:130px;}

.homeheader {
    padding-top: 20px;
    padding-bottom: 20px;
    background: url('../images/bgbody.png') no-repeat right top;
    background-size: contain;
    
}
@media (max-width: 768px) {
	.homeheader {margin-top: 0px;}
}

.welcome { margin-top: 40px; }
.welcome h1 { font-size: 70px; margin-top: 0px; line-height:55px; font-weight:700}
.welcome span { font-size: 16px; }
@media (max-width: 768px) {
	.welcome h1 { font-size: 30px; margin-top: 0px; line-height:30px; box-sizing:border-box}
}

h1 {
  font-size: 36px;
}
@media (max-width: 980px) {
	h1 {
            font-size: 30px;
        }
}

@media (max-width: 600px) {
	h1  {
            font-size: 26px;
        }
}


/* SEARCH */
.search-container {
    display: flex;
    align-items: center;
    margin: 1px 0px 20px; /* ajuste selon ton design */
    width: 100%;
	max-width: 350px;
    background: #FFFFFF;
    border-radius: 15px;
	border: 1px solid #AAAAAA;
    padding: 5px 15px;
    gap: 5px;
	text-align: left;
	margin-top: 1px;
 box-sizing: border-box;
 position: relative;
}

/* ====== SEARCH DROPDOWN ====== */
.search-dropdown {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    right: 0;
    background: #FFFFFF;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    max-height: 280px;
    overflow-y: auto;
    z-index: 1000;
}

.search-loading,
.search-no-results {
    padding: 15px;
    text-align: center;
    color: #666666;
    font-size: 14px;
}

.search-results {
    padding: 5px;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    cursor: pointer;
    border-radius: 8px;
    transition: background-color 0.2s;
}

.search-result-item:hover {
    background-color: #F8F9FA;
}

.search-result-item img {
    width: 28px;
    height: 20px;
    object-fit: cover;
    border-radius: 3px;
    flex-shrink: 0;
}

.search-result-info {
    flex: 1;
}

.search-result-name {
    font-size: 15px;
    font-weight: 500;
    color: #333333;
}

.search-result-continent {
    font-size: 13px;
    color: #666666;
    margin-top: 2px;
}

.search-result-code {
    font-size: 12px;
    color: #888888;
    font-weight: 500;
}

/* ====== SCROLLBAR STYLING ====== */
.search-dropdown::-webkit-scrollbar {
    width: 6px;
}

.search-dropdown::-webkit-scrollbar-track {
    background: transparent;
}

.search-dropdown::-webkit-scrollbar-thumb {
    background: #D71E54;
    border-radius: 3px;
}

.search-dropdown::-webkit-scrollbar-thumb:hover {
    background: #C8094E;
}

/* Firefox scrollbar */
.search-dropdown {
    scrollbar-width: thin;
    scrollbar-color: #D71E54 transparent;
}

/* ====== RESPONSIVE ====== */
@media (max-width: 768px) {
    .search-container {
        max-width: 100%;
    }
    .search-dropdown {
        max-height: 240px;
    }
}

.search-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 16px; /* taille du texte r�duite */
    background: transparent;
    padding: 10px;
}

.search-input::placeholder {
    font-size: 15px; /* taille du placeholder r�duite */
    color: #AAAAAA;
}

.search-btn {
    background-color: #D71E54; /* vert */
    color: #FFFFFF;
    border: none;
    border-radius: 15px;
	width: 100%;
    padding: 15px;
	max-width: 350px;
    cursor: pointer;
    font-weight: 600;
	font-size: 15px;
    transition: background 0.3s;
 box-sizing: border-box;
}

.search-btn:hover {
    background-color: #C8094E;
}

.section-title {
    font-size: 22px;
    font-weight: 700;
    margin: 25px 20px 10px;
}
.view-all {
    color: #E89A0F;
    float: right;
    margin-right: 20px;
    cursor: pointer;
    font-size: 15px
}
.section {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
    padding: 20px;
	margin-top: -50px;
}

.left-content {
    flex: 1;
}
.right-image {
    flex: 0.5 0.5;
}

@media (max-width: 768px) {
	.right-image {
    		display: none;
	}
}

.right-image img {
    width: 100%;     /* prend toute la largeur disponible */
    height: auto;    /* garde les proportions */
    max-width: 600px;/* limite la largeur max */
    border-radius: 8px;
}

/* RATING HOME */
.rating {
  display: inline-flex;
  align-items: center;
  font-size: 30px; /* adapte selon tes besoins */
  color: #000000; /* couleur des �toiles, tu peux changer */
}
.rating .star {
  margin-right: 2px;
}
.rating .star.empty {
  color: #ddd;
}
.rating .note {
  margin-left: 8px;
  font-weight: bold;
}

/* POPULAR COUNTRIES SECTION */
.countries {
    display: flex;
    padding: 20px 20px;
    overflow-x: auto;
    gap: 18px;
	height: 70px;
}
.countries::-webkit-scrollbar { display: none; }

.country-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px #ddd;
    flex-shrink: 0;
    border: 3px solid transparent;
    cursor: pointer;
    transition: .3s;
    overflow: hidden; /* ajout */
}
.country-icon.active {
    border-color: #E89A0F;
    transform: scale(1.08);
}
.country-icon img {
    width: 100%;
    border-radius: 50%;
    height: 100%;       /* ajout */
    object-fit: cover;  /* ajout */
}

/* TOP PACKAGE SECTION */
.package-card {
  /*background: #E89A0F;*/
  margin: 20px;
  border-radius: 28px;
  padding: 25px;
  color: white;
  position: relative;
  overflow: hidden;

 /* background-image: url('data:image/svg+xml;utf8,\
  <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320">\
    <path fill="rgba(255,255,255,0.15)" fill-opacity="1" d="M0,160L48,165.3C96,171,192,181,288,197.3C384,213,480,235,576,224C672,213,768,171,864,149.3C960,128,1056,128,1152,160C1248,192,1344,256,1392,288L1440,320L1440,0L1392,0C1344,0,1248,0,1152,0C1056,0,960,0,864,0C768,0,672,0,576,0C480,0,384,0,288,0C192,0,96,0,48,0L0,0Z"></path>\
  </svg>');*/
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;

	transform: translateY(0);
        transition: opacity .35s ease, transform .35s ease;
}

.fade-out { opacity: 0; transform: translateY(20px); }
.fade-in { opacity: 1; transform: translateY(0); }

.flag-text-container {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.flag-container {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    overflow: hidden;
}
.flag-container img {
    width: 100%;
    border-radius: 50%;
    height: 100%;       /* ajout */
    object-fit: cover; 
}

.package-title { font-size: 26px; font-weight: 700; }
.package-sub { opacity: 0.9; }

.package-info {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
}
.package-info h2 { margin: 4px 0 0; font-size: 22px; margin-right: 70px;}
.package-info > div:last-child { margin-left: -10px; }

.arrow-btn {
    position: absolute;
    right: 25px;
    bottom: 25px;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    border: 2px solid white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 22px;
}

.favorite-card {
    margin: 20px;
    padding: 15px;
    border-radius: 20px;
    background: #F5F6FA;
    display: flex;
    align-items: center;
    justify-content: space-between;
	cursor: pointer
}
.favorite-left {
    display: flex;
    align-items: center;
    gap: 10px;
}
.favorite-left img { 
  width: 40px; 
  height: 40px; 
  border-radius: 50%; 
  object-fit: cover; /* pour que l�image remplisse le cercle sans d�formation */
}

/* VIEW ALL POPUP */
.popup-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}
.popup-content {
    background: white;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    max-height: 80%;
    overflow-y: auto;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    animation: popupFadeIn 0.3s ease;
}
.popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}
.popup-header h2 { margin: 0; }
.popup-close { font-size: 24px; cursor: pointer; }
@keyframes popupFadeIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}
.popup-list .favorite-card { margin: 10px 0; }

/* NAV BAR */
.header-fixed {
	position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    flex-direction: column; /* top-banner au-dessus, nav-bar en dessous */
    z-index: 1500;
}
.nav-bar {
    display: flex;
    bottom: 0; /* par d�faut mobile */
    width: 100%;
    max-width: 100%;
    background: white;
    padding: 12px 0 22px;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
}

.nav-item { text-align: center; font-size: 15px; color: #000000; cursor: pointer }
.nav-item.active { color: #E89A0F; }
.nav-bar { top: 0; bottom: auto; box-shadow: 0 1px 0px  0px #E4E4E4; padding: 22px 0 12px; }/* Version desktop */
.nav-bar {
          
    bottom: auto;               /* d�sactive l�ancrage bas */
    width: 100%;                /* largeur selon le contenu */     /* centre horizontalement */
    
    justify-content: center;    /* centre les items dans la barre */
    padding: 12px 20px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.5); /* petit ombrage pour contraste */
    background: white;
    z-index: 1000;
	top: 33px;
  }

.nav-item {
    margin: 0 15px;             /* espace r�gulier entre les items */
}



/* FAQ SECTION */
.faq-container {
    margin: 20px;
    border-radius: 20px;
    background: #FFFFFF;
    overflow: hidden;
}

.faq-item {
    border-bottom: 1px solid #ddd;
}

.faq-question {
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question:hover {
    background: #eee;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    font-size: 15px;
    line-height: 1.5;
}

.faq-item.active .faq-answer {
    padding: 15px 20px;
    max-height: 200px; /* Ajuster selon la longueur de la r�ponse */
}

/* FEATURES SECTION */
.features-section {
  display: grid;
  grid-template-columns: 2fr 1fr; /* 2 parties pour les blocs, 1 partie pour l'image */
  gap: 30px;
  margin: 20px;
  align-items: center;
}

.features-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 colonnes pour les 4 blocs */
  gap: 20px;
}

.feature-item {
  background: white;
  padding: 20px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.feature-item i {
  color: #E89A0F;
}

.feature-item h3 {
  margin: 0;
  font-size: 18px;
  color: #0D1B2A;
}

.feature-item p {
  font-size: 14px;
  opacity: 0.8;
  line-height: 1.4;
}

.features-image img {
  width: 100%;
	max-width: 400px;
  border-radius: 50px;
}

@media (max-width: 1200px) {
  .features-section {
    grid-template-columns: 1fr; /* tout empil� */
  }
  .features-container {
    grid-template-columns: 1fr; /* blocs empil�s */
  }
  .features-image {
    margin-top: 20px;
  }
}

/* DOWNLOAD SECTION */
.download-app-section {
  background: #FFFFFF;
  border-radius: 20px;
  padding: 0px 20px;
  margin: 40px auto;
 background-image: url('data:image/svg+xml;utf8,\
  <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320">\
  <g transform="scale(1,-1) translate(0,-320)">\
    <path fill="rgba(255,229,183,0.5)" fill-opacity="1" d="M0,160L48,165.3C96,171,192,181,288,197.3C384,213,480,235,576,224C672,213,768,171,864,149.3C960,128,1056,128,1152,160C1248,192,1344,256,1392,288L1440,320L1440,0L1392,0C1344,0,1248,0,1152,0C1056,0,960,0,864,0C768,0,672,0,576,0C480,0,384,0,288,0C192,0,96,0,48,0L0,0Z"></path>\
  </g>\</svg>');
  background-repeat: repeat-x;
  background-size: cover;
  pointer-events: none;
}

.download-app-section .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 0px;
  max-width: 1200px;
  margin: 0 auto;
}

.download-text h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.download-text p {
  font-size: 1.1rem;
  margin-bottom: 25px;
}

.download-buttons a img {
  height: 50px;
  transition: transform 0.3s;
}

.download-buttons a img:hover {
  transform: scale(1.05);
}

.download-image{
	text-align:center;
}

.download-image img {
  max-width: 70%;
  border-radius: 0px;
}

/* Responsive */
@media screen and (max-width: 900px) {
  .download-app-section .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .download-image {
    margin-top: 50px;
  }
}

/* FOOTER SECTION */
.footer-section {
  width: 100%;
  background: #FFFFFF; /* gris clair */
  padding: 40px 0px 20px;
  font-family: "Inter", sans-serif;
  color: #0D1B2A;
}

.footer-container {
  margin: auto;
	padding: 20px;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.footer-logo h2 {
  margin: 0;
  font-weight: 700;
}

.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links a {
  text-decoration: none;
  color: #0D1B2A;
  font-weight: 500;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #E89A0F;
}

.footer-bottom {
  text-align: center;
  font-size: 14px;
  opacity: 0.7;
}

/* 3 STEPS SECTION */
.step-container {
	border-radius: 30px;
    display: flex;
    justify-content: space-between;
    padding: 40px 50px;
    margin: auto;
    gap: 40px;
   
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom;
}
.left-column h1 {
        font-size: 36px;
}

.underline {
        width: 70px;
        height: 3px;
        background: #000;
        margin-bottom: 40px;
}

.images {
        display: flex;
        gap: 25px;
}

.images img {
        width: 400px;
        height: 500px;
        object-fit: cover;
        border-radius: 50px;
}
.right-column {
        width: 45%;
        min-width: 300px;
}

.step-card {
        background: white;
        border-radius: 15px;
        padding: 28px;
        display: flex;
        gap: 20px;
        margin-bottom: 25px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.05);
        align-items: flex-start;
}

.step-number {
       color: #F55353;
        font-size: 22px;
        font-weight: 700;
        min-width: 45px;
        padding-top: 5px;
}

.step-icon svg {
        width: 40px;
        height: 40px;
}

.step-text {
        font-size: 16px;
        line-height: 1.5;
        width: 100%;
}

.step-text a {
        font-size: 14px;
        color: #666;
        text-decoration: none;
}

    @media (max-width: 980px) {
	.step-container {
            flex-direction: column;
            padding: 20px;
        }

        .left-column h1 {
            font-size: 30px;
        }

        .images {
            justify-content: center;
            flex-wrap: wrap;
        }

        .images img {
            width: 45%;
            height: 180px;
        }

        .right-column {
            width: 100%;
        }

        .step-card {
            flex-direction: row;
        }
    }

    @media (max-width: 600px) {

        .left-column h1  {
            font-size: 26px;
        }

        .images img {
            width: 100%;
            height: 200px;
        }

        .step-card {
            flex-direction: column;
            text-align: left;
        }

        .step-number {
            padding: 0;
        }

        .step-icon svg {
            width: 35px;
            height: 35px;
        }

        .step-text {
            font-size: 15px;
        }
    }

/* TOP BANNER*/
.top-banner {

    top: 0;
    left: 0;
    width: 100%;
    padding: 9px 0;
    text-align: center;
    background: linear-gradient(90deg, #FFF2DB, #FFC1CC);
    color: #000;
    font-weight: 600;
    font-size: 14px;
    z-index: 1500; /* au-dessus de tout */
}

/* SECURE PAY SECTION */
.secure-pay {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 14px 18px;
  border-radius: 15px;
  background: #ffffff; /* fond blanc */
  box-shadow: 0 4px 8px rgba(0,0,0,0.1); /* ombre l�g�re */
  box-sizing: border-box;
}
.secure-pay__left {
  display: flex;
  gap: 12px;
  align-items: center;
}
.secure-pay__icon {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  fill: #E88D1A;
  background: #FFF2DB;
  padding: 6px;
  border-radius: 8px;
}
.secure-pay__title {
  font-weight: 600;
  font-size: 16px;
  color: #0f1724;
}
.secure-pay__subtitle {
  font-size: 1.1rem;
  margin-top: 4px;
}
.secure-pay__right {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.pm-logo {
  height: 50px;
  width: auto;
}
@media (max-width: 520px) {
	.secure-pay {
	width: auto;
		margin: 20px;
	flex-direction: column;
    align-items: flex-start;
	}
  .secure-pay {
    flex-direction: column;
    align-items: flex-start;
  }
  .secure-pay__right {
    width: 100%;
    justify-content: flex-start;
  }
}

/* CURRENCY BUTTON */
@media (max-width: 767px){
	#langCurrencySelector{
		display: none;
	}
}

.selector-pill {
  display:inline-flex;
  align-items:center;
	justify-content: center;
  gap:10px;
  padding:8px 12px;
  border-radius:5px;
  cursor:pointer;
  background:#FFFFFF;
  border:1px solid rgba(0,0,0,0.15);
}
.pill-flag {
  width:20px;
  height:15px;
  object-fit:cover;
  border-radius:3px;
}
.pill-currency {
  padding-left:10px;
  border-left:1px solid rgba(0,0,0,0.2);
  font-weight:bold;
}

/* CURRENCY POPUP */
.overlay {
  position:fixed;
  inset:0;
  background:rgba(0,0,0,0.6);
  display:none;
  align-items:center;
  justify-content:center;
  backdrop-filter:blur(4px);
  z-index:9999;
}
.overlay.open { display:flex; }

.modal {
  width:400px;
  background:white;
  border-radius:15px;
  padding:20px;
  color:#111;
}

.close-btn {
  background:none;
  border:0;
  cursor:pointer;
  font-size:20px;
}

.grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
}

.panel h3 {
  margin:0 0 10px;
  font-size:15px;
  font-weight:bold;
}

.option-list {
  list-style:none;
  padding:0;
  margin:0;
}

.option {
  display:flex;
  align-items:center;
  gap:10px;
  padding:8px;
  cursor:pointer;
  border-radius:8px;
}
.option img {
  width:32px;
  height:24px;
  object-fit:cover;
  border-radius:4px;
}
.option:hover {
  background:rgba(0,0,0,0.05);
}
.option.selected {
  background:#FFF2DB;
}

.apply-btn {
  width:100%;
  margin-top:15px;
  padding:10px;
  background: orange;
  border:0;
  border-radius:8px;
  font-weight:bold;
  font-size:15px;
  color:white;
  cursor:pointer;
	color: #000000
}

/* PAGE CONTAINER */

#pageContainer {
	padding: 20px;
}