:root {
  --vh-primary: #0d6efd; /* Bootstrap primary */
  --vh-accent: #0ea5e9; /* bleu ciel pour détails */
  --vh-dark: #0b132b; /* bleu nuit */
}

/* Base */
* {
  box-sizing: border-box;
}
html,
body {
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto,
    "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
}

/*  HERO : image centrée et couverte */
.hero {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
}
/* on neutralise les anciens calques si présents dans le HTML */
.hero-bg,
.hero-overlay {
  display: none !important;
}

/*  Boutons globaux */
.btn,
.btn-primary {
  background-color: #f97316 !important;
  border-color: #f97316 !important;
  color: #fff !important;
}
.btn:hover,
.btn-primary:hover {
  background-color: #ea580c !important;
  border-color: #ea580c !important;
  color: #fff !important;
}
.btn:focus,
.btn-primary:focus {
  box-shadow: 0 0 0 0.25rem rgba(234, 88, 12, 0.25) !important;
}
/* variantes outline */
.btn-outline-primary {
  color: #f97316 !important;
  border-color: #f97316 !important;
  background: transparent !important;
}
.btn-outline-primary:hover {
  color: #fff !important;
  background-color: #ea580c !important;
  border-color: #ea580c !important;
}

/* Navbar : hover des onglets  */
.navbar .nav-link:hover,
.navbar .nav-link:focus {
  color: #ea580c !important;
}
.navbar .nav-link.active {
  color: #ea580c !important;
}

/*  Services  */
.service-card .icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-inline: auto;
  background: radial-gradient(
    50% 50% at 50% 50%,
    rgba(13, 110, 253, 0.15),
    rgba(14, 165, 233, 0.1)
  );
  border: 1px solid rgba(13, 110, 253, 0.25);
}
.service-card .icon-wrap i {
  font-size: 1.5rem;
}

/*  Destinations */
.photo-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  border: none;
}
.photo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 26px rgba(13, 110, 253, 0.15);
}
.photo-card .card-img-top {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/*  Témoignages */
.testimonial-avatar {
  width: 88px;
  height: 88px;
  object-fit: cover;
}
.rating i {
  color: #f1c40f;
}

/* CTA : fond orange + texte lisible */
.cta {
  background-color: #f97316 !important;
  background-image: none !important;
  color: #fff;
}
.cta h1,
.cta h2,
.cta h3,
.cta p,
.cta a {
  color: #fff !important;
}
/* Bouton outline dans la CTA */
.cta .btn-outline-primary {
  color: #fff !important;
  border-color: #fff !important;
  background: transparent !important;
}
.cta .btn-outline-primary:hover {
  color: #fff !important;
  background: #ea580c !important;
  border-color: #ea580c !important;
}
/* Icônes blanches dans la CTA pour contraste */
.cta i {
  color: #fff !important;
}

/*  Footer : fond + liens + texte */
footer {
  background-color: #111827 !important; /* fond */
  color: #fff; /* texte par défaut */
}
footer a,
.footer-link {
  color: #fff !important; /* liens en blanc */
  text-decoration: none;
}
footer a:hover,
.footer-link:hover {
  color: #ea580c !important; /* hover orange foncé */
}
/* Textes SANS lien en blanc */
footer p,
footer span,
footer li,
footer small,
footer div,
footer address,
footer h1,
footer h2,
footer h3,
footer h4,
footer h5,
footer h6 {
  color: #fff !important;
}
/* Si des classes réduisent l’opacité dans le footer */
footer .opacity-75 {
  opacity: 1 !important;
}

/* Icônes globales en #f97316  */
.fa,
.fas,
.far,
.fal,
.fab,
.fa-solid,
.fa-regular,
.fa-brands,
[class^="fa-"],
[class*=" fa-"] {
  color: #f97316 !important;
}
/* Lucide / SVG éventuels */
[data-lucide],
.lucide,
svg.lucide {
  color: #f97316 !important;
  stroke: #f97316 !important;
}

/* Hero de la page À propos (374px + image de fond) */
.page-hero {
  height: 374px; /* hauteur exacte demandée */
  padding-top: 0 !important; /* on neutralise py-5 pour garder 374px total */
  padding-bottom: 0 !important;
  position: relative;
  background-image: url("../images/vineyards-4336787_1920.jpg"); /* chemin depuis /css/ */
  background-position: center center; /* centrée */
  background-size: cover; /* couvre toute la div */
  background-repeat: no-repeat;
}

/* Option lisibilité : léger voile sombre */
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}

/* Centrer le contenu verticalement et le passer au-dessus du voile */
.page-hero .container {
  position: relative;
  z-index: 1;
  height: 100%;
  display: grid;
  place-content: center; /* centre h1 + p verticalement et horizontalement */
  text-align: center;
}

/* Texte en blanc pour le contraste (respecte tes couleurs de liens/icônes ailleurs) */
.page-hero h1,
.page-hero p {
  color: #fff !important;
}

/*  Pagination (Blog) */
.pagination .page-link {
  color: #6b7280; /* numéros en gris */
  border-color: #e5e7eb; /* gris clair */
  background-color: #ffffff;
  transition: color 0.2s, border-color 0.2s, background-color 0.2s,
    box-shadow 0.2s;
}

.pagination .page-link:hover {
  color: #f97316; /* hover en orange */
  border-color: #f97316;
  background-color: #ffffff;
  text-decoration: none;
}

.pagination .page-item.active .page-link {
  color: #ffffff; /* texte en blanc sur l'actif */
  background-color: #f97316; /* actif en orange */
  border-color: #f97316;
}

.pagination .page-item.active .page-link:hover {
  color: #ffffff; /* conserve blanc au survol de l'actif */
  background-color: #f97316;
  border-color: #f97316;
}

.pagination .page-item.disabled .page-link {
  color: #9ca3af; /* gris + clair pour disabled */
  background-color: #ffffff;
  border-color: #e5e7eb;
}

.pagination .page-link:focus {
  color: #f97316; /* focus accessible */
  border-color: #f97316;
  box-shadow: 0 0 0 0.2rem rgba(249, 115, 22, 0.25);
}

/*  Contact (liens téléphone + email) */
/* Scopé au hero de contact.php : background images/contactee.jpg */
.page-hero[style*="contactee.jpg"] ~ section .card a[href^="tel"],
.page-hero[style*="contactee.jpg"] ~ section .card a[href^="mailto"] {
  color: #6b7280; /* gris */
  text-decoration: none;
  transition: color 0.2s ease;
}

.page-hero[style*="contactee.jpg"] ~ section .card a[href^="tel"]:hover,
.page-hero[style*="contactee.jpg"] ~ section .card a[href^="mailto"]:hover {
  color: #ea580c; /* hover orange */
}

/* Compteurs (stats) : couleur orange */
.card.h-100.border-0.shadow-sm.p-4 .stat-number {
  color: #f97316;
}

/* (Optionnel) si certains compteurs n'ont pas .stat-number mais une classe display */
.card.h-100.border-0.shadow-sm.p-4 .display-5,
.card.h-100.border-0.shadow-sm.p-4 .display-4 {
  color: #f97316;
}

.couleurorange {
  color: #f97316;
}

/* Grille responsive: occupe 100% de la largeur sans trou à droite */
#continentsWrap .continent-block {
  margin-bottom: 1.25rem;
}

#continentsWrap .btn-grid {
  display: grid;
  /* auto-fit = les colonnes “vides” se replient et l’espace est redistribué */
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.5rem;
}

#continentsWrap .btn-grid .btn {
  width: 100%;
  box-sizing: border-box; /* tient compte du padding/border */
  white-space: normal; /* évite les dépassements pour libellés longs */
  line-height: 1.2;
  text-align: center;
}

.tamm66 {
  font-size: 66px;
}

.tamm {
  width: 88px;
  height: 88px;
  object-fit: cover;
}

/* Bouton lecture transparent (surclasse les règles .btn/.btn-primary existantes) */
.ratio .btn.btn-play {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;

  /* confort de clic + centrage */
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease;
}

.ratio .btn.btn-play i {
  /* surclasse la couleur orange globale des .fa */
  color: #d75d00 !important;
  font-size: 1.25rem;
}

/* états (optionnels) */
.ratio .btn.btn-play:hover {
  background: rgba(0, 0, 0, 0.18) !important; /* léger halo au survol */
}
.ratio .btn.btn-play:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.6);
  outline-offset: 2px;
}

/* Variante : si tu veux un anneau blanc sans fond (dé-commente) */
/*
.ratio .btn.btn-play{
  border: 2px solid rgba(255,255,255,.85) !important;
  background: transparent !important;
}
*/
/* = NAVBAR une seule ligne (≥ lg) = */
.vh-navbar .navbar-collapse {
  white-space: nowrap;
} /* évite les retours */
.vh-navbar .navbar-nav {
  flex-wrap: nowrap;
  gap: 0.25rem;
} /* force une ligne */
.vh-navbar .nav-link {
  padding: 0.25rem 0.5rem;
} /* liens compacts */
.vh-navbar .btn {
  padding: 0.35rem 0.6rem;
  font-size: 0.9rem;
} /* boutons compacts */
.vh-navbar .vh-lang {
  white-space: nowrap;
} /* le sélecteur reste sur la ligne */

/* Option : textes un peu plus petits pour gagner de la place */
@media (min-width: 992px) {
  .vh-navbar .nav-link {
    font-size: 0.95rem;
  }
}

/* Sur petits écrans (< lg), on garde le comportement Bootstrap en pile */
@media (max-width: 991.98px) {
  .vh-navbar .navbar-collapse {
    white-space: normal;
  }
  .vh-navbar .navbar-nav {
    gap: 0.5rem;
  }
}
.vh-navbar .btn {
  padding: 0.3rem 0.55rem;
  font-size: 0.875rem;
}
/* Switcher compact et non cassant */
.vh-lang {
  white-space: nowrap;
}
.vh-lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 0.3rem 0.55rem;
  cursor: pointer;
  font: 14px/1.2 system-ui, Segoe UI, Inter, Arial;
}
.vh-lang-btn:hover {
  background: #f9fafb;
}
.vh-flag {
  width: 16px;
  height: 12px;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 0 0 1px #e5e7eb inset;
}
.vh-code {
  font-weight: 600;
  color: #111827;
}
.vh-caret {
  width: 12px;
  height: 12px;
  margin-left: 0.1rem;
  transform: translateY(1px);
}
.vh-lang-menu {
  position: absolute;
  right: 0;
  top: 100%;
  margin-top: 0.35rem;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  padding: 0.25rem;
  display: none;
  min-width: 180px;
}
.vh-lang-menu.open {
  display: block;
}
.vh-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.6rem;
  border-radius: 6px;
  cursor: pointer;
  white-space: nowrap;
  color: #111827;
  font: 14px/1.2 system-ui, Segoe UI, Inter, Arial;
}
.vh-item:hover {
  background: #f3f4f6;
}
.vh-item[aria-current="true"] {
  background: #eef2ff;
  border: 1px solid #e0e7ff;
}

/* Masquer l’UI Google Translate par défaut */
#goog-gt-tt,
.goog-te-banner-frame,
.goog-te-gadget-icon {
  display: none !important;
}
.goog-text-highlight {
  background: transparent !important;
  box-shadow: none !important;
}
