/* Signature INTECH : logo volontairement plus présent, sans sacrifier la lisibilité mobile. */
.header .nav {
  min-height: 122px;
  height: 122px;
}

.header .logo {
  width: 255px;
  max-width: 46vw;
  height: auto;
}

.header .navlinks {
  gap: 14px;
  font-size: 0.88rem;
}

.admin-menu {
  position: relative;
  display: flex;
  align-items: center;
}

.admin-menu__trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 53px;
  padding: 25px 0;
  border: 0;
  border-bottom: 3px solid transparent;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}

.admin-menu__trigger:hover,
.admin-menu.open .admin-menu__trigger {
  border-bottom-color: var(--teal);
  color: var(--teal-dark);
}

.admin-menu__panel {
  position: absolute;
  z-index: 30;
  top: calc(100% + 9px);
  right: 0;
  min-width: 228px;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  box-shadow: var(--shadow);
}

.admin-menu__panel a {
  display: block;
  padding: 10px 12px !important;
  border: 0 !important;
  border-radius: 7px;
  line-height: 1.3;
  white-space: nowrap;
}

.admin-menu__panel a:hover,
.admin-menu__panel a:focus {
  background: #e6f8f6;
  color: var(--teal-dark);
}

.footer .logo {
  width: 205px !important;
  height: auto;
}

@media (max-width: 760px) {
  .header .nav {
    min-height: 90px;
    height: 90px;
  }

  .header .logo {
    width: 205px;
    max-width: 58vw;
  }

  .navlinks {
    top: 90px;
  }

  .admin-menu {
    display: block;
  }

  .admin-menu__trigger {
    width: 100%;
    justify-content: space-between;
    padding: 10px 0;
    border-width: 0 0 1px;
    border-radius: 0;
    text-align: left;
  }

  .admin-menu__panel {
    position: static;
    min-width: 0;
    margin: 6px 0 4px;
    padding: 4px;
    box-shadow: none;
  }

  .admin-menu__panel a {
    padding: 10px 12px !important;
  }
}

/* Sélecteur de langue — les versions EN et ES du site sont accessibles depuis chaque page. */
.langswitch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.langswitch a,
.langswitch__current {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  padding: 4px 8px;
  border-radius: 999px;
  border-bottom: 0;
}

.navlinks .langswitch a:not(.button) {
  padding: 4px 8px;
  border-bottom: 0;
}

.langswitch a {
  color: var(--muted);
}

.langswitch a:hover {
  color: var(--teal-dark);
  background: #e6f8f6;
}

.langswitch__current {
  background: var(--navy);
  color: #fff;
}

@media (max-width: 760px) {
  .langswitch {
    align-self: flex-start;
    margin: 6px 0 4px;
  }
}

/* Menu compact (☰) sur tablettes et petits portables : la barre complète ne tient pas sous 1366 px. */
@media (min-width: 761px) and (max-width: 1365px) {
  .menu-btn { display: block; }
  .header .navlinks { display: none; position: absolute; top: 122px; left: 0; right: 0; background: #fff; padding: 15px 20px 20px; box-shadow: var(--shadow); align-items: stretch; flex-direction: column; gap: 4px; font-size: 0.94rem; }
  .header .navlinks.open { display: flex; }
  .navlinks a:not(.button) { padding: 9px 0; }
  .admin-menu { display: block; }
  .admin-menu__trigger { width: 100%; justify-content: space-between; padding: 10px 0; border-width: 0 0 1px; border-radius: 0; text-align: left; }
  .admin-menu__panel { position: static; min-width: 0; margin: 6px 0 4px; padding: 4px; box-shadow: none; }
  .langswitch { align-self: flex-start; margin: 6px 0 4px; }
}

/* Bouton « Nous contacter » de l'en-tête : orange, texte blanc, sur toutes les pages (02/11/2026). */
.navlinks a.button,
.navlinks a.button[aria-current=page] { background: #c2410c; color: #fff; border: 0; white-space: nowrap; box-shadow: 0 6px 16px rgba(194, 65, 12, .28); }
.navlinks a.button:hover,
.navlinks a.button:focus-visible { background: #9a3412; color: #fff; }

/* Haut de l'accueil : bouclier, cadenas et cercle de contrôle (« sécurisée et maîtrisée »). */
.hero {
  background:
    url('../img/hero-securite.svg?v=20261102-2') no-repeat calc(100% + 180px) 50% / auto 112%,
    radial-gradient(circle at 72% 45%, #0f4a6e 0, rgba(15, 74, 110, 0) 45%),
    linear-gradient(115deg, #04172c 0%, #072f4d 100%);
}
@media (max-width: 900px) {
  .hero {
    background:
      linear-gradient(rgba(4, 23, 44, .8), rgba(4, 23, 44, .8)),
      url('../img/hero-securite.svg?v=20261102-2') no-repeat calc(100% + 260px) 50% / auto 90%,
      linear-gradient(115deg, #04172c 0%, #072f4d 100%);
  }
}

/* Prix DoliStore en promotion (assets/js/prix-dolistore.js, 06/11/2026) */
.dls-old { color: #6b7a8a; text-decoration: line-through; text-decoration-thickness: 2px; font-weight: 600; margin-right: .3em; }
.dls-new { color: #c2410c; font-weight: 800; }
.dls-pct { display: inline-block; background: #c2410c; color: #fff; border-radius: 999px; padding: .12em .6em; font-size: .78em; font-weight: 800; line-height: 1.4; vertical-align: .1em; white-space: nowrap; }
.dls-slogan { display: block; width: fit-content; margin: .55em 0 .7em; padding: .4em .85em; border-radius: 8px; background: linear-gradient(90deg, #111827 0%, #111827 55%, #c2410c 100%); color: #fff; font-size: .82rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; line-height: 1.3; }
