/* ==========================================================================
   Lírius Naturais — estilos
   ========================================================================== */

:root {
  --verde-musgo: #486B47;
  --verde-musgo-escuro: #384f37;
  --verde-oliva: #8C9C68;
  --marrom-terroso: #7A5230;
  --creme: #EFE6D9;
  --branco: #FAF9F5;
  --texto: #3A342B;
  --texto-claro: #5C5346;

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Jost', Arial, sans-serif;

  --header-h: 84px;
  --radius: 14px;
  --shadow-soft: 0 12px 32px rgba(58, 52, 43, 0.12);
  --transition: 0.25s ease;
}

* { box-sizing: border-box; }

html {
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--texto);
  background: var(--branco);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

ul { list-style: none; margin: 0; padding: 0; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 {
  font-family: var(--font-heading);
  color: var(--verde-musgo-escuro);
  line-height: 1.2;
  margin: 0 0 16px;
}

h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 16px; font-size: 1.1rem; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--marrom-terroso);
  margin-bottom: 10px;
}

.section-lead {
  max-width: 720px;
  color: var(--texto-claro);
  font-size: 1.2rem;
}

/* Skip link for keyboard users */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
}

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.98rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
}

.btn:focus-visible {
  outline: 3px solid var(--verde-oliva);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--verde-musgo);
  color: var(--branco);
  border-color: var(--verde-musgo);
}
.btn-primary:hover {
  background: var(--verde-musgo-escuro);
  border-color: var(--verde-musgo-escuro);
  color: var(--branco);
}

.btn-whatsapp {
  background: var(--verde-musgo);
  color: var(--branco);
  border-color: var(--verde-musgo);
  white-space: nowrap;
}
.btn-whatsapp:hover {
  background: var(--marrom-terroso);
  border-color: var(--marrom-terroso);
  color: var(--branco);
}

.btn-outline-hero {
  background: rgba(255, 255, 255, 0.1);
  color: var(--branco);
  border-color: rgba(255, 255, 255, 0.7);
}
.btn-outline-hero:hover {
  background: var(--creme);
  color: var(--verde-musgo-escuro);
  border-color: var(--creme);
}

.btn-product {
  background: var(--creme);
  color: var(--verde-musgo-escuro);
  border-color: rgba(122, 82, 48, 0.4);
  font-size: 0.92rem;
  padding: 11px 22px;
  width: 100%;
}
.btn-product:hover {
  background: var(--verde-musgo);
  color: var(--branco);
  border-color: var(--verde-musgo);
}

/* ---------------- Header ---------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  background: rgba(250, 249, 245, 0.94);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 18px rgba(58, 52, 43, 0.08);
  z-index: 1000;
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
}

.brand-logo {
  height: 52px;
  width: 52px;
  object-fit: cover;
  border-radius: 50%;
}

.brand-name {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--verde-musgo-escuro);
  letter-spacing: 0.02em;
}

.main-nav ul {
  display: flex;
  gap: 28px;
}

.main-nav a {
  font-weight: 500;
  font-size: 0.98rem;
  color: var(--texto);
  position: relative;
  padding: 6px 2px;
  transition: color var(--transition);
}
.main-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: var(--marrom-terroso);
  transition: width var(--transition);
}
.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--marrom-terroso);
}
.main-nav a:hover::after,
.main-nav a:focus-visible::after { width: 100%; }

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1.5px solid var(--verde-musgo);
  border-radius: 8px;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  height: 2px;
  width: 20px;
  margin: 0 auto;
  background: var(--verde-musgo-escuro);
  transition: transform var(--transition), opacity var(--transition);
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  min-height: 88vh;
  margin-top: var(--header-h);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--verde-musgo-escuro);
}

.hero-bg {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: 60%;
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg,
    var(--verde-musgo-escuro) 0%,
    var(--verde-musgo-escuro) 34%,
    rgba(56, 79, 55, 0.6) 52%,
    rgba(56, 79, 55, 0.18) 72%,
    rgba(56, 79, 55, 0) 92%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
  padding-top: 56px;
  padding-bottom: 56px;
}

.hero-logo {
  height: 84px;
  width: 84px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 24px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}

.hero h1 {
  color: var(--branco);
  font-size: clamp(2.8rem, 6vw, 4.2rem);
  margin-bottom: 12px;
}

.hero h2 {
  color: var(--creme);
  font-family: var(--font-body);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  margin-bottom: 18px;
}

.hero-slogan {
  color: rgba(250, 249, 245, 0.88);
  font-size: 1.3rem;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 12px;
}

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px 28px;
  margin: 36px 0 0;
  padding-top: 28px;
  border-top: 1px solid rgba(250, 249, 245, 0.22);
}

.hero-highlights li {
  position: relative;
  padding-left: 20px;
}

.hero-highlights li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--verde-oliva);
}

.hero-highlights strong {
  display: block;
  font-family: var(--font-heading);
  color: var(--branco);
  font-size: 1.3rem;
  margin-bottom: 4px;
}

.hero-highlights span {
  display: block;
  color: rgba(250, 249, 245, 0.85);
  font-size: 1.12rem;
  line-height: 1.4;
}

/* Hero entrance animation */
@keyframes hero-in {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-logo,
.hero h1,
.hero h2,
.hero-slogan,
.hero-actions,
.hero-highlights {
  opacity: 0;
  animation: hero-in 0.8s ease forwards;
}
.hero-logo      { animation-delay: 0.05s; }
.hero h1        { animation-delay: 0.18s; }
.hero h2        { animation-delay: 0.3s; }
.hero-slogan    { animation-delay: 0.42s; }
.hero-actions   { animation-delay: 0.54s; }
.hero-highlights{ animation-delay: 0.66s; }

/* ---------------- Scroll reveal ---------------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-group .reveal:nth-child(2) { transition-delay: 0.08s; }
.reveal-group .reveal:nth-child(3) { transition-delay: 0.16s; }
.reveal-group .reveal:nth-child(4) { transition-delay: 0.24s; }
.reveal-group .reveal:nth-child(5) { transition-delay: 0.32s; }
.reveal-group .reveal:nth-child(6) { transition-delay: 0.4s; }
.reveal-group .reveal:nth-child(7) { transition-delay: 0.48s; }
.reveal-group .reveal:nth-child(8) { transition-delay: 0.56s; }

/* ---------------- Sections ---------------- */
.section { padding: 96px 0; }
.section-sobre { background: var(--branco); }
.section-produtos { background: var(--creme); }
.section-depoimentos { background: var(--branco); }
.section-contato { background: var(--creme); }

.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin: 40px 0 56px;
}

.pillar-card {
  background: var(--branco);
  border: 1px solid rgba(122, 82, 48, 0.18);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-soft);
}

.pillar-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(72, 107, 71, 0.1);
  color: var(--verde-musgo);
  margin-bottom: 18px;
}

.pillar-icon svg {
  width: 26px;
  height: 26px;
}

.pillar-card h3 {
  color: var(--marrom-terroso);
}

.pillar-card p {
  color: var(--texto-claro);
  margin: 0;
  font-size: 1.08rem;
}

.values-block h3 { margin-bottom: 24px; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px 28px;
}

.values-grid li {
  padding-left: 20px;
  border-left: 3px solid var(--verde-oliva);
}

.value-icon {
  display: block;
  width: 24px;
  height: 24px;
  color: var(--verde-oliva);
  margin-bottom: 8px;
}

.values-grid strong {
  display: block;
  font-family: var(--font-heading);
  color: var(--verde-musgo-escuro);
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.values-grid span {
  color: var(--texto-claro);
  font-size: 1.02rem;
}

/* ---------------- Produtos ---------------- */
.products-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
  margin-top: 40px;
}

.product-card {
  background: var(--branco);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition);
  flex: 1 1 300px;
  max-width: 360px;
}
.product-card:hover { transform: translateY(-6px); }

.product-card img {
  width: 100%;
  height: 340px;
  object-fit: contain;
  object-position: center;
  background: var(--creme);
  padding: 10px;
  box-sizing: border-box;
}

.product-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.product-body h3 { margin-bottom: 4px; }

.product-body p {
  color: var(--texto-claro);
  font-size: 1.02rem;
  flex: 1;
}

.vitrine-cta {
  margin-top: 56px;
  padding: 32px;
  text-align: center;
  background: var(--branco);
  border: 1px dashed rgba(122, 82, 48, 0.4);
  border-radius: var(--radius);
}

.vitrine-cta p {
  margin: 0 0 18px;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--verde-musgo-escuro);
}

/* ---------------- CTA Vitrine (banner) ---------------- */
.vitrine-banner {
  background: var(--verde-musgo-escuro);
  padding: 72px 0;
  text-align: center;
}

.vitrine-banner-inner {
  max-width: 640px;
  margin: 0 auto;
}

.vitrine-banner h2 { color: var(--branco); }

.vitrine-banner p {
  color: rgba(250, 249, 245, 0.85);
  font-size: 1.1rem;
  margin-bottom: 28px;
}

/* ---------------- Depoimentos ---------------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.testimonial-card {
  margin: 0;
  background: var(--creme);
  border-radius: var(--radius);
  padding: 32px 28px;
  border-left: 4px solid var(--marrom-terroso);
}

.testimonial-card p {
  font-style: italic;
  color: var(--texto);
  font-size: 1.1rem;
}

.testimonial-card footer h3 {
  font-size: 1.05rem;
  margin: 12px 0 2px;
  color: var(--verde-musgo-escuro);
}

.testimonial-card cite {
  font-style: normal;
  color: var(--texto-claro);
  font-size: 0.9rem;
}

/* ---------------- Contato ---------------- */
.contato-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.contato-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 28px 0;
}

.contato-list li {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contato-list strong {
  font-family: var(--font-heading);
  color: var(--marrom-terroso);
  font-size: 0.95rem;
}

.contato-list a:hover { color: var(--verde-musgo); text-decoration: underline; }

.contato-visual {
  background: var(--branco);
  padding: 14px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.contato-visual img {
  border-radius: calc(var(--radius) - 6px);
  width: 100%;
  height: auto;
  display: block;
}

/* ---------------- Footer ---------------- */
.site-footer {
  background: var(--verde-musgo-escuro);
  color: rgba(250, 249, 245, 0.85);
  padding: 64px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
}

.footer-brand { max-width: 260px; }

.footer-logo {
  height: 56px;
  width: 56px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 14px;
  background: var(--branco);
}

.footer-brand p {
  font-size: 1rem;
  color: rgba(250, 249, 245, 0.7);
}

.footer-title {
  font-family: var(--font-heading);
  color: var(--branco);
  font-size: 1.02rem;
  margin-bottom: 16px;
}

.footer-col ul { display: flex; flex-direction: column; gap: 10px; }

.footer-col a,
.footer-col li {
  font-size: 0.9rem;
  color: rgba(250, 249, 245, 0.75);
}

.footer-col a:hover { color: var(--creme); text-decoration: underline; }

.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(250, 249, 245, 0.15);
  text-align: center;
  font-size: 0.85rem;
  color: rgba(250, 249, 245, 0.6);
}

/* ---------------- WhatsApp float ---------------- */
.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--verde-musgo);
  color: var(--branco);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 22px rgba(58, 52, 43, 0.3);
  z-index: 900;
  transition: background var(--transition), transform var(--transition);
}
.whatsapp-float:hover {
  background: var(--marrom-terroso);
  transform: scale(1.06);
}
.whatsapp-float:focus-visible {
  outline: 3px solid var(--verde-oliva);
  outline-offset: 3px;
}

/* ---------------- Responsive ---------------- */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contato-grid { grid-template-columns: 1fr; }
  .contato-visual { order: -1; }
}

@media (max-width: 760px) {
  :root { --header-h: 72px; }

  .header-cta { display: none; }

  .menu-toggle { display: flex; }

  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--branco);
    box-shadow: 0 12px 24px rgba(58,52,43,0.12);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition), transform var(--transition);
  }
  .main-nav.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .main-nav ul {
    flex-direction: column;
    padding: 20px 24px 28px;
    gap: 16px;
  }

  .brand-name { font-size: 1.05rem; }
  .brand-logo { height: 44px; width: 44px; }

  .hero-bg { width: 100%; opacity: 0.4; }
  .hero-overlay {
    background: linear-gradient(180deg,
      rgba(56, 79, 55, 0.75) 0%,
      var(--verde-musgo-escuro) 65%);
  }

  .section { padding: 64px 0; }

  .footer-grid { grid-template-columns: 1fr; text-align: left; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-highlights { grid-template-columns: 1fr; }
  .whatsapp-float { right: 16px; bottom: 16px; width: 52px; height: 52px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-logo, .hero h1, .hero h2, .hero-slogan, .hero-actions, .hero-highlights {
    animation: none;
    opacity: 1;
    transform: none;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .product-card,
  .whatsapp-float,
  .btn {
    transition: none;
  }
}
