/* ==========================================================================
   Corte Alegria - design tokens
   ========================================================================== */
:root {
  --cream:      #fff8ec;
  --cream-alt:  #fdeedd;
  --ink:        #2b2438;
  --ink-soft:   #5b5270;

  --orange:  #ff7a1a;
  --yellow:  #ffd400;
  --green:   #7cb92c;
  --purple:  #8e1c8a;
  --pink:    #ec1e79;
  --blue:    #29abe2;

  --whatsapp: #23c16b;

  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;

  --border-w: 3px;
  --shadow-pop: 5px 5px 0 var(--ink);
  --shadow-pop-sm: 3px 3px 0 var(--ink);

  --font-display: "Fredoka", "Segoe UI", sans-serif;
  --font-body: "Nunito", "Segoe UI", sans-serif;
}

/* ==========================================================================
   Reset
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; margin: 0; }
p { margin: 0; }

.wrap {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* subtle confetti texture on the whole page */
body {
  background-image:
    radial-gradient(var(--yellow) 2.5px, transparent 2.5px),
    radial-gradient(var(--blue) 2.5px, transparent 2.5px),
    radial-gradient(var(--pink) 2.5px, transparent 2.5px);
  background-size: 140px 140px, 160px 160px, 180px 180px;
  background-position: 0 0, 60px 80px, 100px 20px;
  background-attachment: fixed;
  background-repeat: repeat;
}
@media (prefers-color-scheme: dark) {
  body { background-color: var(--cream); }
}

/* dotted confetti opacity kept low via color-mix fallback */
body { background-blend-mode: normal; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 12px 22px;
  border-radius: 999px;
  border: var(--border-w) solid var(--ink);
  box-shadow: var(--shadow-pop-sm);
  background: var(--yellow);
  color: var(--ink);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  white-space: nowrap;
}
.btn:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--ink);
}
.btn:active {
  transform: translate(1px, 1px);
  box-shadow: 1px 1px 0 var(--ink);
}
.btn-whatsapp { background: var(--whatsapp); color: #fff; }
.btn-outline { background: transparent; }
.wa-icon {
  width: 1.3em;
  height: 1.3em;
  flex-shrink: 0;
  filter: brightness(0) invert(1);
}
.ig-icon {
  width: 1.3em;
  height: 1.3em;
  flex-shrink: 0;
  vertical-align: -0.15em;
}
.btn-lg { padding: 16px 30px; font-size: 1.1rem; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 248, 236, 0.9);
  backdrop-filter: blur(6px);
  border-bottom: var(--border-w) solid var(--ink);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-top: 10px;
  padding-bottom: 10px;
}
.brand-logo { height: 76px; width: auto; }
.main-nav {
  display: flex;
  gap: 22px;
  margin-left: auto;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
}
.main-nav a { position: relative; padding: 4px 2px; }
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -3px;
  height: 3px;
  background: var(--pink);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}
.main-nav a:hover::after { transform: scaleX(1); }

.header-cta { margin-left: 8px; }
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: var(--yellow);
  border: var(--border-w) solid var(--ink);
  border-radius: 10px;
  margin-left: auto;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 3px;
  background: var(--ink);
  margin: 0 auto;
  border-radius: 2px;
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  padding: 84px 0 96px;
  overflow: hidden;
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 760px;
}
.eyebrow {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--purple);
  background: #fff;
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  border: 2px solid var(--purple);
  font-size: 0.85rem;
  margin-bottom: 20px;
}
.hero-title {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  line-height: 1.08;
  color: var(--ink);
  margin-bottom: 22px;
}
.hero-title .highlight {
  color: var(--orange);
  position: relative;
  white-space: nowrap;
}
.hero-sub {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 560px;
  margin-bottom: 32px;
}
.unit-switcher {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.unit-switcher-label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.unit-pill {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 8px 16px;
  border-radius: 999px;
  border: 2px solid var(--ink);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.unit-pill:hover { transform: translateY(-1px); }
.unit-pill.active {
  background: var(--purple);
  color: #fff;
  border-color: var(--ink);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 36px;
}
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 26px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.trust-row li { display: flex; align-items: center; gap: 8px; }

.hero-deco { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.deco.star {
  position: absolute;
  color: var(--yellow);
  -webkit-text-stroke: 2px var(--ink);
  font-size: 2.2rem;
  animation: floaty 6s ease-in-out infinite;
}
.deco.s1 { top: 14%; right: 12%; animation-delay: 0s; }
.deco.s2 { top: 62%; right: 26%; font-size: 1.5rem; color: var(--pink); animation-delay: 1.4s; }
.deco.dot { position: absolute; border-radius: 50%; border: 3px solid var(--ink); }
.deco.d1 { width: 22px; height: 22px; background: var(--blue); top: 30%; right: 40%; animation: floaty 5s ease-in-out infinite; }
.deco.d2 { width: 14px; height: 14px; background: var(--green); top: 78%; right: 8%; animation: floaty 7s ease-in-out infinite 0.6s; }
.deco.d3 { width: 18px; height: 18px; background: var(--purple); top: 8%; right: 34%; animation: floaty 6.5s ease-in-out infinite 1s; }
.deco.blob {
  position: absolute;
  border-radius: 50% 45% 55% 50% / 55% 50% 50% 45%;
  opacity: 0.55;
  filter: blur(0px);
}
.deco.b1 { width: 240px; height: 240px; background: var(--yellow); top: -60px; right: -60px; }
.deco.b2 { width: 180px; height: 180px; background: var(--blue); top: 220px; right: 18%; opacity: 0.3; }
.deco.scissors {
  position: absolute;
  font-size: 2.4rem;
  top: 45%;
  right: 4%;
  animation: floaty 5.5s ease-in-out infinite 0.3s;
}

@keyframes floaty {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-14px) rotate(6deg); }
}

/* ==========================================================================
   Sections generic
   ========================================================================== */
.section { padding: 88px 0; position: relative; }
.section-alt { background: var(--cream-alt); }
.kicker {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--pink);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  margin-bottom: 10px;
}
.section-title {
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  margin-bottom: 16px;
  max-width: 720px;
}
.section-lead {
  color: var(--ink-soft);
  max-width: 620px;
  font-size: 1.08rem;
  margin-bottom: 44px;
}

/* ==========================================================================
   Diferencial cards
   ========================================================================== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 24px;
}
.card {
  background: #fff;
  border: var(--border-w) solid var(--ink);
  border-radius: var(--radius-md);
  padding: 26px 22px;
  box-shadow: var(--shadow-pop);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translate(-3px, -3px); box-shadow: 8px 8px 0 var(--ink); }
.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 3px solid var(--ink);
  font-size: 1.6rem;
  margin-bottom: 16px;
}
.card-orange .card-icon { background: var(--orange); }
.card-blue .card-icon { background: var(--blue); }
.card-green .card-icon { background: var(--green); }
.card-pink .card-icon { background: var(--pink); }
.card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.card p { color: var(--ink-soft); font-size: 0.98rem; }

/* ==========================================================================
   Serviços
   ========================================================================== */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.service-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #fff;
  border: var(--border-w) solid var(--ink);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-pop-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.service-card:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.service-card.featured {
  background: #fff2f8;
  border-color: var(--pink);
  box-shadow: 5px 5px 0 var(--pink);
}
.service-card.featured:hover { box-shadow: 8px 8px 0 var(--pink); }
.service-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--cream-alt);
  border: 2px solid var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-info { flex: 1; }
.service-info h3 { font-size: 1.05rem; margin-bottom: 6px; }
.service-info p { color: var(--ink-soft); font-size: 0.92rem; }
.service-price {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--purple);
  white-space: nowrap;
  margin-top: 4px;
}
.service-note {
  margin-top: 30px;
  font-size: 0.88rem;
  color: var(--ink-soft);
  font-style: italic;
}
.service-instagram { margin-top: 24px; }
.service-instagram p {
  font-family: var(--font-display);
  font-weight: 600;
  margin-bottom: 10px;
}
.service-instagram-links { display: flex; flex-wrap: wrap; gap: 20px; }

/* ==========================================================================
   Galeria
   ========================================================================== */
.gallery-photos { display: flex; flex-direction: column; gap: 20px; }
.gallery-photo-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.gallery-photo {
  margin: 0;
  border-radius: var(--radius-md);
  border: var(--border-w) solid var(--ink);
  box-shadow: var(--shadow-pop);
  overflow: hidden;
  background: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.gallery-photo:hover { transform: translate(-3px, -3px); box-shadow: 8px 8px 0 var(--ink); }
.gallery-photo img {
  width: 100%;
  aspect-ratio: 1400 / 612;
  object-fit: cover;
}
.gallery-photo figcaption {
  padding: 10px 16px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--ink-soft);
  border-top: 2px dashed #e6d9c2;
}

/* ==========================================================================
   Horários
   ========================================================================== */
.horarios-wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.horarios-text .btn { margin-top: 8px; }
.horarios-grid { display: flex; flex-direction: column; gap: 20px; }
.horarios-card {
  background: #fff;
  border: var(--border-w) solid var(--ink);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-pop);
  padding: 22px 26px;
}
.horarios-card h3 {
  font-size: 1.05rem;
  margin-bottom: 12px;
  color: var(--purple);
}
.horarios-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}
.horarios-table th, .horarios-table td {
  text-align: left;
  padding: 10px 0;
  font-size: 0.95rem;
}
.horarios-table th { font-weight: 600; }
.horarios-table tr:not(:last-child) th,
.horarios-table tr:not(:last-child) td {
  border-bottom: 2px dashed #e6d9c2;
}

/* ==========================================================================
   Depoimentos
   ========================================================================== */
.placeholder-note {
  font-size: 0.85rem;
  color: var(--ink-soft);
  font-style: italic;
  margin-top: -28px;
  margin-bottom: 40px;
}
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}
.testimonial {
  margin: 0;
  background: #fff;
  border: var(--border-w) solid var(--ink);
  border-radius: var(--radius-md);
  padding: 26px 22px;
  box-shadow: var(--shadow-pop-sm);
  position: relative;
}
.testimonial p {
  font-size: 1rem;
  color: var(--ink);
  margin-bottom: 16px;
}
.testimonial cite {
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--pink);
}
.testimonial cite span { color: var(--ink-soft); font-weight: 400; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 720px;
}
.faq-item {
  background: #fff;
  border: var(--border-w) solid var(--ink);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-pop-sm);
  padding: 4px 22px;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  color: var(--ink-soft);
  padding-bottom: 20px;
  padding-top: 2px;
}

/* ==========================================================================
   Unidades (CTA final)
   ========================================================================== */
.cta-section { padding-top: 40px; }
.unit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.unit-card {
  position: relative;
  background: #fff;
  border: var(--border-w) solid var(--ink);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  box-shadow: var(--shadow-pop);
}
.unit-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 3px solid var(--ink);
  font-size: 1.5rem;
  margin-bottom: 14px;
}
.unit-orange .unit-icon { background: var(--orange); }
.unit-pink .unit-icon { background: var(--pink); }
.unit-card h3 { font-size: 1.3rem; margin-bottom: 8px; }
.unit-rating {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  margin-bottom: 14px;
}
.unit-rating:hover { color: var(--purple); }
.unit-rating-count {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.82rem;
  color: var(--ink-soft);
}
.unit-address { color: var(--ink-soft); font-size: 0.98rem; margin-bottom: 22px; }
.unit-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.unit-instagram {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--purple);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.unit-instagram:hover { color: var(--pink); }
.unit-maps {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink-soft);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.unit-maps:hover { color: var(--purple); }
.unit-shopping-link {
  display: inline-block;
  margin-top: 16px;
  font-size: 0.82rem;
  color: var(--ink-soft);
  text-decoration: underline;
  text-decoration-color: transparent;
  transition: text-decoration-color 0.15s ease, color 0.15s ease;
}
.unit-shopping-link:hover { color: var(--purple); text-decoration-color: currentColor; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--ink);
  color: #f2ecff;
  padding: 56px 0 28px;
}
.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px 48px;
}
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.footer-logo {
  height: 46px;
  width: auto;
}
.footer-brand p { color: #b6a9d6; font-size: 0.9rem; }
.footer-units {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px 40px;
}
.footer-unit-name {
  font-family: var(--font-display);
  font-weight: 600;
  color: #fff;
  margin-bottom: 12px;
}
.footer-info { display: flex; flex-direction: column; gap: 12px; font-size: 0.95rem; }
.footer-info li { display: flex; align-items: flex-start; gap: 8px; color: #ddd2f5; }
.footer-info a:hover { color: var(--yellow); }
.footer-info em { color: #8f7fb8; font-style: normal; font-size: 0.82rem; }
.footer-copy {
  grid-column: 1 / -1;
  margin-top: 12px;
  padding-top: 20px;
  border-top: 1px solid #4a4160;
  font-size: 0.82rem;
  color: #8f7fb8;
}

/* ==========================================================================
   Botão flutuante de WhatsApp
   ========================================================================== */
.wa-float-wrap {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
}
.wa-float {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 3px solid var(--ink);
  background: var(--whatsapp);
  color: #fff;
  font-size: 1.7rem;
  box-shadow: var(--shadow-pop);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.wa-float:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--ink); }
.wa-float-menu {
  background: #fff;
  border: var(--border-w) solid var(--ink);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-pop);
  padding: 16px;
  width: 240px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.wa-float-menu[hidden] { display: none; }
.wa-float-menu-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin: 0 0 2px;
}
.wa-float-menu-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 2px solid var(--ink);
  background: var(--whatsapp);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.88rem;
  transition: transform 0.15s ease;
}
.wa-float-menu-link:hover { transform: translateY(-1px); }

@media (max-width: 760px) {
  .wa-float-wrap { right: 16px; bottom: 16px; }
  .wa-float { width: 56px; height: 56px; font-size: 1.5rem; }
}

/* ==========================================================================
   Scroll reveal
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal-group .reveal:nth-child(1) { transition-delay: 0s; }
.reveal-group .reveal:nth-child(2) { transition-delay: 0.08s; }
.reveal-group .reveal:nth-child(3) { transition-delay: 0.16s; }
.reveal-group .reveal:nth-child(4) { transition-delay: 0.24s; }
.reveal-group .reveal:nth-child(5) { transition-delay: 0.32s; }
.reveal-group .reveal:nth-child(6) { transition-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .deco.star, .deco.dot, .deco.scissors { animation: none; }
  .btn, .card, .service-card, .gallery-photo, .wa-float, .unit-pill { transition: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 860px) {
  .horarios-wrap { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    border-bottom: var(--border-w) solid var(--ink);
    flex-direction: column;
    gap: 0;
    padding: 8px 24px 16px;
    display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 0; border-bottom: 1px dashed #e6d9c2; }
  .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .hero { padding: 56px 0 72px; }
  .hero-deco { opacity: 0.7; }
  .section { padding: 64px 0; }
}

@media (max-width: 480px) {
  .brand-logo { height: 52px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
}
