/* Infra Home - charte graphique v1.0 */
:root {
  --orange: #FA3907;
  --orange-fonce: #D92E00;
  --noir: #000000;
  --charbon: #1A1A1A;
  --gris: #6B6B6B;
  --bois: #E9D9BF;
  --blanc: #FFFFFF;
  --fond: #F7F4EF;

  --titre: "Montserrat", system-ui, sans-serif;
  --texte: "Lato", system-ui, sans-serif;
  --script: "Allura", cursive;

  --rayon: 14px;
  --largeur: 1120px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--texte);
  font-size: 17px;
  line-height: 1.6;
  color: var(--charbon);
  background: var(--fond);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }

/* ---------- En-tête ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(120% 80% at 85% 0%, rgba(250, 57, 7, .22), transparent 60%),
    var(--noir);
  color: var(--blanc);
  text-align: center;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 4px;
  background: var(--orange);
}
.hero__inner {
  max-width: var(--largeur);
  margin: 0 auto;
  padding: clamp(48px, 9vw, 96px) 16px clamp(56px, 9vw, 104px);
}
.hero__logo {
  width: min(420px, 78vw);
  margin: 0 auto;
}
.hero__kicker {
  margin: 28px 0 0;
  font-family: var(--titre);
  font-weight: 500;
  font-size: clamp(12px, 1.6vw, 15px);
  letter-spacing: .32em;
  text-transform: uppercase;
}
.hero__kicker strong { color: var(--orange); font-weight: 800; }
.hero__title {
  margin: 40px 0 0;
  font-family: var(--titre);
  font-weight: 900;
  font-size: clamp(34px, 6vw, 60px);
  line-height: 1.05;
  letter-spacing: -.01em;
}
.hero__title span { color: var(--orange); }
.hero__lead {
  max-width: 34em;
  margin: 18px auto 0;
  font-size: clamp(16px, 2vw, 19px);
  font-weight: 300;
  color: rgba(255, 255, 255, .82);
}
.hero__scroll {
  display: inline-block;
  margin-top: 32px;
  padding-bottom: 4px;
  font-family: var(--titre);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .2em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 2px solid var(--orange);
  transition: color .2s;
}
.hero__scroll:hover { color: var(--orange); }

/* ---------- Catalogues ---------- */
.catalogues {
  max-width: var(--largeur);
  margin: 0 auto;
  padding: clamp(48px, 8vw, 88px) 16px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 32px;
}
.card {
  display: flex;
  flex-direction: column;
  background: var(--blanc);
  border-radius: var(--rayon);
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .05), 0 12px 32px -12px rgba(0, 0, 0, .18);
  transition: transform .25s, box-shadow .25s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .05), 0 20px 40px -14px rgba(0, 0, 0, .28);
}
.card__cover {
  position: relative;
  display: block;
  aspect-ratio: 3 / 2;
  background: linear-gradient(160deg, var(--bois), #d9c4a2);
}
.card__cover img {
  position: absolute;
  inset: 24px;
  width: calc(100% - 48px);
  height: calc(100% - 48px);
  object-fit: contain;
  filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .35));
}
.card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 28px 28px 32px;
}
.card__tag {
  margin: 0;
  font-family: var(--titre);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--orange);
}
.card__title {
  margin: 8px 0 0;
  font-family: var(--titre);
  font-weight: 800;
  font-size: clamp(24px, 3vw, 30px);
  line-height: 1.15;
}
.card__text { margin: 12px 0 0; color: var(--gris); }
.card__meta {
  margin: 16px 0 0;
  font-size: 14px;
  color: var(--gris);
}
.card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: auto;
  padding-top: 24px;
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  font-family: var(--titre);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn svg {
  width: 20px; height: 20px;
  fill: none; stroke: currentColor; stroke-width: 2.2;
  stroke-linecap: round; stroke-linejoin: round;
}
.btn--primary { background: var(--orange); color: var(--blanc); }
.btn--primary:hover { background: var(--orange-fonce); }
.btn--ghost { border: 2px solid var(--charbon); color: var(--charbon); }
.btn--ghost:hover { background: var(--charbon); color: var(--blanc); }
.btn:focus-visible, .hero__scroll:focus-visible, .contact a:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}

/* ---------- Contact ---------- */
.contact { background: var(--noir); color: var(--blanc); }
.contact__inner {
  max-width: var(--largeur);
  margin: 0 auto;
  padding: clamp(48px, 8vw, 80px) 16px;
  text-align: center;
}
.contact__title {
  margin: 0;
  font-family: var(--titre);
  font-weight: 800;
  font-size: clamp(26px, 4vw, 38px);
}
.contact__lead { margin: 10px 0 0; color: rgba(255, 255, 255, .75); font-weight: 300; }
.contact__list {
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px 48px;
}
.contact__list a {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 18px;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: color .2s;
}
.contact__list a:hover { color: var(--orange); }
.contact__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  border: 2px solid var(--orange);
  border-radius: 50%;
  color: var(--orange);
}
.contact__icon svg {
  width: 22px; height: 22px;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- Pied de page ---------- */
.footer {
  padding: 40px 16px 32px;
  text-align: center;
  background: var(--noir);
  color: var(--blanc);
  border-top: 1px solid rgba(255, 255, 255, .12);
}
.footer__signature {
  margin: 0;
  font-family: var(--script);
  font-size: clamp(30px, 5vw, 46px);
  line-height: 1.2;
}
.footer__legal {
  margin: 20px 0 0;
  font-size: 13px;
  color: rgba(255, 255, 255, .5);
}

@media (max-width: 480px) {
  .card__body { padding: 24px 20px 28px; }
  .card__actions .btn { flex: 1; }
  .contact__list { flex-direction: column; align-items: flex-start; max-width: 340px; margin-inline: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card, .card:hover { transition: none; transform: none; }
}
