/* Modernisation douce homepage client SELECT */

.home-search-card,
.search-box-premium,
.search-tabs-bg > .tabbable > .tab-content > .tab-pane {
  background: rgba(255,255,255,.96);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 18px 45px rgba(0,0,0,.18);
  border: 1px solid rgba(255,255,255,.7);
}

.home-search-card label,
.search-tabs-bg label {
  font-weight: 700;
  color: #334155;
  font-size: 13px;
}

.home-search-card .form-control,
.search-tabs-bg .form-control,
.form-control {
  height: 46px;
  border-radius: 10px;
  border: 1px solid #dbe3ef;
  box-shadow: none;
}

/* =========================================================
   HOMEPAGE SELECT — Sections ajoutées homogènes
   Compatible Bootstrap 3
========================================================= */

.home-section {
  margin-top: 55px;
  margin-bottom: 20px;
}

.home-section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 32px;
}

.home-section-header h3 {
  font-size: 30px;
  font-weight: 900;
  color: #111827;
  margin-bottom: 10px;
}

.home-section-header p {
  font-size: 15px;
  color: #64748b;
  line-height: 1.7;
}

/* Card homogène avec .home-feature */
.route-card,
.destination-card,
.mini-feature,
.messagerie-box,
.home-info-card {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  min-height: 165px;
  border: 1px solid #eef2f7;
  box-shadow: 0 12px 30px rgba(15,23,42,.08);
  transition: all .25s ease;
  margin-bottom: 24px;
}

.route-card:hover,
.destination-card:hover,
.mini-feature:hover,
.messagerie-box:hover,
.home-info-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 38px rgba(15,23,42,.12);
}

/* Titres cards */
.route-card h4,
.destination-card h4,
.home-info-card h4,
.messagerie-box h4 {
  font-weight: 900;
  color: #111827;
  margin-bottom: 10px;
}

/* Textes cards */
.route-card p,
.destination-card p,
.home-info-card p,
.messagerie-box p {
  color: #64748b;
  line-height: 1.7;
  margin-bottom: 0;
}

/* Icônes homogènes */
.mini-feature i,
.home-info-card i,
.route-card i,
.destination-card i {
  width: 52px;
  height: 52px;
  line-height: 50px;
  display: inline-block;
  text-align: center;
  border-radius: 50%;
  color: #c39e5c;
  border: 1px solid #c39e5c;
  background: rgba(195,158,92,.08);
  font-size: 22px;
  margin-bottom: 14px;
}

.mini-feature h5 {
  font-size: 17px;
  font-weight: 900;
  color: #111827;
  margin-bottom: 8px;
}

.mini-feature p {
  color: #64748b;
  line-height: 1.65;
}

/* Routes avec accent gold */
.route-card {
  position: relative;
  overflow: hidden;
}

.route-card:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(180deg, #c39e5c, #8b6b32);
}

/* Messagerie */
.messagerie-box {
  min-height: auto;
}

.messagerie-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.messagerie-box li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  color: #334155;
  font-weight: 700;
}

.messagerie-box li:before {
  content: "\f00c";
  font-family: FontAwesome;
  position: absolute;
  left: 0;
  top: 0;
  color: #c39e5c;
}

/* Bloc texte SEO discret */
.home-seo-text {
  max-width: 780px;
  margin: 45px auto 10px;
  padding: 24px;
  text-align: center;
  background: #fff;
  border-radius: 16px;
  border: 1px solid #eef2f7;
  box-shadow: 0 12px 30px rgba(15,23,42,.06);
}

.home-seo-text p {
  color: #64748b;
  line-height: 1.8;
  margin: 0;
}

/* Espacements compatibles */
.mt50 {
  margin-top: 50px;
}

.mb30 {
  margin-bottom: 30px;
}

/* Mobile */
@media (max-width: 768px) {
  .home-section {
    margin-top: 35px;
  }

  .home-section-header h3 {
    font-size: 24px;
  }

  .route-card,
  .destination-card,
  .mini-feature,
  .messagerie-box,
  .home-info-card {
    padding: 20px;
    border-radius: 14px;
    min-height: auto;
  }
}

.home-seo-text {
  max-width: 780px;
  margin: auto;
  padding: 28px;
  text-align: center;
  background: #fff;
  border-radius: 16px;
  border: 1px solid #eef2f7;
  box-shadow: 0 12px 30px rgba(15,23,42,.06);
}

.home-seo-text p {
  color: #64748b;
  line-height: 1.8;
  margin: 0;
  font-size: 15px;
}

.home-seo-text {
  max-width: 780px;
  margin: 60px auto 20px;
  padding: 32px;
  text-align: center;
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid #eef2f7;
  box-shadow: 0 18px 40px rgba(15,23,42,.08);
  position: relative;
}

/* petite barre gold SELECT */
.home-seo-text:before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: #c39e5c;
  border-radius: 4px;
}

.home-seo-text p {
  color: #475569;
  line-height: 1.9;
  font-size: 16px;
  margin: 0;
  font-weight: 500;
}

.messagerie-box {
  background: #fff;
  padding: 28px;
  border-radius: 18px;
  border: 1px solid #eef2f7;
  box-shadow: 0 18px 40px rgba(15,23,42,.08);
}

.messagerie-box li {
  font-weight: 700;
  color: #1e293b;
}

.home-search-card .form-control:focus,
.search-tabs-bg .form-control:focus,
.form-control:focus {
  border-color: #c39e5c;
  box-shadow: 0 0 0 3px rgba(195,158,92,.16);
}

.search-tabs-bg .radio-inline {
  background: #f8fafc;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 700;
  margin-bottom: 14px;
}

.btn-primary {
  border-radius: 10px;
  border: 0;
  font-weight: 700;
  background: linear-gradient(135deg, #c39e5c, #8b6b32);
  box-shadow: 0 10px 24px rgba(139,107,50,.24);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #b58d47, #755927);
  color: #fff;
}

.home-feature {
  background: #fff;
  border-radius: 16px;
  padding: 22px;
  min-height: 175px;
  border: 1px solid #eef2f7;
  box-shadow: 0 12px 30px rgba(15,23,42,.08);
  transition: all .25s ease;
}

.home-feature:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 38px rgba(15,23,42,.12);
}

.home-feature .box-icon-left {
  color: #c39e5c !important;
  border-color: #c39e5c !important;
}

.home-feature h4,
.thumb-title {
  font-weight: 700;
  color: #111827;
}

.home-feature p,
.thumb-desc {
  color: #64748b;
  line-height: 1.65;
}

.select2-container .select2-selection--single {
  height: 46px !important;
  padding: 8px !important;
  border-radius: 10px !important;
  border-color: #dbe3ef !important;
}

@media (max-width: 768px) {
  .home-search-card,
  .search-box-premium,
  .search-tabs-bg > .tabbable > .tab-content > .tab-pane {
    padding: 18px;
    border-radius: 14px;
  }

  .home-feature {
    padding: 18px;
  }
}

.home-hero-title,
.hero-title {
  color: #fff;
  font-weight: 800;
  text-shadow: 0 4px 20px rgba(0,0,0,0.8);
}

.home-hero-subtitle,
.hero-subtitle {
  color: rgba(255,255,255,0.95);
  text-shadow: 0 3px 15px rgba(0,0,0,0.7);
}

/* Fix lisibilitﾃｩ H1/H2 homepage - production safe */
.home-hero-copy h1,
.home-hero-copy h2 {
  color: #fff !important;
  text-shadow: 0 4px 18px rgba(0,0,0,.85);
}

.home-hero-copy h1 span,
.home-hero-copy h2 span {
  color: #fff !important;
}

.home-hero-copy h1 b {
  color: #f5d28a !important;
}

/* Ajustement position H1 H2 homepage */
.home-hero-copy {
  margin-top: 120px;
  text-align: center;
}

@media (max-width: 768px) {
  .home-hero-copy {
    margin-top: 60px;
  }
}

.route-card {
  background: #fff;
  padding: 22px;
  border-radius: 16px;
  border: 1px solid #eee;
  transition: 0.3s;
  margin-bottom: 20px;
}

.route-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.08);
}

.route-card h4 {
  font-weight: 700;
  color: #111;
}

.route-card p {
  color: #666;
}

.messagerie-box {
  background: #fff;
  padding: 25px;
  border-radius: 16px;
  border: 1px solid #eee;
  box-shadow: 0 10px 25px rgba(0,0,0,0.06);
}

.messagerie-box ul {
  list-style: none;
  padding: 0;
}

.messagerie-box li {
  margin-bottom: 10px;
  font-weight: 600;
  color: #333;
}

/* ===== SECTIONS AJOUTﾃ右S ===== */

.route-card,
.destination-card {
  background: #fff;
  padding: 20px;
  border-radius: 14px;
  border: 1px solid #eee;
  margin-bottom: 20px;
  transition: all 0.25s ease;
}

.route-card:hover,
.destination-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.08);
}

.route-card h4,
.destination-card h4 {
  font-weight: 700;
  color: #111;
  margin-bottom: 8px;
}

.route-card p,
.destination-card p {
  color: #666;
}

/* ===== MINI FEATURES ===== */

.mini-feature {
  padding: 20px;
}

.mini-feature i {
  font-size: 28px;
  color: #c39e5c;
  margin-bottom: 10px;
}

.mini-feature h5 {
  font-weight: 700;
  margin-top: 10px;
}

/* ===== MESSAGERIE ===== */

.messagerie-box {
  background: #fff;
  padding: 25px;
  border-radius: 14px;
  border: 1px solid #eee;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.messagerie-box ul {
  list-style: none;
  padding: 0;
}

.messagerie-box li {
  margin-bottom: 10px;
  font-weight: 600;
  color: #333;
}

/* ===== SPACING ===== */

.mt50 {
  margin-top: 50px;
}

.mb30 {
  margin-bottom: 30px;
}

/* ===== MESSAGERIE PREMIUM ===== */

.messagerie-content {
  padding: 10px 10px 10px 0;
}

.messagerie-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.messagerie-header i {
  width: 40px;
  height: 40px;
  line-height: 38px;
  text-align: center;
  border-radius: 50%;
  font-size: 18px;
  color: #c39e5c;
  border: 1px solid #c39e5c;
  background: rgba(195,158,92,.08);
}

.messagerie-header h3 {
  margin: 0;
  font-weight: 900;
  color: #111827;
  font-size: 24px;
}

/* ligne décorative */
.messagerie-line {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #c39e5c, #8b6b32);
  border-radius: 4px;
  margin: 12px 0 18px;
}

/* texte */
.messagerie-content p {
  color: #64748b;
  line-height: 1.8;
  font-size: 15px;
}

/* box droite */
.messagerie-box {
  background: #fff;
  padding: 28px;
  border-radius: 18px;
  border: 1px solid #eef2f7;
  box-shadow: 0 18px 40px rgba(15,23,42,.08);
}

/* liste avec check */
.messagerie-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.messagerie-box li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  font-weight: 700;
  color: #1e293b;
}

.messagerie-box li:before {
  content: "\f00c";
  font-family: FontAwesome;
  position: absolute;
  left: 0;
  top: 0;
  color: #c39e5c;
}

.messagerie-header i:hover {
  background: #c39e5c;
  color: #fff;
}


.home-seo-text {
  margin: 30px auto 20px; /* au lieu de 60px */
}

.home-seo-text:before {
  content: "";
  position: absolute;
  top: -8px; /* au lieu de top: 0 */
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: #c39e5c;
  border-radius: 4px;
}

.home-section {
  padding-bottom: 30px;
}

.section-separator {
  position: relative;
  height: 90px;
  background: linear-gradient(
    to bottom,
    #ffffff 0%,
    #fafafa 100%
  );
}

.section-separator:after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, #c39e5c, #8b6b32);
  opacity: 0.6;
}
