/* Miss Tatau — styles partagés du site test.
   Les pages reprennent la maquette (styles en ligne) ; ce fichier gère l'intro et l'adaptation mobile. */
html, body { margin: 0; }
body { -webkit-font-smoothing: antialiased; }
.mt-root > div { max-width: 100%; }
img, video { max-width: 100%; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid #D9A441; outline-offset: 2px; }
[hidden] { display: none !important; }

/* ── Intro vidéo ── */
.mt-intro { position: fixed; inset: 0; z-index: 50; background: #121110; overflow: hidden; transition: opacity 700ms ease; }
.mt-intro.is-out { opacity: 0; pointer-events: none; }
.mt-intro video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; max-width: none; }
.mt-intro-scrim { position: absolute; left: 0; right: 0; bottom: 0; height: 45%; background: linear-gradient(180deg, rgba(18,17,16,0) 0%, rgba(18,17,16,.85) 100%); }
.mt-intro-brand { position: absolute; left: clamp(20px, 5vw, 72px); bottom: clamp(96px, 9vw, 64px); display: flex; flex-direction: column; gap: 10px; color: #F6F1EA; }
.mt-i-miss { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: clamp(30px, 4vw, 44px); line-height: 1; }
.mt-i-tatau { font-family: 'Big Shoulders Display', sans-serif; font-weight: 800; font-size: clamp(60px, 9vw, 96px); line-height: .85; letter-spacing: .04em; }
.mt-i-sub { font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: #E3B7A8; }
.mt-intro-actions { position: absolute; right: clamp(20px, 5vw, 72px); bottom: clamp(24px, 5vw, 64px); display: flex; gap: 12px; align-items: center; }
.mt-enter { height: 56px; padding: 0 32px; border-radius: 999px; border: 0; background: #F6F1EA; color: #1C1917; font: 600 16px 'DM Sans', sans-serif; cursor: pointer; }
.mt-skip { height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid rgba(246,241,234,.5); background: transparent; color: #F6F1EA; font: 14px 'DM Sans', sans-serif; cursor: pointer; }
.mt-replay { position: fixed; right: 16px; top: 16px; z-index: 10; height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid #A89F93; background: #121110; color: #EDE6DB; font: 12px 'DM Sans', sans-serif; cursor: pointer; }

/* ── Desktop moyen : les maquettes font 1440px de large ── */
@media (max-width: 1460px) {
  [style*="width: 1440px"] { width: 100% !important; }
  [style*="height: 900px"], [style*="height: 2900px"], [style*="height: 2560px"], [style*="height: 1760px"] { height: auto !important; min-height: 100vh; }
}

/* ── Tablette et mobile ── */
@media (max-width: 900px) {
  .mt-root [style*="grid-template-columns"] { grid-template-columns: 1fr !important; }
  .mt-root [style*="grid-column"] { grid-column: auto !important; }
  .mt-root [style*="padding: 0 72px"], .mt-root [style*="padding: 40px 72px"], .mt-root [style*="padding: 80px 72px"],
  .mt-root [style*="padding: 96px 72px"], .mt-root [style*="padding: 88px 72px"], .mt-root [style*="padding: 64px 72px"],
  .mt-root [style*="padding: 72px 72px"], .mt-root [style*="padding: 56px 72px"] { padding-left: 20px !important; padding-right: 20px !important; }
  .mt-root [style*="margin: 0 72px"], .mt-root [style*="margin: 56px 72px"], .mt-root [style*="margin: 0 72px 72px"] { margin-left: 20px !important; margin-right: 20px !important; }
  .mt-root [style*="padding: 64px;"], .mt-root [style*="padding: 48px 56px"], .mt-root [style*="padding: 48px;"] { padding: 28px 20px !important; }
  .mt-root [style*="height: 88px"] { height: auto !important; flex-wrap: wrap; padding: 14px 20px !important; gap: 12px !important; }
  .mt-root [style*="height: 88px"] > div[style*="flex-grow: 1"] { order: 3; width: 100%; justify-content: flex-start !important; gap: 18px !important; overflow-x: auto; }
  .mt-root [style*="margin-right: -72px"], .mt-root [style*="margin-left: -72px"] { margin: 0 !important; padding: 0 !important; }
  .mt-root [style*="font-size: 136px"] { font-size: 64px !important; }
  .mt-root [style*="font-size: 96px"] { font-size: 54px !important; }
  .mt-root [style*="font-size: 76px"], .mt-root [style*="font-size: 72px"] { font-size: 44px !important; }
  .mt-root [style*="font-size: 60px"], .mt-root [style*="font-size: 56px"], .mt-root [style*="font-size: 52px"] { font-size: 38px !important; }
  .mt-root [style*="height: 600px"], .mt-root [style*="height: 560px"], .mt-root [style*="height: 520px"] { height: 380px !important; }
  .mt-root [style*="height: 460px"] { height: 300px !important; }
  .mt-root [style*="border-right: 1px solid #36322D"] { border-right: 0 !important; border-bottom: 1px solid #36322D; padding: 20px 0 !important; }
  .mt-root .mt-home > div { padding: 28px 20px 40px !important; }
  .mt-root .mt-home > div[style*="position: absolute"] { position: static !important; padding: 16px !important; }
  .mt-root [style*="display: flex; gap: 14px; flex-wrap: wrap"], .mt-root form [style*="display: flex; gap: 10px"] { flex-wrap: wrap; }
  .mt-replay { top: auto; bottom: 16px; right: 16px; }
}
