/* Joyce Yasmin — protótipo de site. Layout: editorial de salão, fotos recortadas no formato de unha, uma coluna larga que vira pilha no celular. */
:root {
  --paper: #F3EAE3;
  --milk: #FAF5F1;
  --ink: #300809;
  --soft: #5A3A36;
  --muted: #6E524C;
  --rose: #7A2A2E;
  --rose-ink: #F5E3D6;
  --gel: #E6D6C9;
  --gel-deep: #B5A492;
  --line: #E0D1C5;
  --gold: #A88559;
  --taupe-1: #B5A492;
  --taupe-2: #9C8774;
  --night: #300809;
  --night-2: #42141A;
  --on-night: #F5E3D6;
  --on-night-soft: #CDB2A8;
  --rose-night: #BFA294;
  --tbd-bg: #FFF1C9;
  --tbd-ink: #5A4300;
  --display: "Instrument Serif", Georgia, "Times New Roman", serif;
  --body: "Jost", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1180px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--rose); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; text-wrap: balance; letter-spacing: 0; }
h1 { font-size: clamp(46px, 6.6vw, 92px); line-height: 1.0; }
h2 { font-size: clamp(34px, 4.6vw, 60px); line-height: 1.04; }
h3 { font-size: clamp(25px, 2.5vw, 32px); line-height: 1.1; }
em { font-style: italic; color: var(--rose); }
.night em { color: var(--rose-night); }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.section { padding-block: clamp(64px, 9vw, 120px); }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--rose); }
.night .eyebrow { color: var(--rose-night); }
.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.5; color: var(--soft); max-width: 46ch; }
.night .lead, .night p { color: var(--on-night-soft); }
.stack { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.head { display: flex; flex-direction: column; gap: 14px; margin-bottom: clamp(32px, 4vw, 52px); max-width: 720px; }

/* prototype notice */
.proto { background: var(--ink); color: var(--on-night); font-size: 13px; line-height: 1.4; }
.proto .wrap { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; justify-content: space-between; padding-block: 10px; }
.proto b { color: var(--rose-night); font-weight: 600; }
.tbd { background: var(--tbd-bg); color: var(--tbd-ink); padding: 0 .3em; border-radius: 4px; font-style: normal; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.tbd-key { display: inline-block; background: var(--tbd-bg); color: var(--tbd-ink); padding: 1px 8px; border-radius: 4px; }

/* header */
.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10; background: rgba(243, 234, 227, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 11; background: var(--paper); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; }
.brand { font-family: var(--display); font-size: 22px; text-decoration: none; letter-spacing: -.01em; white-space: nowrap; }
.brand em { font-size: .9em; }
.menu { display: flex; gap: 22px; align-items: center; font-size: 15px; }
.menu a { text-decoration: none; color: var(--soft); }
.menu a:hover { color: var(--ink); }

/* buttons */
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; font-size: 16px; border-radius: 999px; padding: 15px 26px; border: 1.5px solid var(--ink); color: var(--ink); background: transparent; transition: background .2s, color .2s, border-color .2s; }
.btn:hover { background: var(--ink); color: var(--paper); }
.btn.primary { background: var(--rose); border-color: var(--rose); color: var(--rose-ink); }
.btn.primary:hover { background: var(--ink); border-color: var(--ink); }
.btn.light { border-color: var(--on-night); color: var(--on-night); }
.btn.light:hover { background: var(--on-night); color: var(--night); }
.btn.small { padding: 10px 18px; font-size: 14px; }

/* nail-shaped photos */
.nail { overflow: hidden; border-radius: 50% 50% 16% 16% / 26% 26% 8% 8%; background: var(--gel); }
.nail img { width: 100%; height: 100%; object-fit: cover; }
.swatch { flex: none; width: 13px; height: 19px; border-radius: 50% 50% 22% 22% / 40% 40% 14% 14%; background: linear-gradient(160deg, var(--gel) 0%, var(--gel-deep) 100%); box-shadow: inset 2px 2px 0 rgba(255,255,255,.6); margin-top: 4px; }
.night .swatch { background: linear-gradient(160deg, #E8D3C3 0%, #A88559 100%); }

/* hero */
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 80px); align-items: center; padding-block: clamp(40px, 6vw, 80px); }
.hero-photo { aspect-ratio: 4 / 5; max-width: 460px; width: 100%; justify-self: end; position: relative; }
.hero-tag { position: absolute; left: -24px; bottom: 36px; background: var(--milk); border: 1px solid var(--line); border-radius: 999px; padding: 10px 18px; font-size: 13px; color: var(--soft); box-shadow: 0 8px 24px rgba(48,8,9,.08); display: flex; gap: 8px; align-items: center; }
.hero-tag i { width: 8px; height: 8px; border-radius: 50%; background: var(--rose); }
.hero .nail { width: 100%; height: 100%; }

/* doors */
.doors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.door { background: var(--milk); border: 1px solid var(--line); border-radius: 22px; padding: 28px; display: flex; flex-direction: column; gap: 14px; text-decoration: none; min-width: 0; transition: transform .2s, border-color .2s; }
.door:hover { transform: translateY(-3px); border-color: var(--gel-deep); }
.door .tag { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.door p { color: var(--soft); font-size: 16px; }
.door .go { margin-top: auto; font-weight: 600; color: var(--rose); display: flex; align-items: center; gap: 8px; }
.door.main { background: var(--night); border-color: var(--night); color: var(--on-night); }
.door.main .tag { color: var(--rose-night); }
.door.main p { color: var(--on-night-soft); }
.door.main .go { color: var(--rose-night); }

/* night band */
.night { background: var(--night); color: var(--on-night); }
.method { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.shapes { display: flex; gap: 18px; align-items: flex-end; flex-wrap: wrap; }
.shape { display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 13px; color: var(--on-night-soft); }
.shape .n { width: 52px; height: 86px; background: linear-gradient(170deg, #F3D3DE 0%, #C77E99 100%); box-shadow: inset 6px 5px 0 rgba(255,255,255,.35); }
.n.quadrada { border-radius: 6px 6px 40% 40% / 6px 6px 14% 14%; }
.n.squoval { border-radius: 18px 18px 40% 40% / 18px 18px 14% 14%; }
.n.redonda { border-radius: 50% 50% 40% 40% / 30% 30% 14% 14%; }
.n.oval { border-radius: 50% 50% 40% 40% / 44% 44% 14% 14%; height: 96px; }
.n.amendoada { border-radius: 50% 50% 40% 40% / 70% 70% 14% 14%; height: 106px; clip-path: polygon(50% 0, 82% 18%, 100% 45%, 100% 100%, 0 100%, 0 45%, 18% 18%); }

/* numbers */
.numbers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.numbers div { border-top: 1.5px solid var(--rose); padding-top: 16px; display: flex; flex-direction: column; gap: 6px; }
.numbers b { font-family: var(--display); font-weight: 400; font-size: clamp(34px, 4vw, 52px); line-height: 1; color: var(--rose); font-variant-numeric: lining-nums; }
.numbers span { color: var(--soft); font-size: 15px; }

/* gallery */
.gallery { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 18px; align-items: end; }
.gallery figure { display: flex; flex-direction: column; gap: 10px; }
.gallery .nail { aspect-ratio: 4 / 5; }
.gallery figure:first-child .nail { aspect-ratio: 3 / 4; }
.gallery figcaption { font-size: 14px; color: var(--muted); }

/* about */
.about { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.about .nail { aspect-ratio: 4 / 5; max-width: 400px; }
.about p { color: var(--soft); max-width: 58ch; }
.night .about p { color: var(--on-night-soft); }
.story { background: var(--gel); border-radius: 18px; padding: 20px 24px; display: flex; gap: 14px; color: var(--ink); }

/* course page */
.facts { display: flex; flex-wrap: wrap; gap: 10px; }
.fact { background: var(--milk); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-size: 14px; color: var(--soft); }
.price-card { background: var(--night); color: var(--on-night); border-radius: 26px; padding: 30px; display: flex; flex-direction: column; gap: 16px; max-width: 460px; width: 100%; justify-self: end; }
.price-card .big { font-family: var(--display); font-size: 64px; line-height: 1; color: var(--on-night); }
.price-card .big small { font-size: .42em; color: var(--rose-night); vertical-align: .9em; margin-right: 4px; }
.price-card p { color: var(--on-night-soft); font-size: 15px; }
.price-card hr { border: 0; border-top: 1px solid rgba(255,255,255,.12); margin: 4px 0; width: 100%; }
.price-card .row { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; color: var(--on-night-soft); }
.price-card .row b { color: var(--on-night); font-weight: 600; }

.cols2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.box { background: var(--milk); border: 1px solid var(--line); border-radius: 22px; padding: 28px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.box.dim { background: transparent; border-style: dashed; }
.list { display: flex; flex-direction: column; gap: 12px; }
.list li { display: flex; gap: 12px; color: var(--soft); }
.list li b { color: var(--ink); font-weight: 600; }
.no li .swatch { background: var(--line); box-shadow: none; }

.days { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.day { background: var(--milk); border: 1px solid var(--line); border-radius: 22px; padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.day .d { font-family: var(--display); font-style: italic; font-size: 20px; color: var(--rose); }

.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.why div { display: flex; flex-direction: column; gap: 8px; border-top: 1.5px solid var(--rose); padding-top: 16px; }
.why h3 { font-size: 22px; }
.why p { color: var(--soft); font-size: 15px; }

.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.quote { border: 1.5px dashed var(--gel-deep); border-radius: 22px; aspect-ratio: 9 / 12; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; padding: 22px; background: linear-gradient(180deg, transparent 40%, rgba(230,214,201,.6)); }
.quote .play { width: 48px; height: 48px; border-radius: 50%; background: var(--milk); border: 1px solid var(--line); display: grid; place-items: center; color: var(--rose); font-size: 16px; margin-bottom: auto; }
.quote p { font-size: 14px; color: var(--soft); }

.rules { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 32px; }

.faq { display: flex; flex-direction: column; border-top: 1px solid var(--line); max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 0; font-family: var(--display); font-size: 21px; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--body); color: var(--rose); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: 20px; color: var(--soft); max-width: 62ch; }

.final { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.final .lead { margin-inline: auto; }

/* footer */
.foot { border-top: 1px solid var(--line); padding-block: 36px calc(36px + env(safe-area-inset-bottom, 0px)); font-size: 14px; color: var(--muted); }
.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; }
.foot a { color: var(--soft); }

/* sticky mobile CTA on the course page */
.sticky-cta { display: none; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .door, .btn { transition: none; } .door:hover { transform: none; } }

@media (max-width: 900px) {
  .hero .wrap, .method, .about, .cols2, .days { grid-template-columns: 1fr; }
  .hero-photo, .price-card { justify-self: start; }
  .doors, .quotes { grid-template-columns: 1fr; }
  .numbers, .why { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery figure:first-child { grid-column: span 2; }
  .rules { grid-template-columns: 1fr; }
  .menu .hide-sm { display: none; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .menu { gap: 14px; }
  .hero-tag { left: 12px; bottom: 16px; }
  .quote { aspect-ratio: 16 / 10; }
  .sticky-cta { display: flex; position: fixed; z-index: 12; left: 0; right: 0; bottom: 0; padding: 12px max(16px, env(safe-area-inset-right, 0px)) calc(12px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); background: rgba(243,234,227,.95); border-top: 1px solid var(--line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
  .sticky-cta .btn { flex: 1; justify-content: center; }
  .has-sticky { padding-bottom: 76px; }
}

/* BASE palette additions */
.rule { display: block; width: 64px; height: 1px; background: var(--gold); }
.taupe { background: linear-gradient(160deg, var(--taupe-1) 0%, var(--taupe-2) 100%); color: var(--ink); }
.taupe .eyebrow { color: var(--ink); }
.taupe em { color: var(--rose); }
.taupe .lead, .taupe p { color: #3B0F12; }
.taupe .why div { border-top-color: var(--ink); }
.taupe .btn.primary { background: var(--ink); border-color: var(--ink); color: var(--on-night); }
.taupe .btn.primary:hover { background: var(--rose); border-color: var(--rose); }
.night .btn.primary:hover { background: var(--on-night); border-color: var(--on-night); color: var(--night); }
.base { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 28px 32px; }
.base li { display: flex; gap: 18px; align-items: flex-start; border-top: 1px solid rgba(245,227,214,.18); padding-top: 18px; }
.base .l { font-family: var(--display); font-size: 64px; line-height: .85; color: var(--rose-night); min-width: 44px; }
.base b { display: block; font-weight: 500; color: var(--on-night); font-size: 17px; letter-spacing: .02em; }
.base p { font-size: 15px; color: var(--on-night-soft); }
.eyebrow { letter-spacing: .28em; }
b { font-weight: 600; }
@media (max-width: 560px) { .base { grid-template-columns: 1fr; } }

.testimonial { margin: 0; max-width: 900px; display: flex; flex-direction: column; gap: 18px; border-left: 1px solid var(--gold); padding-left: clamp(20px, 3vw, 40px); }
.testimonial blockquote { margin: 0; font-family: var(--display); font-style: italic; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.25; color: var(--ink); }
.testimonial figcaption { font-size: 12px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; color: var(--muted); }

.price-card .big { font-size: clamp(38px, 4vw, 52px); line-height: 1.05; }
.price-card .big em { color: var(--rose-night); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.steps li { display: flex; gap: 16px; align-items: flex-start; background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 24px; }
.steps .n { font-family: var(--display); font-size: 48px; line-height: .9; color: var(--rose); min-width: 28px; }
.steps b { display: block; font-weight: 600; margin-bottom: 4px; }
.steps p { color: var(--soft); font-size: 15px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } }
