/* La Petite Cordonnière — scroll zoom hero */

:root {
  --ink: #2b1d14;
  --cream: #f6efe6;
  --leather: #5b3c2e;
  --accent: #c9a36b;
  --font-title: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem clamp(1rem, 4vw, 3rem);
  color: var(--cream);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.45);
}

.site-header .brand {
  font-family: var(--font-title);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: inherit;
  text-decoration: none;
}

.site-header nav a {
  margin-left: 1.5rem;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: inherit;
  text-decoration: none;
  opacity: 0.85;
}

.site-header nav a:hover {
  opacity: 1;
}

/* ---------- Zoom hero ---------- */

/* Tall wrapper = the scroll distance. The stage inside stays pinned. */
.zoom {
  position: relative;
  height: 250vh;
}

.zoom__stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  background: #000;
}

.zoom__layer {
  position: absolute;
  inset: 0;
  will-change: transform, opacity;
}

.zoom__layer img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Initial state (JS drives the rest). Second image waits underneath. */
.zoom__layer--2 {
  opacity: 0;
}

/* Dark veil so text stays readable on any photo */
.zoom__veil {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at center, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.55) 100%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.35));
}

/* ---------- Text blocks ---------- */

.zoom__copy {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 clamp(1.25rem, 6vw, 5rem);
  text-align: center;
  pointer-events: none;
  will-change: transform, opacity;
}

.zoom__copy--2 {
  opacity: 0;
}

.eyebrow {
  margin: 0 0 1.1rem;
  font-size: 0.78rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
}

.zoom__copy h1,
.zoom__copy h2 {
  margin: 0;
  font-family: var(--font-title);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: 0.01em;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.5);
}

.zoom__copy h1 {
  font-size: clamp(2.8rem, 9vw, 8rem);
}

.zoom__copy h2 {
  font-size: clamp(2rem, 5.5vw, 4.5rem);
  max-width: 18ch;
}

.zoom__copy p.lead {
  max-width: 38rem;
  margin: 1.4rem 0 0;
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  line-height: 1.65;
  color: rgba(246, 239, 230, 0.92);
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.6);
}

.services {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem 0.8rem;
  margin: 1.8rem 0 0;
  padding: 0;
  list-style: none;
}

.services li {
  padding: 0.45rem 1rem;
  border: 1px solid rgba(246, 239, 230, 0.45);
  border-radius: 999px;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
  background: rgba(0, 0, 0, 0.18);
}

/* Scroll hint */
.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  transform: translateX(-50%);
  color: rgba(246, 239, 230, 0.85);
  pointer-events: none;
}

.scroll-hint::after {
  content: "";
  width: 1px;
  height: 2.2rem;
  background: currentColor;
  transform-origin: top;
  animation: hint 1.8s ease-in-out infinite;
}

@keyframes hint {
  0%   { transform: scaleY(0); opacity: 1; }
  60%  { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}

/* ---------- Shared section bits ---------- */

.kicker {
  margin: 0 0 1rem;
  font-size: 0.78rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--leather);
}

section[id] {
  scroll-margin-top: 0;
}

/* ---------- Services ---------- */

.services-section {
  padding: clamp(4rem, 9vw, 8rem) clamp(1.25rem, 5vw, 4rem);
  background: var(--cream);
  color: var(--ink);
}

.section-head {
  max-width: 46rem;
  margin: 0 auto clamp(2.5rem, 6vw, 5rem);
  text-align: center;
}

.section-head h2 {
  margin: 0 0 1.2rem;
  font-family: var(--font-title);
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 600;
  line-height: 1.1;
}

.section-head .intro {
  margin: 0;
  line-height: 1.7;
  color: #5a4a3e;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  max-width: 76rem;
  margin: 0 auto;
}

.card {
  overflow: hidden;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 6px 24px rgba(43, 29, 20, 0.08);
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.card.is-visible {
  opacity: 1;
  transform: none;
}

.card__media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #e4d8c8;
}

.card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.card:hover .card__media img {
  transform: scale(1.06);
}

.card__tag {
  margin: 0;
  padding: 1.4rem 1.6rem 0;
  font-size: 0.72rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--leather);
}

.card h3 {
  margin: 0.4rem 0 0.6rem;
  padding: 0 1.6rem;
  font-family: var(--font-title);
  font-size: 1.7rem;
  font-weight: 600;
  line-height: 1.15;
}

.card p:last-child {
  margin: 0;
  padding: 0 1.6rem 1.8rem;
  line-height: 1.65;
  color: #5a4a3e;
}

/* ---------- Contact ---------- */

.contact {
  padding: clamp(4rem, 9vw, 7rem) clamp(1.25rem, 5vw, 4rem) 2.5rem;
  background: var(--leather);
  color: var(--cream);
}

.contact .kicker {
  color: var(--accent);
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  max-width: 76rem;
  margin: 0 auto;
}

.contact__info h2 {
  margin: 0 0 0.4rem;
  font-family: var(--font-title);
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  font-weight: 600;
  line-height: 1.05;
}

.contact__name {
  margin: 0 0 1.8rem;
  font-size: 1.1rem;
  color: rgba(246, 239, 230, 0.85);
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.9rem 1.5rem;
  border-radius: 999px;
  background: #25d366;
  color: #08331a;
  font-weight: 500;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.3);
}

.contact address {
  margin-top: 2rem;
  font-style: normal;
  line-height: 1.8;
  color: rgba(246, 239, 230, 0.92);
}

.contact__map {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.2);
}

.contact__map iframe {
  display: block;
  width: 100%;
  height: 100%;
}

.contact__fb {
  max-width: 76rem;
  margin: 3rem auto 0;
  text-align: center;
}

.contact__fb a {
  color: var(--cream);
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 0.25rem;
}

.contact__fb a:hover {
  color: var(--accent);
}

.contact__copy {
  display: block;
  margin-top: 3rem;
  text-align: center;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: rgba(246, 239, 230, 0.6);
}

@media (max-width: 960px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {
  .cards,
  .contact__grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .card {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- Accessibility / small screens ---------- */

@media (max-width: 640px) {
  .site-header nav {
    display: none;
  }
  .zoom {
    height: 250vh;
  }
}

/* Without motion: no pinned zoom, just two stacked static panels */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .zoom {
    height: auto;
  }
  .zoom__stage {
    position: relative;
    height: auto;
    overflow: visible;
    background: none;
  }
  .zoom__layer,
  .zoom__copy {
    position: relative;
    inset: auto;
    height: 100vh;
    opacity: 1 !important;
    transform: none !important;
  }
  .zoom__veil,
  .scroll-hint {
    display: none;
  }
  .zoom__copy {
    margin-top: -100vh;
    margin-bottom: 0;
  }
}
