/* ARMAN GROUP — feuille de style unique
   Couleurs de la charte : rouge, bleu, vert du logo. */

:root {
  --red: #e0201e;
  --red-dark: #b81816;
  --blue: #034aad;
  --green: #5bb32a;
  --ink: #15171c;
  --muted: #5c6472;
  --line: #e5e6e3;
  --soft: #f5f5f3;
  --white: #fff;
  --radius: 16px;
  --max: 1180px;
  --shadow: 0 20px 45px rgba(0, 0, 0, .09);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body {
  margin: 0;
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0; }
h1 { font-size: clamp(32px, 4.8vw, 54px); font-weight: 700; letter-spacing: -.015em; }
h2 { font-size: clamp(26px, 3.2vw, 38px); font-weight: 700; }
h3 { font-size: 20px; font-weight: 700; }
p { margin: 0 0 16px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 22px; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.lead { font-size: 18px; color: var(--muted); max-width: 660px; }
.muted { color: var(--muted); }
.skip {
  position: absolute; left: -9999px; background: var(--ink); color: #fff; padding: 12px 18px; z-index: 100;
}
.skip:focus { left: 12px; top: 12px; }

/* ---------- Titres de section ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px;
  font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--muted);
}
.dots { display: inline-flex; gap: 5px; }
.dots i { width: 9px; height: 9px; border-radius: 50%; display: block; }
.dots i:nth-child(1) { background: var(--red); }
.dots i:nth-child(2) { background: var(--blue); }
.dots i:nth-child(3) { background: var(--green); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 28px; border-radius: 999px; font: inherit; font-weight: 600; font-size: 15px;
  text-decoration: none; cursor: pointer; border: 2px solid var(--red); background: var(--red); color: #fff;
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-2px); background: var(--red-dark); border-color: var(--red-dark); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: #fff; }
.btn.light { background: #fff; border-color: #fff; color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Barre des activités + en-tête ---------- */
.topbar { background: var(--ink); color: #b7bcc6; font-size: 12px; }
.topbar .wrap {
  display: flex; align-items: center; gap: 20px; height: 36px;
  overflow-x: auto; white-space: nowrap; justify-content: flex-end;
}
.topbar strong { letter-spacing: .12em; text-transform: uppercase; font-size: 11px; color: #8e95a1; }
.topbar a { text-decoration: none; }
.topbar a:hover { color: #fff; }

.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255, 255, 255, .95); backdrop-filter: blur(10px);
  border-bottom: 4px solid var(--red);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 78px; }
.logo img { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a {
  text-decoration: none; font-size: 13px; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; padding: 6px 0; border-bottom: 2px solid transparent;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--red); border-color: var(--red); }
.nav .btn { text-transform: none; letter-spacing: 0; border-bottom: 0; padding: 11px 22px; color: #fff; }
.nav .btn:hover, .nav a.btn[aria-current="page"] { color: #fff; border-color: var(--red-dark); }
.burger { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.burger span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; }

/* ---------- Sections ---------- */
section { padding: 84px 0; }
.soft { background: var(--soft); }
.dark { background: var(--ink); color: #fff; }
.dark .lead, .dark p { color: #b7bcc6; }
.dark .eyebrow { color: #8e95a1; }

/* ---------- Bandeau d'accueil ---------- */
.hero { padding: 70px 0 84px; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero h1 em { font-style: normal; color: var(--red); }
.hero .lead { margin: 20px 0 30px; }
.hero-visual { position: relative; aspect-ratio: 1 / 1; }
.hero-visual img { position: absolute; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.hero-visual .a { width: 63%; height: 78%; left: 0; top: 0; }
.hero-visual .b { width: 50%; height: 48%; right: 0; bottom: 0; background: #fff; object-fit: contain; padding: 16px; }
.hero-visual i { position: absolute; border-radius: 50%; display: block; }
.hero-visual .d1 { width: 66px; height: 66px; background: var(--red); right: 15%; top: 5%; }
.hero-visual .d2 { width: 40px; height: 40px; background: var(--blue); right: 3%; top: 29%; }
.hero-visual .d3 { width: 52px; height: 52px; background: var(--green); left: 9%; bottom: 3%; }

.page-hero { padding: 62px 0 58px; background: var(--soft); }
.page-hero p.lead { margin-top: 16px; }
.breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--red); }

/* ---------- Chiffres ---------- */
.figures { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.figure b { display: block; font-size: 32px; line-height: 1.1; }
.figure span { font-size: 14px; color: var(--muted); }
.dark .figure span { color: #8e95a1; }

/* ---------- Grilles de cartes ---------- */
.grid { display: grid; gap: 22px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.mt { margin-top: 44px; }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; text-decoration: none; display: flex; flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
a.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.card .thumb { aspect-ratio: 4 / 3; background: var(--soft); overflow: hidden; }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
a.card:hover .thumb img { transform: scale(1.04); }
.card .inner { padding: 22px 24px 26px; flex: 1; display: flex; flex-direction: column; }
.card p { color: var(--muted); font-size: 15px; margin: 8px 0 16px; }
.card .more { margin-top: auto; font-weight: 600; font-size: 14px; color: var(--red); }

/* Vignettes savoir-faire */
.tile { text-align: center; padding: 20px; }
.tile img, .tile .ph { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; margin-bottom: 14px; }
.tile h3 { font-size: 16px; }
.tile span { font-size: 13px; color: var(--muted); }
.tile span.ph { font-size: 30px; color: #fff; }
.ph {
  display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 30px; letter-spacing: .14em;
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,.06) 0 1px, transparent 1px 18px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.06) 0 1px, transparent 1px 18px),
    linear-gradient(135deg, #15171c, #2c313b);
}

/* ---------- Bloc texte + image ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 58px; align-items: center; }
.split img { border-radius: var(--radius); width: 100%; }
.split.rev > :first-child { order: 2; }
.service { scroll-margin-top: 120px; padding: 62px 0; border-top: 1px solid var(--line); }
.service:first-of-type { border-top: 0; }

.checks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 11px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); }
.checks li::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%; margin-top: 9px; background: var(--green); }
.checks li:nth-child(3n+1)::before { background: var(--red); }
.checks li:nth-child(3n+2)::before { background: var(--blue); }

/* ---------- Étapes / frise ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; position: relative; }
.steps.five { grid-template-columns: repeat(5, 1fr); }
.steps::before { content: ""; position: absolute; left: 10%; right: 10%; top: 18px; height: 2px; background: var(--line); }
.step { text-align: center; }
.step b {
  display: inline-block; background: var(--ink); color: #fff; font-size: 14px;
  padding: 6px 15px; border-radius: 999px; margin-bottom: 16px; position: relative;
}
.step:nth-child(3n+1) b { background: var(--red); }
.step:nth-child(3n+2) b { background: var(--blue); }
.step:nth-child(3n) b { background: var(--green); }
.step p { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px; margin: 0; font-size: 14px; }

/* ---------- Encart à compléter ---------- */
.todo {
  background: #fff8e5; border: 1px dashed #e0b83c; border-radius: 12px;
  padding: 14px 18px; font-size: 14px; color: #6b5310; margin: 18px 0;
}
.todo b { color: #4a3806; }

/* ---------- Bandeau d'appel ---------- */
.cta { padding: 66px 0; }
.cta .wrap { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cta h2 { margin-bottom: 6px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 44px; }
.info { background: var(--soft); border-radius: var(--radius); padding: 30px; display: grid; gap: 24px; align-content: start; }
.info h3 { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.info a { text-decoration: none; font-weight: 600; }
.info a:hover { color: var(--red); }
form { display: grid; gap: 15px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
label { font-size: 13px; font-weight: 600; display: grid; gap: 6px; }
input, select, textarea {
  font: inherit; font-size: 15px; padding: 13px 14px; border: 1px solid var(--line);
  border-radius: 10px; background: #fff; color: var(--ink); width: 100%;
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--blue); outline-offset: 1px; }
textarea { min-height: 150px; resize: vertical; }
.consent { font-size: 13px; font-weight: 400; color: var(--muted); display: flex; gap: 10px; align-items: flex-start; }
.consent input { width: auto; margin-top: 4px; }
.hp { position: absolute; left: -9999px; }
.alert { border-radius: 12px; padding: 14px 18px; font-size: 15px; }
.alert.ok { background: #e9f7e4; border: 1px solid var(--green); }
.alert.ko { background: #fdeceb; border: 1px solid var(--red); }
.map { border: 0; width: 100%; height: 380px; border-radius: var(--radius); margin-top: 44px; }

/* ---------- Texte légal ---------- */
.legal { max-width: 780px; }
.legal h2 { font-size: 22px; margin: 36px 0 12px; }
.legal p, .legal li { color: var(--muted); }

/* ---------- Pied de page ---------- */
footer { background: #0d0f13; color: #b7bcc6; padding: 62px 0 28px; font-size: 14px; }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 34px; }
footer h4 { color: #fff; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; margin: 0 0 14px; }
footer a { text-decoration: none; }
footer a:hover { color: #fff; }
footer p { margin: 5px 0; }
.foot .mark { background: #fff; display: inline-block; padding: 10px 14px; border-radius: 10px; margin-bottom: 14px; }
.foot .mark img { height: 34px; }
.copy { border-top: 1px solid #22252c; margin-top: 38px; padding-top: 22px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px; }

/* Appel flottant sur mobile */
.call-fab {
  display: none; position: fixed; right: 16px; bottom: 16px; z-index: 70;
  background: var(--red); color: #fff; text-decoration: none; font-weight: 600; font-size: 15px;
  padding: 14px 22px; border-radius: 999px; box-shadow: 0 10px 26px rgba(0, 0, 0, .28);
}

/* ---------- Adaptation écran ---------- */
@media (max-width: 1000px) {
  .hero .wrap, .split, .contact-grid { grid-template-columns: 1fr; gap: 38px; }
  .split.rev > :first-child { order: 0; }
  .g4 { grid-template-columns: repeat(2, 1fr); }
  .g3 { grid-template-columns: repeat(2, 1fr); }
  .figures { grid-template-columns: repeat(2, 1fr); }
  .steps, .steps.five { grid-template-columns: 1fr 1fr; }
  .steps::before { display: none; }
  .foot { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  section { padding: 60px 0; }
  .service { padding: 44px 0; }
  .burger { display: block; }
  .nav {
    position: absolute; top: 78px; left: 0; right: 0; display: none;
    flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 4px solid var(--red);
  }
  .nav.open { display: flex; }
  .nav a { padding: 16px 22px; border-bottom: 1px solid var(--line); }
  .nav .btn { margin: 16px 22px; }
  .g2, .g3, .g4, .row2, .steps, .steps.five { grid-template-columns: 1fr; }
  .foot { grid-template-columns: 1fr; }
  .hero-visual { aspect-ratio: 4 / 3; }
  .call-fab { display: inline-block; }
  footer { padding-bottom: 96px; }
}
