/* ===== Reset & Base ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  line-height: 1.7;
  color: #1a1a1a;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

/* ===== Utility ===== */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

.section--alt {
  background: #fafaf8;
}

.section__tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #a9301d;
  margin-bottom: 12px;
}

.section__title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 48px;
  line-height: 1.2;
}

/* ===== Header / Nav ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: background 0.3s;
}

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

.nav__logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: #a9301d;
  letter-spacing: 0.02em;
}

.nav__links {
  display: flex;
  gap: 32px;
}

.nav__link {
  font-size: 0.875rem;
  font-weight: 500;
  color: #555;
  transition: color 0.25s;
}

.nav__link:hover,
.nav__link--active {
  color: #a9301d;
}

.nav__link--active {
  position: relative;
}

.nav__link--active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  right: 0;
  height: 2px;
  background: #f0b400;
  border-radius: 1px;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(160deg, #fafaf8 0%, #f0ebe3 50%, #e8e0d5 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -15%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(169, 48, 29, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -10%;
  left: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(240, 180, 0, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  padding-top: 64px;
}

.hero__subtitle {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #a9301d;
  margin-bottom: 20px;
}

.hero__title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem, 8vw, 5rem);
  font-weight: 700;
  line-height: 1.1;
  color: #1a1a1a;
  margin-bottom: 24px;
}

.hero__text {
  font-size: 1.05rem;
  color: #555;
  max-width: 480px;
  margin-bottom: 36px;
  line-height: 1.8;
}

.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: #999;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s;
  padding: 14px 32px;
}

.btn--primary {
  background: #a9301d;
  color: #fff;
}

.btn--primary:hover {
  background: #8a2817;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(169, 48, 29, 0.25);
}

/* ===== Sobre ===== */
.sobre__grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 56px;
  align-items: start;
}

.sobre__image {
  position: sticky;
  top: 100px;
}

.sobre__avatar {
  width: 280px;
  height: 320px;
  background: linear-gradient(135deg, #a9301d, #d44a33);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.05em;
}

.sobre__lead {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: #a9301d;
  line-height: 1.5;
  margin-bottom: 24px;
}

.sobre__text p {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 16px;
  line-height: 1.9;
}

.sobre__text p:last-child {
  margin-bottom: 0;
}

/* ===== Serviços ===== */
.servicos__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.servico-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 10px;
  padding: 36px 32px;
  transition: all 0.3s;
}

.servico-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  border-color: rgba(169, 48, 29, 0.15);
}

.servico-card__icon {
  font-size: 2rem;
  margin-bottom: 16px;
  display: block;
}

.servico-card__title {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 10px;
}

.servico-card__text {
  font-size: 0.875rem;
  color: #666;
  line-height: 1.7;
}

/* ===== Portfólio ===== */
.portfolio__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.portfolio-card {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: all 0.3s;
  cursor: pointer;
}

.portfolio-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.portfolio-card__img {
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.portfolio-card__img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.1), transparent);
}

.portfolio-card__placeholder {
  font-size: 3.5rem;
  position: relative;
  z-index: 1;
  filter: grayscale(0.3);
  transition: transform 0.3s;
}

.portfolio-card:hover .portfolio-card__placeholder {
  transform: scale(1.15);
}

.portfolio-card__info {
  padding: 20px 22px;
  background: #fff;
}

.portfolio-card__info h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 4px;
}

.portfolio-card__info p {
  font-size: 0.8rem;
  color: #888;
}

/* ===== WhatsApp Float Button ===== */
.whatsapp-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 200;
  width: 60px;
  height: 60px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
  transition: all 0.3s;
}

.whatsapp-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.45);
}

.whatsapp-btn__icon {
  width: 30px;
  height: 30px;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .section {
    padding: 72px 0;
  }

  .nav__links {
    gap: 20px;
  }

  .sobre__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .sobre__avatar {
    width: 200px;
    height: 240px;
    font-size: 2.5rem;
  }

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

  .portfolio__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero__text {
    max-width: 100%;
  }

  .hero__scroll {
    display: none;
  }
}

@media (max-width: 480px) {
  .nav__link {
    font-size: 0.8rem;
  }

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

  .portfolio-card__img {
    height: 200px;
  }

  .whatsapp-btn {
    width: 52px;
    height: 52px;
    bottom: 20px;
    right: 20px;
  }

  .whatsapp-btn__icon {
    width: 26px;
    height: 26px;
  }
}
