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

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  color: #1f1f1f;
  background-color: #faf7f2;
}

/* Utilitários */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 4rem 0;
}

.section-alt {
  background-color: #f2ece2;
}

.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-header.left {
  text-align: left;
}

.section-header h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.section-header p {
  color: #555;
}

/* Cabeçalho / Navegação */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: rgba(250, 247, 242, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

.logo a,
.logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

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

.logo-text {
  font-weight: 700;
  font-size: 1.05rem;
  color: #3d2b1f;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}

.main-nav a {
  text-decoration: none;
  color: #333;
  font-size: 0.95rem;
}

.main-nav a:hover {
  text-decoration: underline;
}

.btn-nav {
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid #3d2b1f;
}

/* Botão menu mobile */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
}

/* Hero */
.hero {
  padding: 3.5rem 0 4rem;
}

.hero-inner {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.hero-text h1 {
  font-size: 2.4rem;
  margin-bottom: 1rem;
  color: #2a1b10;
}

.hero-text p {
  color: #4b3b30;
  margin-bottom: 1.5rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.hero-note {
  font-size: 0.9rem;
  color: #7b6a5e;
}

.hero-visual {
  display: grid;
  gap: 1rem;
}

.hero-card {
  background: #fff;
  border-radius: 0.9rem;
  padding: 1.3rem 1.4rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  position: relative;
}

.hero-card.secondary {
  background: #f2ece2;
  box-shadow: none;
}

.hero-card h2,
.hero-card h3 {
  margin-bottom: 0.4rem;
  color: #3d2b1f;
}

.hero-card p {
  font-size: 0.95rem;
  color: #5b4a3b;
}

.hero-tag {
  position: absolute;
  top: 0.9rem;
  right: 1rem;
  font-size: 0.75rem;
  background-color: #3d2b1f;
  color: #fff;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
}

/* Botões */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.3rem;
  border-radius: 999px;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
}

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

.btn-primary:hover {
  opacity: 0.9;
}

.btn-secondary {
  background-color: transparent;
  border: 1px solid #3d2b1f;
  color: #3d2b1f;
}

.btn-secondary:hover {
  background-color: #3d2b1f;
  color: #fff;
}

/* Cartões / grids */
.grid-3 {
  display: grid;
  gap: 1.5rem;
}

.card {
  background-color: #fff;
  border-radius: 0.8rem;
  padding: 1.4rem;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.03);
}

.card h3 {
  margin-bottom: 0.6rem;
  color: #2e2015;
}

.card p {
  margin-bottom: 0.8rem;
  color: #5b4a3b;
}

.list {
  list-style: disc;
  padding-left: 1.1rem;
  color: #4b3b30;
  font-size: 0.95rem;
}

.highlight-box {
  margin-top: 2.5rem;
  padding: 1.5rem 1.6rem;
  border-radius: 0.8rem;
  border: 1px dashed #b5977c;
  background-color: rgba(181, 151, 124, 0.06);
}

.highlight-box h3 {
  margin-bottom: 0.6rem;
}

/* Portefólio */
.portfolio-grid {
  display: grid;
  gap: 1.6rem;
}

.portfolio-item {
  background-color: #fff;
  border-radius: 0.8rem;
  padding: 1rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.03);
}

.portfolio-item h3 {
  font-size: 1rem;
  margin-bottom: 0.3rem;
}

.portfolio-item p {
  font-size: 0.9rem;
  color: #5b4a3b;
}

.portfolio-thumb {
  width: 100%;
  border-radius: 0.6rem;
  margin-bottom: 0.6rem;
  aspect-ratio: 4/3;
  overflow: hidden;
}

/* Placeholder visual – troca por imagens reais depois */
.placeholder {
  background: repeating-linear-gradient(
    45deg,
    #e0d5c6,
    #e0d5c6 10px,
    #f2ece2 10px,
    #f2ece2 20px
  );
}

.portfolio-note {
  margin-top: 1.5rem;
  font-size: 0.95rem;
  color: #6a5b4f;
}

/* Processo */
.steps {
  display: grid;
  gap: 1.5rem;
}

.step {
  background-color: #fff;
  border-radius: 0.8rem;
  padding: 1.3rem 1.4rem;
  position: relative;
  border-left: 4px solid #b5977c;
}

.step-number {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  font-size: 0.8rem;
  font-weight: 600;
  background-color: #f2ece2;
  color: #3d2b1f;
  border-radius: 999px;
  padding: 0.15rem 0.55rem;
}

.step h3 {
  margin-bottom: 0.4rem;
}

/* Sobre */
.about-grid {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

.about-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 2rem;
}

.about-logo {
  width: 100%;
  height: auto;
}

.about-tagline {
  color: #f4e7d7;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.about-location {
  color: #b5977c;
  font-size: 0.85rem;
}

.about-content p {
  color: #4b3b30;
  margin-bottom: 1rem;
}

.about-highlight {
  background-color: #fff;
  border-radius: 0.8rem;
  padding: 1.4rem;
  margin-top: 1.5rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.03);
}

@media (min-width: 640px) {
  .about-grid {
    grid-template-columns: 1fr 2fr;
  }
}

/* Contacto */
.contact-grid {
  display: grid;
  gap: 2.5rem;
}

.contact-form {
  background-color: #fff;
  border-radius: 0.8rem;
  padding: 1.5rem;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.03);
}

.form-row {
  margin-bottom: 1rem;
}

.form-row label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.3rem;
  color: #3f3125;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 0.55rem 0.6rem;
  border-radius: 0.4rem;
  border: 1px solid #c9b7a2;
  font-size: 0.95rem;
  background-color: #fdfaf6;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: 2px solid #b5977c;
  outline-offset: 1px;
}

.form-note {
  margin-top: 0.6rem;
  font-size: 0.8rem;
  color: #7d6b5e;
}

.form-message {
  margin-top: 0.8rem;
  font-size: 0.9rem;
}

.contact-info h3 {
  margin-bottom: 0.5rem;
}

.contact-info p {
  margin-bottom: 0.6rem;
  color: #4b3b30;
}

.contact-info a {
  color: #3d2b1f;
}

/* Grelha de produtos */
.produtos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 1.25rem;
}

.produto-card {
  background: #fff;
  border-radius: 0.8rem;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
}

.produto-img {
  width: 100%;
  aspect-ratio: 1 / 1;
}

.produto-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.produto-info {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  flex: 1;
}

.produto-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #b5977c;
}

.produto-info h3 {
  font-size: 0.95rem;
  color: #2e2015;
  margin: 0;
}

.produto-preco {
  font-size: 0.95rem;
  font-weight: 700;
  color: #3d2b1f;
  margin-top: 0.2rem;
}

.btn-sm {
  padding: 0.4rem 1rem;
  font-size: 0.85rem;
  margin-top: auto;
  padding-top: 0.75rem;
}

/* Card personalizado */
.produto-custom {
  background: #3d2b1f;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.produto-custom-inner {
  padding: 1.75rem 1.5rem;
  text-align: center;
}

.produto-custom-icon {
  font-size: 1.8rem;
  color: #b5977c;
  margin-bottom: 0.75rem;
}

.produto-custom-inner h3 {
  color: #fdf0e0;
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.produto-custom-inner p {
  font-size: 0.9rem;
  color: #c9b7a2;
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

.btn-custom {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.3rem;
  border-radius: 999px;
  font-size: 0.9rem;
  text-decoration: none;
  background-color: #faf7f2;
  color: #3d2b1f;
  font-weight: 600;
  transition: opacity 0.15s;
}

.btn-custom:hover { opacity: 0.88; }

/* Botão flutuante WhatsApp */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 100;
  width: 3.5rem;
  height: 3.5rem;
  background-color: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.45);
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 22px rgba(37, 211, 102, 0.55);
}

/* Rodapé */
.site-footer {
  padding: 2rem 0 1.5rem;
  background-color: #1f130b;
  color: #f4e7d7;
}

.footer-inner {
  text-align: center;
}

.footer-small {
  font-size: 0.8rem;
  color: #cbb7a0;
}

/* Responsivo */
@media (min-width: 640px) {
  .hero-inner {
    grid-template-columns: minmax(0, 3fr) minmax(0, 2.5fr);
  }

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

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

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

  .contact-grid {
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  }
}

@media (max-width: 768px) {
  .main-nav {
    position: absolute;
    top: 4rem;
    right: 0;
    left: 0;
    background-color: #faf7f2;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    display: none;
  }

  .main-nav.open {
    display: block;
  }

  .main-nav ul {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.75rem 1.5rem 1rem;
  }

  .nav-toggle {
    display: block;
  }

  .hero {
    padding-top: 3rem;
  }
}

@media (min-width: 1024px) {
  .hero-text h1 {
    font-size: 2.8rem;
  }

  .section {
    padding: 4.5rem 0;
  }
}
