/* Header fixo */
html {
  scroll-padding-top: 3.75rem;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

@media (max-width: 767px) {
  html,
  body {
    overscroll-behavior-y: auto;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
  }

  #root,
  #root > .min-h-screen {
    overflow: visible !important;
    height: auto !important;
  }
}

nav {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 100 !important;
  transform: translate3d(0, 0, 0) !important;
  -webkit-transform: translate3d(0, 0, 0) !important;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-bottom: 1px solid hsl(0 0% 90% / 0.8);
}

nav .site-mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
}

nav .site-mobile-nav .site-nav-link {
  display: block !important;
  width: 100% !important;
  text-align: left;
  padding-top: 0.75rem !important;
  padding-bottom: 0.75rem !important;
  font-size: 0.9375rem !important;
  border-bottom: 1px solid hsl(0 0% 92%);
  white-space: normal;
}

nav .site-mobile-nav .site-nav-link:last-child {
  border-bottom: none;
}

nav > div,
nav .h-16 {
  min-height: 3.75rem !important;
  height: auto !important;
}

@media (min-width: 768px) {
  nav > div,
  nav .md\:h-\[4\.5rem\] {
    min-height: 4.25rem !important;
  }
}

nav .max-w-7xl {
  align-items: center;
  padding-top: 0.35rem;
  padding-bottom: 0.35rem;
}

/* Menu desktop — à direita, um pouco mais para dentro em 13"–20" */
@media (min-width: 768px) and (max-width: 1999px) {
  nav .max-w-7xl {
    justify-content: space-between !important;
    padding-left: clamp(1.5rem, 2.5vw, 2.25rem) !important;
    padding-right: clamp(1.5rem, 2.5vw, 2.25rem) !important;
  }

  nav .max-w-7xl .hidden.md\:flex {
    margin-left: auto !important;
    margin-right: clamp(2rem, 5vw, 4.5rem) !important;
    gap: clamp(1.75rem, 2.2vw, 2.35rem) !important;
  }
}

.site-header-logo {
  height: 2.35rem !important;
  width: auto !important;
  max-width: 150px !important;
  object-fit: contain;
  object-position: left center;
  display: block;
}

@media (max-width: 767px) {
  .site-header-logo {
    height: 2.65rem !important;
    max-width: 168px !important;
  }
}

@media (min-width: 768px) {
  .site-header-logo {
    height: 3.25rem !important;
    max-width: 200px !important;
  }
}

/* Menu — hover laranja, maior, barrinha */
nav .site-nav-link {
  position: relative;
  display: inline-block;
  padding-bottom: 0.35rem;
  font-size: 0.875rem;
  transition: color 0.25s ease, transform 0.25s ease;
}

nav .site-nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: hsl(25 95% 53%);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
  border-radius: 2px;
}

nav .site-nav-link:hover,
nav .site-nav-link.is-active {
  color: hsl(25 95% 53%) !important;
  transform: scale(1.06);
}

nav .site-nav-link:hover::after,
nav .site-nav-link.is-active::after {
  transform: scaleX(1);
}

/* Formulário — botão enviar sempre visível */
#root form button[type="submit"],
form button[type="submit"].w-full.bg-primary {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-height: 3rem !important;
  visibility: visible !important;
  opacity: 1 !important;
  cursor: pointer;
}

nav .md\:hidden .site-nav-link:hover,
nav .md\:hidden .site-nav-link.is-active {
  transform: none;
  font-size: 1.125rem;
}

/* Footer */
.site-footer {
  background: hsl(0 0% 99%) !important;
  padding-top: 2rem !important;
  padding-bottom: 0 !important;
}

.site-footer .footer-main-grid {
  gap: 1.5rem !important;
  margin-bottom: 1rem !important;
  padding-top: 0;
  padding-bottom: 1.5rem;
}

.site-footer .footer-brand-col {
  align-items: center;
  text-align: center;
}

.site-footer .footer-brand-logo {
  height: 3rem !important;
  width: auto !important;
  max-width: 200px !important;
  filter: none !important;
  opacity: 1;
  object-fit: contain;
  object-position: center;
  margin: 0 auto 0.75rem !important;
}

.site-footer .footer-brand-col p {
  font-size: 0.8125rem !important;
  line-height: 1.6 !important;
  max-width: 20rem;
  margin-left: auto;
  margin-right: auto;
}

.site-footer .footer-brand-tagline {
  max-width: none;
  width: fit-content;
  padding: 0 0.5rem;
}

.site-footer .footer-tagline-line1,
.site-footer .footer-tagline-line2 {
  display: block;
  line-height: 1.55;
}

.site-footer .footer-tagline-line1 {
  white-space: nowrap;
}

@media (max-width: 480px) {
  .site-footer .footer-tagline-line1 {
    white-space: normal;
    max-width: 16rem;
    margin: 0 auto;
  }
}

.site-footer .footer-main-grid h4 {
  font-size: 0.75rem !important;
  letter-spacing: 0.16em !important;
}

.site-footer .footer-main-grid .flex.flex-col.gap-3 a {
  font-size: 0.8125rem !important;
}

.site-footer .footer-contact-link,
.site-footer .footer-location {
  font-size: 0.8125rem !important;
  line-height: 1.5 !important;
}

.site-footer .grid > div:last-child,
.site-footer .footer-main-grid > div:last-child {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.site-footer .footer-contact-link svg {
  flex-shrink: 0;
  opacity: 0.85;
  width: 16px !important;
  height: 16px !important;
}

.site-footer .footer-location::before {
  content: "";
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 1px;
  opacity: 0.85;
  background-color: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6'%3E%3Cpath d='M12 21s7-4.5 7-11a7 7 0 1 0-14 0c0 6.5 7 11 7 11z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E")
    center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6'%3E%3Cpath d='M12 21s7-4.5 7-11a7 7 0 1 0-14 0c0 6.5 7 11 7 11z'/%3E%3Ccircle cx='12' cy='10' r='2.5'/%3E%3C/svg%3E")
    center / contain no-repeat;
}

@media (min-width: 768px) {
  .site-footer .footer-main-grid {
    gap: 2.5rem !important;
    padding-bottom: 2rem;
  }

  .site-footer .footer-brand-logo {
    height: 3.35rem !important;
    max-width: 220px !important;
  }
}

@media (min-width: 1024px) {
  .site-footer .footer-main-grid {
    gap: 3rem !important;
  }
}

.site-footer .footer-legal-links {
  gap: 0 !important;
  margin-bottom: 0.65rem !important;
}

.site-footer .footer-legal-sep {
  display: inline-block;
  color: hsl(0 0% 55%);
  padding: 0 0.5rem;
  font-size: 0.75rem;
  line-height: 1;
}

.site-footer .footer-copyright {
  padding-top: 0.75rem !important;
  padding-bottom: 1rem !important;
  margin-top: 0 !important;
  border-color: hsl(0 0% 90% / 0.8) !important;
}

.site-footer .footer-copyright p {
  font-size: 0.65rem;
  line-height: 1.45;
  max-width: 52rem;
  margin: 0 auto;
  letter-spacing: 0.01em;
}

/* Mapa — altura só no wrapper; filhos 100% (evita faixa branca no mobile) */
#nossas-lojas-mapa {
  scroll-margin-top: 4.25rem;
  height: 480px;
  overflow: hidden;
  line-height: 0;
  background: #eae9e4;
}

#nossas-lojas-mapa .leaflet-container,
#nossas-lojas-mapa > div {
  height: 100% !important;
  min-height: 100% !important;
  max-height: 100% !important;
  width: 100% !important;
}

@media (max-width: 1535px) {
  #nossas-lojas-mapa {
    height: 360px;
  }
}

@media (max-width: 1279px) {
  #nossas-lojas-mapa {
    height: 320px;
  }
}

@media (max-width: 1023px) {
  #nossas-lojas-mapa .leaflet-marker-icon.site-store-pin {
    width: 18px !important;
    height: 24px !important;
    margin-left: -9px !important;
    margin-top: -24px !important;
  }

  #nossas-lojas-mapa .leaflet-marker-icon.site-store-pin svg {
    width: 18px !important;
    height: 24px !important;
    display: block;
  }
}

@media (max-width: 767px) {
  #nossas-lojas-mapa {
    height: 180px;
    margin-bottom: 1.25rem !important;
  }

  #nossas-lojas-mapa .leaflet-marker-icon.site-store-pin {
    width: 16px !important;
    height: 21px !important;
    margin-left: -8px !important;
    margin-top: -21px !important;
  }

  #nossas-lojas-mapa .leaflet-marker-icon.site-store-pin svg {
    width: 16px !important;
    height: 21px !important;
  }

  #nossas-lojas-mapa .leaflet-control-zoom {
    transform: scale(0.85);
    transform-origin: top left;
  }
}

.leaflet-container {
  cursor: grab;
}

.leaflet-container:active {
  cursor: grabbing;
}

/* Linha do tempo — interativa */
.site-timeline-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    160deg,
    hsl(25 28% 95%) 0%,
    hsl(0 0% 97%) 45%,
    hsl(25 18% 93%) 100%
  ) !important;
  border-top: 1px solid hsl(25 40% 88%) !important;
}

.site-timeline-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
      hsl(25 95% 53% / 0.07) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      hsl(25 95% 53% / 0.04) 1px,
      transparent 1px
    );
  background-size: 28px 28px, 80px 80px;
  pointer-events: none;
}

.site-timeline-section > .max-w-4xl {
  position: relative;
  z-index: 1;
}

.site-timeline {
  position: relative;
  padding-left: 0.25rem;
}

.site-timeline::before {
  display: none;
}

.site-timeline-item {
  position: relative;
  z-index: 1;
  align-items: flex-start !important;
}

.site-timeline-marker {
  position: relative;
  z-index: 2;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  flex-shrink: 0 !important;
}

.site-timeline-year {
  position: relative;
  z-index: 3;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  text-align: center !important;
  box-sizing: border-box !important;
  background: hsl(25 60% 94%) !important;
  color: hsl(25 95% 48%) !important;
  border: 2px solid hsl(25 95% 53%) !important;
  box-shadow: 0 8px 24px hsl(25 95% 53% / 0.18);
  transition: transform 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
}

.site-timeline-year span {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1 !important;
  text-align: center !important;
  font-variant-numeric: tabular-nums;
  color: hsl(25 95% 45%) !important;
}

.site-timeline-line {
  min-height: 3.5rem !important;
  width: 3px !important;
  margin-top: 0.75rem !important;
  margin-left: auto !important;
  margin-right: auto !important;
  align-self: center !important;
  border-radius: 999px;
  background: linear-gradient(
    180deg,
    hsl(25 95% 53%) 0%,
    hsl(25 95% 53% / 0.45) 65%,
    hsl(25 95% 53% / 0.1) 100%
  ) !important;
}

.site-timeline-item:last-child .site-timeline-line {
  display: none !important;
}

.site-timeline-card {
  position: relative;
  top: 0 !important;
  align-self: flex-start !important;
  background: hsl(0 0% 100% / 0.94) !important;
  backdrop-filter: blur(4px);
  border-left: 3px solid hsl(25 95% 53% / 0.45) !important;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease, background 0.35s ease;
}

.site-timeline-card p {
  transition: color 0.35s ease, transform 0.35s ease;
}

.site-timeline-item:last-child .site-timeline-card {
  margin-bottom: 0 !important;
}

.site-timeline-item:last-child .site-timeline-marker {
  transform: translateY(-0.15rem);
}

.site-timeline-item:last-child .site-timeline-year {
  margin-top: 0 !important;
}

.site-timeline-item:last-child:hover .site-timeline-marker {
  transform: translateY(-0.15rem);
}

.site-timeline-item:last-child:hover .site-timeline-year {
  transform: scale(1.08);
}

.site-timeline-item:hover .site-timeline-year {
  transform: scale(1.08);
  box-shadow: 0 10px 28px hsl(25 95% 53% / 0.28);
  background: hsl(25 65% 92%) !important;
}

.site-timeline-item:hover .site-timeline-card {
  transform: translateX(10px);
  border-left-color: hsl(25 95% 53%) !important;
  box-shadow: 0 14px 36px hsl(25 95% 53% / 0.14);
  background: hsl(0 0% 100%) !important;
}

.site-timeline-item:hover .site-timeline-card p {
  color: hsl(0 0% 18%) !important;
  transform: translateX(2px);
}

@media (min-width: 768px) {
  .site-timeline-item {
    gap: 2.5rem;
    align-items: flex-start !important;
  }

  .site-timeline-card {
    top: 0 !important;
    align-self: flex-start !important;
  }

  .site-timeline-item:last-child .site-timeline-marker {
    transform: translateY(-0.2rem);
  }

  .site-timeline-item:last-child:hover .site-timeline-marker {
    transform: translateY(-0.2rem);
  }
}

@media (max-width: 1023px) {
  .site-timeline-item {
    gap: 0.75rem !important;
  }

  .site-timeline-year,
  .site-timeline-year.w-16,
  .site-timeline-year.md\:w-20 {
    width: 2.35rem !important;
    height: 2.35rem !important;
    min-width: 2.35rem !important;
    max-width: 2.35rem !important;
    border-radius: 0.65rem !important;
    border-width: 1.5px !important;
    box-shadow: 0 4px 14px hsl(25 95% 53% / 0.14) !important;
  }

  .site-timeline-year span,
  .site-timeline-year .text-base,
  .site-timeline-year .md\:text-lg {
    font-size: 0.68rem !important;
    line-height: 1 !important;
    font-weight: 800 !important;
  }

  .site-timeline-line {
    min-height: 2.25rem !important;
    width: 2px !important;
    margin-top: 0.35rem !important;
  }

  .site-timeline-card {
    margin-bottom: 0.75rem !important;
    padding: 0.75rem 0.85rem !important;
    border-radius: 0.85rem !important;
  }
}

/* Nossa História */
#inicio,
#nossa-historia,
.nossa-historia-section,
#hero-investidor {
  scroll-margin-top: 4.25rem;
}

@media (min-width: 768px) {
  #hero-investidor {
    display: flex !important;
    align-items: center !important;
  }

  #hero-investidor > .relative.z-10 {
    transform: translateY(-1rem);
  }
}

.site-history-media {
  width: 100%;
  max-width: min(100%, 22rem);
  margin-left: auto;
  margin-right: auto;
}

.site-history-media .sticky,
.site-history-media .site-history-stack {
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: clamp(0.65rem, 2vw, 1rem) !important;
  width: 100%;
  position: static !important;
}

.site-history-media img.site-history-photo-main,
.site-history-media img.site-history-photo-secondary {
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  aspect-ratio: 4 / 3;
  height: auto;
  min-height: unset !important;
  max-height: clamp(140px, 40vw, 240px);
  object-fit: cover;
  object-position: center;
  margin: 0;
  box-sizing: border-box;
  box-shadow:
    0 2px 4px hsl(0 0% 0% / 0.06),
    0 10px 24px -6px hsl(0 0% 0% / 0.16),
    0 18px 40px -12px hsl(25 30% 20% / 0.12) !important;
}

.nossa-historia-section .max-w-5xl {
  align-items: stretch !important;
}

.nossa-historia-section .max-w-5xl.items-start {
  align-items: stretch !important;
}

.history-text-col {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.history-text-col h2 {
  margin-bottom: clamp(1rem, 1.5vw, 2.5rem) !important;
}

.history-text-col .space-y-6 > * + * {
  margin-top: clamp(0.85rem, 1.2vw, 1.5rem) !important;
}

/* Nossa História — imagens acompanham do título até o fim do texto */
@media (min-width: 768px) {
  .nossa-historia-section .max-w-5xl {
    grid-template-columns: 1fr min(34%, 22rem) !important;
    gap: clamp(1.25rem, 2.5vw, 2.5rem) !important;
    align-items: stretch !important;
  }

  .site-history-media {
    max-width: min(100%, clamp(13rem, 32%, 22rem));
    margin-left: auto;
    margin-right: 0;
    align-self: stretch;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
  }

  .site-history-media .sticky,
  .site-history-media .site-history-stack {
    flex: 1 1 auto;
    height: 100%;
    min-height: 100%;
    display: grid !important;
    grid-template-rows: 1fr 1fr;
    gap: clamp(0.5rem, 1vw, 0.85rem) !important;
    align-content: stretch;
    position: static !important;
  }

  .site-history-media img.site-history-photo-main,
  .site-history-media img.site-history-photo-secondary {
    max-height: none !important;
    min-height: 0 !important;
    height: 100%;
    width: 100%;
    aspect-ratio: unset;
    object-fit: cover;
    border-radius: 1rem !important;
    box-shadow:
      0 3px 6px hsl(0 0% 0% / 0.07),
      0 14px 32px -8px hsl(0 0% 0% / 0.2),
      0 22px 48px -14px hsl(25 35% 18% / 0.14) !important;
  }
}

@media (min-width: 1024px) and (max-width: 1535px) {
  .nossa-historia-section .max-w-5xl {
    grid-template-columns: 1fr min(36%, 24rem) !important;
  }

  .site-history-media {
    max-width: min(100%, clamp(14rem, 30%, 24rem));
  }
}

@media (min-width: 1536px) {
  .nossa-historia-section .max-w-5xl {
    grid-template-columns: 1fr min(40%, 28rem) !important;
    gap: clamp(2rem, 3.5vw, 4rem) !important;
  }

  .site-history-media {
    max-width: min(100%, clamp(17rem, 26vw, 30rem));
  }

  .site-history-media img.site-history-photo-main,
  .site-history-media img.site-history-photo-secondary {
    border-radius: 1.5rem !important;
  }
}

@media (max-width: 767px) {
  .history-text-col h2 {
    margin-bottom: 1rem !important;
  }

  .nossa-historia-section .max-w-5xl {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }

  .site-history-media {
    max-width: 100%;
    margin: 0 auto;
  }

  .site-history-media img.site-history-photo-main,
  .site-history-media img.site-history-photo-secondary {
    max-height: clamp(130px, 40vw, 210px) !important;
    min-height: unset !important;
    aspect-ratio: 4 / 3;
    height: auto;
    box-shadow:
      0 2px 4px hsl(0 0% 0% / 0.06),
      0 8px 20px -5px hsl(0 0% 0% / 0.14),
      0 16px 32px -10px hsl(25 30% 20% / 0.1) !important;
  }

  .nossa-historia-section h2 {
    font-size: clamp(1.22rem, 5.2vw + 0.4rem, 1.48rem) !important;
    line-height: 1.15 !important;
  }

  .nossa-historia-section p {
    font-size: var(--text-body, 0.75rem) !important;
    line-height: 1.55 !important;
  }

  .min-h-\[80vh\] .text-xs.tracking-\[0\.4em\] {
    font-size: 0.5rem !important;
    letter-spacing: 0.18em !important;
    padding: 0.3rem 0.55rem !important;
  }
}

/* Responsividade geral */
@media (max-width: 767px) {
  nav .max-w-7xl {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  .site-footer {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  .site-footer .footer-main-grid {
    grid-template-columns: 1fr !important;
    text-align: center;
  }

  .site-footer .footer-main-grid > div:nth-child(2),
  .site-footer .footer-main-grid > div:nth-child(3) {
    align-items: center;
  }

  .site-footer .footer-main-grid .flex.flex-col.gap-3 {
    align-items: center;
  }

  .site-footer .footer-contact-link,
  .site-footer .footer-location {
    justify-content: center;
  }
}

/* Nossa Presença — mapas como referência (contorno + silhueta) */
.site-presence-card {
  background: hsl(0 0% 100%) !important;
  border-color: hsl(0 0% 90%) !important;
  transition:
    box-shadow 0.35s ease,
    border-color 0.35s ease,
    transform 0.35s ease !important;
}

.premium-card {
  transition:
    box-shadow 0.35s ease,
    border-color 0.35s ease,
    transform 0.35s ease !important;
}

.site-presence-card:hover {
  border-color: hsl(25 95% 53% / 0.45) !important;
  box-shadow:
    0 14px 44px -10px hsl(25 95% 53% / 0.38),
    0 6px 18px -6px hsl(25 95% 53% / 0.22) !important;
}

/* Cards — sombra laranja no hover (inspiram, presença, lojas) */
.premium-card:hover,
.group.bg-card.rounded-3xl:hover {
  border-color: hsl(25 95% 53% / 0.45) !important;
  box-shadow:
    0 16px 48px -10px hsl(25 95% 53% / 0.4),
    0 6px 20px -6px hsl(25 95% 53% / 0.24) !important;
}

#nossas-lojas-mapa + div button {
  transition:
    box-shadow 0.35s ease,
    border-color 0.35s ease,
    transform 0.35s ease !important;
}

#nossas-lojas-mapa + div button:hover {
  border-color: hsl(25 95% 53% / 0.5) !important;
  box-shadow:
    0 10px 32px -8px hsl(25 95% 53% / 0.42),
    0 4px 14px -4px hsl(25 95% 53% / 0.26) !important;
}

.site-presence-card h3 {
  color: hsl(0 0% 9%) !important;
}

.site-presence-card p {
  color: hsl(0 0% 45%) !important;
}

  .site-presence-map {
  background: transparent;
  min-height: 160px;
}

.site-presence-map-img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 180px;
  object-fit: contain;
  object-position: center;
}

@media (max-width: 767px) {
  .site-presence-map {
    min-height: 120px;
  }

  .site-presence-map-img {
    max-height: 130px;
  }

  .site-presence-card {
    padding: 0.85rem !important;
  }
}

/* Modal lojas — logo da marca */
.store-modal-footer {
  align-items: flex-end !important;
}

.store-modal-brand {
  height: clamp(2.4rem, 1.4rem + 1vw, 3.85rem) !important;
  max-height: none !important;
  max-width: clamp(6.75rem, 3.5rem + 2.5vw, 10.5rem) !important;
  width: auto !important;
  object-fit: contain;
  object-position: right bottom;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease, filter 0.3s ease;
  transform-origin: right bottom;
  cursor: pointer;
}

.store-modal-brand[alt="Popeyes"] {
  height: clamp(2.75rem, 1.65rem + 1.15vw, 4.75rem) !important;
  max-width: clamp(8rem, 4.25rem + 3vw, 13.5rem) !important;
}

.store-modal-brand[alt="Burger King"] {
  height: clamp(2.55rem, 1.5rem + 1.05vw, 4rem) !important;
  max-width: clamp(7rem, 3.75rem + 2.75vw, 11rem) !important;
}

@media (min-width: 768px) and (max-width: 1535px) {
  .store-modal-brand {
    height: 2.5rem !important;
    max-width: 7rem !important;
  }

  .store-modal-brand[alt="Popeyes"] {
    height: 2.9rem !important;
    max-width: 8.5rem !important;
  }

  .store-modal-brand[alt="Burger King"] {
    height: 2.65rem !important;
    max-width: 7.5rem !important;
  }

  .store-modal-brand:hover {
    transform: scale(1.08);
  }
}

.store-modal-brand:hover {
  transform: scale(1.16);
  opacity: 1 !important;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.18));
}

/* Hero — imagem de fundo (slideshow) */
section img[alt="Grupo Alvim restaurante"] {
  transform: translateZ(0);
  backface-visibility: hidden;
}

/* Mobile — logos, modal, menu, hero */
@media (max-width: 767px) {
  #inicio .absolute.inset-0,
  #inicio .absolute.inset-0 > div {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
  }

  #inicio img[alt="Grupo Alvim restaurante"] {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
  }

  nav > div,
  nav .h-16 {
    min-height: 3.5rem !important;
  }

  nav .site-menu-toggle {
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    flex-shrink: 0;
  }

  nav .site-menu-toggle svg {
    display: block;
    width: 22px;
    height: 22px;
  }

  nav .site-menu-toggle svg line {
    stroke: currentColor;
  }

  nav .site-mobile-nav .site-nav-link.text-lg {
    font-size: 0.9375rem !important;
  }

  .site-footer .footer-brand-logo {
    height: 3.05rem !important;
    max-width: 188px !important;
  }

  .site-footer .footer-tagline-line1,
  .site-footer .footer-tagline-line2 {
    font-size: 0.8rem !important;
    white-space: normal;
    max-width: 15rem;
  }

  .store-modal-brand {
    height: 2.35rem !important;
    max-width: 6.5rem !important;
  }

  .store-modal-brand[alt="Popeyes"] {
    height: 2.65rem !important;
    max-width: 7.5rem !important;
  }

  .store-modal-brand[alt="Burger King"] {
    height: 2.5rem !important;
    max-width: 7rem !important;
  }

  .store-modal-brand:hover {
    transform: scale(1.08);
  }

  .store-location-modal {
    width: calc(100vw - 2rem) !important;
    max-width: 22rem !important;
    margin: 0 auto;
    padding: 1.25rem !important;
    border-radius: 1rem !important;
  }

  .store-location-modal h2 {
    font-size: 1.25rem !important;
  }

  #inicio {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    padding-top: 3.75rem !important;
    padding-bottom: 1.75rem !important;
    min-height: 72svh !important;
    min-height: 72dvh !important;
  }

  #inicio > div.relative.z-10.w-full {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 0 0 auto;
    padding-bottom: 0 !important;
    padding-top: 0 !important;
    margin: auto 0;
  }

  #inicio .max-w-3xl {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding-right: 0;
  }

  #inicio .mt-12,
  #inicio .mt-12.md\:mt-16 {
    margin-top: 1.25rem !important;
    justify-content: center;
    width: 100%;
  }

  #root #inicio h1,
  #inicio h1 {
    text-align: center;
    font-size: var(--hero-h1, clamp(1.15rem, 4.8vw + 0.4rem, 1.5rem)) !important;
    line-height: 1.12 !important;
    margin-bottom: 0.75rem !important;
  }

  #inicio h1 br {
    display: none !important;
  }

  #inicio p {
    text-align: center;
    font-size: 0.8125rem !important;
    margin-bottom: 1rem !important;
  }

  #inicio .inline-flex.items-center.gap-2.mb-6,
  #inicio .inline-flex.items-center.gap-2.mb-6.md\:mb-8 {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    margin-bottom: 0.75rem !important;
    padding: 0.35rem 0.75rem !important;
  }

  #inicio .inline-flex.items-center.gap-2 span.rounded-full {
    flex-shrink: 0;
    margin-top: 0 !important;
    width: 6px !important;
    height: 6px !important;
  }

  #inicio .inline-flex.items-center.gap-2 p {
    font-size: 0.52rem !important;
    letter-spacing: 0.18em !important;
    padding: 0 !important;
    margin: 0 !important;
    line-height: 1 !important;
  }

  #inicio .flex.flex-wrap.items-center.gap-4 {
    justify-content: center;
    width: 100%;
    gap: 0.75rem !important;
  }

  #inicio a.rounded-full {
    font-size: 0.62rem !important;
    padding: 0.5rem 0.85rem !important;
    letter-spacing: 0.06em;
    gap: 0.5rem !important;
    width: auto !important;
    max-width: 100%;
    justify-content: center;
    align-self: center;
  }

  #inicio a.border-b {
    align-self: center;
    font-size: 0.62rem !important;
    letter-spacing: 0.05em !important;
  }

  #inicio a.rounded-full svg {
    width: 14px !important;
    height: 14px !important;
  }

  #inicio .font-display.text-2xl,
  #inicio .font-display.text-2xl.md\:text-3xl {
    font-size: 1.15rem !important;
  }

  #inicio span.text-\[10px\],
  #inicio .text-\[10px\].md\:text-xs {
    font-size: 0.52rem !important;
    letter-spacing: 0.15em !important;
  }

  .text-5xl {
    font-size: var(--stat-number, 1.15rem) !important;
  }

  .text-7xl,
  .md\:text-7xl {
    font-size: var(--stat-number, 1.15rem) !important;
  }

  .text-4xl,
  .md\:text-4xl,
  .md\:text-6xl,
  .font-display.text-4xl {
    font-size: var(--section-display, 1.15rem) !important;
    line-height: 1.15 !important;
  }

  .text-3xl {
    font-size: var(--section-h2, 1.05rem) !important;
  }

  .text-2xl {
    font-size: 1rem !important;
  }

  .text-xl {
    font-size: 0.9375rem !important;
  }

  .text-lg {
    font-size: var(--text-lg-size, 0.8125rem) !important;
  }

  /* Hero início — badge (texto no parágrafo interno, ver regras acima) */

  /* Stats +20 restaurantes (grid e carrossel) */
  .grid.grid-cols-2 .text-5xl {
    font-size: var(--stat-number, 1.1rem) !important;
  }

  .grid.grid-cols-2 .text-xs {
    font-size: 0.6rem !important;
    letter-spacing: 0.12em !important;
  }

  /* O que nos move + cards inspiração */
  .premium-card {
    padding: 1rem !important;
    text-align: center;
  }

  .premium-card > div.w-14,
  .group.bg-card.rounded-3xl > div.w-14 {
    margin-left: auto !important;
    margin-right: auto !important;
    margin-bottom: 0.75rem !important;
  }

  .premium-card h3,
  .group.bg-card.rounded-3xl h3 {
    font-size: var(--section-h3, 0.9375rem) !important;
    margin-bottom: 0.35rem !important;
  }

  .premium-card ul {
    margin-top: 0 !important;
    text-align: left;
  }

  .premium-card ul li {
    gap: 0.5rem !important;
  }

  .premium-card ul li > span.rounded-full {
    margin-top: 0.35rem !important;
  }

  .premium-card p,
  .group.bg-card.rounded-3xl p {
    font-size: var(--text-body, 0.75rem) !important;
    line-height: 1.5 !important;
  }

  .grid.grid-cols-2.md\:grid-cols-4.gap-3 {
    gap: 0.5rem !important;
  }

  .grid.grid-cols-2.md\:grid-cols-4.gap-3 img,
  .grid.grid-cols-2.md\:grid-cols-4.gap-3 .aspect-\[4\/3\] {
    max-height: 88px;
  }

  .grid.grid-cols-2.md\:grid-cols-4.gap-3 .col-span-2.row-span-2 img {
    max-height: 140px;
  }

  .group.bg-card.rounded-3xl {
    padding: 1rem !important;
  }

  /* Franqueado — seções e formulário (hero ajustado abaixo no bloco mobile) */
  section[style*="hsl(0,0%,3%)"] h2.text-3xl,
  section[style*="hsl(0,0%,3%)"] .text-3xl {
    font-size: var(--section-h2, 1.05rem) !important;
    line-height: 1.12 !important;
  }

  section[style*="hsl(0,0%,3%)"] p.text-lg {
    font-size: var(--text-body, 0.75rem) !important;
    line-height: 1.5 !important;
  }

  h2.text-3xl.md\:text-5xl {
    font-size: var(--section-h2, 1.05rem) !important;
    line-height: 1.12 !important;
  }

  p.text-lg.leading-relaxed {
    font-size: var(--text-body, 0.75rem) !important;
    line-height: 1.5 !important;
  }

  .text-\[15px\] {
    font-size: var(--text-body, 0.75rem) !important;
  }

  /* Franqueado — cards parceiro centralizados */
  .group.bg-card.rounded-3xl {
    text-align: center;
  }

  /* Linha do tempo */
  .site-timeline-section h2 {
    font-size: var(--section-h2, 1.05rem) !important;
  }

  .site-timeline-section .text-xs {
    font-size: 0.55rem !important;
    letter-spacing: 0.22em !important;
  }

  .site-timeline-year,
  .site-timeline-year.w-16,
  .site-timeline-year.md\:w-20 {
    width: 2rem !important;
    height: 2rem !important;
    min-width: 2rem !important;
    max-width: 2rem !important;
    border-radius: 0.55rem !important;
    border-width: 1px !important;
    box-shadow: 0 3px 10px hsl(25 95% 53% / 0.12) !important;
  }

  .site-timeline-year span,
  .site-timeline-year .text-base,
  .site-timeline-year .md\:text-lg {
    font-size: 0.58rem !important;
    letter-spacing: -0.02em;
  }

  .site-timeline-item {
    gap: 0.55rem !important;
  }

  .site-timeline-line {
    min-height: 1.75rem !important;
    margin-top: 0.3rem !important;
  }

  .site-timeline-item:hover .site-timeline-year {
    transform: scale(1.04);
  }

  .site-timeline-card {
    padding: 0.65rem 0.7rem !important;
    margin-bottom: 0.55rem !important;
    top: 0 !important;
  }

  .site-timeline-card p {
    font-size: 0.72rem !important;
    line-height: 1.5 !important;
  }

  /* Modal lojas — endereços e contato */
  .store-location-modal p,
  .store-location-modal .text-sm {
    font-size: 0.78rem !important;
    line-height: 1.45 !important;
  }

  .store-location-modal .flex.items-start.gap-3 {
    padding: 0.65rem !important;
  }

  .store-location-modal .store-modal-footer a {
    font-size: 0.78rem !important;
  }

  .store-location-modal .store-modal-footer svg {
    width: 14px !important;
    height: 14px !important;
  }

  /* Lista de lojas abaixo do mapa */
  #nossas-lojas-mapa + div {
    gap: 0.5rem !important;
  }

  #nossas-lojas-mapa + div button {
    padding: 0.55rem 0.65rem !important;
    font-size: 0.7rem !important;
    border-radius: 0.65rem !important;
    gap: 0.45rem !important;
  }

  #nossas-lojas-mapa + div button .text-xs {
    font-size: 0.55rem !important;
    margin-bottom: 0.1rem !important;
    letter-spacing: 0.08em !important;
  }

  #nossas-lojas-mapa + div button .text-sm {
    font-size: 0.7rem !important;
    line-height: 1.35 !important;
  }

  #nossas-lojas-mapa + div button svg {
    width: 13px !important;
    height: 13px !important;
    flex-shrink: 0;
    margin-top: 2px;
  }

  /* Footer — tagline máx. 3 linhas */
  .site-footer .footer-tagline-line1 {
    font-size: 0.65rem !important;
    max-width: 19rem;
    line-height: 1.3 !important;
    white-space: normal;
  }

  .site-footer .footer-tagline-line2 {
    font-size: 0.65rem !important;
    max-width: 19rem;
    line-height: 1.3 !important;
  }

  .site-footer .footer-brand-col p {
    font-size: 0.65rem !important;
  }

  .site-footer .footer-main-grid h4 {
    font-size: 0.65rem !important;
    margin-bottom: 0.65rem !important;
    letter-spacing: 0.14em !important;
  }

  .site-footer .footer-main-grid .flex.flex-col.gap-3 a,
  .site-footer .footer-contact-link,
  .site-footer .footer-location {
    font-size: 0.75rem !important;
  }

  .site-footer .footer-copyright {
    padding-top: 0.6rem !important;
    padding-bottom: 0.85rem !important;
  }

  .site-footer .footer-copyright p {
    font-size: 0.58rem !important;
  }

  /* Títulos de seção (Espaços que nos inspiram, Nossos Restaurantes, etc.) */
  .font-display.text-4xl.md\:text-6xl {
    font-size: var(--section-display, 1.15rem) !important;
    line-height: 1.12 !important;
  }

  section .text-xs.tracking-\[0\.4em\] {
    font-size: 0.55rem !important;
    letter-spacing: 0.22em !important;
    margin-bottom: 0.75rem !important;
  }

  section .text-center.mb-16,
  section .text-center.mb-20 {
    margin-bottom: 1.25rem !important;
  }

  /* Seções padding — typography-responsive também aplica; reforço aqui */
  #root section.py-24,
  #root section.py-20,
  section.py-24,
  section.py-20 {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }

  /* Hero Sobre — mobile: faixa compacta, texto centrado na imagem */
  .min-h-screen > section.min-h-\[80vh\]:first-of-type {
    min-height: 48svh !important;
    min-height: 48dvh !important;
    max-height: 52svh !important;
    max-height: 52dvh !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    padding-top: calc(3.85rem + env(safe-area-inset-top, 0px)) !important;
    padding-bottom: 1.15rem !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  #hero-investidor {
    min-height: 48svh !important;
    min-height: 48dvh !important;
    max-height: 52svh !important;
    max-height: 52dvh !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    padding-top: calc(3.85rem + env(safe-area-inset-top, 0px)) !important;
    padding-bottom: 1.15rem !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  .min-h-screen > section.min-h-\[80vh\]:first-of-type > .absolute.inset-0,
  #hero-investidor > .absolute.inset-0 {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    overflow: hidden !important;
  }

  /* Sobre — recorte no trecho esquerdo (Home of the Whopper + salão) */
  .min-h-screen > section.min-h-\[80vh\]:first-of-type > .absolute.inset-0 img,
  .min-h-screen > section.min-h-\[80vh\]:first-of-type img[alt="Sobre o Grupo Alvim"] {
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    object-fit: cover !important;
    object-position: 20% 46% !important;
    transform: scale(1.55) !important;
    transform-origin: 20% 46% !important;
  }

  /* Franqueado — foto diferente, recorte central */
  #hero-investidor > .absolute.inset-0 img {
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    object-fit: cover !important;
    object-position: center 38% !important;
    transform: scale(1.2) !important;
    transform-origin: center 38% !important;
  }

  /* Overlay mais escuro no mobile — texto legível como no desktop */
  .min-h-screen > section.min-h-\[80vh\]:first-of-type > .absolute.inset-0 > .absolute.inset-0 {
    background: linear-gradient(
        180deg,
        hsl(0 0% 0% / 0.45) 0%,
        hsl(0 0% 0% / 0.62) 42%,
        hsl(0 0% 0% / 0.88) 100%
      ),
      linear-gradient(
        90deg,
        hsl(0 0% 0% / 0.88) 0%,
        hsl(0 0% 0% / 0.62) 55%,
        hsl(0 0% 0% / 0.38) 100%
      ) !important;
  }

  /* Overlay Franqueado — legibilidade no mobile */
  #hero-investidor > .absolute.inset-0 > .absolute.inset-0 {
    background: linear-gradient(
        180deg,
        hsl(0 0% 0% / 0.45) 0%,
        hsl(0 0% 0% / 0.58) 42%,
        hsl(0 0% 0% / 0.85) 100%
      ),
      linear-gradient(
        90deg,
        hsl(0 0% 0% / 0.88) 0%,
        hsl(0 0% 0% / 0.55) 55%,
        hsl(0 0% 0% / 0.35) 100%
      ) !important;
  }

  .min-h-screen > section.min-h-\[80vh\]:first-of-type > .relative.z-10 {
    position: relative !important;
    z-index: 10 !important;
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    padding-top: 0 !important;
    margin-top: 0 !important;
  }

  .min-h-\[80vh\] h1.text-4xl {
    font-size: clamp(1.1rem, 4.8vw + 0.3rem, 1.38rem) !important;
    line-height: 1.14 !important;
    margin-bottom: 0.35rem !important;
    margin-top: 0 !important;
  }

  #hero-investidor > .relative.z-10 {
    position: relative !important;
    z-index: 10 !important;
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    padding-top: 0 !important;
    margin-top: 0 !important;
  }

  #hero-investidor .text-xs.tracking-\[0\.4em\] {
    font-size: 0.52rem !important;
    letter-spacing: 0.16em !important;
    padding: 0.3rem 0.6rem !important;
    margin-bottom: 0.65rem !important;
    margin-top: 0 !important;
    display: inline-block !important;
  }

  #hero-investidor h1 {
    font-size: clamp(1.1rem, 4.8vw + 0.3rem, 1.4rem) !important;
    line-height: 1.14 !important;
    margin-bottom: 0.35rem !important;
    margin-top: 0 !important;
  }

  #hero-investidor p.text-lg {
    font-size: 0.8125rem !important;
    line-height: 1.5 !important;
    margin-bottom: 0 !important;
  }

  .min-h-\[80vh\] .text-xs.tracking-\[0\.4em\] {
    font-size: 0.52rem !important;
    letter-spacing: 0.16em !important;
    padding: 0.3rem 0.6rem !important;
    margin-bottom: 0.65rem !important;
    margin-top: 0 !important;
    display: inline-block !important;
  }

  /* Botão enviar formulário */
  form button[type="submit"].rounded-full,
  button[type="submit"].w-full.bg-primary {
    padding: 0.55rem 1rem !important;
    font-size: 0.65rem !important;
    letter-spacing: 0.08em !important;
    min-height: unset !important;
  }

  /* Formulário — campos menores */
  form input,
  form textarea,
  form select,
  form label {
    font-size: 0.8125rem !important;
  }

  form .space-y-6 > * + * {
    margin-top: 1rem !important;
  }

  form .rounded-2xl,
  form .rounded-3xl {
    padding: 1rem !important;
  }
}

@media (max-width: 380px) {
  .site-header-logo {
    height: 2.4rem !important;
    max-width: 152px !important;
  }

  .site-footer .footer-brand-logo {
    height: 2.85rem !important;
    max-width: 175px !important;
  }

  #root #inicio h1,
  #inicio h1 {
    font-size: 1.1rem !important;
  }

  #inicio a.rounded-full {
    font-size: 0.58rem !important;
    padding: 0.45rem 0.75rem !important;
    width: auto !important;
    justify-content: flex-start;
  }
}
