/* =============================================
   MAIN.CSS - La Dame de Pierre
   DA : DOOH 2026 - Spectaculaire, lumineux, pop-épique
   ============================================= */

/* ----- RT Dyans Basic (logo) ----- */
@font-face {
  font-family: 'RT Dyans Basic';
  src: url('../fonts/RTDyansBasic.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* ----- Google Fonts : Roboto Condensed + Roboto ----- */
@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:ital,wght@0,300;0,400;0,700;0,900;1,400;1,700;1,900&family=Roboto:ital,wght@0,300;0,400;0,500;0,700;0,900;1,300;1,400&display=swap');

/* ----- Variables ----- */
:root {
  /* Violets / fond */
  --color-violet-profond:  #130C7A;
  --color-violet-mid:      #2318AA;
  --color-violet-vif:      #3028C8;
  --color-bleu-mid:        #3A50D8;
  --color-bleu-electrique: #4A70E8;

  /* Cyan / Bleu clair */
  --color-cyan-vif:        #48B8F0;
  --color-cyan-clair:      #80D4FF;

  /* Rose / Magenta - accent principal */
  --color-rose-vif:        #E8309A;
  --color-rose-mid:        #FF5AB0;
  --color-rose-clair:      #FFA0CC;

  /* Orange / Ambre - chaleur rosace */
  --color-orange-chaud:    #FF7832;
  --color-ambre:           #FFB050;

  /* Pierre */
  --color-pierre:          #D8C898;
  --color-pierre-clair:    #EDE0C0;

  /* Texte / surfaces */
  --color-blanc:           #FFFFFF;
  --color-blanc-80:        rgba(255,255,255,0.80);
  --color-blanc-60:        rgba(255,255,255,0.60);
  --color-blanc-40:        rgba(255,255,255,0.40);

  /* Badges */
  --color-rouge-paris:     #E01028;

  /* Tokens sémantiques */
  --color-bg:              #0E0870;
  --color-bg-deep:         #0A0660;
  --color-text:            var(--color-blanc);
  --color-text-muted:      var(--color-blanc-60);
  --color-primary:         var(--color-rose-vif);
  --color-primary-hv:      var(--color-rose-mid);
  --color-accent:          var(--color-cyan-vif);
  --color-border:          rgba(255,255,255,0.14);
  --color-surface:         rgba(255,255,255,0.06);
  --color-surface-hv:      rgba(255,255,255,0.12);

  /* Gradients */
  --gradient-bg:           linear-gradient(160deg, #0E0870 0%, #2018A8 30%, #3038C8 60%, #4A5EE0 100%);
  --gradient-section:      linear-gradient(180deg, #1A10A0 0%, #2820B8 100%);
  --gradient-deep:         linear-gradient(180deg, #0A0660 0%, #130C7A 100%);
  --gradient-rose-droite:  radial-gradient(ellipse at 100% 30%, rgba(232,48,154,0.45) 0%, transparent 60%);
  --gradient-cyan-gauche:  radial-gradient(ellipse at 0% 40%, rgba(72,184,240,0.40) 0%, transparent 55%);
  --gradient-orange-mid:   radial-gradient(ellipse at 50% 55%, rgba(255,176,80,0.28) 0%, transparent 50%);

  /* Glows / shadows */
  --shadow-card:           0 8px 40px rgba(10,6,80,0.50);
  --shadow-lg:             0 20px 80px rgba(10,6,80,0.70);
  --glow-rose:             0 0 32px rgba(232,48,154,0.50);
  --glow-rose-strong:      0 0 40px rgba(232,48,154,0.60);
  --glow-cyan:             0 0 32px rgba(72,184,240,0.40);

  /* Typographie */
  --font-display: 'Roboto Condensed', 'Arial Narrow', sans-serif;
  --font-body:    'Roboto', 'Helvetica Neue', Arial, sans-serif;
  --font-logo:    'RT Dyans Basic', 'Roboto Condensed', sans-serif;
  --font-size-base: 1rem;
  --line-height:    1.6;

  /* Espacements */
  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  2rem;
  --space-lg:  4rem;
  --space-xl:  8rem;

  /* Layout */
  --container-max: 1200px;
  --container-pad: 1.25rem;

  /* Rayons */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition:      0.25s ease;
  --transition-slow: 0.6s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--gradient-bg);
  background-attachment: fixed;
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: var(--font-size-base);
  line-height: var(--line-height);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Glows colorés sur tout le fond, sous le contenu */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    var(--gradient-rose-droite),
    var(--gradient-cyan-gauche),
    var(--gradient-orange-mid);
  pointer-events: none;
  z-index: 0;
}

body > * { position: relative; z-index: 1; }

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

::selection {
  background: rgba(232,48,154,0.35);
  color: var(--color-blanc);
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--color-bg-deep); }
::-webkit-scrollbar-thumb {
  background: rgba(232,48,154,0.45);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover { background: var(--color-rose-vif); }

/* ----- Typographie ----- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--color-blanc);
  line-height: 1.05;
  letter-spacing: -0.01em;
}

p {
  font-family: var(--font-body);
  color: var(--color-blanc-80);
  line-height: 1.7;
}

/* ----- Container ----- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

/* ----- Utilitaires ----- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ----- Sections ----- */
.section {
  padding-block: clamp(4rem, 8vw, 7.5rem);
  position: relative;
}

.section--dark {
  background: var(--gradient-deep);
}

.section--mid {
  background: var(--gradient-section);
}

.section__eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-cyan-vif);
  margin-bottom: 0.75rem;
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 900;
  font-style: italic;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--color-blanc);
  margin-bottom: 1.5rem;
}

.section__divider {
  width: 56px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-rose-vif), var(--color-cyan-vif));
  border-radius: 2px;
  margin-bottom: 2.5rem;
}

/* ----- Boutons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2.25rem;
  border: none;
  border-radius: 6px;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color var(--transition), color var(--transition), box-shadow var(--transition), transform var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background-color: var(--color-rose-vif);
  color: var(--color-blanc);
  box-shadow: var(--glow-rose);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background-color: var(--color-rose-mid);
  box-shadow: var(--glow-rose-strong);
  transform: translateY(-1px);
}

.btn--secondary,
.btn--ghost {
  background: rgba(255,255,255,0.10);
  color: var(--color-blanc);
  border: 1px solid rgba(255,255,255,0.30);
}

.btn--secondary:hover,
.btn--secondary:focus-visible,
.btn--ghost:hover,
.btn--ghost:focus-visible {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.50);
}

.btn--small {
  padding: 0.6rem 1.4rem;
  font-size: 0.75rem;
}

/* ----- Focus visible global ----- */
:focus-visible {
  outline: 2px solid var(--color-rose-vif);
  outline-offset: 3px;
}

/* ----- Hero ----- */
.hero {
  position: relative;
  height: 100svh;
  overflow: hidden;
  isolation: isolate;
}

/* Fond : l'image est ferrée à gauche (sa rosace est déjà cadrée à gauche dans
   le fichier source), hauteur 100% du hero, largeur auto. Sur des viewports
   16:9 ou plus larges, l'image couvre toute la largeur jusqu'au bord droit. */
.hero__bg-wrap {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.hero__bg {
  height: 100%;
  width: auto;
  max-width: none;
  display: block;
}

/* Panneau de droite : contenu posé sur la moitié droite du hero */
.hero__panel {
  position: relative;
  z-index: 1;
  margin-left: 50%;
  width: 50%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 3rem 3rem;
}

.hero__panel-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2rem;
  max-width: 520px;
  width: 100%;
}

.hero__logo {
  width: 100%;
  max-width: 440px;
  height: auto;
  filter: drop-shadow(0 0 20px rgba(255,255,255,0.30));
}

.hero__slogan {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.625rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.35;
  color: var(--color-blanc);
  letter-spacing: 0;
  margin: 0;
}

.hero__highlight {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin: 1rem 0 0.5rem;
}

/* --- Bloc Paris : eyebrow + venue (impact) + date --- */
.hero__highlight-paris {
  display: flex;
  flex-direction: column;
  position: relative;
  padding-left: 1.5rem;
}

.hero__highlight-paris::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.4rem;
  bottom: 0.4rem;
  width: 3px;
  background: linear-gradient(180deg, var(--color-rose-vif), var(--color-rose-mid));
  border-radius: 2px;
  box-shadow: 0 0 12px rgba(232,48,154,0.6);
}

.hero__highlight-eyebrow {
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--color-rose-mid);
}

.hero__highlight-venue {
  font-family: var(--font-display);
  font-size: clamp(1.625rem, 2.6vw, 2.125rem);
  font-weight: 900;
  font-style: italic;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--color-blanc);
  line-height: 1;
  margin: 0.25rem 0 0.5rem;
  text-shadow: 0 0 30px rgba(255,255,255,0.15);
}

.hero__highlight-date {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-blanc-80);
  margin: 0;
}

/* --- Mention tournée --- */
.hero__highlight-tour {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1.3vw, 1.0625rem);
  font-style: italic;
  font-weight: 300;
  color: var(--color-blanc-80);
  margin: 0;
  line-height: 1.5;
}

.hero__highlight-tour strong {
  font-family: var(--font-display);
  font-weight: 700;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-blanc);
  background-image: linear-gradient(transparent 70%, rgba(72,184,240,0.50) 70%);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  padding: 0 0.15em;
}

.hero__ctas {
  display: flex;
  gap: 0.875rem;
  flex-wrap: wrap;
}

/* ----- Partenaires (bas droite du hero en desktop) ----- */
.hero__partners {
  position: absolute;
  bottom: 1.75rem;
  right: 2.5rem;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.hero__partner-logo + .hero__partner-logo {
  margin-left: 1.25rem;
}

.hero__partners-label {
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-blanc-60);
  white-space: nowrap;
  margin-right: 0.5rem;
}

.hero__partner-logo {
  height: 36px;
  width: auto;
  display: block;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.4));
  opacity: 0.92;
  transition: opacity var(--transition);
}

.hero__partner-logo:hover {
  opacity: 1;
}

/* Tablette : sur les viewports trop carrés (aspect ≤ 3/2), la rosace empiète
   sur le panneau de droite. On décale l'image vers la gauche pour la dégager. */
@media (min-width: 769px) and (max-aspect-ratio: 3/2) {
  .hero__bg-wrap {
    left: -22vw;
  }
}

/* Mobile : layout vertical, rosace centrée + infos en dessous. */
@media (max-width: 768px) {
  .hero {
    height: auto;
    aspect-ratio: auto;
    display: flex;
    flex-direction: column;
  }

  .hero__bg-wrap {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .hero__bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 0% center;
  }

  .hero__panel {
    position: relative;
    margin-left: 0;
    width: 100%;
    height: auto;
    padding: 2.5rem 1.5rem 3.5rem;
  }

  .hero__panel-inner {
    align-items: center;
    text-align: center;
    margin-inline: auto;
  }

  .hero__logo {
    display: none;
  }

  /* Highlight : centré, plus de barre verticale rose, séparateur horizontal entre Paris et tournée */
  .hero__highlight {
    align-items: center;
    text-align: center;
    gap: 1.5rem;
  }

  .hero__highlight-paris {
    padding-left: 0;
    align-items: center;
    width: 100%;
  }

  .hero__highlight-paris::before {
    display: none;
  }

  /* Divider rose entre deux blocs paris consécutifs */
  .hero__highlight-paris + .hero__highlight-paris {
    padding-top: 1.5rem;
    position: relative;
  }

  .hero__highlight-paris + .hero__highlight-paris::before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 96px;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--color-rose-vif) 50%, transparent 100%);
  }

  /* Anciens styles tour (laissés au cas où le markup l'utilise encore ailleurs) */
  .hero__highlight-tour {
    text-align: center;
  }

  .hero__ctas {
    justify-content: center;
  }

  .hero__partners {
    position: relative;
    bottom: auto;
    right: auto;
    justify-content: center;
    flex-wrap: wrap;
    padding: 1.25rem 1.5rem 1.75rem;
    gap: 1rem 2.5rem;
  }

  .hero__partners-label {
    flex-basis: 100%;
    text-align: center;
    margin-right: 0;
  }

  .hero__partner-logo {
    height: 30px;
  }
}

/* ----- Page hero (pages intérieures) ----- */
.page-hero {
  position: relative;
  padding: calc(96px + 2rem) 0 3rem;
  background: var(--gradient-section);
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,0.10);
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 100% 0%, rgba(232,48,154,0.25) 0%, transparent 55%),
    radial-gradient(ellipse at 0% 100%, rgba(72,184,240,0.20) 0%, transparent 55%);
  pointer-events: none;
}

.page-hero > .container {
  position: relative;
  z-index: 1;
}

.page-hero__eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-cyan-vif);
  margin-bottom: 0.75rem;
}

.page-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 6vw, 4rem);
  font-weight: 900;
  font-style: italic;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--color-blanc);
  margin-bottom: 0.75rem;
}

.page-hero__sub {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 300;
  color: var(--color-blanc-80);
  letter-spacing: 0.02em;
  max-width: 640px;
}

/* ----- Footer ----- */
.footer {
  background: var(--color-bg-deep);
  border-top: 1px solid rgba(255,255,255,0.10);
  padding-block: 4rem 2rem;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(232,48,154,0.5), rgba(72,184,240,0.5), transparent);
}

/* Layout top : brand à gauche, nav menu horizontale à droite */
.footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem 3rem;
  margin-bottom: 2.5rem;
}

.footer__menu {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  align-items: center;
}

.footer__menu a {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-blanc-80);
  transition: color var(--transition);
  white-space: nowrap;
}

.footer__menu a:hover {
  color: var(--color-rose-mid);
}

.footer__brand-name {
  display: block;
  font-family: var(--font-display);
  font-weight: 900;
  font-style: italic;
  font-size: 1.25rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--color-blanc);
  margin-bottom: 0.75rem;
}

.footer__tagline {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--color-blanc-60);
  line-height: 1.6;
  max-width: 360px;
  margin-bottom: 1.25rem;
}

.footer__col-title {
  display: block;
  font-family: var(--font-display);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-cyan-vif);
  margin-bottom: 1.25rem;
}

.footer__list li {
  margin-bottom: 0.625rem;
}

.footer__list a,
.footer__list span {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--color-blanc-80);
  transition: color var(--transition);
}

.footer__list a:hover {
  color: var(--color-rose-vif);
}

/* Bloc partenaires (entre la grille et le divider/legal) */
.footer__partners-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.25rem;
  padding: 2rem 0 2.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer__partners-block .footer__col-title {
  margin-bottom: 0;
}

.footer__partners-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(2.25rem, 5vw, 4.5rem);
}

.footer__partner {
  height: 38px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.30));
  opacity: 0.85;
  transition: opacity var(--transition);
}

.footer__partner:hover {
  opacity: 1;
}

.footer__divider {
  width: 100%;
  height: 1px;
  background: rgba(255,255,255,0.08);
  margin-bottom: 1.5rem;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8125rem;
  color: var(--color-blanc-40);
}

.footer__legal {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer__legal a {
  color: var(--color-blanc-40);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color var(--transition);
}

.footer__legal a:hover {
  color: var(--color-blanc-80);
}

@media (max-width: 768px) {
  .footer__top {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }
  .footer__menu {
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
  }
}

/* ----- Responsive desktop ----- */
@media (min-width: 768px) {
  :root {
    --container-pad: 2.5rem;
  }
}
