/* Temperos Caseiros da Lu — floral artisan theme */

:root {
  --color-primary: #2d5016;
  --color-primary-dark: #1e3610;
  --color-secondary: #6b7b3c;
  --color-accent: #c41e3a;
  --color-accent-soft: #e8a0a8;
  --color-plum: #7b4b8a;
  --color-background: #f5f0e1;
  --color-surface: #fffdf8;
  --color-foreground: #1a1a1a;
  --color-muted: #5c5348;
  --color-border: #d4c4a8;
  --color-terracotta: #c67b5c;
  --color-whatsapp: #25d366;

  --font-display: "Lora", Georgia, serif;
  --font-body: "Raleway", system-ui, sans-serif;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-soft: 0 8px 32px rgba(45, 80, 22, 0.08);
  --shadow-card: 0 4px 20px rgba(26, 26, 26, 0.06);
  --transition: 200ms ease;
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-foreground);
  background-color: var(--color-background);
  background-image:
    radial-gradient(circle at 20% 30%, rgba(123, 75, 138, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(196, 30, 58, 0.05) 0%, transparent 45%),
    url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%232d5016' fill-opacity='0.04'%3E%3Cpath d='M40 8c-2 4-6 6-10 5 3 3 3 8 1 12 4-2 9-1 12 2 1-4 5-7 9-7-1-4 1-8 4-11-4 1-8-1-10-4 2-3 2-7 0-10-3 2-7 2-10 0 1 4-1 8-4 10 3 1 6 4 7 8z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

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

a {
  color: inherit;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 200;
  padding: 0.5rem 1rem;
  background: var(--color-primary);
  color: #fff;
  text-decoration: none;
  border-radius: var(--radius-sm);
}

.skip-link:focus {
  top: 1rem;
}

/* Header */
.site-header {
  position: relative;
}

.header-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 240, 225, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.875rem 0;
}

.header-banner {
  position: relative;
  margin: 0;
  width: 100%;
  max-height: min(52vh, 520px);
  overflow: hidden;
  background: var(--color-primary-dark);
}

.header-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 55%,
    rgba(245, 240, 225, 0.15) 75%,
    var(--color-background) 100%
  );
  pointer-events: none;
}

.header-banner img {
  width: 100%;
  height: min(52vh, 520px);
  object-fit: cover;
  object-position: center 40%;
}

.header-banner-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding: 0 1rem;
  text-align: center;
  pointer-events: none;
}

.header-banner-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}

.header-banner-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 700;
  color: #fff;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.5);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  text-decoration: none;
  min-width: 0;
}

.brand-mark {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--color-surface);
  border: 2px solid var(--color-accent);
  color: var(--color-accent);
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  font-style: italic;
  box-shadow: var(--shadow-soft);
}

.brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.2;
}

.brand-tagline {
  font-size: 0.8rem;
  color: var(--color-muted);
}

.header-cta {
  flex-shrink: 0;
}

/* Typography */
.eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-plum);
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  line-height: 1.2;
  color: var(--color-primary-dark);
}

h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 5vw, 3rem);
}

h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 3.5vw, 2.25rem);
}

h3 {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
}

.lead {
  margin: 0 0 1.5rem;
  font-size: 1.1rem;
  color: var(--color-muted);
  max-width: 42ch;
}

.section {
  padding: 4.5rem 0;
}

.section-head {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 3rem;
}

.section-head p:last-child {
  margin: 0;
  color: var(--color-muted);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--transition), background var(--transition), color var(--transition), border-color var(--transition), box-shadow var(--transition);
}

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

.btn:hover {
  transform: translateY(-2px);
}

.btn-lg {
  padding: 1rem 1.75rem;
  font-size: 1rem;
}

.btn-whatsapp {
  background: var(--color-whatsapp);
  color: #fff;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
  background: #1ebe57;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
}

.btn-outline {
  background: var(--color-surface);
  color: var(--color-primary);
  border-color: var(--color-border);
  width: 100%;
}

.btn-outline:hover {
  border-color: var(--color-primary);
  background: var(--color-primary);
  color: #fff;
}

.icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

.icon-sm {
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
  color: var(--color-primary);
}

/* Floral frame */
.floral-frame {
  position: relative;
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.floral-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 3px solid var(--color-border);
  border-radius: var(--radius-lg);
  pointer-events: none;
  z-index: 1;
}

.floral-frame::after {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px dashed rgba(196, 30, 58, 0.25);
  border-radius: calc(var(--radius-lg) - 4px);
  pointer-events: none;
  z-index: 1;
}

.floral-frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* Hero */
.hero {
  padding: 2.5rem 0 4rem;
}

.hero-copy-centered {
  max-width: 640px;
  margin-inline: auto;
  text-align: center;
  animation: fadeUp 0.6s ease both;
}

.hero-copy-centered .lead {
  margin-inline: auto;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Products */
.produtos {
  background: linear-gradient(180deg, transparent, rgba(255, 253, 248, 0.8) 20%, rgba(255, 253, 248, 0.8) 80%, transparent);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.product-card {
  position: relative;
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.product-card.featured {
  border-color: var(--color-accent);
  box-shadow: var(--shadow-card);
}

.badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  padding: 0.35rem 0.75rem;
  background: var(--color-accent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 999px;
}

.product-image {
  border-radius: 0;
  box-shadow: none;
}

.product-image::before,
.product-image::after {
  display: none;
}

.product-image img {
  aspect-ratio: 1 / 1;
}

.product-body {
  padding: 1.25rem 1.25rem 1.5rem;
}

.product-body p {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: var(--color-muted);
}

/* Como usar */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.steps {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.steps li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.step-num {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  background: var(--color-primary);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 50%;
}

.steps strong {
  display: block;
  margin-bottom: 0.15rem;
  color: var(--color-primary-dark);
}

.steps p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-muted);
}

/* Ingredientes */
.ingredient-panel {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  padding: 2.5rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  background-image:
    radial-gradient(circle at 100% 0%, rgba(123, 75, 138, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 0% 100%, rgba(107, 123, 60, 0.1) 0%, transparent 40%);
}

.ingredient-list {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.ingredient-list li {
  padding: 0.4rem 0.9rem;
  background: rgba(45, 80, 22, 0.08);
  color: var(--color-primary);
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 999px;
  border: 1px solid rgba(45, 80, 22, 0.15);
}

.ingredient-aside {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}

.info-chip {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 1rem 1.25rem;
  background: var(--color-background);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
}

.info-chip strong {
  display: block;
  font-size: 0.8rem;
  color: var(--color-muted);
  font-weight: 500;
}

.info-chip span {
  font-size: 1rem;
  color: var(--color-primary-dark);
  font-weight: 600;
}

/* CTA */
.cta-box {
  text-align: center;
  padding: 3rem 2rem;
  background: var(--color-primary);
  color: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  background-image:
    radial-gradient(circle at 10% 20%, rgba(196, 30, 58, 0.3) 0%, transparent 35%),
    radial-gradient(circle at 90% 80%, rgba(123, 75, 138, 0.25) 0%, transparent 35%);
}

.cta-box h2 {
  color: #fff;
  margin-bottom: 0.75rem;
}

.cta-box p {
  margin: 0 0 1.5rem;
  opacity: 0.9;
  max-width: 480px;
  margin-inline: auto;
}

/* Footer */
.site-footer {
  padding: 2rem 0;
  border-top: 1px solid var(--color-border);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.875rem;
  color: var(--color-muted);
}

.footer-inner a {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: none;
}

.footer-inner a:hover {
  text-decoration: underline;
}

/* WhatsApp FAB */
.whatsapp-fab {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 150;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: var(--color-whatsapp);
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
}

.whatsapp-fab svg {
  width: 28px;
  height: 28px;
}

.whatsapp-fab:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.6);
}

.whatsapp-fab:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 3px;
}

/* Responsive */
@media (max-width: 900px) {
  .header-banner,
  .header-banner img {
    max-height: min(40vh, 360px);
    height: min(40vh, 360px);
  }

  .header-banner-caption {
    bottom: 1.25rem;
  }

  .split-section,
  .ingredient-panel {
    grid-template-columns: 1fr;
  }

  .product-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-inline: auto;
  }

  .header-cta .btn span:not(.icon) {
    display: none;
  }

  .header-cta {
    padding: 0.65rem 1rem;
  }
}

@media (max-width: 600px) {
  .section {
    padding: 3rem 0;
  }

  .brand-tagline {
    display: none;
  }

  .ingredient-panel {
    padding: 1.5rem;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}
