/* TEKINOX — site vitrine statique
   Palette inspirée du concept 4 : noir, acier et rouge profond. */

:root {
  --ink: #111318;
  --ink-soft: #22252b;
  --steel: #8b9199;
  --steel-light: #e7e9ec;
  --paper: #f7f7f5;
  --white: #ffffff;
  --red: #b1181e;
  --red-dark: #861116;
  --line: rgba(17, 19, 24, .12);
  --shadow: 0 22px 60px rgba(17, 19, 24, .12);
  --radius: 20px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 16px; top: -80px; z-index: 1000;
  padding: 12px 16px; background: var(--white); color: var(--ink);
}
.skip-link:focus { top: 16px; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(247,247,245,.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.header-inner {
  min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 32px;
}
.brand img { width: 215px; height: auto; }
.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav a { text-decoration: none; font-size: .91rem; font-weight: 750; }
.main-nav a:not(.nav-cta):hover { color: var(--red); }
.nav-cta {
  padding: 12px 18px; color: var(--white);
  background: var(--ink); border-radius: 8px;
}
.nav-cta:hover { background: var(--red); }
.menu-button { display: none; }

.hero {
  position: relative; overflow: hidden; min-height: 700px;
  color: var(--white);
  background:
    radial-gradient(circle at 82% 48%, rgba(177,24,30,.22), transparent 22%),
    linear-gradient(125deg, #0d0f13 0%, #171a20 62%, #090a0d 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: linear-gradient(to right, black, transparent 78%);
}
.hero-grid {
  position: relative; display: grid; /*grid-template-columns: 1.05fr .95fr;*/
  align-items: center; min-height: 700px; gap: 46px; padding-block: 90px;
}
.eyebrow {
  margin: 0 0 14px; color: var(--red);
  font-weight: 850; font-size: 1.1rem; letter-spacing: .18em; text-transform: uppercase;
}
.hero .eyebrow, .section--dark .eyebrow, .contact-section .eyebrow { color: #e6494e; }
h1, h2, h3 { margin-top: 0; line-height: 1.08; letter-spacing: -.035em; }
h1 { max-width: 760px; margin-bottom: 24px; font-size: clamp(3rem, 6.7vw, 5.8rem); }
h2 { margin-bottom: 20px; font-size: clamp(2.25rem, 4.3vw, 4rem); }
h3 { margin-bottom: 12px; font-size: 1.55rem; }
.hero-lead, .hero-lead-2 { /*color: #c5c8ce;*/ font-size: 1.1rem; }
.hero-lead { color: #E6494E; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 34px 0; }
.button {
  display: inline-flex; min-height: 52px; align-items: center; justify-content: center;
  padding: 0 24px; border: 1px solid transparent; border-radius: 8px;
  text-decoration: none; font-weight: 850;
}
.button--primary { background: var(--red); color: var(--white); }
.button--primary:hover { background: #d0252b; }
.button--ghost { border-color: rgba(255,255,255,.25); color: var(--white); }
.button--ghost:hover { background: rgba(255,255,255,.08); }
.hero-points {
  display: flex; flex-wrap: wrap; gap: 12px 30px; padding: 0; margin: 0;
  color: #d8dade; list-style: none; font-size: .9rem; font-weight: 750;
}
.hero-points li::before { content: "■"; margin-right: 10px; color: var(--red); font-size: .65rem; }

.hero-visual { position: relative; min-height: 500px; display: grid; place-items: center; }
.hero-visual svg { position: relative; width: min(100%, 470px); filter: drop-shadow(0 30px 30px rgba(0,0,0,.38)); }
.steel-disc {
  position: absolute; border: 1px solid rgba(255,255,255,.12); border-radius: 50%;
}
.steel-disc--one { width: 420px; height: 420px; }
.steel-disc--two { width: 520px; height: 520px; opacity: .45; }
.hero-stamp {
  position: absolute; right: 4%; bottom: 12%; padding: 10px 14px;
  border: 1px solid rgba(255,255,255,.22); color: #d4d6db;
  font-size: .72rem; letter-spacing: .15em; text-transform: uppercase; transform: rotate(-5deg);
}

.trust-strip { background: var(--white); border-bottom: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.trust-grid > div { padding: 25px 30px; border-left: 1px solid var(--line); }
.trust-grid > div:last-child { border-right: 1px solid var(--line); }
.trust-grid strong, .trust-grid span { display: block; }
.trust-grid strong { font-size: 1.05rem; }
.trust-grid span { color: #666b73; font-size: .85rem; }

.section { padding: 110px 0; }
.section-heading { max-width: 760px; margin-bottom: 48px; }
.section-heading > p:last-child, .expertise-copy > p, .zone-grid p { font-size: 1.1rem; }
.expertise-copy > p, .zone-grid p { color: /*#5d626a*/ white; }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.service-card {
  position: relative; min-height: 330px; padding: 10px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 1px 0 rgba(255,255,255,.8);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.service-card:hover { transform: translateY(-7px); box-shadow: var(--shadow); border-color: rgba(177,24,30,.28); }
.service-number { color: #9a9da3; font-size: .75rem; font-weight: 900; letter-spacing: .15em; }
.service-icon {
  width: 64px; height: 64px; display: grid; place-items: center; /*margin: 45px 0 28px*/ margin: 10px 0 5px;
  color: var(--white); background: var(--ink); border-radius: 16px; font-size: 1.8rem; font-weight: 900;
}
.service-card:nth-child(2) .service-icon, .service-card:nth-child(4) .service-icon { background: var(--red); }
.service-card p { color: #62666e; font-size: 1.1rem }

.section--dark { color: var(--white); background: var(--ink); }
.expertise-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 80px; }
.expertise-copy > p { color: #bdc1c8; }
.expertise-visual {
  min-height: 540px; display: grid; place-items: center; overflow: hidden;
  background: linear-gradient(145deg, #2a2e35, #0a0c0f); border: 1px solid rgba(255,255,255,.08);
  border-radius: 28px;
}
.machine-panel {
  position: relative; width: 330px; height: 330px; border: 42px solid #777d84;
  border-radius: 50%; box-shadow: inset 0 0 0 22px #22262c, 0 35px 60px rgba(0,0,0,.35);
}
.machine-core {
  position: absolute; inset: 78px; border: 18px solid #c4c7ca; background: var(--red); border-radius: 50%;
}
.machine-line { position: absolute; left: 50%; top: 50%; width: 260px; height: 16px; background: #adb1b6; transform-origin: left center; }
.machine-line--1 { transform: rotate(0deg); }
.machine-line--2 { transform: rotate(120deg); }
.machine-line--3 { transform: rotate(240deg); }
.feature-list { margin-top: 38px; border-top: 1px solid rgba(255,255,255,.12); }
.feature-list div { display: grid; grid-template-columns: 135px 1fr; gap: 20px; padding: 22px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.feature-list strong { color: #fff; }
.feature-list span { color: #aeb2b9; }

.zone-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 90px; align-items: center; }
.text-link { color: var(--red); font-weight: 850; text-decoration: none; font-size: 1.1rem }
.zone-map {
  min-height: 390px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 30px; color: var(--white);
  background:
    linear-gradient(145deg, rgba(177,24,30,.88), rgba(86,7,11,.96)),
    repeating-linear-gradient(45deg, transparent 0 18px, rgba(255,255,255,.05) 18px 19px);
  border-radius: 48% 52% 38% 62% / 55% 42% 58% 45%;
  box-shadow: var(--shadow);
}
.zone-map span { font-size: 7rem; font-weight: 950; line-height: 1; }
.zone-map strong { font-size: 1.1rem; }
.zone-map small { margin-top: 12px; color: rgba(255,255,255,.72); }

.contact-section { padding: 20px 0; color: var(--white); /*background: #17191e; */ background: white; color: black; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: start; }
.contact-grid > div:first-child > p:last-child { color: /*#bdc1c8*/ black; font-size: 1.1rem; }
.contact-card { overflow: hidden; border: 1px solid rgba(255,255,255,.13); border-radius: var(--radius); }
.contact-card > * {
  display: block; padding: 24px 10px; color: var(--white); text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.12);
  text-align: center;
}
.contact-card > *:last-child { border-bottom: 0; }
.contact-card a:hover { background: rgba(255,255,255,.05); }
.contact-card span, .contact-card strong, .contact-card small { display: block; }
.contact-card span { color: #e6494e; font-size: .74rem; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.contact-card strong { margin: 5px 0; font-size: 1.1rem; color: black; }
.contact-card small { color: #8f949c; color: black; }

.site-footer { color: #b7bbc2; background: #090a0d; }
.footer-top {
  display: grid; grid-template-columns: 240px 1fr auto; gap: 45px; align-items: center;
  padding-block: 48px; border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-top img { width: 210px; }
.footer-top p { max-width: 570px; margin: 0; }
.footer-top a { color: var(--white); font-weight: 750; }
.footer-bottom { display: flex; justify-content: space-between; gap: 30px; padding-block: 22px; font-size: .78rem; }

@media (max-width: 950px) {
  .main-nav {
    position: absolute; left: 20px; right: 20px; top: 74px;
    display: none; flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px; background: var(--white); border: 1px solid var(--line);
    border-radius: 12px; box-shadow: var(--shadow);
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 14px; }
  .menu-button {
    width: 48px; height: 48px; display: grid; place-content: center; gap: 5px;
    border: 0; background: transparent; cursor: pointer;
  }
  .menu-button__bar { width: 25px; height: 2px; background: var(--ink); }
  .hero-grid, .expertise-grid, .zone-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-grid { padding-top: 80px; }
  .hero-visual { min-height: 380px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .expertise-grid, .zone-grid, .contact-grid { gap: 0px; }
  .footer-top { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .brand img { width: 180px; }
  .hero { min-height: auto; }
  .hero-grid { min-height: auto; padding-block: 70px; }
  h1 { font-size: /*clamp(2.75rem, 15vw, 4.2rem);*/ 2.75rem; }
  .hero-visual { min-height: 310px; }
  .steel-disc--one { width: 275px; height: 275px; }
  .steel-disc--two { width: 340px; height: 340px; }
  .trust-grid { grid-template-columns: 1fr; padding-block: 8px; }
  .trust-grid > div { border: 0; border-bottom: 1px solid var(--line); padding: 16px 4px; }
  .trust-grid > div:last-child { border-bottom: 0; }
  .section { padding: 20px 0; }
  .cards { grid-template-columns: 1fr; }
  .service-card { min-height: 280px; }
  .expertise-visual { min-height: 370px; }
  .machine-panel { width: 230px; height: 230px; border-width: 30px; }
  .machine-core { inset: 55px; }
  .machine-line { width: 175px; height: 11px; }
  .feature-list div { grid-template-columns: 1fr; gap: 4px; }
  .zone-map { min-height: 300px; }
  .zone-map span { font-size: 5.3rem; }
  .footer-bottom { flex-direction: column; }
}
