/* ===================== */
/* VARIÁVEIS / RESET       */
/* ===================== */
:root {
  --dark: #1a1a1a;
  --dark-2: #232323;
  --dark-soft: #2c2c2c;
  --gold: #c9982f;
  --gold-light: #e0b959;
  --gold-gradient: linear-gradient(135deg, #e3bd63, #b8822a);
  --gray-50: #f7f6f4;
  --gray-100: #efeeec;
  --gray-300: #d8d6d2;
  --gray-500: #8a8a86;
  --gray-700: #4a4a48;
  --white: #ffffff;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(0,0,0,.08);
  --shadow-lg: 0 20px 50px rgba(0,0,0,.15);
  --font-head: 'Poppins', sans-serif;
  --font-body: 'Montserrat', sans-serif;
  --container: 1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { text-decoration: none; color: inherit; }

ul { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.2;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 100px 0; }
.section--alt { background: var(--gray-50); }

.section__head {
  max-width: 640px;
  margin: 0 auto 56px;
  text-align: center;
}

.section__title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin: 8px 0 14px;
}

.section__subtitle {
  color: var(--gray-700);
  font-size: 1.02rem;
}

.eyebrow {
  display: inline-block;
  color: var(--gold);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .8rem;
}
.eyebrow--light { color: var(--gold-light); }

/* ===================== */
/* BOTÕES                  */
/* ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .95rem;
  padding: 14px 28px;
  border-radius: 6px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn--primary {
  background: var(--gold-gradient);
  color: var(--dark);
  box-shadow: 0 8px 20px rgba(184,130,42,.35);
}
.btn--primary:hover { box-shadow: 0 12px 26px rgba(184,130,42,.45); }

.btn--outline {
  border-color: rgba(255,255,255,.5);
  color: var(--white);
}
.btn--outline:hover { background: rgba(255,255,255,.1); }

.btn--light {
  background: var(--white);
  color: var(--dark);
}

.btn--sm { padding: 10px 18px; font-size: .85rem; }
.btn--lg { padding: 16px 34px; font-size: 1rem; }

/* ===================== */
/* HEADER                  */
/* ===================== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999;
  background: rgba(26,26,26,.92);
  transition: background .3s ease, box-shadow .3s ease;
}

/* Blur lives on a pseudo-element (not on .header itself) so that
   backdrop-filter doesn't create a new containing block — otherwise
   the mobile nav's position:fixed panel would be constrained to the
   header's own 78px box instead of covering the viewport. */
.header::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  pointer-events: none;
}

.header .container {
  max-width: 1340px;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 78px;
}

.logo {
  flex-shrink: 0;
}

.logo img {
  height: 42px;
  width: auto;
  border-radius: 4px;
}

.nav__list {
  display: flex;
  flex-wrap: nowrap;
  gap: 22px;
}

.nav__link {
  color: var(--white);
  font-weight: 500;
  font-size: .88rem;
  white-space: nowrap;
  position: relative;
  padding: 6px 0;
}
.nav__link::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width .25s ease;
}
.nav__link:hover::after { width: 100%; }

.header__actions {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 18px;
}

.header__phone {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--gold-light);
  font-weight: 600;
  font-size: .88rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.lang-switch {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 2px;
  background: rgba(255,255,255,.08);
  border-radius: 20px;
  padding: 3px;
}
.lang-switch__btn {
  border: none;
  background: none;
  color: var(--gray-300);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .72rem;
  letter-spacing: .04em;
  padding: 6px 12px;
  border-radius: 16px;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.lang-switch__btn:hover { color: var(--white); }
.lang-switch__btn.is-active {
  background: var(--gold-gradient);
  color: var(--dark);
}
.lang-switch--mobile { display: none; margin-top: 22px; }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav__toggle span {
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
}

/* ===================== */
/* HERO                    */
/* ===================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 78px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(201,152,47,.25), transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(201,152,47,.15), transparent 50%),
    linear-gradient(160deg, #141414 0%, #1f1f1f 55%, #141414 100%);
  z-index: -1;
}
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 44px 44px;
}

.hero__inner {
  padding-top: 60px;
  padding-bottom: 60px;
}

.hero__title {
  color: var(--white);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  margin: 16px 0 22px;
  max-width: 780px;
}

.hero__subtitle {
  color: var(--gray-300);
  font-size: 1.08rem;
  max-width: 560px;
  margin-bottom: 36px;
}

.hero__actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 40px;
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 36px;
  max-width: 720px;
}

.hero__stat { display: flex; flex-direction: column; }
.hero__stat-num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 2rem;
  color: var(--gold-light);
}
.hero__stat-label {
  color: var(--gray-300);
  font-size: .82rem;
  margin-top: 4px;
}

/* ===================== */
/* PLACEHOLDER IMAGES      */
/* ===================== */
.placeholder-img {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--dark-2), var(--dark-soft));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--gold-light);
  position: relative;
  overflow: hidden;
}
.placeholder-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 28px 28px;
}
.placeholder-img span {
  font-size: .78rem;
  color: var(--gray-300);
  z-index: 1;
  font-weight: 500;
  letter-spacing: .02em;
}
.placeholder-img svg { z-index: 1; opacity: .9; }
.placeholder-img--tall { aspect-ratio: 3/4; }

/* ===================== */
/* SOBRE                   */
/* ===================== */
.about {
  display: grid;
  grid-template-columns: .85fr 1fr;
  gap: 72px;
  align-items: center;
}

.about__media { position: relative; }

.about__badge {
  position: absolute;
  bottom: -24px;
  right: -24px;
  background: var(--gold-gradient);
  color: var(--dark);
  padding: 20px 26px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  text-align: center;
}
.about__badge strong { display: block; font-size: 1.7rem; font-family: var(--font-head); }
.about__badge span { font-size: .74rem; font-weight: 600; max-width: 130px; display: block; }

.about__text {
  color: var(--gray-700);
  margin-bottom: 16px;
}

.about__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 20px;
  margin: 26px 0 32px;
}
.about__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: .92rem;
}
.about__list svg { color: var(--gold); flex-shrink: 0; }

/* ===================== */
/* CARDS DE SERVIÇO        */
/* ===================== */
.grid { display: grid; gap: 28px; }
.grid--services { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: transparent;
}

.card__icon {
  width: 58px; height: 58px;
  border-radius: 12px;
  background: var(--gold-gradient);
  color: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.card p { color: var(--gray-700); font-size: .92rem; }

/* ===================== */
/* PROJETOS / PORTFÓLIO    */
/* ===================== */
.filters {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 44px;
}
.filter {
  background: none;
  border: 1px solid var(--gray-300);
  color: var(--gray-700);
  padding: 10px 22px;
  border-radius: 30px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .85rem;
  cursor: pointer;
  transition: all .2s ease;
}
.filter:hover { border-color: var(--gold); color: var(--dark); }
.filter.is-active {
  background: var(--dark);
  border-color: var(--dark);
  color: var(--gold-light);
}

.grid--projects { grid-template-columns: repeat(3, 1fr); }

.project { border-radius: var(--radius); overflow: hidden; }
.project .placeholder-img { aspect-ratio: 4/3; border-radius: var(--radius) var(--radius) 0 0; }
.project__info {
  background: var(--gray-50);
  padding: 16px 18px;
  border: 1px solid var(--gray-100);
  border-top: none;
  border-radius: 0 0 var(--radius) var(--radius);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.project__info h4 { font-size: .95rem; }
.project__info span {
  font-size: .74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--gold);
}

.project.is-hidden { display: none; }

/* ===================== */
/* PROCESSO                */
/* ===================== */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.step {
  background: var(--white);
  padding: 34px 26px;
  border-radius: var(--radius);
  border: 1px solid var(--gray-100);
  position: relative;
}
.step__num {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 2.2rem;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 14px;
}
.step h3 { font-size: 1.05rem; margin-bottom: 10px; }
.step p { color: var(--gray-700); font-size: .9rem; }

/* ===================== */
/* DEPOIMENTOS             */
/* ===================== */
.grid--testimonials { grid-template-columns: repeat(3, 1fr); }

.testimonial {
  background: var(--gray-50);
  border-radius: var(--radius);
  padding: 32px 28px;
  border: 1px solid var(--gray-100);
}
.testimonial__stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 14px; }
.testimonial p { color: var(--gray-700); font-size: .93rem; margin-bottom: 22px; }
.testimonial__author { display: flex; align-items: center; gap: 12px; }
.testimonial__avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--gold-gradient);
  color: var(--dark);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .8rem;
}
.testimonial__author strong { display: block; font-size: .88rem; }
.testimonial__author span { font-size: .76rem; color: var(--gray-500); }

/* ===================== */
/* CTA BANNER              */
/* ===================== */
.cta {
  background: linear-gradient(120deg, var(--dark) 0%, #262019 100%);
  padding: 60px 0;
}
.cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cta h2 { color: var(--white); font-size: 1.7rem; margin-bottom: 6px; }
.cta p { color: var(--gray-300); }

/* ===================== */
/* CONTATO                 */
/* ===================== */
.contact {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 56px;
}

.contact__form {
  background: var(--gray-50);
  padding: 40px;
  border-radius: var(--radius);
  border: 1px solid var(--gray-100);
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form__field { margin-bottom: 20px; }
.form__field label {
  display: block;
  font-size: .82rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--dark);
}
.form__field input,
.form__field select,
.form__field textarea {
  width: 100%;
  padding: 13px 14px;
  border-radius: 6px;
  border: 1px solid var(--gray-300);
  font-family: var(--font-body);
  font-size: .92rem;
  background: var(--white);
  color: var(--dark);
  transition: border-color .2s ease;
}
.form__field input:focus,
.form__field select:focus,
.form__field textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.form__field textarea { resize: vertical; }

.form__note {
  margin-top: 14px;
  font-size: .85rem;
  color: var(--gray-700);
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.info__card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
}
.info__icon {
  width: 42px; height: 42px;
  flex-shrink: 0;
  border-radius: 10px;
  background: var(--dark);
  color: var(--gold-light);
  display: flex; align-items: center; justify-content: center;
}
.info__card strong { display: block; font-size: .88rem; margin-bottom: 4px; }
.info__card p { font-size: .85rem; color: var(--gray-700); }

.map-placeholder {
  flex: 1;
  min-height: 140px;
  background: linear-gradient(135deg, var(--dark-2), var(--dark-soft));
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--gold-light);
}
.map-placeholder span { font-size: .78rem; color: var(--gray-300); }

/* ===================== */
/* FOOTER                  */
/* ===================== */
.footer { background: var(--dark); color: var(--gray-300); padding-top: 70px; }

.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer__logo { height: 44px; margin-bottom: 14px; border-radius: 4px; }
.footer__brand p { font-size: .86rem; margin-bottom: 18px; color: var(--gray-500); }

.footer__social { display: flex; gap: 12px; }
.footer__social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  display: flex; align-items: center; justify-content: center;
  color: var(--gray-300);
  transition: background .2s ease, color .2s ease;
}
.footer__social a:hover { background: var(--gold); color: var(--dark); }

.footer__col h4 {
  color: var(--white);
  font-size: .92rem;
  margin-bottom: 18px;
}
.footer__col a {
  display: block;
  font-size: .86rem;
  color: var(--gray-500);
  margin-bottom: 12px;
  transition: color .2s ease;
}
.footer__col a:hover { color: var(--gold-light); }

.footer__bottom { padding: 22px 0; }
.footer__bottom p { font-size: .8rem; color: var(--gray-500); text-align: center; }

/* ===================== */
/* WHATSAPP FLUTUANTE      */
/* ===================== */
.whatsapp-float {
  position: fixed;
  bottom: 26px;
  right: 26px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37,211,102,.45);
  z-index: 998;
  animation: wa-pulse 2.4s infinite;
  transition: transform .2s ease;
}
.whatsapp-float:hover { transform: scale(1.08); }

@keyframes wa-pulse {
  0% { box-shadow: 0 8px 24px rgba(37,211,102,.45), 0 0 0 0 rgba(37,211,102,.5); }
  70% { box-shadow: 0 8px 24px rgba(37,211,102,.45), 0 0 0 14px rgba(37,211,102,0); }
  100% { box-shadow: 0 8px 24px rgba(37,211,102,.45), 0 0 0 0 rgba(37,211,102,0); }
}

/* ===================== */
/* HEADER SCROLLED STATE   */
/* ===================== */
.header.is-scrolled {
  box-shadow: 0 4px 20px rgba(0,0,0,.25);
}

/* ===================== */
/* RESPONSIVO               */
/* ===================== */
@media (max-width: 1024px) {
  .about { grid-template-columns: 1fr; }
  .about__media { max-width: 420px; margin: 0 auto; }
  .grid--services,
  .grid--projects,
  .grid--testimonials { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .contact { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1180px) {
  .nav { position: fixed; top: 78px; left: 0; right: 0; bottom: 0; background: var(--dark); padding: 30px 24px; transform: translateX(100%); transition: transform .3s ease; overflow-y: auto; }
  .nav.is-open { transform: translateX(0); }
  .nav__list { flex-direction: column; gap: 6px; }
  .nav__link { display: block; padding: 14px 4px; border-bottom: 1px solid rgba(255,255,255,.08); }
  .header__phone { display: none; }
  .nav__toggle { display: flex; }
  .header__actions { margin-left: auto; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); }
  .header__actions .lang-switch { display: none; }
  .lang-switch--mobile { display: flex; }
}

@media (max-width: 640px) {
  .section { padding: 70px 0; }
  .grid--services,
  .grid--projects,
  .grid--testimonials,
  .steps { grid-template-columns: 1fr; }
  .about__list { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .cta__inner { flex-direction: column; text-align: center; }
  .about__badge { position: static; margin-top: -30px; margin-left: 20px; display: inline-block; }
  .whatsapp-float { width: 54px; height: 54px; bottom: 18px; right: 18px; }
}
