/* ==========================================================================
   Wall Bijoux — Landing Page
   ========================================================================== */

:root {
  --brown-dark: #5c4f39;
  --brown: #887554;
  --brown-mid: #a68d64;
  --gold: #c9a35f;
  --gold-light: #d9b878;
  --cream: #f6efe3;
  --cream-dark: #e7d9c3;
  --text-dark: #3c3223;
  --text-light: #faf6ee;
  --radius: 14px;
  --shadow: 0 12px 30px rgba(60, 50, 35, 0.15);
  --font-body: 'Poppins', sans-serif;
  --font-display: 'Playfair Display', serif;
  --font-script: 'Alex Brush', cursive;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
}
.skip-link:focus {
  left: 16px;
  top: 16px;
  background: var(--text-light);
  color: var(--brown-dark);
  padding: 10px 16px;
  border-radius: 8px;
  z-index: 999;
}

h1, h2, h3 {
  font-family: var(--font-display);
  margin: 0 0 .5em;
  color: var(--brown-dark);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .75rem;
  font-weight: 600;
  color: var(--gold);
  margin: 0 0 .6em;
}
.eyebrow-light { color: var(--gold-light); }

.script-accent {
  font-family: var(--font-script);
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  color: var(--gold);
  display: inline-block;
}

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn .icon { width: 18px; height: 18px; fill: currentColor; flex-shrink: 0; }

.btn-primary { background: var(--brown-dark); color: var(--text-light); }
.btn-secondary { background: var(--gold); color: var(--text-light); }
.btn-outline { background: transparent; color: var(--brown-dark); border-color: var(--brown-dark); }
.btn-light { background: var(--text-light); color: var(--brown-dark); }

/* ---------------- Header ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 239, 227, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--cream-dark);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-logo { width: 44px; height: 44px; border-radius: 50%; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--brown-dark);
}

.main-nav {
  display: flex;
  gap: 28px;
}
.main-nav a {
  font-weight: 500;
  font-size: .95rem;
  color: var(--text-dark);
  position: relative;
  padding: 4px 0;
}
.main-nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width .2s ease;
}
.main-nav a:hover::after { width: 100%; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--brown-dark);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}

/* ---------------- Hero ---------------- */
.hero {
  background: linear-gradient(155deg, var(--brown) 0%, var(--brown-dark) 100%);
  color: var(--text-light);
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: 48px;
  padding: 72px 24px;
}

.hero-text .eyebrow { color: var(--gold-light); }

.hero h1 {
  color: var(--text-light);
  font-size: clamp(2.6rem, 6vw, 4rem);
  margin-bottom: .2em;
}

.hero-script {
  font-family: var(--font-script);
  font-size: clamp(1.6rem, 3.4vw, 2.2rem);
  color: var(--gold-light);
  margin: 0 0 .5em;
}

.hero-desc {
  max-width: 46ch;
  color: rgba(250, 246, 238, 0.88);
  margin-bottom: 2em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.hero-actions .btn-outline {
  color: var(--text-light);
  border-color: rgba(250, 246, 238, 0.6);
}
.hero-actions .btn-outline:hover { background: rgba(250, 246, 238, 0.1); }

.hero-media { display: flex; justify-content: center; }

.hero-photo-frame {
  position: relative;
  border: 6px solid var(--gold-light);
  border-radius: var(--radius);
  overflow: hidden;
  max-width: 340px;
  box-shadow: var(--shadow);
  transform: rotate(1.5deg);
}
.hero-photo-frame img { width: 100%; height: 100%; object-fit: cover; }

/* ---------------- História ---------------- */
.historia { padding: 96px 0; }

.section-heading { text-align: center; margin-bottom: 3em; }

.historia-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 4em;
}
.historia-grid p {
  background: #fff;
  padding: 28px;
  border-radius: var(--radius);
  box-shadow: 0 8px 20px rgba(60,50,35,.06);
  margin: 0;
}
.historia-grid strong { color: var(--gold); }

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.pillar-card {
  text-align: center;
  padding: 32px 22px;
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #fff, var(--cream));
}
.pillar-year {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--gold);
  margin-bottom: .3em;
}
.pillar-card h3 { font-size: 1.15rem; margin-bottom: .4em; }
.pillar-card p { margin: 0; font-size: .95rem; color: #6b6050; }

/* ---------------- Ateliê ---------------- */
.atelie {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--brown-dark);
  color: var(--text-light);
}
.atelie-media { min-height: 420px; }
.atelie-media img { width: 100%; height: 100%; object-fit: cover; }

.atelie-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px;
}
.atelie-content h2 { color: var(--text-light); font-size: clamp(2rem, 4vw, 2.6rem); }
.atelie-content address {
  font-style: normal;
  margin: 1.2em 0 2em;
  color: rgba(250, 246, 238, 0.88);
  line-height: 1.8;
}
.atelie-content .btn-light { align-self: flex-start; }

/* ---------------- Contato ---------------- */
.contato {
  padding: 96px 0;
  text-align: center;
}
.contato h2 { margin-top: .2em; }
.contato > .container > p {
  max-width: 56ch;
  margin: 0 auto 3em;
  color: #6b6050;
}

.social-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.social-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 24px;
  background: #fff;
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius);
  transition: transform .15s ease, box-shadow .15s ease;
  text-align: left;
}
.social-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.social-card .icon { width: 30px; height: 30px; fill: var(--gold); flex-shrink: 0; }
.social-card strong { display: block; font-size: 1.05rem; }
.social-card small { color: #6b6050; }

/* ---------------- Footer ---------------- */
.site-footer {
  background: var(--brown-dark);
  color: rgba(250, 246, 238, 0.75);
  padding: 48px 0 32px;
}
.footer-inner { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.site-footer .brand-name, .site-footer p { color: rgba(250, 246, 238, 0.75); }
.footer-inner .brand-name { color: var(--text-light); }
.site-footer p { margin: 0; font-size: .9rem; max-width: 60ch; }
.site-footer .copy { margin-top: 12px; font-size: .8rem; color: rgba(250, 246, 238, 0.5); }

/* ---------------- Back to top ---------------- */
#back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: var(--gold);
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
  z-index: 90;
}
#back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }

/* ---------------- Responsive ---------------- */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; padding: 56px 24px; text-align: center; }
  .hero-actions { justify-content: center; }
  .hero-media { order: -1; }
  .hero-photo-frame { max-width: 260px; }

  .historia-grid, .pillars, .social-links { grid-template-columns: 1fr; }

  .atelie { grid-template-columns: 1fr; }
  .atelie-media { min-height: 280px; }
  .atelie-content { padding: 48px 28px; align-items: center; text-align: center; }
  .atelie-content .btn-light { align-self: center; }
}

@media (max-width: 720px) {
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    border-bottom: 1px solid var(--cream-dark);
    transition: max-height .25s ease;
  }
  .main-nav.open { max-height: 320px; }
  .main-nav a {
    padding: 16px 24px;
    border-top: 1px solid var(--cream-dark);
  }
  .nav-toggle { display: flex; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

@media (max-width: 480px) {
  .btn { padding: 12px 18px; font-size: .88rem; }
  .historia { padding: 64px 0; }
  .contato { padding: 64px 0; }
}
