/* fotomara marketing-site styles */
@import url('colors_and_type.css');

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html, body, #root { min-height: 100%; }
html { scroll-padding-top: 88px; overflow-x: clip; }
body {
  background: radial-gradient(120% 90% at 30% 20%, #fff9fa 0%, #fdeef2 45%, #f9dde5 100%) fixed;
  color: var(--fm-ink);
  font-family: var(--fm-font-body);
  overflow-x: hidden;
}
body.nav-open { overflow: hidden; }
.site-animated-background {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.site-animated-background canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 1;
}
@media (prefers-reduced-motion: reduce) and (min-width: 99999px) /* desligado de propósito: as animações ficam sempre ativas */ {
  .sticky-contact-wrap,
  .sticky-contact-trigger,
  .sticky-contact-panel { transition: none !important; animation: none !important; }
}
#root { position: relative; isolation: isolate; }
#root > *:not(.site-animated-background):not(.sg-overlay) { position: relative; z-index: 1; }
.fm-animated-logo { display: inline-block; flex: none; overflow: hidden; }
.fm-animated-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
  animation: fm-logo-blink 4.4s ease-in-out infinite;
}
@keyframes fm-logo-blink {
  0%, 42%, 46%, 100% { transform: scaleY(1); }
  44% { transform: scaleY(0.12); }
}
@media (prefers-reduced-motion: reduce) and (min-width: 99999px) /* desligado de propósito: as animações ficam sempre ativas */ {
  .fm-animated-logo img { animation: none; }
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }

#contato .booking-field {
  background: rgba(255,255,255,0.04) !important;
  border: 1px solid rgba(255,255,255,0.14) !important;
  color: #FFFFFF;
}
#contato .booking-field::placeholder { color: rgba(255,255,255,0.42); }
#contato .booking-field:focus {
  border-color: rgba(220,165,199,0.78) !important;
  box-shadow: 0 0 0 3px rgba(220,165,199,0.14);
}
#contato select.booking-field option { background: #1A1818; color: #FFFFFF; }
#contato .booking-choice {
  padding: 9px 15px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 9999px;
  background: rgba(255,255,255,0.03);
  color: rgba(255,255,255,0.88);
  font-family: var(--fm-font-body);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}
#contato .booking-choice:hover:not(:disabled) { border-color: rgba(220,165,199,0.7); transform: translateY(-1px); }
#contato .booking-choice:disabled { cursor: not-allowed; opacity: 0.5; }
#contato .booking-choice.is-selected {
  border-color: #DCA5C7;
  background: #DCA5C7;
  color: #1A1818;
}
#contato .booking-progress > div { transition: background-color 220ms ease; }
@media (max-width: 700px) {
  #contato .booking-form-card { padding: 24px !important; border-radius: 20px !important; }
}
@media (prefers-reduced-motion: reduce) and (min-width: 99999px) /* desligado de propósito: as animações ficam sempre ativas */ {
  #contato .booking-choice,
  #contato .booking-progress > div { transition: none; }
}

.fm-container { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 640px) { .fm-container { padding: 0 16px; } }

/* generic chrome */
.fm-section { padding: 80px 0; }
.fm-section.compact { padding: 52px 0; }
.fm-section.tight { padding: 40px 0; }

.fm-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fm-fg-subtle);
}

.fm-h1 { font-family: var(--fm-font-headline); font-weight: 400; font-size: clamp(30px, 3.8vw, 58px); line-height: 0.96; letter-spacing: -0.005em; margin: 0; text-wrap: balance; }
.fm-h2 { font-family: var(--fm-font-display); font-weight: 400; font-size: clamp(32px, 4.2vw, 58px); line-height: 1.02; margin: 0; text-wrap: balance; }
.fm-h3 { font-family: var(--fm-font-body); font-weight: 700; font-size: 19px; line-height: 1.28; margin: 0; text-wrap: balance; }
.fm-display { font-family: var(--fm-font-display); font-weight: 400; line-height: 1.0; }

.fm-btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Comfortaa', sans-serif; font-weight: 700; font-size: 13.5px;
  border: none; border-radius: 12px; padding: 14px 22px;
  cursor: pointer; transition: all 180ms cubic-bezier(0.22,0.65,0.34,1);
  white-space: nowrap;
}
.fm-btn.primary { background: var(--fm-rosa); color: var(--fm-ink); box-shadow: 0 8px 24px rgba(220,165,199,0.4); }
.fm-btn.primary:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(220,165,199,0.55); filter: brightness(1.03); }
.fm-btn.dark { background: var(--fm-ink); color: var(--fm-rosa); }
.fm-btn.dark:hover { background: #2A2526; transform: translateY(-2px); }
.fm-btn.outline { background: transparent; color: var(--fm-ink); border: 1.5px solid var(--fm-ink); }
.fm-btn.outline:hover { background: var(--fm-ink); color: var(--fm-paper); }
.fm-btn.ghost { background: transparent; color: var(--fm-ink); padding: 16px 8px; }
.fm-btn.ghost:hover { color: var(--fm-rosa); }
.fm-btn:active { transform: scale(0.97); }
.fm-btn:focus-visible { outline: 3px solid var(--fm-ink); outline-offset: 4px; }
.fm-joy-reveal {
  opacity: 0;
  translate: 0 22px;
  scale: 0.985;
  transition:
    opacity 650ms ease var(--fm-joy-delay, 0ms),
    translate 650ms cubic-bezier(0.2, 0.75, 0.25, 1) var(--fm-joy-delay, 0ms),
    scale 650ms cubic-bezier(0.2, 0.75, 0.25, 1) var(--fm-joy-delay, 0ms);
}
.fm-joy-reveal.fm-joy-visible {
  opacity: 1;
  translate: 0 0;
  scale: 1;
}
#sobre .showcase-icon {
  transition: transform 280ms cubic-bezier(0.2, 0.75, 0.25, 1);
}
#sobre .showcase-row:hover .showcase-icon {
  transform: rotate(-8deg) scale(1.08);
}
#contato .booking-choice {
  transition: transform 200ms ease, border-color 200ms ease, background-color 200ms ease;
}
#contato .booking-choice:hover {
  transform: translateY(-2px) rotate(-1deg);
}
.partner-card {
  transition: transform 240ms ease, box-shadow 240ms ease;
}
.partner-card:hover {
  transform: translateY(-4px) rotate(-1deg);
  box-shadow: 0 12px 24px rgba(26, 24, 24, 0.12);
}
.sticky-contact-trigger:focus-visible,
.sticky-contact-panel a:focus-visible,
.sticky-contact-panel button:focus-visible {
  outline: 3px solid var(--fm-rosa);
  outline-offset: 4px;
}
.fm-btn.lg { padding: 13px 22px; font-size: 13.5px; }
.fm-btn.sm { padding: 8px 14px; font-size: 12px; border-radius: 10px; }

@media (prefers-reduced-motion: reduce) and (min-width: 99999px) /* desligado de propósito: as animações ficam sempre ativas */ {
  .fm-joy-reveal,
  .fm-joy-reveal.fm-joy-visible,
  #sobre .showcase-icon,
  #contato .booking-choice,
  .partner-card {
    opacity: 1;
    translate: none;
    scale: 1;
    transform: none;
    transition: none !important;
  }
}

/* pills */
.fm-pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Comfortaa', sans-serif; font-weight: 600; font-size: 13px;
  padding: 8px 14px; border-radius: 9999px;
  background: var(--fm-rosa-claro); color: var(--fm-ink);
}
.fm-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--fm-rosa); }

#sobre .about-showcase { display: flex; flex-direction: column; gap: 64px; }
#sobre .showcase-row { display: flex; align-items: center; justify-content: space-between; gap: clamp(32px, 6vw, 76px); }
#sobre .showcase-row.reverse { flex-direction: row-reverse; }
#sobre .showcase-row.image-only .showcase-image { flex-basis: 100%; }
#sobre .showcase-image { position: relative; flex: 1 1 52%; min-width: 0; aspect-ratio: 4 / 3; }
#sobre .showcase-image img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 24px; box-shadow: var(--fm-shadow-3); }
#sobre .showcase-content { flex: 1 1 48%; max-width: 500px; }
#sobre .showcase-icon { display: inline-flex; width: 48px; height: 48px; align-items: center; justify-content: center; border-radius: 50%; margin-bottom: 18px; }
#sobre .showcase-content h3 { margin: 0 0 14px; font-size: clamp(25px, 3vw, 34px); text-transform: none; }
#sobre .showcase-content p { margin: 0; color: var(--fm-fg-muted); font-size: 15px; line-height: 1.8; }
#sobre .showcase-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
#sobre .showcase-tags span { padding: 7px 12px; border-radius: var(--fm-r-pill); font-size: 11px; font-weight: 700; }

/* utility */
.fm-dim { color: var(--fm-fg-muted); }
.fm-strike { text-decoration: line-through; opacity: 0.55; }

/* Footer links */
.footer-link:hover,
.footer-link:focus-visible {
  color: #FFFFFF !important;
  background: #DCA5C7;
  padding-left: 10px !important;
  outline: none;
}

/* ─── SEÇÃO 04 · GALERIA POLAROID STACKS ─── */
.fm-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  justify-content: center;
  margin-top: 56px;
  perspective: 1000px; /* Give 3D depth to hover animations */
}

@media (max-width: 900px) {
  .fm-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
  }
}

@media (max-width: 767px) {
  .fm-gallery-grid {
    grid-template-columns: 1fr;
    gap: 56px;
    max-width: 360px;
    margin: 48px auto 0;
  }
}

.gallery-stack-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.polaroid-stack {
  position: relative;
  width: 100%;
  max-width: 320px;
  height: 380px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--fm-paper-2);
  border-radius: var(--fm-r-lg);
  border: 1.5px dashed var(--fm-line);
  box-shadow: inset 0 4px 12px rgba(26, 24, 24, 0.02);
  transition: all var(--fm-dur-med) var(--fm-ease);
  cursor: pointer;
}

.polaroid-stack:hover {
  background: rgba(220, 165, 199, 0.04);
  border-color: var(--fm-rosa);
  box-shadow: 0 12px 32px rgba(220, 165, 199, 0.08);
}

/* Washi tape decorativo no topo da pilha */
.washi-tape {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%) rotate(-3deg);
  width: 130px;
  height: 28px;
  background: rgba(220, 165, 199, 0.75);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  border-left: 4px dashed var(--fm-paper-2);
  border-right: 4px dashed var(--fm-paper-2);
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
  z-index: 15;
  pointer-events: none;
  font-family: 'Comfortaa', sans-serif;
  font-size: 10px;
  font-weight: 700;
  color: var(--fm-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all var(--fm-dur-med) var(--fm-ease);
}

.polaroid-stack:hover .washi-tape {
  transform: translateX(-50%) rotate(2deg) scale(1.06);
  background: var(--fm-rosa);
}

/* Polaroid Card */
.polaroid-card {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  background: #ffffff;
  padding: 12px 12px 40px;
  border-radius: var(--fm-r-sm);
  box-shadow: var(--fm-shadow-2);
  width: 220px;
  aspect-ratio: 1 / 1.25;
  transition: transform var(--fm-dur-med) var(--fm-ease), box-shadow var(--fm-dur-med) var(--fm-ease), z-index 0ms;
  text-decoration: none;
  display: flex;
  flex-direction: column;
}

.polaroid-card:hover {
  transform: scale(1.1) rotate(0deg) translateY(-20px) !important;
  z-index: 20 !important;
  box-shadow: var(--fm-shadow-3), 0 20px 40px rgba(26,24,24,0.15);
}

.polaroid-photo-frame {
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: 3px;
  overflow: hidden;
  position: relative;
  background: var(--fm-paper-2);
}

.polaroid-caption-text {
  position: absolute;
  bottom: 12px;
  left: 0;
  right: 0;
  text-align: center;
  font-family: 'Comfortaa', sans-serif;
  font-weight: 700;
  font-size: 12px;
  color: var(--fm-ink);
  letter-spacing: 0.01em;
}

/* Posicionamento das polaroides na pilha */
.polaroid-card.card-0 {
  transform: translateX(-54%) rotate(-6deg) translateY(-8px);
  z-index: 5;
}

.polaroid-card.card-1 {
  transform: translateX(-46%) rotate(5deg) translateY(8px);
  z-index: 4;
}

.polaroid-card.card-2 {
  transform: translateX(-50%) rotate(-2deg);
  z-index: 3;
}

/* Efeito de leque (fan out) no hover do stack */
.polaroid-stack:hover .polaroid-card.card-0 {
  transform: translateX(-55%) rotate(-14deg) translateY(-15px);
}

.polaroid-stack:hover .polaroid-card.card-1 {
  transform: translateX(-45%) rotate(12deg) translateY(-10px);
}

.polaroid-stack:hover .polaroid-card.card-2 {
  transform: translateX(-50%) rotate(0deg) translateY(12px);
}

/* Legendas das pilhas abaixo delas */
.stack-title {
  margin-top: 20px;
  font-family: 'Bowlby One', sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.2;
  color: var(--fm-ink);
  text-align: center;
  transition: color var(--fm-dur-med) var(--fm-ease);
}

.stack-subtitle {
  margin-top: 6px;
  font-family: 'Comfortaa', sans-serif;
  font-weight: 400;
  font-size: 12px;
  color: var(--fm-fg-subtle);
  text-align: center;
}

.polaroid-stack:hover + .stack-title-wrapper .stack-title {
  color: var(--fm-rosa);
}

/* ─── Parceiros — marquee contínuo com logos originais ─────────────────────── */
.partners-marquee {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.partners-scroller {
  display: flex;
  width: max-content;
  animation: partnersScroll 34s linear infinite;
}

.partners-marquee:hover .partners-scroller {
  animation-play-state: paused;
}

.partners-track {
  display: flex;
  flex-shrink: 0;
  align-items: stretch;
  gap: 20px;
  padding-right: 20px;
}

.partner-card {
  background:
    linear-gradient(135deg, #0b000c 0%, rgba(49,32,41,0.92) 58%, rgba(220,165,199,0.26) 100%);
  border-radius: var(--fm-r-lg);
  border: 1px solid rgba(220, 165, 199, 0.18);
  flex: 0 0 190px;
  min-height: 108px;
  transition: transform var(--fm-dur-med) var(--fm-ease), box-shadow var(--fm-dur-med) var(--fm-ease);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.07), 0 8px 22px rgba(0,0,0,0.14);
}

.partner-card:hover {
  transform: translateY(-4px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.10), 0 14px 30px rgba(220, 165, 199, 0.12);
}

.partner-logo {
  display: block;
  max-width: 100%;
  max-height: 64px;
  width: auto;
  height: auto;
  object-fit: contain;
}

@keyframes partnersScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (max-width: 640px) {
  .partners-track {
    gap: 14px;
    padding-right: 14px;
  }

  .partner-card {
    flex-basis: 158px;
    min-height: 88px;
    padding: 10px 16px !important;
  }

  .partner-logo {
    max-height: 52px;
  }
}

@media (prefers-reduced-motion: reduce) and (min-width: 99999px) /* desligado de propósito: as animações ficam sempre ativas */ {
  .partners-scroller { animation-play-state: paused; }
}

/* ─── Hamburger button ──────────────────────────────────────────────────────── */
.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: var(--fm-ink);
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: background 150ms;
  -webkit-tap-highlight-color: transparent;
}
.nav-hamburger:hover { background: rgba(26,24,24,0.06); }
.nav-hamburger:active { background: rgba(26,24,24,0.1); }

/* ─── Mobile full-screen overlay menu ──────────────────────────────────────── */
.nav-mobile-overlay {
  position: fixed;
  inset: 0;
  z-index: 49;
  background: rgba(251,247,244,0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  animation: navOverlayIn 220ms cubic-bezier(0.22,0.65,0.34,1) both;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

@keyframes navOverlayIn {
  from { opacity: 0; transform: translateY(-12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.nav-mobile-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
  padding: 80px 32px 40px;
  min-height: 0;
}

.nav-mobile-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nav-mobile-link {
  display: block;
  font-family: 'Bowlby One', sans-serif;
  font-size: clamp(32px, 9vw, 52px);
  line-height: 1.1;
  color: var(--fm-ink);
  cursor: pointer;
  padding: 10px 0;
  border-bottom: 1px solid rgba(26,24,24,0.06);
  transition: color 140ms, padding-left 140ms;
  -webkit-tap-highlight-color: transparent;
}
.nav-mobile-link:last-child { border-bottom: none; }
.nav-mobile-link.active { color: var(--fm-rosa); padding-left: 6px; }

.nav-desktop-links a:hover,
.nav-desktop-links a:focus-visible {
  color: var(--fm-rosa) !important;
  background: transparent;
  text-decoration: none;
  outline: none;
}

.nav-mobile-link:hover,
.nav-mobile-link:focus-visible {
  color: var(--fm-rosa);
  background: transparent;
  text-decoration: none;
  outline: none;
}

.nav-mobile-footer {
  display: flex;
  gap: 24px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(26,24,24,0.08);
}

.nav-mobile-social {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Comfortaa', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--fm-fg-muted);
  text-decoration: none;
  transition: color 140ms;
  -webkit-tap-highlight-color: transparent;
}
.nav-mobile-social:first-child:hover { color: #25D366; }
.nav-mobile-social:last-child:hover  { color: var(--fm-rosa); }

.ts-flippable[role="button"] {
  -webkit-tap-highlight-color: transparent;
}
.ts-flippable[role="button"]:active {
  filter: brightness(0.97);
  box-shadow: 0 8px 20px rgba(26,24,24,0.14), 0 1px 3px rgba(26,24,24,0.08) !important;
}
.ts-flippable[role="button"]:focus-visible {
  outline: 2px solid var(--fm-rosa);
  outline-offset: 5px;
}

/* ─── Mobile adaptation layer for inline React layouts ────────────────────── */
@media (max-width: 860px) {
  .fm-section,
  .fm-section.compact,
  .fm-section.tight {
    padding: 56px 0;
  }

  nav .fm-container {
    gap: 12px !important;
  }

  /* Hide desktop links — hamburger takes over */
  .nav-desktop-links {
    display: none !important;
  }

  /* Show hamburger */
  .nav-hamburger {
    display: flex !important;
  }

  nav .fm-container > a .fm-animated-logo {
    width: 38px !important;
    height: 38px !important;
  }

  #contato .fm-container > div,
  #faq .fm-container > div,
  #photonow .fm-container > div,
  #como-contratar .fm-container > div:first-child {
    grid-template-columns: 1fr !important;
    gap: 34px !important;
  }

  #sobre,
  #contato,
  #faq,
  #photonow,
  #como-contratar,
  #depoimentos {
    padding-top: 64px !important;
    padding-bottom: 64px !important;
  }

  #faq {
    padding-top: 48px !important;
    padding-bottom: 48px !important;
  }

  #photonow {
    padding-top: 44px !important;
  }

  #faq .fm-container > div {
    gap: 28px !important;
  }

  #faq .fm-container > div > div:first-child {
    position: static !important;
  }

  #como-contratar .fm-container > div:nth-child(2) > div:first-child {
    display: none !important;
  }

  #sobre .about-showcase {
    gap: 48px;
  }

  #sobre .showcase-row,
  #sobre .showcase-row.reverse {
    flex-direction: column;
    align-items: stretch;
    gap: 22px;
  }

  #sobre .showcase-image {
    width: 100%;
    max-width: 600px;
    margin-inline: auto;
    flex: none;
    aspect-ratio: 4 / 3;
  }

  #sobre .showcase-image img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 18px;
  }

  #sobre .showcase-content {
    max-width: 600px;
    width: 100%;
    margin-inline: auto;
  }

  #como-contratar .fm-container > div:nth-child(2) > div:last-child,
  #depoimentos .fm-container > div:nth-child(2) {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  #depoimentos .ts-flippable:nth-child(3) {
    grid-column: 1 / -1;
    justify-self: center;
    width: 100%;
    max-width: 374px;
  }

  #photonow .fm-container > div > div:last-child {
    min-height: 610px !important;
  }
}

@media (max-width: 640px) {
  html { scroll-padding-top: 72px; }

  .fm-h1 {
    font-size: clamp(32px, 10vw, 44px);
    line-height: 0.98;
  }

  .fm-h2 {
    font-size: clamp(26px, 8.5vw, 38px);
    line-height: 1.06;
  }

  .fm-h3 {
    font-size: 17px;
  }

  .fm-btn,
  .fm-btn.lg {
    width: 100%;
    justify-content: center;
    white-space: normal;
    text-align: center;
    padding: 13px 18px;
  }

  nav .fm-container {
    padding: 10px 16px !important;
  }

  nav .fm-container > div:last-child {
    gap: 12px !important;
  }

  .polaroid-stack {
    height: 330px;
  }

  .polaroid-card {
    width: 190px;
  }

  .partners-grid {
    grid-template-columns: 1fr 1fr;
  }

  #contato .fm-container > div > div:last-child {
    padding: 20px !important;
    border-radius: 18px !important;
  }

  #contato .fm-container > div > div:last-child div[style*="display: flex"][style*="gap: 12px"] {
    flex-direction: column !important;
  }

  #como-contratar .fm-container > div:nth-child(2) > div:last-child,
  #depoimentos .fm-container > div:nth-child(2) {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }

  #como-contratar .fm-container > div:nth-child(2) > div:last-child > div,
  #depoimentos figure:not(.ts-flippable) {
    transform: none !important;
  }

  #depoimentos .ts-rating-strip {
    border-radius: 8px !important;
  }

  #photonow .fm-container > div > div:last-child {
    min-height: 560px !important;
    overflow: visible !important;
  }

  #photonow > div:last-child {
    margin-top: 20px !important;
    padding: 0 16px;
    line-height: 1.7;
  }

  #faq button {
    gap: 12px !important;
  }

  #faq button > span:first-child {
    align-items: flex-start !important;
    gap: 10px !important;
  }

  #faq p {
    padding-left: 34px !important;
  }

  #sobre {
    padding: 64px 0 !important;
  }

  #sobre .about-showcase {
    gap: 40px;
  }

  #sobre .showcase-image img {
    border-radius: 16px;
  }

  #sobre .showcase-content p {
    font-size: 14px;
    line-height: 1.7;
  }

  /* Footer: colunas passam a empilhar sem criar largura horizontal. */
  footer > .fm-container > div:first-child {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 28px 20px !important;
  }

  footer > .fm-container > div:first-child > div:first-child {
    grid-column: 1 / -1;
  }

  footer > .fm-container > div:last-child {
    align-items: flex-start !important;
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  footer > .fm-container > div:last-child > span:first-child {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  footer > .fm-container > div:last-child > span:last-child {
    gap: 14px !important;
  }

  .sticky-contact-wrap {
    bottom: max(16px, env(safe-area-inset-bottom)) !important;
    right: max(14px, env(safe-area-inset-right)) !important;
    left: max(14px, env(safe-area-inset-left));
  }

  .sticky-contact-panel {
    width: min(320px, calc(100vw - 28px)) !important;
    padding: 20px 16px 18px !important;
  }

  .sticky-contact-trigger {
    min-height: 52px !important;
    padding: 0 14px !important;
    font-size: 13px !important;
  }
}

@media (max-width: 420px) {
  .fm-container {
    padding: 0 14px;
  }

  .fm-pill {
    font-size: 12px;
  }

  .partner-card {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

}

/* ─── iPhone safe-area support (notch / Dynamic Island / Home Bar) ─────────── */
@supports (padding: env(safe-area-inset-bottom)) {
  nav {
    padding-top: env(safe-area-inset-top, 0px);
  }

  nav .fm-container {
    padding-left: max(32px, env(safe-area-inset-left));
    padding-right: max(32px, env(safe-area-inset-right));
  }

  @media (max-width: 640px) {
    nav .fm-container {
      padding-left: max(16px, env(safe-area-inset-left)) !important;
      padding-right: max(16px, env(safe-area-inset-right)) !important;
    }
  }

  .nav-mobile-panel {
    padding-bottom: max(40px, env(safe-area-inset-bottom));
  }
}

/* ─── iOS momentum scrolling for scroll containers ─────────────────────────── */
.sg-card,
[style*="overflow-y: auto"],
[style*="overflowY: auto"] {
  -webkit-overflow-scrolling: touch;
}

/* ─── Landscape mobile — tighten vertical rhythm ───────────────────────────── */
@media (max-height: 500px) and (orientation: landscape) {
  @media (prefers-reduced-motion: reduce) and (min-width: 99999px) /* desligado de propósito: as animações ficam sempre ativas */ {
    .ts-flippable[role="button"] {
      transition-duration: 0.01ms !important;
    }
  }

  .fm-section,
  .fm-section.compact,
  .fm-section.tight {
    padding: 40px 0;
  }

  .nav-mobile-panel {
    padding-top: 60px;
  }

  .nav-mobile-link {
    font-size: clamp(22px, 5vw, 32px);
    padding: 6px 0;
  }
}
