/* ============================================================
   SIFEM — Design system
   NOTE (étape 3 à faire): couleurs, police et comportements de
   carrousel exacts non extractibles à distance. Choix professionnel
   par défaut ci-dessous, à valider contre le site réel.
   ============================================================ */

:root {
  /* Couleurs — palette "acier & sécurité industrielle" */
  --navy-900: #0a1e30;
  --navy-800: #0f2c47;
  --navy-700: #163e63;
  --steel-600: #4c5f72;
  --steel-400: #8497a8;
  --steel-200: #d7dee5;
  --gray-50: #f3f5f7;
  --white: #ffffff;
  --red-600: #C8102E; /* Rouge officiel SIFEM (approximation à confirmer visuellement sur le logo réel — voir note en tête de fichier) */
  --red-700: #A50D25;
  --ink: #14212e;

  /* Typo */
  --font-display: "Oswald", "Arial Narrow", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;

  /* Échelle */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.5rem;
  --space-5: 4rem;
  --space-6: 6rem;
  --radius: 2px;
  --shadow-card: 0 8px 24px rgba(10, 30, 48, 0.08);
  --container: 1200px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; letter-spacing: 0.02em; }
p { margin: 0 0 1rem; }
:focus-visible { outline: 3px solid var(--red-600); outline-offset: 2px; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-3);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.8rem;
  color: var(--red-600);
  margin-bottom: var(--space-2);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--red-600);
}

.section { padding: var(--space-6) 0; }
.section--alt { background: var(--gray-50); }
.section-head { max-width: 720px; margin-bottom: var(--space-4); }
.section-head h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  text-transform: uppercase;
  color: var(--navy-800);
}
.section-head--center { max-width: 640px; margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 1.8rem;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.9rem;
  border: 2px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--red-600); color: var(--white); }
.btn--primary:hover { background: var(--red-700); }
.btn--ghost { border-color: var(--white); color: var(--white); }
.btn--ghost:hover { background: var(--white); color: var(--navy-900); }
.btn--dark { border-color: var(--navy-800); color: var(--navy-800); }
.btn--dark:hover { background: var(--navy-800); color: var(--white); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy-900);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 92px;
  padding-top: 10px;
  padding-bottom: 10px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.brand img {
  height: 76px;
  width: auto;
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span { width: 26px; height: 2px; background: var(--white); display: block; }

.main-nav ul { display: flex; gap: var(--space-4); }
.main-nav a {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  color: var(--steel-200);
  padding: 0.5rem 0;
  position: relative;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -4px;
  width: 0; height: 2px;
  background: var(--red-600);
  transition: width 0.2s ease;
}
.main-nav a:hover,
.main-nav a[aria-current="page"] { color: var(--white); }
.main-nav a:hover::after,
.main-nav a[aria-current="page"]::after { width: 100%; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(180deg, rgba(10,30,48,0.55) 0%, rgba(10,30,48,0.85) 100%), url("../img/sifem.jpg") center/cover no-repeat;
  color: var(--white);
}
/* Image de fond confirmée par le client depuis le fichier réel du site officiel :
   ../img/sifem.jpg (1920×680).
   Référencée directement en URL distante (comme les autres visuels du projet) —
   le fichier n'a pas pu être téléchargé et réencodé localement en raison des
   restrictions réseau de l'environnement de génération, mais le navigateur du
   visiteur le charge directement depuis sifem.tn au rendu de la page. */
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  padding: var(--space-6) 0;
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero .eyebrow { justify-content: center; }
.hero h1 {
  font-size: clamp(2.2rem, 5.5vw, 4.2rem);
  text-transform: uppercase;
  line-height: 1.15;
  margin-bottom: var(--space-3);
}
.hero p.lede {
  font-size: 1.15rem;
  color: var(--steel-200);
  margin: 0 auto var(--space-4);
  max-width: 560px;
}
.hero-actions { display: flex; gap: var(--space-2); flex-wrap: wrap; justify-content: center; }

.page-hero {
  background: var(--navy-900);
  color: var(--white);
  padding: var(--space-5) 0 var(--space-4);
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute; right: -60px; top: -60px;
  width: 220px; height: 220px;
  border: 2px solid rgba(200,16,46,0.3);
  transform: rotate(15deg);
}
.page-hero h1 { text-transform: uppercase; font-size: clamp(1.8rem, 4vw, 3rem); }
.breadcrumb { color: var(--steel-400); font-size: 0.85rem; margin-bottom: var(--space-2); }
.breadcrumb a { color: var(--steel-200); }
.breadcrumb a:hover { color: var(--red-600); }

/* ---------- Piliers (Étude / Conception / Fabrication) ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3); }
.pillar {
  background: var(--white);
  border: 1px solid var(--steel-200);
  border-top: 3px solid var(--red-600);
  padding: var(--space-3);
  box-shadow: var(--shadow-card);
}
.pillar .pillar-num {
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--steel-400);
  letter-spacing: 0.1em;
}
.pillar h3 {
  font-size: 1.3rem;
  color: var(--navy-800);
  margin: 0.4rem 0 0.6rem;
  text-transform: uppercase;
}
.pillar p { color: var(--steel-600); margin: 0; }

/* ---------- Mission / texte + liste ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-5);
  align-items: center;
}
.split.reverse .split-media { order: 2; }
.checklist li {
  display: flex;
  gap: 0.8rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--steel-200);
  color: var(--steel-600);
}
.checklist li:last-child { border-bottom: none; }
.checklist li::before {
  content: "";
  flex: 0 0 auto;
  width: 10px; height: 10px;
  margin-top: 6px;
  background: var(--red-600);
  border-radius: 50%;
}

/* ---------- Carrousel / galerie annotée type "plan technique" ---------- */
.frame {
  position: relative;
  border: 1px solid var(--steel-200);
  padding: 8px;
  background: var(--white);
  box-shadow: var(--shadow-card);
}
.frame::before, .frame::after,
.frame .corner-tl, .frame .corner-br { display: none; }
.frame img { width: 100%; height: 100%; object-fit: cover; }

.carousel { position: relative; overflow: hidden; }
.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}
.carousel-slide { flex: 0 0 100%; position: relative; }
.carousel-slide img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.carousel-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(0deg, rgba(10,30,48,0.9), transparent);
  color: var(--white);
  padding: var(--space-3) var(--space-2) var(--space-2);
  font-size: 0.95rem;
}
.carousel-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(10,30,48,0.75);
  color: var(--white);
  border: none;
  width: 42px; height: 42px;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.2rem;
}
.carousel-nav:hover { background: var(--red-600); }
.carousel-nav--prev { left: 0; }
.carousel-nav--next { right: 0; }
.carousel-dots { display: flex; gap: 8px; justify-content: center; margin-top: var(--space-2); }
.carousel-dots button {
  width: 10px; height: 10px; border-radius: 50%;
  border: none; background: var(--steel-200); cursor: pointer;
}
.carousel-dots button[aria-current="true"] { background: var(--red-600); }

/* ---------- Galerie grille ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-2);
}
.gallery-grid .frame img { aspect-ratio: 4/3; }
.gallery-grid--3 { grid-template-columns: repeat(3, 1fr); }

/* ---------- Listes à puces "domaines" ---------- */
.tag-list { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.tag-list li {
  border: 1px solid var(--steel-200);
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  color: var(--navy-800);
  background: var(--white);
}

/* ---------- CTA devis ---------- */
.cta-band {
  background: var(--navy-800);
  color: var(--white);
  padding: var(--space-5) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute; inset: 0;
  background-image: linear-gradient(90deg, rgba(200,16,46,0.15) 1px, transparent 1px);
  background-size: 60px 100%;
}
.cta-band h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); text-transform: uppercase; margin-bottom: 0.6rem; }
.cta-band p { color: var(--steel-200); margin-bottom: var(--space-3); }

/* ---------- Expertise cards ---------- */
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}
.expertise-card { padding: var(--space-3) 0; }
.expertise-card img { width: 52px; height: 52px; margin-bottom: var(--space-2); }
.expertise-card h3 {
  font-size: 1.15rem;
  color: var(--navy-800);
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}
.expertise-card p { color: var(--steel-600); font-size: 0.95rem; }

/* ---------- Savoir-faire (page Présentation) ---------- */
.criteria-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3); }
.criteria-grid .card {
  background: var(--white);
  border: 1px solid var(--steel-200);
  padding: var(--space-3);
}
.criteria-grid .card h4 {
  color: var(--red-600);
  text-transform: uppercase;
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}
.skill-block { margin-bottom: var(--space-5); }
.skill-block h3 {
  font-size: 1.6rem;
  color: var(--navy-800);
  text-transform: uppercase;
  border-bottom: 2px solid var(--steel-200);
  padding-bottom: 0.6rem;
  margin-bottom: var(--space-3);
}
.skill-block h4 { font-size: 1.1rem; color: var(--navy-800); margin-bottom: 0.5rem; }

/* ---------- Produits ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}
.product-card {
  background: var(--white);
  border: 1px solid var(--steel-200);
  box-shadow: var(--shadow-card);
}
.product-card .frame {
  border: none;
  padding: 0;
  background: var(--gray-50);
  overflow: hidden;
}
.product-card img {
  aspect-ratio: 4/3;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.product-card-body { padding: var(--space-2) var(--space-2) var(--space-3); }
.product-card-body span {
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--red-600);
  text-transform: uppercase;
}
.product-card-body h3 {
  font-size: 1.05rem;
  color: var(--navy-800);
  margin-top: 0.3rem;
  text-transform: none;
  font-family: var(--font-body);
  font-weight: 600;
}

/* ---------- Références / logos ---------- */
.logo-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-3);
  align-items: center;
}
.logo-strip .logo-card {
  border: 1px solid var(--steel-200);
  background: var(--white);
  padding: var(--space-3);
  display: flex; align-items: center; justify-content: center;
  min-height: 140px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.logo-strip .logo-card:hover { box-shadow: var(--shadow-card); transform: translateY(-2px); }
.logo-strip img { max-height: 76px; width: auto; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-5);
  align-items: start;
}
.contact-form { display: grid; gap: var(--space-2); }
.field label {
  display: block;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: var(--navy-800);
  margin-bottom: 0.4rem;
}
.field input, .field textarea {
  width: 100%;
  border: 1px solid var(--steel-200);
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--gray-50);
}
.field input:focus, .field textarea:focus { background: var(--white); }
.form-status { font-size: 0.9rem; color: var(--steel-600); }
.form-status[data-state="success"] { color: #1a7a3c; }

.contact-info { background: var(--navy-900); color: var(--white); padding: var(--space-4); }
.contact-info h3 { text-transform: uppercase; margin-bottom: var(--space-3); font-size: 1.2rem; }
.contact-info ul li { display: flex; gap: 0.8rem; padding: 0.7rem 0; border-bottom: 1px solid rgba(255,255,255,0.1); color: var(--steel-200); font-size: 0.95rem; }
.contact-info ul li strong { color: var(--white); display: block; font-family: var(--font-display); text-transform: uppercase; font-size: 0.75rem; letter-spacing: 0.08em; margin-bottom: 0.2rem; }
.contact-info ul li:last-child { border-bottom: none; padding-bottom: 0; }

/* ---------- WhatsApp float ---------- */
.whatsapp-float {
  position: fixed;
  right: 22px; bottom: 22px;
  width: 56px; height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
  z-index: 200;
}
.whatsapp-float svg { width: 28px; height: 28px; fill: var(--white); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-900);
  color: var(--steel-200);
  padding: var(--space-5) 0 var(--space-3);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: var(--space-4);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .logo-box {
  display: inline-block;
  margin-bottom: var(--space-2);
}
.footer-brand img {
  height: 68px;
  width: auto;
  display: block;
}
.footer-brand p { color: var(--steel-400); font-size: 0.9rem; }
.footer-col h4 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  margin-bottom: var(--space-2);
  color: var(--white);
}
.footer-col ul li { padding: 0.35rem 0; }
.footer-col a:hover { color: var(--red-600); }
.footer-bottom {
  padding-top: var(--space-3);
  display: flex;
  justify-content: center;
  text-align: center;
  font-size: 0.85rem;
  color: var(--steel-400);
  flex-wrap: wrap;
  gap: 0.6rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .pillars, .expertise-grid, .criteria-grid, .product-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid, .gallery-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .logo-strip { grid-template-columns: repeat(3, 1fr); }
  .split, .contact-grid { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: absolute;
    top: 78px; left: 0; right: 0;
    background: var(--navy-900);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .main-nav.is-open { max-height: 320px; }
  .main-nav ul { flex-direction: column; gap: 0; padding: var(--space-2) var(--space-3); }
  .main-nav a { display: block; padding: 0.9rem 0; }
  .pillars, .expertise-grid, .criteria-grid, .product-grid,
  .gallery-grid, .gallery-grid--3, .logo-strip { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .hero { min-height: 90vh; }
}

/* ============================================================

/* ============================================================

/* ============================================================

/* ============================================================

/* ============================================================

/* ============================================================

/* ============================================================

/* ============================================================

/* ============================================================

/* ============================================================

/* ============================================================

/* ============================================================
   SIFEM — patch v2 (corrections 27/07/2026)
   ============================================================ */

/* Fix : le pseudo-élément ::before des CTA bands bloquait les clics */
.cta-band::before { pointer-events: none; }
.page-hero::after  { pointer-events: none; }

/* ---- Produits : frame blanc pour images à fond blanc ---- */
.product-card .frame {
  background: var(--white);
  border: 1px solid var(--steel-200);
  padding: 0;
}
.product-card .frame img {
  aspect-ratio: 4/3;
  width: 100%; height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 8px;
}

/* ---- Lightbox ---- */
.sifem-lb {
  display: none;
  position: fixed; inset: 0;
  z-index: 9000;
  background: rgba(5, 12, 22, 0.96);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
}
.sifem-lb.open { display: flex; }
.sifem-lb .lb-img {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  display: block;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.sifem-lb .lb-close {
  position: absolute; top: 1.2rem; right: 1.5rem;
  background: none; border: none; color: var(--white);
  font-size: 2rem; cursor: pointer; line-height: 1;
  opacity: 0.7;
}
.sifem-lb .lb-close:hover { opacity: 1; }
.sifem-lb .lb-prev,
.sifem-lb .lb-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--white);
  width: 52px; height: 52px;
  font-size: 1.6rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.sifem-lb .lb-prev:hover,
.sifem-lb .lb-next:hover { background: var(--red-600); border-color: var(--red-600); }
.sifem-lb .lb-prev { left: 1rem; }
.sifem-lb .lb-next { right: 1rem; }
.sifem-lb .lb-cap {
  color: var(--steel-400);
  font-size: 0.85rem;
  text-align: center;
  max-width: 640px;
  padding: 0 3rem;
  line-height: 1.4;
}

/* ---- WhatsApp button (PNG image) — reset all original green circle styles ---- */
.whatsapp-float {
  position: fixed;
  bottom: 15px; right: 15px;
  z-index: 9999;
  display: block;
  width: auto; height: auto;
  background: none;
  border-radius: 0;
  box-shadow: none;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.2s;
}
.whatsapp-float:hover { opacity: 0.88; transform: scale(1.04); }
.whatsapp-float svg { display: none; }
.whatsapp-float img { display: block; width: 130px; height: 36px; }

/* ---- Footer contact list avec icônes ---- */
.footer-contact-list { display: grid; gap: 0.6rem; }
.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  padding: 0;
  color: var(--steel-400);
  font-size: 0.88rem;
  line-height: 1.45;
}
.fc-ico {
  flex: 0 0 auto;
  width: 14px; height: 14px;
  stroke: var(--red-600);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-top: 2px;
}
.footer-contact-list a:hover { color: var(--red-600); }

/* ---- Hero : simple centered overlay ---- */
.hero {
  position: relative;
  height: auto;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url("../img/sifem.jpg") center center / cover no-repeat;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(5,14,26,0.40) 0%, rgba(5,14,26,0.40) 60%, rgba(5,14,26,0.66) 100%);
}
.hero-center {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1.5rem;
  max-width: 780px;
  width: 100%;
}
.hero-center h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.4rem);
  text-transform: uppercase;
  line-height: 1.08;
  color: var(--white);
  letter-spacing: 0.02em;
  margin-bottom: 1.4rem;
}
.hero-center h1::after {
  content: "";
  display: block;
  width: 48px; height: 3px;
  background: var(--red-600);
  margin: 1rem auto 0;
}
.hero-sub {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: rgba(255,255,255,0.78);
  max-width: 520px;
  margin: 0 auto 2.2rem;
  line-height: 1.65;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 640px) {
  .hero-center h1 { font-size: clamp(2rem, 10vw, 2.8rem); }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn { width: 100%; max-width: 280px; text-align: center; }
}
