/* Texture TEX-5 papier chaud */
body {
  background: var(--bg);
  background-image: radial-gradient(120% 80% at 50% 0%, color-mix(in srgb, var(--accent) 5%, var(--bg)) 0%, var(--bg) 60%);
  background-attachment: fixed;
}

/* Header sticky */
.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background .3s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--border);
  background: color-mix(in srgb, var(--bg) 96%, transparent);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: var(--header-h-mobile);
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}
@media (min-width: 768px) {
  .header-inner { height: var(--header-h); padding: 0 32px; }
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
}
.brand-mark {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--accent) 16%, var(--bg));
  color: var(--accent);
  flex-shrink: 0;
}
.brand-mark svg { width: 22px; height: 22px; display: block; }
.brand-name {
  font-family: var(--ff-display);
  font-size: 1.18rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  line-height: 1.05;
}
.brand-sub {
  font-family: var(--ff-ui);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-top: 2px;
}

/* Nav desktop */
.nav-desktop { display: none; }
@media (min-width: 900px) {
  .nav-desktop {
    display: flex;
    align-items: center;
    gap: 28px;
  }
  .nav-desktop a {
    color: var(--text);
    font-family: var(--ff-ui);
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    padding: 6px 0;
    transition: color .2s ease;
  }
  .nav-desktop a:hover { color: var(--accent); }
  .nav-desktop a::after {
    content: "";
    position: absolute; left: 0; bottom: 0;
    width: 0; height: 2px;
    background: var(--accent);
    transition: width .2s ease;
  }
  .nav-desktop a:hover::after { width: 100%; }
}

/* Header CTA desktop only */
.header-cta { display: none; }
@media (min-width: 900px) {
  .header-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: var(--accent);
    color: #fff;
    border-radius: 999px;
    font-family: var(--ff-ui);
    font-size: 0.92rem;
    font-weight: 500;
    transition: background .2s ease, transform .2s ease;
  }
  .header-cta:hover { background: var(--primary); transform: translateY(-1px); }
}

/* Burger button (fixed top-right, child of body) */
.burger {
  position: fixed;
  top: calc((var(--header-h-mobile) - 44px) / 2);
  right: 16px;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: transparent; border: 0; cursor: pointer;
  z-index: calc(var(--z-header) + 10);
}
.burger span,
.burger span::before,
.burger span::after {
  content: "";
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .3s ease, opacity .2s ease;
}
.burger span { position: relative; }
.burger span::before { position: absolute; left: 0; top: -7px; }
.burger span::after  { position: absolute; left: 0; top:  7px; }
.burger.is-open span { background: transparent; }
.burger.is-open span::before { transform: translateY(7px) rotate(45deg); }
.burger.is-open span::after  { transform: translateY(-7px) rotate(-45deg); }
@media (min-width: 900px) { .burger { display: none; } }

/* Menu mobile (direct child of body, fixed full screen) */
.menu-mobile {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100dvh;
  background: var(--bg);
  z-index: var(--z-menu);
  padding: calc(var(--header-h-mobile) + 24px) 24px 40px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: transform .35s ease, opacity .35s ease, visibility 0s linear .35s;
}
.menu-mobile.is-open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  transition: transform .35s ease, opacity .35s ease;
}
.menu-mobile a {
  font-family: var(--ff-display);
  font-size: 1.5rem;
  color: var(--text);
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.menu-mobile a.btn-primary,
.menu-mobile a.btn-wa {
  color: #fff;
  border-bottom: 0;
}
@media (min-width: 900px) { .menu-mobile { display: none; } }

/* Footer */
.site-footer {
  background: var(--primary);
  color: rgba(255,255,255,0.85);
  padding: 56px 0 24px;
  margin-top: 0;
}
.site-footer h4 {
  color: #fff;
  font-family: var(--ff-display);
  font-size: 1.15rem;
  margin-bottom: 14px;
}
.site-footer a { color: #fff; text-decoration: none; transition: color .2s ease; }
.site-footer a:hover { color: var(--accent-2); }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  margin-bottom: 36px;
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; }
}
.footer-col p, .footer-col li { color: rgba(255,255,255,0.78); margin-bottom: 8px; max-width: none; }
.footer-col .brand { color: #fff; margin-bottom: 14px; }
.footer-col .brand-name { color: #fff; }
.footer-col .brand-mark { background: rgba(255,255,255,0.12); color: #fff; }
.footer-col .brand-sub { color: var(--accent-2); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.14);
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}
.footer-bottom a { text-decoration: underline; text-underline-offset: 4px; }

/* FAB mobile */
.fab-call {
  position: fixed;
  bottom: 20px; right: 20px;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 12px 32px -8px rgba(94, 107, 59, 0.55);
  z-index: 990;
  transition: transform .2s ease, background .2s ease;
}
.fab-call:hover { transform: translateY(-2px); background: var(--primary); }
.fab-call svg { width: 26px; height: 26px; }
@media (min-width: 900px) { .fab-call { display: none; } }
