:root {
  --brand: #D56741;
  --bg: #ffffff;
  --text: #111827;
  --muted: #6b7280;
  --border: #e5e7eb;
  --alt: #f9fafb;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
  color: var(--text);
  background: var(--bg);
}

.container {
  width: min(1180px, 100% - 2rem);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.8);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand { display: inline-flex; align-items: center; gap: .6rem; font-weight: 800; font-size: 1.1rem; text-decoration: none; color: var(--text); }
.logo { height: 36px; width: auto; }
.logo-object { height: 36px; width: 140px; pointer-events: none; }

.menu { display: none; gap: .25rem; align-items: center; }
.menu a {
  padding: .5rem .75rem;
  border-radius: .75rem;
  text-decoration: none;
  color: #374151;
  font-weight: 600;
  font-size: .95rem;
}
.menu a:hover { background: #f3f4f6; color: #111827; }
.menu a.btn-primary { background: var(--brand); color: white; }
.menu a.btn-primary:hover { filter: brightness(0.95); }

.menu-btn {
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--border); border-radius: .75rem; padding: .5rem .75rem;
  background: white; font-weight: 700;
}

@media (min-width: 900px) {
  .menu { display: flex; }
  .menu-btn { display: none; }
}

.hero {
  background: linear-gradient(180deg, #fff 0%, #fff 40%, #ecf1ff00 100%);
  padding: 56px 0 72px;
  position: relative;
}
.hero-grid {
  display: grid; gap: 2rem; align-items: center;
}
@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: 1.1fr 1fr; }
}
.kicker { text-transform: uppercase; letter-spacing: .22em; color: var(--brand); font-weight: 800; font-size: .8rem; }
.hero h1 { font-size: clamp(2.2rem, 4vw, 3.5rem); margin: .35rem 0 0; font-weight: 800; }
.lead { margin-top: 1rem; color: #374151; font-size: 1.1rem; line-height: 1.7; max-width: 56ch; }
.hero-ctas { display: flex; gap: .75rem; margin-top: 1.35rem; flex-wrap: wrap; }

.btn-primary {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--brand); color: white; border-radius: .9rem;
  padding: .8rem 1.15rem; font-weight: 700; text-decoration: none; border: none; cursor: pointer;
}
.btn-outline {
  display: inline-flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--brand); color: var(--brand); background: transparent;
  border-radius: .9rem; padding: .8rem 1.15rem; font-weight: 700; text-decoration: none;
}
.btn-outline:hover { background: #fff5f1; }

.ph {
  background-image: radial-gradient( circle at 30% 30%, #fff 0, #fff 1px, transparent 1px ),
                    radial-gradient( circle at 70% 70%, #fff 0, #fff 1px, transparent 1px );
  background-color: #ffe9e2;
  border: 1px solid #ffd4c7;
  border-radius: 1rem;
  min-height: 140px;
}
.hero-media {
  display: grid; grid-template-columns: 1fr 1fr; gap: .8rem;
}
.hero-media .ph { padding-bottom: 75%; }

.section { padding: 80px 0; }
.section.alt { background: var(--alt); }
.section-head { text-align: center; max-width: 820px; margin: 0 auto 24px; }
.section-head.left { text-align: left; margin: 0 0 24px 0; }
.section-head h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); margin: .25rem 0; }
.section-head .sub { color: #4b5563; }
.mt { margin-top: 1rem; }

.cards-2, .cards-3 { display: grid; gap: 1rem; }
@media (min-width: 780px) {
  .cards-2 { grid-template-columns: 1fr 1fr; }
  .cards-3 { grid-template-columns: 1fr 1fr 1fr; }
}
.card {
  background: white; border: 1px solid var(--border); border-radius: 1.25rem; padding: 1.1rem 1.1rem;
  box-shadow: 0 4px 14px rgba(0,0,0,0.04);
}
.card h3 { margin: .2rem 0 .5rem; }
.card .img { margin-top: .8rem; min-height: 160px; }

.service .chip {
  color: var(--brand); font-weight: 800; letter-spacing: .18em; font-size: .8rem;
}
.link { color: var(--brand); font-weight: 700; text-decoration: none; }
.link:hover { text-decoration: underline; }

.grid-2 { display: grid; gap: 1rem; align-items: center; }
.grid-2 .tall { min-height: 320px; }
@media (min-width: 960px) { .grid-2 { grid-template-columns: 1.1fr 1fr; } }

.faq details { border-bottom: 1px solid var(--border); padding: .8rem 0; }
.faq details:last-child { border-bottom: 0; }
.faq summary { font-weight: 700; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }

.person .avatar { aspect-ratio: 1/1; }
.cols { columns: 2; column-gap: 1rem; }
@media (max-width: 560px) { .cols { columns: 1; } }

#contato form { display: grid; gap: .8rem; }
label { display: grid; gap: .35rem; font-weight: 600; }
input, textarea {
  padding: .8rem; border: 1px solid var(--border); border-radius: .9rem; font: inherit;
}
.full { width: 100%; }
.hint { color: var(--muted); font-size: .9rem; margin-top: .4rem; }
.socials { display: flex; gap: .8rem; flex-wrap: wrap; }
.spacer { height: 1rem; }
.muted { color: var(--muted); }

.footer { border-top: 1px solid var(--border); padding: 18px 0; }
.foot { display: flex; gap: 1rem; justify-content: space-between; align-items: center; flex-wrap: wrap; }
.foot a { color: #374151; text-decoration: none; }
.foot a:hover { color: #111827; text-decoration: underline; }

/* Mobile menu panel */
.mobile-panel {
  position: absolute; inset: 64px 0 auto 0; background: white;
  border-bottom: 1px solid var(--border); padding: .5rem; display: none;
}
.mobile-panel.open { display: block; }
.mobile-panel a {
  display: block; padding: .7rem .8rem; border-radius: .8rem; text-decoration: none; color: #374151; font-weight: 600;
}
.mobile-panel a:hover { background: #f3f4f6; }

/* Utility */
.mt-2 { margin-top: .5rem; }


/* Responsividade para novas imagens substituídas */
.img-responsive {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 1rem;
  object-fit: cover;
}
.img-responsive.tall {
  height: 100%;
  object-fit: cover;
}
.avatar.img-responsive {
  border-radius: 50%;
  object-fit: cover;
}

/* ==== Responsive Image Frames ==== */
.img-frame { position: relative; overflow: hidden; border-radius: 1rem; background: #fff5f1; border: 1px solid #ffffff; }
.img-frame img { width: 100%; height: 100%; display: block; object-fit: cover; }
.img-43 { aspect-ratio: 4 / 3; }
.img-34 { aspect-ratio: 3 / 4; }
.img-16x9 { aspect-ratio: 16 / 9; }
.img-1x1 { aspect-ratio: 1 / 1; }
.img-frame.small { border-radius: .9rem; }
/* ================================= */

/* ===== Logos Clientes ===== */
.logos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.5rem;
  align-items: center;
  justify-items: center;
  margin-top: 2rem;
}

.logo-item img {
  max-width: 140px;
  max-height: 80px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.8;
  transition: all 0.3s ease;
}

.logo-item img:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}
