/*
Theme Name: Âmbar Lumi
Theme URI: https://ambarlumi.com.br/
Author: Âmbar Lumi
Description: Tema institucional para a Âmbar Lumi, empresa artesanal de aromas, velas, home spray e presentes afetivos.
Version: 1.0.1
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
Text Domain: ambar-lumi
*/

:root {
  --forest: #242913;
  --olive: #3f4726;
  --moss: #69714d;
  --gold: #c8a268;
  --cream: #f6f1e8;
  --paper: #fffaf0;
  --ink: #262417;
  --muted: #67604e;
  --line: rgba(36, 41, 19, 0.16);
  --shadow: 0 24px 80px rgba(36, 41, 19, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Montserrat", Arial, sans-serif;
  letter-spacing: 0;
}

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

.site-header {
  align-items: center;
  background: rgba(255, 250, 240, 0.92);
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  left: 0;
  padding: 16px clamp(20px, 5vw, 72px);
  position: sticky;
  right: 0;
  top: 0;
  z-index: 10;
}

.brand {
  align-items: center;
  display: flex;
  gap: 12px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.4rem;
  font-weight: 700;
}

.brand-logo,
.custom-logo-link,
.brand-mark {
  align-items: center;
  background: var(--forest);
  border-radius: 50%;
  color: var(--gold);
  display: inline-flex;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1rem;
  font-weight: 700;
  height: 44px;
  justify-content: center;
  overflow: hidden;
  flex: 0 0 44px;
  width: 44px;
}

.brand-logo img,
.custom-logo-link img {
  clip-path: circle(49% at 50% 50%);
  display: block;
  height: 100%;
  max-height: 44px;
  max-width: 44px;
  object-fit: contain;
  transform: none;
  width: 100%;
}

nav {
  display: flex;
  gap: clamp(14px, 3vw, 36px);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

main {
  overflow: hidden;
}

.hero {
  align-items: center;
  background:
    linear-gradient(115deg, rgba(36, 41, 19, 0.92), rgba(63, 71, 38, 0.82)),
    radial-gradient(circle at 72% 18%, rgba(200, 162, 104, 0.34), transparent 34%),
    var(--forest);
  color: var(--cream);
  display: grid;
  gap: clamp(28px, 6vw, 80px);
  grid-template-columns: minmax(280px, 1fr);
  min-height: calc(100vh - 77px);
  padding: clamp(42px, 7vw, 92px) clamp(20px, 7vw, 104px);
}

.hero-copy {
  max-width: 660px;
}

.eyebrow {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  margin: 0 0 14px;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 700;
  line-height: 0.96;
}

h1 {
  font-size: clamp(4rem, 12vw, 8.8rem);
  margin-bottom: 24px;
}

h2 {
  font-size: clamp(2.4rem, 6vw, 5rem);
  margin-bottom: 0;
}

h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.9rem;
  line-height: 1;
  margin-bottom: 12px;
}

.lead {
  color: rgba(246, 241, 232, 0.88);
  font-size: clamp(1.1rem, 2.5vw, 1.45rem);
  line-height: 1.65;
  max-width: 620px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  align-items: center;
  border: 1px solid var(--gold);
  display: inline-flex;
  font-size: 0.86rem;
  font-weight: 700;
  justify-content: center;
  min-height: 48px;
  padding: 14px 22px;
  text-transform: uppercase;
}

.button.primary {
  background: var(--gold);
  color: var(--forest);
}

.button.secondary {
  color: var(--cream);
}

.intro,
.contact {
  align-items: end;
  display: grid;
  gap: clamp(24px, 6vw, 92px);
  grid-template-columns: minmax(260px, 0.95fr) minmax(280px, 1fr);
  padding: clamp(56px, 8vw, 110px) clamp(20px, 7vw, 104px);
}

.intro p,
.contact p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.9;
}

.values {
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.values article {
  min-height: 260px;
  padding: clamp(28px, 5vw, 56px);
}

.values article + article {
  border-left: 1px solid var(--line);
}

.values span {
  color: var(--gold);
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 54px;
}

.values p,
.product-card p {
  color: var(--muted);
  line-height: 1.75;
}

.product-band {
  background: var(--cream);
  padding: clamp(56px, 8vw, 108px) clamp(20px, 7vw, 104px);
}

.section-heading {
  max-width: 780px;
}

.instagram-note {
  border-left: 3px solid var(--gold);
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
  margin: 24px 0 0;
  max-width: 680px;
  padding-left: 18px;
}

.instagram-note a {
  color: var(--forest);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.product-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 42px;
}

.product-card {
  background: var(--paper);
  border: 1px solid var(--line);
  min-height: 430px;
  padding: 18px;
}

.product-visual {
  align-items: center;
  background: var(--olive);
  display: flex;
  height: 220px;
  justify-content: center;
  margin-bottom: 28px;
  overflow: hidden;
  position: relative;
}

.product-visual img {
  display: block;
  height: 82%;
  max-width: 82%;
  object-fit: contain;
  width: 82%;
}

.quote {
  align-items: center;
  background: var(--forest);
  color: var(--cream);
  display: flex;
  min-height: 360px;
  padding: clamp(52px, 8vw, 108px) clamp(20px, 7vw, 104px);
}

.quote p {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.4rem, 7vw, 5.6rem);
  line-height: 1.05;
  margin: 0;
  max-width: 980px;
}

.contact {
  background: var(--paper);
  align-items: center;
}

.contact-links {
  display: grid;
  gap: 12px;
}

.contact-links a {
  border: 1px solid var(--line);
  color: var(--ink);
  display: grid;
  gap: 6px;
  min-height: 92px;
  padding: 22px;
}

.contact-links span {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

footer {
  align-items: center;
  background: var(--forest);
  color: var(--cream);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(20px, 7vw, 104px);
}

footer p {
  margin: 0;
}

footer a {
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

.whatsapp-float {
  align-items: center;
  background: #2f6f45;
  border: 1px solid rgba(246, 241, 232, 0.35);
  border-radius: 999px;
  bottom: 22px;
  box-shadow: 0 14px 38px rgba(20, 32, 19, 0.28);
  color: #fffaf0;
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 700;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  position: fixed;
  right: 22px;
  text-transform: uppercase;
  z-index: 20;
}

@media (max-width: 840px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero,
  .intro,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .values,
  .product-grid {
    grid-template-columns: 1fr;
  }

  .values article + article {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 540px) {
  nav {
    justify-content: space-between;
    width: 100%;
  }

  .hero-actions,
  footer {
    align-items: stretch;
    flex-direction: column;
    text-align: center;
  }

  .button {
    width: 100%;
  }

  .whatsapp-float {
    bottom: 14px;
    min-height: 46px;
    right: 14px;
  }

  .values span {
    margin-bottom: 30px;
  }
}
