/*
Theme Name: Maria Usula Ferreira Tavares
Theme URI: https://mariausulaferreiratavares.site
Author: MARIA USULA FERREIRA TAVARES
Author URI: https://mariausulaferreiratavares.site
Description: Tema WordPress profissional e culturalmente rico, inspirado na Amazônia, para a empresa 64.847.417 MARIA USULA FERREIRA TAVARES — Comércio varejista de bebidas em Macapá-AP. Cores vibrantes, padrões marajoaras e elementos da floresta amazônica.
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: maria-usula
Tags: business, custom-colors, custom-menu, custom-logo, featured-images, full-width-template, responsive-layout, threaded-comments, translation-ready
*/

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Poppins', 'Segoe UI', Tahoma, sans-serif;
  line-height: 1.7;
  color: #2b2b2b;
  background: #fffdf7;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #006400; text-decoration: none; transition: color .25s ease; }
a:hover { color: #009C3B; }

/* ============================================
   AMAZON CULTURAL THEME — VARIABLES
   ============================================ */
:root {
  --green-deep: #006400;
  --green-vibrant: #009C3B;
  --yellow-gold: #FFDF00;
  --orange-warm: #D2691E;
  --terracotta: #B8531A;
  --beige: #F5E9D4;
  --white: #ffffff;
  --ink: #1f2a1f;
  --whatsapp: #25D366;
}

/* Marajoara-inspired pattern (subtle SVG background) */
.marajoara-bg {
  background-color: var(--beige);
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'><g fill='none' stroke='%23006400' stroke-width='1.2' opacity='0.18'><path d='M0 40h80M40 0v80'/><circle cx='40' cy='40' r='14'/><path d='M20 20l40 40M60 20L20 60'/><rect x='30' y='30' width='20' height='20'/></g></svg>");
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', 'Georgia', serif;
  color: var(--green-deep);
  line-height: 1.25;
  margin-bottom: .6em;
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.4rem; }
p { margin-bottom: 1em; }

/* ============================================
   LAYOUT
   ============================================ */
.container { width: min(1200px, 92%); margin: 0 auto; }
section { padding: 80px 0; position: relative; }
.section-title {
  text-align: center;
  margin-bottom: 50px;
  position: relative;
}
.section-title::after {
  content: '';
  display: block;
  width: 90px;
  height: 4px;
  margin: 16px auto 0;
  background: linear-gradient(90deg, var(--green-vibrant), var(--yellow-gold), var(--orange-warm));
  border-radius: 2px;
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(10px);
  border-bottom: 3px solid var(--green-vibrant);
  box-shadow: 0 2px 12px rgba(0,100,0,0.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}
.site-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--green-deep);
}
.site-brand .leaf {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, var(--green-vibrant), var(--green-deep));
  border-radius: 50% 0 50% 50%;
  transform: rotate(-30deg);
  box-shadow: 0 4px 10px rgba(0,156,59,0.35);
}
.brand-text small { display: block; font-family: 'Poppins', sans-serif; font-weight: 400; font-size: .72rem; color: var(--orange-warm); letter-spacing: 1px; }

/* Nav */
.main-nav ul { list-style: none; display: flex; gap: 6px; }
.main-nav a {
  display: inline-block;
  padding: 10px 16px;
  font-weight: 500;
  color: var(--ink);
  border-radius: 30px;
  transition: all .25s ease;
}
.main-nav a:hover, .main-nav .current-menu-item > a {
  background: var(--green-vibrant);
  color: #fff;
}

/* Mobile toggle */
.menu-toggle {
  display: none;
  background: var(--green-deep);
  color: #fff;
  border: 0;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 1.2rem;
  cursor: pointer;
}

@media (max-width: 860px) {
  .menu-toggle { display: inline-block; }
  .main-nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: #fff;
    border-bottom: 3px solid var(--green-vibrant);
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
  }
  .main-nav.open { max-height: 500px; }
  .main-nav ul { flex-direction: column; padding: 12px; gap: 4px; }
  .main-nav a { display: block; padding: 12px 16px; }
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  text-align: center;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(0,60,0,.78), rgba(0,100,0,.62), rgba(210,105,30,.45)),
    url('https://images.unsplash.com/photo-1518495973542-4542c06a5843?w=1920&q=80') center/cover no-repeat;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'><g fill='none' stroke='%23FFDF00' stroke-width='1.4' opacity='0.18'><path d='M60 10l10 20-10 10-10-10z'/><path d='M10 60l20 10 10-10-10-10z'/><path d='M110 60l-20 10-10-10 10-10z'/><path d='M60 110l10-20-10-10-10 10z'/><circle cx='60' cy='60' r='18'/></g></svg>");
  opacity: .55;
  pointer-events: none;
}
.hero-content { position: relative; z-index: 2; padding: 40px 0; }
.hero h1 {
  color: #fff;
  text-shadow: 0 4px 20px rgba(0,0,0,0.45);
}
.hero h1 span {
  display: block;
  color: var(--yellow-gold);
  font-size: .55em;
  letter-spacing: 6px;
  text-transform: uppercase;
  margin-bottom: 12px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
}
.hero p.lead {
  font-size: 1.2rem;
  max-width: 720px;
  margin: 0 auto 32px;
  color: #fdfdfd;
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--whatsapp);
  color: #fff;
  padding: 16px 34px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.05rem;
  box-shadow: 0 10px 30px rgba(37,211,102,0.45);
  transition: transform .25s ease, box-shadow .25s ease;
}
.hero-cta:hover { transform: translateY(-3px); box-shadow: 0 14px 38px rgba(37,211,102,0.6); color: #fff; }

/* ============================================
   SPECIALTIES GRID
   ============================================ */
.specialties { background: var(--beige); }
.spec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.spec-card {
  background: #fff;
  border-radius: 18px;
  padding: 32px 22px;
  text-align: center;
  border-top: 5px solid var(--green-vibrant);
  box-shadow: 0 8px 22px rgba(0,0,0,.06);
  transition: transform .3s ease, box-shadow .3s ease;
  position: relative;
  overflow: hidden;
}
.spec-card:nth-child(2n) { border-top-color: var(--orange-warm); }
.spec-card:nth-child(3n) { border-top-color: var(--yellow-gold); }
.spec-card:hover { transform: translateY(-6px); box-shadow: 0 16px 36px rgba(0,0,0,.12); }
.spec-icon {
  width: 70px; height: 70px;
  margin: 0 auto 16px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--green-vibrant), var(--green-deep));
  color: #fff;
  border-radius: 50%;
  font-size: 1.8rem;
  box-shadow: 0 8px 20px rgba(0,156,59,.3);
}
.spec-card h3 { color: var(--green-deep); font-size: 1.2rem; margin-bottom: 8px; }
.spec-card p { color: #555; font-size: .95rem; margin: 0; }

/* ============================================
   ABOUT / MISSION
   ============================================ */
.about, .mission { background: #fff; }
.mission { background: linear-gradient(135deg, #f8fbf2, #fff8e6); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } }
.about-image {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,100,0,.25);
  border: 6px solid var(--yellow-gold);
}
.about-text p { font-size: 1.05rem; color: #444; }

/* ============================================
   FLOATING WHATSAPP
   ============================================ */
.whatsapp-float {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 62px; height: 62px;
  background: var(--whatsapp);
  color: #fff;
  border-radius: 50%;
  display: grid; place-items: center;
  box-shadow: 0 10px 28px rgba(37,211,102,.55);
  z-index: 999;
  animation: pulse 2s infinite;
}
.whatsapp-float svg { width: 32px; height: 32px; fill: #fff; }
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: linear-gradient(135deg, #003200, #006400);
  color: #f1f1f1;
  padding: 60px 0 24px;
  position: relative;
}
.site-footer::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 6px;
  background: linear-gradient(90deg, var(--green-vibrant), var(--yellow-gold), var(--orange-warm), var(--green-vibrant));
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
  margin-bottom: 32px;
}
.footer-grid h4 { color: var(--yellow-gold); margin-bottom: 14px; }
.footer-grid a { color: #f1f1f1; }
.footer-grid a:hover { color: var(--yellow-gold); }
.social-icons { display: flex; gap: 12px; margin-top: 12px; }
.social-icons a {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  background: rgba(255,255,255,.1);
  border-radius: 50%;
  transition: background .25s ease, transform .25s ease;
}
.social-icons a:hover { background: var(--yellow-gold); color: var(--green-deep); transform: translateY(-3px); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.15);
  padding-top: 22px;
  font-size: .82rem;
  text-align: center;
  line-height: 1.8;
  color: #e8e8e8;
}

/* ============================================
   PAGE CONTENT
   ============================================ */
.page-hero {
  background: linear-gradient(135deg, var(--green-deep), var(--green-vibrant));
  color: #fff;
  padding: 100px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'><g fill='none' stroke='%23FFDF00' stroke-width='1' opacity='0.2'><path d='M50 10l8 16-8 8-8-8z'/><circle cx='50' cy='50' r='15'/></g></svg>");
  opacity: .3;
}
.page-hero h1 { color: #fff; position: relative; z-index: 1; }
.page-hero p { position: relative; z-index: 1; opacity: .95; }

.page-content {
  padding: 70px 0;
  max-width: 900px;
  margin: 0 auto;
}
.page-content h2 { margin-top: 1.5em; }
.page-content p { font-size: 1.05rem; color: #444; }
.page-content ul { padding-left: 22px; margin-bottom: 1em; }
.page-content li { margin-bottom: 8px; }

/* ============================================
   CONTACT FORM
   ============================================ */
.contact-form {
  background: #fff;
  padding: 40px;
  border-radius: 18px;
  box-shadow: 0 16px 40px rgba(0,0,0,.08);
  border-top: 5px solid var(--green-vibrant);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.contact-form label { display: block; margin-bottom: 6px; font-weight: 500; color: var(--green-deep); }
.contact-form input, .contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid #e2e8d4;
  border-radius: 10px;
  font: inherit;
  margin-bottom: 16px;
  transition: border-color .2s ease;
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none;
  border-color: var(--green-vibrant);
}
.contact-form button {
  background: var(--green-vibrant);
  color: #fff;
  border: 0;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 700;
  cursor: pointer;
  font-size: 1rem;
  transition: background .25s ease, transform .25s ease;
}
.contact-form button:hover { background: var(--green-deep); transform: translateY(-2px); }

/* ============================================
   PRODUCTS GRID
   ============================================ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 26px;
  margin-top: 30px;
}
.product-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(0,0,0,.08);
  transition: transform .3s ease;
}
.product-card:hover { transform: translateY(-6px); }
.product-card img { width: 100%; height: 200px; object-fit: cover; }
.product-card .body { padding: 20px; }
.product-card h3 { color: var(--green-deep); margin-bottom: 8px; }
.product-card p { color: #555; font-size: .95rem; margin-bottom: 14px; }
.product-card .btn {
  display: inline-block;
  background: var(--green-vibrant);
  color: #fff;
  padding: 8px 18px;
  border-radius: 30px;
  font-weight: 600;
  font-size: .9rem;
}
.product-card .btn:hover { background: var(--green-deep); color: #fff; }
