/* ─── NUÉES ARDENTES — design system ─── */
/* Palette: lave + cendre + blanc brûlé   */

:root {
  --lave:      #C0392B;   /* rouge lave vif */
  --braise:    #8B1A1A;   /* rouge profond  */
  --cendre:    #1A1A1A;   /* noir cendre    */
  --fumee:     #2C2C2C;   /* gris fumée     */
  --roche:     #3D3D3D;   /* gris roche     */
  --clair:     #F5F0EA;   /* blanc brûlé    */
  --tiede:     #B0A898;   /* beige cendre   */
  --accent:    #E8572A;   /* orange lave    */

  --font-display: 'Barlow Condensed', sans-serif;
  --font-body:    'Inter', sans-serif;

  --nav-h: 64px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--cendre);
  color: var(--clair);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ─── TYPOGRAPHY ─── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.1;
}

h1 { font-size: clamp(2.8rem, 8vw, 6rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); color: var(--clair); }
h3 { font-size: 1.3rem; }

p { color: var(--tiede); max-width: 68ch; }

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

/* ─── NAV ─── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(26,26,26,0.92);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  z-index: 100;
  border-bottom: 1px solid var(--fumee);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-logo img {
  height: 36px;
  width: 36px;
  filter: invert(1);
  opacity: 0.9;
}

.nav-logo span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clair);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-display);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--tiede);
  transition: color 0.2s;
  position: relative;
  padding-bottom: 2px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--lave);
  transition: width 0.2s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--clair); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.nav-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--clair);
  transition: all 0.3s;
}

/* ─── MAIN ─── */
main { flex: 1; padding-top: var(--nav-h); }

/* ─── SECTION UTILITIES ─── */
.section {
  padding: 6rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--lave);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.section-label::before {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: var(--lave);
}

/* ─── DIVIDER ─── */
.divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--roche) 30%, var(--roche) 70%, transparent);
  margin: 0 auto;
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.btn-primary {
  background: var(--lave);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--clair);
  border: 1px solid var(--roche);
}

.btn-outline:hover {
  border-color: var(--lave);
  color: var(--lave);
}

/* ─── FOOTER ─── */
footer {
  background: var(--fumee);
  border-top: 1px solid var(--roche);
  padding: 3rem 2rem 2rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-brand img {
  height: 40px;
  filter: invert(1);
  opacity: 0.7;
}

.footer-brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--roche);
  color: var(--tiede);
  font-size: 1.1rem;
  transition: all 0.2s;
}

.footer-socials a:hover {
  border-color: var(--lave);
  color: var(--lave);
  background: rgba(192,57,43,0.08);
}

.footer-bottom {
  border-top: 1px solid var(--roche);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-bottom p {
  font-size: 0.78rem;
  color: var(--roche);
  max-width: none;
}

.footer-bottom a { color: var(--roche); transition: color 0.2s; }
.footer-bottom a:hover { color: var(--lave); }

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--cendre);
    flex-direction: column;
    gap: 0;
    padding: 1rem 0;
    border-bottom: 1px solid var(--fumee);
  }

  .nav-links.open { display: flex; }

  .nav-links li a {
    display: block;
    padding: 0.9rem 2rem;
  }

  .nav-burger { display: flex; }

  .footer-top { flex-direction: column; }

  .section { padding: 4rem 1.25rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
