/* ==========================================================
   Thèmes
   ========================================================== */

/* Sombre (par défaut) */
:root, :root[data-theme="dark"] {
  --bg: #0e0a0c;
  --bg-2: #1a1015;
  --text: #f6ece6;
  --muted: #bfa9a4;
  --gold: #e8c37a;
  --gold-grad: linear-gradient(110deg, #b8860b 0%, #f5d98e 25%, #fff3c4 40%, #d4a24c 60%, #f5d98e 80%, #b8860b 100%);
  --rose: #e8789a;
  --glass: rgba(255, 255, 255, .05);
  --glass-line: rgba(232, 195, 122, .25);
  --chip: rgba(20, 12, 16, .55);
  --chip-strong: rgba(20, 12, 16, .85);
  --hero-bg: radial-gradient(ellipse at 15% 10%, #4a1f33 0%, transparent 55%), radial-gradient(ellipse at 90% 80%, #3a2510 0%, transparent 50%), #0e0a0c;
  --band-about: linear-gradient(180deg, #1c1016 0%, #160c11 100%);
  --band-work: radial-gradient(ellipse at 50% 0%, #2e1a0c 0%, transparent 60%), #0a0708;
  --band-gallery: radial-gradient(ellipse at 80% 20%, #3a1a28 0%, transparent 55%), linear-gradient(180deg, #1a0f14 0%, #120a0e 100%);
  --band-services: linear-gradient(160deg, #2a1220 0%, #170d13 60%, #1f1508 100%);
  --band-contact: radial-gradient(ellipse at 50% 100%, #4a1f33 0%, transparent 60%), #0e0a0c;
  --sparkle: 245, 217, 142;
  --radius: 22px;
}

/* Clair : ivoire et champagne */
:root[data-theme="light"] {
  --bg: #fbf6ef;
  --bg-2: #f1e6d8;
  --text: #2a1a1f;
  --muted: #7a625c;
  --gold: #a8751f;
  --gold-grad: linear-gradient(110deg, #8a5a12 0%, #c9962e 25%, #e9c46a 40%, #a87422 60%, #c9962e 80%, #8a5a12 100%);
  --rose: #c2466f;
  --glass: rgba(255, 255, 255, .65);
  --glass-line: rgba(168, 117, 31, .28);
  --chip: rgba(255, 250, 243, .7);
  --chip-strong: rgba(255, 250, 243, .92);
  --hero-bg: radial-gradient(ellipse at 15% 10%, #f8d9e2 0%, transparent 55%), radial-gradient(ellipse at 90% 80%, #f6e2bb 0%, transparent 50%), #fbf6ef;
  --band-about: linear-gradient(180deg, #ffffff 0%, #fdf8f2 100%);
  --band-work: radial-gradient(ellipse at 50% 0%, #f6e2bb 0%, transparent 60%), #f4ebdf;
  --band-gallery: radial-gradient(ellipse at 80% 20%, #fbe1e8 0%, transparent 55%), #fffaf5;
  --band-services: linear-gradient(160deg, #fbe6ec 0%, #fdf6ef 60%, #f8ecd4 100%);
  --band-contact: radial-gradient(ellipse at 50% 100%, #f3c9d6 0%, transparent 60%), #fbf6ef;
  --sparkle: 184, 134, 42;
}

/* ==========================================================
   Base
   ========================================================== */

* { box-sizing: border-box; margin: 0; padding: 0; }
/* clip (et non hidden) : rien ne doit élargir la page sur mobile */
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  font-family: "Poppins", system-ui, sans-serif;
  font-weight: 300;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
  transition: background .5s, color .5s;
}
h1, h2, h3, .logo, blockquote { font-family: "Playfair Display", Georgia, serif; font-weight: 700; }
a { color: inherit; text-decoration: none; }
strong { color: var(--gold); font-weight: 500; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

main { position: relative; z-index: 2; }
main > section { position: relative; max-width: 1200px; margin: 0 auto; padding: clamp(70px, 10vw, 120px) clamp(16px, 5vw, 64px); }

/* Fond pleine largeur propre à chaque section, séparé par un filet doré */
main > section::before {
  content: ""; position: absolute; z-index: -1;
  top: 0; bottom: 0; left: calc(50% - 50vw); right: calc(50% - 50vw);
  transition: background .5s;
}
main > section:not(.hero)::after {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: min(600px, 70%); height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.hero::before { background: var(--hero-bg); }
.about::before { background: var(--band-about); }
.work::before { background: var(--band-work); }
.gallery::before { background: var(--band-gallery); }
.services::before { background: var(--band-services); }
.contact::before { background: var(--band-contact); }

/* ==========================================================
   Éléments communs
   ========================================================== */

#sparkles { position: fixed; inset: 0; pointer-events: none; z-index: 1; }
.cursor-glow {
  position: fixed; width: 420px; height: 420px; border-radius: 50%;
  pointer-events: none; z-index: 0; transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(232, 195, 122, .12), transparent 65%);
}

.gold-text {
  background: var(--gold-grad); background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 4s linear infinite;
}
@keyframes shimmer { to { background-position: 200% center; } }
@keyframes spin { to { transform: rotate(360deg); } }

.glass {
  background: var(--glass);
  border: 1px solid var(--glass-line);
  backdrop-filter: blur(14px);
  border-radius: var(--radius);
}

/* Cadre doré animé (vidéos et portrait) */
.frame {
  position: relative; padding: 3px; border-radius: var(--radius);
  background: var(--gold-grad); background-size: 200% auto; animation: shimmer 4s linear infinite;
}
.frame video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; display: block; border-radius: calc(var(--radius) - 3px); background: var(--bg-2); }

.badge {
  position: absolute; padding: 10px 18px; border-radius: 999px; font-size: .85rem; font-weight: 500;
  background: var(--chip-strong); backdrop-filter: blur(10px);
  border: 1px solid var(--glass-line); white-space: nowrap;
  animation: bob 4s ease-in-out infinite;
}
@keyframes bob { 50% { transform: translateY(-10px); } }

.section-title { font-size: clamp(2.2rem, 4.5vw, 3.4rem); margin-bottom: 12px; }
.section-sub { color: var(--muted); margin-bottom: 44px; }
.tag { display: block; font-size: .7rem; text-transform: uppercase; letter-spacing: .14em; color: var(--rose); }

/* Apparition au défilement */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s ease, transform .9s cubic-bezier(.2, .7, .2, 1); }
.reveal.visible { opacity: 1; transform: none; }

/* ==========================================================
   Boutons
   ========================================================== */

.btn {
  position: relative; overflow: hidden; display: inline-block;
  padding: 14px 30px; border-radius: 999px; font-weight: 500;
  background: var(--gold-grad); background-size: 200% auto; color: #1a1015;
  border: 1px solid transparent;
  box-shadow: 0 8px 30px -8px rgba(232, 195, 122, .6);
  transition: transform .25s, box-shadow .25s, background-position .6s;
}
.btn:hover { transform: translateY(-3px) scale(1.03); background-position: right center; box-shadow: 0 14px 40px -8px rgba(232, 195, 122, .85); }
.btn-ghost { background: transparent; color: var(--gold); border-color: var(--gold); box-shadow: none; }
.btn-ghost:hover { background: rgba(232, 195, 122, .1); box-shadow: 0 0 25px -5px rgba(232, 195, 122, .5); }
.btn-small { padding: 9px 20px; font-size: .88rem; }
.btn-shine::before {
  content: ""; position: absolute; top: 0; left: -75%; width: 50%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, .8), transparent);
  transform: skewX(-20deg); animation: shine 3.2s ease-in-out infinite;
}
@keyframes shine { 0%, 60% { left: -75%; } 100% { left: 130%; } }

/* ==========================================================
   Navigation
   ========================================================== */

.nav {
  position: fixed; top: 14px; left: 50%; transform: translateX(-50%); z-index: 20;
  width: min(1100px, calc(100% - 32px));
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 14px 12px 26px; border-radius: 999px;
  background: var(--chip); backdrop-filter: blur(16px);
  border: 1px solid var(--glass-line);
  transition: background .3s, box-shadow .3s;
}
.nav.scrolled { background: var(--chip-strong); box-shadow: 0 10px 40px -10px rgba(232, 195, 122, .25); }
.logo { font-size: 1.6rem; }
.logo span { color: var(--gold); font-size: 1rem; vertical-align: super; display: inline-block; animation: spin 6s linear infinite; }
.nav nav { display: flex; gap: 18px; align-items: center; font-size: .92rem; }
.nav-menu { display: flex; gap: 26px; margin-right: 8px; }
.nav-menu a { position: relative; }
.nav-menu a::after {
  content: ""; position: absolute; left: 0; bottom: -4px; height: 1px; width: 0;
  background: var(--gold); transition: width .3s;
}
.nav-menu a:hover::after { width: 100%; }

.theme-toggle {
  position: relative; width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0;
  border: 1px solid var(--glass-line); background: var(--glass); color: var(--gold);
  cursor: pointer; font-size: 1.05rem; overflow: hidden;
  transition: transform .4s, box-shadow .3s;
}
.theme-toggle:hover { transform: rotate(25deg); box-shadow: 0 0 20px -4px var(--gold); }
.theme-toggle span { position: absolute; inset: 0; display: grid; place-items: center; transition: transform .5s, opacity .5s; }
[data-theme="dark"] .theme-toggle .sun { transform: translateY(100%); opacity: 0; }
[data-theme="light"] .theme-toggle .moon { transform: translateY(-100%); opacity: 0; }

/* Menu hamburger (mobile) */
.hamburger {
  display: none; width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0;
  border: 1px solid var(--glass-line); background: var(--glass); cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 4px;
}
.hamburger span { width: 16px; height: 1.5px; background: var(--gold); border-radius: 2px; transition: transform .3s, opacity .3s; }
.hamburger.active span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* ==========================================================
   Hero
   ========================================================== */

.hero { min-height: 100vh; display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: center; padding-top: 130px !important; }

/* Les halos restent contenus dans la largeur de l'écran : sinon, sur mobile,
   la page s'élargit et le menu fixe se décale vers la droite */
.orbs { position: absolute; top: 0; bottom: 0; left: calc(50% - 50vw); right: calc(50% - 50vw); overflow: hidden; z-index: -1; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(80px); animation: float 10s ease-in-out infinite; }
.orb-1 { width: 380px; height: 380px; background: rgba(232, 120, 154, .3); top: 10%; left: max(-8%, calc(50vw - 600px - 8%)); }
.orb-2 { width: 320px; height: 320px; background: rgba(232, 195, 122, .25); bottom: 5%; right: max(0px, calc(50vw - 600px)); animation-delay: -5s; }
@keyframes float { 50% { transform: translate(30px, -40px) scale(1.1); } }

.eyebrow { text-transform: uppercase; letter-spacing: .22em; font-size: .75rem; color: var(--gold); font-weight: 500; margin-bottom: 20px; }
.hero h1 { font-size: clamp(2.5rem, 6vw, 4.6rem); line-height: 1.05; margin-bottom: 24px; }
.hero h1 em { color: var(--rose); font-style: italic; font-weight: 500; }
.lead { font-size: 1.08rem; color: var(--muted); max-width: 520px; margin-bottom: 36px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-visual { position: relative; justify-self: center; width: min(360px, 100%); transform-style: preserve-3d; }
.hero-visual .frame { border-radius: 200px 200px var(--radius) var(--radius); box-shadow: 0 0 80px -10px rgba(232, 195, 122, .45); }
.hero-visual .frame video { border-radius: 197px 197px calc(var(--radius) - 3px) calc(var(--radius) - 3px); }
.badge-1 { bottom: 60px; left: -40px; }
.badge-2 { top: 90px; right: -40px; animation-delay: -2s; }

/* Bandeau défilant (le conteneur coupe les coins du bandeau incliné) */
.marquee-wrap { position: relative; z-index: 2; overflow: hidden; padding: 24px 0; }
.marquee {
  overflow: hidden; padding: 22px 0; margin: 0 -20px;
  border-block: 1px solid var(--glass-line);
  background: linear-gradient(90deg, rgba(232, 195, 122, .08), rgba(232, 120, 154, .08));
  transform: rotate(-1.5deg);
}
.marquee-track { display: flex; gap: 36px; width: max-content; animation: marquee 30s linear infinite; }
.marquee span { font-family: "Playfair Display", serif; font-style: italic; font-size: clamp(1.3rem, 2.5vw, 2rem); white-space: nowrap; }
.marquee i { color: var(--gold); font-style: normal; font-size: 1.4rem; align-self: center; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================
   À propos
   ========================================================== */

.about-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px; margin-top: 32px; }
.about-text p { margin-bottom: 18px; font-size: 1.05rem; }
.quote {
  font-style: italic; font-weight: 500; font-size: 1.35rem; line-height: 1.5; margin-top: 28px;
  padding: 24px 28px; border-left: 3px solid var(--gold); color: var(--gold);
  background: linear-gradient(90deg, rgba(232, 195, 122, .1), transparent); border-radius: 0 var(--radius) var(--radius) 0;
}
.facts { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 28px; }
.facts li { padding: 18px 20px; font-size: .9rem; line-height: 1.4; color: var(--muted); transition: transform .3s, border-color .3s; }
.facts li:hover { transform: translateY(-4px); border-color: var(--gold); }
.facts span { display: block; margin-bottom: 4px; font-family: "Playfair Display", serif; font-size: 1.45rem; font-weight: 700; }

/* Portrait (même arche dorée que la vidéo du hero) */
.about-photo { position: relative; align-self: center; justify-self: center; width: min(400px, 100%); transform-style: preserve-3d; }
.about-photo .frame { border-radius: 220px 220px var(--radius) var(--radius); box-shadow: 0 0 80px -10px rgba(232, 195, 122, .45); }
.about-photo img {
  display: block; width: 100%; height: auto; aspect-ratio: 2 / 3; object-fit: cover; object-position: top;
  border-radius: 217px 217px calc(var(--radius) - 3px) calc(var(--radius) - 3px);
}
.badge-photo { bottom: 40px; right: -24px; font-family: "Playfair Display", serif; font-style: italic; font-size: 1rem; }

/* ==========================================================
   Contenus : carrousel de vidéos
   ========================================================== */

.carousel-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 8px; }
.carousel-head .section-sub { margin-bottom: 0; }
.carousel-nav { display: flex; gap: 10px; flex-shrink: 0; }
.carousel-btn {
  width: 50px; height: 50px; border-radius: 50%; cursor: pointer;
  border: 1px solid var(--gold); background: var(--glass); color: var(--gold);
  font-size: 1.7rem; line-height: 1; padding-bottom: 4px; backdrop-filter: blur(10px);
  transition: background .25s, color .25s, transform .25s, opacity .25s, box-shadow .25s;
}
.carousel-btn:hover:not(:disabled) { background: var(--gold-grad); color: #1a1015; transform: scale(1.08); box-shadow: 0 0 25px -5px rgba(232, 195, 122, .7); }
.carousel-btn:disabled { opacity: .3; cursor: default; }

.video-track {
  --gap: 24px;
  display: flex; gap: var(--gap); overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: 6px; scrollbar-width: none;
  /* marge pour l'inclinaison et le halo au survol */
  padding: 26px 6px 18px; margin: 0 -6px;
  cursor: grab; outline: none;
}
.video-track::-webkit-scrollbar { display: none; }
.video-track:focus-visible { box-shadow: 0 0 0 2px var(--gold); border-radius: var(--radius); }
.video-track.dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.video-track.dragging .video-card { pointer-events: none; }

.video-card { flex: 0 0 calc((100% - 3 * var(--gap)) / 4); scroll-snap-align: start; cursor: pointer; transform-style: preserve-3d; }
.video-card .frame { transition: box-shadow .4s; }
.video-card:hover .frame { box-shadow: 0 0 50px -5px rgba(232, 195, 122, .6); }
.video-card figcaption { margin-top: 14px; font-weight: 500; }
.play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: var(--chip); backdrop-filter: blur(6px);
  border: 1px solid var(--gold); color: var(--gold); padding-left: 4px;
  transition: opacity .3s, transform .3s;
}
.video-card:hover .play { opacity: 0; transform: translate(-50%, -50%) scale(1.4); }

.carousel-dots { display: flex; justify-content: center; gap: 8px; margin-top: 18px; }
.carousel-dots button {
  width: 8px; height: 8px; padding: 0; border: none; border-radius: 999px; cursor: pointer;
  background: var(--glass-line); transition: width .35s, background .35s;
}
.carousel-dots button.active { width: 28px; background: var(--gold-grad); }

/* ==========================================================
   Galerie en mosaïque
   ========================================================== */

.gallery-grid { columns: 3 260px; column-gap: 18px; }
.gallery-item {
  break-inside: avoid; margin-bottom: 18px; cursor: zoom-in; position: relative;
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--glass-line);
  transition: box-shadow .4s, border-color .4s;
}
.gallery-item img { display: block; width: 100%; height: auto; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.gallery-item::after {
  content: "✦"; position: absolute; inset: 0; display: grid; place-items: center;
  font-size: 2rem; color: #fff3c4; opacity: 0; transition: opacity .4s; pointer-events: none;
  background: linear-gradient(180deg, transparent 40%, rgba(20, 10, 14, .55));
}
.gallery-item:hover { border-color: var(--gold); box-shadow: 0 0 45px -8px rgba(232, 195, 122, .6); }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item:hover::after { opacity: 1; }

/* ==========================================================
   Services
   ========================================================== */

.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 36px; }
.service-grid article { padding: 34px 30px; transition: border-color .3s, box-shadow .3s; transform-style: preserve-3d; }
.service-grid article:hover { border-color: var(--gold); box-shadow: 0 20px 60px -20px rgba(232, 195, 122, .45); }
.service-grid h3 { font-size: 1.35rem; margin-bottom: 10px; }
.service-grid p { color: var(--muted); }
.icon { font-size: 2.2rem; margin-bottom: 14px; }

/* ==========================================================
   Contact
   ========================================================== */

.contact-card { text-align: center; padding: clamp(40px, 7vw, 80px) 24px; position: relative; overflow: hidden; }
.contact-card::before {
  content: ""; position: absolute; inset: -50%; z-index: -1;
  background: conic-gradient(from 0deg, transparent, rgba(232, 195, 122, .15), transparent 30%);
  animation: spin 10s linear infinite;
}
.contact h2 { font-size: clamp(2.3rem, 5.5vw, 3.8rem); margin-bottom: 12px; }
.contact p { color: var(--muted); margin-bottom: 32px; }

/* Email : un seul bouton qui affiche l'adresse, plus « Copier » */
.email-row { display: flex; justify-content: center; align-items: center; gap: 10px; flex-wrap: wrap; }
.email-btn { font-size: 1rem; overflow-wrap: anywhere; }
.copy-btn {
  padding: 13px 22px; border-radius: 999px; cursor: pointer; font: inherit; font-weight: 500;
  background: transparent; color: var(--gold); border: 1px solid var(--gold);
  transition: background .25s, transform .25s;
}
.copy-btn:hover { background: rgba(232, 195, 122, .12); transform: translateY(-2px); }
.copy-btn.copied { background: var(--gold); color: #1a1015; }

/* Réseaux : couleurs officielles de chaque plateforme */
.socials { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.social {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 22px; border-radius: 999px; color: #fff; font-weight: 500;
  transition: transform .25s, box-shadow .25s, filter .25s;
}
.social svg { width: 20px; height: 20px; flex-shrink: 0; }
.social:hover { transform: translateY(-3px) scale(1.04); filter: brightness(1.08); }
.social-instagram { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.social-instagram:hover { box-shadow: 0 12px 30px -8px rgba(214, 36, 159, .7); }
.social-tiktok { background: #000; border: 1px solid rgba(255, 255, 255, .15); }
.social-tiktok svg { filter: drop-shadow(-1.5px -1.5px 0 #25f4ee) drop-shadow(1.5px 1.5px 0 #fe2c55); }
.social-tiktok:hover { box-shadow: -4px 4px 22px -6px #25f4ee, 4px 8px 22px -6px #fe2c55; }
.social-facebook { background: #1877f2; }
.social-facebook:hover { box-shadow: 0 12px 30px -8px rgba(24, 119, 242, .75); }
.social-linkedin { background: #0a66c2; }
.social-linkedin:hover { box-shadow: 0 12px 30px -8px rgba(10, 102, 194, .75); }

/* ==========================================================
   Pied de page, retour en haut, lecteur plein écran
   ========================================================== */

footer { position: relative; z-index: 2; text-align: center; padding: 34px; color: var(--muted); font-size: .85rem; border-top: 1px solid var(--glass-line); letter-spacing: .05em; }

#back-to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 30;
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--gold);
  background: var(--chip-strong); color: var(--gold); font-size: 1.2rem; cursor: pointer;
  backdrop-filter: blur(10px); box-shadow: 0 0 25px -6px rgba(232, 195, 122, .6);
  opacity: 0; transform: translateY(20px); pointer-events: none;
  transition: opacity .3s, transform .3s;
}
#back-to-top.visible { opacity: 1; transform: none; pointer-events: auto; }
#back-to-top:hover { transform: translateY(-3px); }

.lightbox {
  position: fixed; inset: 0; z-index: 50; display: none;
  align-items: center; justify-content: center; padding: 16px;
  background: rgba(10, 6, 8, .92); backdrop-filter: blur(8px);
}
.lightbox.open { display: flex; animation: fade .3s; }
@keyframes fade { from { opacity: 0; } }
.lightbox video, .lightbox img { max-height: 90vh; max-width: 100%; border-radius: var(--radius); border: 2px solid var(--gold); box-shadow: 0 0 80px rgba(232, 195, 122, .35); }
.lightbox button {
  position: absolute; top: 16px; right: 20px; background: none; border: none;
  color: var(--gold); font-size: 2.4rem; cursor: pointer; line-height: 1;
}

/* ==========================================================
   Adaptation aux écrans
   ========================================================== */

@media (max-width: 900px) {
  .hero, .about-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero-visual { order: -1; width: min(280px, 75%); }
  .badge-1 { left: -20px; }
  .badge-2 { right: -20px; }
  .about-photo { width: min(320px, 80%); }
  .badge-photo { right: -10px; }
  .video-card { flex-basis: calc((100% - 1.4 * var(--gap)) / 2.4); }
  .service-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .hamburger { display: flex; }
  .nav nav { gap: 10px; }
  .nav-menu {
    position: absolute; top: calc(100% + 10px); left: 0; right: 0; margin: 0;
    flex-direction: column; gap: 4px; padding: 14px;
    background: var(--chip-strong); backdrop-filter: blur(16px);
    border: 1px solid var(--glass-line); border-radius: var(--radius);
    opacity: 0; transform: translateY(-10px); pointer-events: none;
    transition: opacity .3s, transform .3s;
  }
  .nav-menu.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav-menu a { padding: 12px 16px; border-radius: 12px; }
  .nav-menu a:hover { background: var(--glass); }
  .nav-menu a::after { display: none; }
}

@media (max-width: 560px) {
  .nav { padding-left: 20px; }
  .nav .btn-small { display: none; }
  .badge { font-size: .75rem; padding: 8px 14px; }
  .badge-1 { left: -10px; }
  .badge-2 { right: -10px; }
  .cursor-glow { display: none; }
  /* Sur téléphone, on balaie du doigt : la carte suivante dépasse pour inviter au geste */
  .carousel-nav { display: none; }
  .video-track { --gap: 16px; }
  .video-card { flex-basis: 74%; }
}

@media (max-width: 480px) {
  .facts { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
