/* ============================================
   OUTWARES : Design system
   Bleu du logo + accent chaud (terracotta)
   ============================================ */

:root {
  --navy: #16324f;
  --navy-dark: #0e2439;
  --steel: #5c7fa0;
  --pale-blue: #c7d6e2;
  --warm: #e2712f;
  --warm-dark: #c65a1f;
  --warm-light: #f7a05f;
  --cream: #faf6f1;
  --paper: #ffffff;
  --ink: #1d2733;
  --ink-soft: #4a5763;
  --line: #e4ded5;

  --font-head: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;

  --radius: 14px;
  --shadow: 0 12px 30px -12px rgba(22, 50, 79, 0.25);
  --shadow-sm: 0 4px 14px -6px rgba(22, 50, 79, 0.18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 17px;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.2;
  margin: 0 0 0.6em;
  font-weight: 700;
}

h1 { font-size: clamp(2.1rem, 4vw, 3.1rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1.1em; color: var(--ink-soft); }

a { color: var(--warm-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

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

.wrap {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 80px 0; }
section.tight { padding: 56px 0; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--warm-dark);
  background: rgba(226, 113, 47, 0.1);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }

.btn-warm {
  background: var(--warm);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-warm:hover { background: var(--warm-dark); }

.btn-ghost {
  background: transparent;
  border-color: rgba(255,255,255,0.55);
  color: #fff;
}
.btn-ghost:hover { background: rgba(255,255,255,0.12); }

.btn-navy {
  background: var(--navy);
  color: #fff;
}
.btn-navy:hover { background: var(--navy-dark); }

.btn-outline {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: #fff; }

.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

/* ---------- Header ---------- */
header.site {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 246, 241, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 18px;
  padding: 14px 0;
  position: relative;
}

.nav .logo { flex-shrink: 0; }
.nav .logo img { height: 38px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
  flex-shrink: 1;
  min-width: 0;
}

.nav-links li { flex-shrink: 0; }

.nav-links a {
  color: var(--navy);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.92rem;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--warm-dark); text-decoration: none; }

.nav-cta {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
  margin-left: auto;
}

.phone-link {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--navy);
  font-size: 0.92rem;
  white-space: nowrap;
}

.burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.burger span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--navy);
  margin: 5px 0;
  border-radius: 2px;
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
  padding: 100px 0 90px;
}
.hero::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(226,113,47,0.35) 0%, rgba(226,113,47,0) 70%);
}
.hero .wrap { position: relative; z-index: 2; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}
.hero h1 { color: #fff; }
.hero p.lead {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.85);
  max-width: 46ch;
}
.hero-blocks {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}
.hero-blocks span {
  display: block;
  width: 34px;
  height: 34px;
  border-radius: 6px;
}
.hero-blocks span:nth-child(1) { background: var(--steel); }
.hero-blocks span:nth-child(2) { background: var(--pale-blue); }
.hero-blocks span:nth-child(3) { background: var(--warm); }

.hero-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  padding: 30px;
}
.hero-card ul { margin: 0; padding-left: 20px; color: rgba(255,255,255,0.9); }
.hero-card li { margin-bottom: 10px; }

/* ---------- Page header (non-home) ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: #fff;
  padding: 70px 0 60px;
}
.page-hero h1 { color: #fff; margin-bottom: 14px; }
.page-hero p { color: rgba(255,255,255,0.85); max-width: 60ch; font-size: 1.08rem; }
.breadcrumb {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 18px;
  font-family: var(--font-head);
}
.breadcrumb a { color: rgba(255,255,255,0.8); }

/* ---------- Cards / grids ---------- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.card .icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(226,113,47,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--warm-dark);
}
.card .icon svg { width: 26px; height: 26px; }

.card h3 { margin-bottom: 10px; }
.card p { margin-bottom: 0; font-size: 0.97rem; }
.card a.more { font-family: var(--font-head); font-weight: 700; font-size: 0.92rem; display: inline-block; margin-top: 14px; }

/* ---------- Two-pole band (home) ---------- */
.poles {
  background: var(--paper);
}
.pole-card {
  border-radius: var(--radius);
  padding: 40px;
  color: #fff;
  position: relative;
  overflow: hidden;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.pole-card.dev { background: linear-gradient(160deg, #1c3f61, #16324f); }
.pole-card.maint { background: linear-gradient(160deg, var(--warm), var(--warm-dark)); }
.pole-card h3 { color: #fff; font-size: 1.6rem; }
.pole-card p { color: rgba(255,255,255,0.88); }
.pole-card .btn { align-self: flex-start; }

/* ---------- Section titles ---------- */
.section-head { max-width: 700px; margin: 0 0 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.stat b {
  display: block;
  font-family: var(--font-head);
  font-size: 2.1rem;
  color: var(--navy);
}
.stat span { font-size: 0.9rem; color: var(--ink-soft); }

/* ---------- Testimonials ---------- */
.testi {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--line);
}
.testi .stars { color: var(--warm); margin-bottom: 10px; letter-spacing: 2px; }
.testi p { font-style: italic; }
.testi .who { font-family: var(--font-head); font-weight: 700; color: var(--navy); font-size: 0.9rem; }

/* ---------- Banner CTA ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--warm) 0%, var(--warm-dark) 100%);
  color: #fff;
  border-radius: 20px;
  padding: 56px;
  text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.9); max-width: 55ch; margin-left: auto; margin-right: auto; }
.cta-band .cta-row { justify-content: center; }

/* ---------- Timeline / steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.step {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}
.step .n {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--warm);
  margin-bottom: 10px;
}

/* ---------- Footer ---------- */
footer.site {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.75);
  padding: 60px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 40px;
}
footer.site h4 {
  color: #fff;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}
footer.site .logo img { height: 36px; margin-bottom: 14px; }
footer.site ul { list-style: none; margin: 0; padding: 0; }
footer.site li { margin-bottom: 10px; }
footer.site a { color: rgba(255,255,255,0.75); font-size: 0.94rem; }
footer.site a:hover { color: var(--warm-light); text-decoration: none; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
}
.footer-bottom a { color: rgba(255,255,255,0.6); }

/* ---------- Utilities ---------- */
.tag-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.tag {
  background: rgba(22,50,79,0.06);
  color: var(--navy);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
}

.cookie-table { width: 100%; border-collapse: collapse; margin: 18px 0 24px; font-size: 0.92rem; }
.cookie-table th, .cookie-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.cookie-table th { font-family: var(--font-head); color: var(--navy); font-weight: 700; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.04em; }

/* ---------- Bandeau logos clients (marquee) ---------- */
.clients-band {
  background: var(--paper);
  padding: 60px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.clients-band .section-head { margin-bottom: 30px; }
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 60px, #000 calc(100% - 60px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 60px, #000 calc(100% - 60px), transparent 100%);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 46px;
  width: max-content;
  animation: marquee-scroll 55s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track .client-logo {
  flex-shrink: 0;
  height: 56px;
  width: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  padding: 10px 16px;
}
.marquee-track .client-logo img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}
.marquee-track .client-logo.dark {
  background: var(--navy-dark);
  border-color: var(--navy-dark);
}
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .marquee { overflow-x: auto; }
}
@media (max-width: 600px) {
  .marquee-track .client-logo { height: 46px; width: 120px; padding: 8px 12px; }
  .clients-band { padding: 44px 0; }
}

.list-check { list-style: none; padding: 0; margin: 0; }
.list-check li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  color: var(--ink-soft);
}
.list-check li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--warm-dark);
  font-weight: 800;
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav-links, .nav-cta .phone-link { display: none; }
  .burger { display: block; }
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .grid-2, .grid-3, .grid-4, .stats, .steps, .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-band { padding: 40px 24px; }
}
@media (max-width: 600px) {
  section { padding: 56px 0; }
  .grid-2, .grid-3, .grid-4, .stats, .steps, .footer-grid { grid-template-columns: 1fr; }
  .nav-cta .btn { padding: 10px 18px; font-size: 0.9rem; }
  .cookie-table { display: block; overflow-x: auto; white-space: nowrap; }
}

/* ---------- Mobile nav ---------- */
.nav-links.open {
  display: flex;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--paper);
  flex-direction: column;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
  gap: 18px;
  z-index: 200;
}
