/* ==========================================================================
   Impact Vert Communication — Feuille de style
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,500;0,9..144,600;0,9..144,700;1,9..144,500&family=Inter:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500&display=swap');

:root{
  --forest:#0F3D2E;
  --forest-soft:#1B5E3F;
  --leaf-1:#1B6B45;
  --leaf-2:#4CAF7D;
  --paper:#F6F4EC;
  --paper-alt:#EDF1E6;
  --paper-line:#DDE3D4;
  --gold:#C9A227;
  --gold-soft:#E7D28F;
  --ink:#182A22;
  --ink-soft:#4B5E53;
  --white:#FFFFFF;

  --font-display: 'Fraunces', serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;

  --radius: 18px;
  --container: 1180px;
}

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

html{ scroll-behavior:smooth; }

body{
  font-family:var(--font-body);
  background:var(--paper);
  color:var(--ink);
  line-height:1.6;
  overflow-x:hidden;
}

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

a{ color:inherit; text-decoration:none; }

.container{
  max-width:var(--container);
  margin:0 auto;
  padding:0 32px;
}

section{ position:relative; }

/* ---------- Utility ---------- */
.eyebrow{
  font-family:var(--font-mono);
  font-size:.78rem;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--gold);
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:18px;
}
.eyebrow::before{
  content:'';
  width:26px;
  height:1px;
  background:var(--gold);
  display:inline-block;
}

h1,h2,h3,h4{
  font-family:var(--font-display);
  color:var(--forest);
  font-weight:600;
  line-height:1.15;
}

.lede{
  color:var(--ink-soft);
  font-size:1.08rem;
  max-width:60ch;
}

.btn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:14px 28px;
  border-radius:100px;
  font-family:var(--font-body);
  font-weight:600;
  font-size:.95rem;
  cursor:pointer;
  border:1px solid transparent;
  transition:transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
}
.btn-primary{
  background:var(--forest);
  color:var(--paper);
  box-shadow:0 8px 20px -8px rgba(15,61,46,.55);
}
.btn-primary:hover{ transform:translateY(-2px); box-shadow:0 14px 26px -10px rgba(15,61,46,.6); }
.btn-ghost{
  background:transparent;
  border-color:rgba(15,61,46,.25);
  color:var(--forest);
}
.btn-ghost:hover{ border-color:var(--forest); background:rgba(15,61,46,.05); }
.btn-gold{
  background:var(--gold);
  color:var(--forest);
}
.btn-gold:hover{ transform:translateY(-2px); box-shadow:0 14px 26px -10px rgba(201,162,39,.55); }

/* ---------- Vein divider (signature motif) ---------- */
.vein{
  width:34px;
  height:60px;
  flex-shrink:0;
}
.vein path{
  fill:none;
  stroke:var(--gold);
  stroke-width:2.4;
  stroke-linecap:round;
}

.section-divider{
  display:flex;
  justify-content:center;
  padding:6px 0;
  opacity:.55;
}
.section-divider svg{ width:40px; height:70px; }
.section-divider path{ fill:none; stroke:var(--leaf-1); stroke-width:2; stroke-linecap:round; }

/* ---------- Header ---------- */
header{
  position:sticky;
  top:0;
  z-index:100;
  background:rgba(246,244,236,.86);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--paper-line);
}
.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:16px 32px;
  max-width:var(--container);
  margin:0 auto;
}
.brand{
  display:flex;
  align-items:center;
  gap:12px;
}
.brand img{ height:38px; width:auto; }
.brand-text{
  font-family:var(--font-display);
  font-weight:600;
  font-size:1.15rem;
  color:var(--forest);
  line-height:1.1;
}
.brand-text span{
  display:block;
  font-family:var(--font-mono);
  font-size:.62rem;
  letter-spacing:.12em;
  color:var(--ink-soft);
  font-weight:400;
  text-transform:uppercase;
}
.nav-links{
  display:flex;
  align-items:center;
  gap:38px;
}
.nav-links a{
  font-size:.92rem;
  font-weight:500;
  color:var(--ink);
  position:relative;
  padding:4px 0;
}
.nav-links a::after{
  content:'';
  position:absolute;
  left:0; bottom:0;
  width:0; height:2px;
  background:var(--gold);
  transition:width .25s ease;
}
.nav-links a:hover::after, .nav-links a.active::after{ width:100%; }
.nav-links a.active{ color:var(--forest); font-weight:600; }

.nav-cta{ display:flex; align-items:center; gap:18px; }

.burger{
  display:none;
  flex-direction:column;
  gap:5px;
  cursor:pointer;
  background:none;
  border:none;
  padding:6px;
}
.burger span{
  width:24px; height:2px; background:var(--forest); display:block; border-radius:2px;
  transition:transform .25s ease, opacity .25s ease;
}

/* ---------- Footer ---------- */
footer{
  background:var(--forest);
  color:var(--paper);
  padding:70px 0 30px;
  margin-top:120px;
}
.footer-grid{
  display:grid;
  grid-template-columns:1.4fr 1fr 1fr 1fr;
  gap:40px;
  padding-bottom:50px;
  border-bottom:1px solid rgba(246,244,236,.15);
}
footer h4{
  color:var(--paper);
  font-family:var(--font-mono);
  font-size:.78rem;
  letter-spacing:.1em;
  text-transform:uppercase;
  font-weight:500;
  margin-bottom:18px;
  opacity:.75;
}
.footer-brand-text{
  font-family:var(--font-display);
  font-size:1.3rem;
  color:var(--paper);
  margin-bottom:14px;
}
.footer-desc{ color:rgba(246,244,236,.65); font-size:.92rem; max-width:32ch; }
footer ul{ list-style:none; display:flex; flex-direction:column; gap:12px; }
footer ul a{ color:rgba(246,244,236,.75); font-size:.92rem; transition:color .2s ease; }
footer ul a:hover{ color:var(--gold); }
.footer-bottom{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding-top:26px;
  font-size:.82rem;
  color:rgba(246,244,236,.55);
  flex-wrap:wrap;
  gap:12px;
}
.footer-social{ display:flex; gap:14px; }
.footer-social a{
  width:36px; height:36px;
  border:1px solid rgba(246,244,236,.25);
  border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  transition:background .2s ease, border-color .2s ease;
}
.footer-social a:hover{ background:rgba(246,244,236,.1); border-color:var(--gold); }

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

/* ---------- Layout grids (mobile-safe) ---------- */
.grid-hero{ display:grid; grid-template-columns:1.1fr .9fr; gap:60px; align-items:center; }
.grid-3{ display:grid; grid-template-columns:repeat(3,1fr); gap:28px; }
.grid-approach{ display:grid; grid-template-columns:.9fr 1.1fr; gap:70px; align-items:center; }
.grid-side{ display:grid; grid-template-columns:.7fr 1.3fr; gap:44px; align-items:center; }
.grid-2{ display:grid; grid-template-columns:1fr 1fr; gap:40px; }
.grid-contact{ display:grid; grid-template-columns:1fr 1.3fr; gap:50px; }
.grid-faq{ display:grid; grid-template-columns:.8fr 1.2fr; gap:60px; }
.grid-form-row{ display:grid; grid-template-columns:1fr 1fr; gap:20px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px){
  .footer-grid{ grid-template-columns:1fr 1fr; }
  .grid-3{ grid-template-columns:1fr 1fr; }
}
@media (max-width: 760px){
  .nav-links{
    position:fixed;
    top:70px; left:0; right:0;
    flex-direction:column;
    background:var(--paper);
    padding:26px 32px;
    gap:22px;
    border-bottom:1px solid var(--paper-line);
    transform:translateY(-130%);
    transition:transform .3s ease;
    align-items:flex-start;
    max-height:calc(100vh - 70px);
    overflow-y:auto;
  }
  .nav-links.open{ transform:translateY(0); }
  .nav-cta .btn-ghost{ display:none; }
  .burger{ display:flex; }
  .footer-grid{ grid-template-columns:1fr; gap:34px; }
  .footer-bottom{ flex-direction:column; align-items:flex-start; }

  .container{ padding:0 22px; }

  .grid-hero,
  .grid-3,
  .grid-approach,
  .grid-side,
  .grid-2,
  .grid-contact,
  .grid-faq,
  .grid-form-row{
    grid-template-columns:1fr !important;
    gap:28px !important;
  }

  h1{ font-size:clamp(1.7rem,7vw,2.4rem) !important; }
  h2{ font-size:clamp(1.5rem,6vw,2rem) !important; }

  footer{ padding-top:50px; margin-top:70px; }

  .service-card{ padding:28px 22px !important; }
}

@media (max-width: 480px){
  .nav .brand-text{ font-size:1rem; }
  .brand img{ height:32px; }
  .btn{ padding:12px 22px; font-size:.9rem; }
}
