/* ============================================================
   LORENZO — Shared Design System
   Red · White · Black — Modern Boutique
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,600&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,700;1,9..40,300&display=swap');

:root {
  --red:      #CC1A1A;
  --red-dk:   #A51414;
  --red-lt:   #E04040;
  --black:    #0A0A0A;
  --black-2:  #141414;
  --black-3:  #1E1E1E;
  --grey-dk:  #444444;
  --grey:     #888888;
  --grey-lt:  #CCCCCC;
  --border:   #E8E8E8;
  --off:      #F5F5F5;
  --white:    #FFFFFF;

  --fd:  'Cormorant Garamond', Georgia, serif;
  --fb:  'DM Sans', system-ui, sans-serif;

  --nav-h:  80px;
  --mw:     1280px;
  --px:     clamp(1.5rem, 5vw, 5rem);
  --r:      6px;
  --r-lg:   14px;
  --sh:     0 2px 16px rgba(10,10,10,.08);
  --sh-md:  0 6px 36px rgba(10,10,10,.13);
  --sh-lg:  0 20px 70px rgba(10,10,10,.20);
  --ease:   cubic-bezier(.25,.46,.45,.94);
  --spring: cubic-bezier(.34,1.56,.64,1);
  --t:      .32s var(--ease);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--fb);
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img   { max-width: 100%; height: auto; display: block; }
a     { text-decoration: none; color: inherit; }
input,
select,
textarea,
button { font-family: inherit; }

/* ---- Layout ---- */
.wrap   { max-width: var(--mw); margin: 0 auto; padding: 0 var(--px); }
.sec    { padding: 120px 0; }
.sec-sm { padding: 80px 0; }

/* ---- Type ---- */
h1,h2,h3,h4 { font-family: var(--fd); }

.eyebrow {
  font-family: var(--fb);
  font-size: .68rem; font-weight: 700;
  letter-spacing: .26em; text-transform: uppercase;
  color: var(--red);
}
.eyebrow-muted { color: var(--grey); }
.eyebrow-white { color: rgba(255,255,255,.5); }

.display {
  font-family: var(--fd);
  font-size: clamp(3rem,6vw,5.5rem);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -.01em;
}
.display-xl {
  font-family: var(--fd);
  font-size: clamp(4.5rem,10vw,9rem);
  font-weight: 300;
  line-height: .95;
  letter-spacing: -.02em;
}
.display em { font-style: italic; }
.display-xl em { font-style: italic; }

.body-lg { font-size: 1.1rem; line-height: 1.85; color: var(--grey-dk); }
.body-sm { font-size: .9rem;  line-height: 1.75; color: var(--grey); }

/* ---- Divider line ---- */
.line {
  width: 40px; height: 1px;
  background: var(--red);
  margin: 1.2rem 0;
}
.line-white { background: rgba(255,255,255,.3); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: 14px 32px;
  border-radius: var(--r);
  font-family: var(--fb);
  font-size: .76rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  cursor: pointer; border: none;
  transition: transform var(--t), box-shadow var(--t), background var(--t), color var(--t);
  position: relative; overflow: hidden; white-space: nowrap;
}
.btn-red   { background: var(--red);   color: #fff; }
.btn-red:hover { background: var(--red-dk); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(204,26,26,.35); }
.btn-black { background: var(--black); color: #fff; }
.btn-black:hover { background: var(--black-3); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(10,10,10,.30); }
.btn-white { background: var(--white); color: var(--black); }
.btn-white:hover { background: var(--off); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.4); }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); transform: translateY(-2px); }
.btn-ghost-dk { background: transparent; color: var(--black); border: 1.5px solid rgba(10,10,10,.2); }
.btn-ghost-dk:hover { border-color: var(--red); color: var(--red); transform: translateY(-2px); }

/* pill */
.pill {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: 5px 14px;
  border-radius: 100px;
  font-size: .68rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
}
.pill-red   { background: rgba(204,26,26,.1); color: var(--red); }
.pill-white { background: rgba(255,255,255,.12); color: rgba(255,255,255,.8); }
.pill-dark  { background: rgba(10,10,10,.08); color: var(--grey-dk); }

/* ====================================================
   NAVIGATION
==================================================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  height: var(--nav-h);
  display: flex; align-items: center;
  padding: 0 var(--px);
  transition: background .4s var(--ease), backdrop-filter .4s var(--ease), box-shadow .4s var(--ease);
}
.nav.solid {
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(20px) saturate(1.8);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
  box-shadow: 0 1px 0 rgba(10,10,10,.07);
}
.nav.dark-solid {
  background: rgba(10,10,10,.92);
  backdrop-filter: blur(20px) saturate(1.8);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
}
.nav-inner {
  width: 100%; max-width: var(--mw); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
}

.nav-logo {
  display: flex; align-items: center;
  flex-shrink: 0; line-height: 0;
}

/* Logo SVG — diamant rouge + L blanc, lisible sur tous les fonds */
.logo-img {
  height: 52px; width: auto;
  display: block;
}

/* Aucun filtre — le rouge sur noir ET le rouge sur blanc fonctionnent nativement */
.logo-img.logo-on-dark  { filter: none; }
.logo-img.logo-on-light { filter: none; }
.logo-img.logo-footer   { filter: none; height: 48px; }
.logo-img.logo-on-red   { filter: none; }

.nav-links {
  display: flex; align-items: center; gap: 2.6rem;
  list-style: none;
}
.nav-links a {
  font-size: .74rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,.72);
  transition: color var(--t);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute; bottom: -3px; left: 0; right: 100%;
  height: 1.5px; background: var(--red);
  transition: right var(--t);
}
.nav-links a:hover::after,
.nav-links a.active::after { right: 0; }
.nav.solid .nav-links a { color: rgba(10,10,10,.55); }
.nav-links a:hover,
.nav.solid .nav-links a:hover { color: var(--red); }
.nav-links a.active { color: var(--red); }
.nav.solid .nav-links a.active { color: var(--red); }

.nav-book {
  padding: 10px 22px;
  background: var(--red); color: #fff;
  border-radius: var(--r);
  font-size: .72rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  transition: all var(--t);
}
.nav-book:hover { background: var(--red-dk); transform: translateY(-1px); }

.burger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 4px; flex-shrink: 0;
}
.burger span {
  width: 24px; height: 1.5px; background: var(--white);
  transition: all var(--t); display: block;
}
.nav.solid .burger span { background: var(--black); }

.drawer {
  display: none; position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 2rem var(--px) 2.5rem;
  box-shadow: 0 20px 50px rgba(10,10,10,.15);
  z-index: 499;
  border-top: 1px solid var(--border);
}
.drawer.open { display: block; }
.drawer ul { list-style: none; display: flex; flex-direction: column; gap: 1.5rem; }
.drawer a {
  font-size: 1rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: rgba(10,10,10,.55); transition: color var(--t);
}
.drawer a:hover, .drawer a.active { color: var(--red); }

/* ====================================================
   FOOTER
==================================================== */
.footer {
  background: var(--black-2);
  color: var(--white);
  padding: 80px var(--px) 30px;
}
.footer-inner {
  max-width: var(--mw); margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.7fr;
  gap: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.f-logo { font-family: var(--fd); font-size: 1.85rem; font-weight: 600; color: var(--white); }
.f-logo b { color: var(--red); }
.f-desc { font-size: .86rem; color: rgba(255,255,255,.38); line-height: 1.8; margin-top: .9rem; max-width: 260px; }
.f-socials { display: flex; gap: .55rem; margin-top: 1.5rem; }
.fsoc {
  width: 36px; height: 36px; border-radius: 7px;
  background: rgba(255,255,255,.07);
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem; color: rgba(255,255,255,.4);
  cursor: pointer; transition: all var(--t);
}
.fsoc:hover { background: var(--red); color: var(--white); }

.f-col h5 {
  font-size: .66rem; font-weight: 700;
  letter-spacing: .2em; text-transform: uppercase;
  color: rgba(255,255,255,.3); margin-bottom: 1.2rem;
}
.f-links { list-style: none; display: flex; flex-direction: column; gap: .65rem; }
.f-links a { font-size: .87rem; color: rgba(255,255,255,.48); transition: color var(--t); }
.f-links a:hover { color: var(--white); }

.f-nl p { font-size: .84rem; color: rgba(255,255,255,.38); margin-bottom: .9rem; line-height: 1.75; }
.nl-row { display: flex; }
.nl-in {
  flex: 1; padding: 11px 14px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-right: none;
  border-radius: 4px 0 0 4px;
  color: var(--white);
  font-size: .82rem; outline: none;
}
.nl-in::placeholder { color: rgba(255,255,255,.25); }
.nl-btn {
  padding: 11px 16px;
  background: var(--red); border: none;
  border-radius: 0 4px 4px 0;
  color: var(--white); font-weight: 700;
  cursor: pointer; transition: background var(--t);
}
.nl-btn:hover { background: var(--red-dk); }

.f-bottom {
  max-width: var(--mw); margin: 0 auto;
  padding-top: 22px;
  display: flex; align-items: center; justify-content: space-between;
  font-size: .75rem; color: rgba(255,255,255,.22);
}

/* ====================================================
   SCROLL REVEAL SYSTEM
==================================================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
[data-reveal="left"]  { transform: translateX(-40px); }
[data-reveal="right"] { transform: translateX(40px); }
[data-reveal="scale"] { transform: scale(.94); }
[data-reveal].on {
  opacity: 1;
  transform: none;
}
[data-delay="1"] { transition-delay: .08s; }
[data-delay="2"] { transition-delay: .16s; }
[data-delay="3"] { transition-delay: .24s; }
[data-delay="4"] { transition-delay: .32s; }
[data-delay="5"] { transition-delay: .40s; }

/* ====================================================
   CURSOR GLOW
==================================================== */
.cursor-glow {
  position: fixed;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(204,26,26,.07) 0%, transparent 70%);
  pointer-events: none; z-index: 9999;
  transform: translate(-50%,-50%);
  transition: left .08s, top .08s;
  mix-blend-mode: multiply;
}

/* ====================================================
   PAGE TRANSITION
==================================================== */
.page-curtain {
  position: fixed; inset: 0; z-index: 9000;
  background: var(--black);
  transform-origin: bottom;
  animation: curtainUp .7s var(--ease) forwards;
}
@keyframes curtainUp {
  0%   { transform: scaleY(1); }
  100% { transform: scaleY(0); }
}

/* ====================================================
   PAGE HEADER (shared for inner pages)
==================================================== */
.page-hero {
  min-height: 55vh;
  display: flex; align-items: flex-end;
  position: relative; overflow: hidden;
  padding: 0 var(--px);
}
.page-hero-content {
  position: relative; z-index: 2;
  max-width: var(--mw); margin: 0 auto; width: 100%;
  padding-bottom: 80px;
}
.page-hero-bg {
  position: absolute; inset: 0;
}
.page-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,.75) 0%, rgba(10,10,10,.2) 60%, transparent 100%);
}

/* ====================================================
   FORM ELEMENTS
==================================================== */
.fg { margin-bottom: 1.1rem; }
.fg label {
  display: block; font-size: .7rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  color: rgba(10,10,10,.45); margin-bottom: .44rem;
}
.fg input, .fg select, .fg textarea {
  width: 100%; padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--r);
  font-size: .93rem; color: var(--black);
  background: var(--white);
  outline: none;
  transition: border-color var(--t), box-shadow var(--t);
  -webkit-appearance: none;
}
.fg input:focus, .fg select:focus, .fg textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(204,26,26,.10);
}
.fg textarea { resize: vertical; min-height: 88px; }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* ====================================================
   RESPONSIVE
==================================================== */
@media (max-width: 1024px) {
  .footer-inner { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 768px) {
  :root {
    --nav-h: 64px;
    --px:    1.4rem;
  }
  .sec     { padding: 64px 0; }
  .sec-sm  { padding: 44px 0; }

  /* Nav */
  .nav-links, .nav-book { display: none; }
  .burger  { display: flex; }
  .logo-img { height: 40px; }

  /* Typography */
  .display    { font-size: clamp(1.9rem, 6vw, 3rem); }
  .display-xl { font-size: clamp(2.2rem, 8vw, 4rem); }
  .section-h  { font-size: clamp(1.7rem, 5.5vw, 2.4rem) !important; }
  .body-lg    { font-size: .95rem; }

  /* Hero shared */
  .page-hero  { min-height: 48vh; padding-bottom: 0; }
  .page-hero-content { padding-bottom: 48px; }

  /* Form */
  .frow { grid-template-columns: 1fr; }

  /* Footer */
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .f-bottom     { flex-direction: column; gap: .4rem; text-align: center; }
  .footer       { padding: 48px var(--px) 24px; }
}

@media (max-width: 480px) {
  :root { --px: 1.1rem; }
  .logo-img   { height: 36px; }
  .btn        { padding: 12px 22px; font-size: .72rem; }
  .page-hero  { min-height: 44vh; }
}
