.video-fixed {
    width: 100%;
    height: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
    opacity: 0.4;
    overflow-y: hidden;
}

.video-full-screen {
    width: 100%;
    height: 100%;
    object-fit: cover;
    overflow: hidden;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
}

.highlight {
  background-color: var(--afm-orange);
  padding: 0 4px;
}

.btn-chefcami{
    --bs-btn-color: var(--color-2);
    --bs-btn-bg: none;
    --bs-btn-border-color: var(--color-2);
    --bs-btn-hover-color: var(--color-2);
    --bs-btn-hover-bg: none;
    --bs-btn-hover-border-color: var(--color-2);
    --bs-btn-focus-shadow-rgb: 130, 138, 145;
    --bs-btn-active-color: var(--color-2);
    --bs-btn-active-bg: #fff;
    --bs-btn-active-border-color: var(--color-2);
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #333;
    --bs-btn-disabled-bg: #bbb;
    --bs-btn-disabled-border-color: #bbb;
    text-align: center;
    border-radius: 0.1rem;
    padding: 1.1875rem 2.5rem;
    font-family: Sansita, sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.875rem;
    transition: color .50s, background-color .50s;
    border-width: 3px;
    text-transform: uppercase;
}

.bg-logo {
  background-image: url("../../../../galery/allfitmeals-logo-background.png");
  background-repeat: no-repeat;
  background-position: left bottom;
  width: 100%;
  min-height: 695px;
}

/* Em telas menores, remove o background */
@media (max-width: 1760px) {
  .bg-logo {
    background-image: none;
  }
}

.bg-logo-bege {
  background-image: url("../../../../galery/allfitmeals-logo-bege-background.png");
  background-repeat: no-repeat;
  background-position: right bottom;
  width: 100%;
  min-height: 723px;
}

/* Em telas menores, remove o background */
@media (max-width: 1024px) {
  .bg-logo-bege {
    background-image: none;
  }
}

.text-green
{
	color: var(--color-1);
}

.divisao-vertical-cima
{
	background-image: url(../../../../galery/divisao-vertical-cima.png);
	background-repeat: no-repeat;
	background-position: right bottom;
}

.divisao-vertical-baixo
{
	background-image: url(../../../../galery/divisao-vertical-baixo.png);
	background-repeat: no-repeat;
	background-position: right top;
}

@media only screen and (max-width: 767px) {
    .divisao-vertical-cima, .divisao-vertical-baixo {
    	background-image: none;
    }
}

.line-height-0 {
  line-height: 0;
}
/* --- Home hero: contrast scrim + accessible video control + reduced-motion (2026-09-11) --- */
/* Scoped to .head-banner (home hero only; checkout flows use _header.tpl, unaffected). */
/* Darken the background video a touch and give the white text + outline CTAs a
   faint dark backing so they never wash out over a bright video frame. Scoped to
   the hero; no z-index/stacking changes (a negative z-index hid the video). */
.head-banner .video-fixed { opacity: 0.3; }
.head-banner h1 { text-shadow: 0 1px 4px rgba(0, 0, 0, .55); }
.head-banner .btn-chefcami {
  --bs-btn-bg: rgba(0, 0, 0, .30);
  --bs-btn-hover-bg: rgba(0, 0, 0, .55);
}
.hero-video-toggle {
  position: absolute;
  left: 1rem; /* bottom-left: bottom-right is the fixed WhatsApp button */
  bottom: 1rem;
  z-index: 3;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  border: 2px solid #fff;
  background: rgba(0, 0, 0, .55);
  color: #fff;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.hero-video-toggle:hover,
.hero-video-toggle:focus-visible { background: rgba(0, 0, 0, .85); outline: 2px solid #fff; }

/* Honor OS "reduce motion": kill entrance animations site-wide. */
@media (prefers-reduced-motion: reduce) {
  .animate__animated { animation: none !important; -webkit-animation: none !important; }
}

/* --- Home Wave-2: type scale, cards, CTA fill, locations, motion (2026-09-11) --- */
/* Palette: the site's own colors, as --afm-* variables (Home polish, 2026-09-28, at the end of this file). */
/* Item 10 (hero scrim pseudo-element) skipped — Wave-1 already owns hero contrast. */

.head-banner h1.display-2 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  max-width: 18ch;
}
#nossos_servicos > .overline-text,
.large-screen.bg-logo-bege .overline-text,
.small-screen.bg-logo-bege .overline-text,
.container > .overline-text.text-center {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  font-weight: 800;
  margin-bottom: 0.5rem;
}
#nossos_servicos > h2.display-2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 2.5rem;
}
#nossos_servicos .svc-card h3,
#nossos_servicos h3.display-4 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 700;
  line-height: 1.2;
}
.large-screen.bg-logo-bege h3.display-4,
.small-screen.bg-logo-bege h3.display-4 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
}
.section-orange.home-quality h3.display-2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: center;
}
/* #b95a2e: white text 4.6:1 (WCAG AA); #e07a4f gave 2.97:1. */
.btn-chefcami-fill {
  --bs-btn-color: #fff;
  --bs-btn-bg: #b95a2e;
  --bs-btn-border-color: #b95a2e;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--afm-green);
  --bs-btn-hover-border-color: var(--afm-green);
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: var(--afm-green);
  --bs-btn-active-border-color: var(--afm-green);
  background-color: #b95a2e;
  color: #fff;
}
/* Beat Wave-1 .head-banner .btn-chefcami dark backing on the filled primary only. */
.head-banner .btn-chefcami.btn-chefcami-fill {
  --bs-btn-color: #fff;
  --bs-btn-bg: #b95a2e;
  --bs-btn-border-color: #b95a2e;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--afm-green);
  --bs-btn-hover-border-color: var(--afm-green);
  background-color: #b95a2e;
  color: #fff;
}
.btn-chefcami:hover {
  background-color: #b95a2e;
  color: #fff;
}

#nossos_servicos {
  padding-top: clamp(3.5rem, 7vw, 6rem);
  padding-bottom: clamp(3.5rem, 7vw, 6rem);
}
#nossos_servicos.container {
  margin-top: 0;
  margin-bottom: 0;
}
.svc-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .svc-grid { grid-template-columns: 1fr 1fr; gap: 1.75rem; }
}
.svc-card {
  display: flex;
  flex-direction: column;
  background: var(--afm-cream);
  border: 1px solid rgba(10, 85, 69, 0.12);
  border-radius: 2px;
  overflow: hidden;
  height: 100%;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}
.svc-card--togo {
  border-color: var(--afm-orange);
  box-shadow: 0 0 0 1px var(--afm-orange);
}
.svc-card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--afm-green);
}
.svc-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
.svc-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.5rem 1.5rem 1.75rem;
  flex: 1;
}
.svc-card-body p.text-fourth { flex: 1; margin: 0; font-size: 1.05rem; }
.svc-from {
  margin: 0;
  font-family: Lato, sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--afm-green);
}
.svc-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 1;
  background: #b95a2e;
  color: #fff;
  font-family: Lato, sans-serif;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.4rem 0.65rem;
  border-radius: 2px;
}
.svc-card-body .btn { align-self: flex-start; margin-top: 0.25rem; }

.section-orange.home-quality {
  padding-top: clamp(3.5rem, 7vw, 6rem);
  padding-bottom: clamp(3.5rem, 7vw, 6rem);
  border-top: 1px solid rgba(10, 85, 69, 0.12);
}
.bg-logo {
  min-height: 0;
  padding-top: clamp(2.5rem, 5vw, 4rem);
  padding-bottom: clamp(1.5rem, 4vw, 3rem);
}
.bg-logo-bege {
  min-height: 0;
  padding-top: clamp(2.5rem, 5vw, 4rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}

.loc-section { padding-top: clamp(3.5rem, 7vw, 6rem); padding-bottom: clamp(3.5rem, 7vw, 6rem); }
.loc-title { font-size: clamp(1.75rem, 3vw, 2.25rem); color: var(--afm-green); }
.loc-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  max-width: 720px;
  margin: 0 auto;
}
@media (min-width: 768px) { .loc-grid { grid-template-columns: 1fr 1fr; } }
.loc-tile {
  background: var(--afm-cream);
  border: 1px solid rgba(10, 85, 69, 0.12);
  border-radius: 2px;
  padding: 2rem 1.5rem;
  text-align: center;
}
.loc-name { font-size: 1.75rem; color: var(--afm-green); margin: 0.75rem 0 0.25rem; }
.loc-note { margin: 0; font-family: Lato, sans-serif; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--afm-green); opacity: 0.75; }

.svc-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(10, 85, 69, 0.12);
}
.svc-card:hover img { transform: scale(1.04); }
.svc-card:focus-within {
  outline: 2px solid var(--afm-orange);
  outline-offset: 2px;
}
.btn-chefcami, .btn-chefcami-fill {
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.btn-chefcami:hover, .btn-chefcami-fill:hover { transform: translateY(-1px); }
.loc-tile:hover { box-shadow: 0 8px 20px rgba(10, 85, 69, 0.1); }

@media (max-width: 767.98px) {
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { width: 100%; }
  .btn-chefcami, .btn-chefcami-fill {
    font-size: 1.125rem;
    padding: 0.9rem 1.25rem;
    min-height: 44px;
  }
  .head-banner { min-height: auto; padding-bottom: 3rem; }
  .head-banner h1.display-2 { max-width: none; }
  .svc-card-body { padding: 1.25rem 1.15rem 1.5rem; }
  .svc-card-body .btn { width: 100%; text-align: center; }
  .bg-logo .m-5 { margin: 1.5rem !important; }
}

.bg-logo h5, .bg-logo .display-6 {
  font-size: 1.5rem;
}
.bg-logo .pillars-font { font-size: 0.95rem; }
.bg-logo a.text-decoration-none { display: block; }
.bg-logo a.text-decoration-none:hover .orange-color { color: var(--afm-green); }

@media (prefers-reduced-motion: reduce) {
  .svc-card, .svc-card img, .btn-chefcami, .btn-chefcami-fill, .loc-tile {
    transition: none;
    transform: none;
  }
}

/* --- Home polish (cortesia, 2026-09-28): contrast, readable hero, tap targets. CSS only, same identity. --- */
:root {
  --afm-orange: #EF7A54;      /* style.min.css brand orange */
  --afm-orange-ink: #b95a2e;  /* orange for text on white and white-on-orange buttons: 4.6:1 */
  --afm-orange-deep: #a4502a; /* orange for text on cream: 4.9:1 on --afm-cream */
  --afm-green: #055346;       /* style.min.css brand green (.section-footer, .price-tag) */
  --afm-cream: #F9EFE6;       /* style.min.css brand cream (.head-banner, .section-orange) */
  --afm-footer-ink: #cfe0dc;  /* footer text on --afm-green: 6.6:1 (was #97B7B2, 4.17:1) */
}

/* Contrast (WCAG AA 4.5:1) on light backgrounds. */
.svc-card .btn-chefcami:not(.btn-chefcami-fill) {
  --bs-btn-color: var(--afm-orange-deep);
  --bs-btn-border-color: var(--afm-orange-deep);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--afm-orange-deep);
  --bs-btn-hover-border-color: var(--afm-orange-deep);
}
.loc-section .overline-text { color: var(--afm-orange-deep); }
.section-footer .footer-text,
.section-footer .footer-text a,
.section-footer p { color: var(--afm-footer-ink); }

/* Hero: show more of the food video, keep the text readable with a left-side scrim instead of darkening it all.
   Explicit stacking: video (0) < scrim (1) < content (2); the scrim never takes clicks. */
.head-banner .video-fixed { opacity: .55; z-index: 0; }
.head-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(0, 0, 0, .72) 0%, rgba(0, 0, 0, .45) 45%, rgba(0, 0, 0, 0) 75%);
}
.head-banner > :not(#videoContainer):not(.hero-video-toggle) { position: relative; z-index: 2; }
.head-banner .overline-text,
.head-banner .btn-chefcami:not(.btn-chefcami-fill) { text-shadow: 0 1px 3px rgba(0, 0, 0, .6); }
.head-banner h1 { text-wrap: balance; }

/* O vídeo do topo aparece em qualquer largura (fim do arquivo), então o botão de pausar também (WCAG 2.2.2). */

/* Tap targets ≥ 44px without resizing the images/icons. */
.section-footer a.footer-text,
.section-footer a[aria-label] {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.section-footer a[aria-label] { min-width: 44px; justify-content: center; }
.small-screen a[href="pt"], .small-screen a[href="en"],
#menu-large a[href="pt"], #menu-large a[href="en"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
}
.navbar-toggler { min-height: 44px; min-width: 44px; }
#menu-large .flex-row { align-items: center; }
#menu-large .flex-row a.nav-link { display: inline-flex; align-items: center; min-height: 44px; }

/* Polish round 2 (re-score findings): one orange per role, footer rhythm, icon alignment, top scrim for the nav. */
.overline-text,
.bg-logo .orange-color { color: var(--afm-orange-deep); }
.head-banner .overline-text { color: var(--afm-orange); } /* on the dark hero the bright orange reads */
.svc-badge { background: var(--afm-orange-deep); }
.svc-card--togo { border-color: var(--afm-orange-deep); box-shadow: 0 0 0 1px var(--afm-orange-deep); }
.svc-card .btn-chefcami.btn-chefcami-fill {
  --bs-btn-bg: var(--afm-orange-deep);
  --bs-btn-border-color: var(--afm-orange-deep);
  background-color: var(--afm-orange-deep);
}
.highlight { background-color: var(--afm-orange-ink); }
.section-footer a.footer-text.mt-3 { margin-top: 0 !important; }
.section-footer a[aria-label] { justify-content: flex-start; min-width: 44px; }
.head-banner::after {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .5) 0, rgba(0, 0, 0, 0) 170px),
    linear-gradient(90deg, rgba(0, 0, 0, .72) 0%, rgba(0, 0, 0, .45) 45%, rgba(0, 0, 0, 0) 75%);
}
/* The old .btn-chefcami:hover sets a literal background; keep the card outline buttons on their own orange. */
.svc-card .btn-chefcami:not(.btn-chefcami-fill):hover { background-color: var(--afm-orange-deep); color: #fff; }

/* Avaliações da home (bloco home_reviews_ptbr / home_reviews_enus, editável em Admin > Blocos). */
.afm-reviews {
  background: #fff;
  border-top: 1px solid rgba(10, 85, 69, 0.12);
  padding-top: clamp(3.5rem, 7vw, 6rem);
  padding-bottom: clamp(3.5rem, 7vw, 6rem);
}
.afm-reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: stretch;
}
@media (min-width: 768px) {
  .afm-reviews-grid { grid-template-columns: repeat(2, 1fr); gap: 1.75rem; max-width: 1000px; margin: 0 auto; }
}
.afm-review {
  position: relative;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 2.25rem 1.75rem 1.75rem;
  background: var(--afm-cream);
  border: 1px solid rgba(10, 85, 69, 0.12);
  border-top: 3px solid var(--afm-orange);
  border-radius: 2px;
}
.afm-review::before {
  content: "\201C";
  position: absolute;
  top: -0.35rem;
  right: 1.25rem;
  font-family: Sansita, serif;
  font-size: 5rem;
  line-height: 1;
  color: var(--afm-orange);
  opacity: 0.35;
}
.afm-review-stars { margin-bottom: 0.75rem; }
.afm-review-stars::before {
  content: "\2605\2605\2605\2605\2605";
  letter-spacing: 0.15em;
  color: var(--afm-orange);
  font-size: 1.05rem;
}
.afm-review blockquote {
  margin: 0 0 1.25rem;
  font-family: Lato, sans-serif;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text-fourth-color, #4a4a4a);
}
.afm-review figcaption { display: flex; flex-direction: column; gap: 0.15rem; margin-top: auto; }
.afm-review figcaption strong { font-family: Sansita, sans-serif; font-size: 1.15rem; color: var(--afm-green); font-weight: 700; }
.afm-review figcaption span {
  font-family: Lato, sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--afm-green);
  opacity: 0.7;
}

/* Vídeo do topo da home também no celular (Camila 2026-11-14: no celular o topo ficava preto). O bloco do vídeo é
   .large-screen no HTML da home (escondido abaixo de 768px pelo style.min.css); aqui ele aparece em qualquer largura. */
.head-banner #videoContainer.large-screen { display: block; }
