/* Home en flux Bootstrap 4 (live_map.html), sans le CSS Webflow : la grille
   et les utilitaires Bootstrap portent la mise en page, ce fichier ne porte que
   l'habillage repris de la maquette (couleurs, polices, tailles, espacements).
   Aucun decalage top/left : tout espacement est une marge ou un padding, pour
   que le contenu reste dans le flux en responsive. */

:root {
  --hbs-dark: #003264;       /* bleu fonce CSEM */
  --hbs-blue: #00a1e5;
  --hbs-green: #bfd100;      /* vert CSEM */
  --hbs-gray: #878787;       /* gris CSEM */
  --hbs-bg-gray: #f5f7fa;
  --hbs-bg-light: #f9fafb;
  --hbs-border: #e4ebf3;
  --hbs-text-muted: #475467;
  --hbs-font: Arial, "Helvetica Neue", Helvetica, sans-serif;
  --hbs-font-display: Montserrat, sans-serif;
}

body {
  color: #000;
  font-family: var(--hbs-font);
  line-height: 1.5;
}

a {
  color: var(--hbs-blue);
}

.hbs-dark { color: var(--hbs-dark); }
.hbs-blue { color: var(--hbs-blue); }
.hbs-green { color: var(--hbs-green); }

/* Largeurs de la maquette. Les max-width incluent les 15px de padding du
   .container Bootstrap, pour que le contenu ait la largeur de la maquette. */
.hbs-narrow {
  max-width: 750px;
}

@media (min-width: 768px) {
  /* texte de 630px : 750px moins les 60px de padding de chaque cote */
  .hbs-narrow {
    padding-left: 60px;
    padding-right: 60px;
  }
}

.hbs-w-940 {
  max-width: 970px;
}

.hbs-w-1160 {
  width: calc(90% + 30px);
  max-width: 1190px;
}

.hbs-w-1160-cta {
  width: calc(85% + 30px);
  max-width: 1190px;
}

.hbs-section {
  padding-top: 100px;
  padding-bottom: 100px;
}

.hbs-section-title {
  margin-bottom: 64px;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
}

/* Boutons ---------------------------------------------------------------- */

.hbs-btn {
  display: inline-block;
  border: 1px solid transparent;
  border-radius: 5px;
  padding: 10px 25px 12px;
  font-size: 12px;
  line-height: 20px;
  font-weight: 700;
  letter-spacing: 2px;
  text-align: center;
  text-transform: uppercase;
  transition: all .2s;
}

.hbs-btn:hover {
  text-decoration: none;
}

.hbs-btn-blue {
  background-color: var(--hbs-blue);
  color: #fff;
}

.hbs-btn-blue:hover {
  background-color: #32343a;
  color: #fff;
}

.hbs-btn-outline {
  border-color: var(--hbs-blue);
  color: var(--hbs-blue);
}

.hbs-btn-outline:hover {
  background-color: #1a1b1f;
  color: #fff;
}

.hbs-btn-green {
  background-color: var(--hbs-green);
  border-color: var(--hbs-green);
  color: #fff;
}

.hbs-btn-green:hover {
  color: #fff;
  filter: brightness(.92);
}

.hbs-btn-green-outline {
  border-color: var(--hbs-green);
  color: var(--hbs-gray);
}

.hbs-btn-green-outline:hover {
  background-color: var(--hbs-green);
  color: #fff;
}

.hbs-btn-large {
  border-radius: .5rem;
  padding: 1rem 1.75rem;
  font-size: 1.125rem;
  line-height: 1.5;
  letter-spacing: normal;
  text-transform: none;
}

/* Navbar ----------------------------------------------------------------- */

.hbs-nav {
  padding: 10px 0;
}

/* Comme .cf-navbar-shadow dans la maquette : l'ombre est un halo flou et plus
   etroit, derriere la barre. Posee sur la barre elle-meme, elle dessinait tout
   le contour de la pilule. */
.hbs-nav::before {
  content: "";
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 0;
  right: 0;
  width: 95%;
  max-width: 1100px;
  margin: 0 auto;
  border-radius: 100px;
  background-color: #67666d0f;
  box-shadow: 0 4px 100px #0000001a;
  filter: blur(10px);
}

.hbs-nav-bar {
  position: relative;
  z-index: 1;
  width: 95%;
  max-width: 1340px;
  background-color: #fff;
  border-radius: 100px;
  padding: 10px 2%;
}

/* sans le padding Bootstrap, la barre fait 100px de logo + 2 x 10px */
.hbs-nav .navbar-brand {
  padding: 0;
}

.hbs-nav .navbar-brand img {
  object-fit: contain;
}

.hbs-nav.navbar-light .navbar-nav .nav-link {
  color: var(--hbs-dark);
  font-size: 16px;
  line-height: 28px;
}

@media (min-width: 992px) {
  .hbs-nav .navbar-nav .nav-link {
    padding: 26px 20px;
  }
}

/* Maquette : violet sur les liens du menu, corail sur Log In (.cf-nav-3-link),
   qui est aussi plus grand. */
.hbs-nav.navbar-light .navbar-nav .nav-link {
  transition: color .2s;
}

.hbs-nav.navbar-light .navbar-nav .nav-link:hover {
  color: #b16cea;
}

.hbs-nav.navbar-light .navbar-nav .hbs-nav-login {
  font-size: 18px;
  font-weight: 500;
}

.hbs-nav.navbar-light .navbar-nav .hbs-nav-login:hover {
  color: #ff5e69;
}

@media (max-width: 991.98px) {
  /* menu deplie : la pilule ne peut plus contenir une colonne de liens */
  .hbs-nav-bar {
    border-radius: 20px;
  }
}

/* Accroche --------------------------------------------------------------- */

.hbs-hero {
  padding-top: 90px;
  padding-bottom: 50px;
}

.hbs-hero-title {
  margin-bottom: 40px;
  color: var(--hbs-blue);
  font-size: 4rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -1px;
}

.hbs-hero-text {
  margin-bottom: 1rem;
}

@media (max-width: 767.98px) {
  .hbs-hero {
    padding-top: 50px;
  }

  .hbs-hero-title {
    font-size: 2.5rem;
  }
}

/* Carte + graphe --------------------------------------------------------- */

.hbs-forecast {
  margin-bottom: 64px;
}

.hbs-forecast form {
  margin-bottom: 8px;
}

.without_asterisk .asteriskField {
  display: none;
}

/* Offre et pricing, sur fond gris ---------------------------------------- */

.hbs-gray {
  background-color: var(--hbs-bg-gray);
  border-bottom: 1px solid var(--hbs-border);
  padding-top: 60px;
  padding-bottom: 93px;
}

.hbs-offer-title {
  margin-bottom: 1rem;
  color: var(--hbs-gray);
  font-size: 1rem;
  font-weight: 700;
}

.hbs-pricing {
  margin-top: 60px;
}

.hbs-pricing .hbs-section-title {
  margin-bottom: 50px;
  text-transform: uppercase;
}

.hbs-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin-bottom: 30px;
  padding: 32px 24px 20px;
  background-color: #fff;
  box-shadow: 0 4px 130px #96a3b51f;
}

.hbs-card-featured {
  box-shadow: 0 4px 130px #96a3b54d;
}

.hbs-card-icon {
  width: 30px;
  height: 30px;
  margin-bottom: 16px;
}

.hbs-card-title {
  margin: 10px 0 8px;
  color: var(--hbs-dark);
  font-size: 25px;
  font-weight: 700;
  line-height: 30px;
  text-align: center;
  text-transform: uppercase;
}

.hbs-card-text {
  margin: 15px 0 0;
  font-size: 14px;
  line-height: 20px;
  text-align: center;
}

.hbs-card-divider {
  align-self: stretch;
  margin: 16px -24px 0;
  border-top: 1px solid #76879d1a;
}

.hbs-features {
  align-self: stretch;
  margin: 4px 0 20px;
  padding-left: 0;
  list-style: none;
}

.hbs-features li {
  margin-top: 16px;
  padding-left: 32px;
  font-size: 14px;
  line-height: 24px;
  background: url("../images/check-circle.svg") no-repeat 0 0;
}

.hbs-card .hbs-btn {
  margin-top: auto;
}

/* Etagement voulu par la maquette : cartes centrees verticalement dans la
   rangee, la C descendue de 140px. Sur une colonne, il ne ferait qu'un trou. */
@media (min-width: 992px) {
  .hbs-card-offset {
    margin-top: 140px;
  }
}

/* Onglets « What DIGERATI provides » ------------------------------------- */

.hbs-tabs {
  margin-bottom: 40px;
}

.hbs-tab {
  display: flex;
  align-items: center;
  margin: 10px 0;
  color: var(--hbs-dark);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  opacity: .3;
  transition: opacity .2s;
}

.hbs-tab:hover {
  color: var(--hbs-dark);
  text-decoration: none;
  opacity: .6;
}

.hbs-tab.active {
  opacity: 1;
}

.hbs-tab img {
  flex: none;
  width: 32px;
  margin-right: 16px;
}

.hbs-pane-title {
  margin-bottom: 32px;
  color: var(--hbs-green);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.25;
}

.hbs-pane-text {
  color: #000c;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.6;
}

.hbs-pointers {
  margin-top: 40px;
  padding-left: 0;
  list-style: none;
}

.hbs-pointers li {
  margin-bottom: 16px;
  padding-left: 44px;
  min-height: 28px;
  color: #000c;
  font-size: 18px;
  font-weight: 500;
  line-height: 28px;
  background: url("../images/CheckCircle.svg") no-repeat 0 0 / 28px 28px;
}

@media (max-width: 767.98px) {
  .hbs-tab,
  .hbs-pane-text,
  .hbs-pointers li {
    font-size: 16px;
  }

  .hbs-pane-title {
    font-size: 20px;
  }
}

/* Recherche et CTA ------------------------------------------------------- */

.hbs-light {
  background-color: var(--hbs-bg-light);
  overflow: hidden;
}

.hbs-research {
  max-width: 48rem;
  padding-top: 7rem;
}

.hbs-research-title {
  font-size: 3.75rem;
  font-weight: 600;
  line-height: 1.2;
}

.hbs-research-image {
  width: 100%;
  margin: 4rem 0 1.5rem;
}

.hbs-research-text {
  margin-bottom: 3rem;
  color: var(--hbs-text-muted);
}

/* Les 162px sont une marge : les ronds se placent en % d'une boite qui
   commence au titre, comme dans la maquette. */
.hbs-cta {
  position: relative;
  margin-top: 162px;
  padding-bottom: 200px;
}

.hbs-cta-title {
  margin: 0 auto 24px;
  max-width: 800px;
  color: var(--hbs-gray);
  font-family: var(--hbs-font-display);
  font-size: 72px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -1.5px;
}

.hbs-cta-text {
  margin-bottom: 40px;
  font-size: 24px;
  line-height: 1.4;
}

.hbs-bubble {
  position: absolute;
  border-radius: 50%;
  object-fit: cover;
}

.hbs-bubble-1 { width: 52px;  height: 52px;  top: 20%;  left: 3%; }
.hbs-bubble-2 { width: 60px;  height: 60px;  top: 50%;  left: -1%; }
.hbs-bubble-3 { width: 76px;  height: 76px;  bottom: 18%; left: 8%; }
.hbs-bubble-4 { width: 76px;  height: 76px;  top: 22%;  right: -2%; }
.hbs-bubble-5 { width: 120px; height: 120px; bottom: 15%; right: 6%; }

@media (max-width: 991.98px) {
  .hbs-research-title {
    font-size: 3.25rem;
  }

  .hbs-cta-title {
    font-size: 64px;
  }

  .hbs-cta-text {
    font-size: 22px;
  }
}

@media (max-width: 767.98px) {
  .hbs-research {
    padding-top: 4rem;
  }

  .hbs-research-title {
    font-size: 2.25rem;
  }

  .hbs-cta {
    margin-top: 100px;
    padding-bottom: 100px;
  }

  .hbs-cta-title {
    font-size: 40px;
    line-height: 1.1;
  }

  .hbs-cta-text {
    font-size: 18px;
  }

  .hbs-btn-large {
    display: block;
  }

  .hbs-bubble {
    display: none;
  }
}

/* Pied de page ----------------------------------------------------------- */

.hbs-footer {
  padding: .5rem 0;
  border-bottom: 1px solid #d0d5dd;
  background-color: #fff;
}

.hbs-footer strong {
  margin-right: .375rem;
  color: var(--hbs-gray);
}

.hbs-footer a {
  margin: 0 .25rem;
  color: var(--hbs-text-muted);
  font-weight: 700;
  text-decoration: underline;
}
