/* =========================================================
   ENMANO — feuille de style
   Palette : noir, jaune signature, blanc
   ========================================================= */

:root {
  --black: #0c0c0c;
  --black-soft: #161616;
  --card: #1c1c1c;
  --border: #2c2c2c;
  --yellow: #f2f73d;
  --yellow-dim: #c8cc2f;
  --white: #ffffff;
  --grey: #b3b3b3;
  --grey-dim: #7c7c7c;

  --font-display: "Archivo Black", "Arial Black", sans-serif;
  --font-body: "Work Sans", "Segoe UI", sans-serif;

  --container: 1180px;
  --radius: 6px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--yellow);
}

.eyebrow::before {
  content: "";
  display: block;
  width: 22px;
  height: 3px;
  background: var(--yellow);
  clip-path: polygon(20% 0, 100% 0, 80% 100%, 0% 100%);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  text-transform: uppercase;
  line-height: 1.1;
  letter-spacing: 0.01em;
}

h2 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  margin: 14px 0 18px;
}

h3 {
  font-size: 1.15rem;
}

p {
  color: var(--grey);
}

.section {
  padding: 100px 0;
  position: relative;
}

.section-head {
  max-width: 640px;
  margin-bottom: 56px;
}

.section-head p {
  margin-top: 6px;
}

/* Boutons ---------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 15px 28px;
  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;
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--yellow);
  color: var(--black);
}

.btn-primary:hover {
  background: var(--white);
}

.btn-outline {
  background: transparent;
  border-color: var(--border);
  color: var(--white);
}

.btn-outline:hover {
  border-color: var(--yellow);
  color: var(--yellow);
}

.btn-block {
  width: 100%;
  justify-content: center;
}

/* En-tete ------------------------------------------------ */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(12, 12, 12, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 0.04em;
}

.logo-mark {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}

.logo small {
  display: block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  color: var(--yellow);
  text-transform: uppercase;
  margin-top: 2px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links {
  display: flex;
  gap: 32px;
  font-weight: 600;
  font-size: 0.92rem;
}

.nav-links a {
  position: relative;
  padding: 6px 0;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--yellow);
}

.nav-call {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.92rem;
}

.nav-call svg {
  width: 18px;
  height: 18px;
  color: var(--yellow);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: 0.2s ease;
}

/* Hero ---------------------------------------------------- */

.hero {
  padding: 70px 0 110px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  margin: 18px 0 22px;
}

.hero h1 span {
  color: var(--yellow);
}

.hero-lead {
  font-size: 1.08rem;
  max-width: 480px;
  margin-bottom: 34px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 46px;
}

.hero-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.hero-stats div strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.9rem;
  color: var(--yellow);
}

.hero-stats div span {
  font-size: 0.82rem;
  color: var(--grey-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Le visuel "bolt" du heros, reprend le logo ---------------- */

.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 460px;
  margin: 0 auto;
}

.hero-hex {
  position: absolute;
  inset: 0;
  background: var(--yellow);
  clip-path: polygon(25% 4%, 75% 4%, 98% 50%, 75% 96%, 25% 96%, 2% 50%);
}

.hero-bolt {
  position: absolute;
  inset: 0;
  background: var(--black);
  clip-path: polygon(58% 0%, 72% 0%, 40% 46%, 60% 46%, 30% 100%, 16% 100%, 46% 54%, 28% 54%);
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  pointer-events: none;
}

.hero-grid-lines span {
  height: 1px;
  background: rgba(0, 0, 0, 0.08);
}

/* Bande "diagonale" reutilisable --------------------------- */

.cut-top {
  clip-path: polygon(0 24px, 100% 0, 100% 100%, 0 100%);
}

.cut-bottom {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 24px));
}

/* Services -------------------------------------------------- */

.services {
  background: var(--black-soft);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.service-card:hover {
  border-color: var(--yellow);
  transform: translateY(-4px);
}

.service-icon {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(242, 247, 61, 0.1);
  border-radius: var(--radius);
  margin-bottom: 22px;
}

.service-icon svg {
  width: 24px;
  height: 24px;
  color: var(--yellow);
}

.service-card h3 {
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.92rem;
}

/* Pourquoi nous ---------------------------------------------- */

.why {
  position: relative;
  background: var(--yellow);
  color: var(--black);
  padding: 90px 0;
}

.why::before,
.why::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 26px;
  background: var(--black);
}

.why::before {
  top: 0;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 0);
}

.why::after {
  bottom: 0;
  clip-path: polygon(0 100%, 100% 100%, 100% 0, 0 100%);
}

.why-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.why h2 {
  color: var(--black);
}

.why .eyebrow {
  color: var(--black);
}

.why .eyebrow::before {
  background: var(--black);
}

.why-lead {
  color: rgba(12, 12, 12, 0.75);
  font-weight: 500;
  max-width: 420px;
}

.why-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px 32px;
  list-style: none;
}

.why-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-weight: 700;
  font-size: 0.98rem;
}

.why-list svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  margin-top: 2px;
}

.why-list span small {
  display: block;
  font-weight: 500;
  font-size: 0.82rem;
  color: rgba(12, 12, 12, 0.65);
  margin-top: 4px;
  text-transform: none;
}

/* Processus --------------------------------------------------- */

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.process-step {
  position: relative;
  padding: 0 24px 0 0;
}

.process-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 28px;
  right: -4px;
  width: 28px;
  height: 2px;
  background: var(--border);
}

.process-num {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--black);
  background: var(--yellow);
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  clip-path: polygon(18% 0, 100% 0, 100% 82%, 82% 100%, 0 100%, 0 18%);
  margin-bottom: 22px;
}

.process-step h3 {
  margin-bottom: 10px;
}

.process-step p {
  font-size: 0.92rem;
}

/* Contact -------------------------------------------------- */

.contact {
  background: var(--black-soft);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 60px;
}

.contact-info-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 26px;
  margin-top: 30px;
}

.contact-info-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-info-list .ic {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.contact-info-list .ic svg {
  width: 20px;
  height: 20px;
  color: var(--yellow);
}

.contact-info-list strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.contact-info-list span,
.contact-info-list a {
  font-size: 0.9rem;
  color: var(--grey);
}

.contact-info-list a:hover {
  color: var(--yellow);
}

.contact-form {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
  color: var(--grey);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  background: var(--black);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 13px 14px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.2s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--yellow);
}

.field textarea {
  resize: vertical;
  min-height: 120px;
}

.field-error {
  color: var(--yellow);
  font-size: 0.8rem;
  margin-top: 6px;
}

.form-note {
  font-size: 0.8rem;
  color: var(--grey-dim);
  margin-top: 14px;
}

.alert {
  padding: 16px 18px;
  border-radius: var(--radius);
  margin-bottom: 22px;
  font-weight: 600;
  font-size: 0.92rem;
}

.alert-success {
  background: rgba(242, 247, 61, 0.12);
  border: 1px solid var(--yellow);
  color: var(--yellow);
}

.alert-error {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  color: var(--white);
}

/* Footer ------------------------------------------------------ */

.footer {
  border-top: 1px solid var(--border);
  padding: 50px 0 30px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 30px;
}

.footer-links {
  display: flex;
  gap: 26px;
  font-size: 0.88rem;
  font-weight: 600;
  flex-wrap: wrap;
}

.footer-links a:hover {
  color: var(--yellow);
}

.footer-bottom {
  font-size: 0.8rem;
  color: var(--grey-dim);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  border-top: 1px solid var(--border);
  padding-top: 22px;
}

.footer-legal {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-legal a {
  transition: color 0.2s ease;
}

.footer-legal a:hover {
  color: var(--yellow);
}

/* Pages legales / confidentialite ------------------------------- */

.legal-hero {
  padding: 64px 0 0;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--grey);
  margin-bottom: 24px;
  transition: color 0.2s ease;
}

.legal-back svg {
  width: 16px;
  height: 16px;
  transform: rotate(180deg);
}

.legal-back:hover {
  color: var(--yellow);
}

.legal-updated {
  font-size: 0.85rem;
  color: var(--grey-dim);
  margin-top: -6px;
  margin-bottom: 10px;
}

.legal-content {
  max-width: 760px;
  padding-bottom: 40px;
}

.legal-content h2 {
  font-family: var(--font-display);
  text-transform: none;
  font-size: 1.15rem;
  letter-spacing: 0.01em;
  color: var(--white);
  margin: 40px 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.legal-content h2:first-of-type {
  margin-top: 0;
}

.legal-content p {
  margin-bottom: 14px;
  font-size: 0.96rem;
}

.legal-content ul {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
}

.legal-content ul li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
  font-size: 0.96rem;
  color: var(--grey);
}

.legal-content ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 10px;
  height: 2px;
  background: var(--yellow);
  clip-path: polygon(20% 0, 100% 0, 80% 100%, 0% 100%);
}

.legal-content strong {
  color: var(--white);
}

.legal-content a {
  color: var(--yellow);
  text-decoration: underline;
  text-decoration-color: rgba(242, 247, 61, 0.4);
}

.legal-content a:hover {
  text-decoration-color: var(--yellow);
}

/* Bouton d'appel flottant (mobile) ----------------------------- */

.float-call {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 90;
  width: 56px;
  height: 56px;
  background: var(--yellow);
  color: var(--black);
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.float-call svg {
  width: 24px;
  height: 24px;
}

/* Responsive ----------------------------------------------------- */

@media (max-width: 980px) {
  .hero-grid,
  .why-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: -1;
    max-width: 320px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 24px;
  }

  .process-step:nth-child(2)::after,
  .process-step:nth-child(4)::after {
    display: none;
  }

  .why-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .nav-links,
  .nav-call {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .nav.open .nav-links {
    display: flex;
    position: absolute;
    top: 84px;
    left: 0;
    right: 0;
    background: var(--black);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 24px;
    gap: 18px;
  }

  .nav.open .nav-call {
    display: flex;
    position: absolute;
    top: 290px;
    left: 24px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 70px 0;
  }

  .float-call {
    display: flex;
  }
}