@import url("https://fonts.googleapis.com/css2?family=Hanken+Grotesk:ital,wght@0,100..900;1,100..900&display=swap");
:root {
  --color-main: #e63946;
  --color-main-h: #c12733;
  --hotspot-accent: var(--color-main-h);
  --text-color: #1a1a1a;
  --text-color-soft: #262424;
  --header-background: rgba(26, 26, 26, 1);
  --white: #ffffff;
  --bg-color-img: #d3d3d3;
  --ff-base: "Hanken Grotesk", sans-serif;
}
* {
  padding: 0px;
  margin: 0px;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: var(--ff-base);
}
/*HEADER*/
header {
  position: fixed;
  width: 100%;
  top: 0px;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--header-background);
}
header .logo {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;
  text-decoration: none;
}
header .informations {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}
header .informations a {
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}
header .informations a:not(.rdv) {
  color: var(--white);
}
header .informations a.rdv {
  align-items: center;
  border-radius: 3px;
  background-color: var(--color-main);
  box-sizing: border-box;
  color: var(--text-color);
  display: inline-flex;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: normal;
  padding: 0.5rem 0.75rem;
  position: relative;
  transition: background 0.3s;
  text-align: center;
  text-transform: uppercase;
  vertical-align: middle;
}
header .informations a.rdv:hover {
  background-color: var(--color-main-h);
}
header .informations a .icon {
  width: 14px;
  height: auto;
}
header .informations a .icon path {
  fill: var(--color-main);
  transition: all 0.3s ease-in-out;
}
header .informations a:hover .icon path {
  fill: var(--color-main-h);
}
header .informations .social {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}
header .informations .social a svg {
  width: 20px;
}
/*HEADER*/
/*FOOTER*/
footer {
  position: fixed;
  width: 100%;
  bottom: 0px;
  padding: 1rem 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--text-color-soft);
}
footer ul {
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
}
footer ul li {
  color: var(--white);
}
footer ul li a {
  text-decoration: none;
  color: var(--white);
  font-size: 0.9rem;
}
footer ul li:nth-child(2),
footer ul li:nth-child(3) {
  margin-left: 0.25rem;
}
footer ul li:nth-child(2)::before,
footer ul li:nth-child(3)::before {
  content: "-";
  margin-right: 0.25rem;
}
footer .hiceo {
  margin-left: 0.25rem;
  text-decoration: none;
  color: var(--white);
  font-size: 0.9rem;
}
footer .hiceo::before {
  content: "-";
  margin-right: 0.25rem;
}
footer .hiceo,
footer ul li a {
  transition: all 0.3s;
}
footer .hiceo:hover,
footer ul li a:hover {
  opacity: 0.7;
}
/*FOOTER*/
.main {
  width: 100%;
  height: calc(100% - 89px);
  display: flex;
  justify-content: center;
  align-items: center;
}
.main svg {
  width: 100%;
  height: 100%;
  background-color: var(--bg-color-img);
}
.main svg rect {
  pointer-events: none;
  filter: grayscale(1);
}
.main svg .hotspot {
  position: relative;
  fill: rgba(0, 0, 0, 0);
  stroke: rgba(0, 0, 0, 0);
  stroke-width: 18;
  pointer-events: visiblePainted;
  cursor: pointer;
}
/*BASELINE*/
.baseline-head {
  position: fixed;
  top: calc(84px + 14px);
  left: 14px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;
  opacity: 0.7;
}
.baseline-head span {
  font-size: 3.5vw;
  color: var(--text-color);
  font-family: var(--ff-base);
  font-weight: 600;
}
.baseline-head span.red {
  color: #e30815;
  font-family: Montserrat, Arial, sans-serif;
}
.baseline {
  position: fixed;
  right: 42px;
  bottom: calc(53px + 42px);
}
.baseline p span {
  font-size: 1.15rem;
  font-weight: 700;
}
.baseline p .blue {
  color: #22388e;
}
.baseline p .white {
  color: var(--white);
}
.baseline p .red {
  color: #e30815;
}
/*
* HOTSPOT TOOLTIP
*/
.hotspot-tooltip-line {
  stroke: var(--hotspot-accent, #ffcc00);
  stroke-width: 2;
  stroke-linecap: round;
  transition: opacity 0.2s ease, stroke-width 0.2s ease;
  pointer-events: none;
  opacity: 0;
}
.hotspot-tooltip-line.is-visible {
  opacity: 1;
  stroke-width: 4;
}
.hotspot-container {
  position: relative;
}

.hotspot-tooltip {
  position: absolute;
  transform: translate(-10px, -50%) scale(0.9);
  opacity: 0;
  z-index: -99;
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}
.hotspot-tooltip.is-visible {
  z-index: 99;
  pointer-events: all;
  opacity: 1;
  transform: translate(-10px, -50%) scale(1);
}
.hotspot-tooltip .hotspot-tooltip__inner {
  background: #ffffff;
  border-radius: 4px;
  padding: 12px 14px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.18);
  max-width: 260px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;
  gap: 6px;
}

.hotspot-tooltip .hotspot-tooltip__inner .hotspot-tooltip__title {
  font-size: 18px;
  font-weight: 600;
}

.hotspot-tooltip .hotspot-tooltip__inner .hotspot-tooltip__text {
  font-size: 14px;
}

.hotspot-tooltip .hotspot-tooltip__inner .hotspot-tooltip__btn {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 6px;
  padding: 8px 12px;
  font-size: 14px;
  border-radius: 3px;
  border: none;
  outline: none;
  cursor: pointer;
  background-color: var(--color-main);
  color: var(--text-color);
  transition: all 0.3s;
}

.hotspot-tooltip .hotspot-tooltip__inner .hotspot-tooltip__btn:hover {
  background-color: var(--color-main-h);
}

/*
* HOTSPOT
*/
.hotspot-dot {
  pointer-events: none;
}
.hotspot-dot .hotspot-dot__ring {
  fill: none;
  stroke: var(--hotspot-accent);
  stroke-width: 3;
  opacity: 0.7;
  animation: hotspotRing 1.5s ease-out infinite;
  -webkit-animation: hotspotRing 1.5s ease-out infinite;
  transform-origin: center;
  transform-box: fill-box;
}

.hotspot-dot .hotspot-dot__core {
  fill: var(--hotspot-accent);
  transform-origin: center;
  transform-box: fill-box;
  animation: hotspotDot 1.5s ease-out infinite;
}

@keyframes hotspotDot {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes hotspotRing {
  0% {
    transform: scale(0.1, 0.1);
    -webkit-transform: scale(0.1, 0.1);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: scale(1.2, 1.2);
    -webkit-transform: scale(1.2, 1.2);
    opacity: 0;
  }
}

/*
* HOTSPOT MODAL
*/
.hotspot-modal {
  position: fixed;
  inset: 0px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}
.hotspot-modal .hotspot-modal__backdrop {
  position: absolute;
  inset: 0px;
  background: rgba(15, 23, 42, 0.55);
}
.hotspot-modal .hotspot-modal__dialog {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  width: 90%;
  max-height: 80vh;
  background-color: var(--text-color);
  border-radius: 4px;
  padding: 50px 22px 20px 22px;
  box-shadow: 0px 18px 40px rgba(0, 0, 0, 0.32);
  overflow: auto;
}
.hotspot-modal .hotspot-modal__dialog .hotspot-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  border: none;
  outline: none;
  background: transparent;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  border: 2px solid var(--color-main);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 8px;
  border-radius: 50%;
  transition: all 0.3s;
}
.hotspot-modal .hotspot-modal__dialog .hotspot-modal__close:hover {
  background-color: var(--color-main);
}
.hotspot-modal .hotspot-modal__dialog .hotspot-modal__close .mark-icon {
  width: 16px;
  height: 16px;
}
.hotspot-modal .hotspot-modal__dialog .hotspot-modal__close .mark-icon path {
  fill: var(--white);
  transition: all 0.3s;
}
.hotspot-modal .hotspot-modal__dialog .hotspot-modal__body .title,
.hotspot-modal .hotspot-modal__dialog .hotspot-modal__body .text {
  color: var(--white);
}
.hotspot-modal .hotspot-modal__dialog .hotspot-modal__body .title {
  font-size: 34px;
  font-weight: 600;
}
.hotspot-modal .hotspot-modal__dialog .hotspot-modal__body .text {
  font-size: 18px;
  font-weight: 400;
}
.hotspot-modal .hotspot-modal__dialog .hotspot-modal__body .grid-image {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 10px;
}
.hotspot-modal .hotspot-modal__dialog .hotspot-modal__body .grid-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: top center;
}
.hotspot-modal
  .hotspot-modal__dialog
  .hotspot-modal__body
  .grid-image
  img:nth-child(1) {
  grid-area: 1 / 1 / 3 /3;
}

.hotspot-modal
  .hotspot-modal__dialog
  .hotspot-modal__body
  .grid-image
  img:nth-child(2) {
  grid-area: 3 / 1 / 5 / 2;
}
.hotspot-modal
  .hotspot-modal__dialog
  .hotspot-modal__body
  .grid-image
  img:nth-child(4) {
  grid-area: 3 / 2 / 5 / 3;
}
.hotspot-modal
  .hotspot-modal__dialog
  .hotspot-modal__body
  .grid-image
  img:nth-child(3) {
  grid-area: 1 / 3 / 5 / 4;
}
