@font-face { font-family: 'Krub'; font-weight: 300; font-display: swap; src: url('assets/fonts/krub-300.woff2') format('woff2'); }
@font-face { font-family: 'Krub'; font-weight: 400; font-display: swap; src: url('assets/fonts/krub-400.woff2') format('woff2'); }
@font-face { font-family: 'Krub'; font-weight: 500; font-display: swap; src: url('assets/fonts/krub-500.woff2') format('woff2'); }
@font-face { font-family: 'Krub'; font-weight: 600; font-display: swap; src: url('assets/fonts/krub-600.woff2') format('woff2'); }
@font-face { font-family: 'Krub'; font-weight: 700; font-display: swap; src: url('assets/fonts/krub-700.woff2') format('woff2'); }

:root {
  interpolate-size: allow-keywords;
  --cream: #FFF8EC;
  --gold: #C8A56A;
  --gold-deep: #8F6E36;
  --sand: #DFC98F;
  --green: #426009;
  --green-deep: #324A06;
  --wine: #4B2228;
  --ink: #000;
  --white: #fff;
  --wa: #00B85C;

  --leaf: 35px 0 35px 0;
  --leaf-lg: 50px 0 50px 0;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --gutter: clamp(16px, 4vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font: 400 17px/1.5 'Krub', system-ui, sans-serif;
  overflow-x: clip;
}
img, iframe { display: block; max-width: 100%; }
img { height: auto; }
figure, blockquote, dl, dd, ul { margin: 0; padding: 0; }
ul { list-style: none; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }

.wrap { width: min(1200px, 100%); margin-inline: auto; padding-inline: var(--gutter); }
.h2 {
  font-size: clamp(30px, 3.2vw, 44px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.01em;
  text-wrap: balance;
}

/* Botao */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px 14px 24px;
  overflow: hidden;
  border-radius: var(--leaf);
  background: var(--green);
  color: var(--white);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: transform .35s var(--ease), background-color .35s, box-shadow .35s;
}
.btn svg { width: 20px; height: 20px; flex: none; transition: transform .45s var(--ease); }
.btn::after {
  content: '';
  position: absolute;
  inset: 0 auto 0 -60%;
  width: 45%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .35), transparent);
  transform: skewX(-20deg);
  transition: left .7s var(--ease);
}
.btn:hover {
  background: var(--green-deep);
  box-shadow: 0 12px 26px -12px rgba(66, 96, 9, .75);
  transform: translateY(-3px);
}
.btn:hover::after { left: 115%; }
.btn:hover svg { transform: rotate(-12deg) scale(1.15); }
.btn:active { transform: translateY(0); }

/* Etiqueta dourada */
.tag {
  display: block;
  width: fit-content;
  padding: 16px 28px;
  border-radius: var(--leaf-lg);
  background: var(--gold);
  color: var(--white);
  font-size: 16px;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
}
.tag b { display: block; font-weight: 700; }

/* Video */
.video {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--ink);
}
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__play {
  position: absolute;
  inset: 0;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.video__play img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .9s var(--ease);
}
.video__play:hover img { transform: scale(1.04); }
.video__play:focus-visible { outline-offset: -6px; outline-color: var(--white); }
.video__icon {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: clamp(60px, 7vw, 88px);
  aspect-ratio: 1;
  margin: 0;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  transform: translate(-50%, -50%);
  transition: transform .35s var(--ease);
}
.video__icon::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--white);
  animation: ring 2.4s var(--ease) infinite;
}
.video__icon svg { width: 38%; height: 38%; margin-left: 6%; }
.video__play:hover .video__icon { transform: translate(-50%, -50%) scale(1.1); }

/* Hero */
.hero {
  position: relative;
  min-height: clamp(560px, 46vw, 860px);
  padding-block: clamp(40px, 4.6vw, 80px) clamp(72px, 7vw, 120px);
  background: var(--cream);
  overflow: hidden;
}
.hero__text {
  position: relative;
  z-index: 2;
  width: min(1200px, 100%);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.hero__logo { width: clamp(190px, 24vw, 340px); margin-bottom: 18px; animation: fade-up .9s var(--ease) both; }
.hero__title { font-weight: 300; line-height: 1; }
.hero__lead { display: block; font-size: clamp(28px, 3.1vw, 46px); line-height: 1.2; }
.hero__word {
  display: block;
  margin-top: 2px;
  font-size: clamp(38px, 6.25vw, 104px);
  font-weight: 700;
  letter-spacing: -.005em;
  line-height: 1.08;
}
.hero__place {
  display: block;
  margin-top: 10px;
  color: var(--wine);
  font-size: clamp(17px, 1.55vw, 23px);
  font-weight: 500;
  line-height: 1.3;
  animation: fade-up .9s .95s var(--ease) both;
}
.hero__sub { margin-block: 12px 26px; font-size: clamp(18px, 1.7vw, 24px); font-weight: 300; animation: fade-up .9s 1.05s var(--ease) both; }
.hero__sub b { font-weight: 500; white-space: nowrap; }
.hero__btn { animation: fade-up .9s 1.2s var(--ease) both; }
.hero__big, .hero__small { position: absolute; margin: 0; overflow: hidden; }
.hero__big {
  top: 0;
  right: 0;
  width: 35vw;
  aspect-ratio: 897 / 1048;
  animation: curtain 1.5s .25s cubic-bezier(.7, 0, .15, 1) both;
}
.hero__big img { width: 100%; height: 114%; object-fit: cover; will-change: transform; animation: settle 2s .25s var(--ease) both; }
.hero__small {
  top: calc(35vw * 1048 / 897 * .65);
  right: calc(35vw + 1.8vw);
  width: 10.8vw;
  aspect-ratio: 275 / 366;
  animation: curtain 1.2s .7s cubic-bezier(.7, 0, .15, 1) both;
}
.hero__small img { width: 100%; height: 100%; object-fit: cover; }

.ch { display: inline-block; animation: rise .85s var(--ease) both; animation-delay: calc(.25s + var(--n) * 45ms); }
.wd { display: inline-block; animation: fade-up .8s var(--ease) both; animation-delay: calc(.1s + var(--n) * 90ms); }
.mask { display: inline-block; overflow: hidden; vertical-align: bottom; }

/* Por que */
.why { padding-bottom: clamp(48px, 5vw, 72px); }
.why__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.why__media { position: relative; padding-block: 92px 44px; }
.why__shape {
  position: absolute;
  top: 0;
  left: 12px;
  bottom: 44px;
  width: 36%;
  border-radius: 0 0 0 90px;
  background: var(--sand);
}
.why__video { position: relative; z-index: 1; }
.why__tag { position: relative; z-index: 2; margin: 12px 0 0 auto; margin-right: -12px; }
.why__body { padding-top: 48px; }
.why__title { max-width: 18ch; margin-inline: auto; text-align: center; }
.why__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 28px; text-align: center; }
.why__list img { width: min(150px, 100%); margin-inline: auto; transition: transform .6s var(--ease); }
.why__list li:hover img { transform: translateY(-8px) rotate(-3deg); }
.why__list h3 { max-width: 12ch; margin: 12px auto 8px; font-size: 20px; font-weight: 700; line-height: 1.15; }
.why__list p { font-size: 15px; line-height: 1.35; }

/* Colagem */
.collage { background: linear-gradient(var(--white) 50%, var(--cream) 50%); }
.collage img { width: min(960px, 100%); margin-inline: auto; }

/* Servicos */
.services { padding-block: clamp(40px, 5vw, 64px) clamp(56px, 6vw, 88px); background: var(--cream); }
.services__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2.3fr);
  gap: clamp(28px, 5vw, 80px);
  width: min(1000px, 100%);
}
.services .h2 { max-width: 8ch; }
.services__tag { margin-top: 12px; }
.services__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px clamp(24px, 4vw, 56px);
  margin-bottom: 28px;
}
.services__list li {
  position: relative;
  width: fit-content;
  padding-block: 9px;
  font-size: 19px;
  font-weight: 600;
}
.services__list li::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 5px;
  width: 100%;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s var(--ease);
}
.services__list li:hover::after { transform: scaleX(1); }

/* Extensao e esmalteria */
.nails { padding-bottom: clamp(56px, 6vw, 88px); background: var(--cream); }
.nails__wrap { width: min(1000px, 100%); }
.nails__intro { max-width: 720px; }
.nails__intro p { margin-top: 14px; font-size: 18px; }
.nails__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 40px);
  margin-top: 32px;
}
.nails__list li { padding-top: 14px; border-top: 2px solid var(--gold); }
.nails__list h3 { font-size: 19px; font-weight: 700; line-height: 1.2; }
.nails__list p { margin-top: 8px; font-size: 16px; line-height: 1.45; }

/* Referencia + depoimentos */
.ref { --overlap: clamp(70px, 15vw, 220px); background: var(--cream); }
.ref__top { position: relative; z-index: 2; width: min(1000px, 100%); }
.ref__title { text-align: center; }
.ref__video { margin-top: 24px; margin-bottom: calc(var(--overlap) * -1); box-shadow: 0 30px 60px -30px rgba(75, 34, 40, .55); }

.voices { position: relative; padding-block: calc(var(--overlap) + 64px) 84px; color: var(--white); }
.voices__slant {
  --tilt: 0px;
  position: absolute;
  inset: 0;
  background: var(--gold);
  clip-path: polygon(0 calc(var(--overlap) * .5 + var(--tilt)), 100% calc(var(--overlap) * .5 - var(--tilt)), 100% 100%, 0 100%);
}
.voices__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
.voices__title { font-size: clamp(26px, 2.5vw, 34px); font-weight: 700; line-height: 1.12; text-wrap: balance; }
.voices__stars { width: 200px; margin-top: 14px; }
.voices blockquote { font-size: 17px; font-weight: 600; line-height: 1.5; text-align: center; }
.voices figcaption { display: flex; justify-content: center; align-items: center; gap: 12px; margin-top: 16px; font-size: 14px; line-height: 1.3; }
.voices figcaption b { display: block; font-size: 16px; font-weight: 600; }
.avatar {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--cream);
  color: var(--wine);
  font-size: 15px;
  font-weight: 700;
}
.voices__btn { position: absolute; left: 50%; bottom: 0; translate: -50% 50%; z-index: 2; }

/* Instagram */
.insta { padding-block: clamp(76px, 7vw, 104px) clamp(36px, 4vw, 56px); }
.insta__grid {
  display: grid;
  grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
  gap: clamp(32px, 4vw, 56px);
  align-items: center;
}
.insta__intro { display: grid; justify-items: center; text-align: center; }
.insta__photo { width: 128px; margin-bottom: 14px; }
.insta__follow { margin-top: 18px; color: var(--gold-deep); font-size: 20px; font-weight: 700; }
.insta__handle {
  margin-block: 6px 18px;
  font-size: 30px;
  font-weight: 700;
  text-decoration: none;
  background: linear-gradient(var(--gold), var(--gold)) 0 100% / 0 2px no-repeat;
  transition: background-size .45s var(--ease);
}
.insta__handle:hover { background-size: 100% 2px; }
.insta__feed { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }

/* A largura minima do embed oficial e 326px: o script escala para caber na coluna */
.post {
  --s: .75;
  position: relative;
  height: calc(420px * var(--s));
  overflow: hidden;
  border-radius: 22px 0 22px 0;
  background: var(--cream);
}
.post iframe {
  width: 326px;
  max-width: none;
  height: 420px;
  border: 0;
  transform: scale(var(--s));
  transform-origin: 0 0;
}

/* Numeros */
.stats { background: linear-gradient(var(--white) 50%, var(--cream) 50%); }
.stats__box {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding-block: 28px;
  background: var(--white);
  box-shadow: 0 6px 24px rgba(75, 34, 40, .16);
  color: var(--wine);
  text-align: center;
}
.stats__box > div { display: flex; flex-direction: column-reverse; justify-content: center; padding: 6px 16px; }
.stats__box > div + div { border-left: 1px solid rgba(75, 34, 40, .4); }
.stats__box dd { font-size: clamp(44px, 5vw, 68px); font-weight: 600; line-height: 1.05; font-variant-numeric: tabular-nums; }
.stats__box dt { font-size: clamp(15px, 1.5vw, 20px); font-weight: 500; line-height: 1.2; text-transform: uppercase; }

/* Localizacao */
.place { padding-block: clamp(56px, 6vw, 88px); background: var(--cream); }
.place__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2.6fr);
  gap: clamp(32px, 4vw, 64px);
  align-items: center;
}
.place .h2 { max-width: 9ch; }
.place__tag { min-width: 240px; margin-top: 18px; }
a.place__tag { transition: background-color .3s; }
a.place__tag:hover { background: var(--gold-deep); }
.place__map { position: relative; padding: 44px 40px; }
.place__block { position: absolute; width: 56%; height: 44%; background: var(--gold); }
.place__block--a { top: 0; left: 0; border-radius: 28px 0 28px 0; }
.place__block--b { right: 0; bottom: 0; border-radius: 0 0 28px 0; }
.place__frame { position: relative; height: clamp(320px, 32vw, 420px); overflow: hidden; background: var(--white); box-shadow: 0 18px 40px -22px rgba(75, 34, 40, .6); }
.place__frame iframe { width: 100%; height: 100%; border: 0; }

.place__route {
  display: inline-block;
  margin-top: 16px;
  color: var(--wine);
  font-weight: 600;
  text-underline-offset: 4px;
}

/* Perguntas frequentes */
.faq { padding-block: clamp(56px, 6vw, 88px); }
.faq__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2.6fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}
.faq .h2 { max-width: 9ch; }
.faq details { border-bottom: 1px solid rgba(75, 34, 40, .25); }
.faq details::details-content {
  height: 0;
  overflow: clip;
  transition: height .4s var(--ease), content-visibility .4s allow-discrete;
}
.faq details[open]::details-content { height: auto; }
.faq summary {
  position: relative;
  padding: 16px 40px 16px 0;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.3;
  list-style: none;
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after {
  content: '';
  position: absolute;
  top: 50%;
  right: 6px;
  width: 16px;
  height: 2px;
  background: var(--gold-deep);
  transition: transform .4s var(--ease);
}
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0); }
.faq details p { max-width: 68ch; padding-bottom: 18px; }

/* Rodape */
.foot { padding-block: 22px; background: var(--gold); color: var(--white); font-size: 15px; font-weight: 500; }
.foot__nap { flex-basis: 100%; font-style: normal; }
.foot__nap a { text-underline-offset: 3px; }
.foot__row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 24px; }
.foot__by { display: flex; align-items: center; gap: 12px; }
.foot__by img { width: 92px; }

/* WhatsApp flutuante */
.float {
  position: fixed;
  right: clamp(16px, 2vw, 28px);
  bottom: clamp(16px, 3vw, 32px);
  z-index: 10;
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--wa);
  color: var(--white);
  box-shadow: 0 10px 24px -8px rgba(0, 100, 50, .6);
  animation: pop-in .7s 1.6s var(--ease) both;
  transition: transform .3s var(--ease);
}
.float::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 50%;
  background: var(--wa);
  animation: ring 2.6s 2.4s var(--ease) infinite;
}
.float svg { width: 32px; height: 32px; }
.float:hover { transform: scale(1.1); }

/* Revelacao ao rolar */
.js [data-r] {
  transition: opacity .8s var(--ease), transform .95s var(--ease), clip-path 1.1s var(--ease);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.js [data-r='up'] { opacity: 0; transform: translateY(30px); }
.js [data-r='left'] { opacity: 0; transform: translateX(-36px); }
.js [data-r='right'] { opacity: 0; transform: translateX(36px); }
.js [data-r='pop'] { opacity: 0; transform: scale(.82); }
.js [data-r='scale'] { opacity: 0; transform: scale(.94); }
.js [data-r='rise'] { clip-path: inset(0 0 100% 0); transform: translateY(45%); }
.js [data-r='wipe'] { clip-path: inset(0 100% 0 0); }
.js [data-r='drop'] { clip-path: inset(0 0 100% 0); }
.js [data-r].is-in { opacity: 1; transform: none; clip-path: inset(-12% -4%); }

@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes curtain { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0); } }
@keyframes settle { from { scale: 1.18; } to { scale: 1; } }
@keyframes pop-in { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: none; } }
@keyframes ring { from { opacity: .6; transform: scale(1); } 80%, to { opacity: 0; transform: scale(1.55); } }

/* Tablet e celular */
@media (max-width: 900px) {
  /* Com tudo em uma coluna, o eixo da página passa a ser o centro */
  main, .foot { text-align: center; }
  .tag { margin-inline: auto; }
  .hero__place, .hero__sub, .nails__intro p, .nails__list p, .faq details p { text-wrap: pretty; }

  .hero { display: grid; grid-template-columns: 30fr 66fr; gap: 12px 4%; min-height: 0; padding: 32px 0 0; }
  .hero__text { grid-column: 1 / -1; }
  .hero__logo { margin-inline: auto; }
  .hero__word { font-size: clamp(36px, 11.4vw, 96px); }
  .hero__big, .hero__small { position: relative; top: auto; right: auto; width: 100%; }
  .hero__small { order: 1; align-self: end; margin-left: var(--gutter); width: calc(100% - var(--gutter)); margin-bottom: 40px; }
  .hero__big { order: 2; margin-top: 16px; margin-right: var(--gutter); width: calc(100% - var(--gutter)); }

  .why__grid, .services__grid, .insta__grid, .place__grid, .faq__grid { grid-template-columns: minmax(0, 1fr); }
  .nails__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .faq .h2 { max-width: none; }
  .why__media { padding-top: 56px; }
  .why__shape { left: 0; right: 0; width: 60%; margin-inline: auto; border-radius: 0 0 60px 60px; }
  .why__body { padding-top: 0; }
  .services .h2, .place .h2 { max-width: none; }
  .services__list li { margin-inline: auto; }
  .services__list li::after { transform-origin: center; }
  .nails__intro { margin-inline: auto; }
  .voices__grid { grid-template-columns: minmax(0, 1fr); }
  .voices__stars { margin-inline: auto; }
  .insta__feed { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .place__map { padding: 28px 18px; }
  .faq summary { padding-inline: 32px; }
  .faq details p { margin-inline: auto; }
  .foot { padding-bottom: 80px; }
  .foot__row { justify-content: center; }
  .foot__by { justify-content: center; }

  /* Conteúdo centralizado entra de baixo, não pela lateral */
  .js [data-r='left'], .js [data-r='right'] { transform: translateY(24px); }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .why__list { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .why__list img { width: 132px; }
  .why__list h3 { max-width: none; }
  .why__list p { max-width: 32ch; margin-inline: auto; font-size: 16px; }
  .why__tag { padding-inline: 16px; }
  .services__list, .nails__list { grid-template-columns: minmax(0, 1fr); }
  .stats__box { grid-template-columns: minmax(0, 1fr); padding-block: 8px; }
  .stats__box > div { padding-block: 16px; }
  .stats__box > div + div { border-left: 0; border-top: 1px solid rgba(75, 34, 40, .25); }
  /* Cada embed do Instagram é pesado: no celular carregam 4 dos 6, os ocultos nem são baixados */
  .post:nth-of-type(n + 5) { display: none; }
  .float { width: 56px; height: 56px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-r] { opacity: 1; transform: none; clip-path: none; }
}
