/* =========================================================
   INS imprimerie — Feuille de style globale
   Refonte 2026 — design moderne, responsive
   ========================================================= */

:root {
  --ink:        #0e1726;   /* bleu nuit / encre */
  --ink-soft:   #1c2940;
  --accent:     #e3001b;   /* rouge INS */
  --accent-2:   #ff5a3c;
  --cyan:       #00a8c6;
  --magenta:    #e3007e;
  --yellow:     #ffcd00;
  --bg:         #ffffff;
  --bg-alt:     #f5f7fa;
  --bg-dark:    #0e1726;
  --text:       #1f2937;
  --text-soft:  #5b6577;
  --line:       #e6e9ee;
  --white:      #ffffff;
  --radius:     16px;
  --radius-sm:  10px;
  --shadow:     0 10px 40px rgba(14,23,38,.10);
  --shadow-sm:  0 4px 18px rgba(14,23,38,.08);
  --maxw:       1180px;
  --font:       'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 { line-height: 1.15; color: var(--ink); font-weight: 700; }
h1 { font-size: clamp(2.2rem, 5vw, 4rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.6rem); letter-spacing: -.01em; }
h3 { font-size: 1.25rem; }

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

section { padding: 88px 0; }

.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.lead { font-size: 1.12rem; color: var(--text-soft); max-width: 620px; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: .98rem;
  padding: 14px 28px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 24px rgba(227,0,27,.28); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(227,0,27,.38); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 1.25rem; color: var(--ink); letter-spacing: -.02em; }
.brand .logo-mark {
  width: 40px; height: 40px; border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 1.05rem;
}
.brand .brand-logo { height: 48px; width: auto; display: block; }
.brand small { display:block; font-size:.62rem; font-weight:600; letter-spacing:.14em; color:var(--text-soft); text-transform:uppercase; }
/* Logo dans le pied de page (sur fond sombre) : posé sur une pastille blanche pour rester lisible */
.footer-logo { display:inline-block; background:#fff; padding:10px 14px; border-radius:12px; margin-bottom:16px; }
.footer-logo img { height: 42px; width:auto; display:block; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-links a {
  padding: 10px 16px; border-radius: 999px; font-weight: 500; font-size: .96rem; color: var(--ink);
  transition: background .2s, color .2s;
}
.nav-links a:hover, .nav-links a.active { background: var(--bg-alt); color: var(--accent); }
/* Menu déroulant "Nos prestations" */
.has-sub { position: relative; }
.has-sub > a::after { content: " ▾"; font-size: .7em; opacity: .7; }
.submenu { list-style: none; position: absolute; top: calc(100% + 6px); left: 0; min-width: 250px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow);
  padding: 8px; display: none; }
.has-sub:hover .submenu, .has-sub:focus-within .submenu { display: block; }
.submenu li { width: 100%; }
.submenu a { display: block; padding: 11px 14px; border-radius: 9px; font-size: .94rem; white-space: nowrap; }
.submenu a:hover { background: var(--bg-alt); color: var(--accent); }
/* Bandeau d'intro des pages spécialités */
.spec-list { list-style: none; display: grid; gap: 14px; margin-top: 8px; }
.spec-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--text-soft); }
.spec-list li::before { content: "✓"; color: var(--accent); font-weight: 800; flex: 0 0 auto; }
.nav-cta { margin-left: 8px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; flex-direction: column; gap: 5px; }
.nav-toggle span { width: 26px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: .3s; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
  padding: 0;
}
.hero-inner {
  display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 40px;
  min-height: 86vh; padding: 80px 0;
}
.hero h1 { color: #fff; }
.hero .lead { color: rgba(255,255,255,.78); margin: 22px 0 32px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-badge {
  display:inline-flex; align-items:center; gap:8px;
  background: rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.16);
  padding:8px 16px; border-radius:999px; font-size:.82rem; font-weight:500; margin-bottom:24px;
}
.hero-badge .dot { width:8px; height:8px; border-radius:50%; background:var(--yellow); }
.hero-art { position: relative; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hero-grid img { border-radius: var(--radius); object-fit: cover; width: 100%; height: 100%; box-shadow: var(--shadow); }
.hero-grid .tall { grid-row: span 2; height: 100%; }
.hero-stripe {
  position:absolute; inset:0; pointer-events:none;
  background:
    radial-gradient(700px 300px at 80% -10%, rgba(227,0,27,.25), transparent 60%),
    radial-gradient(500px 300px at 0% 110%, rgba(0,168,198,.18), transparent 60%);
}
.cmyk-bar { display:flex; height:6px; }
.cmyk-bar span { flex:1; }
.cmyk-bar .c{background:var(--cyan)} .cmyk-bar .m{background:var(--magenta)} .cmyk-bar .y{background:var(--yellow)} .cmyk-bar .k{background:var(--ink)}

/* ---------- Page banner (sous-pages) ---------- */
.page-banner {
  background: var(--ink); color: #fff; text-align: center; padding: 90px 0 80px; position: relative; overflow: hidden;
}
.page-banner h1 { color: #fff; }
.page-banner p { color: rgba(255,255,255,.75); margin-top: 12px; }
.page-banner::after {
  content:""; position:absolute; inset:0; pointer-events:none;
  background: radial-gradient(600px 260px at 70% -20%, rgba(227,0,27,.28), transparent 60%);
}

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { background: var(--bg-alt); border-radius: var(--radius); padding: 30px 24px; text-align: center; }
.stat .num { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; color: var(--accent); letter-spacing: -.02em; }
.stat .label { color: var(--text-soft); font-weight: 500; font-size: .95rem; }

/* ---------- Section "split" ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); width:100%; }
.split.alt { direction: rtl; }
.split.alt > * { direction: ltr; }

.section-head { text-align: center; max-width: 640px; margin: 0 auto 52px; }
.section-head .lead { margin: 0 auto; }

/* ---------- Cards services ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 28px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card .ico {
  width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(227,0,27,.12), rgba(255,90,60,.12)); color: var(--accent);
  font-size: 1.5rem; margin-bottom: 18px;
}
.card h3 { margin-bottom: 10px; }
.card p { color: var(--text-soft); font-size: .97rem; }

/* ---------- Ateliers (offres) ---------- */
.offers { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.offer { border-radius: var(--radius); padding: 44px 38px; color: #fff; position: relative; overflow: hidden; }
.offer.dyn { background: linear-gradient(135deg, #15314f, #0e1726); }
.offer.prestige { background: linear-gradient(135deg, var(--accent), #a30014); }
.offer h3 { color: #fff; font-size: 1.7rem; margin-bottom: 14px; }
.offer p { color: rgba(255,255,255,.85); margin-bottom: 26px; }
.offer .tag { font-size:.75rem; letter-spacing:.16em; text-transform:uppercase; opacity:.7; font-weight:600; }

/* ---------- Galerie ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tile { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; box-shadow: var(--shadow-sm); }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.tile:hover img { transform: scale(1.07); }
.tile .cap {
  position: absolute; inset: auto 0 0 0; padding: 22px 20px 18px;
  background: linear-gradient(to top, rgba(14,23,38,.85), transparent);
  color: #fff; font-weight: 600; font-size: 1.05rem; letter-spacing: .02em;
}
.tile .cap small { display:block; font-weight:400; font-size:.8rem; opacity:.8; }

/* ---------- Bandeau supports ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 12px; }
.chip {
  background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 10px 20px;
  font-weight: 500; font-size: .95rem; color: var(--ink); transition: .2s;
}
.chip:hover { border-color: var(--accent); color: var(--accent); }

.support-grid { display:grid; grid-template-columns: repeat(4,1fr); gap:16px; }
.support {
  background:#fff; border:1px solid var(--line); border-radius:var(--radius-sm); overflow:hidden; transition:.25s;
}
.support:hover { transform:translateY(-4px); box-shadow:var(--shadow-sm); }
.support img { aspect-ratio: 4/3; object-fit: cover; width:100%; }
.support .ph { aspect-ratio:4/3; display:grid; place-items:center; font-weight:600; color:#5b6577; letter-spacing:.04em;
  background:linear-gradient(135deg,#b9c2cc 0%,#eef1f4 45%,#aab3bd 70%,#cfd6dd 100%); }
.support span { display:block; padding:12px 14px; font-weight:500; font-size:.92rem; }

/* ---------- Clients ---------- */
.logos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; align-items: center; }
.logos img { filter: grayscale(1); opacity: .65; transition: .3s; margin: 0 auto; max-height: 70px; width:auto; }
.logos img:hover { filter: none; opacity: 1; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff; border-radius: var(--radius); padding: 56px; text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.9); max-width: 560px; margin: 12px auto 28px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
.info-list { list-style: none; display: grid; gap: 22px; }
.info-list li { display: flex; gap: 16px; align-items: flex-start; }
.info-list .ico { width: 46px; height: 46px; flex: 0 0 46px; border-radius: 12px; display: grid; place-items: center; background: var(--bg-alt); color: var(--accent); font-size: 1.15rem; }
.info-list strong { display: block; color: var(--ink); }
.info-list span { color: var(--text-soft); font-size: .96rem; }
form .field { margin-bottom: 18px; }
form label { display: block; font-weight: 500; font-size: .9rem; margin-bottom: 6px; }
form input, form textarea {
  width: 100%; padding: 13px 16px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-family: inherit; font-size: .98rem; background: var(--bg-alt); transition: .2s;
}
form input:focus, form textarea:focus { outline: none; border-color: var(--accent); background: #fff; }
.map-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); margin-top: 40px; }
.map-wrap iframe { width: 100%; height: 320px; border: 0; display: block; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.75); padding: 64px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; letter-spacing:.02em; }
.site-footer a { color: rgba(255,255,255,.72); transition: color .2s; }
.site-footer a:hover { color: #fff; }
.footer-links { list-style: none; display: grid; gap: 10px; font-size: .95rem; }
.footer-brand .logo-mark { margin-bottom: 16px; }
.socials { display: flex; gap: 12px; margin-top: 18px; }
.socials a { width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,.08); display: grid; place-items: center; font-size: .9rem; font-weight:600; transition:.2s; }
.socials a:hover { background: var(--accent); }
.footer-bottom { margin-top: 46px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .85rem; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-inner, .split, .contact-grid { grid-template-columns: 1fr; }
  .hero-inner { min-height: auto; padding: 56px 0; }
  .split.alt { direction: ltr; }
  .cards, .stats, .gallery { grid-template-columns: repeat(2, 1fr); }
  .offers { grid-template-columns: 1fr; }
  .support-grid { grid-template-columns: repeat(3,1fr); }
  .logos { grid-template-columns: repeat(3,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  section { padding: 60px 0; }
  .nav-links {
    position: absolute; top: 76px; left: 0; right: 0; background: #fff; flex-direction: column;
    align-items: stretch; gap: 0; padding: 12px 16px 20px; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow); display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 12px; border-radius: 10px; }
  .submenu { position: static; display: block; box-shadow: none; border: 0; padding: 0 0 0 14px; min-width: 0; }
  .has-sub > a::after { content: ""; }
  .submenu a { padding: 11px 12px; font-size: .92rem; }
  .nav-cta { margin: 8px 0 0; }
  .nav-toggle { display: flex; }
  .stats, .cards, .gallery, .support-grid, .logos { grid-template-columns: 1fr 1fr; }
  .cta-band { padding: 40px 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .stat .num { font-size: 2rem; }
}
