/* ============================================================
   Clê Espaço de Beleza — estilos
   Paleta inspirada no logo: rosé gold sobre rosa acinzentado
   ============================================================ */

:root {
  --rosa-fundo:   #f6e7e7;   /* fundo claro */
  --rosa-medio:   #e6c3c4;   /* rosa do logo */
  --rose-gold:    #b76e79;   /* dourado rosado (destaques) */
  --rose-gold-2:  #c98d95;   /* variação clara */
  --mauve:        #6e4b4f;   /* texto escuro elegante */
  --creme:        #fffafa;   /* branco quente */
  --sombra:       0 10px 30px rgba(140, 90, 95, 0.15);
  --raio:         18px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: 'Montserrat', system-ui, -apple-system, Segoe UI, sans-serif;
  color: var(--mauve);
  background: var(--creme);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  font-weight: 600;
  line-height: 1.15;
  color: var(--mauve);
  letter-spacing: 0.5px;
}

h2 { font-size: clamp(2rem, 5vw, 3rem); }
h3 { font-size: 1.5rem; }

a { color: var(--rose-gold); text-decoration: none; transition: color .2s; }
a:hover { color: var(--mauve); }

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

/* ===================== BOTÕES ===================== */
.btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--rose-gold), var(--rose-gold-2));
  color: var(--creme);
  padding: .8rem 1.6rem;
  border-radius: 999px;
  font-weight: 500;
  letter-spacing: .5px;
  box-shadow: var(--sombra);
  transition: transform .2s, box-shadow .2s, opacity .2s;
  border: none;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); color: var(--creme); opacity: .95; }
.btn--sm  { padding: .5rem 1.1rem; font-size: .9rem; }
.btn--lg  { padding: 1rem 2.2rem; font-size: 1.05rem; }
.btn--block { display: block; width: 100%; text-align: center; }
.btn--ghost {
  background: transparent;
  color: var(--rose-gold);
  border: 1.5px solid var(--rose-gold);
  box-shadow: none;
}
.btn--ghost:hover { background: var(--rosa-fundo); color: var(--rose-gold); }

/* ===================== CABEÇALHO ===================== */
.topbar {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: .7rem 1.6rem;
  background: rgba(255,250,250,.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(183,110,121,.18);
}
.brand { display: flex; flex-direction: column; line-height: 1; }
.brand__mark {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.9rem; font-weight: 600;
  color: var(--rose-gold);
  letter-spacing: 1px;
}
.brand__sub {
  font-size: .62rem; letter-spacing: 3px; text-transform: uppercase;
  color: var(--mauve); opacity: .8; margin-top: 2px;
}
.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a { color: var(--mauve); font-size: .9rem; font-weight: 500; letter-spacing: .3px; }
.nav a:not(.btn):hover { color: var(--rose-gold); }
.nav a.btn { color: var(--creme); }

/* ===================== HERO ===================== */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 0%, #fffaf7 0%, transparent 55%),
    linear-gradient(175deg, #fbf3f0 0%, #f7e4e2 55%, #f1d7d6 100%);
  text-align: center;
  padding: 3.5rem 1.2rem 6rem;
}
.hero__inner { position: relative; z-index: 2; max-width: 620px; margin: 0 auto; }

/* Moldura elegante do logo (acaba com o efeito "flutuando") */
.hero__frame {
  display: inline-block;
  padding: 10px;
  margin: 0 auto 1.8rem;
  border-radius: 26px;
  background: linear-gradient(145deg, #fffdfc, #f7e7e5);
  border: 1px solid rgba(183,110,121,.28);
  box-shadow:
    0 20px 50px rgba(140, 90, 95, 0.22),
    inset 0 1px 2px rgba(255,255,255,.7);
}
.hero__logo {
  width: min(320px, 74vw);
  display: block;
  border-radius: 18px;
}
.hero__sub {
  font-size: 1.15rem; margin: 0 auto 2.2rem; color: var(--mauve);
  max-width: 460px;
}
.hero__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* Lua e lótus decorativas — separadas, cada uma num canto */
.hero__deco {
  position: absolute; z-index: 1;
  fill: var(--rose-gold); opacity: .13; pointer-events: none;
}
.hero__deco--lua   { width: 120px; height: 120px; top: 2.5rem;   left: -2rem; transform: rotate(-12deg); }
.hero__deco--lotus { width: 150px; height: 95px;  bottom: 3.5rem; right: -2rem; }

/* Onda de transição suave para a próxima seção */
.hero__wave {
  position: absolute; left: 0; right: 0; bottom: -1px; height: 60px; z-index: 2;
  background: var(--creme);
  clip-path: ellipse(75% 100% at 50% 100%);
}

/* ===================== SEÇÕES ===================== */
.section { padding: 4.5rem 1.2rem; max-width: 1100px; margin: 0 auto; }
.section--alt { background: var(--rosa-fundo); max-width: none; }
.section--alt > * { max-width: 1100px; margin-left: auto; margin-right: auto; }
.section__head { text-align: center; margin-bottom: 3rem; }
.section__head h2 { position: relative; display: inline-block; }
.section__head h2::after {
  content: "";
  display: block;
  width: 64px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--rose-gold), transparent);
  margin: .8rem auto 0;
}
.section__lead { color: var(--rose-gold); font-size: 1.1rem; margin-top: .5rem; }

/* ===================== CARDS SERVIÇOS ===================== */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}
.card {
  background: var(--creme);
  border: 1px solid var(--rosa-medio);
  border-radius: var(--raio);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--sombra); }
.card h3 { margin-bottom: .3rem; color: var(--rose-gold); }
.card__meta { font-size: .82rem; letter-spacing: .5px; color: var(--rose-gold-2); margin-bottom: .5rem; }
.card p { font-size: .95rem; }

/* ===================== EQUIPE ===================== */
.team {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.8rem;
  max-width: 900px; margin: 0 auto;
}
.member { text-align: center; }
.member__photo, .member__avatar {
  width: 130px; height: 130px; border-radius: 50%;
  margin: 0 auto 1rem; object-fit: cover;
  border: 3px solid var(--creme);
  box-shadow: 0 8px 22px rgba(140,90,95,.22);
}
.member__avatar {
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(145deg, var(--rose-gold), var(--rose-gold-2));
  color: var(--creme);
  font-family: 'Cormorant Garamond', serif; font-size: 2.6rem; font-weight: 600;
}
.member__name { color: var(--mauve); margin-bottom: .1rem; }
.member__role { color: var(--rose-gold); font-size: .9rem; }
.member__ig { font-size: .82rem; }

/* ===================== ÍCONES / BOTÃO WHATSAPP ===================== */
.ic { width: 1.15em; height: 1.15em; vertical-align: -.2em; fill: currentColor; }
.btn--wa {
  display: inline-flex; align-items: center; gap: .5rem;
  background: linear-gradient(135deg, #25d366, #1ebe5b);
}
.btn--wa:hover { color: var(--creme); }

/* ===================== INSTAGRAM ===================== */
.ig-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
  max-width: 900px; margin: 0 auto;
}
.ig-cell {
  aspect-ratio: 1; border-radius: var(--raio);
  background: linear-gradient(145deg, var(--rosa-fundo), var(--rosa-medio));
  display: flex; align-items: center; justify-content: center; font-size: 2rem;
  border: 1px solid rgba(183,110,121,.2);
}

/* ===================== NOSSO ESPAÇO (renders) ===================== */
.espaco-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.4rem;
  max-width: 1100px; margin: 0 auto;
}
.espaco-grid figure {
  position: relative; margin: 0; overflow: hidden;
  border-radius: var(--raio); box-shadow: var(--sombra);
}
.espaco-grid img {
  width: 100%; height: 230px; object-fit: cover; display: block;
  transition: transform .4s ease;
}
.espaco-grid figure:hover img { transform: scale(1.06); }
.espaco-grid figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(transparent, rgba(110,75,79,.8));
  color: var(--creme); padding: 1.4rem .9rem .7rem; font-size: .9rem; letter-spacing: .3px;
}

/* ===================== GALERIA (FOTO DO LOCAL) ===================== */
.gallery {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem;
  max-width: 900px; margin: 0 auto 3rem;
}
.gallery--single { grid-template-columns: 1fr; max-width: 560px; }
.gallery__item { position: relative; margin: 0; border-radius: var(--raio); overflow: hidden; box-shadow: var(--sombra); }
.gallery__item img { width: 100%; height: 300px; object-fit: cover; display: block; }
.gallery__item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(transparent, rgba(110,75,79,.75));
  color: var(--creme); padding: 1.2rem 1rem .8rem; font-size: .95rem;
}

/* ===================== SOBRE ===================== */
.about {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
}
.about__text p { margin-bottom: 1rem; }
.about__text .btn { margin-top: .5rem; }
.about__img img { border-radius: var(--raio); box-shadow: var(--sombra); }

/* ===================== AGENDAMENTO ===================== */
.booking__box {
  max-width: 480px; margin: 0 auto;
  background: var(--creme);
  border: 1px solid var(--rosa-medio);
  border-radius: var(--raio);
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: var(--sombra);
}
.booking__or { margin: 1.2rem 0; color: var(--rose-gold-2); font-size: .9rem; }
.booking__alt .btn { width: 100%; }

/* ===================== CONTATO ===================== */
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}
.contact__info p { margin-bottom: 1.2rem; }
.contact__info strong { color: var(--rose-gold); }
.map-placeholder {
  background: var(--rosa-medio);
  border-radius: var(--raio);
  min-height: 240px;
  display: flex; align-items: center; justify-content: center;
  color: var(--mauve); font-size: 1.1rem;
}
.contact__map iframe { width: 100%; min-height: 240px; border: 0; border-radius: var(--raio); }

/* ===================== RODAPÉ ===================== */
.footer {
  background: var(--mauve);
  color: var(--rosa-fundo);
  text-align: center;
  padding: 3rem 1.2rem 2rem;
}
.footer__deco { display: flex; gap: 1.1rem; justify-content: center; align-items: flex-end; margin-bottom: .8rem; }
.footer__ico { fill: var(--rosa-medio); opacity: .9; }
.footer__ico--lua   { width: 34px; height: 34px; }
.footer__ico--lotus { width: 50px; height: 31px; }
.footer__name { font-family: 'Cormorant Garamond', serif; font-size: 1.8rem; color: var(--rosa-fundo); }
.footer__slogan { font-style: italic; font-size: .95rem; opacity: .85; margin-bottom: 1.2rem; }
.footer__social { display: flex; gap: 1.5rem; justify-content: center; margin-bottom: 1.2rem; }
.footer__social a { color: var(--rosa-fundo); font-weight: 500; }
.footer__social a:hover { color: var(--rosa-medio); }
.footer__copy { font-size: .85rem; opacity: .8; }

/* ===================== BOTÃO FLUTUANTE WHATSAPP ===================== */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25d366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
  transition: transform .2s;
}
.wa-float svg { width: 32px; height: 32px; fill: #fff; }
.wa-float:hover { transform: scale(1.08); }

/* ===================== RESPONSIVO ===================== */
@media (max-width: 720px) {
  .nav { gap: .8rem; }
  .nav a:not(.btn) { display: none; }   /* menu enxuto no celular: só o botão Agendar */
  .about, .contact { grid-template-columns: 1fr; }
  .about__img { order: -1; max-width: 320px; margin: 0 auto; }
  .gallery { grid-template-columns: 1fr; }
  .ig-grid { grid-template-columns: repeat(2, 1fr); }
}
