* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  /* font-weight: 400; */
  font-style: normal;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

section[id] {
  scroll-margin-top: 24px;
}

h2 {
  font-size: 40px;
}

body {
  color: #111;
  /* background: url("../assets/bg-japanese5.png") center / cover no-repeat; */
  background-color: #fcf8f3;
}

img {
  max-width: 100%;
  height: auto;
}

/* HEADER */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
  background-color: #fcf8f3;

  
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(32, 32, 32, 0.2);
  background: rgba(252, 248, 243, 0.85);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.nav-toggle:focus-visible {
  outline: 3px solid #D7261E;
  outline-offset: 3px;
}

.nav-toggle-bars {
  position: relative;
  width: 22px;
  height: 2px;
  background: #202020;
  display: block;
  border-radius: 999px;
  transition: background 0.2s ease;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: #202020;
  border-radius: 999px;
  transition: transform 0.2s ease, top 0.2s ease, opacity 0.2s ease;
}

.nav-toggle-bars::before {
  top: -7px;
}

.nav-toggle-bars::after {
  top: 7px;
}

.header.nav-open .nav-toggle-bars {
  background: transparent;
}

.header.nav-open .nav-toggle-bars::before {
  top: 0;
  transform: rotate(45deg);
}

.header.nav-open .nav-toggle-bars::after {
  top: 0;
  transform: rotate(-45deg);
}

.logo-header {
  height: 60px;
}

.nav a {
  margin-left: 24px;
  text-decoration: none;
  color: #202020;
  font-weight: 700;
}

.nav a:hover {
  color: #d7261e;
}

/* HERO */
.hero {
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: url("../assets/waves.png") top / cover no-repeat;

}

.logo-hero {
  width: 380px;
  margin-bottom: 32px;
}

.btn-primary {
  background: #d7261e;
  color: #fff;
  padding: 14px 36px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

.btn-primary:hover {
  background: #b71f18;
}

/* PROCESS */

.process {
  /* background: url("../assets/petals.png") top / cover no-repeat; */
  background: url("../assets/section.png") top / cover no-repeat;
  padding: 120px 40px;
  color: #fff;
}

.process-container {
  max-width: 1100px;
  margin: 0 auto;
}

.process-title {
  text-align: center;
  margin-bottom: 10px;
}

.process-subtitle {
  text-align: center;
  font-size: 22px;
  margin-bottom: 80px;
  font-weight: 400;
}

/* ITEM */
.process-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 100px;

}

.process-item.reverse {
  direction: rtl;
}

.process-item.reverse .process-text {
  direction: ltr;
}


/* IMAGEM */
.process-image img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: 16px;
  display: block;
 
}

/* TEXTO */
.process-text h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
}

.process-step-title {
  display: inline;
  padding: 1em 0.5em 0.18em;
  background: linear-gradient(to bottom, transparent 62%, #D7261E 62%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.process-text p {
  font-size: 16px;
  line-height: 1.7;
  /* color: #333; */
  color: #fff;

}

/* PRODUCTS */
.products {
  padding: 80px 40px;
  /* color: #fff; */
  text-align: center;
  background: url("../assets/petals.png") top / cover no-repeat;
}

.products h3 {
  font-weight: 400;
  margin-top: 20px;
  margin-bottom: 48px;
}


.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto;
}

/* Catalog: keep card sizes consistent even with 1 item */
.product-grid--catalog {
  max-width: 1280px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 320px));
  justify-content: center;
}

.product-card {
  background: #111;
  border-radius: 16px;
  overflow: hidden;
  color: #fff;

  position: relative;
  width: 100%;
  text-align: left;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.product-card:hover,
.product-card:focus-within {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

.product-open {
  appearance: none;
  width: 100%;
  border: none;
  padding: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  display: block;
  text-decoration: none;
}

.product-open:focus-visible {
  outline: 3px solid #D7261E;
  outline-offset: 3px;
}

.products-actions {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.16);
  background: rgba(255, 255, 255, 0.92);
  color: #111;
  text-decoration: none;
  font-weight: 800;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.btn-secondary:hover {
  background: #fff;
  border-color: rgba(0, 0, 0, 0.26);
  transform: translateY(-1px);
}

.btn-secondary:focus-visible {
  outline: 3px solid #D7261E;
  outline-offset: 3px;
}

.catalog-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 26px auto 32px;
  max-width: 1000px;
}

.filter-btn {
  appearance: none;
  border: 1px solid rgba(0, 0, 0, 0.16);
  background: rgba(255, 255, 255, 0.86);
  color: #111;
  border-radius: 999px;
  padding: 10px 14px;
  cursor: pointer;
  font-weight: 700;
  transition: background 0.18s ease, border-color 0.18s ease;
}

.filter-btn[aria-pressed="true"] {
  background: #111;
  color: #fff;
  border-color: rgba(0, 0, 0, 0.65);
}

.filter-btn:hover {
  border-color: rgba(0, 0, 0, 0.26);
}

.filter-btn:focus-visible {
  outline: 3px solid #D7261E;
  outline-offset: 3px;
}

.whatsapp-cta,
.modal-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
  padding: 12px 16px;
  border-radius: 12px;
  background: #fff;
  color: #111;
  text-decoration: none;
  font-weight: 800;
  border: 1px solid rgba(0, 0, 0, 0.14);
  transition: background 0.18s ease, border-color 0.18s ease;
}

.whatsapp-cta:hover,
.modal-whatsapp:hover {
  background: rgba(0, 0, 0, 0.03);
  border-color: rgba(0, 0, 0, 0.22);
}

.whatsapp-cta:focus-visible,
.modal-whatsapp:focus-visible {
  outline: 3px solid #D7261E;
  outline-offset: 3px;
}

.whatsapp-cta-icon,
.modal-whatsapp-icon {
  width: 18px;
  height: 18px;
  fill: #25D366;
}

.product-card img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
}

.product-card h4 {
  padding: 20px;
  font-size: 18px;

  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.product-whatsapp {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: rgba(37, 211, 102, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.product-whatsapp:hover {
  transform: translateY(-1px);
  background: rgba(31, 184, 90, 0.98);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.32);
}

.product-whatsapp:focus-visible {
  outline: 3px solid #D7261E;
  outline-offset: 3px;
}

.product-whatsapp-icon {
  width: 22px;
  height: 22px;
  fill: #111;
}

.product-price {
  font-size: 16px;
  font-weight: 800;
  color: #D7261E;
  white-space: nowrap;
}

.product-click-hint {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: rgba(17, 17, 17, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
}

.product-click-icon {
  width: 20px;
  height: 20px;
  fill: #fff;
  opacity: 0.9;
}


/* MODAL */
.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 999;
}

.modal.open {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 17, 17, 0.65);
}

.modal-dialog {
  position: relative;
  width: min(980px, 100%);
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  color: #111;
  overflow: hidden;

  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 48px);

  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.35);
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: rgba(255, 255, 255, 0.9);
  color: #111;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;

  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.modal-close:hover {
  border-color: rgba(0, 0, 0, 0.22);
}

.modal-close:focus-visible {
  outline: 3px solid #D7261E;
  outline-offset: 3px;
}

.modal-body {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
  padding: 24px;

  flex: 1;
  min-height: 0;
  overflow: auto;
}

.modal-image {
  border-radius: 12px;
  overflow: hidden;
  background: #f5f5f5;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.modal-image img {
  width: 100%;
  height: 100%;
  max-height: 520px;
  object-fit: contain;
  display: block;
}

.modal-details h3 {
  font-size: 28px;
  margin-bottom: 16px;
  color: #111;
}

.modal-field {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.modal-label {
  color: #666;
  font-weight: 700;
}

.modal-value {
  color: #111;
  line-height: 1.6;
}

body.modal-open {
  overflow: hidden;
}


/* ABOUT */
.about {
   display: flex;
  align-items: center;
 flex-direction: column;
 gap: 20px;
  padding: 100px 40px;
  /* background: url("../assets/section-about.png") bottom / cover no-repeat; */
}

.about-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.about h2 {
  margin-bottom: 24px;
}

.about-text  {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #333;
  width: 60%;
  text-align: center;
}

.about-text p {
  margin: 20px 0;
}

.about-btn {
  display: inline-block;
  margin-top: 24px;
  padding: 14px 32px;
  border-radius: 999px;
  background: #D7261E;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}

.about-btn:hover {
  background: #b71f18;
}

/* BLOCO VISUAL */
.about-mark {
  border-left: 2px solid #D7261E;
  padding-left: 32px;
  text-align: left;
  height: 230px;
  display: flex;
  flex-direction: column;
  justify-content: center;

}

.about-mark span {
  font-size: 64px;
  font-weight: bold;
  display: block;
}

.about-mark small {
  letter-spacing: 4px;
  color: #777;
}

/* CONTACT */
.contact {
  background-color: #1C1C1C; /* cinza escuro da landing */
  padding: 100px 40px;
  color: #fff;
}

.contact-container {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* TEXTO */
.contact-text h2 {
  margin-bottom: 24px;
}

.contact-text p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 32px;
  color: #ddd;
}

.contact-info {
  list-style: none;
  padding: 0;
}

.contact-info li {
  margin-bottom: 12px;
  color: #aaa;
}

.contact-socials {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}

.contact-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: #111;
  border: 1px solid #333;
  color: #ddd;
  text-decoration: none;
}

.contact-social-link:hover {
  border-color: #555;
}

.contact-social-link.instagram {
  color: #E1306C;
}

.contact-social-link.whatsapp {
  color: #25D366;
}

.contact-social-icon {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.contact-whatsapp {
  color: #25D366;
  text-decoration: none;
  font-weight: 700;
}

.contact-whatsapp:hover {
  text-decoration: underline;
}

/* FORM */
.contact-form {
  background: #111;
  padding: 40px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.contact-form input,
.contact-form textarea {
  background: #1c1c1c;
  border: 1px solid #333;
  padding: 14px 16px;
  color: #fff;
  border-radius: 8px;
  font-size: 14px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #777;
}

.contact-form button {
  margin-top: 12px;
  padding: 14px;
  border-radius: 999px;
  border: none;
  background: #D7261E;
  color: #fff;
  font-weight: bold;
  cursor: pointer;
}

.contact-form button:hover {
  background: #b71f18;
}

.contact-actions {
  display: flex;
  gap: 12px;
}

.btn-whatsapp {
  background: #25D366;
  color: #111;
}

.btn-whatsapp:hover {
  background: #1fb85a;
}

.contact-hint {
  font-size: 13px;
  color: #aaa;
}


/* FOOTER */
.footer {
  padding: 24px;
  text-align: center;
  background: #111;
  color: #aaa;
}

/* PRODUCT PAGE */
.product-page {
  padding: 80px 40px;
  background: #f6f6f6;
}

.product-page-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.product-page-top {
  margin-bottom: 18px;
}

.product-page-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 28px;
  align-items: start;
}

.product-page-image {
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.08);
}

.product-page-image img {
  width: 100%;
  display: block;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #fff;
}

.product-page-title {
  font-size: 34px;
  margin-bottom: 14px;
  color: #111;
}

.product-page-meta {
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 14px;
  background: #fff;
  padding: 14px 16px;
}

.product-page-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 12px;
  padding: 10px 0;
}

.product-page-row + .product-page-row {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.product-page-label {
  color: #666;
  font-weight: 800;
}

.product-page-value {
  color: #111;
  font-weight: 600;
}

.product-page-description {
  margin-top: 16px;
  color: #333;
  line-height: 1.7;
}

.product-page-hint {
  margin-top: 14px;
  color: #666;
  font-size: 14px;
}

@media (max-width: 900px) {
  .header {
    flex-direction: column;
    gap: 16px;
    padding: 16px 20px;
  }

  .header-inner {
    width: 100%;
    justify-content: space-between;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transform: translateY(-6px);
    pointer-events: none;
    transition: max-height 0.25s ease, opacity 0.2s ease, transform 0.2s ease;
  }

  .header.nav-open .nav {
    max-height: 320px;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav a {
    margin-left: 0;
    padding: 12px 10px;
    border-top: 1px solid rgba(32, 32, 32, 0.12);
    text-align: center;
  }

  .logo-hero {
    width: min(320px, 80vw);
  }

  .hero {
    justify-content: flex-start;
    padding-top: 72px;
    padding-bottom: 96px;
    background-position: bottom center;
    background-size: 100% auto;
  }

  .process {
    padding: 80px 20px;
  }

  .process-item {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 64px;
  }

  .process-item.reverse {
    direction: ltr;
  }

  .process-image img {
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .products {
    padding: 64px 20px;
  }

  .product-card img {
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
  }

  .about {
    padding: 80px 20px;
  }

  .about-container {
    flex-direction: column;
  }

  .about-text {
    width: 100%;
  }

  .about-mark {
    border-left: none;
    border-top: 2px solid #D7261E;
    padding-left: 0;
    padding-top: 24px;
    text-align: center;
    height: auto;
  }

  .contact {
    padding: 80px 20px;
  }

  .contact-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .modal-body {
    grid-template-columns: 1fr;
  }

  .modal-image {
    aspect-ratio: 1 / 1;
  }

  .modal-image img {
    max-height: none;
  }
}

@media (max-width: 600px) {
  h2 {
    font-size: 32px;
  }

  .logo-header {
    height: 52px;
  }

  .nav a {
    font-size: 14px;
  }

  .hero {
    min-height: 80vh;
    padding-top: 64px;
    padding-bottom: 96px;
    background-position: bottom center;
    background-size: 100% auto;
  }

  .btn-primary,
  .about-btn {
    padding: 12px 24px;
  }

  .process-subtitle {
    font-size: 18px;
    margin-bottom: 40px;
  }

  .process-text h3 {
    font-size: 20px;
  }

  .products h3 {
    font-size: 16px;
    margin-bottom: 32px;
  }

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

  .product-card h4 {
    flex-direction: column;
    align-items: flex-start;
  }

  .modal {
    padding: 12px;
  }

  .modal-body {
    padding: 16px;
  }

  .modal-details h3 {
    font-size: 22px;
  }

  .modal-field {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .contact-form {
    padding: 24px;
  }

  .contact-actions {
    flex-direction: column;
  }

  .contact-form button {
    width: 100%;
  }

  .contact-socials {
    justify-content: flex-start;
  }

  .product-page {
    padding: 64px 20px;
  }

  .product-page-grid {
    grid-template-columns: 1fr;
  }

  .product-page-title {
    font-size: 28px;
  }
}
