/* ─────────────────────────────────────────
   ugrid.css — Styles partagés UGrid
   ───────────────────────────────────────── */

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

/* ── VARIABLES ── */
:root {
  --cream: #FAF8F4;
  --white: #FFFFFF;
  --black: #111009;
  --orange: #FF4D00;
  --orange-light: #FFF0EB;
  --muted: #7A7570;
  --border: #E8E4DE;
  --gray: #F4F4F4;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}

/* ── BASE ── */
body {
  font-family: var(--sans);
  background: var(--white);
  color: var(--black);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; width: 100%; }
a { text-decoration: none; color: inherit; }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes lineGrow {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── REVEAL ── */
.reveal {
  opacity: 0;
  animation: fadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.d1 { animation-delay: 0.05s; }
.d2 { animation-delay: 0.15s; }
.d3 { animation-delay: 0.25s; }
.d4 { animation-delay: 0.35s; }
.d5 { animation-delay: 0.45s; }
.d6 { animation-delay: 0.55s; }

/* ── NAV ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  padding: 0 6%;
  height: 72px;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.logo { display: flex; align-items: baseline; text-decoration: none; }
.logo-u { font-size: 30px; font-weight: 900; color: var(--orange); letter-spacing: -0.03em; }
.logo-g { font-size: 30px; font-weight: 900; color: var(--black); letter-spacing: -0.03em; }
.logo-tag {
  font-size: 13px;
  color: var(--muted);
  margin-left: 12px;
  padding-left: 12px;
  border-left: 1px solid var(--border);
}
.nav-r { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.nav-link { font-size: 13px; color: var(--muted); text-decoration: none; transition: color 0.2s; }
.nav-link:hover { color: var(--black); }
.nav-link.active { color: var(--black); font-weight: 600; }
.nav-cta {
  background: var(--orange);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 100px;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.2s;
}
.nav-cta:hover { opacity: 0.88; }

/* ── BREADCRUMB ── */
.breadcrumb {
  padding: 14px 6%;
  background: var(--cream);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
}
.bc-item { font-size: 12px; color: var(--muted); text-decoration: none; }
.bc-item:hover { color: var(--orange); }
.bc-sep { font-size: 12px; color: var(--border); }
.bc-current { font-size: 12px; color: var(--black); font-weight: 500; }

/* ── CTA ── */
.cta {
  background: var(--orange);
  padding: 88px 6%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.cta h2 {
  font-size: 48px;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.92;
  color: #fff;
  margin-bottom: 16px;
}
.cta-sub { font-size: 15px; line-height: 1.7; color: rgba(255, 255, 255, 0.7); }
.cta-r { display: flex; flex-direction: column; gap: 14px; }
.btn-white {
  background: #fff;
  color: var(--orange);
  font-size: 14px;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  width: fit-content;
  text-decoration: none;
  transition: opacity 0.2s;
}
.btn-white:hover { opacity: 0.9; }
.cta-inf { font-size: 13px; color: rgba(255, 255, 255, 0.65); }
.cta-inf strong { color: #fff; }

/* ── FOOTER ── */
footer {
  background: var(--black);
  color: var(--white);
  padding: 36px 6%;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.f-logo { display: flex; align-items: baseline; }
.fu { font-size: 18px; font-weight: 900; color: var(--orange); letter-spacing: -0.03em; }
.fg { font-size: 18px; font-weight: 900; color: var(--white); letter-spacing: -0.03em; }
.f-links { display: flex; gap: 28px; margin-left: auto; }
.f-link { font-size: 12px; color: rgba(255, 255, 255, 0.3); text-decoration: none; }
.f-link:hover { color: rgba(255, 255, 255, 0.6); }
.f-copy { font-size: 12px; color: rgba(255, 255, 255, 0.2); margin-left: 28px; }

/* ── BURGER ── */
.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}
.nav-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--black);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}
nav.nav-open .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
nav.nav-open .nav-burger span:nth-child(2) { opacity: 0; }
nav.nav-open .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── RESPONSIVE SHARED ── */
@media (max-width: 768px) {
  .logo-tag { display: none; }
  .nav-r {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    background: var(--white);
    border-bottom: 2px solid var(--border);
    padding: 20px 6% 28px;
    gap: 20px;
    z-index: 99;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.07);
  }
  nav.nav-open .nav-r { display: flex; }
  .nav-burger { display: flex; }
  .nav-link { font-size: 16px; color: var(--black); }
  .nav-cta { align-self: flex-start; }
  .cta { grid-template-columns: 1fr; gap: 32px; padding: 56px 6%; }
  .cta h2 { font-size: clamp(28px, 8vw, 40px); }
  footer { flex-direction: column; align-items: flex-start; gap: 24px; }
  .f-links { margin-left: 0; flex-wrap: wrap; gap: 16px; }
  .f-copy { margin-left: 0; }
}
