/* ============================================================
   La Floricultura — Brand CSS
   Cores: #d9d5c8 bege · #010101 preto · #56314d roxo · #3b5940 verde
   Fontes: Orpheus Pro (títulos) · KyivTypeSans (textos corridos)
   ============================================================ */

/* ---------- Fonts: Orpheus Pro ---------- */
@font-face {
  font-family: 'Orpheus Pro';
  src: url('../fontes/Orpheus_Pro/Orpheus Pro/Orpheus Pro.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Orpheus Pro';
  src: url('../fontes/Orpheus_Pro/Orpheus Pro/Orpheus Pro Italic.otf') format('opentype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Orpheus Pro';
  src: url('../fontes/Orpheus_Pro/Orpheus Pro/Orpheus Pro Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Orpheus Pro';
  src: url('../fontes/Orpheus_Pro/Orpheus Pro/Orpheus Pro Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- Fonts: KyivTypeSans ---------- */
@font-face {
  font-family: 'KyivTypeSans';
  src: url('../fontes/kyiv-type-sans/KyivTypeSans-Light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'KyivTypeSans';
  src: url('../fontes/kyiv-type-sans/KyivTypeSans-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'KyivTypeSans';
  src: url('../fontes/kyiv-type-sans/KyivTypeSans-Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'KyivTypeSans';
  src: url('../fontes/kyiv-type-sans/KyivTypeSans-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- CSS Variables ---------- */
:root {
  --color-bege:  #d9d5c8;
  --color-preto: #010101;
  --color-roxo:  #56314d;
  --color-verde: #3b5940;
  --font-heading: 'Orpheus Pro', Georgia, 'Times New Roman', serif;
  --font-body:    'KyivTypeSans', Arial, sans-serif;
  --delivery-h:   36px;
  --nav-h:        88px;
  --header-h:     124px; /* delivery + nav, overridden by JS */
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }

body {
  background-color: var(--color-bege);
  color: var(--color-preto);
  font-family: var(--font-body);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
}

/* Tailwind .font-serif / .font-sans overrides */
.font-serif { font-family: var(--font-heading) !important; }
.font-sans  { font-family: var(--font-body)    !important; }

/* ---------- Delivery Ticker ---------- */
.delivery-ticker {
  background-color: var(--color-verde);
  color: #fff;
  height: var(--delivery-h);
  overflow: hidden;
  display: flex;
  align-items: center;
  position: relative;
}

.delivery-ticker-track {
  display: flex;
  white-space: nowrap;
  animation: ticker-scroll 50s linear infinite;
  will-change: transform;
}
.delivery-ticker-track:hover {
  animation-play-state: paused;
}
.delivery-ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 40px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.delivery-ticker-sep { opacity: 0.4; }

@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-33.333%); }
}

/* ---------- Site Header ---------- */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  background-color: var(--color-bege);
  border-bottom: 1px solid rgba(1,1,1,0.1);
  box-shadow: 0 1px 6px rgba(1,1,1,0.06);
}
#site-header nav {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 24px;
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
}
.logo-header {
  height: 52px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}
#site-mobile-menu {
  display: none;
  background-color: var(--color-bege);
  border-top: 1px solid rgba(1,1,1,0.08);
  padding: 12px 24px 16px;
}
#site-mobile-menu a {
  display: block;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--color-preto);
  padding: 7px 0;
  text-decoration: none;
  border-bottom: 1px solid rgba(1,1,1,0.05);
}
#site-mobile-menu a:last-child { border-bottom: none; }

/* ---------- Hero (full-viewport) ---------- */
.hero-section {
  display: block;
  width: 100%;
  height: calc(100dvh - var(--header-h, 124px));
  max-height: calc(100vh - var(--header-h, 124px));
  overflow: hidden;
}
.hero-section > .hero-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Mobile: reduce gap between hero and first section */
@media (max-width: 639px) {
  #produtos {
    padding-top: 8px !important;
  }
}

/* ---------- Footer Pattern Band ---------- */
.footer-pattern-band {
  background-color: #010101;
  background-image: url('../images-hero/copa-branca.png');
  background-repeat: repeat-x;
  background-size: auto 220px;   /* zoom: tile larger than the band height */
  background-position: center center;
  height: 160px;
  width: 100%;
}

/* ---------- Cart & Order Bump ---------- */
.order-bump-box {
  background-color: rgba(59, 89, 64, 0.07) !important;
  border-color: var(--color-verde) !important;
}
.order-bump-badge {
  background-color: var(--color-verde) !important;
  color: #fff !important;
}

/* ---------- WhatsApp float ---------- */
@keyframes pulse-whatsapp {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.08); }
}
.whatsapp-button {
  animation: pulse-whatsapp 2.5s ease-in-out infinite;
}
.whatsapp-button:hover { animation: none; }

/* ---------- Tailwind color overrides for brand ---------- */
/* Ensures .bg-bege uses brand bege */
.bg-bege       { background-color: var(--color-bege) !important; }
.bg-bege-dark  { background-color: #d5c89e            !important; }
.bg-text-dark  { background-color: var(--color-preto) !important; }
.text-bege     { color: var(--color-bege)             !important; }
.text-text-dark{ color: var(--color-preto)            !important; }
.border-text-dark { border-color: var(--color-preto)  !important; }

/* Verde brand */
.bg-verde      { background-color: var(--color-verde) !important; }
.text-verde    { color: var(--color-verde)  !important; }

/* Roxo brand */
.bg-roxo       { background-color: var(--color-roxo)  !important; }
.text-roxo     { color: var(--color-roxo)   !important; }
