/* ============================================================
   Binz France — site vitrine
   Palette dérivée du logo : marine profond + bleu roi
   ============================================================ */

:root {
  --navy:        #12243d;
  --navy-2:      #1b3357;
  --blue:        #2f7fd6;
  --blue-dark:   #2467b8;
  --blue-soft:   #eaf2fc;
  --ink:         #1a2233;
  --muted:       #5a6b82;
  --bg:          #ffffff;
  --bg-soft:     #f6f8fb;
  --border:      #e6ebf2;
  --white:       #ffffff;

  --radius:      16px;
  --radius-sm:   10px;
  --shadow:      0 1px 2px rgba(18, 36, 61, .04), 0 8px 30px rgba(18, 36, 61, .07);
  --shadow-hov:  0 2px 6px rgba(18, 36, 61, .06), 0 16px 44px rgba(18, 36, 61, .12);

  --serif: Georgia, "Times New Roman", "Iowan Old Style", serif;
  --sans:  system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --maxw: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

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

/* ---------- Typo ---------- */
h1, h2, h3 { font-family: var(--serif); color: var(--navy); line-height: 1.2; margin: 0; }
.eyebrow {
  font-family: var(--sans);
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: 600;
  margin: 0 0 14px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}
.brand img { height: 52px; width: auto; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { color: var(--navy); font-weight: 500; font-size: .95rem; }
.nav a:hover { color: var(--blue); text-decoration: none; }
.nav .btn { color: var(--white); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: .95rem;
  font-family: var(--sans);
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .12s ease, background .15s ease, box-shadow .15s ease;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-dark); }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn-light { background: var(--white); color: var(--navy); }
.btn-light:hover { background: var(--blue-soft); }
.btn .arrow { transition: transform .15s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(47,127,214,.16), transparent 60%),
    linear-gradient(180deg, #0e1e33 0%, #13294a 100%);
  color: #eef3fa;
  padding: 88px 0 96px;
  overflow: hidden;
}
.hero .eyebrow { color: #7fb2f0; }
.hero h1 {
  color: #fff;
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  letter-spacing: -.01em;
  max-width: 15ch;
}
.hero p.lead {
  color: #c3d2e6;
  font-size: clamp(1.05rem, 2.2vw, 1.28rem);
  max-width: 56ch;
  margin: 22px 0 34px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Sections ---------- */
section { padding: 84px 0; }
.section-head { max-width: 60ch; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(1.7rem, 3.5vw, 2.3rem); }
.section-head p { color: var(--muted); font-size: 1.08rem; margin: 14px 0 0; }
.soft { background: var(--bg-soft); }

/* ---------- Société : intro texte + photo ---------- */
.societe-grid {
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  gap: 52px;
  align-items: center;
  margin-bottom: 56px;
}
.societe-photo { margin: 0; }
.societe-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 26%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: block;
}
.societe-photo figcaption {
  margin-top: 14px;
  text-align: center;
  color: var(--muted);
  font-size: .9rem;
}

/* ---------- Société : points ---------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.pillar {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}
.pillar .ic {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--blue-soft);
  margin-bottom: 16px;
}
.pillar h3 { font-size: 1.15rem; margin-bottom: 8px; }
.pillar p { color: var(--muted); margin: 0; font-size: .98rem; }

/* ---------- Nos outils : cartes ---------- */
.tools {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.tool {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow);
  transition: transform .16s ease, box-shadow .16s ease;
}
.tool:hover { transform: translateY(-4px); box-shadow: var(--shadow-hov); }
.tool .tool-top { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.tool .tool-badge {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: grid; place-items: center;
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 700;
  color: #fff;
  flex: none;
}
.tool.jafy .tool-badge { background: linear-gradient(135deg, #2f7fd6, #2467b8); }
.tool.charpente .tool-badge { background: linear-gradient(135deg, #1b3357, #12243d); }
.tool h3 { font-size: 1.45rem; }
.tool .tool-kicker { color: var(--blue); font-weight: 600; font-size: .82rem; letter-spacing: .04em; text-transform: uppercase; }
.tool p.desc { color: var(--muted); margin: 0 0 20px; }
.tool ul {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
  display: grid;
  gap: 10px;
}
.tool ul li {
  position: relative;
  padding-left: 26px;
  color: var(--ink);
  font-size: .97rem;
}
.tool ul li::before {
  content: "";
  position: absolute;
  left: 0; top: .5em;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--blue);
}
.tool .tool-cta { margin-top: auto; }

/* ---------- Réassurance ---------- */
.trust {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px 40px;
}
.trust .item { display: flex; gap: 16px; align-items: flex-start; }
.trust .item .ic {
  flex: none;
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--blue-soft);
  display: grid; place-items: center;
}
.trust .item h3 { font-size: 1.1rem; margin-bottom: 4px; }
.trust .item p { margin: 0; color: var(--muted); font-size: .97rem; }

/* ---------- CTA final ---------- */
.cta-band {
  background: linear-gradient(135deg, #13294a, #1b3357);
  border-radius: var(--radius);
  padding: 56px 48px;
  text-align: center;
  color: #fff;
}
.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.1rem); }
.cta-band p { color: #c3d2e6; max-width: 52ch; margin: 14px auto 30px; }
.cta-band .hero-actions { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: #b9c6d8;
  padding: 56px 0 34px;
}
.site-footer .cols {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(255,255,255,.10);
}
.site-footer img.flogo { height: 46px; margin-bottom: 16px; }
.site-footer h4 {
  color: #fff;
  font-family: var(--sans);
  font-size: .82rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin: 0 0 14px;
}
.site-footer a { color: #b9c6d8; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; font-size: .95rem; }
.site-footer .muted { font-size: .9rem; color: #8ea0b8; line-height: 1.7; }
.site-footer .legal-line {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  padding-top: 22px; font-size: .85rem; color: #8ea0b8;
}

/* ---------- Page mentions légales ---------- */
.doc { padding: 64px 0 80px; }
.doc .wrap { max-width: 760px; }
.doc h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); margin-bottom: 10px; }
.doc .updated { color: var(--muted); font-size: .95rem; margin-bottom: 40px; }
.doc h2 { font-size: 1.3rem; margin: 40px 0 12px; }
.doc p, .doc li { color: var(--ink); }
.doc .card {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin-top: 8px;
}
.doc .card dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 20px; }
.doc .card dt { color: var(--muted); }
.doc .card dd { margin: 0; font-weight: 500; }
.back-home { display: inline-flex; align-items: center; gap: 8px; margin-top: 44px; font-weight: 600; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .societe-grid { grid-template-columns: 1fr; gap: 32px; }
  .societe-photo img { aspect-ratio: 4 / 3; object-position: center 22%; max-height: 420px; }
  .pillars { grid-template-columns: 1fr; }
  .tools { grid-template-columns: 1fr; }
  .trust { grid-template-columns: 1fr; }
  .site-footer .cols { grid-template-columns: 1fr; gap: 30px; }
  .nav a:not(.btn) { display: none; }
  section { padding: 64px 0; }
  .hero { padding: 68px 0 72px; }
  .cta-band { padding: 44px 24px; }
  .doc .card dl { grid-template-columns: 1fr; gap: 2px 0; }
  .doc .card dd { margin-bottom: 10px; }
}
