/* ============================================
   PREMIER AMOUR — Design tokens
   Palette: antique bridal — ivory, deep wine, dusty rose, aged gold
   Type: Fraunces (display) + Cormorant Garamond italic (voice/quotes) + Manrope (UI/body)
   Signature: dresses presented like archived garments — pinned fabric
   labels + a hand-stitched dashed seam used as the recurring divider.
   ============================================ */

:root {
  --ivory: #f6f1e8;
  --paper: #fffdf9;
  --ink: #2b2420;
  --ink-soft: #5a4f45;
  --wine: #6e2a2e;
  --wine-deep: #4f1d20;
  --rose: #c89088;
  --gold: #a9865a;
  --gold-soft: #d8c6a3;
  --line: rgba(43, 36, 32, 0.14);

  --display: "Fraunces", "Georgia", serif;
  --voice: "Cormorant Garamond", "Georgia", serif;
  --body: "Manrope", "Helvetica Neue", Arial, sans-serif;

  --container: 1180px;
  --radius: 2px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

/* --- Seam divider: the recurring signature motif --- */
.seam {
  border: none;
  border-top: 1.5px dashed var(--gold);
  margin: 0;
  opacity: 0.55;
}

.seam-label {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 28px;
  color: var(--gold);
  font-family: var(--body);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.seam-label::before,
.seam-label::after {
  content: "";
  flex: 1;
  border-top: 1.5px dashed var(--gold-soft);
}

/* --- Header --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 241, 232, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.logo {
  display: flex;
  align-items: center;
}
.logo-img {
  height: 40px;
  width: auto;
  max-height: 40px;
  display: block;
}
footer .logo-img {
  height: 36px;
  max-height: 36px;
  background: var(--paper);
  padding: 6px 12px;
  border-radius: var(--radius);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.nav-links a {
  position: relative;
  padding: 4px 0;
}
.nav-links a.active,
.nav-links a:hover {
  color: var(--wine);
}
.nav-links a.active {
  font-weight: 700;
}

.nav-cta {
  color: var(--wine) !important;
}

.lang-switch {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 6px 12px;
  color: var(--ink-soft);
}
.lang-switch:hover { color: var(--wine); border-color: var(--wine); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 22px; height: 1.5px; background: var(--ink);
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  font-family: var(--body);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 15px 34px;
  border-radius: var(--radius);
  border: 1px solid var(--wine);
  cursor: pointer;
  transition: all 0.25s ease;
}
.btn-primary { background: var(--wine); color: var(--paper); }
.btn-primary:hover { background: var(--wine-deep); border-color: var(--wine-deep); }
.btn-outline { background: transparent; color: var(--wine); }
.btn-outline:hover { background: var(--wine); color: var(--paper); }

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: flex-end;
  background: linear-gradient(180deg, rgba(43,36,32,0.05), rgba(43,36,32,0.55)), var(--ink);
  background-size: cover;
  background-position: center 20%;
  color: var(--paper);
}
.hero-inner {
  padding: 0 28px 72px;
  max-width: var(--container);
  margin: 0 auto;
  width: 100%;
}
.hero-eyebrow {
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 18px;
}
.hero h1 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(40px, 6vw, 76px);
  line-height: 1.04;
  margin: 0 0 22px;
  max-width: 14ch;
}
.hero h1 em {
  font-style: italic;
  font-family: var(--voice);
  color: var(--gold-soft);
}
.hero p {
  max-width: 46ch;
  font-size: 17px;
  color: rgba(255,255,255,0.85);
  margin: 0 0 32px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero .btn-outline { border-color: var(--paper); color: var(--paper); }
.hero .btn-outline:hover { background: var(--paper); color: var(--ink); }

/* --- Sections --- */
section { padding: 96px 0; }
.section-tight { padding: 64px 0; }

/* --- Page hero (secondary pages: Rendez-vous, Vendre sa robe) --- */
.page-hero {
  position: relative;
  min-height: 46vh;
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, rgba(43,36,32,0.35), rgba(43,36,32,0.6)), var(--ink);
  background-size: cover;
  background-position: center;
  color: var(--paper);
  padding: 0 !important;
}
.page-hero .wrap { padding-top: 64px; padding-bottom: 64px; }
.page-hero .eyebrow { color: var(--gold-soft); }
.page-hero h2 { color: var(--paper); }
.page-hero .lede { color: rgba(255,255,255,0.88); }

.eyebrow {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 14px;
}
h2 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(28px, 3.4vw, 44px);
  margin: 0 0 20px;
  line-height: 1.15;
}
.lede {
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 62ch;
  margin: 0 0 8px;
}

/* --- Story split --- */
.story {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 72px;
  align-items: center;
}
.story--no-photo {
  grid-template-columns: 1fr;
  max-width: 760px;
  margin: 0 auto;
}
.story--no-photo .story-quote { text-align: center; }
.story-photo {
  position: relative;
}
.story-photo img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: var(--radius);
}
.story-photo::after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid var(--gold-soft);
  pointer-events: none;
  z-index: 1;
}
.story-body p { margin: 0 0 18px; color: var(--ink-soft); }
.story-body p:first-of-type::first-letter {
  font-family: var(--display);
  font-size: 54px;
  float: left;
  line-height: 0.8;
  padding: 6px 8px 0 0;
  color: var(--wine);
}
.story-quote {
  font-family: var(--voice);
  font-style: italic;
  font-size: 26px;
  color: var(--wine);
  margin: 28px 0;
  line-height: 1.35;
}

/* --- Dress grid / labels (signature) --- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 40px 28px;
}
.dress-card {
  position: relative;
  cursor: pointer;
}
.dress-photo {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--paper);
  border-radius: var(--radius);
}
.dress-photo img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s ease;
}
.dress-card:hover .dress-photo img { transform: scale(1.045); }

.dress-tag {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--paper);
  border: 1px solid var(--gold-soft);
  padding: 5px 12px 5px 10px;
  font-family: var(--body);
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--wine);
  border-radius: var(--radius);
}
.dress-status {
  position: absolute;
  top: 14px; right: 14px;
  background: var(--wine);
  color: var(--paper);
  padding: 4px 10px;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--radius);
}
.dress-status.available { background: rgba(43,36,32,0.72); }

.dress-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 28px; height: 28px;
  border: none;
  border-radius: 50%;
  background: rgba(246,241,232,0.85);
  box-shadow: 0 1px 4px rgba(43,36,32,0.2);
  color: var(--wine);
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dress-arrow:hover { background: var(--wine); color: var(--paper); }
.dress-arrow.prev { left: 10px; }
.dress-arrow.next { right: 10px; }
.dress-dots {
  position: absolute;
  left: 0; right: 0; bottom: 10px;
  display: flex;
  justify-content: center;
  gap: 6px;
}
.dress-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(246,241,232,0.55);
  cursor: pointer;
}
.dress-dot.active { background: var(--paper); }

.dress-info {
  padding-top: 14px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-top: 1.5px dashed var(--line);
  margin-top: 14px;
}
.dress-name {
  font-family: var(--voice);
  font-style: italic;
  font-size: 21px;
  color: var(--ink);
}
.dress-price {
  font-size: 14px;
  color: var(--ink-soft);
}

/* --- Filters --- */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 44px;
}
.filter-btn {
  font-family: var(--body);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 18px;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: var(--radius);
  cursor: pointer;
  color: var(--ink-soft);
}
.filter-btn.active {
  border-color: var(--wine);
  color: var(--wine);
  background: rgba(110,42,46,0.06);
}

.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--ink-soft);
  font-family: var(--voice);
  font-style: italic;
  font-size: 20px;
}

/* --- Lightbox --- */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(43,36,32,0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 32px;
}
.lightbox.open { display: flex; }
.lightbox-inner {
  position: relative;
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  max-height: 90dvh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--paper);
  border-radius: var(--radius);
  overflow: hidden;
}
.lightbox-gallery {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--paper);
}
.lightbox-photo { display: block; width: 100%; height: 100%; object-fit: cover; }
.lightbox-zoom-btn {
  position: absolute;
  bottom: 14px; right: 14px;
  width: 36px; height: 36px;
  border: none;
  border-radius: 50%;
  background: var(--paper);
  box-shadow: 0 1px 6px rgba(43,36,32,0.25);
  color: var(--wine);
  font-size: 15px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px; height: 38px;
  border: none;
  border-radius: 50%;
  background: var(--paper);
  box-shadow: 0 1px 6px rgba(43,36,32,0.25);
  color: var(--wine);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-arrow:hover { background: var(--wine); color: var(--paper); }
.lightbox-arrow.prev { left: 14px; }
.lightbox-arrow.next { right: 14px; }
.lightbox-dots {
  position: absolute;
  left: 0; right: 0; bottom: 16px;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.lightbox-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(246,241,232,0.55);
  cursor: pointer;
}
.lightbox-dot.active { background: var(--paper); }
.lightbox-detail { padding: 40px; overflow-y: auto; min-height: 0; }
.lightbox-detail .dress-tag { position: static; display: inline-block; margin-bottom: 16px; }
.lightbox-detail h3 {
  font-family: var(--voice);
  font-style: italic;
  font-size: 30px;
  margin: 0 0 10px;
  color: var(--wine);
}
.lightbox-detail .price { font-size: 18px; margin-bottom: 20px; }
.lightbox-detail p { color: var(--ink-soft); margin-bottom: 28px; }
.lightbox-close {
  position: absolute;
  top: 16px; right: 16px;
  background: var(--paper);
  border: none;
  border-radius: var(--radius);
  box-shadow: 0 1px 6px rgba(43,36,32,0.25);
  color: var(--wine);
  padding: 8px 14px;
  font-size: 12px;
  letter-spacing: 0.1em;
  cursor: pointer;
  text-transform: uppercase;
  z-index: 2;
}

/* --- Photo zoom overlay: full, uncropped photo on demand --- */
.photo-zoom {
  position: fixed; inset: 0;
  background: rgba(20,16,14,0.95);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 24px;
}
.photo-zoom.open { display: flex; }
.photo-zoom img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
}
.photo-zoom-close {
  position: absolute;
  top: 16px; right: 16px;
  background: var(--paper);
  border: none;
  border-radius: var(--radius);
  box-shadow: 0 1px 6px rgba(0,0,0,0.35);
  color: var(--wine);
  padding: 8px 14px;
  font-size: 12px;
  letter-spacing: 0.1em;
  cursor: pointer;
  text-transform: uppercase;
}

/* --- Forms --- */
.form-panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 48px;
}
.form-row { margin-bottom: 22px; }
.form-row label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 8px;
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  border: none;
  border-bottom: 1.5px solid var(--line);
  background: transparent;
  padding: 10px 2px;
  font-family: var(--body);
  font-size: 15px;
  color: var(--ink);
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-bottom-color: var(--wine);
}
.form-row textarea { resize: vertical; min-height: 100px; }
.form-two { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.form-note { font-size: 13px; color: var(--ink-soft); margin-top: -6px; margin-bottom: 22px; }
.form-success {
  display: none;
  background: rgba(110,42,46,0.06);
  border: 1px solid var(--gold-soft);
  padding: 18px 22px;
  border-radius: var(--radius);
  margin-top: 22px;
  font-family: var(--voice);
  font-style: italic;
  font-size: 17px;
  color: var(--wine);
}
.form-success.show { display: block; }
.form-error {
  display: none;
  background: rgba(179, 55, 44, 0.08);
  border: 1px solid rgba(179, 55, 44, 0.35);
  padding: 14px 18px;
  border-radius: var(--radius);
  margin-top: 22px;
  font-size: 14px;
  color: #8a2a20;
}
.form-error.show { display: block; }

/* --- Steps (Vendre sa robe) --- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  margin-bottom: 72px;
}
.step .num {
  font-family: var(--display);
  font-size: 40px;
  color: var(--gold-soft);
  margin-bottom: 10px;
}
.step h3 { font-family: var(--display); font-weight: 500; font-size: 19px; margin: 0 0 10px; }
.step p { color: var(--ink-soft); margin: 0; font-size: 15px; }

/* --- Info blocks (contact/appointment) --- */
.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}
.info-block { margin-bottom: 32px; }
.info-block .eyebrow { margin-bottom: 8px; }
.info-block a, .info-block p { color: var(--ink-soft); font-size: 15px; }
.info-block a:hover { color: var(--wine); }

/* --- Footer --- */
footer {
  background: var(--ink);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 0.8fr 0.8fr;
  gap: 40px;
  margin-bottom: 48px;
}
footer .logo { color: var(--gold-soft); }
footer .logo small { color: rgba(255,255,255,0.5); }
footer h4 {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  margin: 0 0 16px;
}
footer a, footer p { font-size: 14px; color: rgba(255,255,255,0.65); }
footer ul { list-style: none; padding: 0; margin: 0; }
footer li { margin-bottom: 10px; }
footer a:hover { color: var(--gold-soft); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  flex-wrap: wrap;
  gap: 10px;
}

/* --- Responsive --- */
@media (max-width: 860px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 84px;
    left: 0; right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
    padding: 28px;
    z-index: 60;
  }
  .nav-links.open-mobile { display: flex; }
  .nav-toggle { display: flex; z-index: 61; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
  .nav-toggle span { transition: transform 0.2s ease, opacity 0.2s ease; }

  .story, .info-grid { grid-template-columns: 1fr; gap: 40px; }
  .steps { grid-template-columns: 1fr; }
  .lightbox-inner { grid-template-columns: 1fr; }
  .lightbox-gallery {
    aspect-ratio: auto;
    width: 100%;
    height: 34vh;
    height: 34dvh;
  }
  .lightbox-detail { padding: 24px; }
  .lightbox-detail h3 { font-size: 26px; }
  .lightbox-detail p { margin-bottom: 20px; }
  .form-two { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }

  /* Hero: less height, tighter type, shorter measure so it doesn't
     feel text-heavy on a small screen */
  .hero { min-height: 72vh; align-items: center; }
  .hero-inner { padding: 0 20px; }
  .hero-eyebrow { font-size: 11px; margin-bottom: 12px; }
  .hero h1 { font-size: clamp(32px, 9vw, 44px); max-width: 12ch; margin-bottom: 16px; }
  .hero p { font-size: 15px; max-width: 34ch; margin-bottom: 24px; }
  .hero-actions { gap: 12px; }
  .hero .btn { padding: 13px 24px; font-size: 12px; }

  section { padding: 64px 0; }
  .section-tight { padding: 44px 0; }
  .page-hero { min-height: 34vh; }
  .page-hero .wrap { padding-top: 44px; padding-bottom: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
