:root {
  --navy:      #1A3A6B;
  --navy-dark: #0f2347;
  --navy-mid:  #22437a;
  --navy-pale: #edf1f8;
  --white:     #ffffff;
  --off:       #f8f8f6;
  --ink:       #1c1c2e;
  --ink-mid:   #3d3d52;
  --ink-light: #6b6b82;
  --rule:      #dddde8;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Lora', Georgia, serif;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.7;
}

@font-face { font-family: 'DV'; src: local('DejaVu Sans Bold'), local('DejaVuSans-Bold'); font-weight: 700; }
@font-face { font-family: 'DV'; src: local('DejaVu Sans'), local('DejaVuSans'); font-weight: 400; }
.dv { font-family: 'DV', 'Trebuchet MS', 'Gill Sans', sans-serif; }

/* ── UTILS ── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 2.5rem); }
.tag {
  font-family: 'DV', sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--navy);
  display: flex; align-items: center; gap: 0.6rem;
  margin-bottom: 1rem;
}
.tag::before { content: ''; display: block; width: 20px; height: 1.5px; background: var(--navy); opacity: 0.4; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: white;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
  height: 68px;
}
.nav-inner {
  height: 100%;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { text-decoration: none; display: flex; flex-direction: column; line-height: 1; gap: 1px; }
.nav-logo-top {
  font-family: 'DV', 'Trebuchet MS', sans-serif;
  font-size: 1rem; font-weight: 700;
  color: #0B2E78; letter-spacing: 0.04em;
}
.nav-logo-sub {
  font-family: 'DV', 'Trebuchet MS', sans-serif;
  font-size: 0.62rem; font-weight: 400;
  color: #0B2E78; letter-spacing: 0.18em;
  text-transform: uppercase; opacity: 0.7;
}
.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; }
.nav-links a {
  font-family: 'DV', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-light);
  text-decoration: none;
  transition: color .2s;
}

#tel{
  color: var(--white);
}

.nav-links a:hover { color: var(--navy); }
.nav-tel {
  font-family: 'DV', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--white);
  background: var(--navy);
  text-decoration: none;
  letter-spacing: 0.04em;
  padding: 0.6rem 1.4rem;
  border-radius: 2px;
  transition: background .2s;
}
.nav-tel:hover { background: var(--navy-dark); }

/* ── HERO ── */
#hero {
  min-height: 100vh;
  padding-top: 68px;
  background: var(--navy);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
#hero canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  padding: clamp(3rem, 7vw, 7rem) 0;
  max-width: 720px;
}
.hero-tag {
  font-family: 'DV', sans-serif;
  font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  display: flex; align-items: center; gap: 0.75rem;
  margin-bottom: 1.75rem;
}
.hero-tag::before { content: ''; display: block; width: 24px; height: 1px; background: rgba(255,255,255,0.25); }
.hero-h1 {
  font-family: 'DV', sans-serif;
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 700; color: var(--white);
  line-height: 1.08; margin-bottom: 1.5rem;
}
.hero-lead {
  font-size: 1.05rem; color: rgba(255,255,255,0.6);
  max-width: 520px; margin-bottom: 2.5rem; line-height: 1.85;
}
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-white {
  font-family: 'DV', sans-serif; font-weight: 700;
  font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase;
  background: var(--white); color: var(--navy);
  padding: 0.95rem 2rem; border-radius: 2px; text-decoration: none;
  transition: transform .2s, box-shadow .2s; display: inline-block;
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.3); }
.btn-outline-w {
  font-family: 'DV', sans-serif; font-size: 0.82rem;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(255,255,255,0.7); border: 1.5px solid rgba(255,255,255,0.25);
  padding: 0.95rem 2rem; border-radius: 2px; text-decoration: none;
  transition: border-color .2s, color .2s; display: inline-block;
}
.btn-outline-w:hover { border-color: rgba(255,255,255,0.6); color: var(--white); }

/* Animations hero */
@keyframes fadeUp { from { opacity:0; transform:translateY(20px); } to { opacity:1; transform:translateY(0); } }
.hero-tag   { animation: fadeUp .5s .05s both; }
.hero-h1    { animation: fadeUp .5s .15s both; }
.hero-lead  { animation: fadeUp .5s .25s both; }
.hero-btns  { animation: fadeUp .5s .35s both; }

/* Logo typo hero */
.hero-logo-typo {
  display: flex; flex-direction: column; gap: 2px;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.hlt-top {
  font-family: 'DV', 'Trebuchet MS', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: #0B2E78;
  letter-spacing: 0.04em;
  line-height: 1;
}
.hlt-sub {
  font-family: 'DV', 'Trebuchet MS', sans-serif;
  font-size: clamp(0.8rem, 1.4vw, 1.1rem);
  font-weight: 400;
  color: #0B2E78;
  letter-spacing: 0.28em;
  opacity: 0.7;
}

/* ── SECTION GÉNÉRIQUE ── */
.section { padding: clamp(4rem, 8vw, 7rem) 0; }
.section-alt { background: var(--off); }
.section-navy { background: var(--navy); }

.s-header { margin-bottom: 3rem; }
.s-title {
  font-family: 'DV', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700; color: var(--ink); line-height: 1.15;
}
.s-title-w { color: var(--white); }
.s-lead { font-size: 1rem; color: var(--ink-light); max-width: 520px; margin-top: 0.75rem; }
.s-lead-w { color: rgba(255,255,255,0.55); }

/* ── SERVICES ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  border: 1.5px solid var(--rule);
  gap: 0;
}
.svc {
  padding: 2rem;
  border-right: 1.5px solid var(--rule);
  border-bottom: 1.5px solid var(--rule);
  background: var(--white);
  transition: background .2s;
}
.svc:hover { background: var(--navy-pale); }
.svc-ico {
  width: 38px; height: 38px; margin-bottom: 1.25rem;
  color: var(--navy); opacity: 0.8;
}
.svc-ico svg { width: 100%; height: 100%; }
.svc-name {
  font-family: 'DV', sans-serif; font-size: 0.95rem; font-weight: 700;
  color: var(--ink); margin-bottom: 0.5rem;
}
.svc-desc { font-size: 0.875rem; color: var(--ink-light); line-height: 1.7; }

/* ── CREDIT IMPOT BANNER ── */
.ci-banner {
  background: var(--navy-pale);
  border-left: 4px solid var(--navy);
  border-top: 4px solid var(--navy);
  padding: 1.5rem 2rem;
  display: flex; align-items: center; gap: 1.5rem;
  margin-top: 2.5rem; border-radius: 0 4px 4px 0;
}
.ci-pct {
  font-family: 'DV', sans-serif; font-size: 2.5rem; font-weight: 700;
  color: var(--navy); line-height: 1; white-space: nowrap;
}
.ci-text { font-size: 0.9rem; color: var(--ink-mid); line-height: 1.6; }
.ci-text strong { font-family: 'DV', sans-serif; color: var(--ink); }

/* ── POURQUOI ── */
.args { display: grid; grid-template-columns: repeat(3,1fr); gap: 3rem; }
.arg-n {
  font-family: 'DV', sans-serif; font-size: 0.68rem; font-weight: 700;
  color: rgba(255,255,255,0.2); letter-spacing: 0.15em; margin-bottom: 1.25rem;
}
.arg-title {
  font-family: 'DV', sans-serif; font-size: 1.05rem; font-weight: 700;
  color: var(--white); margin-bottom: 0.6rem;
}
.arg-text { font-size: 0.9rem; color: rgba(255,255,255,0.55); line-height: 1.8; }
.arg { padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.1); }

/* ── CONTACT ── */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 5rem; align-items: start;
}
.ci-block { margin-bottom: 1.75rem; }
.ci-label {
  font-family: 'DV', sans-serif; font-size: 0.65rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--ink-light); margin-bottom: 0.3rem;
}
.ci-val {
  font-family: 'DV', sans-serif; font-size: 1.05rem; font-weight: 700;
  color: var(--ink); text-decoration: none; display: block; transition: color .2s;
}
.ci-val:hover { color: var(--navy); }
.ci-val-sm { font-weight: 400; font-size: 0.95rem; font-family: 'Lora', serif; color: var(--ink-mid); }

.form { display: flex; flex-direction: column; gap: 1.25rem; }
.fg { display: flex; flex-direction: column; gap: 0.4rem; }
.fl {
  font-family: 'DV', sans-serif; font-size: 0.72rem;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-light);
}
.fi, .ft {
  font-family: 'Lora', serif; font-size: 0.95rem; color: var(--ink);
  background: var(--off); border: 1.5px solid var(--rule); border-radius: 2px;
  padding: 0.8rem 1rem; outline: none; transition: border-color .2s; width: 100%;
}
.fi:focus, .ft:focus { border-color: var(--navy); }
.ft { min-height: 120px; resize: vertical; }
.fsend {
  font-family: 'DV', sans-serif; font-size: 0.82rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  background: var(--navy); color: var(--white); border: none;
  padding: 1rem 2.25rem; border-radius: 2px; cursor: pointer;
  align-self: flex-start; transition: background .2s, transform .2s;
}
.fsend:hover { background: var(--navy-dark); transform: translateY(-1px); }

.svc-exemples {
  font-size: 0.78rem;
  color: var(--ink-light);
  font-style: italic;
  margin-top: 0.6rem;
  line-height: 1.6;
  opacity: 0.75;
}

/* Réseaux sociaux */
.rs-bar {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--rule);
}
.rs-label {
  font-family: 'DV', sans-serif;
  font-size: 0.65rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--ink-light);
  margin-bottom: 1rem;
}
.rs-links { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.rs-link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: 'DV', sans-serif; font-size: 0.8rem; font-weight: 700;
  color: var(--navy); border: 1.5px solid var(--rule);
  padding: 0.55rem 1rem; border-radius: 2px; text-decoration: none;
  transition: background .2s, border-color .2s, color .2s;
}
.rs-link:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }
.rs-link svg { width: 16px; height: 16px; flex-shrink: 0; }

/* ── FOOTER ── */
footer {
  background: var(--navy-dark);
  padding: 2rem clamp(1.25rem,4vw,2.5rem);
}
.foot {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
}
footer img { height: 26px; filter: brightness(0) invert(1); opacity: 0.4; }
.foot-copy {
  font-family: 'DV', sans-serif; font-size: 0.72rem;
  color: rgba(255,255,255,0.25); letter-spacing: 0.04em;
}
.foot-links { display: flex; gap: 2rem; list-style: none; }
.foot-links a {
  font-family: 'DV', sans-serif; font-size: 0.72rem;
  color: rgba(255,255,255,0.25); text-decoration: none; transition: color .2s;
}
.foot-links a:hover { color: rgba(255,255,255,0.6); }

/* ── RESPONSIVE ── */
@media (max-width: 860px) {
  .args { grid-template-columns: 1fr; gap: 1.5rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .nav-links li:not(:last-child) { display: none; }
}

/* ── LOGO NAV (image) ── */
.nav-logo-img { max-width: 150px; }

/* ── TAG BLANC (section engagements) ── */
.tag-w { color: rgba(255,255,255,0.35); }
.tag-w::before { display: none; }
.tag-rule {
  display: inline-block;
  width: 20px; height: 1.5px;
  background: rgba(255,255,255,0.2);
  vertical-align: middle;
  margin-right: 0.6rem;
}

/* ── EMAIL CONTACT (taille réduite) ── */
.ci-val-email { font-size: 0.9rem; }

/* ── HONEYPOT ── */
.fhoney { display: none; }

/* ── TOAST ── */
#toast {
  position: fixed;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--navy); color: var(--white);
  font-family: 'DV', 'Trebuchet MS', sans-serif;
  font-size: 0.85rem; letter-spacing: 0.05em;
  padding: 1rem 2rem; border-radius: 2px;
  opacity: 0; transition: opacity .3s, transform .3s;
  pointer-events: none; z-index: 999; white-space: nowrap;
}
#toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ── FOOTER LOGO ── */
.foot-logo {
  text-decoration: none;
  display: flex; flex-direction: column;
  line-height: 1; gap: 2px;
}
.foot-logo-name {
  font-family: 'DV', 'Trebuchet MS', sans-serif;
  font-size: 0.9rem; font-weight: 700;
  color: rgba(255,255,255,0.5); letter-spacing: 0.04em;
}
.foot-logo-sub {
  font-family: 'DV', 'Trebuchet MS', sans-serif;
  font-size: 0.58rem; font-weight: 400;
  color: rgba(255,255,255,0.3); letter-spacing: 0.18em;
  text-transform: uppercase;
}
