/* HB Metrics — feuille de style du site
   Couleurs : brand/branding/hb_metrics_tokens.css (charte officielle). */

:root {
  --hb-petrol:       #044E69;
  --hb-petrol-dark:  #002C40;
  --hb-petrol-700:   #013A53;
  --hb-petrol-500:   #006B96;
  --hb-gold:         #EFB702;
  --hb-orange:       #C86A2A;
  --hb-grey:         #A8A7AC;
  --hb-text:         #E2E8F0;
  --hb-text-muted:   #9FB8C4;
  --hb-border:       #0F4E6B;

  --font: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --radius: 10px;
  --max: 1080px;

  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--hb-petrol-dark);
  color: var(--hb-text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
}

a { color: var(--hb-gold); text-underline-offset: 3px; }
a:hover { color: #FFD24A; }
a:focus-visible, .btn:focus-visible { outline: 2px solid var(--hb-gold); outline-offset: 3px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }


/* En-tête */

.site-header { border-bottom: 1px solid var(--hb-border); }

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--hb-text);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: .04em;
}

.brand img { width: 36px; height: 36px; }

.nav { display: flex; gap: 20px; font-size: 15px; }
.nav a { color: var(--hb-text-muted); text-decoration: none; }
.nav a:hover { color: var(--hb-gold); }


/* Bandeau d'ouverture */

.hero {
  background:
    radial-gradient(1000px 500px at 85% -10%, rgba(239, 183, 2, .10), transparent 60%),
    linear-gradient(180deg, var(--hb-petrol) 0%, var(--hb-petrol-dark) 100%);
  padding: 72px 0 64px;
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 48px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--hb-gold);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 18px;
  font-size: clamp(32px, 5vw, 50px);
  line-height: 1.12;
  font-weight: 800;
  color: #FFFFFF;
}

h1 em { font-style: normal; color: var(--hb-gold); }

.lead { margin: 0 0 28px; max-width: 40em; font-size: 19px; color: var(--hb-text); }

.hero-logo { width: 260px; height: 260px; }

.actions { display: flex; flex-wrap: wrap; gap: 12px; }

.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  border: 2px solid var(--hb-gold);
}

.btn-primary { background: var(--hb-gold); color: var(--hb-petrol-dark); }
.btn-primary:hover { background: #FFC81F; color: var(--hb-petrol-dark); }
.btn-ghost { color: var(--hb-gold); }
.btn-ghost:hover { background: rgba(239, 183, 2, .10); }


/* Sections */

section { padding: 64px 0; }
section + section { border-top: 1px solid var(--hb-border); }

h2 {
  margin: 0 0 8px;
  font-size: clamp(24px, 3.2vw, 32px);
  line-height: 1.2;
  color: #FFFFFF;
}

.section-intro { margin: 0 0 32px; max-width: 46em; color: var(--hb-text-muted); }

h3 { margin: 0 0 8px; font-size: 19px; color: #FFFFFF; }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
}

.card {
  background: var(--hb-petrol-700);
  border: 1px solid var(--hb-border);
  border-top: 3px solid var(--hb-gold);
  border-radius: var(--radius);
  padding: 22px;
}

.card:nth-child(4n+2) { border-top-color: var(--hb-grey); }
.card:nth-child(4n+3) { border-top-color: var(--hb-orange); }
.card:nth-child(4n+4) { border-top-color: var(--hb-petrol-500); }

.card p { margin: 0; color: var(--hb-text-muted); font-size: 16px; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.points { margin: 0; padding: 0; list-style: none; }

.points li {
  position: relative;
  padding: 0 0 14px 28px;
  color: var(--hb-text);
}

.points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 12px;
  height: 12px;
  border-radius: 2px;
  background: var(--hb-gold);
}

.points strong { color: #FFFFFF; }

.quote {
  margin: 0;
  padding: 24px 28px;
  border-left: 4px solid var(--hb-gold);
  background: var(--hb-petrol-700);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 19px;
  color: #FFFFFF;
}

.quote p { margin: 0 0 10px; }
.quote p:last-child { margin: 0; }

.soon {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 10px;
  border: 1px solid var(--hb-gold);
  border-radius: 999px;
  color: var(--hb-gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  vertical-align: middle;
}

.contact-list { margin: 0; padding: 0; list-style: none; }
.contact-list li { margin-bottom: 8px; }
.contact-list span { display: inline-block; min-width: 100px; color: var(--hb-text-muted); }


/* Pied de page */

.site-footer {
  border-top: 1px solid var(--hb-border);
  padding: 28px 0 40px;
  color: var(--hb-text-muted);
  font-size: 14px;
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}

.site-footer a { color: var(--hb-text-muted); }


/* Téléphone */

@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav { display: none; }
  .hero { padding: 40px 0 48px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 24px; }
  .hero-logo { width: 140px; height: 140px; order: -1; }
  .lead { font-size: 17px; }
  section { padding: 44px 0; }
  .split { grid-template-columns: 1fr; gap: 28px; }
  .contact-list span { display: block; min-width: 0; }
}
