/* ============================================================
   STYLE.CSS — Mattis Editing — Monteur Vidéo Freelance
   ============================================================ */

/* ===== RESET & VARIABLES ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --black: #000000;
  --white: #FFFFFF;
  --dark: #1A1A1A;
  --light: #E5E5E5;
  --gold: #C2A66B;
  --font-title: 'Montserrat', sans-serif;
  --font-body: 'Open Sans', sans-serif;
  --nav-h: 72px;
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--black);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: var(--white); }
::-webkit-scrollbar-thumb { background: var(--black); }

/* ===== CURSOR ===== */
.cursor {
  width: 8px; height: 8px;
  background: var(--black); border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9999;
  transition: transform 0.15s var(--ease), background 0.3s;
  transform: translate(-50%, -50%);
}
.cursor-ring {
  width: 36px; height: 36px;
  border: 1px solid rgba(0,0,0,0.3); border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9998;
  transition: transform 0.4s var(--ease);
  transform: translate(-50%, -50%);
}

/* ===== NAVBAR ===== */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%;
  z-index: 1000;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}
nav.scrolled {
  border-color: var(--light);
  box-shadow: 0 2px 30px rgba(0,0,0,0.06);
}

/* Logo navbar */
.nav-logo {
  display: flex; align-items: center;
  text-decoration: none;
  height: 54px;          /* plus grand */
}
.nav-logo img { height: 200%; width: auto; object-fit: contain; }
.nav-logo-fallback {
  font-family: var(--font-title); font-weight: 900;
  font-size: 1.1rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--black);
}
.nav-logo-fallback span { color: var(--gold); }

.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links a {
  font-family: var(--font-title); font-weight: 600;
  font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--black); text-decoration: none;
  position: relative; transition: color 0.3s;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 1px; background: var(--black);
  transition: width 0.35s var(--ease);
}
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  background: var(--black) !important; color: var(--white) !important;
  padding: 10px 22px;
  font-size: 0.65rem !important; letter-spacing: 0.2em !important;
  transition: opacity 0.3s !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { opacity: 0.8 !important; }

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 4px; background: none; border: none;
}
.hamburger span {
  display: block; width: 24px; height: 1.5px; background: var(--black);
  transition: transform 0.35s var(--ease), opacity 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-menu {
  display: none; position: fixed; top: var(--nav-h); left: 0; right: 0;
  background: var(--white); border-bottom: 1px solid var(--light);
  padding: 2rem 5%; z-index: 999;
  flex-direction: column; gap: 1.5rem;
  transform: translateY(-20px); opacity: 0;
  transition: transform 0.4s var(--ease), opacity 0.3s;
}
.mobile-menu.open { transform: translateY(0); opacity: 1; display: flex; }
.mobile-menu a {
  font-family: var(--font-title); font-weight: 600;
  font-size: 0.8rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--black); text-decoration: none;
}

/* ===== REVEAL ANIMATION ===== */
.reveal {
  opacity: 0; transform: translateY(40px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ===== HERO ===== */
#accueil {
  min-height: 100vh;
  display: flex; align-items: center;
  padding: var(--nav-h) 5% 0;
  position: relative; overflow: hidden;
}
.hero-bg {
  position: absolute; top: 0; right: 0;
  width: 50%; height: 100%;
  background: var(--dark);
  clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
  z-index: 0;
}
.hero-bg-noise {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  z-index: 1; pointer-events: none;
}
.hero-content { position: relative; z-index: 2; max-width: 680px; }

/* Tag doré — légèrement abaissé */
.hero-tag {
  font-family: var(--font-title); font-size: 0.65rem; font-weight: 600;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--gold);
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 1.4rem;   /* était 2rem — un peu moins haut */
  margin-top: 0.6rem;      /* petit décalage vers le bas */
}
.hero-tag::before { content: ''; display: block; width: 32px; height: 1px; background: var(--gold); }

.hero-h1 {
  font-family: var(--font-title);
  font-size: clamp(3rem, 7vw, 6.5rem);
  font-weight: 900; line-height: 1; letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}
.hero-h1 em {
  font-style: normal;
  color: var(--white); /* On remplit avec la couleur du fond (ex: blanc) */
  -webkit-text-stroke: 3px var(--black); /* On met un trait plus épais */
  paint-order: stroke fill; /* Le trait passe derrière le remplissage */
}
.hero-desc {
  font-size: 1rem; font-weight: 300; color: #555;
  max-width: 420px; margin-bottom: 2.5rem; line-height: 1.8;
}

.hero-actions { display: flex; gap: 1.2rem; flex-wrap: wrap; }

/* Hero stats : espace avec la section suivante */
.hero-stats {
  margin-top: 3rem;        /* légèrement réduit */
  margin-bottom: 2.5rem;   /* espace avant le bas de section */
  display: flex; gap: 3rem;
}
.hero-stat-num { font-family: var(--font-title); font-size: 2rem; font-weight: 900; line-height: 1; }
.hero-stat-label { font-size: 0.65rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: #888; margin-top: 4px; }

/* ===== BOUTONS ===== */
.btn-primary {
  background: var(--black); color: var(--white);
  font-family: var(--font-title); font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  padding: 16px 36px; border: 2px solid var(--black);
  cursor: pointer; text-decoration: none; display: inline-block;
  transition: background 0.3s, color 0.3s, transform 0.2s;
  white-space: nowrap;
}
.btn-primary:hover { background: var(--dark); transform: translateY(-2px); }

.btn-outline {
  background: transparent; color: var(--black);
  font-family: var(--font-title); font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  padding: 16px 36px; border: 2px solid var(--black);
  cursor: pointer; text-decoration: none; display: inline-block;
  transition: background 0.3s, color 0.3s, transform 0.2s;
  white-space: nowrap;
}
.btn-outline:hover { background: var(--black); color: var(--white); transform: translateY(-2px); }

/* ===== SECTIONS ===== */
section { padding: 7rem 5%; }
.section-tag {
  font-family: var(--font-title); font-size: 0.6rem; font-weight: 700;
  letter-spacing: 0.35em; text-transform: uppercase; color: var(--gold);
  display: flex; align-items: center; gap: 12px; margin-bottom: 1.2rem;
}
.section-tag::before { content: ''; display: block; width: 24px; height: 1px; background: var(--gold); }

h2.section-title {
  font-family: var(--font-title);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 900; line-height: 1.05; letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}
.section-divider { width: 100%; height: 1px; background: var(--light); }

/* ===== ABOUT ===== */
#portfolio { background: var(--white); }
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 6rem; align-items: center; margin-top: 3rem;
}
.about-img-wrap { position: relative; }
.about-img-frame {
  width: 100%; aspect-ratio: 3/4;
  background: var(--light); position: relative; overflow: hidden;
}
.about-img-frame img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(100%); transition: filter 0.6s;
}
.about-img-frame:hover img { filter: grayscale(0%); }
.about-img-deco {
  position: absolute; bottom: -20px; right: -20px;
  width: 60%; height: 60%; border: 1px solid var(--gold); z-index: -1;
}
.about-img-tag {
  position: absolute; bottom: 20px; left: -20px;
  background: var(--black); color: var(--white);
  font-family: var(--font-title); font-size: 0.6rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase; padding: 12px 20px;
}
.about-text h2 { margin-bottom: 1.5rem; }
.about-text p { font-size: 0.95rem; color: #444; line-height: 1.9; margin-bottom: 1.2rem; }
.about-skills { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 2rem; }
.skill-tag {
  background: var(--black); color: var(--white);
  font-family: var(--font-title); font-size: 0.58rem; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase; padding: 8px 16px;
}
.about-cv-btn {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 2rem; font-family: var(--font-title);
  font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--black); text-decoration: none;
  border: 1.5px solid var(--black); padding: 13px 26px;
  transition: background 0.3s, color 0.3s, transform 0.2s;
}
.about-cv-btn:hover { background: var(--black); color: var(--white); transform: translateY(-2px); }
.about-cv-btn svg { width: 13px; height: 13px; flex-shrink: 0; }

/* ===== SERVICES ===== */
#services { background: var(--dark); color: var(--white); }
#services .section-title { color: var(--white); }
.services-intro { font-size: 0.95rem; color: rgba(255,255,255,0.5); max-width: 480px; margin-bottom: 4rem; line-height: 1.8; }

.services-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.1);
}

.service-card {
  background: var(--dark); padding: 2.5rem;
  position: relative; overflow: hidden;
  cursor: pointer; transition: background 0.4s;
  /* Flexbox pour aligner le prix en bas */
  display: flex; flex-direction: column;
}
.service-card::before {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 100%; height: 2px; background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.service-card:hover { background: #111; }
.service-card:hover::before { transform: scaleX(1); }

.service-num { font-family: var(--font-title); font-size: 0.6rem; font-weight: 700; letter-spacing: 0.3em; color: var(--gold); margin-bottom: 1.5rem; }
.service-title { font-family: var(--font-title); font-size: 1.3rem; font-weight: 700; margin-bottom: 0.8rem; color: var(--white); }
.service-desc { font-size: 0.85rem; color: rgba(255,255,255,0.5); line-height: 1.7; margin-bottom: auto; }
/* Prix toujours au même niveau : margin-top auto pousse tout vers le bas */
.service-price { font-family: var(--font-title); font-size: 1.8rem; font-weight: 900; color: var(--white); margin-top: 1.8rem; }
.service-price sub { font-size: 0.75rem; font-weight: 400; color: rgba(255,255,255,0.4); letter-spacing: 0.1em; }

.service-premium-badge {
  position: absolute; top: 1.5rem; right: 1.5rem;
  background: var(--gold); color: var(--black);
  font-family: var(--font-title); font-size: 0.55rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase; padding: 5px 10px;
}
.service-standard-badge {
  position: absolute; top: 1.5rem; right: 1.5rem;
  background: #555; color: rgba(255,255,255,0.85);
  font-family: var(--font-title); font-size: 0.55rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase; padding: 5px 10px;
}

.service-cta {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-title); font-size: 0.6rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold);
  cursor: pointer; margin-top: 1.5rem; background: none; border: none;
  transition: gap 0.3s;
}
.service-cta:hover { gap: 16px; }
.service-cta svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; }

/* ===== TARIFS ===== */
#tarifs { background: var(--white); }
.tarifs-tabs {
  display: flex; gap: 0; margin-bottom: 3rem;
  border: 1px solid var(--light); width: fit-content;
}
.tarif-tab {
  font-family: var(--font-title); font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  padding: 14px 28px; cursor: pointer; background: none; border: none;
  color: #888; transition: background 0.3s, color 0.3s;
}
.tarif-tab.active { background: var(--black); color: var(--white); }
.tarif-content { display: none; }
.tarif-content.active { display: block; }

.tarif-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; }
.tarif-card {
  border: 1px solid var(--light); padding: 2rem; position: relative;
  transition: border-color 0.3s, transform 0.3s;
}
.tarif-card:hover { border-color: var(--black); transform: translateY(-4px); }
.tarif-card.premium { border-color: var(--gold); background: #FAFAF8; }
.tarif-card.premium:hover { border-color: var(--gold); }

.tarif-label { font-family: var(--font-title); font-size: 0.58rem; font-weight: 700; letter-spacing: 0.25em; text-transform: uppercase; color: #888; margin-bottom: 0.5rem; }
.tarif-card.premium .tarif-label { color: var(--gold); }
.tarif-name { font-family: var(--font-title); font-size: 1.1rem; font-weight: 700; margin-bottom: 1rem; }
.tarif-price-big { font-family: var(--font-title); font-size: 3rem; font-weight: 900; line-height: 1; margin-bottom: 0.3rem; }
.tarif-price-note { font-size: 0.75rem; color: #888; margin-bottom: 1.5rem; }
.tarif-features { list-style: none; margin-bottom: 2rem; }
.tarif-features li { font-size: 0.82rem; color: #555; padding: 6px 0; border-bottom: 1px solid var(--light); display: flex; align-items: center; gap: 8px; }
.tarif-features li::before { content: '—'; color: var(--gold); flex-shrink: 0; }
.tarif-btn {
  width: 100%; padding: 14px; background: var(--black); color: var(--white);
  font-family: var(--font-title); font-size: 0.62rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase; border: 2px solid var(--black);
  cursor: pointer; transition: background 0.3s, color 0.3s;
}
.tarif-card.premium .tarif-btn { background: var(--gold); border-color: var(--gold); color: var(--black); }
.tarif-btn:hover { background: transparent; color: var(--black); }
.tarif-card.premium .tarif-btn:hover { background: transparent; color: var(--gold); }
.tarif-star { position: absolute; top: 1rem; right: 1rem; font-size: 1rem; color: var(--gold); }

/* ===== PORTFOLIO (aperçu accueil) ===== */
.portfolio-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px;
}
.portfolio-item { position: relative; overflow: hidden; aspect-ratio: 16/9; background: #111; cursor: pointer; }
.portfolio-thumb {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s var(--ease), filter 0.4s;
  filter: brightness(0.6);
}
.portfolio-item:hover .portfolio-thumb { transform: scale(1.05); filter: brightness(0.3); }
.portfolio-overlay {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.4s;
}
.portfolio-item:hover .portfolio-overlay { opacity: 1; }
.portfolio-play {
  width: 48px; height: 48px; border: 1px solid rgba(255,255,255,0.6); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; margin-bottom: 1rem;
  transition: border-color 0.3s, transform 0.3s;
}
.portfolio-item:hover .portfolio-play { border-color: var(--gold); transform: scale(1.1); }
.portfolio-item-title { font-family: var(--font-title); font-size: 0.6rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.8); }

/* ===== AVIS ===== */
#avis { background: var(--white); }
.avis-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; margin-top: 3rem; }
.avis-card { border: 1px solid var(--light); padding: 2rem; position: relative; transition: border-color 0.3s, transform 0.3s; }
.avis-card:hover { border-color: var(--black); transform: translateY(-3px); }
.avis-stars { color: var(--gold); font-size: 0.85rem; letter-spacing: 3px; margin-bottom: 1rem; }
.avis-text { font-size: 0.9rem; color: #444; line-height: 1.8; margin-bottom: 1.5rem; font-style: italic; }
.avis-author { display: flex; align-items: center; gap: 12px; }
.avis-avatar { width: 40px; height: 40px; background: var(--light); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--font-title); font-size: 0.75rem; font-weight: 700; color: var(--dark); flex-shrink: 0; }
.avis-name { font-family: var(--font-title); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; }
.avis-source { font-size: 0.65rem; color: #999; margin-top: 2px; }
.avis-platform { position: absolute; top: 1.2rem; right: 1.2rem; font-size: 0.58rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: #bbb; font-family: var(--font-title); }

/* ===== FAQ ===== */
#faq { background: var(--dark); color: var(--white); }
#faq .section-title { color: var(--white); }
.faq-list { margin-top: 3rem; display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid rgba(255,255,255,0.1); overflow: hidden; }
.faq-question {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.5rem 0; cursor: pointer;
  font-family: var(--font-title); font-size: 0.95rem; font-weight: 600;
  color: var(--white); user-select: none;
  transition: color 0.3s; gap: 1rem;
}
.faq-question:hover { color: var(--gold); }
.faq-question.open { color: var(--gold); }

/* Icône FAQ : carré qui pivote de 45° en entier quand open → devient losange posé sur la pointe → non, on veut un carré "à plat" */
.faq-icon {
  width: 28px; height: 28px; flex-shrink: 0;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.4s, transform 0.45s var(--ease);
}
.faq-question.open .faq-icon {
  border-color: var(--gold);
  /* On ne fait PAS de rotation du carré — seulement le SVG change */
}

/* Lignes SVG dans la FAQ */
.faq-line-v {
  transition: opacity 0.35s, transform 0.35s var(--ease);
  transform-origin: center;
}
.faq-line-h {
  transition: opacity 0.35s, transform 0.35s var(--ease);
  transform-origin: center;
}
/* Quand ouvert : la ligne verticale tourne de 90° → devient horizontale superposée → effet "−" */
.faq-question.open .faq-line-v {
  transform: rotate(90deg);  /* devient horizontal = signe moins */
  opacity: 0;
}

.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height 0.5s var(--ease);
}
.faq-answer.open { max-height: 300px; }
.faq-answer p { font-size: 0.9rem; color: rgba(255,255,255,0.5); line-height: 1.8; padding-bottom: 1.5rem; }

/* ===== CONTACT ===== */
#contact { background: var(--black); color: var(--white); }
#contact .section-title { color: var(--white); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; margin-top: 3rem; }

.contact-info p { font-size: 0.9rem; color: rgba(255,255,255,0.5); line-height: 1.8; margin-bottom: 2.5rem; }
.contact-links { display: flex; flex-direction: column; gap: 1rem; }
.contact-link {
  display: flex; align-items: center; gap: 16px;
  font-family: var(--font-title); font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.12em; color: rgba(255,255,255,0.6);
  text-decoration: none; text-transform: uppercase; transition: color 0.3s;
}
.contact-link:hover { color: var(--gold); }
.contact-link-icon {
  width: 40px; height: 40px; border: 1px solid rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  transition: border-color 0.3s;
}
.contact-link:hover .contact-link-icon { border-color: var(--gold); }
.contact-link svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.5; }

.contact-form { display: flex; flex-direction: column; gap: 1.2rem; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-label { font-family: var(--font-title); font-size: 0.58rem; font-weight: 700; letter-spacing: 0.25em; text-transform: uppercase; color: rgba(255,255,255,0.4); }
.form-input, .form-select, .form-textarea {
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12);
  color: var(--white); font-family: var(--font-body); font-size: 0.9rem;
  padding: 14px 16px; outline: none; transition: border-color 0.3s; width: 100%;
}
.form-select { cursor: pointer; }
.form-select option { background: var(--dark); }
.form-input::placeholder, .form-textarea::placeholder { color: rgba(255,255,255,0.2); }
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--gold); }
.form-textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.btn-submit {
  background: var(--white); color: var(--black);
  font-family: var(--font-title); font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  padding: 18px 36px; border: none; cursor: pointer; width: 100%;
  transition: background 0.3s, transform 0.2s; margin-top: 0.5rem;
}
.btn-submit:hover { background: var(--gold); transform: translateY(-2px); }

/* ===== FOOTER ===== */
footer { background: var(--dark); color: rgba(255,255,255,0.4); padding: 2.5rem 5%; }
.footer-top {
  display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap; gap: 1.5rem;
  padding-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,0.08); margin-bottom: 1.5rem;
}
.footer-logo { display: flex; align-items: center; text-decoration: none; height: 48px; }
.footer-logo img { height: 200%; width: auto; object-fit: contain; }
.footer-logo-fallback { font-family: var(--font-title); font-weight: 900; font-size: 0.9rem; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(255,255,255,0.6); }
.footer-logo-fallback span { color: var(--gold); }

.footer-links { display: flex; gap: 2rem; flex-wrap: wrap; list-style: none; }
.footer-links a { font-family: var(--font-title); font-size: 0.62rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(255,255,255,0.4); text-decoration: none; transition: color 0.3s; }
.footer-links a:hover { color: var(--gold); }

.footer-socials { display: flex; gap: 1rem; }
.footer-social { width: 36px; height: 36px; border: 1px solid rgba(255,255,255,0.15); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.4); text-decoration: none; transition: border-color 0.3s, color 0.3s; }
.footer-social:hover { border-color: var(--gold); color: var(--gold); }
.footer-social svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 1.5; }

/* Footer bottom : tout aligné à gauche sur mobile */
.footer-bottom {
  display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap; gap: 0.8rem;
  font-size: 0.68rem; letter-spacing: 0.06em;
}
.footer-legal a { color: rgba(255,255,255,0.4); text-decoration: none; transition: color 0.3s; }
.footer-legal a:hover { color: var(--gold); }

/* ===== MODAL ===== */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.9);
  z-index: 10000; display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal {
  background: var(--white); padding: 3rem; max-width: 500px; width: 90%;
  position: relative; transform: translateY(30px);
  transition: transform 0.4s var(--ease);
}
.modal-overlay.open .modal { transform: translateY(0); }
.modal-title { font-family: var(--font-title); font-size: 1.4rem; font-weight: 900; margin-bottom: 0.5rem; }
.modal-service { font-family: var(--font-title); font-size: 0.65rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 2rem; }
.modal-close { position: absolute; top: 1.5rem; right: 1.5rem; background: none; border: none; font-size: 1.5rem; cursor: pointer; }
.form-input::placeholder,
.form-textarea::placeholder {
  color: #c7c7c7 !important;
  opacity: 1;
  font-style: italic;
}

/* ===== TOAST ===== */
.toast {
  position: fixed; bottom: 2rem; right: 2rem;
  background: var(--black); color: var(--white);
  font-family: var(--font-title); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 16px 24px; z-index: 99999;
  transform: translateY(80px); opacity: 0;
  transition: transform 0.4s var(--ease), opacity 0.3s;
}
.toast.show { transform: translateY(0); opacity: 1; }

/* ===== MENTIONS LÉGALES PAGE ===== */
.mentions-page { padding-top: calc(var(--nav-h) + 4rem); padding-bottom: 6rem; max-width: 800px; margin: 0 auto; padding-left: 5%; padding-right: 5%; }
.mentions-page h1 { font-family: var(--font-title); font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; letter-spacing: -0.02em; margin-bottom: 0.5rem; }
.mentions-page .mentions-subtitle { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); margin-bottom: 3rem; display: flex; align-items: center; gap: 10px; }
.mentions-page .mentions-subtitle::before { content: ''; display: block; width: 24px; height: 1px; background: var(--gold); }
.mentions-block { border-top: 1px solid var(--light); padding: 2rem 0; }
.mentions-block h2 { font-family: var(--font-title); font-size: 0.65rem; font-weight: 700; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
.mentions-block p, .mentions-block address { font-size: 0.9rem; color: #444; line-height: 1.9; font-style: normal; }
.mentions-block a { color: var(--black); text-decoration: underline; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .hero-bg { width: 100%; clip-path: none; opacity: 0.08; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-img-wrap { max-width: 400px; margin: 0 auto; }
  .form-row { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { flex-direction: column; align-items: flex-start; }
  /* Footer bottom : tout à gauche sur mobile */
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
  .footer-legal { margin-left: 0 !important; }
  .footer-legal a { margin-left: 0 !important; }
  /* Curseur masqué */
  .cursor, .cursor-ring { display: none !important; }
}
 
@media (max-width: 600px) {
  section { padding: 3.5rem 5%; }
 
  /* ===== HERO MOBILE : collé en haut, sans espace inutile ===== */
  #accueil {
    min-height: auto;            /* plus de 100svh = plus de vide */
    height: auto;
    padding-top: calc(var(--nav-h) + 1.4rem);   /* juste après la navbar */
    padding-bottom: 2.5rem;
    display: flex;
    align-items: flex-start;    /* contenu en haut, pas centré */
  }
  .hero-content {
    padding: 0;
    width: 100%;
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 20px;  }
  .hero-tag {
    font-size: 0.6rem;
    margin-bottom: 0.9rem;
    margin-top: 0;
  }
  .hero-h1 {
    font-size: clamp(2.2rem, 10vw, 2.8rem);
    line-height: 1.05;
    margin-bottom: 0.9rem;
  }
  .hero-desc {
    font-size: 0.88rem;
    margin-bottom: 1.5rem;
    max-width: 100%;
    color: #444;
  }
 
  /* Boutons : même largeur, empilés proprement */
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }
  .hero-actions .btn-primary,
  .hero-actions .btn-outline {
    width: 100%;
    text-align: center;
    padding: 15px 20px;
    font-size: 0.62rem;
  }
 
  /* Stats : compactes */
  .hero-stats {
    margin-top: 1.8rem;
    margin-bottom: 0;
    gap: 1.4rem;
    flex-wrap: nowrap;
  }
  .hero-stat-num { font-size: 1.5rem; }
  .hero-stat-label { font-size: 0.57rem; }
 
  /* Fond diagonal masqué sur mobile */
  .hero-bg { width: 100%; clip-path: none; opacity: 0; }
 
  /* Ligne déco dorée en bas du hero */
  #accueil { position: relative; }
  #accueil::after {
    content: '';
    position: absolute;
    bottom: 0; left: 5%;
    width: 40px; height: 2px;
    background: var(--gold);
  }
 
  .tarifs-tabs { width: 100%; }
  .tarif-tab { flex: 1; padding: 12px 10px; font-size: 0.58rem; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .avis-grid { grid-template-columns: 1fr; }
  .footer-links { gap: 1rem; }
}