/* layout.css - header sticky, container, footer */

.container{
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}
@media (min-width: 1024px){
  .container{ padding: 0 32px; }
}

/* ---------- HEADER STICKY ---------- */
.header{
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, background .25s ease;
}
.header.is-scrolled{
  border-bottom-color: var(--border);
  background: color-mix(in srgb, var(--bg) 96%, transparent);
}
.header__inner{
  height: var(--header-h-mobile);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
@media (min-width: 1024px){
  .header__inner{ height: var(--header-h); }
}

/* brand */
.brand{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  min-width: 0;
}
.brand-mark{
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent-2) 18%, var(--bg));
  display: grid;
  place-items: center;
  color: var(--accent);
  flex-shrink: 0;
}
.brand-mark svg{ width: 22px; height: 22px; display: block; }
.brand-name{
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 1.12rem;
  line-height: 1;
  color: var(--primary);
}
.brand-tag{
  display: block;
  font-family: var(--ff-ui);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-top: 4px;
}

/* nav desktop */
.nav-desktop{
  display: none;
  align-items: center;
  gap: 28px;
}
.nav-desktop a{
  font-family: var(--ff-ui);
  font-size: 0.92rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.02em;
  position: relative;
  transition: color .2s ease;
}
.nav-desktop a:hover{ color: var(--accent-2); }
.nav-desktop a.is-current{ color: var(--accent-2); }
.nav-desktop a.is-current::after{
  content:"";
  position: absolute;
  left: 0; right: 0;
  bottom: -6px;
  height: 1.5px;
  background: var(--accent-2);
}

/* header CTA "Appeler Hassan" - cache mobile, visible >= 1024 */
.header .header__cta{ display: none !important; }
@media (min-width: 1024px){
  .nav-desktop{ display: inline-flex; }
  .header .header__cta{ display: inline-flex !important; }
}

/* ---------- FOOTER ---------- */
.footer{
  background: var(--primary);
  color: var(--ink-on-dark);
  padding: 48px 0 24px;
  margin-top: 64px;
  position: relative;
  z-index: 1;
}
.footer a{ color: var(--ink-on-dark); }
.footer-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 768px){
  .footer-grid{ grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}
.footer h3{
  font-family: var(--ff-display);
  font-size: 1.1rem;
  color: var(--accent-2);
  margin: 0 0 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.footer-brand p{
  color: var(--ink-on-dark-2);
  font-size: 0.92rem;
  max-width: 38ch;
}
.footer-list li{
  padding: 4px 0;
  font-size: 0.92rem;
  color: var(--ink-on-dark-2);
}
.footer-list a{
  text-decoration: none;
  color: var(--ink-on-dark-2);
  transition: color .2s ease;
}
.footer-list a:hover{ color: var(--accent-2); }
.footer-bottom{
  border-top: 1px solid rgba(245, 241, 232, 0.12);
  margin-top: 32px;
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--ink-on-dark-2);
}
.footer-bottom button{
  background: none;
  border: 0;
  color: var(--ink-on-dark-2);
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: var(--accent-2);
  text-underline-offset: 4px;
  padding: 0;
}

/* sections : padding mobile 48 / desktop 80 */
section{
  padding: 56px 0;
}
@media (min-width: 768px){
  section{ padding: 88px 0; }
}
section.section-tight{ padding: 32px 0; }
@media (min-width: 768px){
  section.section-tight{ padding: 48px 0; }
}

/* eyebrow / section labels signature Architecture Cuivre */
.eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--ff-ui);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--accent-2);
  margin-bottom: 18px;
}
.eyebrow::before{
  content:"";
  width: 28px;
  height: 1.5px;
  background: var(--accent-2);
}
