/* RESET SIMPLES */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  color: #3a2618;
  background-color: #f7e6d5;
}

/* CONTAINER */
.cm-container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* HEADER */
.cm-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: #f7e6d5;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.cm-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
}

.cm-logo {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 700;
  font-size: 1.1rem;
}

.cm-logo-icon {
  font-size: 1.5rem;
}

.cm-nav {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.cm-nav a {
  text-decoration: none;
  color: #3a2618;
  font-size: 0.95rem;
}

.cm-nav a:hover {
  text-decoration: underline;
}

/* BOTÕES */
.cm-btn {
  border: none;
  cursor: pointer;
  font-weight: 600;
  border-radius: 999px;
  padding: 0.5rem 1.2rem;
  font-size: 0.95rem;
  transition: transform 0.1s ease, box-shadow 0.1s ease, background-color 0.15s ease;
}

.cm-btn-primary {
  background-color: #b95b36;
  color: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
}

.cm-btn-primary:hover {
  background-color: #a34e2c;
  transform: translateY(-1px);
}

.cm-btn-secondary {
  background-color: #f3b9a5;
  color: #3a2618;
}

.cm-btn-secondary:hover {
  background-color: #efaa93;
  transform: translateY(-1px);
}

.cm-btn-link {
  background: none;
  padding: 0;
  border-radius: 0;
  color: #b95b36;
  box-shadow: none;
}

.cm-btn-link:hover {
  text-decoration: underline;
}

.cm-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.4rem;
}

/* HERO */
.cm-hero {
  padding: 3rem 0 2rem;
}

.cm-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  align-items: center;
  gap: 2.5rem;
}

.cm-hero h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.cm-hero p {
  margin-bottom: 1.5rem;
}

.cm-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.cm-hero-badges {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.85rem;
}

.cm-hero-badges li {
  list-style: none;
}

.cm-hero-pill {
  background-color: #fdf2e9; /* tom suave, combina com o fundo */
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
  font-size: 0.85rem;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(0,0,0,0.08);
  transition: all 0.15s ease;
}

.cm-hero-pill:hover {
  background-color: #f3b9a5;   /* realce suave igual ao tema */
  color: #3a2618;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  transform: translateY(-1px);
}


.cm-hero-image img {
  width: 100%;
  border-radius: 1.5rem;
  display: block;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* PESQUISA */
.cm-search {
  padding: 1.5rem 0;
  background-color: #f3b9a5;
}

.cm-search-inner {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.cm-search-label {
  font-weight: 600;
}

#search-sabores {
  padding: 0.5rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,0.15);
  font-size: 0.95rem;
}

/* SECÇÕES */
.cm-section {
  padding: 3rem 0;
}

.cm-section-alt {
  background-color: #ffeede;
}

.cm-section-small {
  padding: 2rem 0;
}

.cm-section-header {
  text-align: center;
  margin-bottom: 2rem;
}

.cm-section-header h2 {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

/* GRID */
.cm-grid {
  display: grid;
  gap: 1.5rem;
}

.cm-grid-sabores {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.cm-grid-testemunhos {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

/* CARDS SABOR */
.cm-card-sabor {
  background-color: #fff;
  border-radius: 1rem;
  padding: 1.25rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.cm-card-sabor h3 {
  font-size: 1.1rem;
}

.cm-tag {
  align-self: flex-start;
  font-size: 0.8rem;
  padding: 0.1rem 0.5rem;
  border-radius: 999px;
  background-color: #b5d6a1;
}

/* CTA CENTER */
.cm-cta-center {
  margin-top: 2rem;
  text-align: center;
}

/* CAIXA MISTÉRIO */
.cm-caixa-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 2rem;
  align-items: center;
}

.cm-caixa-image img {
  width: 100%;
  border-radius: 1.5rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.cm-list {
  list-style: none;
  margin: 1rem 0;
  padding-left: 0;
}

.cm-list li {
  margin-bottom: 0.4rem;
}

/* SOBRE */
.cm-sobre-inner {
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
}

.cm-sobre-highlights {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.cm-sobre-item {
  background-color: #ffeede;
  padding: 0.7rem 0.9rem;
  border-radius: 0.9rem;
  font-size: 0.9rem;
}

/* TESTEMUNHOS */
.cm-card-testemunho {
  background-color: #fff;
  border-radius: 1rem;
  padding: 1.25rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  font-size: 0.95rem;
}

.cm-card-testemunho p {
  margin-bottom: 0.75rem;
}

.cm-testemunho-nome {
  font-weight: 600;
  font-size: 0.9rem;
}

/* FAQ */
.cm-faq-list {
  max-width: 680px;
  margin: 0 auto;
}

.cm-faq-list details {
  background-color: #fff;
  border-radius: 0.75rem;
  margin-bottom: 0.75rem;
  padding: 0.7rem 0.9rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.cm-faq-list summary {
  cursor: pointer;
  font-weight: 600;
}

.cm-faq-list p {
  margin-top: 0.5rem;
  font-size: 0.9rem;
}

/* CTA FINAL */
.cm-section-cta-final {
  background: linear-gradient(135deg, #b95b36, #f3b9a5);
  color: #fff;
}

.cm-cta-final-inner {
  text-align: center;
}

.cm-cta-final-inner h2 {
  font-size: 1.7rem;
  margin-bottom: 0.5rem;
}

/* FOOTER */
.cm-footer {
  background-color: #3a2618;
  color: #f7e6d5;
  padding-top: 2rem;
  padding-bottom: 1.5rem;
}

.cm-footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 2rem;
}

.cm-contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.cm-contact-form input,
.cm-contact-form textarea {
  border-radius: 0.6rem;
  border: none;
  padding: 0.5rem 0.6rem;
  font-size: 0.9rem;
}

.cm-contact-form textarea {
  resize: vertical;
}

.cm-footer h3 {
  margin-bottom: 0.75rem;
}

.cm-footer a {
  color: #f3b9a5;
  text-decoration: none;
}

.cm-footer a:hover {
  text-decoration: underline;
}

.cm-social {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-top: 0.5rem;
}

.cm-footer-links {
  list-style: none;
}

.cm-footer-links li {
  margin-bottom: 0.35rem;
}

.cm-footer-bottom {
  margin-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 0.75rem;
  text-align: center;
  font-size: 0.8rem;
}

/* RESPONSIVO */
@media (max-width: 840px) {
  .cm-hero-inner,
  .cm-caixa-inner,
  .cm-sobre-inner {
    grid-template-columns: 1fr;
  }

  .cm-hero {
    padding-top: 1.5rem;
  }

  .cm-nav {
    display: none;
    position: absolute;
    right: 1.5rem;
    top: 3rem;
    flex-direction: column;
    background-color: #f7e6d5;
    padding: 0.75rem;
    border-radius: 0.75rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  }

  .cm-nav.cm-nav-open {
    display: flex;
  }

  .cm-menu-toggle {
    display: block;
  }
 .cm-sabor-img {
   width: 100%;
   border-radius: 1rem;
   margin-bottom: 0.75rem;
   display: block;
   object-fit: cover;
   box-shadow: 0 4px 10px rgba(0,0,0,0.08);
 }
 /* MODAL SABOR */
.cm-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  z-index: 100;
}

.cm-modal-backdrop.cm-modal-open {
  display: flex;
}

.cm-modal {
  background-color: #f7e6d5;
  border-radius: 1.5rem;
  max-width: 480px;
  width: 100%;
  padding: 1.5rem 1.75rem 1.75rem;
  box-shadow: 0 15px 40px rgba(0,0,0,0.35);
  position: relative;
}

.cm-modal h3 {
  margin-bottom: 0.75rem;
  font-size: 1.3rem;
}

.cm-modal p {
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

.cm-modal-info {
  list-style: none;
  margin: 0 0 1rem 0;
  padding: 0;
  font-size: 0.9rem;
}

.cm-modal-info li {
  margin-bottom: 0.35rem;
}

.cm-modal-close {
  position: absolute;
  top: 0.6rem;
  right: 0.8rem;
  border: none;
  background: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #3a2618;
}
/* MODAL SABOR */
.cm-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: none;                 /* <- importante: escondido por padrão */
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  z-index: 100;
}

.cm-modal-backdrop.cm-modal-open {
  display: flex;                 /* <- quando o JS adiciona esta classe, aparece */
}

.cm-modal {
  background-color: #f7e6d5;
  border-radius: 1.5rem;
  max-width: 480px;
  width: 100%;
  padding: 1.5rem 1.75rem 1.75rem;
  box-shadow: 0 15px 40px rgba(0,0,0,0.35);
  position: relative;
}

.cm-modal h3 {
  margin-bottom: 0.75rem;
  font-size: 1.3rem;
}

.cm-modal p {
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

.cm-modal-info {
  list-style: none;
  margin: 0 0 1rem 0;
  padding: 0;
  font-size: 0.9rem;
}

.cm-modal-info li {
  margin-bottom: 0.35rem;
}

.cm-modal-close {
  position: absolute;
  top: 0.6rem;
  right: 0.8rem;
  border: none;
  background: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #3a2618;
}
.cm-form-group {
  margin-bottom: 0.75rem;
}

.cm-form-group label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

.cm-form-group input,
.cm-form-group select {
  width: 100%;
  padding: 0.4rem 0.5rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(0,0,0,0.15);
  font-size: 0.9rem;
}

.cm-order-note {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: #5e4a3a;
}
.cm-hp {
  display: none;
}
.cm-hp {
  position: absolute;
  left: -9999px;
  top: -9999px;
  height: 0;
  width: 0;
  overflow: hidden;
}

}
