/*
Theme Name: DoTi Mc Monaco
Theme URI: https://dotimc.com
Description: Thème enfant Hello Elementor pour la landing page DoTi Mc Monaco — Design premium noir & or.
Author: DoTi Mc
Author URI: https://dotimc.com
Template: hello-elementor
Version: 1.0.0
Text Domain: doti-mc
*/

/* ============================================
   DESIGN SYSTEM — DoTi Mc Monaco
   ============================================ */

:root {
  --doti-black:   #080808;
  --doti-dark:    #0f0f0f;
  --doti-surface: #131313;
  --doti-border:  rgba(180,150,80,0.16);
  --doti-gold:    #c9a84c;
  --doti-gold-lt: #e2c478;
  --doti-white:   #f4efe6;
  --doti-muted:   rgba(244,239,230,0.42);
}

/* ============================================
   BASE
   ============================================ */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body,
.elementor-page body {
  background: var(--doti-black) !important;
  color: var(--doti-white);
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
}

/* Subtle noise texture overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 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.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.022;
  pointer-events: none;
}

/* Reset Elementor defaults */
.elementor-section,
.elementor-column,
.elementor-widget {
  color: var(--doti-white);
}

a {
  color: var(--doti-gold);
  text-decoration: none;
}

a:hover {
  color: var(--doti-gold-lt);
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1, h2, h3, h4, h5, h6,
.doti-heading {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  color: var(--doti-white);
}

h1 em, h2 em, h3 em,
.doti-heading em {
  font-style: italic;
  color: var(--doti-gold-lt);
}

p, .doti-body {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  font-size: 0.78rem;
  line-height: 2.05;
  color: rgba(244,239,230,0.72);
  letter-spacing: 0.04em;
}

/* ============================================
   HEADER — Elementor Header Builder
   ============================================ */

.doti-header {
  position: fixed !important;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 30px 60px;
  transition: background 0.5s, backdrop-filter 0.5s, border-color 0.5s;
  border-bottom: 1px solid transparent;
  background: transparent;
}

.doti-header.scrolled {
  background: rgba(8,8,8,0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-color: var(--doti-border);
}

.doti-logo {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 1.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--doti-white);
}

.doti-logo span {
  color: var(--doti-gold);
}

.doti-header-right {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.6rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(244,239,230,0.5);
}

.doti-header-right::before {
  content: '';
  width: 22px;
  height: 1px;
  background: var(--doti-gold);
}

/* ============================================
   HERO SECTION
   ============================================ */

.doti-hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 60px 80px;
  overflow: hidden;
}

.doti-hero-photo {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 40%;
  transform: scale(1.04);
  transition: transform 8s ease;
  z-index: 0;
}

.doti-hero-photo.loaded {
  transform: scale(1);
}

.doti-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to top, rgba(8,8,8,0.97) 0%, rgba(8,8,8,0.75) 40%, rgba(8,8,8,0.55) 70%, rgba(8,8,8,0.6) 100%),
    linear-gradient(135deg, rgba(8,8,8,0.45) 0%, transparent 60%);
}

.doti-hero-grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(201,168,76,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 50%);
  -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 50%);
}

.doti-hero-line {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  z-index: 2;
  background: linear-gradient(to right, transparent, var(--doti-gold) 30%, var(--doti-gold-lt) 50%, var(--doti-gold) 70%, transparent);
  opacity: 0.45;
}

.doti-hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.doti-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 0.62rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--doti-gold-lt);
  margin-bottom: 28px;
  opacity: 0;
  animation: doti-fadeUp 0.9s 0.3s ease forwards;
}

.doti-eyebrow::before {
  content: '';
  width: 34px;
  height: 1px;
  background: var(--doti-gold);
}

.doti-hero-title {
  font-family: 'Cormorant Garamond', serif !important;
  font-weight: 400 !important;
  font-size: clamp(3rem, 6.5vw, 6rem) !important;
  line-height: 1.05 !important;
  letter-spacing: 0.01em;
  margin-bottom: 28px;
  color: var(--doti-white) !important;
  opacity: 0;
  animation: doti-fadeUp 0.9s 0.5s ease forwards;
}

.doti-hero-title em {
  font-style: italic;
  color: var(--doti-gold-lt) !important;
}

.doti-hero-sub {
  font-size: 0.75rem;
  line-height: 1.9;
  letter-spacing: 0.07em;
  color: rgba(244,239,230,0.82);
  max-width: 460px;
  opacity: 0;
  animation: doti-fadeUp 0.9s 0.7s ease forwards;
}

.doti-scroll-hint {
  position: absolute;
  bottom: 36px;
  right: 60px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 0.54rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--doti-muted);
  opacity: 0;
  animation: doti-fadeUp 0.9s 1.1s ease forwards;
}

.doti-scroll-dot {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--doti-gold), transparent);
  animation: doti-pulse 2s 1.5s ease-in-out infinite;
}

/* ============================================
   ABOUT SECTION
   ============================================ */

.doti-about {
  position: relative;
  z-index: 1;
  padding: 110px 60px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  max-width: 1280px;
  margin: 0 auto;
  align-items: center;
}

.doti-section-tag {
  font-size: 0.56rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--doti-gold);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 40px;
}

.doti-section-tag::after {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--doti-gold);
}

.doti-about-heading {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(2rem, 3vw, 2.9rem);
  line-height: 1.22;
  color: var(--doti-white);
}

.doti-about-heading em {
  font-style: italic;
  color: var(--doti-gold-lt);
}

.doti-about-body {
  font-size: 0.78rem;
  line-height: 2.05;
  color: rgba(244,239,230,0.72);
  letter-spacing: 0.04em;
}

.doti-about-body p + p {
  margin-top: 18px;
}

/* ============================================
   TRACKING SECTION
   ============================================ */

.doti-tracking {
  position: relative;
  z-index: 1;
  background: var(--doti-surface);
  border-top: 1px solid var(--doti-border);
}

.doti-tracking-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.doti-tracking-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: 2px;
  padding: 6px 16px;
  font-size: 0.56rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--doti-gold);
  margin-bottom: 32px;
}

.doti-tracking-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--doti-gold);
  border-radius: 50%;
  animation: doti-blink 2s ease-in-out infinite;
}

.doti-tracking-name {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 3rem;
  letter-spacing: 0.08em;
  color: var(--doti-gold-lt);
  margin-bottom: 20px;
}

.doti-tracking-desc {
  font-size: 0.78rem;
  line-height: 2;
  color: rgba(244,239,230,0.72);
  letter-spacing: 0.04em;
  margin-bottom: 44px;
}

/* CTA Button */
.doti-cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  background: transparent;
  border: 1px solid var(--doti-gold);
  color: var(--doti-gold);
  padding: 14px 32px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  transition: color 0.3s, gap 0.25s;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.doti-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--doti-gold);
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
  z-index: 0;
}

.doti-cta:hover::before {
  transform: translateX(0);
}

.doti-cta:hover {
  color: var(--doti-black);
  gap: 20px;
}

.doti-cta span,
.doti-cta .cta-arrow {
  position: relative;
  z-index: 1;
}

/* Radar SVG */
.doti-tracking-visual {
  position: relative;
  aspect-ratio: 1;
  max-width: 380px;
  margin-left: auto;
}

.doti-tracking-visual svg {
  width: 100%;
  height: 100%;
  opacity: 0.9;
}

/* ============================================
   MONACO STRIP
   ============================================ */

.doti-monaco-wrap {
  background: var(--doti-dark);
  border-top: 1px solid var(--doti-border);
}

.doti-monaco-strip {
  position: relative;
  z-index: 1;
  padding: 52px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  max-width: 1280px;
  margin: 0 auto;
}

.doti-flag-group {
  display: flex;
  align-items: center;
  gap: 16px;
}

.doti-flag {
  width: 30px;
  height: 20px;
  border-radius: 2px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.08);
}

.doti-flag-top {
  flex: 1;
  background: #CE1126;
}

.doti-flag-bottom {
  flex: 1;
  background: #ffffff;
}

.doti-monaco-label {
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(244,239,230,0.65);
  line-height: 1.8;
}

.doti-monaco-label strong {
  display: block;
  color: var(--doti-white);
  font-weight: 400;
}

.doti-monaco-quote {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1rem;
  color: rgba(244,239,230,0.32);
  letter-spacing: 0.03em;
}

/* ============================================
   FOOTER
   ============================================ */

.doti-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--doti-border);
  padding: 28px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  background: var(--doti-black);
}

.doti-footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.95rem;
  letter-spacing: 0.14em;
  color: rgba(244,239,230,0.3);
}

.doti-footer-logo span {
  color: var(--doti-gold);
  opacity: 0.7;
}

.doti-footer small {
  font-size: 0.55rem;
  letter-spacing: 0.14em;
  color: rgba(244,239,230,0.18);
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes doti-fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes doti-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

@keyframes doti-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.2; }
}

/* ============================================
   RESPONSIVE — MOBILE
   ============================================ */

@media (max-width: 860px) {
  .doti-header {
    padding: 22px 28px;
  }

  .doti-hero {
    padding: 0 28px 64px;
  }

  .doti-scroll-hint {
    right: 28px;
  }

  .doti-about {
    padding: 72px 28px;
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .doti-tracking-inner {
    padding: 60px 28px;
    grid-template-columns: 1fr;
  }

  .doti-tracking-visual {
    display: none;
  }

  .doti-monaco-strip {
    padding: 40px 28px;
  }

  .doti-footer {
    padding: 24px 28px;
  }
}

/* ============================================
   ELEMENTOR OVERRIDES
   ============================================ */

/* Remove Elementor default padding/margins on our custom sections */
.elementor-section.doti-section > .elementor-container {
  max-width: 100% !important;
  padding: 0 !important;
}

.elementor-widget-html {
  margin: 0 !important;
  padding: 0 !important;
}

/* Ensure Elementor doesn't override our backgrounds */
.elementor-section-wrap .doti-hero,
.elementor-section-wrap .doti-about,
.elementor-section-wrap .doti-tracking,
.elementor-section-wrap .doti-monaco-wrap,
.elementor-section-wrap .doti-footer {
  background-color: transparent;
}
