/* ============================================
   0. Design Tokens
   ============================================ */
:root {
  --italian-green: #4a9b3e;
  --italian-green-dark: #2d6b27;
  --italian-red: #c8312b;
  --italian-cream: #faf7f0;

  --color-text: #1d2a1f;
  --color-text-muted: #56615a;
  --color-white: #ffffff;
  --color-border: #e3e8e2;
  --color-input: #f6f2e8;

  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;

  --space-1: 0.5rem;
  --space-2: 0.75rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2rem;
  --space-6: 2.5rem;
  --space-7: 3.5rem;
  --space-8: 5rem;

  --radius-md: 14px;
  --radius-lg: 18px;
  --radius-xl: 3rem;

  --shadow-sm: 0 2px 10px rgba(0,0,0,0.06);
  --shadow-md: 0 12px 32px rgba(0,0,0,0.10);
  --shadow-lg: 0 24px 60px rgba(0,0,0,0.20);

  --container-max: 1180px;
  --header-h: 80px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
address { font-style: normal; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-4);
}
.section { padding: var(--space-8) 0; }
.section--cream { background: var(--italian-cream); }
.section--green { background: var(--italian-green-dark); color: var(--color-white); }

h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.15; }
h2 { font-size: 2.25rem; color: var(--italian-green-dark); }
p { color: var(--color-text-muted); }

.eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--italian-red);
  margin-bottom: var(--space-1);
}
.eyebrow--light { color: rgba(255,255,255,0.85); }

.title-line {
  display: block;
  width: 64px;
  height: 3px;
  background: var(--italian-red);
  margin: var(--space-3) 0 var(--space-5);
  transform-origin: left center;
}
.title-line--center { margin-left: auto; margin-right: auto; transform-origin: center; }

.section-header { max-width: 680px; margin: 0 auto; text-align: center; }
.section-header .eyebrow { display: block; }
.section-header p { font-size: 0.95rem; margin-bottom: var(--space-3); }
.section-header p:last-child { margin-bottom: 0; }

/* ============================================
   1. Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.95rem 1.8rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: transform 0.15s ease, background 0.25s ease, box-shadow 0.25s ease;
}
.btn:active { transform: scale(0.98); }
.btn--green { background: var(--italian-green); color: var(--color-white); }
.btn--green:hover { background: var(--italian-green-dark); box-shadow: 0 8px 20px rgba(45,107,39,0.25); }
.btn--block { width: 100%; }

/* ============================================
   2. Header
   ============================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}
/* blur num pseudo-elemento: backdrop-filter no .header prenderia o menu mobile (position: fixed) */
.header::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}
.brand__logo { height: 56px; width: auto; }

.nav { display: none; align-items: center; gap: var(--space-5); }
.nav a {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-text);
  position: relative;
  padding: 4px 0;
  transition: color 0.2s ease;
}
.nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 2px;
  background: var(--italian-green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease-out);
}
.nav a:hover { color: var(--italian-green); }
.nav a:hover::after { transform: scaleX(1); }

.header__contact { display: none; align-items: center; gap: var(--space-3); }
.header__phone {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-size: 0.85rem; font-weight: 600; color: var(--color-text);
  transition: color 0.2s ease;
}
.header__phone svg { width: 16px; height: 16px; color: var(--italian-green); }
.header__phone:hover { color: var(--italian-green); }
.header__wa {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--italian-green); color: var(--color-white);
  transition: background 0.25s ease, transform 0.25s ease;
}
.header__wa:hover { background: var(--italian-green-dark); transform: translateY(-2px); }
.header__wa svg { width: 22px; height: 22px; }

.nav-toggle { display: flex; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--color-text); transition: transform 0.2s ease, opacity 0.2s ease; }
.nav-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-active span:nth-child(2) { opacity: 0; }
.nav-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: var(--color-white);
  z-index: 99;
  padding: var(--space-5) var(--space-4);
  display: none;
  flex-direction: column;
  gap: var(--space-4);
}
.mobile-menu.is-open { display: flex; }
.mobile-menu a:not(.btn) { font-size: 1.05rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }

@media (min-width: 900px) {
  .nav { display: flex; }
  .header__contact { display: flex; }
  .nav-toggle { display: none; }
}

/* ============================================
   3. Hero
   ============================================ */
.hero { position: relative; padding: 0; }
.hero__media {
  position: relative;
  height: 56vh;
  min-height: 384px;
  overflow: hidden;
  background: #2b2a26;
}
.hero__image {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero__overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.35); }
.hero__content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 var(--space-4);
}
.hero__logo {
  height: 80px; width: auto;
  margin-bottom: var(--space-1);
  filter: drop-shadow(0 8px 16px rgba(0,0,0,0.3));
}
.hero__heading { display: flex; flex-direction: column; align-items: center; margin-bottom: var(--space-4); }
.hero__title {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  color: var(--color-white);
  font-size: 3rem;
  margin-bottom: 0.75rem;
  text-shadow: 0 6px 24px rgba(0,0,0,0.35);
}
.hero__sub {
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.5;
  color: rgba(255,255,255,0.95);
  font-size: 1.125rem;
  font-style: italic;
  letter-spacing: 0.03em;
  text-shadow: 0 2px 8px rgba(0,0,0,0.35);
}
.hero__line { display: block; width: 96px; height: 4px; background: var(--italian-red); }

.wave-divider {
  height: 12px;
  background: var(--italian-green);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 10' preserveAspectRatio='none'><path d='M0,0 L100,0 L100,5 Q95,10 90,5 T80,5 T70,5 T60,5 T50,5 T40,5 T30,5 T20,5 T10,5 T0,5 Z' fill='black'/></svg>") repeat-x 0 0 / 60px 100%;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 10' preserveAspectRatio='none'><path d='M0,0 L100,0 L100,5 Q95,10 90,5 T80,5 T70,5 T60,5 T50,5 T40,5 T30,5 T20,5 T10,5 T0,5 Z' fill='black'/></svg>") repeat-x 0 0 / 60px 100%;
  position: relative;
  z-index: 3;
  margin-top: -1px;
}

@media (min-width: 768px) {
  .hero__logo { height: 96px; }
  .hero__title { font-size: 4.5rem; }
  .hero__sub { font-size: 1.25rem; }
}
@media (min-width: 1024px) {
  .hero__title { font-size: 6rem; }
}

/* ============================================
   4. Nossa História
   ============================================ */
.story__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-7);
  align-items: center;
}
.story__text h2 { font-size: 2.25rem; }
.story__text p { font-size: 0.95rem; margin-bottom: var(--space-3); }
.story__text p:last-child { margin-bottom: 0; }

.story__media {
  position: relative;
  max-width: 460px;
  width: 100%;
  margin: 0 auto;
  order: -1;
}
.story__backdrop {
  position: absolute;
  inset: -16px;
  background: rgba(74,155,62,0.15);
  border-radius: var(--radius-xl);
  transform: rotate(3deg);
}
.story__frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 4px solid var(--color-white);
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
}
.story__image { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.story__badge {
  position: absolute;
  right: -16px;
  bottom: -16px;
  background: var(--italian-red);
  color: var(--color-white);
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.18);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  z-index: 2;
}

@media (min-width: 900px) {
  .story__grid { grid-template-columns: 1fr 1fr; gap: var(--space-8); }
  .story__media { order: 0; max-width: none; }
  .story__text h2 { font-size: 3rem; }
}

/* ============================================
   5. Catálogo
   ============================================ */
.section--green h2 { color: var(--color-white); }
.section--green .section-header p { color: rgba(255,255,255,0.92); }
.catalog { max-width: 1100px; }

.products {
  margin-top: var(--space-7);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
}
@media (min-width: 768px) {
  .products { grid-template-columns: repeat(3, 1fr); gap: var(--space-5); }
  .section--green h2 { font-size: 3rem; }
}
.product {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 4px solid rgba(255,255,255,0.9);
  background: var(--color-white);
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.25);
}
.product img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out);
}
.product:hover img { transform: scale(1.05); }

/* ============================================
   6. Contato
   ============================================ */
#contato h2 { font-size: 2.25rem; }
@media (min-width: 768px) { #contato h2 { font-size: 3rem; } }

.contact__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  margin-top: var(--space-2);
}
@media (min-width: 900px) { .contact__grid { grid-template-columns: 1fr 1fr; gap: var(--space-6); } }

.contact-form {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
  padding: var(--space-5) var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
@media (min-width: 640px) { .contact-form { padding: var(--space-5) 1.75rem; } }
.contact-form__note { font-size: 0.72rem; color: var(--color-text-muted); }
.contact-form input,
.contact-form textarea {
  width: 100%;
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--color-text);
  background: var(--color-input);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 0.8rem 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.contact-form textarea { resize: vertical; min-height: 130px; }
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  background: var(--color-white);
  border-color: var(--italian-green);
  box-shadow: 0 0 0 3px rgba(74,155,62,0.15);
}
.contact-form .is-invalid { border-color: var(--italian-red); }
.contact-form__error { font-size: 0.8rem; color: var(--italian-red); }

.contact__info { display: flex; flex-direction: column; gap: var(--space-4); }
.info-card {
  display: flex;
  gap: var(--space-3);
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
  padding: var(--space-4);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}
.info-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(0,0,0,0.10); }
.info-card__icon { width: 20px; height: 20px; flex-shrink: 0; color: var(--italian-red); margin-top: 3px; }
.info-card h3 { font-size: 1.1rem; color: var(--italian-green-dark); margin-bottom: 0.3rem; }
.info-card p, .info-card address { font-size: 0.85rem; color: var(--color-text-muted); line-height: 1.6; }
.info-card--links ul { display: grid; gap: 0.6rem; }
.info-card--links li { display: flex; align-items: center; gap: 0.7rem; font-size: 0.85rem; }
.info-card--links svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--italian-green); }
.info-card--links a { color: var(--color-text); transition: color 0.2s ease; word-break: break-word; }
.info-card--links a:hover { color: var(--italian-green); }

/* ============================================
   7. Footer
   ============================================ */
.footer { background: var(--italian-green-dark); padding: var(--space-4) 0; }
.footer__inner p { font-size: 0.78rem; color: rgba(255,255,255,0.75); text-align: center; }

/* ============================================
   8. WhatsApp flutuante
   ============================================ */
.whatsapp-float {
  position: fixed;
  bottom: 22px; right: 22px;
  width: 56px; height: 56px;
  background: var(--italian-green);
  color: var(--color-white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg);
  z-index: 90;
  animation: wa-pulse 2.8s infinite;
  transition: background 0.25s ease;
}
.whatsapp-float:hover { background: var(--italian-green-dark); }
.whatsapp-float svg { width: 28px; height: 28px; }
@keyframes wa-pulse {
  0%   { box-shadow: var(--shadow-lg), 0 0 0 0 rgba(74,155,62,0.5); }
  70%  { box-shadow: var(--shadow-lg), 0 0 0 16px rgba(74,155,62,0); }
  100% { box-shadow: var(--shadow-lg), 0 0 0 0 rgba(74,155,62,0); }
}

/* ============================================
   9. Movimento — sutil, elegante (alto padrão)
   ============================================ */

/* Hero: aproximação lenta da foto (Ken Burns bem leve) */
@keyframes heroDrift {
  0%   { transform: scale(1.02) translate3d(0, 0, 0); }
  100% { transform: scale(1.09) translate3d(-1.2%, -1%, 0); }
}
.hero__image { animation: heroDrift 26s ease-in-out infinite alternate; will-change: transform; }

/* Hero: entrada em cascata ao carregar */
.hero-in {
  opacity: 0;
  transform: translateY(16px);
  animation: heroIn 1.1s var(--ease-out) forwards;
}
@keyframes heroIn { to { opacity: 1; transform: translateY(0); } }
.hero-in-delay-1 { animation-delay: 0.15s; }
.hero-in-delay-2 { animation-delay: 0.35s; }
.hero-in-delay-3 { animation-delay: 0.55s; }
.hero-in-line {
  transform: scaleX(0);
  animation: lineGrow 1s var(--ease-out) 0.8s forwards;
}
@keyframes lineGrow { to { transform: scaleX(1); } }

/* Moldura verde atrás da foto: respiração lenta */
@keyframes backdropBreath {
  0%   { transform: rotate(3deg) scale(1); }
  50%  { transform: rotate(1.2deg) scale(1.015); }
  100% { transform: rotate(3deg) scale(1); }
}
.story__media.is-visible .story__backdrop { animation: backdropBreath 12s ease-in-out infinite; }

/* Selo "desde 1986": surge depois da foto */
.story__badge { opacity: 0; transform: translateY(10px) scale(0.92); transition: opacity 0.7s var(--ease-out) 0.6s, transform 0.7s var(--ease-out) 0.6s; }
.story__media.is-visible .story__badge { opacity: 1; transform: none; }

/* Linha vermelha dos títulos cresce ao aparecer */
.reveal .title-line { transform: scaleX(0); transition: transform 0.9s var(--ease-out) 0.25s; }
.reveal.is-visible .title-line { transform: scaleX(1); }

/* Revelação ao rolar */
.reveal {
  opacity: 0;
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
  will-change: transform, opacity;
}
.reveal-up { transform: translateY(24px); }
.reveal-left { transform: translateX(-28px); }
.reveal-right { transform: translateX(28px); }
.reveal.is-visible { opacity: 1; transform: translate(0, 0); }
.reveal-delay-1.is-visible { transition-delay: 0.12s; }
.reveal-delay-2.is-visible { transition-delay: 0.24s; }

/* Produtos: a foto entra com leve zoom-out dentro da moldura */
.product.reveal img { transform: scale(1.08); }
.product.reveal.is-visible img { transform: scale(1); }
.product.reveal.is-visible:hover img { transform: scale(1.05); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__image,
  .hero-in,
  .hero-in-line,
  .reveal,
  .reveal .title-line,
  .product.reveal img,
  .story__badge,
  .story__media.is-visible .story__backdrop,
  .whatsapp-float {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
  }
  .hero-in, .reveal, .story__badge, .product.reveal img { transform: none !important; }
  .hero-in-line, .reveal .title-line { transform: scaleX(1) !important; }
  .story__backdrop { transform: rotate(3deg) !important; }
}

/* <picture> (WebP + fallback) se comporta como bloco */
picture { display: block; }
.product picture { width: 100%; height: 100%; }
.brand picture, .hero__content picture { display: contents; }

/* Mobile: moldura girada e selo não podem vazar a tela */
html, body { overflow-x: clip; }
@media (max-width: 899px) {
  .story__media { width: 88%; }
  .story__badge { right: -10px; }
}

/* Contato: formulário | endereço + mapa (mesma altura) ; horário | contatos */
.contact__side { display: flex; flex-direction: column; gap: var(--space-4); }
.contact__map {
  flex: 1;
  min-height: 240px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-white);
  border: 4px solid var(--color-white);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}
.contact__map iframe { display: block; width: 100%; height: 100%; min-height: 232px; border: 0; filter: saturate(0.85); }

/* ============================================
   10. Navegação com 6 itens
   ============================================ */
@media (min-width: 900px) and (max-width: 1179px) {
  .nav { display: none; }
  .nav-toggle { display: flex; }
}
@media (min-width: 1180px) { .nav { gap: 1.6rem; } }

/* ============================================
   11. Botões extras
   ============================================ */
.btn__icon { width: 18px; height: 18px; flex-shrink: 0; }
.btn--outline-green { background: transparent; color: var(--italian-green-dark); border: 1.5px solid var(--italian-green); }
.btn--outline-green:hover { background: rgba(74,155,62,0.08); }
.btn--white { background: var(--color-white); color: var(--italian-green-dark); }
.btn--white:hover { background: var(--italian-cream); }
.btn--outline-white { background: transparent; color: var(--color-white); border: 1.5px solid rgba(255,255,255,0.6); }
.btn--outline-white:hover { background: rgba(255,255,255,0.1); }

/* ============================================
   12. Como comprar (home)
   ============================================ */
.buy__grid { display: grid; grid-template-columns: 1fr; gap: var(--space-5); margin-top: var(--space-6); }
@media (min-width: 900px) { .buy__grid { grid-template-columns: 1fr 1fr; gap: var(--space-6); } }
.buy-card {
  display: flex; flex-direction: column;
  background: var(--italian-cream);
  border: 1px solid #ece6d6;
  border-radius: var(--radius-lg);
  padding: var(--space-5) var(--space-4);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}
@media (min-width: 640px) { .buy-card { padding: var(--space-6) var(--space-5); } }
.buy-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(0,0,0,0.08); }
.buy-card--dark { background: var(--italian-green-dark); border-color: var(--italian-green-dark); }
.buy-card__tag {
  align-self: flex-start;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--color-white); background: var(--italian-red);
  padding: 0.35rem 0.9rem; border-radius: 999px; margin-bottom: var(--space-3);
}
.buy-card h3 { font-size: 1.6rem; color: var(--italian-green-dark); margin-bottom: var(--space-2); }
.buy-card p { font-size: 0.92rem; margin-bottom: var(--space-4); }
.buy-card--dark h3 { color: var(--color-white); }
.buy-card--dark p { color: rgba(255,255,255,0.88); }
.buy-card__steps { display: grid; gap: 0.7rem; margin-bottom: var(--space-5); }
.buy-card__steps li { display: flex; align-items: center; gap: 0.75rem; font-size: 0.9rem; color: var(--color-text); }
.buy-card__steps span {
  flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--italian-green); color: var(--color-white); font-size: 0.8rem; font-weight: 700;
}
.buy-card__list { display: grid; gap: 0.6rem; margin-bottom: var(--space-5); }
.buy-card__list li { position: relative; padding-left: 1.4rem; font-size: 0.9rem; color: rgba(255,255,255,0.92); }
.buy-card__list li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 8px; height: 8px; border-radius: 50%; background: var(--italian-red); }
.buy-card__actions { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: auto; }
.buy-card__actions .btn { flex: 1 1 200px; }

/* ============================================
   13. Páginas internas — cabeçalho da página
   ============================================ */
.page-hero__media { position: relative; height: 42vh; min-height: 300px; overflow: hidden; background: #2b2a26; }
.page-hero__media .hero__image { animation-duration: 30s; }
.page-hero__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.35), rgba(0,0,0,0.55)); }
.page-hero__content {
  position: relative; z-index: 2; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 0 var(--space-4);
}
.page-hero__content .eyebrow { color: rgba(255,255,255,0.9); }
.page-hero h1 {
  color: var(--color-white); font-size: 2.2rem; max-width: 820px;
  text-shadow: 0 6px 24px rgba(0,0,0,0.35); margin-bottom: var(--space-2);
}
.page-hero p { color: rgba(255,255,255,0.92); max-width: 620px; font-size: 1rem; }
@media (min-width: 768px) { .page-hero h1 { font-size: 3.2rem; } }

.breadcrumb { font-size: 0.78rem; color: var(--color-text-muted); margin-bottom: var(--space-5); }
.breadcrumb a { color: var(--italian-green-dark); font-weight: 600; }
.breadcrumb a:hover { text-decoration: underline; }

/* ============================================
   14. Catálogo de varejo (cardápio)
   ============================================ */
.howto { display: grid; grid-template-columns: 1fr; gap: var(--space-4); margin-top: var(--space-6); }
@media (min-width: 768px) { .howto { grid-template-columns: repeat(3, 1fr); } }
.howto__step {
  background: var(--color-white); border-radius: var(--radius-lg);
  box-shadow: 0 12px 32px rgba(0,0,0,0.06); padding: var(--space-4);
  text-align: center;
}
.howto__num {
  width: 40px; height: 40px; margin: 0 auto var(--space-2); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--italian-green); color: var(--color-white); font-weight: 700;
}
.howto__step h3 { font-size: 1.15rem; color: var(--italian-green-dark); margin-bottom: 0.3rem; }
.howto__step p { font-size: 0.88rem; }
.howto__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-2); margin-top: var(--space-5); }

.menu-group { margin-top: var(--space-8); }
.menu-group:first-child { margin-top: 0; }
.menu-group__header { text-align: center; max-width: 640px; margin: 0 auto var(--space-5); }
.menu-group__header .eyebrow { display: block; }
.menu-group__header p { font-size: 0.92rem; }

.menu-grid { display: grid; grid-template-columns: 1fr; gap: var(--space-4); align-items: start; }
@media (min-width: 700px) { .menu-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .menu-grid { grid-template-columns: repeat(3, 1fr); } }

.menu-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 32px rgba(0,0,0,0.07);
  overflow: hidden;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}
.menu-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(0,0,0,0.10); }
.menu-card__media { aspect-ratio: 16 / 9; overflow: hidden; }
.menu-card__media picture { height: 100%; }
.menu-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.menu-card:hover .menu-card__media img { transform: scale(1.04); }
.menu-card__body { padding: var(--space-4); }
.menu-card h3 { font-size: 1.35rem; color: var(--italian-green-dark); }
.menu-card__desc { font-size: 0.82rem; margin: 0.2rem 0 var(--space-3); }
.menu-flavor { padding-top: var(--space-2); border-top: 1px dashed #e6e0d0; margin-top: var(--space-2); }
.menu-flavor:first-of-type { border-top: 0; margin-top: 0; padding-top: 0; }
.menu-flavor h4 {
  font-family: var(--font-body); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--italian-red);
  margin-bottom: 0.35rem;
}
.menu-flavor h4 small { display: block; font-size: 0.72rem; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--color-text-muted); }
.menu-row { display: flex; align-items: baseline; gap: 0.5rem; font-size: 0.88rem; color: var(--color-text); line-height: 1.9; }
.menu-row__dots { flex: 1; border-bottom: 1px dotted #cfc8b6; transform: translateY(-4px); }
.menu-row__price { font-weight: 700; color: var(--italian-green-dark); white-space: nowrap; }
.menu-note { text-align: center; font-size: 0.8rem; color: var(--color-text-muted); margin-top: var(--space-6); }

/* ============================================
   15. Página Para Empresas
   ============================================ */
.b2b__grid { display: grid; grid-template-columns: 1fr; gap: var(--space-6); align-items: start; }
@media (min-width: 960px) { .b2b__grid { grid-template-columns: 0.9fr 1.1fr; gap: var(--space-8); } }
.b2b__text p { font-size: 0.95rem; margin-bottom: var(--space-3); }
.b2b__segments { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: var(--space-4) 0; }
.b2b__segments li {
  font-size: 0.8rem; font-weight: 600; padding: 0.45rem 0.95rem; border-radius: 999px;
  background: var(--color-white); border: 1px solid #e6e0d0; color: var(--italian-green-dark);
}
.b2b__lines { display: grid; gap: var(--space-3); margin-top: var(--space-4); }
.b2b__line { background: var(--color-white); border-radius: var(--radius-md); padding: var(--space-3) var(--space-4); box-shadow: 0 8px 24px rgba(0,0,0,0.05); }
.b2b__line h3 { font-size: 1.05rem; color: var(--italian-green-dark); margin-bottom: 0.2rem; }
.b2b__line p { font-size: 0.85rem; margin: 0; }

.contact-form h2 { font-size: 1.7rem; margin-bottom: 0.2rem; }
.form-row { display: grid; grid-template-columns: 1fr; gap: var(--space-3); }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.contact-form select {
  width: 100%; font-family: inherit; font-size: 0.9rem; color: var(--color-text);
  background-color: var(--color-input); border: 1px solid var(--color-border); border-radius: 8px;
  padding: 0.8rem 2.4rem 0.8rem 1rem; -webkit-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232d6b27' stroke-width='2'><path d='m6 9 6 6 6-6'/></svg>");
  background-repeat: no-repeat; background-position: right 0.9rem center; background-size: 16px;
}
.contact-form select:focus { outline: none; border-color: var(--italian-green); box-shadow: 0 0 0 3px rgba(74,155,62,0.15); }
.contact-form select.is-invalid { border-color: var(--italian-red); }
.contact-form fieldset { border: 0; }
.contact-form legend { font-size: 0.8rem; font-weight: 600; color: var(--color-text); margin-bottom: 0.5rem; }
.check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.4rem 1rem; }
.check-grid label { display: flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; color: var(--color-text); cursor: pointer; }
.check-grid input { width: 16px; height: 16px; accent-color: var(--italian-green); padding: 0; }

.flavor-list { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.flavor-list li {
  font-size: 0.72rem; font-weight: 500; color: var(--color-text);
  background: var(--italian-cream); border: 1px solid #ece6d6;
  padding: 0.25rem 0.6rem; border-radius: 999px;
}
.nav a[aria-current="page"] { color: var(--italian-green); }
.nav a[aria-current="page"]::after { transform: scaleX(1); }
.contact-form .btn--outline-green { margin-top: -0.25rem; }

.contact-form__sent { font-size: 0.85rem; color: var(--italian-green-dark); }
.contact-form__sent a { font-weight: 700; text-decoration: underline; }

/* Grupo com um único card (ex.: Molhos): card centralizado, na largura de uma coluna */
.menu-grid--single { grid-template-columns: minmax(0, 360px); justify-content: center; }

/* Ajuda de e-mail (endereço, copiar, Gmail/Outlook) */
.buy-card__actions .contact-form__sent { flex-basis: 100%; margin: 0; }
.buy-card--dark .contact-form__sent, .buy-card--dark .contact-form__sent a { color: var(--color-white); }
.contact-form__sent { line-height: 1.7; }
.copy-email {
  font: inherit; font-size: 0.75rem; font-weight: 700; color: var(--italian-green-dark);
  background: var(--color-white); border: 1px solid var(--italian-green); border-radius: 999px;
  padding: 0.1rem 0.7rem; margin-left: 0.3rem; cursor: pointer;
}
.copy-email:focus-visible, .btn:focus-visible { outline: 2px solid var(--italian-red); outline-offset: 2px; }

/* Campo invisível anti-spam e aviso de privacidade do formulário */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.contact-form__privacy { font-size: 0.72rem; color: var(--color-text-muted); text-align: center; }
.btn:disabled { opacity: 0.7; cursor: wait; }

/* Celular: nenhuma coluna pode ficar mais larga que a tela */
.b2b__grid > *, .contact__grid > *, .buy__grid > *, .menu-grid > *, .form-row > * { min-width: 0; }
.btn--block { white-space: normal; text-align: center; line-height: 1.35; }
@media (max-width: 480px) {
  .check-grid { grid-template-columns: 1fr; }
  .buy-card__actions .btn { white-space: normal; }
}
