/* Diana Paixão: Nails, Pedicure Medical e Calista */

@font-face {
  font-family: "Syne";
  src: url("../fonts/syne-latin.woff2") format("woff2");
  font-weight: 500 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --black: #000000;
  --gold: #D4AF6A;
  --gold-light: #EDD39A;
  --gold-dark: #A9843E;
  --gold-deep: #6B4C12;
  --beige: #EFDDC6;
  --beige-light: #F8F1E6;
  --line: #5C4A26;
  --line-light: #C9B798;
  --display: "Syne", Arial, sans-serif;
  --text: "Manrope", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--black);
  color: var(--beige-light);
  font-family: var(--text);
  font-size: 17px;
  line-height: 1.6;
}
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
a { color: var(--gold); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
[id] { scroll-margin-top: 110px; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 50;
  padding: 10px 16px; background: var(--gold); color: var(--black); font-weight: 700; border-radius: 8px;
}
.skip:focus { top: 12px; }

.wrap { max-width: 1240px; margin-inline: auto; }
.gutter { padding-inline: max(20px, 4vw); }

/* Grade de fundo */
.grid-dark {
  background-color: var(--black);
  background-image:
    linear-gradient(rgba(212,175,106,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212,175,106,.07) 1px, transparent 1px);
  background-size: 56px 56px;
}
.grid-light {
  background-image:
    linear-gradient(rgba(107,76,18,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(107,76,18,.07) 1px, transparent 1px);
  background-size: 56px 56px;
}
.blob { position: absolute; pointer-events: none; border-radius: 50%; background: radial-gradient(circle, rgba(212,175,106,.17), transparent 65%); }

/* Botões */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 60px; padding-inline: 32px; border-radius: 999px;
  font-family: var(--text); font-size: 18px; font-weight: 700; letter-spacing: .01em;
  text-decoration: none; white-space: nowrap;
  transition: transform .2s ease, box-shadow .25s ease, background-color .25s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--gold { background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 45%, var(--gold-dark) 100%); color: var(--black); }
.btn--line { border: 2px solid var(--gold); color: var(--gold-light); background: rgba(212,175,106,.10); }
.btn--line:hover { background: rgba(212,175,106,.18); }
.btn--sm { min-height: 52px; padding-inline: 24px; font-size: 17px; }
.btn--xl { min-height: 72px; padding-inline: 44px; font-size: 21px; font-weight: 800; }

.shine::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.6) 50%, transparent 70%);
  transform: translateX(-120%);
  animation: shine 2.4s ease-in-out infinite;
}
.btn--line.shine::after { background: linear-gradient(110deg, transparent 30%, rgba(237,211,154,.4) 50%, transparent 70%); }
@keyframes shine { 0%, 40% { transform: translateX(-120%); } 75%, 100% { transform: translateX(120%); } }

.glow { animation: glow 1.5s ease-in-out infinite; }
@keyframes glow {
  0%, 100% { transform: scale(1); filter: brightness(1); box-shadow: 0 0 0 0 rgba(212,175,106,.75), 0 0 18px rgba(212,175,106,.4); }
  50% { transform: scale(1.045); filter: brightness(1.18); box-shadow: 0 0 0 14px rgba(212,175,106,0), 0 0 64px rgba(212,175,106,.9); }
}
.glow-soft { animation: glow-soft 2.6s ease-in-out infinite; }
@keyframes glow-soft {
  0%, 100% { box-shadow: 0 0 0 0 rgba(212,175,106,.55), 0 0 14px rgba(212,175,106,.3); }
  50% { box-shadow: 0 0 0 7px rgba(212,175,106,0), 0 0 34px rgba(212,175,106,.55); }
}

/* Cabeçalho */
.header {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-block: 14px;
  background: rgba(0,0,0,.8);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; flex-direction: column; min-width: 0; text-decoration: none; }
.brand__name { text-decoration: none; font-family: var(--display); font-weight: 700; font-size: clamp(28px, 2.9vw, 42px); line-height: 1; letter-spacing: -.01em; color: var(--gold); }
.brand__sub { margin-top: 6px; font-size: 13px; line-height: 1.3; letter-spacing: .04em; color: var(--beige); }
.header__actions { display: flex; align-items: center; gap: 12px; flex: none; }
.maplink { display: none; align-items: center; gap: 6px; margin-top: 6px; font-size: 13px; font-weight: 600; text-decoration: none; color: var(--gold); }
.pin { flex: none; }

/* Hero */
.hero { position: relative; overflow: hidden; display: flex; flex-wrap: wrap; }
.hero .blob { width: 60vw; height: 60vw; left: -20vw; top: -25vw; }
.hero__text {
  position: relative; flex: 1.25 1 520px; min-width: 0;
  display: flex; flex-direction: column; gap: 26px;
  padding-block: clamp(44px, 5vw, 80px);
}
.hero h1 { font-family: var(--display); font-weight: 600; font-size: clamp(42px, 6vw, 90px); line-height: 1; letter-spacing: -.025em; text-wrap: balance; }
.hero__rule { height: 1px; width: min(420px, 100%); background: linear-gradient(90deg, var(--gold), transparent); transform-origin: left; animation: draw 1.2s cubic-bezier(.6,0,.2,1) .5s both; }
.hero__lead { max-width: 34em; font-size: 19px; color: var(--beige); }
.hero__cards { display: flex; flex-direction: column; gap: 12px; }
.card {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 22px; border: 1px solid var(--line); border-radius: 18px; background: rgba(0,0,0,.65);
}
.card__text { flex: 1 1 260px; min-width: 0; }
.card h2 { font-family: var(--display); font-weight: 600; font-size: 26px; line-height: 1.15; color: var(--gold); }
.card p { margin-top: 4px; }

.hero__photo { position: relative; flex: 1 1 400px; min-width: 0; min-height: 560px; overflow: hidden; background: var(--beige); }
.hero__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; animation: tocolor 1.6s ease 1.6s both; }
.hero__scan { position: absolute; left: 0; right: 0; top: 0; z-index: 2; height: 2px; background: linear-gradient(90deg, transparent, var(--gold-light), transparent); box-shadow: 0 0 22px 6px rgba(212,175,106,.55); opacity: 0; animation: scan 2.6s ease-in-out .4s 1 forwards; }
.hero__badge {
  position: absolute; left: 24px; bottom: 24px; z-index: 3;
  padding: 10px 16px; border-radius: 12px; border: 1px solid var(--line);
  background: rgba(0,0,0,.72); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.hero__badge strong { display: block; font-family: var(--display); font-weight: 600; font-size: 17px; color: var(--gold); }
.hero__badge span { font-size: 14px; color: var(--beige); }

.rise { animation: rise 1s cubic-bezier(.2,.7,.2,1) both; }
.rise--1 { animation-delay: .15s; }
.rise--2 { animation-delay: .3s; }
.rise--3 { animation-delay: .45s; }
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes scan { 0% { top: 0; opacity: 0; } 10%, 85% { opacity: 1; } 100% { top: 100%; opacity: 0; } }
@keyframes tocolor { from { filter: grayscale(1) contrast(1.1); } to { filter: none; } }

/* Cantos de enquadramento */
.frame { position: relative; }
.corner { position: absolute; z-index: 3; width: 26px; height: 26px; border: 0 solid var(--gold); pointer-events: none; }
.corner--tl { top: 12px; left: 12px; border-top-width: 2px; border-left-width: 2px; }
.corner--tr { top: 12px; right: 12px; border-top-width: 2px; border-right-width: 2px; }
.corner--bl { bottom: 12px; left: 12px; border-bottom-width: 2px; border-left-width: 2px; }
.corner--br { bottom: 12px; right: 12px; border-bottom-width: 2px; border-right-width: 2px; }

/* Faixa de serviços */
.ticker { overflow: hidden; padding-block: 14px; background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-dark)); color: var(--black); border-block: 1px solid var(--black); }
.ticker__track { display: flex; width: max-content; animation: ticker 38s linear infinite; font-family: var(--display); font-weight: 600; font-size: 18px; white-space: nowrap; }
.ticker__track span { padding-inline: 28px; }
.ticker__track i { font-style: normal; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* Secções */
.sec { position: relative; overflow: hidden; padding-block: clamp(56px, 6vw, 104px); }
.sec--light { background-color: var(--beige-light); color: var(--black); }
.sec--beige { background-color: var(--beige); color: var(--black); }
.sec h2 { font-family: var(--display); font-weight: 600; font-size: clamp(34px, 4vw, 58px); line-height: 1.05; letter-spacing: -.02em; text-wrap: balance; }
.sec--dark h2 { color: var(--beige-light); }
.cols { position: relative; display: flex; flex-wrap: wrap; gap: clamp(32px, 5vw, 72px); }
.col { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.col--road { flex-basis: 480px; justify-content: center; gap: 0; }
h3 { font-family: var(--display); font-size: 20px; font-weight: 600; line-height: 1.3; }

/* Antes e depois */
.ba { position: relative; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 22px; background: var(--black); --pos: 50; }
.ba:focus-within { outline: 2px solid var(--gold-deep); outline-offset: 4px; }
.ba__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba__after { clip-path: inset(0 calc(100% - var(--pos) * 1%) 0 0); }
.ba__laser { position: absolute; top: 0; bottom: 0; left: calc(var(--pos) * 1%); z-index: 2; width: 2px; margin-left: -1px; background: var(--gold-light); box-shadow: 0 0 18px 5px rgba(212,175,106,.7); }
.ba__knob {
  position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: rgba(0,0,0,.78); border: 2px solid var(--gold-light); box-shadow: 0 0 18px rgba(212,175,106,.7);
}
.ba__tag { position: absolute; z-index: 3; bottom: 20px; padding: 6px 14px; border-radius: 999px; background: rgba(0,0,0,.75); color: var(--beige); font-size: 14px; font-weight: 600; pointer-events: none; transition: opacity .3s ease; }
.ba__tag--after { left: 20px; }
.ba__tag--before { right: 20px; }
.ba[data-side="after"] .ba__tag--before, .ba[data-side="before"] .ba__tag--after { opacity: 0; }
.ba__range { position: absolute; inset: 0; z-index: 4; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; touch-action: pan-y; -webkit-appearance: none; appearance: none; }

.ba.is-auto .ba__after { animation: wipe 8s cubic-bezier(.6,0,.3,1) infinite; }
.ba.is-auto .ba__laser { animation: laser 8s cubic-bezier(.6,0,.3,1) infinite; }
.ba.is-auto .ba__tag--after { opacity: 1; animation: tag-after 8s cubic-bezier(.6,0,.3,1) infinite; }
.ba.is-auto .ba__tag--before { opacity: 1; animation: tag-before 8s cubic-bezier(.6,0,.3,1) infinite; }
@keyframes wipe { 0%, 12% { clip-path: inset(0 100% 0 0); } 45%, 62% { clip-path: inset(0 0 0 0); } 92%, 100% { clip-path: inset(0 100% 0 0); } }
@keyframes laser { 0%, 12% { left: 0; opacity: 0; } 16% { opacity: 1; } 45% { left: 100%; opacity: 1; } 48%, 62% { left: 100%; opacity: 0; } 66% { opacity: 1; } 92% { left: 0; opacity: 1; } 96%, 100% { left: 0; opacity: 0; } }
@keyframes tag-after { 0%, 20% { opacity: 0; } 38%, 68% { opacity: 1; } 84%, 100% { opacity: 0; } }
@keyframes tag-before { 0%, 12% { opacity: 1; } 30%, 76% { opacity: 0; } 92%, 100% { opacity: 1; } }

/* Percurso em S (pés) */
.sroad { position: relative; height: 772px; }
.sroad__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.sroad__flow { stroke-dasharray: 70 930; animation: sflow 4s linear infinite; filter: drop-shadow(0 0 4px rgba(212,175,106,.9)); }
@keyframes sflow { from { stroke-dashoffset: 1000; } to { stroke-dashoffset: 0; } }
.sstep { position: relative; height: 170px; }
.sstep p { margin-top: 2px; font-size: 16px; line-height: 1.5; }
.sstep--l { padding-left: calc(4% + 24px); padding-right: 4%; }
.sstep--r { padding-right: calc(4% + 24px); padding-left: 4%; text-align: right; }
.sstep--l .node { left: 4%; }
.sstep--r .node { left: 96%; }
.sroad .node { top: 6px; transform: translateX(-50%); }
.sroad__goal { position: absolute; left: 0; right: 0; top: 700px; display: flex; justify-content: center; }
.sroad__note { margin-top: 24px; text-align: center; }

.node {
  position: absolute; width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid var(--gold-deep); background: var(--beige-light);
  animation: node 4s linear infinite;
}
.node--2 { animation-delay: .8s; }
.node--3 { animation-delay: 1.6s; }
.node--4 { animation-delay: 2.4s; }
@keyframes node {
  0%, 14% { background: var(--gold); box-shadow: 0 0 0 6px rgba(212,175,106,.3); }
  26%, 100% { background: var(--beige-light); box-shadow: 0 0 0 0 rgba(212,175,106,0); }
}

/* Formação */
.sec--dark .blob { width: 55vw; height: 55vw; right: -18vw; bottom: -22vw; }
.lead { max-width: 34em; color: var(--beige); }
.techs { display: flex; flex-wrap: wrap; gap: 12px; }
.tech { flex: 1 1 180px; min-width: 0; padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: rgba(0,0,0,.6); }
.tech h3 { font-size: 19px; color: var(--gold); }
.tech p { margin-top: 6px; font-size: 15px; }
.enrol { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding-top: 8px; }
.enrol p { font-size: 15px; color: var(--beige); }
.textlink { font-weight: 600; }
.photo-sq { position: relative; flex: 1 1 440px; min-width: 0; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 22px; }
.photo-sq img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cols--center { align-items: center; }

/* Unhas */
.stack { display: flex; flex-direction: column; gap: 32px; }
.photos { display: flex; flex-wrap: wrap; gap: 14px; }
.photo { flex: 1 1 280px; min-width: 0; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 22px; }
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.photo:hover img { transform: scale(1.04); }

.hroad { position: relative; display: flex; gap: 28px; margin-top: 28px; }
.hroad__track { position: absolute; left: 8px; right: 40px; top: 7px; height: 2px; overflow: hidden; background: var(--line-light); }
.hroad__flow { position: absolute; top: 0; left: -140px; width: 140px; height: 100%; background: linear-gradient(90deg, transparent, var(--gold), var(--gold-dark), transparent); animation: hflow 3.2s linear infinite; }
@keyframes hflow { to { left: 100%; } }
@keyframes vflow { to { top: 100%; } }
.hstep { position: relative; flex: 1 1 0; min-width: 0; padding-top: 30px; }
.hstep p { margin-top: 2px; }
.hroad .node { left: 0; top: 0; }
.hroad__goal { position: relative; z-index: 1; flex: none; margin-top: -28px; }

/* Fecho */
.sec--end .blob { width: 70vw; height: 70vw; left: 15vw; top: -40vw; background: radial-gradient(circle, rgba(212,175,106,.14), transparent 65%); }
.end { position: relative; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px clamp(32px, 5vw, 72px); }
.end__main { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.contact {
  flex: 1 1 360px; min-width: 0; font-style: normal;
  display: flex; flex-direction: column; gap: 12px;
  padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: rgba(0,0,0,.6);
}
.footer { padding-block: 24px; border-top: 1px solid var(--line); font-size: 14px; color: var(--line-light); }

/* Telemóvel e tablet */
@media (max-width: 760px) {
  .hide-sm { display: none !important; }
  .maplink { display: inline-flex; }

  .hroad { flex-direction: column; gap: 0; margin-top: 0; padding-left: 48px; }
  .hroad__track { left: 15px; right: auto; top: 22px; bottom: 36px; width: 2px; height: auto; }
  .hroad__flow { left: 0; top: -90px; width: 100%; height: 90px; background: linear-gradient(transparent, var(--gold), var(--gold-dark), transparent); animation-name: vflow; }
  .hstep { padding-block: 12px; }
  .hroad .node { left: -40px; top: 17px; }
  .hroad__goal { display: flex; align-items: center; min-height: 72px; margin-top: 10px; }
  .hroad__goal::before { content: ""; position: absolute; left: -33px; top: 50%; width: 33px; height: 2px; background: var(--gold); }
}
@media (max-width: 520px) {
  .btn--xl { width: 100%; padding-inline: 24px; min-height: 64px; font-size: 19px; }
  .header .btn--sm { padding-inline: 16px; font-size: 15px; min-height: 48px; }
  .hero__photo { min-height: 480px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero__scan, .sroad__flow, .hroad__flow { display: none; }
}
