/* ===== Tokens ===== */
:root {
  --black: #1A1A1A;
  --black-2: #232323;
  --black-3: #2d2d2d;
  --orange: #FF6B35;
  --orange-dark: #e5551f;
  --white: #ffffff;
  --gray-50: #f7f7f5;
  --gray-200: #e6e6e3;
  --gray-500: #6b6b6b;
  --gray-400: #a3a3a3;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .08);
  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --header-h: 84px; /* altura da pílula + margem (scroll-padding) */
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.05; margin: 0; letter-spacing: .01em; }
p { margin: 0; }
button { font: inherit; cursor: pointer; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.container--narrow { max-width: 820px; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .9rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  border: 2px solid transparent;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn svg { width: 20px; height: 20px; fill: currentColor; }
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--orange); color: var(--white); }
.btn--primary:hover { background: var(--orange-dark); }
.btn--ghost { border-color: rgba(255,255,255,.35); color: var(--white); }
.btn--ghost:hover { border-color: var(--orange); color: var(--orange); }
.btn--sm { padding: .55rem 1.1rem; font-size: .9rem; }

.eyebrow {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: .75rem;
}

/* ===== Header (navbar em pílula) ===== */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  padding: 14px 16px 0;
  pointer-events: none; /* só a pílula recebe cliques */
}

.pill {
  pointer-events: auto;
  position: relative;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  width: 100%; max-width: 58rem;
  margin: 0 auto;
  padding: .55rem .6rem .55rem 1rem;
  background: var(--white);
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(0,0,0,.18);
}

.logo { display: inline-flex; align-items: center; gap: .6rem; color: var(--white); }
.logo__mark {
  display: grid; place-items: center;
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--orange);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--black);
}
.logo__img {
  width: 48px;
  height: 48px;
  border-radius: 50%; /* recorta os cantos pretos do PNG */
  flex-shrink: 0;
}
.logo__text { font-family: var(--font-display); font-size: 1.45rem; font-weight: 600; text-transform: uppercase; letter-spacing: .02em; }
.logo__text strong { color: var(--orange); font-weight: 800; }

.pill__logo { gap: .55rem; }
.pill__logo .logo__img {
  width: 40px; height: 40px;
  animation: pill-pop .3s ease-out both;
  transition: transform .3s ease;
}
.pill__logo:hover .logo__img { transform: rotate(10deg); }
.pill .logo__text { color: var(--black); font-size: 1.3rem; }

.pill__nav { display: none; align-items: center; gap: 1.75rem; }
.pill__nav a {
  display: inline-block;
  font-size: .9rem; font-weight: 500;
  color: #111;
  animation: pill-drop .3s ease-out both;
  animation-delay: calc(var(--i, 0) * 40ms);
  transition: color .2s, transform .2s;
}
.pill__nav a:hover { color: var(--orange); transform: scale(1.05); }

.pill__cta {
  display: none;
  align-items: center; justify-content: center;
  padding: .6rem 1.35rem;
  border-radius: 999px;
  background: var(--black);
  color: var(--white);
  font-size: .9rem; font-weight: 600;
  animation: pill-slide .3s ease-out .2s both;
  transition: background .2s, transform .2s;
}
.pill__cta:hover { background: var(--orange); transform: scale(1.05); }

.pill__toggle {
  display: grid; place-items: center;
  width: 42px; height: 42px;
  border: 0; border-radius: 50%;
  background: none;
  color: #111;
  transition: transform .15s, background .2s;
}
.pill__toggle:hover { background: #f1f1f1; }
.pill__toggle:active { transform: scale(.9); }
.pill__toggle svg, .mobile-menu__close svg {
  width: 24px; height: 24px;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round;
}

@keyframes pill-pop   { from { transform: scale(.8); } to { transform: scale(1); } }
@keyframes pill-drop  { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
@keyframes pill-slide { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: none; } }

/* ----- Menu mobile em tela cheia ----- */
.mobile-menu {
  position: fixed; inset: 0; z-index: 90;
  padding: 96px 24px 32px;
  background: var(--white);
  color: #111;
  overflow-y: auto;
  visibility: hidden;
  opacity: 0;
  transform: translateX(100%);
  transition: transform .45s cubic-bezier(.22, 1.15, .36, 1), opacity .3s ease, visibility 0s .45s;
}
.mobile-menu.is-open {
  visibility: visible;
  opacity: 1;
  transform: none;
  transition: transform .45s cubic-bezier(.22, 1.15, .36, 1), opacity .3s ease, visibility 0s;
}

.mobile-menu__close {
  position: absolute; top: 24px; right: 24px;
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border: 0; border-radius: 50%;
  background: none; color: #111;
  opacity: 0;
  transition: opacity .2s, transform .15s;
}
.mobile-menu.is-open .mobile-menu__close { opacity: 1; transition-delay: .2s, 0s; }
.mobile-menu__close:active { transform: scale(.9); }

.mobile-menu__nav { display: flex; flex-direction: column; gap: 1.5rem; }
.mobile-menu__nav a:not(.mobile-menu__cta) {
  font-size: 1.15rem; font-weight: 500;
  opacity: 0; transform: translateX(20px);
  transition: opacity .3s ease, transform .3s ease, color .2s;
}
.mobile-menu.is-open .mobile-menu__nav a:not(.mobile-menu__cta) {
  opacity: 1; transform: none;
  transition-delay: calc(var(--i, 0) * .1s + .1s), calc(var(--i, 0) * .1s + .1s), 0s;
}
.mobile-menu__nav a:not(.mobile-menu__cta):hover { color: var(--orange); }

.mobile-menu__cta {
  display: flex; justify-content: center;
  margin-top: 1.5rem;
  padding: .9rem 1.25rem;
  border-radius: 999px;
  background: var(--black); color: var(--white);
  font-weight: 600;
  opacity: 0; transform: translateY(20px);
  transition: opacity .3s ease, transform .3s ease, background .2s;
}
.mobile-menu.is-open .mobile-menu__cta { opacity: 1; transform: none; transition-delay: .5s, .5s, 0s; }
.mobile-menu__cta:hover { background: var(--orange); }

body.menu-open { overflow: hidden; }

/* ===== Sections ===== */
.section { padding: 80px 0; }
.section--alt { background: var(--gray-50); }
.section--dark { background: var(--black); color: var(--white); }
.section__head { margin-bottom: 2.5rem; max-width: 640px; }
.section__title { font-size: clamp(2.2rem, 7vw, 3.4rem); font-weight: 800; text-transform: uppercase; margin-bottom: .75rem; }
.section__lead { color: var(--gray-500); font-size: 1.05rem; }
.section--dark .section__lead { color: rgba(255,255,255,.7); margin-bottom: 1.75rem; }

/* ===== Features ===== */
.split { display: grid; gap: 3rem; align-items: center; }
.split__photo {
  margin: 0;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 24px 60px -24px rgba(0,0,0,.6);
}
.split__photo img { width: 100%; height: 100%; object-fit: cover; }

/* ===== Lightbox ===== */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  display: flex; align-items: center; justify-content: center;
  background: rgba(10,10,10,.94);
  padding: 60px 16px;
  animation: fade .25s ease;
}
.lightbox[hidden] { display: none; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.lightbox__figure { margin: 0; max-width: 1000px; width: 100%; text-align: center; }
.lightbox__img { max-height: 75vh; margin: 0 auto; border-radius: 10px; object-fit: contain; }
.lightbox__placeholder {
  display: none;
  aspect-ratio: 4 / 3;
  max-height: 70vh;
  margin: 0 auto;
  border-radius: 10px;
  place-items: center;
  font-family: var(--font-display); font-size: 1.5rem; text-transform: uppercase;
  color: rgba(255,255,255,.5);
  background: repeating-linear-gradient(135deg, rgba(255,107,53,.1) 0 14px, transparent 14px 28px), var(--black-3);
}
.lightbox.is-missing .lightbox__img { display: none; }
.lightbox.is-missing .lightbox__placeholder { display: grid; }
.lightbox__caption { color: rgba(255,255,255,.8); margin-top: 1rem; font-size: .95rem; }
.lightbox__close, .lightbox__nav {
  position: absolute;
  background: rgba(255,255,255,.08);
  border: 0; color: var(--white);
  width: 48px; height: 48px;
  border-radius: 50%;
  font-size: 2rem; line-height: 1;
  display: grid; place-items: center;
  transition: background .2s;
}
.lightbox__close:hover, .lightbox__nav:hover { background: var(--orange); }
.lightbox__close { top: 12px; right: 12px; }
.lightbox__nav--prev { left: 8px; }
.lightbox__nav--next { right: 8px; }

.section__head--center { margin-left: auto; margin-right: auto; text-align: center; }

/* ===== Contact ===== */
.contact { display: grid; gap: 2.5rem; }
.contact__list { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; gap: 1.25rem; }
.contact__list li { display: flex; gap: 1rem; align-items: flex-start; }
.contact__list svg { flex-shrink: 0; width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: var(--black-2); fill: none; stroke: var(--orange); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.contact__list strong { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--orange); margin-bottom: .15rem; }
.contact__list span, .contact__list a { color: rgba(255,255,255,.85); }
.contact__list a:hover { color: var(--orange); }
.contact__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.contact__map { border-radius: var(--radius); overflow: hidden; min-height: 320px; border: 1px solid rgba(255,255,255,.08); }
.contact__map iframe { width: 100%; height: 100%; min-height: 320px; border: 0; filter: grayscale(.3) contrast(1.05); }

/* ===== Footer ===== */
.footer-wrap { background: var(--black); padding: 0 16px; }

.footer {
  position: relative;
  max-width: 72rem;
  margin: 0 auto;
  padding: 48px 24px 110px; /* espaço extra embaixo para o botão do WhatsApp no celular */
  border-top: 1px solid rgba(255,255,255,.1);
  border-radius: 2rem 2rem 0 0;
  background: radial-gradient(35% 128px at 50% 0%, rgba(255,255,255,.08), transparent);
  color: var(--white);
}

.footer__glow {
  position: absolute;
  top: 0;
  left: 50%;
  width: 33%;
  height: 1px;
  transform: translate(-50%, -50%);
  background: rgba(255, 107, 53, .6);
  border-radius: 999px;
  filter: blur(4px);
}

.footer__grid { display: grid; gap: 2.5rem; }
.footer__brand { display: grid; gap: .75rem; justify-items: start; }
.footer__brand .logo__img { width: 64px; height: 64px; }
.footer__slogan { color: rgba(255,255,255,.8); }
.footer__muted { font-size: .85rem; color: rgba(255,255,255,.45); }

.footer__links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.footer__label { font-family: var(--font-body); font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); }
.footer__links ul { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .55rem; font-size: .9rem; }
.footer__links a { display: inline-flex; align-items: center; gap: .4rem; color: rgba(255,255,255,.6); transition: color .3s; }
.footer__links a:hover { color: var(--white); }
.footer__links svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.footer__address { margin-top: 1rem; font-size: .85rem; line-height: 1.5; color: rgba(255,255,255,.45); }

/* animação de entrada: desfoque + deslize, uma vez */
.js .footer-anim {
  opacity: 0;
  filter: blur(4px);
  transform: translateY(-8px);
  transition: opacity .8s ease, filter .8s ease, transform .8s ease;
  transition-delay: var(--delay, .1s);
}
.js .footer-anim.is-visible { opacity: 1; filter: none; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js .footer-anim { opacity: 1; filter: none; transform: none; }
}

/* ===== WhatsApp float ===== */
.whatsapp-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  width: 60px; height: 60px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: #25D366;
  box-shadow: 0 8px 24px rgba(0,0,0,.3);
  transition: transform .2s;
  animation: pulse 2.5s infinite;
}
.whatsapp-float svg { width: 32px; height: 32px; fill: var(--white); }
.whatsapp-float:hover { transform: scale(1.08); }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,.55); }
  70% { box-shadow: 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* ===== Reveal on scroll ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (min-width: 600px) {
  .lightbox__nav--prev { left: 20px; }
  .lightbox__nav--next { right: 20px; }
}

@media (min-width: 900px) {
  .section { padding: 110px 0; }
  .split { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .contact { grid-template-columns: 1fr 1.2fr; gap: 4rem; align-items: stretch; }
  .footer { padding: 64px 48px 56px; border-radius: 3rem 3rem 0 0; }
  .footer__links { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1200px) {
  .footer__grid { grid-template-columns: 1fr 2fr; gap: 2rem; }
}

@media (min-width: 1024px) {
  .pill { padding-left: 1.25rem; }
  .pill__nav { display: flex; }
  .pill__cta { display: inline-flex; }
  .pill__toggle { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
