/* ===========================================================
   Sirea — feuille de style
   Palette issue du logo
   =========================================================== */

:root {
  --navy: #0D1F3C;
  --navy-700: #122a52;
  --blue: #5BA3D9;
  --blue-mid: #2B6CB0;
  --white: #ffffff;
  --ink: #1a2433;
  --muted: #5b6b80;
  --line: #e3e9f1;
  --bg-soft: #f5f8fc;

  --maxw: 1120px;
  --radius: 14px;
  --shadow: 0 12px 40px rgba(13, 31, 60, 0.10);
  --shadow-sm: 0 4px 16px rgba(13, 31, 60, 0.08);

  --font: "Helvetica Neue", Helvetica, Arial, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 300;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-weight: 300; line-height: 1.2; color: var(--navy); margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); letter-spacing: 1px; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); letter-spacing: .5px; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }
a { color: var(--blue-mid); text-decoration: none; transition: color .2s; }
a:hover { color: var(--navy); }

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

.eyebrow {
  display: inline-block;
  font-size: .78rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--blue-mid);
  margin-bottom: 1rem;
  font-weight: 400;
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 1.6rem;
  border-radius: 999px;
  font-size: .95rem;
  letter-spacing: .5px;
  font-weight: 400;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .15s, box-shadow .2s, background .2s, color .2s;
}
.btn-primary { background: var(--blue-mid); color: #fff; }
.btn-primary:hover { background: var(--navy); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.btn-ghost { border-color: rgba(255,255,255,.4); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.1); color: #fff; }
.btn-outline { border-color: var(--line); color: var(--navy); background: #fff; }
.btn-outline:hover { border-color: var(--blue); color: var(--blue-mid); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}
.brand { display: flex; align-items: center; gap: .7rem; }
.brand img { height: 38px; width: auto; display: block; }
.brand .brand-name {
  font-size: 1.35rem;
  letter-spacing: 6px;
  color: var(--navy);
  font-weight: 300;
}
.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  color: var(--ink);
  font-size: .95rem;
  letter-spacing: .5px;
  position: relative;
}
.nav-links a:hover { color: var(--blue-mid); }
.nav-links a.active { color: var(--blue-mid); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 100%; height: 2px;
  background: var(--blue);
}
.nav-cta { margin-left: .5rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--navy); transition: .3s; }

/* ---------- Hero ---------- */
.hero {
  background: radial-gradient(circle at 20% 20%, var(--navy-700), var(--navy) 70%);
  color: #fff;
  position: relative;
  overflow: hidden;
  padding: clamp(5rem, 12vw, 9rem) 0 clamp(4rem, 9vw, 7rem);
}
.hero::after {
  content: "";
  position: absolute;
  right: -120px; top: -120px;
  width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(91,163,217,.35), transparent 70%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; max-width: 820px; }
.hero h1 { color: #fff; }
.hero .lead { font-size: clamp(1.05rem, 2vw, 1.3rem); color: #c9d6e8; max-width: 640px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.hero .eyebrow { color: var(--blue); }

/* ---------- Sections ---------- */
section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section-head { max-width: 680px; margin-bottom: 3rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.bg-soft { background: var(--bg-soft); }

/* ---------- À propos / valeurs ---------- */
.grid { display: grid; gap: 1.5rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.value-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.8rem;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.value-card .ico {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--blue), var(--blue-mid));
  display: grid; place-items: center;
  margin-bottom: 1.2rem;
  color: #fff;
}
.value-card .ico svg { width: 24px; height: 24px; }
.value-card p { color: var(--muted); margin: 0; }

/* ---------- Services ---------- */
.service {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.service + .service { margin-top: 4rem; }
.service .visual {
  background: linear-gradient(135deg, var(--navy), var(--navy-700));
  border-radius: var(--radius);
  min-height: 280px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.service .visual::before {
  content: "";
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,.04) 0 1px, transparent 1px 28px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.04) 0 1px, transparent 1px 28px);
}
.service .visual .badge {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 90px; height: 90px;
  display: grid; place-items: center;
}
.service .visual .badge svg { width: 100%; height: 100%; }
.service:nth-child(even) .text { order: 2; }
.service ul { list-style: none; padding: 0; margin: 1.2rem 0 0; }
.service ul li { position: relative; padding-left: 1.6rem; margin-bottom: .6rem; color: var(--muted); }
.service ul li::before {
  content: "";
  position: absolute; left: 0; top: .55em;
  width: 8px; height: 8px; border-radius: 2px;
  background: var(--blue);
}
.service .tag {
  display: inline-block;
  font-size: .75rem; letter-spacing: 2px; text-transform: uppercase;
  color: var(--blue-mid); font-weight: 400; margin-bottom: .8rem;
}

/* ---------- Étapes / approche ---------- */
.steps { counter-reset: step; }
.step { display: flex; gap: 1.2rem; align-items: flex-start; }
.step .num {
  counter-increment: step;
  flex: 0 0 auto;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--blue);
  color: var(--blue-mid);
  display: grid; place-items: center;
  font-weight: 400;
}
.step .num::before { content: "0" counter(step); }
.step h3 { margin-bottom: .25rem; }
.step p { color: var(--muted); margin: 0; }

/* ---------- CTA bande ---------- */
.cta-band {
  background: radial-gradient(circle at 80% 30%, var(--navy-700), var(--navy));
  color: #fff;
  border-radius: 20px;
  padding: clamp(2.5rem, 6vw, 4rem);
  text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #c9d6e8; max-width: 520px; margin: 0 auto 2rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 3rem; align-items: start; }
.contact-info .info-item { display: flex; gap: 1rem; margin-bottom: 1.8rem; }
.contact-info .info-item .ico {
  flex: 0 0 auto; width: 44px; height: 44px; border-radius: 12px;
  background: var(--bg-soft); color: var(--blue-mid);
  display: grid; place-items: center;
}
.contact-info .info-item .ico svg { width: 22px; height: 22px; }
.contact-info h3 { margin: 0 0 .15rem; font-size: 1.05rem; }
.contact-info .info-item p, .contact-info .info-item a { margin: 0; color: var(--muted); }

.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.2rem;
  box-shadow: var(--shadow-sm);
}
.field { margin-bottom: 1.3rem; }
.field label { display: block; font-size: .9rem; letter-spacing: .5px; margin-bottom: .5rem; color: var(--navy); }
.field input, .field textarea, .field select {
  width: 100%;
  padding: .85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 300;
  color: var(--ink);
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(91,163,217,.18);
}
.form-note { font-size: .82rem; color: var(--muted); margin-top: 1rem; }
.form-status { margin-top: 1rem; font-size: .95rem; display: none; }
.form-status.ok { display: block; color: #1a7f47; }
.form-status.err { display: block; color: #c0392b; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: #c9d6e8;
  padding: 3.5rem 0 2rem;
}
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2rem; margin-bottom: 2.5rem; }
.footer-brand { max-width: 320px; }
.footer-brand .brand { margin-bottom: 1rem; }
.footer-brand .brand img { height: 40px; }
.footer-brand .brand-name { color: #fff; }
.footer-brand p { color: #93a7c2; font-size: .95rem; }
.footer-cols { display: flex; gap: 4rem; flex-wrap: wrap; }
.footer-cols h4 { color: #fff; font-weight: 400; font-size: .9rem; letter-spacing: 1.5px; text-transform: uppercase; margin: 0 0 1rem; }
.footer-cols ul { list-style: none; padding: 0; margin: 0; }
.footer-cols li { margin-bottom: .6rem; }
.footer-cols a { color: #93a7c2; font-size: .95rem; }
.footer-cols a:hover { color: var(--blue); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 1.5rem;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  font-size: .85rem; color: #7e93b0;
}

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

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .service { grid-template-columns: 1fr; gap: 1.8rem; }
  .service:nth-child(even) .text { order: 0; }
  .contact-grid { grid-template-columns: 1fr; }

  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute;
    top: 74px; left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: .5rem 24px 1.5rem;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: .9rem 0; width: 100%; border-bottom: 1px solid var(--line); }
  .nav-links a.active::after { display: none; }
  .nav-cta { margin: 1rem 0 0; }
}
