/* Maria Nail Designer - CSS enxuto, mobile-first, fontes do sistema */

:root {
  --cream: #fdfbf7;
  --white: #ffffff;
  --rose: #e3b7b3;
  --rose-soft: #f6e7e5;
  --rose-deep: #b9797a;
  --yellow: #fbefc4;
  --yellow-deep: #f2dd93;
  --ink: #3c3230;
  --ink-soft: #7a6c69;
  --line: #efe6e2;

  --radius: 16px;
  --radius-lg: 22px;
  --gap: 1rem;
  --section-y: 2.25rem;
  --shadow: 0 6px 20px rgba(60, 50, 48, .06);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { margin: 0; line-height: 1.25; font-weight: 600; }

p { margin: 0; }

ul { margin: 0; padding: 0; list-style: none; }

a { color: inherit; text-decoration: none; }

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

:focus-visible {
  outline: 3px solid var(--rose-deep);
  outline-offset: 3px;
  border-radius: 6px;
}

.container {
  width: 100%;
  max-width: 68rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--white);
  padding: .75rem 1rem;
  z-index: 20;
}
.skip-link:focus { left: 1rem; top: .5rem; }

/* Compensa o cabecalho fixo ao navegar pelas ancoras */
section[id] { scroll-margin-top: 5.25rem; }


/* ---------- CABEÇALHO ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(253, 251, 247, .94);
  border-bottom: 1px solid var(--line);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--gap);
  min-height: 4.5rem;
}

.brand { display: block; }

.brand__title { font-size: 1rem; }

.brand__name {
  display: block;
  font-size: 1.35rem;
  letter-spacing: .02em;
}

.brand__role {
  display: block;
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--rose-deep);
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
}

.site-nav {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.site-nav.is-open { display: block; }

.site-nav ul {
  display: flex;
  flex-direction: column;
  padding: .5rem 1.25rem 1rem;
}

.site-nav a {
  display: block;
  padding: .8rem 0;
  border-bottom: 1px solid var(--line);
  font-size: .98rem;
}

.site-nav li:last-child a { border-bottom: 0; }

/* ---------- BOTÕES ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: .85rem 1.6rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-align: center;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease;
}

.btn--lg { min-height: 3.35rem; padding: .95rem 2rem; }

/* CTA principal: maior peso visual, sem exagero */
.btn--cta {
  min-height: 3.5rem;
  padding: 1rem 2.25rem;
  font-size: 1rem;
  box-shadow: 0 8px 22px rgba(185, 121, 122, .28);
}

.btn--rose { background: var(--rose); color: #4a2f2f; }
.btn--rose:hover { background: var(--rose-deep); color: var(--white); }

.btn--yellow { background: var(--yellow-deep); color: #4a3f22; }
.btn--yellow:hover { background: var(--yellow); }

.btn--outline {
  background: transparent;
  border-color: var(--rose);
  color: var(--rose-deep);
}
.btn--outline:hover { background: var(--rose-soft); }

/* Botão visível, porém sem destino configurado ainda */
.btn.is-pending { opacity: .72; cursor: default; }


/* ---------- SEÇÕES ---------- */

.section { padding: var(--section-y) 0; }

.section--last {
  padding-bottom: calc(var(--section-y) + .75rem);
  text-align: center;
}

.section__title {
  font-size: 1.4rem;
  margin-bottom: 1.1rem;
}

.hero {
  padding: 2.75rem 0 2.25rem;
  text-align: center;
}

.hero__title {
  font-size: clamp(1.6rem, 5.2vw, 2.35rem);
  margin-bottom: .7rem;
}

.hero__text {
  color: var(--ink-soft);
  max-width: 34rem;
  margin: 0 auto 1.5rem;
}

.hero__actions {
  display: flex;
  justify-content: center;
}

/* ---------- CARDS ---------- */

.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .75rem;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem;
}

.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: .9rem;
  border-radius: 14px;
  background: var(--rose-soft);
  color: var(--rose-deep);
}

.card__heading { font-size: 1.08rem; }

.card__heading--lg { font-size: 1.5rem; }

/* Cards de servico compactos no mobile: grade 2x2 */
.grid .card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem .6rem;
}

.grid .card__icon {
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: .6rem;
}

.grid .card__heading {
  font-size: .95rem;
  overflow-wrap: break-word;
}

.card--feature {
  border: 0;
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
}

.card--rose { background: var(--rose-soft); }
.card--yellow { background: var(--yellow); }

/* Destaque do Combo Amigas: leve, sem exagero */
.card--combo {
  background: var(--rose-soft);
  border: 1px solid var(--rose);
  box-shadow: 0 10px 26px rgba(185, 121, 122, .16);
}

.card--combo .card__heading--lg { font-size: 1.6rem; }

.card--combo .card__big {
  display: inline-block;
  padding: .3rem 1.1rem;
  border-radius: 999px;
  background: var(--yellow);
  color: #4a3f22;
}

.eyebrow {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--rose-deep);
  margin-bottom: .6rem;
}

.card__big {
  font-size: 2.1rem;
  font-weight: 700;
  letter-spacing: .02em;
  margin: .35rem 0 .25rem;
}

.card__text {
  color: var(--ink-soft);
}

.card--feature .card__heading + .btn,
.card--feature .card__text + .btn { margin-top: 1.25rem; }

/* ---------- INSTAGRAM ---------- */

.social {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .85rem;
  padding: 1.5rem 1.25rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: center;
}

.social__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--rose-soft);
  color: var(--rose-deep);
}

.social__text {
  color: var(--ink-soft);
  font-size: .95rem;
}

/* ---------- LOCALIZAÇÃO ---------- */

.place {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: border-color .15s ease;
}

.place:hover { border-color: var(--rose); }

.place__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: var(--rose-soft);
  color: var(--rose-deep);
}

.place__text { display: block; }

.place__city {
  display: block;
  font-weight: 600;
}

.place__state {
  display: block;
  font-size: .92rem;
  color: var(--ink-soft);
}

.place__hint {
  margin-left: auto;
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--rose-deep);
  text-align: right;
}

/* ---------- RODAPÉ ---------- */

.site-footer {
  padding: 2rem 0;
  border-top: 1px solid var(--line);
  text-align: center;
  font-size: .88rem;
  color: var(--ink-soft);
}

.site-footer__copy { margin-top: .35rem; font-size: .8rem; }

/* ---------- BOTÃO FLUTUANTE DE WHATSAPP ---------- */

.wa-float {
  position: fixed;
  right: 1rem;
  bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  z-index: 15;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  background: var(--rose);
  color: #4a2f2f;
  box-shadow: 0 8px 20px rgba(60, 50, 48, .18);
  transition: background-color .15s ease;
}

.wa-float:hover { background: var(--rose-deep); color: var(--white); }

/* Sem número configurado o botão não aparece */
.wa-float[hidden] { display: none; }

/* ---------- DESKTOP ---------- */

@media (min-width: 48rem) {
  :root { --section-y: 3.25rem; }

  .nav-toggle { display: none; }

  .site-nav {
    display: block;
    position: static;
    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .site-nav ul {
    flex-direction: row;
    gap: 1.5rem;
    padding: 0;
  }

  .site-nav a {
    padding: .35rem 0;
    border-bottom: 0;
    font-size: .92rem;
  }

  .site-nav a:hover { color: var(--rose-deep); }

  .hero { padding: 3.75rem 0 3rem; }

  .hero__title { font-size: 2.35rem; }

  .grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }

  /* Acima do mobile os cards de servico voltam ao estilo original */
  .grid .card {
    display: block;
    text-align: left;
    padding: 1.5rem 1.25rem;
  }

  .grid .card__icon {
    width: 3rem;
    height: 3rem;
    margin-bottom: .9rem;
  }

  .grid .card__heading { font-size: 1.08rem; }

  .card--feature { padding: 2.25rem 2rem; }

  .card__big { font-size: 2.6rem; }

  .social {
    flex-direction: row;
    justify-content: center;
    gap: 1.25rem;
    text-align: left;
  }

  .social__text { margin-right: .5rem; }

  .wa-float {
    right: 1.5rem;
    bottom: calc(1.5rem + env(safe-area-inset-bottom, 0px));
    width: 3.5rem;
    height: 3.5rem;
  }
}

@media (min-width: 64rem) {
  .grid { grid-template-columns: repeat(4, 1fr); }

  .brand__name { font-size: 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
