/* ============================================================
   COMPONENTS — Nav, footer, boutons, eyebrow
   Vivasoft · vivasoft.fr
   ============================================================ */

/* ---- NAV ---- */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: 64px;
  background: rgba(253,248,242,0.92);
  backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center;
  padding: 0 40px;
  transition: box-shadow 0.3s;
}
nav.scrolled { box-shadow: 0 2px 20px rgba(13,13,18,0.08); }

.nav-inner {
  width: 100%; max-width: 1280px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
}

/* Logo */
.logo {
  display: flex; align-items: center; gap: 2px;
  text-decoration: none;
}
.logo img { height: 36px; width: auto; display: block; }
.logo-dot { color: var(--rouge); }

/* Nav items */
.nav-center { display: flex; gap: 4px; align-items: center; }

.nav-item {
  position: relative;
  font-size: 0.88rem; font-weight: 500; color: var(--ink2);
  cursor: pointer; padding: 8px 14px; border-radius: 6px;
  transition: background 0.15s, color 0.15s;
  display: flex; align-items: center; gap: 5px;
}
.nav-item:hover { background: var(--off); color: var(--ink); }
.nav-item.has-arrow::after {
  content: '';
  width: 6px; height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  opacity: 0.6;
}

/* Dropdown */
.nav-dropdown { position: relative; }
.dropdown {
  position: absolute; top: calc(100% + 8px); left: 0;
  background: var(--white);
  border: 1px solid var(--border); border-radius: var(--r);
  min-width: 280px;
  box-shadow: 0 8px 32px rgba(13,13,18,0.12), 0 2px 8px rgba(13,13,18,0.06);
  padding: 8px;
  opacity: 0; pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.15s, transform 0.15s;
  z-index: 300;
}
.nav-dropdown:hover .dropdown { opacity: 1; pointer-events: all; transform: translateY(0); }

.dd-item {
  display: block; padding: 10px 12px; border-radius: 6px;
  text-decoration: none; color: var(--ink);
  transition: background 0.12s; cursor: pointer;
}
.dd-item:hover { background: var(--off); }
.dd-item-title { font-size: 0.88rem; font-weight: 600; font-family: var(--font-body); }
.dd-item-sub { font-size: 0.78rem; color: var(--ink3); margin-top: 2px; font-weight: 400; }
.dd-sep { height: 1px; background: var(--border); margin: 6px 0; }
.dd-item-title.accent { color: var(--terra); }

/* CTA nav */
.nav-cta {
  background: var(--bleu); color: var(--white);
  font-family: var(--font-body); font-weight: 600; font-size: 0.86rem;
  padding: 10px 20px; border-radius: 99px;
  cursor: pointer; border: none;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap; text-decoration: none;
  display: inline-flex; align-items: center;
}
.nav-cta:hover { background: var(--violet); transform: translateY(-1px); }

/* ---- BOUTONS ---- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-weight: 600;
  border-radius: 99px; cursor: pointer;
  transition: all 0.2s; text-decoration: none; border: none;
  font-size: 0.92rem;
}
.btn-dark { background: var(--ink); color: var(--white); padding: 14px 28px; }
.btn-dark:hover { background: var(--violet); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(74,37,163,0.3); }
.btn-dark svg { transition: transform 0.2s; }
.btn-dark:hover svg { transform: translateX(3px); }
.btn-outline { background: transparent; color: var(--ink); padding: 13px 24px; border: 1.5px solid var(--border); }
.btn-outline:hover { border-color: var(--ink); background: var(--off); }
.btn-rouge { background: var(--terra); color: var(--white); padding: 14px 28px; }
.btn-rouge:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(196,90,61,0.3); }

/* ---- EYEBROW ---- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink3); margin-bottom: 20px;
}
.eyebrow-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--terra); flex-shrink: 0;
}

/* ---- SECTION HEADER ---- */
.section-header {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px;
  align-items: end; margin-bottom: 60px;
  padding-bottom: 40px; border-bottom: 1px solid var(--border);
}
.section-header h2 { font-size: clamp(2rem, 3.5vw, 3.2rem); max-width: 14ch; }
.section-header p { font-size: 1.05rem; color: var(--ink2); max-width: 46ch; line-height: 1.65; }

/* ---- FOOTER ---- */
footer {
  background: var(--ink); color: var(--white);
  padding: 64px 40px 32px;
}
.footer-inner { max-width: 1280px; margin: 0 auto; }
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; gap: 48px;
  padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .logo { color: var(--white); font-size: 1.4rem; margin-bottom: 12px; display: block; }
.footer-brand p { font-size: 0.88rem; color: rgba(255,255,255,0.55); line-height: 1.65; max-width: 30ch; }
.footer-brand address { margin-top: 20px; font-size: 0.85rem; color: rgba(255,255,255,0.75); line-height: 1.7; }
.footer-brand address a { color: rgba(255,255,255,0.75); transition: color 0.2s; }
.footer-brand address a:hover { color: var(--white); }

.footer-col h4 {
  font-family: var(--font-body); font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.4); margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: rgba(255,255,255,0.7); font-size: 0.88rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--white); }

.footer-bottom {
  padding-top: 24px; display: flex; justify-content: space-between;
  font-size: 0.78rem; color: rgba(255,255,255,0.35); flex-wrap: wrap; gap: 8px;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  nav { padding: 0 20px; }
  .section-header { grid-template-columns: 1fr; gap: 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  footer { padding: 48px 20px 24px; }
}

@media (max-width: 768px) {
  .nav-center, .nav-cta { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
