:root{
  --bg: #0b0b0b;
  --surface: #121212;
  --text: #ffffff;
  --muted: #9ca3af;
  --border: #a96e36;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  --radius: 14px;
  --maxw: 1120px;
}

.legal{
  white-space: pre-wrap;     
  font-family: inherit;      
  font-size: 1rem;
  line-height: 1.7;          
  color: inherit;
  overflow-wrap: break-word; 
}
.name{
  color: rgb(246, 246, 246);
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

*{ box-sizing: border-box; }
html, body{ margin:0; padding:0; }
body{
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Apple Color Emoji","Segoe UI Emoji";
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}

a{ color: inherit; text-decoration: none; }
a:hover{ text-decoration: underline; }

.container{
  width: min(var(--maxw), calc(100% - 32px));
  margin: 0 auto;
}

/* Top bar */
.topbar{
  position: sticky;
  top:0;
  z-index: 50;
  background: rgba(11, 11, 11, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav{
  display:grid;
  grid-template-columns: auto auto auto;
  align-items:center;
  justify-content:space-between;
  padding:16px 0;
}

/* logo gauche */
.brand-left{
  display:flex;
  align-items:center;
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
}

.brand img{
  height:100px;
}

/* menu centré */
.menu{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  justify-content:center;
}

/* logo droite */
.brand-right{
  display:flex;
  justify-content:flex-end;
}

.brand-right img{
  height: 42px;
}

.brand .name strong{ font-size: 14px; letter-spacing:.2px; }
.brand .name span{ font-size: 12px; color: rgb(200, 200, 200); }

.menu{
  display:flex;
  align-items:center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.menu a{
  font-size: 13px;
  color: #ededed;
  padding: 10px 10px;
  border-radius: 10px;
  border: 1px solid transparent;
}
.menu a:hover{
  background: #000000;
  border-color: var(--border);
  text-decoration: none;
}
.menu a.active{
  border-color: var(--border);
  background: #000000;
}


.nav-toggle{
  display:none;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 12px;
  padding: 10px 12px;
  cursor:pointer;
}

/* Hero */
.hero{
  padding: 44px 0 22px;
}
.hero-card{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px;
  display:grid;
  gap: 14px;
}
.hero h1{
  margin:0;
  font-size: 34px;
  line-height: 1.2;
  letter-spacing: -0.3px;
}
.hero p{
  margin:0;
  color: var(--muted);
  max-width: 72ch;
}

.pills{
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}
.pill{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  border: 1px solid var(--border);
  background:#555555;
  padding: 8px 10px;
  border-radius: 999px;
  font-size: 12px;
  color: #ffffff;
}

/* Sections */
.section{ padding: 18px 0 46px; }
.grid{
  display:grid;
  gap:14px;
  grid-template-columns: repeat(12, 1fr);
  justify-content:center;
}

.card{
  grid-column: span 6;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
}
.card h2{ margin:0 0 6px; font-size: 16px; }
.card p{ margin:0; color: var(--muted); font-size: 13px; }

.card.full{ 
  grid-column: span 12; 
  background: var(--surface);
  color: white;
}

.card-link{
  display:block;
  text-decoration:none;
}

.card-link:hover{
  text-decoration:none;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  cursor:pointer;
  font-weight: 600;
  font-size: 13px;
}
.btn:hover{ filter: brightness(.98); text-decoration:none; }
.btn.primary{
  background: linear-gradient(135deg, #a96e36, #c58b4e);
  border-color: rgba(0,0,0,.06);
  color: white;
}
.btn.ghost{
  background: transparent;
}

.kv{
  display:grid;
  gap: 6px;
  margin-top: 10px;
  font-size: 13px;
}
.kv div{ color: var(--muted); }
.kv strong{ color: var(--text); }

/* Contact form */
.form{
  display:grid;
  gap: 12px;
}
.field{
  display:grid;
  gap: 6px;
}
label{ font-size: 12px; color: #374151; }
input, textarea{
  width:100%;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fff;
  font: inherit;
}
textarea{ min-height: 140px; resize: vertical; }
.help{ font-size: 12px; color: var(--muted); }
.alert{
  border: 1px solid var(--border);
  background: #000000;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 13px;
}
.alert.ok{ border-color: rgba(16,185,129,.35); background: rgba(16,185,129,.06); }
.alert.bad{ border-color: rgba(239,68,68,.35); background: rgba(239,68,68,.06); }

.footer{
  border-top: 1px solid var(--border);
  padding: 20px 0;
  color: var(--muted);
  font-size: 12px;
}

/* Responsive */
@media (max-width: 900px){
  .card{ grid-column: span 12; }
}

@media (max-width: 760px){
  .nav-toggle{ display:inline-flex; }
  .menu{
    display:none;
    width:100%;
    padding: 10px 0 4px;
  }
  .menu.open{ display:flex; }
  .brand{ min-width: unset; }
}
.contact-card{
  display:flex;
  align-items:center;
}

.contact-text{
  max-width:400px;
}

.contact-btn{
  margin-left:auto;
  margin-right:40px;
}
.contact-card{
  position:relative;
  display:flex;
  align-items:center;
}

.contact-link{
  position:absolute;
  inset:0;
}

@media (max-width:760px){
  .nav{
    grid-template-columns: 1fr auto;
    gap:10px;
  }
  .brand-right{
    display:none;
  }
  .menu{
    justify-content:center;
  }
}
@media (max-width:760px){

  .brand img{
    height:60px;
  }

}
@media (max-width:700px){

  .contact-card{
    flex-direction:column;
    align-items:flex-start;
    gap:15px;
  }

  .contact-btn{
    margin:0;
  }

}
.nav-toggle{
  display:none;
  border:1px solid black;
  background:var(--surface);
  color: #a96e36;
  border-radius:10px;
  padding:10px 12px;
  font-size:18px;
  cursor:pointer;
}

@media (max-width:760px){

  .nav{
    display:grid;
    grid-template-columns: 1fr auto;
    align-items:center;
  }

  .brand-right{
    display:none;
  }

  .menu{
    display:none;
    grid-column:1 / -1;
    flex-direction:column;
    width:100%;
    margin-top:10px;
  }

  .menu.open{
    display:flex;
  }

  .nav-toggle{
    display:block;
  }

}
.card{
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover{
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.card{
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.6s ease forwards;
}

@keyframes fadeUp{
  to{
    opacity:1;
    transform:translateY(0px);
  }
}
.card ul{
  margin:10px 0 0;
  padding-left:18px;
}

.card li{
  margin-bottom:6px;
  font-size:13px;
  color:var(--muted);
}