/* ============================================================
   P3 AUTOMOBILES — Premium Stylesheet
   Palette : Noir profond · Or · Blanc cassé
   ============================================================ */

:root {
  --c-bg: #0a0a0a;
  --c-bg-2: #111111;
  --c-bg-3: #1a1a1a;
  --c-text: #f5f1ea;
  --c-text-muted: #9a9690;
  --c-gold: #c9a66b;
  --c-gold-light: #e0c890;
  --c-gold-dark: #8a6f3f;
  --c-line: rgba(201, 166, 107, 0.25);

  --f-serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --f-sans: 'Inter', system-ui, -apple-system, sans-serif;

  --t-fast: 0.25s ease;
  --t-mid:  0.45s cubic-bezier(.2,.7,.2,1);

  --topbar-h: 40px;
}

/* ===== RESET ===== */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--f-sans);
  background: var(--c-bg);
  color: var(--c-text);
  line-height: 1.6;
  font-weight: 300;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--t-fast); }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ============================================================
   TOP BAR
   ============================================================ */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 102;
  height: var(--topbar-h);
  background: var(--c-bg-2);
  border-bottom: 1px solid var(--c-line);
  transition: transform var(--t-mid);
}
.topbar.hidden {
  transform: translateY(-100%);
}
.topbar__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.topbar__left {
  display: flex;
  gap: 28px;
  align-items: center;
}
.topbar__item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--c-text-muted);
}
.topbar__right {
  display: flex;
  gap: 24px;
  align-items: center;
}
.topbar__link {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--c-text-muted);
  transition: color var(--t-fast);
}
.topbar__link:hover { color: var(--c-gold); }
.topbar__icon {
  width: 13px; height: 13px;
  color: var(--c-gold);
  flex-shrink: 0;
  stroke-width: 1.8;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: var(--topbar-h);
  left: 0; right: 0;
  z-index: 101;
  padding: 20px 0;
  transition: background var(--t-mid), padding var(--t-mid), border var(--t-mid), top var(--t-mid);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  top: 0;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 12px 0;
  border-bottom-color: var(--c-line);
}
.nav__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav__logo {
  display: block;
}
.nav__logo-img {
  height: 175px;
  width: auto;
  display: block;
  transition: height var(--t-mid);
}
.nav.scrolled .nav__logo-img {
  height: 98px;
}
.nav__menu {
  display: flex;
  gap: 36px;
}
.nav__menu a {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 400;
  position: relative;
  padding: 4px 0;
}
.nav__menu a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--c-gold);
  transition: width var(--t-mid);
}
.nav__menu a:hover { color: var(--c-gold); }
.nav__menu a:hover::after { width: 100%; }

/* --- Dropdown wraps --- */
.nav__menu { gap: 28px; align-items: center; }
.nav__dropdown-wrap { position: relative; display: flex; align-items: center; }
.nav__dropdown-toggle {
  display: flex; align-items: center; gap: 5px;
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  font-weight: 400; cursor: pointer; color: inherit;
  padding: 4px 0; position: relative; white-space: nowrap;
  transition: color var(--t-fast);
}
.nav__dropdown-toggle::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  width: 0; height: 1px; background: var(--c-gold);
  transition: width var(--t-mid);
}
.nav__dropdown-wrap:hover .nav__dropdown-toggle { color: var(--c-gold); }
.nav__dropdown-wrap:hover .nav__dropdown-toggle::after { width: calc(100% - 20px); }
.nav__chevron { width: 13px; height: 13px; flex-shrink: 0; transition: transform var(--t-fast); }
.nav__dropdown-wrap:hover .nav__chevron { transform: rotate(180deg); }

.nav__dropdown {
  position: absolute;
  top: 100%; left: 0;
  padding-top: 18px;
  min-width: 320px;
  opacity: 0; pointer-events: none;
  transform: translateY(4px);
  transition: opacity var(--t-fast), transform var(--t-fast);
  z-index: 500;
}
.nav__dropdown-wrap:hover .nav__dropdown {
  opacity: 1; pointer-events: auto; transform: translateY(0);
}
.nav__dropdown-col {
  padding: 20px 18px;
  background: rgba(14,14,14,0.98);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--c-line);
}

.nav__dropdown-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 44px;
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  font-weight: 400; color: var(--c-text-muted);
  transition: color var(--t-fast), background var(--t-fast);
  position: relative; cursor: pointer; gap: 12px;
}
.nav__dropdown-item:hover { color: var(--c-gold); background: rgba(201,166,107,0.06); }
.nav__dropdown-item a { color: inherit; flex: 1; }
.nav__chevron-right { width: 11px; height: 11px; flex-shrink: 0; }

/* Sub-dropdown */
.nav__submenu {
  position: absolute;
  left: 100%; top: 0;
  background: rgba(14,14,14,0.98);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--c-line);
  min-width: 210px;
  opacity: 0; pointer-events: none;
  transform: translateX(6px);
  transition: opacity var(--t-fast), transform var(--t-fast);
  padding: 20px 0;
}
.nav__dropdown-item--has-sub:hover .nav__submenu {
  opacity: 1; pointer-events: auto; transform: translateX(0);
}
.nav__submenu a {
  display: block;
  padding: 13px 22px;
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  font-weight: 400; color: var(--c-text-muted);
  transition: color var(--t-fast), background var(--t-fast);
}
.nav__submenu a:hover { color: var(--c-gold); background: rgba(201,166,107,0.06); }

/* Nav CTA button */
.nav__cta-btn {
  display: inline-flex; align-items: center;
  padding: 9px 30px !important;
  background: var(--c-gold); color: #0a0a0a !important;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  font-weight: 600; font-family: var(--f-sans);
  border: 1px solid var(--c-gold);
  transition: background var(--t-fast), color var(--t-fast);
  white-space: nowrap;
}
.nav__cta-btn:hover { background: transparent; color: var(--c-gold) !important; }
.nav__cta-btn::after { display: none !important; }

/* Nav search button */
.nav__search-btn {
  display: flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; cursor: pointer;
  color: var(--c-text-muted); transition: color var(--t-fast);
}
.nav__search-btn svg { width: 17px; height: 17px; }
.nav__search-btn:hover { color: var(--c-gold); }

.nav__burger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav__burger span {
  display: block; width: 24px; height: 1.5px;
  background: var(--c-gold); transition: all var(--t-fast);
}

/* ============================================================
   HERO CAROUSEL
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero__slider {
  position: absolute;
  inset: 0;
}
.hero__slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 1s ease;
  pointer-events: none;
}
.hero__slide--active {
  opacity: 1;
  pointer-events: auto;
}
.hero__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(6,6,6,0.80) 0%, rgba(6,6,6,0.45) 55%, transparent 90%),
    linear-gradient(135deg, rgba(10,10,10,0.20), rgba(18,12,6,0.25), rgba(10,10,10,0.20)),
    url('../img/photo-diablo.jpg') center/cover no-repeat;
}
.hero__bg--2 {
  background:
    radial-gradient(ellipse at center, rgba(6,6,6,0.75) 0%, rgba(6,6,6,0.40) 55%, transparent 90%),
    linear-gradient(135deg, rgba(10,10,10,0.20), rgba(18,14,10,0.25), rgba(10,10,10,0.20)),
    url('../img/photo-911.jpg') center/cover no-repeat;
}
.hero__bg--3 {
  background:
    radial-gradient(ellipse at center, rgba(6,6,6,0.75) 0%, rgba(6,6,6,0.40) 55%, transparent 90%),
    linear-gradient(135deg, rgba(10,10,10,0.20), rgba(20,12,8,0.25), rgba(10,10,10,0.20)),
    url('../img/photo-ferrari.jpg') center/cover no-repeat;
}
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, var(--c-bg) 100%);
}
.hero__content {
  position: relative;
  text-align: center;
  padding: 100px 40px 60px;
  z-index: 2;
  max-width: 800px;
  width: 100%;
}
.hero__eyebrow {
  font-size: 13px;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: 32px;
  font-weight: 500;
}
.hero__title {
  font-family: var(--f-serif);
  font-size: clamp(32px, 5vw, 72px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
  white-space: nowrap;
}
.hero__title--accent {
  font-style: italic;
  color: var(--c-gold);
  font-weight: 300;
}
.hero__subtitle {
  font-size: clamp(15px, 1.4vw, 18px);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--c-text-muted);
  margin-bottom: 56px;
  font-weight: 400;
}
.hero__cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.hero__brand-name {
  font-family: var(--f-serif);
  font-size: clamp(22px, 2.8vw, 36px);
  font-weight: 400;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
  color: var(--c-text);
}
.hero__specialist-line {
  font-size: 10px;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: 26px;
  font-weight: 500;
}
.hero__title-box {
  border: 1px solid rgba(201,166,107,0.45);
  padding: 22px 26px;
  margin-bottom: 32px;
  display: inline-block;
}
.hero__scroll {
  position: absolute;
  bottom: 40px; left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 10;
}
.hero__scroll span {
  display: block;
  width: 1px; height: 50px;
  background: var(--c-gold);
  margin: 0 auto 12px;
  animation: scroll-line 2.2s ease-in-out infinite;
  transform-origin: top;
}
.hero__scroll p {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--c-text-muted);
}
@keyframes scroll-line {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* Flèches du carrousel */
.hero__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px; height: 48px;
  border: 1px solid var(--c-line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-gold);
  background: rgba(10,10,10,0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all var(--t-fast);
  cursor: pointer;
}
.hero__arrow:hover {
  background: var(--c-gold);
  border-color: var(--c-gold);
  color: var(--c-bg);
}
.hero__arrow svg { width: 20px; height: 20px; }
.hero__arrow--prev { left: 32px; }
.hero__arrow--next { right: 32px; }

/* Points du carrousel */
.hero__dots {
  position: absolute;
  bottom: 90px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 14px;
  align-items: center;
}
.hero__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(201,166,107,0.35);
  border: 1px solid var(--c-gold);
  cursor: pointer;
  transition: all var(--t-fast);
}
.hero__dot--active,
.hero__dot:hover {
  background: var(--c-gold);
  transform: scale(1.3);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-block;
  padding: 18px 42px;
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-weight: 500;
  border: 1px solid transparent;
  transition: all var(--t-mid);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.btn--gold {
  background: var(--c-gold);
  color: #0a0a0a;
  border-color: var(--c-gold);
}
.btn--gold:hover {
  background: transparent;
  color: var(--c-gold);
}
.btn--ghost {
  background: transparent;
  color: var(--c-text);
  border-color: var(--c-text);
}
.btn--ghost:hover {
  background: var(--c-text);
  color: var(--c-bg);
}
.btn--full { width: 100%; }

/* ============================================================
   SECTIONS
   ============================================================ */
section { padding: 140px 0; position: relative; }

.section__header {
  text-align: center;
  margin-bottom: 90px;
}
.section__header--light .section__title { color: var(--c-text); }
.section__eyebrow {
  font-size: 12px;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: 20px;
  font-weight: 500;
}
.section__title {
  font-family: var(--f-serif);
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.01em;
}
.section__divider {
  width: 60px;
  height: 1px;
  background: var(--c-gold);
  margin: 32px auto 0;
}
.section__divider--left { margin-left: 0; }
.section__intro {
  max-width: 640px;
  margin: 28px auto 0;
  color: var(--c-text-muted);
  font-size: 15px;
  line-height: 1.8;
}

/* ============================================================
   SERVICES
   ============================================================ */
.services { background: var(--c-bg-2); }
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--c-line);
  border: 1px solid var(--c-line);
}
.service {
  background: var(--c-bg-2);
  padding: 56px 36px;
  transition: background var(--t-mid);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.service:hover { background: var(--c-bg-3); }
.service__icon {
  width: 52px; height: 52px;
  color: var(--c-gold);
  margin: 0 auto 28px;
}
.service__icon svg { width: 100%; height: 100%; }
.service h3 {
  font-family: var(--f-serif);
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 14px;
}
.service p {
  color: var(--c-text-muted);
  font-size: 14px;
  line-height: 1.75;
}

/* ============================================================
   MARQUES
   ============================================================ */
.marques { background: var(--c-bg); }
.marques__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0;
  border-top: 1px solid var(--c-line);
}
.marque {
  padding: 60px 40px;
  border-bottom: 1px solid var(--c-line);
  border-right: 1px solid var(--c-line);
  transition: background var(--t-mid);
  position: relative;
}
.marque:last-child { border-right: none; }
.marque:hover { background: var(--c-bg-2); }
.marque__number {
  font-family: var(--f-serif);
  font-size: 14px;
  color: var(--c-gold);
  letter-spacing: 0.2em;
  margin-bottom: 32px;
}
.marque__name {
  font-family: var(--f-serif);
  font-size: 32px;
  font-weight: 500;
  margin-bottom: 8px;
}
.marque__tagline {
  font-style: italic;
  color: var(--c-gold);
  font-family: var(--f-serif);
  font-size: 17px;
  margin-bottom: 24px;
}
.marque__desc {
  color: var(--c-text-muted);
  font-size: 15px;
  line-height: 1.75;
}

/* ============================================================
   INSTALLATIONS
   ============================================================ */
.installations { background: var(--c-bg-2); }
.installations__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--c-line);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.install {
  padding: 56px 36px;
  border-right: 1px solid var(--c-line);
  transition: background var(--t-mid);
  position: relative;
}
.install:last-child { border-right: none; }
.install:hover { background: var(--c-bg-3); }
.install__num {
  font-family: var(--f-serif);
  font-size: 14px;
  color: var(--c-gold);
  letter-spacing: 0.2em;
  margin-bottom: 24px;
}
.install__icon {
  width: 48px; height: 48px;
  color: var(--c-gold);
  margin-bottom: 24px;
}
.install__icon svg { width: 100%; height: 100%; }
.install__title {
  font-family: var(--f-serif);
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 14px;
}
.install__desc {
  color: var(--c-text-muted);
  font-size: 14px;
  line-height: 1.75;
}

/* ============================================================
   COLLECTION
   ============================================================ */
.collection { background: var(--c-bg); }
.collection__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}
.card {
  background: var(--c-bg-2);
  border: 1px solid var(--c-line);
  overflow: hidden;
  transition: transform var(--t-mid), border-color var(--t-mid);
}
.card:hover {
  transform: translateY(-6px);
  border-color: var(--c-gold);
}
.card__image {
  height: 240px;
  position: relative;
  overflow: hidden;
}
.card__image::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.6) 100%);
}
.card__image--lambo {
  background:
    linear-gradient(180deg, rgba(10,10,10,0.15) 0%, rgba(10,10,10,0.75) 100%),
    url('../img/diablo-yellow.jpg') center 85%/cover no-repeat;
}
.card__image--ferrari {
  background:
    linear-gradient(180deg, rgba(10,10,10,0.15) 0%, rgba(10,10,10,0.75) 100%),
    url('../img/photo-ferrari.jpg') center/cover no-repeat;
}
.card__image--porsche {
  background:
    linear-gradient(180deg, rgba(10,10,10,0.15) 0%, rgba(10,10,10,0.75) 100%),
    url('../img/photo-911.jpg') center/cover no-repeat;
}
.card__image--porsche-gt3 {
  background:
    linear-gradient(180deg, rgba(10,10,10,0.15) 0%, rgba(10,10,10,0.75) 100%),
    url('../img/photo-gt3rs.jpg') center/cover no-repeat;
}
.card__image--maserati { background: linear-gradient(135deg, #001a2a 0%, #003a5c 50%, #c9a66b 100%); }

.card__tag {
  position: absolute;
  top: 16px; left: 16px;
  z-index: 2;
  background: rgba(10, 10, 10, 0.75);
  border: 1px solid var(--c-gold);
  color: var(--c-gold);
  padding: 6px 14px;
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-weight: 500;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.card__body { padding: 28px 28px 32px; }
.card__brand {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: 8px;
}
.card__model {
  font-family: var(--f-serif);
  font-size: 26px;
  font-weight: 500;
  margin-bottom: 8px;
}
.card__specs {
  color: var(--c-text-muted);
  font-size: 14px;
  margin-bottom: 20px;
  line-height: 1.6;
}
.card__details {
  list-style: none;
  margin: 0 0 24px;
  padding: 20px 0 0;
  border-top: 1px solid var(--c-line);
}
.card__details li {
  position: relative;
  padding-left: 18px;
  font-size: 13px;
  color: var(--c-text-muted);
  line-height: 1.7;
  margin-bottom: 6px;
}
.card__details li::before {
  content: '';
  position: absolute;
  left: 0; top: 11px;
  width: 8px; height: 1px;
  background: var(--c-gold);
}
.card--placeholder { border-style: dashed; }
.card--placeholder .card__model { font-style: italic; }
.card__link {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-gold);
  font-weight: 500;
}
.card__link:hover { color: var(--c-gold-light); }

/* ============================================================
   ABOUT / QUI SOMMES-NOUS
   ============================================================ */
.about { background: var(--c-bg); }
.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.about__text .section__title { text-align: left; }
.about__text .section__eyebrow { text-align: left; }
.about__text p {
  color: var(--c-text-muted);
  font-size: 16px;
  line-height: 1.85;
  margin-top: 24px;
}
.about__stats {
  display: flex;
  gap: 48px;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--c-line);
}
.stat__number {
  display: block;
  font-family: var(--f-serif);
  font-size: 52px;
  font-weight: 500;
  color: var(--c-gold);
  line-height: 1;
  margin-bottom: 8px;
}
.stat__label {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-text-muted);
}

/* Timeline */
.about__timeline {
  padding-top: 8px;
  border-left: 1px solid var(--c-line);
  padding-left: 40px;
}
.timeline__item {
  padding-bottom: 44px;
  position: relative;
}
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item::before {
  content: '';
  position: absolute;
  left: -46px; top: 7px;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--c-gold);
  border: 2px solid var(--c-bg);
}
.timeline__year {
  font-family: var(--f-serif);
  font-size: 20px;
  font-weight: 500;
  color: var(--c-gold);
  line-height: 1.3;
  display: block;
  margin-bottom: 8px;
}
.timeline__content h4 {
  font-family: var(--f-serif);
  font-size: 19px;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--c-text);
}
.timeline__content p {
  color: var(--c-text-muted);
  font-size: 14px;
  line-height: 1.8;
}

/* ============================================================
   INSTAGRAM
   ============================================================ */
.insta {
  background: linear-gradient(180deg, #0a0a0a 0%, #141414 100%);
  padding: 120px 0;
}
.insta .section__intro {
  max-width: 620px;
  margin: 24px auto 0;
  color: rgba(245, 241, 234, 0.65);
  font-size: 1rem;
  line-height: 1.7;
  text-align: center;
}
.insta__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 60px;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}
.insta__tile {
  position: relative;
  aspect-ratio: 1 / 1;
  border: 1px solid rgba(201, 166, 107, 0.15);
  overflow: hidden;
  background-color: #1a1a1a;
  transition: transform .5s ease, border-color .3s ease;
}
.insta__tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.insta__tile:hover {
  transform: scale(1.03);
  border-color: var(--c-gold);
  z-index: 2;
}
.insta__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 10, 10, 0.55);
  color: var(--c-gold);
  opacity: 0;
  transition: opacity .35s ease;
}
.insta__tile:hover .insta__overlay { opacity: 1; }
.insta__overlay svg { width: 38px; height: 38px; }
.insta__cta {
  text-align: center;
  margin-top: 50px;
}
.btn--gold-outline {
  display: inline-flex;
  align-items: center;
  padding: 14px 32px;
  border: 1px solid var(--c-gold);
  color: var(--c-gold);
  background: transparent;
  font-family: var(--f-sans);
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background .25s ease, color .25s ease;
}
.btn--gold-outline:hover {
  background: var(--c-gold);
  color: #0a0a0a;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact { background: var(--c-bg-2); }
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
}
.contact__info {
  display: flex;
  flex-direction: column;
  gap: 36px;
}
.contact__block h4 {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: 12px;
  font-weight: 500;
}
.contact__block p,
.contact__block a {
  font-family: var(--f-serif);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--c-text);
}
.contact__block a:hover { color: var(--c-gold); }
.contact__form {
  background: var(--c-bg);
  border: 1px solid var(--c-line);
  padding: 48px;
}
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.form__group {
  margin-bottom: 24px;
}
.form__group label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-text-muted);
  margin-bottom: 10px;
  font-weight: 500;
}
.form__group input,
.form__group select,
.form__group textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--c-line);
  padding: 12px 0;
  color: var(--c-text);
  font-family: inherit;
  font-size: 15px;
  transition: border-color var(--t-fast);
}
.form__group select { background: var(--c-bg); }
.form__group select option { background: var(--c-bg); color: var(--c-text); }
.form__group input:focus,
.form__group select:focus,
.form__group textarea:focus {
  outline: none;
  border-bottom-color: var(--c-gold);
}
.form__group textarea { resize: vertical; min-height: 100px; }
.form__feedback {
  margin-top: 16px;
  font-size: 13px;
  color: var(--c-gold);
  min-height: 18px;
  text-align: center;
}

/* ============================================================
   SOCIAL LINKS
   ============================================================ */
.social-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--c-gold);
  text-decoration: none;
  font-family: var(--f-sans);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  transition: color .25s ease, transform .25s ease;
}
.social-link:hover { color: #f0d590; transform: translateX(2px); }
.social-link__icon {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}
.social-link--footer { margin-top: 6px; }
.nav__instagram {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-left: 8px;
  border: 1px solid rgba(201, 166, 107, 0.4);
  border-radius: 50%;
  color: var(--c-gold);
  transition: background .25s ease, border-color .25s ease, transform .25s ease;
}
.nav__instagram:hover {
  background: var(--c-gold);
  border-color: var(--c-gold);
  color: #0a0a0a;
  transform: translateY(-2px);
}
.nav__instagram svg { width: 18px; height: 18px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #050505;
  border-top: 1px solid var(--c-line);
  padding-top: 80px;
}
.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 56px;
  padding-bottom: 60px;
}
.footer__logo {
  font-family: var(--f-serif);
  font-size: 32px;
  color: var(--c-gold);
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}
.footer__logo span {
  font-family: var(--f-sans);
  font-size: 12px;
  letter-spacing: 0.4em;
  color: var(--c-text);
  margin-left: 8px;
}
.footer__brand > p {
  color: var(--c-text-muted);
  font-size: 14px;
  line-height: 1.8;
}
.footer__contact-info {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.footer__contact-info p {
  color: var(--c-text-muted);
  font-size: 14px;
  line-height: 1.7;
}
.footer__contact-info a {
  color: var(--c-text-muted);
  font-size: 14px;
  transition: color var(--t-fast);
}
.footer__contact-info a:hover { color: var(--c-gold); }
.footer__col { display: flex; flex-direction: column; gap: 12px; }
.footer__col h5 {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: 12px;
  font-weight: 500;
}
.footer__col a,
.footer__col p {
  color: var(--c-text-muted);
  font-size: 14px;
  line-height: 1.8;
}
.footer__col a:hover { color: var(--c-gold); }
.footer__bottom {
  border-top: 1px solid var(--c-line);
  padding: 24px 32px;
  text-align: center;
}
.footer__bottom p {
  font-size: 12px;
  color: var(--c-text-muted);
  letter-spacing: 0.06em;
}
.footer__bottom a {
  color: var(--c-text-muted);
  transition: color var(--t-fast);
}
.footer__bottom a:hover { color: var(--c-gold); }

/* ============================================================
   ANIMATIONS ON SCROLL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(.2,.7,.2,1);
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .installations__grid { grid-template-columns: repeat(2, 1fr); max-width: 640px; }
  .install:nth-child(2) { border-right: none; }
}

@media (max-width: 960px) {
  section { padding: 90px 0; }

  /* Topbar : masqué sur mobile */
  .topbar { display: none; }
  .nav { top: 0; }

  /* Nav mobile */
  .nav__menu {
    position: fixed;
    top: 0; right: -100%;
    width: 80%; max-width: 360px;
    height: 100vh;
    background: var(--c-bg-2);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    transition: right var(--t-mid);
    border-left: 1px solid var(--c-line);
    z-index: 200;
  }
  .nav__menu.open { right: 0; }
  .nav__burger { display: flex; }
  .nav__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav__burger.open span:nth-child(2) { opacity: 0; }
  .nav__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* Hero */
  .hero__arrow { display: none; }
  .hero__slide { justify-content: center; }
  .hero__content { padding: 140px 24px 100px; text-align: center; max-width: 100%; }
  .hero__title { white-space: normal; font-size: clamp(28px, 7vw, 52px); }
  .hero__cta { justify-content: center; }
  .hero__title-box { display: block; }
  /* Nav dropdowns mobile : affichés en statique */
  .nav__dropdown {
    position: static; opacity: 1; pointer-events: auto;
    transform: none; background: transparent; border: none;
    backdrop-filter: none; min-width: 0;
  }
  .nav__dropdown-wrap { flex-direction: column; align-items: center; gap: 4px; width: 100%; }
  .nav__dropdown-col { padding: 0; }
  .nav__dropdown-item { padding: 8px 0; justify-content: center; }
  .nav__submenu {
    position: static; opacity: 1; pointer-events: auto;
    transform: none; background: transparent; border: none;
    backdrop-filter: none; padding: 0;
  }
  .nav__submenu a { padding: 6px 0 6px 12px; text-align: center; }
  .nav__chevron { display: none; }
  .nav__chevron-right { display: none; }
  .nav__cta-btn { justify-content: center; }
  .nav__search-btn { display: none; }

  /* About */
  .about__inner { grid-template-columns: 1fr; gap: 56px; }
  .about__stats { gap: 28px; flex-wrap: wrap; }
  .stat__number { font-size: 40px; }

  /* Contact */
  .contact__grid { grid-template-columns: 1fr; gap: 48px; }
  .contact__form { padding: 32px 24px; }
  .form__row { grid-template-columns: 1fr; gap: 0; }

  /* Footer */
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 40px; }

  /* Marques */
  .marque { border-right: none; }

  /* Instagram */
  .insta__grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .services__grid { grid-template-columns: 1fr; }
  .installations__grid { grid-template-columns: 1fr; }
  .install { border-right: none; border-bottom: 1px solid var(--c-line); }
  .install:last-child { border-bottom: none; }
}

@media (max-width: 560px) {
  .container, .nav__inner { padding: 0 20px; }
  .hero__cta { flex-direction: column; width: 100%; }
  .hero__cta .btn { width: 100%; text-align: center; }
  .hero__content { padding: 130px 20px 100px; }
  .footer__inner { grid-template-columns: 1fr; }
  .nav__logo-img { height: 56px; }
  .nav.scrolled .nav__logo-img { height: 42px; }
  section { padding: 70px 0; }
  .section__header { margin-bottom: 56px; }
  .marque, .service { padding: 40px 24px; }
  .install { padding: 40px 24px; }
  .contact__form { padding: 28px 20px; }
  .insta__grid { grid-template-columns: repeat(2, 1fr); }
  .insta { padding: 80px 0; }
  .about__stats { gap: 20px; }
}
