/* =============================================
   MX CREATIVE PARTNER — style.css
   ============================================= */

/* --- Font --- */
@font-face {
  font-family: 'Seatren';
  src: url('../fonts/Seatren.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* --- Reset & Variables --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
* { cursor: none; }

:root {
  --noir:    #0a0a0a;
  --rouge:   #C0291A;
  --rouge2:  #a8220f;
  --creme:   #F0EBE1;
  --g1:      #141414;
  --g2:      #1e1e1e;
  --g3:      #2a2a2a;
  --muted:   #888;
  --border:  rgba(255,255,255,0.07);
  --font-title: 'Seatren', sans-serif;
  --font-body:  'Inter', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: linear-gradient(160deg, #130202 0%, #0d0101 40%, #0a0a0a 100%);
  color: var(--creme);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

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

/* --- Custom Cursor --- */
#mx-cursor {
  position: fixed;
  width: 10px; height: 10px;
  background: var(--rouge);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width .15s, height .15s, opacity .15s;
}
#mx-glow {
  position: fixed;
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(192,41,26,.18) 0%, rgba(192,41,26,.05) 55%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%);
  filter: blur(28px);
  will-change: left, top;
}

/* Cursor enlarge on hover */
a:hover ~ #mx-cursor,
button:hover ~ #mx-cursor { width: 18px; height: 18px; }

/* --- Navigation --- */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: .8rem 4rem;
  background: rgba(10,10,10,.85);
  backdrop-filter: blur(16px);
  border-bottom: .5px solid var(--border);
}
.nav-logo img { height: 50px; width: auto; opacity: .9; }
.nav-links {
  display: flex; align-items: center; gap: 2.5rem;
  list-style: none;
}
.nav-links a {
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color .2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--creme); }
.nav-links a.active::after {
  content: ''; display: block; height: 1px;
  background: var(--rouge); margin-top: 2px;
}
.nav-cta {
  background: var(--rouge);
  color: var(--creme) !important;
  padding: .55rem 1.4rem;
  border-radius: 999px;
  font-size: .82rem !important;
  letter-spacing: .1em !important;
  transition: background .2s !important;
}
.nav-cta:hover { background: var(--rouge2) !important; }

/* Hamburger mobile */
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--creme); border-radius: 2px; transition: .3s; }

/* --- Eyebrow label --- */
.eyebrow {
  font-size: .72rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--rouge);
  margin-bottom: 1rem;
  display: flex; align-items: center; gap: .7rem;
  justify-content: center;
}
.eyebrow::before,
.eyebrow::after { content: ''; flex: 0 0 24px; height: .5px; background: var(--rouge); opacity: .5; }

/* --- Section base --- */
section {
  padding: 7rem 4rem;
  position: relative;
}
.section-title {
  font-family: var(--font-title);
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  color: var(--creme);
  line-height: 1.05;
  margin-bottom: 3rem;
  text-align: center;
}
.section-title em { color: var(--rouge); font-style: normal; }
.section-sub {
  text-align: center;
  color: var(--muted);
  font-size: .95rem;
  max-width: 560px;
  margin: -2rem auto 3rem;
  line-height: 1.7;
}

/* --- Buttons --- */
.btn-primary {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--rouge);
  color: var(--creme);
  padding: .9rem 2.2rem;
  border-radius: 999px;
  font-size: .88rem;
  letter-spacing: .08em;
  font-weight: 500;
  transition: background .2s, transform .2s, box-shadow .2s;
  border: none;
}
.btn-primary:hover {
  background: var(--rouge2);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(192,41,26,.35);
}
.btn-ghost {
  display: inline-flex; align-items: center; gap: .5rem;
  background: transparent;
  color: var(--creme);
  padding: .9rem 2.2rem;
  border-radius: 999px;
  font-size: .88rem;
  letter-spacing: .08em;
  font-weight: 500;
  border: .5px solid rgba(255,255,255,.2);
  transition: border-color .2s, background .2s, transform .2s;
}
.btn-ghost:hover {
  border-color: var(--rouge);
  background: rgba(192,41,26,.06);
  transform: translateY(-2px);
}

/* --- HERO (index) --- */
.hero {
  min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: 10rem 4rem 6rem;
  border-bottom: .5px solid var(--border);
}
.hero-title {
  font-family: var(--font-title);
  font-size: clamp(3.5rem, 9vw, 8rem);
  color: var(--creme);
  line-height: 1;
  margin-bottom: 1.5rem;
}
.hero-title em { color: var(--rouge); font-style: normal; }
.hero-sub {
  color: var(--muted);
  font-size: 1rem;
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}
.hero-actions {
  display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center;
  margin-bottom: 4rem;
}

/* Nav cards on home */
.nav-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  max-width: 900px;
}
.nav-card {
  background: var(--rouge);
  border: none;
  border-radius: 20px;
  padding: 2rem 2.5rem;
  text-align: left;
  transition: background .25s, transform .2s, box-shadow .25s;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.nav-card:hover {
  background: var(--rouge2);
  transform: translateX(6px);
  box-shadow: 0 12px 32px rgba(192,41,26,.35);
}
.nav-card-icon { display: none; }
.nav-card-title {
  font-family: var(--font-title);
  font-size: 1.8rem;
  color: var(--creme);
  white-space: nowrap;
}
.nav-card-sub {
  font-size: .88rem;
  color: rgba(240,235,225,0.75);
  line-height: 1.5;
  max-width: 320px;
  text-align: right;
}
.nav-card::after {
  content: '→';
  font-size: 1.5rem;
  color: rgba(240,235,225,0.5);
  flex-shrink: 0;
}

/* --- À propos (home) --- */
.about {
  background: var(--g1);
  border-top: .5px solid var(--border);
  border-bottom: .5px solid var(--border);
}
.about-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.about-text {
  color: #aaa;
  font-size: .95rem;
  line-height: 1.8;
  margin-bottom: 1.2rem;
}
.about-text strong { color: var(--creme); }
.about-quote {
  font-family: var(--font-title);
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--creme);
  margin: 2.5rem 0;
  line-height: 1.3;
}
.about-quote em { color: var(--rouge); font-style: normal; }

/* --- PORTFOLIO --- */
.portfolio-hero {
  min-height: 38vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: 9rem 4rem 4rem;
  border-bottom: .5px solid var(--border);
}

/* Tabs */
.tabs-bar {
  display: flex; gap: .5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}
.tab-btn {
  background: var(--g1);
  border: .5px solid var(--border);
  border-radius: 999px;
  color: var(--muted);
  padding: .55rem 1.4rem;
  font-size: .82rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: background .2s, color .2s, border-color .2s;
}
.tab-btn:hover, .tab-btn.active {
  background: var(--rouge);
  color: var(--creme);
  border-color: var(--rouge);
}
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* Photo grid */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}
.photo-item {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
}
.photo-item img {
  width: 100%; height: auto;
  display: block;
  transition: transform .4s ease;
}
.photo-item:hover img { transform: scale(1.06); }
.photo-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,.78));
  padding: 1.2rem .8rem .6rem;
  transform: translateY(100%);
  transition: transform .35s ease;
}
.photo-item:hover .photo-overlay { transform: translateY(0); }
.photo-artist {
  color: #fff;
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}

/* Video grid */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.video-item { border-radius: 10px; overflow: hidden; background: var(--g1); border: .5px solid var(--border); }
.video-thumb {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.video-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.video-item:hover .video-thumb img { transform: scale(1.04); }
.video-play-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,.3);
  transition: background .2s;
}
.video-item:hover .video-play-overlay { background: rgba(0,0,0,.15); }
.play-btn {
  width: 48px; height: 48px;
  background: var(--rouge);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  color: #fff;
  transition: transform .2s, background .2s;
}
.video-item:hover .play-btn { transform: scale(1.1); }
.video-meta { padding: .9rem 1rem; font-size: .82rem; color: var(--muted); }
/* Iframe embed */
.video-thumb iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: none;
}

/* --- CRÉATION GRAPHIQUE --- */
.creation-hero {
  min-height: 38vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: 9rem 4rem 4rem;
  border-bottom: .5px solid var(--border);
}
.chartes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  max-width: 1100px;
  margin: 0 auto;
}
.charte-card {
  background: var(--g1);
  border: .5px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.charte-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,.5);
  border-color: rgba(192,41,26,.4);
}
.charte-card img { width: 100%; height: auto; }
.charte-card-label {
  padding: 1rem 1.5rem;
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  border-top: .5px solid var(--border);
}

/* --- TARIFS --- */
.tarifs-hero {
  min-height: 38vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: 9rem 4rem 4rem;
  border-bottom: .5px solid var(--border);
}
.tarifs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.2rem;
  max-width: 1100px;
  margin: 0 auto;
}
.tarif-card {
  background: var(--g1);
  border: .5px solid var(--border);
  border-radius: 16px;
  padding: 0;
  overflow: hidden;
  transition: border-color .2s, box-shadow .2s;
}
.tarif-card:hover { border-color: rgba(192,41,26,.4); box-shadow: 0 8px 32px rgba(0,0,0,.4); }
.tarif-header {
  padding: 1.8rem 1.8rem 1.2rem;
  display: flex; justify-content: space-between; align-items: flex-start;
  cursor: none;
  user-select: none;
}
.tarif-left { flex: 1; }
.tarif-name {
  font-size: .68rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .5rem;
}
.tarif-price {
  font-family: var(--font-title);
  font-size: 2.6rem;
  color: var(--creme);
  line-height: 1;
}
.tarif-price sup { font-size: 1.1rem; color: var(--rouge); vertical-align: super; }
.tarif-price .per { font-size: .85rem; color: var(--muted); font-family: var(--font-body); margin-left: .2rem; }
.tarif-toggle-icon {
  color: var(--rouge);
  font-size: 1.1rem;
  transition: transform .3s;
  margin-top: .3rem;
  flex-shrink: 0;
}
.tarif-card.open .tarif-toggle-icon { transform: rotate(180deg); }
.tarif-body {
  display: none;
  padding: 0 1.8rem 1.8rem;
  border-top: .5px solid var(--border);
  margin-top: 0;
  animation: fadeIn .2s ease;
}
.tarif-card.open .tarif-body { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }
.tarif-desc {
  color: var(--muted);
  font-size: .85rem;
  line-height: 1.65;
  padding-top: 1.2rem;
}
.tarif-desc li { margin-left: 1rem; margin-bottom: .3rem; }

/* Gestion mensuelle tiers */
.gestion-tiers {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.tarif-card.featured {
  border-color: rgba(192,41,26,.5);
  background: linear-gradient(135deg, #1a0808, #120404);
}
.tarif-card.featured .tarif-price { color: var(--rouge); }

.tarifs-note {
  max-width: 1100px;
  margin: 2rem auto 0;
  font-size: .8rem;
  color: var(--muted);
  font-style: italic;
  border-top: .5px solid var(--border);
  padding-top: 1.5rem;
  text-align: center;
}

/* --- CONTACT --- */
.contact-hero {
  min-height: 38vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: 9rem 4rem 4rem;
  border-bottom: .5px solid var(--border);
}
.contact-section { max-width: 1100px; margin: 0 auto; }
.contact-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 4rem;
  align-items: start;
}
.contact-info {
  position: sticky;
  top: 7rem;
  display: flex; flex-direction: column; gap: 1.8rem;
  padding-top: 1rem;
}
.contact-info-block {}
.contact-info-label {
  font-size: .68rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .3rem;
}
.contact-info-value {
  font-size: .95rem;
  color: var(--creme);
  transition: color .2s;
}
.contact-info-value:hover { color: var(--rouge); }
.contact-info-quote {
  font-family: var(--font-title);
  font-size: 1.15rem;
  color: var(--muted);
  line-height: 1.4;
  border-left: 2px solid var(--rouge);
  padding-left: 1rem;
  margin-top: 1rem;
}
.contact-form {
  background: var(--g1);
  border: .5px solid var(--border);
  border-radius: 20px;
  padding: 2.5rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 0;
}
.form-group { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1.2rem; }
.form-label {
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.req { color: var(--rouge); }
.form-input {
  background: var(--g2);
  border: .5px solid var(--border);
  border-radius: 10px;
  color: var(--creme);
  font-family: var(--font-body);
  font-size: .92rem;
  padding: .85rem 1.1rem;
  transition: border-color .2s, background .2s;
  outline: none;
  cursor: none;
  width: 100%;
}
.form-input:focus {
  border-color: var(--rouge);
  background: var(--g3);
}
.form-select { appearance: none; }
.form-textarea { resize: vertical; min-height: 140px; }
.form-group .optional { color: #555; font-size: .68rem; margin-left: .3rem; text-transform: none; letter-spacing: 0; }

/* Checkboxes */
.form-checkboxes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .5rem;
  margin-top: .3rem;
}
.form-check {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .85rem;
  color: var(--muted);
  padding: .5rem .8rem;
  border: .5px solid var(--border);
  border-radius: 8px;
  background: var(--g2);
  transition: border-color .2s, color .2s;
  cursor: none;
}
.form-check:hover { border-color: var(--rouge); color: var(--creme); }
.form-check input[type="checkbox"] {
  accent-color: var(--rouge);
  width: 14px; height: 14px;
  flex-shrink: 0;
  background: transparent;
  border: none;
  padding: 0;
  cursor: none;
}

/* Submit */
.form-submit-wrap { margin-top: .5rem; }
.form-submit { width: 100%; padding: 1rem; font-size: .92rem; letter-spacing: .08em; border: none; }

/* Feedback */
.form-feedback { margin-top: 1rem; font-size: .85rem; text-align: center; min-height: 1.4em; }
.form-feedback.error { color: #e55; }
.form-feedback.success { color: #6c6; }

/* --- FOOTER --- */
footer {
  background: var(--noir);
  border-top: .5px solid var(--border);
  padding: 4rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
}
.footer-logo img { height: 80px; opacity: .8; }
.footer-links {
  display: flex; gap: 2rem; flex-wrap: wrap; justify-content: center;
  list-style: none;
}
.footer-links a {
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color .2s;
}
.footer-links a:hover { color: var(--creme); }
.footer-social {
  display: flex; gap: 1rem; justify-content: flex-end;
  list-style: none;
}
.footer-social a {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  border: .5px solid var(--border);
  border-radius: 50%;
  color: var(--muted);
  font-size: .85rem;
  transition: border-color .2s, color .2s, background .2s;
}
.footer-social a:hover {
  border-color: var(--rouge);
  color: var(--creme);
  background: rgba(192,41,26,.1);
}
.footer-copy {
  grid-column: 1 / -1;
  text-align: center;
  font-size: .72rem;
  color: #444;
  border-top: .5px solid var(--border);
  padding-top: 1.5rem;
  margin-top: .5rem;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .nav-cards { flex-direction: column; }
  .chartes-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .gestion-tiers { grid-template-columns: 1fr; }
  footer { grid-template-columns: 1fr; justify-items: center; }
  .footer-social { justify-content: center; }
}
@media (max-width: 768px) {
  nav { padding: 1rem 1.5rem; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: rgba(10,10,10,.98); padding: 2rem; gap: 1.5rem; border-bottom: .5px solid var(--border); }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  .nav-cta { border-radius: 999px; text-align: center; }
  section { padding: 5rem 1.5rem; }
  .hero { padding: 8rem 1.5rem 4rem; }
  .nav-cards { flex-direction: column; gap: .75rem; }
  .nav-card { flex-direction: column; align-items: flex-start; padding: 1.5rem; }
  .nav-card-sub { text-align: left; max-width: 100%; }
  .photo-grid { grid-template-columns: repeat(2, 1fr); }
  .video-grid { grid-template-columns: 1fr; }
  .chartes-grid { grid-template-columns: 1fr; }
  .tarifs-grid { grid-template-columns: 1fr; }
  .gestion-tiers { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-info { position: static; }
  .form-checkboxes { grid-template-columns: 1fr; }
  .contact-form { padding: 1.5rem; }
  footer { padding: 3rem 1.5rem; }
}
