/* ==========================================================================
   Padoca da Nath — folha de estilo principal
   ========================================================================== */

:root {
  --berry: #b22c5f;
  --berry-dark: #7a1e42;
  --berry-light: #f6e3ea;
  --cream: #fbf3e9;
  --cream-soft: #fffaf3;
  --brown: #3d2b22;
  --brown-soft: #6b5a4e;
  --gold: #d99a3d;
  --green: #6f8f52;
  --white: #ffffff;
  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px rgba(61, 43, 34, 0.09);
  --shadow-sm: 0 4px 14px rgba(61, 43, 34, 0.08);
  --max-width: 1140px;
  --font-head: "Fraunces", Georgia, serif;
  --font-body: "Nunito Sans", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--brown);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 0.5em;
  color: var(--berry-dark);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1em; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 72px 0;
}

.section-tag {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 10px;
}

.section-head {
  max-width: 640px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-head p {
  color: var(--brown-soft);
  font-size: 1.05rem;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}

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

.btn-primary {
  background: var(--berry);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--berry-dark); }

.btn-whatsapp {
  background: #25d366;
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn-whatsapp:hover { background: #1eb257; }

.btn-outline {
  background: transparent;
  border-color: var(--berry);
  color: var(--berry);
}
.btn-outline:hover { background: var(--berry); color: var(--white); }

.btn-block { width: 100%; justify-content: center; }

.btn svg { width: 18px; height: 18px; flex: none; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 243, 233, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(61, 43, 34, 0.08);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--berry-dark);
}

.brand .logo-mark {
  width: 46px;
  height: 46px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand .logo-mark svg,
.brand .logo-mark img { width: 100%; height: 100%; object-fit: contain; }

/* The footer sits on a dark background — invert the (black-on-transparent)
   logo mark so its lines read as light instead of disappearing. */
.footer-brand .logo-mark img { filter: invert(1) brightness(1.6); }

.social-links { display: flex; gap: 10px; margin-top: 16px; }
.social-links a {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s ease;
}
.social-links a:hover { background: rgba(255,255,255,0.2); }
.social-links a svg { width: 18px; height: 18px; color: var(--white); }

.brand small {
  display: block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
}

.main-nav a:not(.btn) {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--brown);
  position: relative;
  padding: 6px 0;
}

.main-nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0;
  height: 2px;
  background: var(--berry);
  transition: width 0.2s ease;
}

.main-nav a:not(.btn):hover::after,
.main-nav a.active::after {
  width: 100%;
}

.main-nav a.active { color: var(--berry-dark); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle svg { width: 28px; height: 28px; color: var(--berry-dark); }

@media (max-width: 860px) {
  .main-nav {
    position: fixed;
    top: 84px;
    left: 0;
    right: 0;
    /* Height is set explicitly (not via inset/bottom) because .site-header uses
       backdrop-filter, which makes it the containing block for this fixed nav —
       relying on "bottom: 0" there collapses the box to ~0 height. */
    height: calc(100vh - 84px);
    background: var(--cream-soft);
    flex-direction: column;
    align-items: stretch;
    padding: 24px;
    gap: 20px;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.2s ease, opacity 0.2s ease, visibility 0.2s;
    overflow-y: auto;
  }
  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .main-nav ul {
    flex-direction: column;
    gap: 4px;
    text-align: center;
  }
  .main-nav ul a { display: block; padding: 14px 0; font-size: 1.1rem; }
  .main-nav .btn { justify-content: center; }
  .nav-toggle { display: block; }
}

/* ---------- Hero ---------- */

.hero {
  padding: 64px 0 40px;
  position: relative;
  overflow: hidden;
}

.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero-copy .section-tag { display: inline-block; }

.hero-copy p.lead {
  font-size: 1.15rem;
  color: var(--brown-soft);
  max-width: 46ch;
}

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

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--berry-dark);
  box-shadow: var(--shadow-sm);
}

.badge svg { width: 16px; height: 16px; color: var(--green); }

.hero-art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-art .art-circle {
  width: min(420px, 100%);
  aspect-ratio: 1;
  border-radius: 50%;
  background: linear-gradient(150deg, var(--berry-light), var(--cream-soft));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
}

.hero-art .art-circle svg { width: 62%; height: 62%; color: var(--berry); }

.art-circle.photo { overflow: hidden; }
.art-circle.photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

@media (max-width: 860px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .hero-art .art-circle { width: min(260px, 70%); margin: 0 auto; }
}

/* ---------- Values ---------- */

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.value-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 30px 24px;
  box-shadow: var(--shadow-sm);
  text-align: left;
}

.value-card .icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--berry-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.value-card .icon svg { width: 24px; height: 24px; color: var(--berry); }

.value-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.value-card p { color: var(--brown-soft); font-size: 0.95rem; margin: 0; }

@media (max-width: 960px) {
  .values-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .values-grid { grid-template-columns: 1fr; }
}

/* ---------- Category / Menu cards ---------- */

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.category-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  display: flex;
  flex-direction: column;
}

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

.category-card .photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.category-card .card-text {
  padding: 18px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.category-card h3 { margin-bottom: 0; font-size: 1.05rem; }
.category-card span.link {
  margin-top: auto;
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--berry);
}

@media (max-width: 960px) { .category-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .category-grid { grid-template-columns: 1fr; } }

/* ---------- Process ---------- */

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  counter-reset: step;
}

.process-step {
  position: relative;
  padding: 32px 24px 24px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.process-step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: -18px;
  left: 24px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--berry);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 860px) { .process-grid { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */

.cta-band {
  background: var(--berry);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 56px 40px;
  text-align: center;
}

.cta-band h2 { color: var(--white); }
.cta-band p { color: rgba(255,255,255,0.85); max-width: 52ch; margin-left: auto; margin-right: auto; }
.cta-band .btn-primary { background: var(--white); color: var(--berry-dark); }
.cta-band .btn-primary:hover { background: var(--cream); }

/* ---------- Menu page ---------- */

.menu-nav {
  position: sticky;
  top: 84px;
  z-index: 40;
  background: var(--cream-soft);
  border-bottom: 1px solid rgba(61,43,34,0.08);
  overflow-x: auto;
  white-space: nowrap;
  padding: 14px 0;
}

.menu-nav .container { display: flex; gap: 10px; }

.menu-nav a {
  flex: none;
  font-size: 0.85rem;
  font-weight: 800;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--white);
  color: var(--brown);
  box-shadow: var(--shadow-sm);
}

.menu-nav a:hover, .menu-nav a.active { background: var(--berry); color: var(--white); }

.menu-category {
  padding: 56px 0;
  border-bottom: 1px solid rgba(61,43,34,0.08);
  scroll-margin-top: 150px;
}

.menu-category:last-of-type { border-bottom: none; }

.menu-category-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.menu-category-head .icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--berry-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.menu-category-head .icon svg { width: 28px; height: 28px; color: var(--berry); }

.menu-category-title { display: flex; gap: 16px; align-items: center; }
.menu-category-title h2 { margin-bottom: 4px; }
.menu-category-title p { margin: 0; color: var(--brown-soft); font-size: 0.92rem; }

.menu-note {
  background: var(--cream);
  border-left: 4px solid var(--gold);
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  color: var(--brown-soft);
  margin-bottom: 24px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

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

.product-card .photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--cream);
  display: block;
}

.product-card .photo-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-card .photo-placeholder svg { width: 34%; height: 34%; color: var(--gold); opacity: 0.7; }

.product-card .card-body {
  padding: 16px 18px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex: 1;
}

.product-card .card-text { min-width: 0; }

.product-card h4 {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.98rem;
  margin: 0 0 6px;
  color: var(--brown);
  line-height: 1.3;
}

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.product-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--berry-light);
  color: var(--berry-dark);
  white-space: nowrap;
}
.product-tag.vegano { background: #e7efdd; color: var(--green); }

.product-card a.order-link {
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-card a.order-link svg { width: 18px; height: 18px; color: var(--white); }

@media (max-width: 1080px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .product-grid { grid-template-columns: 1fr; } }

.gift-block {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 40px;
  text-align: center;
}
.gift-block p { color: var(--brown-soft); max-width: 52ch; margin-left: auto; margin-right: auto; }

/* ---------- About page ---------- */

.about-hero {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
}

.about-quote {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 40px;
  position: relative;
}

.about-quote::before {
  content: "\201C";
  font-family: var(--font-head);
  font-size: 5rem;
  color: var(--berry-light);
  position: absolute;
  top: 6px; left: 20px;
  line-height: 1;
}

.about-quote p {
  position: relative;
  font-family: var(--font-head);
  font-size: 1.2rem;
  color: var(--brown);
  font-style: italic;
}

.about-quote cite {
  display: block;
  margin-top: 16px;
  font-style: normal;
  font-weight: 800;
  color: var(--berry);
  font-size: 0.9rem;
}

@media (max-width: 860px) { .about-hero { grid-template-columns: 1fr; } }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }

/* ---------- Contact page ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
}
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 32px;
}

.contact-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 20px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list .icon {
  width: 42px; height: 42px; border-radius: 12px; flex: none;
  background: var(--berry-light); display: flex; align-items: center; justify-content: center;
}
.contact-list .icon svg { width: 22px; height: 22px; color: var(--berry); }
.contact-list h4 { margin: 0 0 4px; font-family: var(--font-body); font-size: 1rem; }
.contact-list p { margin: 0; color: var(--brown-soft); font-size: 0.92rem; }

.faq-item { border-bottom: 1px solid rgba(61,43,34,0.1); padding: 18px 0; }
.faq-item h4 { margin: 0 0 6px; font-size: 1rem; }
.faq-item p { margin: 0; color: var(--brown-soft); font-size: 0.92rem; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--brown);
  color: rgba(255,255,255,0.85);
  padding: 56px 0 24px;
  margin-top: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.footer-grid h4 {
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  font-family: var(--font-body);
  font-weight: 800;
  margin-bottom: 16px;
}

.footer-brand .brand { color: var(--white); margin-bottom: 12px; }
.footer-brand p { color: rgba(255,255,255,0.65); font-size: 0.9rem; max-width: 34ch; }

.footer-grid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-grid a { font-size: 0.92rem; color: rgba(255,255,255,0.8); }
.footer-grid a:hover { color: var(--white); }

.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
}

@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* ---------- WhatsApp floating button ---------- */

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  transition: transform 0.15s ease;
}
.whatsapp-float:hover { transform: scale(1.07); }
.whatsapp-float svg { width: 30px; height: 30px; color: var(--white); }

/* ---------- Page hero (inner pages) ---------- */

.page-hero {
  padding: 56px 0 16px;
  text-align: center;
}
.page-hero .section-head { margin-bottom: 0; }

/* ---------- Utilities ---------- */

.mt-lg { margin-top: 48px; }
.text-center { text-align: center; }
