/* ===== GG STUDIO — Thème sombre gold, reconstitué depuis le design original ===== */

:root {
  --background: #191211;
  --foreground: #faf8f5;
  --card: #231a1a;
  --card-foreground: #faf8f5;
  --accent: #e4b750;
  --accent-foreground: #120b0b;
  --border: #3e3635a6;
  --muted-foreground: #a89f9a;
  --primary: #fd2b2e;
  --primary-foreground: #faf8f5;

  --gradient-card: linear-gradient(160deg, #281f1e, #191211);
  --gradient-gold: linear-gradient(135deg, #ffd97a, #cb882e);
  --gradient-hero: radial-gradient(circle at 20% 0%, #55110f80, transparent 50%),
                   radial-gradient(circle at 80% 100%, #4a340047, transparent 55%),
                   linear-gradient(180deg, #17100f, #0b0606);
  --gradient-red: linear-gradient(135deg, #fd2b2e, #9e0016);
  --shadow-elegant: 0 20px 50px -20px rgba(0,0,0,.6);
  --shadow-gold: 0 20px 60px -20px rgba(228,183,80,.35);
  --shadow-red: 0 15px 40px -15px rgba(253,43,46,.45);

  --font-sans: "Inter", system-ui, sans-serif;
  --font-display: "Playfair Display", "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.font-display { font-family: var(--font-display); }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }
.container-md { max-width: 768px; margin: 0 auto; padding: 0 1.5rem; }
.container-sm { max-width: 640px; margin: 0 auto; padding: 0 1.5rem; }

/* ===== Utility helpers ===== */
.text-gradient-gold {
  background: var(--gradient-gold);
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
}
.bg-hero { background: var(--gradient-hero); }
.bg-card-premium { background: var(--gradient-card); }
.shadow-elegant { box-shadow: var(--shadow-elegant); }
.shadow-gold { box-shadow: var(--shadow-gold); }
.shadow-red { box-shadow: var(--shadow-red); }

.accent { color: var(--accent); }
.pill {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  border-radius: 9999px;
  border: 1px solid rgba(228,183,80,.3);
  background: rgba(228,183,80,.05);
  padding: .35rem 1rem;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .3em;
  color: var(--accent);
}

/* ===== Glassmorphism header ===== */
.glass {
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  background: #170f0f8c;
  border: 1px solid rgba(255,255,255,.06);
}
.glass-gold-border { position: relative; }
.glass-gold-border::after {
  content: "";
  pointer-events: none;
  background: linear-gradient(90deg, transparent 5%, #eabe4a99, transparent 95%);
  height: 1px;
  position: absolute;
  bottom: 0; left: 0; right: 0;
}

/* ===== Header ===== */
.topbar {
  display: none;
  background: rgba(0,0,0,.25);
  border-bottom: 1px solid rgba(255,255,255,.05);
  font-size: 12px;
  color: var(--muted-foreground);
  padding: .4rem 0;
}
@media (min-width: 768px) {
  .topbar { display: block; }
}
.topbar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  justify-content: space-between;
}

header.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
}
.header-grid {
  max-width: 1280px;
  margin: 0 auto;
  padding: .9rem 1.5rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
}
.brand img { width: 34px; height: 34px; border-radius: 8px; }

nav.main-nav {
  display: none;
  gap: 2rem;
  justify-self: center;
  font-size: .85rem;
  font-weight: 500;
  letter-spacing: .02em;
}
@media (min-width: 768px) {
  nav.main-nav { display: flex; }
}
nav.main-nav a {
  position: relative;
  padding: .3rem 0;
  color: var(--muted-foreground);
  transition: color .2s;
}
nav.main-nav a:hover, nav.main-nav a.active { color: var(--foreground); }
nav.main-nav a.active { color: var(--accent); }

.story-link { display: inline-block; position: relative; }
.story-link::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: -2px;
  height: 1px;
  background: var(--accent);
  transition: right .3s ease;
}
.story-link:hover::after { right: 0; }

.header-right {
  display: flex;
  align-items: center;
  gap: .9rem;
  justify-self: end;
}
.icon-btn {
  color: var(--muted-foreground);
  transition: color .2s;
  font-size: 1rem;
}
.icon-btn:hover { color: var(--accent); }

.hamburger { display: block; background: none; border: none; color: var(--foreground); font-size: 1.3rem; }
@media (min-width: 768px) { .hamburger { display: none; } }

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--border);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: .9rem 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,.05);
  color: var(--muted-foreground);
  font-size: .95rem;
}
.mobile-menu a.active { color: var(--accent); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .8rem 1.8rem;
  border-radius: .8rem;
  font-weight: 600;
  font-size: .9rem;
  border: 1px solid transparent;
  transition: transform .25s cubic-bezier(.22,1,.36,1), box-shadow .3s, opacity .2s;
  isolation: isolate;
  position: relative;
  overflow: hidden;
}
.btn:hover { transform: translateY(-2px) scale(1.02); }
.btn-primary {
  background: var(--gradient-red);
  color: #fff;
  box-shadow: var(--shadow-red);
}
.btn-gold {
  background: var(--gradient-gold);
  color: var(--accent-foreground);
  box-shadow: var(--shadow-gold);
}
.btn-outline {
  background: transparent;
  border-color: var(--border);
  color: var(--foreground);
}
.btn-outline:hover { border-color: var(--accent); }
.btn-block { width: 100%; }

/* ===== Cards ===== */
.card {
  border-radius: 1.5rem;
  border: 1px solid var(--border);
  background: var(--card);
  padding: 1.75rem;
  transition: border-color .3s;
}
.card-premium {
  border-radius: 1.5rem;
  border: 1px solid var(--border);
  background: var(--gradient-card);
  padding: 1.75rem;
}
.hover-lift { transition: transform .3s ease, border-color .3s ease; }
.hover-lift:hover { transform: translateY(-4px); border-color: rgba(228,183,80,.5); }

.icon-tile {
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  background: rgba(228,183,80,.1);
  color: var(--accent);
  font-size: 1.3rem;
}

/* ===== Sections ===== */
section { position: relative; }
.section { padding: 5rem 0; }
.section-sm { padding: 3.5rem 0; }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  margin: .8rem 0 0;
}
.section-sub {
  color: var(--muted-foreground);
  max-width: 640px;
  margin: 1rem auto 0;
}
.text-center { text-align: center; }

.divider { height: 1px; background: linear-gradient(90deg, transparent, rgba(228,183,80,.4), transparent); border: none; margin: 0; }
.border-top { border-top: 1px solid rgba(255,255,255,.06); }

/* ===== Grid helpers ===== */
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ===== Hero ===== */
.hero {
  background: var(--gradient-hero);
  border-bottom: 1px solid rgba(255,255,255,.05);
  padding: 6rem 0 4rem;
  text-align: center;
  overflow: hidden;
  position: relative;
}
.hero-radial {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 30%, rgba(228,183,80,.12), transparent 60%);
  pointer-events: none;
}
.hero h1 { font-family: var(--font-display); font-size: clamp(2.4rem, 6vw, 4rem); margin: 1.2rem 0; line-height: 1.15; }
.hero p.lead { color: var(--muted-foreground); max-width: 620px; margin: 0 auto; font-size: 1.05rem; }
.hero-actions { display: flex; gap: 1rem; justify-content: center; margin-top: 2rem; flex-wrap: wrap; }
.badge-rating {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-top: 1.5rem;
  font-size: .85rem;
  color: var(--muted-foreground);
}
.badge-rating .fa-star { color: var(--accent); }

/* ===== Stats ===== */
.stats-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 3rem;
  text-align: center;
}
.stat-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--accent);
}
.stat-label { color: var(--muted-foreground); font-size: .85rem; margin-top: .3rem; }

/* ===== Process steps ===== */
.step {
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  padding: 1.75rem;
  background: var(--card);
  position: relative;
}
.step-num {
  font-family: var(--font-display);
  font-size: 2rem;
  color: rgba(228,183,80,.3);
}

/* ===== Logos strip ===== */
.logo-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  align-items: center;
  justify-content: center;
  opacity: .85;
}
.logo-strip img { height: 46px; width: auto; object-fit: contain; filter: grayscale(20%); border-radius: 8px; }

/* ===== Gallery ===== */
.gallery {
  columns: 4 220px;
  column-gap: 1rem;
}
@media (max-width: 900px) { .gallery { columns: 2 220px; } }
@media (max-width: 500px) { .gallery { columns: 1; } }
.gallery figure {
  margin: 0 0 1rem;
  break-inside: avoid;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid var(--border);
}
.gallery img { width: 100%; height: auto; transition: transform .5s ease; }
.gallery figure:hover img { transform: scale(1.04); }

/* ===== Video showcase ===== */
.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
@media (max-width: 900px) { .video-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .video-grid { grid-template-columns: 1fr; } }
.video-card {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  aspect-ratio: 9/16;
  background: #000;
  border: 1px solid var(--border);
}
.video-card iframe { width: 100%; height: 100%; border: 0; pointer-events: none; }

/* ===== Feature badges ===== */
.feature-badges { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.feature-badge {
  display: flex;
  align-items: center;
  gap: .6rem;
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: .8rem 1.2rem;
  background: var(--card);
  font-size: .85rem;
}
.feature-badge i { color: var(--accent); }

/* ===== Pricing tables ===== */
.price-tag { font-family: var(--font-display); font-size: 1.8rem; margin: .5rem 0; }
.price-card { position: relative; }
.price-card.popular { border-color: var(--accent); box-shadow: var(--shadow-gold); }
.popular-badge {
  position: absolute;
  top: -.9rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-gold);
  color: var(--accent-foreground);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  padding: .3rem 1rem;
  border-radius: 9999px;
  white-space: nowrap;
}
.feature-list { list-style: none; padding: 0; margin: 1.2rem 0 0; font-size: .9rem; color: var(--muted-foreground); }
.feature-list li { padding: .35rem 0; display: flex; gap: .5rem; align-items: flex-start; }
.feature-list li i { color: var(--accent); margin-top: .2rem; }

/* ===== Calculator ===== */
.calc-wrap {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 2rem;
  align-items: start;
}
@media (max-width: 900px) { .calc-wrap { grid-template-columns: 1fr; } }
.calc-group-title {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .3em;
  color: var(--accent);
  margin: 1.5rem 0 .8rem;
}
.calc-item {
  border: 1px solid var(--border);
  border-radius: .8rem;
  padding: .75rem;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: .5rem;
  transition: border-color .2s, background .2s;
}
.calc-item.active { border-color: var(--accent); background: rgba(228,183,80,.05); }
.calc-item-label { font-size: .88rem; font-weight: 500; }
.calc-item-price { font-size: 11px; color: var(--muted-foreground); margin-top: .2rem; }
.calc-item-controls { display: flex; align-items: center; gap: .4rem; }
.calc-btn {
  width: 1.8rem; height: 1.8rem;
  display: grid; place-items: center;
  border-radius: .5rem;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--foreground);
}
.calc-btn:hover { border-color: var(--accent); }
.calc-btn:disabled { opacity: .3; cursor: default; }
.calc-qty { width: 1.5rem; text-align: center; font-weight: 600; font-size: .9rem; }
.calc-items-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; }
@media (max-width: 560px) { .calc-items-grid { grid-template-columns: 1fr; } }

.calc-summary {
  position: sticky;
  top: 6rem;
  border: 1px solid rgba(228,183,80,.4);
  border-radius: 1.5rem;
  padding: 1.75rem;
  background: var(--gradient-card);
  box-shadow: var(--shadow-gold);
}
.calc-total { font-family: var(--font-display); font-size: 3.2rem; margin: 1.2rem 0 .3rem; }
.calc-list { list-style: none; padding: 1rem 0 0; margin: 1rem 0 0; border-top: 1px solid var(--border); font-size: 12px; max-height: 16rem; overflow-y: auto; }
.calc-list li { display: flex; justify-content: space-between; padding: .35rem 0; color: var(--muted-foreground); }

.range-slider { width: 100%; margin-top: .8rem; accent-color: var(--accent); }

/* ===== Team ===== */
.team-group { margin-top: 3rem; }
.team-group-head { display: flex; align-items: center; gap: .75rem; margin-bottom: 1.5rem; }
.team-group-head .icon-tile { width: 2.4rem; height: 2.4rem; font-size: 1rem; }
.team-group-head h3 { font-family: var(--font-display); font-size: 1.5rem; margin: 0; }
.team-group-line { height: 1px; flex: 1; background: linear-gradient(90deg, rgba(228,183,80,.4), transparent); }
.team-members { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
@media (max-width: 900px) { .team-members { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .team-members { grid-template-columns: 1fr; } }
.team-card { text-align: center; padding: 1.2rem; }
.team-avatar {
  width: 10rem; height: 10rem;
  margin: 0 auto;
  border-radius: 9999px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.team-avatar img { width: 100%; height: 100%; object-fit: cover; }
.team-name { font-family: var(--font-display); font-size: 1.25rem; margin-top: 1rem; }
.team-role { font-size: 11px; text-transform: uppercase; letter-spacing: .3em; color: var(--accent); margin-top: .3rem; }

/* ===== Reviews ===== */
.review-card { position: relative; }
.review-stars { display: flex; gap: .2rem; color: rgba(228,183,80,.3); }
.review-stars i.filled { color: var(--accent); }
.review-empty { grid-column: 1 / -1; text-align: center; color: var(--muted-foreground); padding: 3rem 0; }

/* ===== Footer ===== */
footer.site-footer {
  border-top: 1px solid var(--border);
  padding: 3rem 0 2rem;
  color: var(--muted-foreground);
  font-size: .9rem;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; }
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 { color: var(--foreground); font-size: .85rem; text-transform: uppercase; letter-spacing: .15em; margin-bottom: 1rem; }
.footer-grid a { display: block; padding: .3rem 0; transition: color .2s; }
.footer-grid a:hover { color: var(--accent); }
.footer-social { display: flex; gap: 1rem; margin-top: 1rem; font-size: 1.1rem; }
.footer-social a:hover { color: var(--accent); }
.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.06);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: .8rem;
}

/* ===== Support page ===== */
.support-tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin-top: 2rem; }
@media (max-width: 768px) { .support-tiers { grid-template-columns: 1fr; } }
.support-tier { text-align: center; padding: 1.5rem; }
.support-tier i { font-size: 1.6rem; color: var(--accent); }

/* ===== Legal ===== */
.legal-content h2 { font-family: var(--font-display); margin-top: 2.5rem; }
.legal-content p { color: var(--muted-foreground); }

/* ===== Misc animation ===== */
.fade-in { animation: fadeIn .6s ease both; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* ===== Order modal ===== */
.modal-overlay {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(25,18,17,.8);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.modal-overlay.open { display: flex; }
.modal-box {
  max-width: 32rem;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 1.5rem;
  border: 1px solid var(--border);
  background: var(--gradient-card);
  box-shadow: var(--shadow-elegant);
  padding: 1.75rem;
  position: relative;
}
.modal-close {
  position: absolute;
  top: 1rem; right: 1rem;
  background: none;
  border: none;
  color: var(--muted-foreground);
  font-size: 1.1rem;
}
.form-field { margin-top: 1rem; }
.form-field label { font-size: .85rem; display: block; margin-bottom: .4rem; }
.form-field input, .form-field textarea, .form-field select {
  width: 100%;
  background: rgba(0,0,0,.25);
  border: 1px solid var(--border);
  border-radius: .6rem;
  padding: .6rem .8rem;
  color: var(--foreground);
  font-family: inherit;
  font-size: .9rem;
}
.form-field textarea { min-height: 6rem; resize: vertical; }
.form-error { color: #ff8080; font-size: .75rem; margin-top: .3rem; }
