/* =========================================================
   Costura Justa — estilo
   Escrito primeiro para CELULAR; no fim tem ajustes para telas maiores.
   Ideia do visual: ateliê clássico de alfaiataria — azul-marinho,
   papel creme, dourado de fita métrica e um vermelho de linha de costura.
   ========================================================= */

/* ---------- Cores e fontes (mude aqui para trocar o visual todo) ---------- */
:root {
  --marinho: #1d2742;      /* azul-marinho: títulos, topo e rodapé */
  --marinho-claro: #2e3b5e;/* marinho mais claro: textos de apoio */
  --creme: #f7f1e6;        /* fundo principal, cor de papel de molde */
  --creme-2: #efe5d3;      /* fundo das seções alternadas */
  --dourado: #b8893b;      /* dourado: detalhes e destaques */
  --dourado-escuro: #8a6424;/* dourado mais escuro: para TEXTO pequeno sobre o creme (leitura melhor) */
  --fita: #e6c77f;         /* amarelo da fita métrica */
  --linha: #a8432f;        /* vermelho "linha de costura": pontilhados e detalhes */
  --whats: #1b7f47;        /* verde dos botões de WhatsApp (escuro p/ boa leitura) */
  --texto: #2b2b2b;        /* cor do texto comum */
  --titulo: "Playfair Display", Georgia, serif;
  --corpo: "Lato", system-ui, sans-serif;
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--corpo);
  font-size: 1rem;          /* 16px: bom para ler no celular */
  line-height: 1.6;
  color: var(--texto);
  background: var(--creme);
}
img, svg, iframe { max-width: 100%; height: auto; }  /* evita rolagem lateral */
h1, h2, h3 { font-family: var(--titulo); color: var(--marinho); line-height: 1.2; margin: 0 0 .5em; }
h2 { font-size: 2rem; text-align: center; }
/* pontilhado de costura embaixo de cada título de seção */
h2::after {
  content: "";
  display: block;
  width: 90px;
  margin: .4em auto 0;
  border-bottom: 2px dashed var(--linha);
}
a { color: var(--marinho); }
.container { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 1.25rem; }
.centro { text-align: center; margin-top: 2rem; }

/* Marcação dos dados que ainda faltam (amarelo bem visível) */
.preencher { background:#ffeb3b; color:#000; padding:0 .3em; font-weight:700; outline:2px dashed #e53935; }

/* ---------- Botões (altura mínima 48px para o dedo) ---------- */
.botao {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 48px;
  padding: .8rem 1.6rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  transition: background .2s, color .2s;
}
.botao-whatsapp { background: var(--whats); color: #fff; }
.botao-whatsapp:hover { background: #146238; }
.botao-contorno { border: 2px solid var(--marinho); color: var(--marinho); }
.botao-contorno:hover { background: var(--marinho); color: var(--creme); }

/* ---------- Topo ---------- */
.topo {
  background: var(--marinho);
  position: sticky;
  top: 0;
  z-index: 10;
}
.topo-conteudo { display: flex; align-items: center; justify-content: space-between; min-height: 60px; }
.marca {
  font-family: var(--titulo);
  font-size: 1.5rem;
  color: var(--creme);
  text-decoration: none;
}
.marca em, .rodape-marca em { color: var(--fita); font-style: italic; }
.menu { display: none; }  /* no celular, só o nome aparece */

/* ---------- Seção principal (hero) ---------- */
.hero { padding: 3rem 0 2.5rem; }
.hero-conteudo { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2rem; }
.hero-local {
  margin: 0 0 .8rem;
  font-size: .85rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--dourado-escuro);
  font-weight: 700;
}
.hero h1 { font-size: 2.3rem; }
.destaque { font-style: italic; color: var(--linha); }
.hero-sub { font-size: 1.15rem; color: var(--marinho-claro); margin: 0 0 1.6rem; }

/* Selo discreto do Google */
.selo-google {
  display: flex;
  align-items: center;
  gap: .3rem;
  width: fit-content;
  min-height: 44px;           /* altura boa para tocar com o dedo */
  margin: 1.2rem auto 0;
  padding: .35rem 1rem;
  border: 1px solid var(--dourado);
  border-radius: 999px;
  font-size: .9rem;
  color: var(--marinho);
  text-decoration: none;
  background: rgba(255,255,255,.5);
}
.selo-google:hover { background: #fff; }
.selo-estrela { color: var(--dourado); }

.hero-ilustracao svg { width: 260px; }

/* ---------- Fita métrica decorativa (risquinhos feitos com CSS) ---------- */
.fita-metrica {
  height: 26px;
  background-color: var(--fita);
  background-image:
    /* risco grande a cada 50px (como os centímetros) */
    repeating-linear-gradient(90deg, var(--marinho) 0 2px, transparent 2px 50px),
    /* risquinho pequeno a cada 10px (como os milímetros) */
    repeating-linear-gradient(90deg, var(--marinho) 0 1px, transparent 1px 10px);
  background-size: 100% 14px, 100% 7px;
  background-repeat: no-repeat;
  background-position: top left, top left;
  border-top: 1px solid var(--dourado);
  border-bottom: 1px solid var(--dourado);
  opacity: .9;
}

/* ---------- Seções ---------- */
.secao { padding: 3.5rem 0; }
.secao-alternada { background: var(--creme-2); }
.secao-intro { text-align: center; color: var(--marinho-claro); margin: 0 0 2rem; }

/* ---------- Serviços: cartões com borda de "costura" ---------- */
.cartoes { display: grid; gap: 1.2rem; }
.cartao {
  background: #fff;
  padding: 1.5rem 1.4rem;
  border-radius: 10px;
  /* contorno pontilhado por dentro, imitando pesponto */
  outline: 1.5px dashed var(--dourado);
  outline-offset: -8px;
  box-shadow: 0 2px 10px rgba(29,39,66,.07);
}
.cartao h3 { font-size: 1.3rem; }
.cartao p { margin: 0; }

/* ---------- Sobre ---------- */
.sobre { display: grid; gap: 2rem; }
.sobre h2 { text-align: left; }
.sobre h2::after { margin-left: 0; }
.diferenciais { list-style: none; margin: 0; padding: 0; }
.diferenciais li {
  position: relative;
  padding: .7rem 0 .7rem 2rem;
  border-bottom: 1px dashed rgba(29,39,66,.2);
}
/* marcador em forma de "X" de ponto cruz */
.diferenciais li::before {
  content: "✕";
  position: absolute;
  left: .2rem;
  top: .7rem;
  color: var(--linha);
  font-size: .9rem;
}

/* ---------- Localização ---------- */
.endereco { font-style: normal; text-align: center; font-size: 1.05rem; margin-bottom: 1.5rem; }
.referencia { color: var(--marinho-claro); font-size: .95rem; }
.mapa {
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid var(--fita);
}
.mapa iframe { display: block; height: 300px; }

/* ---------- Horários ---------- */
.horarios {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  border-collapse: collapse;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
}
.horarios th, .horarios td { padding: .9rem 1rem; text-align: left; border-bottom: 1px dashed rgba(29,39,66,.2); }
.horarios th { color: var(--marinho); font-weight: 700; width: 45%; }
.horarios tr:last-child th, .horarios tr:last-child td { border-bottom: 0; }

/* ---------- Rodapé ---------- */
.rodape {
  background: var(--marinho);
  color: var(--creme);
  text-align: center;
  padding: 2.5rem 0 6rem;   /* espaço extra embaixo para o botão flutuante não cobrir nada */
  border-top: 4px solid var(--fita);
}
.rodape p { margin: .3rem 0; }
.rodape a { color: var(--fita); }
.rodape-marca { font-family: var(--titulo); font-size: 1.6rem; }
.rodape-ano { margin-top: 1rem !important; font-size: .9rem; opacity: .8; }

/* ---------- Botão flutuante de WhatsApp ---------- */
.whatsapp-flutuante {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 20;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--whats);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,.25);
}
.whatsapp-flutuante:hover { background: #146238; }

/* =========================================================
   TELAS MAIORES (tablet e computador)
   ========================================================= */
@media (min-width: 768px) {
  .menu { display: flex; gap: 1.5rem; }
  .menu a { color: var(--creme); text-decoration: none; font-size: .95rem; padding: .5rem 0; }
  .menu a:hover { color: var(--fita); }

  .hero { padding: 5rem 0 4rem; }
  .hero-conteudo { flex-direction: row; text-align: left; justify-content: space-between; }
  .hero-texto { max-width: 560px; }
  .hero h1 { font-size: 3.2rem; }
  .selo-google { margin-left: 0; }
  .hero-ilustracao svg { width: 340px; }

  .cartoes { grid-template-columns: repeat(3, 1fr); }
  .sobre { grid-template-columns: 1.3fr 1fr; align-items: center; gap: 3rem; }
  .mapa iframe { height: 380px; }
}
