.g2da-hero,
.g2da-hero * { box-sizing: border-box; }

main .g2da-hero {
  --g2da-blue: #32beeb;
  margin: 0;
  padding: 0;
  background: #222;
  color: #fff;
  overflow: hidden;
  text-align: center;
  font: 16px/1.5 Roboto, Arial, sans-serif;
}

/* Impreza réserve la hauteur de l’en-tête fixe dans ses propres sections. */
body.header_hor.headerinpos_top .l-header.pos_fixed ~ main .g2da-hero {
  padding-top: var(--header-height, 0px);
}

.g2da-hero .g2da-hero-inner { width: min(1200px, calc(100% - 48px)); margin-inline: auto; padding: clamp(2rem, 5.7vw, 4.6rem) 0 clamp(2.8rem, 6vw, 5rem); }
.g2da-hero img { display: block; width: min(370px, 76%); height: auto; margin: 0 auto .65rem; }

.g2da-hero h1#g2da-title {
  color: #fff;
  font-family: inherit;
  font-size: clamp(2.05rem,4.2vw,3.8rem);
  font-weight: 700;
  max-width: 980px;
  margin: 0 auto .6rem;
  line-height: 1.07;
  letter-spacing: -.025em;
  text-wrap: balance;
}

.g2da-hero p { color: #dedede; font-size: clamp(1.08rem, 2.15vw, 1.5rem); margin: 0 auto; text-wrap: balance; }
.g2da-hero p.g2da-slogan { margin: .85rem auto 0; color: var(--g2da-blue); font-size: clamp(1rem, 2vw, 1.25rem); font-weight: 650; }
.g2da-hero .g2da-links { display: flex; gap: .9rem; flex-wrap: wrap; justify-content: center; margin: 1.65rem auto 0; }

.g2da-hero a.g2da-button {
  display: inline-flex;
  min-height: 48px;
  gap: .6rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--g2da-blue);
  border-radius: 6px;
  padding: .72rem 1.1rem;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
}

.g2da-hero a.g2da-models { background: var(--g2da-blue); color: #10232b; }
.g2da-hero a.g2da-models:hover { background: #70d9f9; color: #10232b; }
.g2da-hero a.g2da-project { color: #fff; background: transparent; }
.g2da-hero a.g2da-project:hover { color: #fff; background: #173944; }
.g2da-hero a:focus-visible { outline: 3px solid var(--g2da-blue); outline-offset: 4px; }

.g2da-anchor { display: block; height: 0; scroll-margin-top: var(--header-sticky-height, 100px); }

@media (max-width: 540px) {
  .g2da-hero .g2da-hero-inner { width: calc(100% - 32px); }
  .g2da-hero .g2da-links { display: grid; grid-template-columns: 1fr; max-width: 340px; gap: .65rem; margin-top: 1.3rem; }
  .g2da-hero a.g2da-button { width: 100%; }
}
