/* ==========================================================================
   Partyline Audio — feuille de style
   Clone statique du site vitrine (ex-Odoo)
   ========================================================================== */

:root {
  --bg-darkest: #121212;
  --bg-dark: #1d1d1b;
  --text-light: #ffffff;
  --text-muted: #c9c9c7;
  --btn-bg: #8f8f8e;
  --btn-bg-hover: #757574;
  --border-subtle: rgba(255, 255, 255, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg-darkest);
  color: var(--text-light);
  font-size: 16px;
  line-height: 1.5;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ----------------------------- Header ----------------------------------- */

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  padding: 24px 32px;
}

.site-header .logo img {
  height: 56px;
  width: auto;
}

/* ------------------------------- Hero ------------------------------------ */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #000 url("../img/hero-bg.jpg") center / cover no-repeat;
  padding: clamp(120px, 19vw, 184px) 24px clamp(96px, 24vw, 232px);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.62);
}

.hero-content {
  position: relative;
  max-width: 720px;
}

.hero hr {
  width: 100%;
  max-width: 670px;
  margin: 0 auto 32px;
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.hero h1 {
  font-size: clamp(1.9rem, 4.4vw, 3.5rem);
  font-weight: 700;
  margin: 0 0 20px;
  letter-spacing: -0.01em;
}

.hero h1 .line {
  display: block;
}

@media (max-width: 480px) {
  .hero h1 .line {
    display: inline;
  }
}

.hero p {
  font-size: 1.125rem;
  color: #fff;
  margin: 0 auto;
  max-width: 670px;
}

.btn {
  display: inline-block;
  background: var(--btn-bg);
  color: #fff;
  border: none;
  padding: 6px 16px;
  font-size: 1rem;
  font-weight: 400;
  text-decoration: none;
  cursor: pointer;
  border-radius: 6.4px;
  transition: background 0.15s ease;
}

.btn:hover {
  background: var(--btn-bg-hover);
}

/* ------------------------------ Sections ---------------------------------- */

.features {
  background: var(--bg-dark);
  padding: 32px 0 40px;
}

.features-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 15px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.feature-item {
  background: var(--bg-darkest);
  display: grid;
  grid-template-columns: 25% 75%;
  align-items: stretch;
  min-height: 300px;
}

.feature-item.reverse {
  grid-template-columns: 75% 25%;
}

.feature-item.reverse .feature-media {
  order: 2;
}

.feature-item.reverse .feature-text {
  order: 1;
}

.feature-media {
  overflow: hidden;
}

.feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-text {
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.feature-text h2 {
  font-size: 2rem;
  line-height: 1.2;
  margin: 0 0 8px;
  font-weight: 700;
}

.feature-text h3 {
  font-size: 0.875rem;
  line-height: 1.5;
  margin: 0 0 0;
  font-weight: 700;
  color: var(--text-light);
}

.feature-text p.lead {
  font-size: 1rem;
  line-height: 1.5;
  color: var(--text-muted);
  margin: 0 0 16px;
}

.feature-list {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
}

.feature-list li {
  position: relative;
  font-size: 0.875rem;
  line-height: 1.5;
  padding-left: 20px;
  margin-bottom: 0;
  color: var(--text-muted);
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--btn-bg);
}

.feature-list strong {
  color: var(--text-light);
}

.sub-block + .sub-block {
  margin-top: 4px;
}

.sub-blocks-row {
  display: flex;
  gap: 28px;
  margin-top: 4px;
}

.sub-blocks-row .sub-block {
  flex: 1;
  min-width: 0;
}

.sub-blocks-row .sub-block + .sub-block {
  margin-top: 0;
}

@media (max-width: 700px) {
  .sub-blocks-row {
    flex-direction: column;
    gap: 4px;
  }
}

@media (max-width: 860px) {
  .feature-item,
  .feature-item.reverse {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .feature-item.reverse .feature-media,
  .feature-item.reverse .feature-text {
    order: initial;
  }
  .feature-media {
    min-height: 220px;
  }
}

/* ------------------------------- Contact ----------------------------------- */

.contact-section {
  background: var(--bg-darkest);
  padding: 64px 0 48px;
}

.contact-intro {
  text-align: center;
  margin: 0 auto 40px;
}

.contact-intro h2 {
  font-size: 2.5rem;
  margin: 0 0 16px;
  font-weight: 700;
}

.contact-intro p {
  font-size: 1.125rem;
  line-height: 1.5;
  color: var(--text-muted);
}

.hidden-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-form .full {
  grid-column: 1 / -1;
}

.contact-form label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 6px;
  color: #fff;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  background: #fff;
  border: 1px solid rgba(33, 37, 41, 0.15);
  color: #212529;
  padding: 6px 12px;
  font-family: inherit;
  font-size: 0.95rem;
  border-radius: 6.4px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--btn-bg);
}

.contact-form textarea {
  min-height: 110px;
  resize: vertical;
}

.contact-form .submit-row {
  text-align: center;
  margin-top: 8px;
}

@media (max-width: 640px) {
  .contact-form {
    grid-template-columns: 1fr;
  }
}

/* -------------------------------- Footer ------------------------------------ */

.site-footer {
  background: var(--bg-darkest);
  padding: 24px 0 32px;
  text-align: center;
}

.site-footer p {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin: 0 0 16px;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 14px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  transition: background 0.15s ease;
}

.social-links a:hover {
  background: rgba(255,255,255,0.14);
}

.social-links svg {
  width: 18px;
  height: 18px;
  fill: var(--text-light);
}
