/* ============================================================
   MENCE TRANSMISSION — Site vitrine FR
   ============================================================ */
:root {
  --navy: #0e1c2e;
  --navy-2: #14273d;
  --navy-3: #1c3450;
  --gold: #c9a24b;
  --gold-2: #e0b866;
  --text: #2b3440;
  --muted: #61707f;
  --line: #e3e8ee;
  --bg: #ffffff;
  --bg-soft: #f5f7fa;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(14, 28, 46, .08);
  --shadow-lg: 0 18px 50px rgba(14, 28, 46, .16);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
}
img { max-width: 100%; display: block; }
a { color: var(--navy); text-decoration: none; }
ul { list-style: none; }

.container { width: min(1180px, 92%); margin: 0 auto; }

/* ---------- Header ---------- */
.topbar {
  background: var(--navy);
  color: #cfd9e4;
  font-size: .82rem;
  padding: 7px 0;
}
.topbar .container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.topbar a { color: #e8eef5; }
.topbar .tb-left span { margin-right: 18px; }

header.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 14px rgba(14,28,46,.05);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; gap: 20px; }
.logo img { height: 44px; width: auto; }
nav.main-nav ul { display: flex; gap: 6px; flex-wrap: wrap; }
nav.main-nav a {
  display: block; padding: 10px 15px; font-weight: 600; font-size: .95rem;
  color: var(--navy); border-radius: 6px; transition: all .2s;
}
nav.main-nav a:hover { background: var(--bg-soft); color: var(--gold); }
nav.main-nav a.active { color: var(--gold); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 26px; height: 3px; background: var(--navy); margin: 5px 0; border-radius: 2px; transition: .3s; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(120deg, rgba(14,28,46,.85), rgba(20,39,61,.55) 60%, rgba(14,28,46,.75)), url('/img/banner.jpg') center/cover no-repeat;
  color: #fff;
  padding: 110px 0 130px;
}
.hero::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 70px;
  background: linear-gradient(transparent, var(--bg));
}
.hero h1 { font-size: clamp(1.9rem, 4vw, 3.1rem); line-height: 1.2; max-width: 820px; letter-spacing: .5px; }
.hero p.lead { font-size: clamp(1rem, 2vw, 1.25rem); color: #dbe5f0; max-width: 700px; margin-top: 18px; }
.hero .hero-badges { display: flex; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.hero .hero-badges span {
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.28);
  padding: 7px 16px; border-radius: 999px; font-size: .88rem;
}
.hero.small { padding: 72px 0 92px; }

/* ---------- Buttons / CTA ---------- */
.btn {
  display: inline-block; padding: 13px 30px; border-radius: 6px;
  font-weight: 700; font-size: .95rem; letter-spacing: .3px;
  transition: all .25s; cursor: pointer; border: 2px solid transparent;
}
.btn-gold { background: var(--gold); color: #fff; border-color: var(--gold); }
.btn-gold:hover { background: var(--gold-2); border-color: var(--gold-2); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(201,162,75,.35); }
.btn-outline { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,.14); }
.btn-navy { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn-navy:hover { background: var(--navy-3); transform: translateY(-2px); }
.cta-row { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }

.cta-band {
  background: linear-gradient(115deg, var(--navy), var(--navy-3));
  color: #fff; padding: 56px 0;
}
.cta-band .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { font-size: 1.5rem; max-width: 620px; }
.cta-band p { color: #c3d0dd; margin-top: 8px; }

/* ---------- Sections ---------- */
section.block { padding: 76px 0; }
section.block.soft { background: var(--bg-soft); }
.sec-head { text-align: center; max-width: 760px; margin: 0 auto 46px; }
.sec-head .eyebrow {
  display: inline-block; color: var(--gold); font-weight: 700;
  text-transform: uppercase; letter-spacing: 2.5px; font-size: .8rem; margin-bottom: 12px;
}
.sec-head h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); color: var(--navy); line-height: 1.25; }
.sec-head p { color: var(--muted); margin-top: 14px; }
.sec-head.left { text-align: left; margin-left: 0; }

.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Cards ---------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow); transition: all .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card h3 { color: var(--navy); font-size: 1.15rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: .95rem; }
.card .icon {
  width: 52px; height: 52px; border-radius: 12px; background: rgba(201,162,75,.14);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
  font-size: 1.5rem; color: var(--gold);
}

/* ---------- Product cards ---------- */
.product-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); transition: all .25s; display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.product-card .thumb { overflow: hidden; aspect-ratio: 4/3; background: var(--bg-soft); }
.product-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.product-card:hover .thumb img { transform: scale(1.05); }
.product-card .body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.product-card h3 { font-size: 1.15rem; color: var(--navy); }
.product-card h3 a:hover { color: var(--gold); }
.product-card p { color: var(--muted); font-size: .92rem; margin: 10px 0 18px; flex: 1; }
.product-card .more { font-weight: 700; color: var(--gold); font-size: .92rem; }

/* ---------- Split section ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; }
.split .eyebrow {
  display: inline-block; color: var(--gold); font-weight: 700;
  text-transform: uppercase; letter-spacing: 2.5px; font-size: .8rem; margin-bottom: 12px;
}
.split h2 { color: var(--navy); font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.25; }
.split p { color: var(--muted); margin-top: 14px; }
.checklist { margin-top: 20px; }
.checklist li { position: relative; padding-left: 30px; margin-bottom: 10px; color: var(--text); }
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  width: 21px; height: 21px; border-radius: 50%; background: var(--gold); color: #fff;
  font-size: .8rem; font-weight: 700; display: flex; align-items: center; justify-content: center;
}

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery figure { overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); }
.gallery img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3/2; transition: transform .4s; }
.gallery figure:hover img { transform: scale(1.06); }

/* ---------- Applications ---------- */
.app-card { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/3; }
.app-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.app-card:hover img { transform: scale(1.07); }
.app-card figcaption {
  position: absolute; inset: auto 0 0 0; padding: 40px 18px 16px;
  background: linear-gradient(transparent, rgba(14,28,46,.92)); color: #fff; font-weight: 700;
}

/* ---------- Certifications ---------- */
.cert-row { display: flex; gap: 14px; flex-wrap: wrap; }
.cert-row span {
  border: 1px solid var(--gold); color: var(--navy); background: rgba(201,162,75,.09);
  padding: 9px 22px; border-radius: 999px; font-weight: 700; font-size: .92rem;
}

/* ---------- Specs table ---------- */
table.specs { width: 100%; border-collapse: collapse; background: #fff; box-shadow: var(--shadow); border-radius: var(--radius); overflow: hidden; }
table.specs th, table.specs td { padding: 14px 18px; border-bottom: 1px solid var(--line); text-align: left; font-size: .95rem; }
table.specs th { background: var(--navy); color: #fff; font-weight: 600; }
table.specs tr:nth-child(even) td { background: var(--bg-soft); }
table.specs td:first-child { font-weight: 600; color: var(--navy); width: 32%; }

/* ---------- FAQ ---------- */
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: 16px; overflow: hidden; }
.faq-item summary {
  padding: 20px 24px; font-weight: 700; color: var(--navy); cursor: pointer;
  list-style: none; position: relative; padding-right: 50px; font-size: 1.02rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
  font-size: 1.4rem; color: var(--gold); font-weight: 700; transition: .25s;
}
.faq-item[open] summary::after { content: "–"; }
.faq-item .faq-a { padding: 0 24px 22px; color: var(--muted); }

/* ---------- Contact form ---------- */
.contact-wrap { display: grid; grid-template-columns: 1fr 1.4fr; gap: 44px; align-items: start; }
.contact-info .info-item { display: flex; gap: 14px; margin-bottom: 22px; align-items: flex-start; }
.contact-info .info-item .icon {
  width: 44px; height: 44px; flex: 0 0 44px; border-radius: 10px;
  background: rgba(201,162,75,.14); color: var(--gold); display: flex; align-items: center; justify-content: center; font-size: 1.2rem;
}
.contact-info .info-item h3 { color: var(--navy); font-size: 1rem; }
.contact-info .info-item p { color: var(--muted); font-size: .93rem; }

form.contact-form {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px; box-shadow: var(--shadow);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 7px; }
.form-field.full { grid-column: 1 / -1; }
label { font-weight: 600; color: var(--navy); font-size: .92rem; }
label .req { color: #c0392b; }
input[type="text"], input[type="email"], input[type="tel"], textarea {
  padding: 12px 15px; border: 1px solid #ccd5de; border-radius: 6px;
  font-size: .95rem; font-family: inherit; color: var(--text); background: var(--bg-soft);
  transition: border-color .2s, box-shadow .2s;
}
input:focus, textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,162,75,.18); background: #fff; }
textarea { resize: vertical; min-height: 140px; }
.hp-field { position: absolute; left: -9999px; top: -9999px; height: 0; width: 0; overflow: hidden; opacity: 0; }
.form-note { font-size: .82rem; color: var(--muted); margin-top: 6px; }
.form-status { display: none; margin-top: 18px; padding: 16px 18px; border-radius: 8px; font-weight: 600; }
.form-status.success { display: block; background: #e8f6ee; border: 1px solid #bfe6cf; color: #1e7a46; }
.form-status.error { display: block; background: #fdeeee; border: 1px solid #f2c4c4; color: #a94442; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background: linear-gradient(120deg, rgba(14,28,46,.88), rgba(20,39,61,.6)), url('/img/banner.jpg') center/cover no-repeat;
  color: #fff; padding: 74px 0 66px;
}
.page-hero h1 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
.page-hero .breadcrumb { margin-top: 14px; font-size: .88rem; color: #c7d3e0; }
.page-hero .breadcrumb a { color: #e8b95f; }
.page-hero .breadcrumb a:hover { text-decoration: underline; }
.page-hero p.sub { color: #d5dfea; max-width: 720px; margin-top: 12px; }

/* ---------- Product detail ---------- */
.product-hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 44px; align-items: center; }
.product-hero .img-wrap { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 24px; }
.product-hero .img-wrap img { width: 100%; border-radius: 6px; }
.product-hero h1 { color: var(--navy); font-size: clamp(1.5rem, 2.8vw, 2.1rem); line-height: 1.25; }
.product-hero .tagline { color: var(--gold); font-weight: 700; margin-top: 8px; font-size: 1.05rem; }
.product-hero p.desc { color: var(--muted); margin-top: 14px; }
.feature-strip { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.feature-strip span {
  background: var(--bg-soft); border: 1px solid var(--line); color: var(--navy);
  padding: 8px 18px; border-radius: 999px; font-size: .88rem; font-weight: 600;
}
.content-block h2 { color: var(--navy); font-size: 1.45rem; margin-bottom: 18px; }
.content-block h2::after { content: ""; display: block; width: 56px; height: 3px; background: var(--gold); margin-top: 10px; border-radius: 2px; }
.content-block p { color: var(--muted); margin-bottom: 14px; }
.content-block p strong { color: var(--text); }

/* ---------- Footer ---------- */
footer.site-footer { background: var(--navy); color: #b9c6d3; padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; padding-bottom: 44px; }
.footer-grid h3 { color: #fff; font-size: 1.02rem; margin-bottom: 16px; letter-spacing: .5px; }
.footer-grid p, .footer-grid a { color: #a9b8c7; font-size: .92rem; }
.footer-grid ul li { margin-bottom: 9px; }
.footer-grid a:hover { color: var(--gold-2); }
.footer-grid .f-logo { height: 40px; width: auto; margin-bottom: 18px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 18px 0; font-size: .84rem; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .split, .contact-wrap, .product-hero { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .topbar .tb-left span:nth-child(2) { display: none; }
  .nav-toggle { display: block; }
  nav.main-nav {
    position: absolute; top: 100%; left: 0; right: 0; background: #fff;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
    display: none; padding: 10px 4%;
  }
  nav.main-nav.open { display: block; }
  nav.main-nav ul { flex-direction: column; gap: 2px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .cta-band .container { flex-direction: column; text-align: center; }
  section.block { padding: 54px 0; }
}
