:root { color-scheme: dark; }

* { box-sizing: border-box; }

html,
body { margin: 0; min-height: 100%; background: #05041f; }

body { min-width: 320px; }

.contact-site-header {
  height: 101px;
  background: #12112e;
  border-bottom: 1px solid #2b294c;
}

.contact-header-inner {
  width: min(100%, 1622px);
  height: 100%;
  margin: 0 auto;
  padding: 0 47px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.contact-brand { display: flex; flex: 0 0 auto; align-items: center; }

.contact-brand img {
  display: block;
  width: 304px;
  height: 76px;
  object-fit: contain;
}

.contact-primary-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 30px;
  margin-left: clamp(160px, 18.3vw, 297px);
}

.contact-primary-nav a {
  position: relative;
  color: #c8c5e0;
  font: 700 16px/1 "Arial", sans-serif;
  text-decoration: none;
  white-space: nowrap;
  transition: color .18s ease, transform .18s ease, filter .18s ease, box-shadow .18s ease;
}

.contact-primary-nav > a:not(.contact-nav-current):first-child { color: #fff; }

.contact-primary-nav > a:not(.contact-nav-current):hover {
  color: #fff;
  transform: translateY(-2px);
}

.contact-primary-nav > a:not(.contact-nav-current):active { transform: translateY(0) scale(.96); }

.contact-primary-nav > a:not(.contact-nav-current):first-child::after {
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: -21px;
  height: 3px;
  border-radius: 99px;
  content: "";
  background: #a54cff;
  box-shadow: 0 0 11px rgba(165, 76, 255, .85);
}

.contact-nav-current {
  padding: 17px 23px;
  border-radius: 10px;
  color: #fff !important;
  background: linear-gradient(135deg, #9d46fa, #6429d9);
  box-shadow: 0 8px 17px rgba(90, 36, 208, .35), inset 0 1px 0 rgba(255,255,255,.2);
}

.contact-nav-current:hover {
  transform: translateY(-3px) scale(1.025);
  filter: brightness(1.13);
  box-shadow: 0 13px 25px rgba(133, 58, 242, .55), inset 0 1px 0 rgba(255,255,255,.32);
}

.contact-nav-current:active { transform: translateY(0) scale(.97); }

.contact-language {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 99px;
  height: 46px;
  padding: 0 14px;
  border: 1px solid #464266;
  border-radius: 14px;
  background: #20203e;
  color: #fff;
  font: 700 14px/1 Arial, sans-serif;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.contact-language img { width: 23px; height: 17px; object-fit: cover; }

.contact-language:hover {
  transform: translateY(-2px);
  border-color: #8f5ce3;
  background: #29234e;
  box-shadow: 0 8px 18px rgba(83, 52, 166, .28);
}

.contact-language:active { transform: translateY(0) scale(.96); }

.contact-reference-page {
  min-height: 0;
  display: grid;
  place-items: start center;
  overflow: hidden;
  background: #05041f;
}

.contact-reference-stage {
  position: relative;
  width: min(100vw, 1680px);
  aspect-ratio: 1680 / 845;
}

.contact-reference-visual {
  display: block;
  width: 100%;
  height: auto;
  user-select: none;
}

.contact-hotspot {
  position: absolute;
  z-index: 1;
  display: block;
  border-radius: 999px;
  outline: none;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}

.contact-hotspot:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 3px;
}

.contact-hotspot:hover {
  transform: translateY(-3px) scale(1.018);
  background: linear-gradient(100deg, rgba(109, 255, 207, .12), rgba(126, 83, 255, .11));
  box-shadow: 0 11px 23px rgba(35, 241, 179, .3), inset 0 0 20px rgba(117, 255, 215, .12);
}

.contact-hotspot:active {
  transform: translateY(0) scale(.97);
  background: rgba(119, 255, 210, .24);
  box-shadow: 0 4px 11px rgba(35, 241, 179, .24), inset 0 0 23px rgba(117, 255, 215, .24);
}

/* Les positions suivent strictement la composition de l'image 1680 × 845. */
.whatsapp-france { left: 7.14%; top: 72.19%; width: 23.75%; height: 7.22%; }
.whatsapp-congo { left: 37.44%; top: 72.19%; width: 23.75%; height: 7.22%; }
.email-demandes { left: 66.67%; top: 64.73%; width: 27.38%; height: 7.10%; }
.email-gestion { left: 66.67%; top: 73.14%; width: 27.38%; height: 7.10%; }
.email-demandes,
.email-gestion { border-radius: 16px; }

.contact-site-footer {
  position: relative;
  min-height: 361px;
  overflow: hidden;
  padding: 65px clamp(48px, 7.8vw, 148px) 0;
  background: linear-gradient(110deg, #110b41 0%, #090b39 52%, #082548 100%);
}

.contact-site-footer::after {
  position: absolute;
  z-index: 0;
  top: -289px;
  right: -105px;
  width: 510px;
  height: 510px;
  border: 71px solid rgba(91, 63, 178, .39);
  border-radius: 50%;
  content: "";
}

.contact-footer-inner,
.contact-footer-bottom,
.contact-back-to-top { position: relative; z-index: 1; }

.contact-footer-inner {
  display: grid;
  grid-template-columns: 47.4% 28.4% 24.2%;
  gap: 0;
  width: 100%;
  margin: 0 auto;
}

.contact-footer-brand a { display: inline-flex; align-items: center; }

.contact-footer-brand img {
  display: block;
  width: 319px;
  height: 80px;
  object-fit: contain;
}

.contact-footer-brand p {
  margin: 30px 0 0;
  color: #b6cbff;
  font: 400 20px/1.47 Arial, sans-serif;
}

.contact-footer-links,
.contact-footer-help {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.contact-footer-links strong,
.contact-footer-help strong {
  margin-bottom: 4px;
  color: #e9dcff;
  font: 800 17px/1 Arial, sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.contact-footer-links a,
.contact-footer-help a {
  color: #f0eff9;
  font: 400 19px/1.15 Arial, sans-serif;
  text-decoration: none;
  transition: color .18s ease, transform .18s ease, text-shadow .18s ease;
}

.contact-footer-links a:hover,
.contact-footer-help a:hover {
  color: #9ff6d4;
  transform: translateX(6px);
  text-shadow: 0 0 13px rgba(123, 255, 206, .5);
}

.contact-footer-links a:active,
.contact-footer-help a:active { transform: translateX(2px) scale(.97); }

.contact-footer-bottom {
  width: 100%;
  margin: 57px auto 0;
  padding-top: 25px;
  border-top: 1px solid rgba(154, 164, 207, .23);
  color: #a8c3fd;
  font: 400 16px/1.1 Arial, sans-serif;
}

.contact-back-to-top {
  position: absolute;
  right: 36px;
  bottom: 29px;
  display: grid;
  place-items: center;
  width: 73px;
  height: 73px;
  border-radius: 23px;
  background: linear-gradient(145deg, #9b48f8, #7133d9);
  box-shadow: 0 12px 24px rgba(26, 5, 88, .42), inset 0 1px 0 rgba(255,255,255,.27);
  color: #fff;
  font: 800 42px/1 Arial, sans-serif;
  text-decoration: none;
  transition: transform .18s ease, filter .18s ease, box-shadow .18s ease;
}

.contact-back-to-top:hover {
  transform: translateY(-5px) scale(1.06);
  filter: brightness(1.14);
  box-shadow: 0 16px 30px rgba(122, 52, 239, .52), inset 0 1px 0 rgba(255,255,255,.35);
}

.contact-back-to-top:active { transform: translateY(0) scale(.95); }

@media (max-width: 1100px) {
  .contact-header-inner { padding: 0 24px; gap: 16px; }
  .contact-brand img { width: 244px; }
  .contact-primary-nav { gap: 17px; margin-left: auto; }
  .contact-primary-nav a { font-size: 14px; }
  .contact-nav-current { padding: 15px 17px; }
}

@media (max-width: 760px) {
  .contact-site-header { height: auto; }
  .contact-header-inner { flex-wrap: wrap; justify-content: center; padding: 12px 16px; }
  .contact-brand img { width: 250px; height: 63px; }
  .contact-primary-nav { order: 3; width: 100%; justify-content: center; gap: 14px; overflow-x: auto; padding: 7px 0 11px; }
  .contact-primary-nav a { font-size: 12px; }
  .contact-primary-nav > a:not(.contact-nav-current):first-child::after { bottom: -10px; }
  .contact-nav-current { padding: 11px 14px; }
  .contact-language { margin-left: auto; min-width: 82px; height: 40px; padding: 0 10px; }
  .contact-site-footer { min-height: auto; padding: 40px 24px 106px; }
  .contact-footer-inner { grid-template-columns: 1fr; gap: 36px; }
  .contact-footer-brand img { width: min(319px, 100%); height: auto; }
  .contact-footer-brand p { margin-top: 19px; font-size: 17px; }
  .contact-footer-links a,
  .contact-footer-help a { font-size: 16px; }
  .contact-footer-bottom { margin-top: 35px; padding-top: 21px; font-size: 13px; }
  .contact-back-to-top { right: 22px; bottom: 24px; width: 58px; height: 58px; border-radius: 18px; font-size: 34px; }
}

/* =========================================================
   VERSION COMPACTE - Trésor&CIE - 15 novembre 2026
   La composition 1680×845 est réduite ENTIÈREMENT : les
   zones cliquables gardent leurs coordonnées en pourcentage.
   ========================================================= */

/* En-tête : plus discret, mais toujours sur la même ligne. */
.contact-site-header { height: 80px; }
.contact-header-inner {
  max-width: 1360px;
  width: 100%;
  padding: 0 30px;
  gap: 20px;
}
.contact-brand img { width: 246px; height: 64px; }
.contact-primary-nav {
  margin-left: auto;
  gap: clamp(13px, 1.65vw, 24px);
}
.contact-primary-nav a { font-size: 14px; }
.contact-primary-nav > a:not(.contact-nav-current):first-child::after { bottom: -14px; }
.contact-nav-current { padding: 13px 17px; border-radius: 9px; }
.contact-language { min-width: 83px; height: 40px; padding: 0 10px; }

/* Dimension principale : 1300px au lieu de 1680px.
   IMPORTANT : ne PAS changer les pourcentages des hotspots. */
.contact-reference-page {
  width: 100%;
  padding: 14px 0 22px;
  background: radial-gradient(ellipse at 50% 34%, #11113a 0%, #06051f 73%);
}
.contact-reference-stage {
  width: min(calc(100% - 48px), 1300px);
  aspect-ratio: 1680 / 845;
}
.contact-reference-visual { width: 100%; height: 100%; object-fit: contain; }

/* Pied de page : proportions cohérentes avec la page réduite. */
.contact-site-footer {
  min-height: 0;
  padding: 40px max(26px, calc((100% - 1300px) / 2)) 25px;
}
.contact-footer-inner { grid-template-columns: 37% 24% 39%; }
.contact-footer-brand img { width: 245px; height: 62px; }
.contact-footer-brand p { margin-top: 14px; font-size: 15px; }
.contact-footer-links, .contact-footer-help { gap: 11px; }
.contact-footer-links strong, .contact-footer-help strong { font-size: 13px; }
.contact-footer-links a, .contact-footer-help a { font-size: 15px; }
.contact-footer-bottom { margin-top: 30px; padding-top: 18px; font-size: 13px; }
.contact-back-to-top {
  right: 20px; bottom: 18px;
  width: 48px; height: 48px; border-radius: 14px; font-size: 28px;
}

/* Sur écran étroit, une image composée de texte devient
   illisible : on affiche les mêmes contacts en HTML natif. */
.contact-mobile-content { display: none; }

@media (max-width: 980px) {
  .contact-site-header { height: auto; }
  .contact-header-inner {
    padding: 12px 18px 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: space-between;
  }
  .contact-brand img { width: min(245px, 60vw); height: 58px; }
  .contact-language { margin-left: auto; min-width: 78px; height: 38px; }
  .contact-primary-nav {
    order: 3;
    width: 100%;
    margin-left: 0;
    justify-content: center;
    gap: 14px;
    overflow-x: auto;
    padding: 7px 0 9px;
    scrollbar-width: thin;
  }
  .contact-primary-nav a { font-size: 13px; }
  .contact-nav-current { padding: 11px 13px; }
  .contact-primary-nav > a:not(.contact-nav-current):first-child::after { bottom: -7px; }

  .contact-reference-page { display: block; padding: 28px 18px 42px; }
  .contact-reference-stage { display: none; }
  .contact-mobile-content {
    display: block;
    width: min(100%, 680px);
    margin: auto;
    color: #f8f5ff;
    font-family: Arial, Helvetica, sans-serif;
  }
  .contact-mobile-eyebrow {
    margin: 0 0 8px;
    color: #f6d172;
    font-size: 12px;
    letter-spacing: .17em;
    font-weight: 800;
    text-transform: uppercase;
  }
  .contact-mobile-content h1 {
    margin: 0 0 12px;
    font: 700 clamp(30px, 5vw, 45px)/1.12 Georgia, 'Times New Roman', serif;
  }
  .contact-mobile-intro { margin: 0 0 22px; color: #ded9f8; font-size: 16px; line-height: 1.55; }
  .contact-mobile-card {
    padding: 22px;
    margin-bottom: 14px;
    border: 1px solid rgba(156, 103, 240, .58);
    border-radius: 18px;
    background: linear-gradient(145deg, rgba(37, 30, 90, .98), rgba(15, 19, 55, .98));
    box-shadow: 0 12px 25px rgba(0, 0, 0, .14);
  }
  .contact-mobile-card h2 { margin: 0 0 10px; font-size: 20px; }
  .contact-mobile-card p { margin: 0 0 16px; color: #dad7ed; font-size: 14px; line-height: 1.5; }
  .contact-mobile-action {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 47px;
    padding: 12px 14px;
    border: 1px solid #69e4bd;
    border-radius: 12px;
    background: rgba(9, 71, 58, .42);
    color: #a8ffe2;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    overflow-wrap: anywhere;
    transition: background .15s ease, transform .15s ease;
  }
  .contact-mobile-action:hover, .contact-mobile-action:focus-visible {
    background: rgba(14, 116, 90, .64);
    transform: translateY(-2px);
  }
  .contact-mobile-email .contact-mobile-action {
    margin-top: 10px;
    border-color: #b77dff;
    background: rgba(81, 42, 138, .38);
    color: #f7edff;
  }
  .contact-site-footer { padding: 36px 24px 78px; }
  .contact-footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .contact-footer-brand { grid-column: 1 / -1; }
  .contact-footer-brand img { width: 230px; }
  .contact-back-to-top { right: 18px; bottom: 17px; }
}

@media (max-width: 580px) {
  .contact-header-inner { padding: 10px 12px 12px; }
  .contact-brand img { width: min(220px, 57vw); height: 54px; }
  .contact-primary-nav { justify-content: flex-start; gap: 13px; padding: 6px 2px 11px; }
  .contact-primary-nav a { font-size: 12px; }
  .contact-nav-current { padding: 10px 12px; }
  .contact-reference-page { padding: 25px 14px 32px; }
  .contact-mobile-card { padding: 18px; }
  .contact-site-footer { padding: 34px 20px 80px; }
  .contact-footer-inner { grid-template-columns: 1fr; gap: 26px; }
  .contact-footer-brand { grid-column: auto; }
  .contact-footer-links a, .contact-footer-help a { font-size: 14px; }
}

/* Footer repris de la page d'accueil : mêmes largeur, grille et proportions. */
.site-footer {
  position: relative;
  overflow: hidden;
  padding: 50px 0 0;
  background: linear-gradient(115deg, #10063f, #060b2b 53%, #0c1f59);
  color: #d3dfed;
}

.site-footer::before {
  position: absolute;
  top: -330px;
  right: -240px;
  width: 520px;
  height: 520px;
  border: 58px solid rgba(128, 78, 255, .28);
  border-radius: 50%;
  content: "";
}

.site-footer .page-shell {
  position: relative;
  width: min(1160px, calc(100% - 40px));
  margin: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr;
  gap: 55px;
}

.site-footer a { color: inherit; text-decoration: none; }
.site-footer .brand { display: inline-flex; align-items: center; color: #fff; }
.site-footer .brand-premium { gap: 0; line-height: 0; }
.site-footer .brand-premium-logo { display: block; width: auto; max-width: 350px; height: 68px; object-fit: contain; }
.site-footer p { max-width: 290px; margin: 25px 0 0; color: #a9c0dc; font-size: 13px; line-height: 1.5; }
.footer-grid > div:not(:first-child) { display: grid; align-content: start; gap: 7px; font-size: 13px; }
.footer-grid strong { color: #d9d0ff; font-size: 12px; letter-spacing: .09em; text-transform: uppercase; }
.footer-grid a:hover { color: #d6b7ff; }
.footer-bottom { margin-top: 37px; padding: 17px 0; border-top: 1px solid rgba(255,255,255,.12); color: #9fb5d0; font-size: 11px; }

@media (max-width: 880px) {
  .site-footer .page-shell { width: min(100% - 32px, 1160px); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 25px; }
}

@media (max-width: 620px) {
  .footer-grid { grid-template-columns: 1fr; gap: 25px; }
  .footer-bottom { margin-top: 28px; }
  .site-footer .brand-premium-logo { max-width: 280px; height: 56px; }
}

/* Sur la page Nous contacter, le bouton violet indique déjà la page active. */
.contact-primary-nav > a:not(.contact-nav-current):first-child { color: #c8c5e0; }
.contact-primary-nav > a:not(.contact-nav-current):first-child::after { display: none; }
