/* ====================================
   VARIABLES & THEMES
   ==================================== */

:root {
  /* Palette */
  --gold:   #c58a2b;
  --gold2:  #e1b45a;

  /* Dark theme (default) */
  --bg:     #0f1115;
  --panel:  #161a21;
  --panel2: #1b2028;
  --text:   #f5f7fa;
  --muted:  #b9c0cc;
  --line:   rgba(255, 255, 255, 0.10);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.32);

  /* Misc */
  --r:   22px;
  --max: 1180px;

  color-scheme: dark;
}

html[data-theme="light"] {
  --bg:     #f4f6f9;
  --panel:  #ffffff;
  --panel2: #eef2f7;
  --text:   #10131a;
  --muted:  #5c6675;
  --line:   rgba(10, 18, 30, 0.10);
  --shadow: 0 18px 48px rgba(10, 18, 30, 0.12);

  color-scheme: light;
}


/* ====================================
   RESET & BASE
   ==================================== */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background:
    radial-gradient(1200px 900px at 20% 0%, rgba(197, 138, 43, 0.14), transparent 50%),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
}

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

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


/* ====================================
   LAYOUT
   ==================================== */

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.grid2 {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: center;
}

.grid3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.hero,
.section {
  padding: 72px 0;
}

.sectionHead {
  max-width: 780px;
  margin-bottom: 26px;
}

.sectionHead h1,
.sectionHead h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
  margin: 0;
}

.sectionHead p {
  color: var(--muted);
  max-width: 70ch;
}


/* ====================================
   HEADER
   ==================================== */

.top {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(15, 17, 21, 0.82);
  border-bottom: 1px solid var(--line);
}

.bar {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.logo {
  width: 54px;
  height: 54px;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.brand b {
  display: block;
  font-size: 1.08rem;
  letter-spacing: 0.2px;
}

.brand span {
  display: block;
  color: var(--muted);
  font-size: 0.92rem;
}

.nav {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}

.nav a {
  color: var(--muted);
  padding: 10px 12px;
  border-radius: 999px;
  transition: 0.2s;
}

.nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

/* Menu mobile */
.menuBtn {
  display: none;
}

.top .mob {
  display: none;
}

.mob {
  display: none;
  border-top: 1px solid var(--line);
  padding: 12px 20px 18px;
}

.mob a {
  display: block;
  padding: 12px 4px;
  color: var(--muted);
}

.mob.show {
  display: block;
}


/* ====================================
   BUTTONS
   ==================================== */

.btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  color: var(--text);
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s;
}

.btn:hover {
  transform: translateY(-1px);
  border-color: rgba(197, 138, 43, 0.45);
}

.btn.primary {
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  color: #111;
  border-color: transparent;
}

.btn.alt {
  min-width: 46px;
}


/* ====================================
   TEXT & LABELS
   ==================================== */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid rgba(197, 138, 43, 0.35);
  background: rgba(197, 138, 43, 0.08);
  color: #f5d18a;
  border-radius: 999px;
  font-size: 0.88rem;
}

.goldLine {
  display: block;
  width: 88px;
  height: 4px;
  margin: 18px 0 20px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), var(--gold2));
}

.lead {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 62ch;
}

.muted {
  color: var(--muted);
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.7rem);
  max-width: 12ch;
  line-height: 1.05;
  margin: 0;
}


/* ====================================
   HERO CARD
   ==================================== */

.heroCard {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.heroCard img {
  width: 100%;
  height: min(620px, 72vh);
  object-fit: cover;
}

.heroBadge {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  padding: 18px;
  border-radius: 18px;
  background: rgba(13, 16, 21, 0.72);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.10);
}


/* ====================================
   CARDS (base partagée)
   ==================================== */

.kpi,
.card,
.reviewCard,
.mini,
.statCard,
.info,
.formCard,
.shot {
  background: linear-gradient(180deg, var(--panel), var(--panel2));
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow);
}

.kpi,
.statCard,
.mini,
.info {
  padding: 20px;
}

.kpi strong,
.statCard strong,
.mini strong,
.info strong {
  display: block;
  font-size: 1.02rem;
  margin-bottom: 6px;
}


/* ====================================
   KPIS
   ==================================== */

.kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}


/* ====================================
   SERVICES
   ==================================== */

.services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.card {
  padding: 22px;
}

.cardIcon {
  width: 56px;
  height: 56px;
  margin-bottom: 14px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(197, 138, 43, 0.12);
  font-size: 1.4rem;
}


/* ====================================
   REVIEWS
   ==================================== */

.reviewGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.reviewCard {
  padding: 22px;
}

.stars {
  color: #ffcf66;
  font-size: 1.05rem;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.reviewAuthor {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 18px;
}

.reviewAvatar {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  color: #111;
  display: grid;
  place-items: center;
  font-weight: 800;
}


/* ====================================
   GALLERY
   ==================================== */

.gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.shot {
  overflow: hidden;
}

.shot img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.cap {
  padding: 14px 16px;
  color: var(--muted);
  font-size: 0.95rem;
}


/* ====================================
   TAGS & CHIPS
   ==================================== */

.zoneGrid,
.chips,
.tagLine {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.zoneTag,
.chip {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}


/* ====================================
   FAQ
   ==================================== */

.faqItem {
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 18px;
  overflow: hidden;
}

.faqQ {
  width: 100%;
  text-align: left;
  padding: 18px 20px;
  background: transparent;
  border: 0;
  color: var(--text);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faqA {
  display: none;
  padding: 0 20px 18px;
  color: var(--muted);
}

.faqItem.open .faqA {
  display: block;
}


/* ====================================
   FORM
   ==================================== */

.formCard {
  padding: 24px;
}

.formGrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.formGrid label,
.formCard label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.94rem;
}

input,
select,
textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: #11151b;
  color: var(--text);
  outline: none;
}

textarea {
  min-height: 160px;
  resize: vertical;
}

.formActions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
}


/* ====================================
   FOOTER
   ==================================== */

.footer {
  padding: 34px 0 18px;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 16px;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
}

.footerLinks {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.footerLinks a {
  color: var(--muted);
}

.footerLegal {
  padding: 0 0 26px;
  color: var(--muted);
  font-size: 0.92rem;
}


/* ====================================
   COOKIE BAR
   ==================================== */

.cookieBar {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 60;
}

.cookieBox {
  width: min(var(--max), 100%);
  margin: 0 auto;
  background: rgba(18, 22, 29, 0.94);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.cookieInner {
  padding: 16px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}


/* ====================================
   EFFECTS
   ==================================== */

.shimmer {
  position: relative;
  overflow: hidden;
}

.shimmer::before {
  content: '';
  position: absolute;
  inset: -40% -120%;
  background: linear-gradient(
    115deg,
    transparent 35%,
    rgba(255, 255, 255, 0.25),
    transparent 65%
  );
  transform: translateX(-40%);
  animation: shine 2.8s infinite;
}

.shimmer > * {
  position: relative;
  z-index: 1;
}

@keyframes shine {
  to {
    transform: translateX(40%);
  }
}


/* ====================================
   INFO BLOCK
   ==================================== */

.info {
  display: grid;
  gap: 10px;
}


/* ====================================
   RESPONSIVE – Tablette (≤ 980px)
   ==================================== */

@media (max-width: 980px) {

  .grid2,
  .services,
  .reviewGrid,
  .gallery,
  .grid3 {
    grid-template-columns: 1fr 1fr;
  }

  .kpis {
    grid-template-columns: 1fr;
  }

  .nav {
    display: none;
  }

  .menuBtn {
    display: inline-flex;
  }

  .bar {
    min-height: 76px;
  }

}


/* ====================================
   RESPONSIVE – Mobile (≤ 720px)
   ==================================== */

@media (max-width: 720px) {

  .grid2,
  .services,
  .reviewGrid,
  .gallery,
  .grid3,
  .formGrid {
    grid-template-columns: 1fr;
  }

  .hero,
  .section {
    padding: 56px 0;
  }

  .actions .primary {
    display: none;
  }

  .heroCard img {
    height: 420px;
  }

  .cookieInner {
    align-items: flex-start;
  }

  .wrap {
    width: min(var(--max), calc(100% - 28px));
  }

}