/* =========================================================
   Sileny Reis — RCI | Site institucional
   Paleta derivada do logotipo (verde-sálvia) + dourado suave
   ========================================================= */

:root {
  --sage: #9aa084;          /* cor do logotipo — decorativa, nunca texto pequeno */
  --sage-soft: #c9ccb8;
  --green: #4f6147;         /* verde profundo: ação principal, superfícies */
  --green-dark: #2f3b2b;    /* superfícies escuras */
  --gold: #d9c98f;          /* sobre verde: só texto grande ou botões */
  --gold-hover: #cdb971;
  --gold-ink: #7a6a2c;      /* dourado legível sobre claro (5.3:1) */
  --cream: #f5f3ec;
  --paper: #fbfaf6;
  --white: #ffffff;
  --ink: #2a2d26;
  --ink-soft: #5d6157;
  --line: rgba(79, 97, 71, .2);
  --on-dark: rgba(255, 255, 255, .86);
  --on-dark-soft: rgba(255, 255, 255, .82);
  --line-dark: rgba(255, 255, 255, .16);

  --font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-sans: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 16px;
  --container: 1180px;
  --header-h: 88px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
h1, h2, h3 { font-family: var(--font-serif); font-weight: 500; line-height: 1.12; margin: 0 0 .5em; color: var(--ink); text-wrap: balance; }
p { margin: 0 0 1.1em; text-wrap: pretty; }
em { font-style: italic; color: var(--green); }
figure, blockquote { margin: 0; }
ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }

::selection { background: var(--gold); color: var(--green-dark); }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 4px; }
.cta :focus-visible, .rci :focus-visible, .beauty :focus-visible, .welcome :focus-visible, .footer :focus-visible { outline-color: var(--gold); }

.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }
.container--narrow { max-width: 780px; text-align: center; }

.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 200;
  background: var(--green); color: var(--white); padding: 10px 18px; border-radius: 8px;
}
.skip-link:focus { left: 8px; }

/* ---------- Seções ---------- */
.section { padding: clamp(80px, 11vw, 136px) 0; }
.section__head { max-width: 660px; margin-bottom: clamp(40px, 6vw, 64px); }
.section__head--row {
  max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.section__head--row > div:first-child { max-width: 620px; }
.section__title { font-size: clamp(2.2rem, 4.6vw, 3.4rem); letter-spacing: -.01em; }
.section__title--green { color: var(--green); }
.section__title--light { color: var(--white); }
.section__intro { color: var(--ink-soft); font-size: 1.125rem; margin: 0; max-width: 60ch; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px;
  padding: .8em 1.7em;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .01em;
  line-height: 1.2;
  text-decoration: none;
  text-align: center;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background-color .25s var(--ease-out), color .25s var(--ease-out), border-color .25s var(--ease-out), box-shadow .25s var(--ease-out);
}
.btn:active { transform: translateY(1px); }
.btn--sm { min-height: 44px; padding: .55em 1.2em; font-size: .9375rem; }
/* Ação principal (WhatsApp) — sempre preenchida */
.btn--primary { background: var(--green); color: var(--white); }
.btn--primary:hover { background: var(--green-dark); box-shadow: 0 8px 20px -10px rgba(47, 59, 43, .6); }
.btn--gold { background: var(--gold); color: var(--green-dark); }
.btn--gold:hover { background: var(--gold-hover); box-shadow: 0 8px 20px -10px rgba(0, 0, 0, .45); }
/* Loja — sempre contornada */
.btn--outline { border-color: var(--green); color: var(--green); background: transparent; }
.btn--outline:hover { background: var(--green); color: var(--white); }
.btn--outline-light { border-color: rgba(255, 255, 255, .7); color: var(--white); }
.btn--outline-light:hover { background: var(--white); color: var(--green-dark); }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251, 250, 246, .94);
  backdrop-filter: saturate(1.2) blur(12px);
  -webkit-backdrop-filter: saturate(1.2) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.header.is-scrolled { border-color: var(--line); box-shadow: 0 8px 24px -16px rgba(47, 59, 43, .35); }
.header__inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.header__logo { display: block; flex-shrink: 0; }
.header__logo img { width: 190px; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav__list { display: flex; gap: 22px; }
.nav__list a {
  position: relative; display: inline-block;
  text-decoration: none; font-size: .9375rem; font-weight: 500; color: var(--ink);
  padding: 10px 0;
}
.nav__list a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 1px;
  background: var(--green); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease-out);
}
.nav__list a:hover::after, .nav__list a.is-active::after { transform: scaleX(1); }
.nav__list a.is-active { color: var(--green); }
.nav__actions { display: flex; gap: 10px; }

.nav-toggle {
  display: none;
  width: 48px; height: 48px; margin-right: -8px; border: 0; background: transparent; cursor: pointer;
  flex-direction: column; justify-content: center; align-items: center; gap: 6px; border-radius: 8px;
}
.nav-toggle span { width: 26px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .3s var(--ease-out), opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  padding: clamp(40px, 6vw, 88px) 0 clamp(72px, 9vw, 120px);
  background: linear-gradient(180deg, var(--paper) 0%, var(--cream) 100%);
}
.hero__inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.hero__title { font-size: clamp(2.7rem, 6.2vw, 5rem); font-weight: 400; letter-spacing: -.02em; line-height: 1.04; margin-bottom: .4em; }
.hero__lead { font-size: clamp(1.125rem, 1.6vw, 1.25rem); color: var(--ink-soft); max-width: 34em; }
.hero__lead strong { color: var(--ink); font-weight: 600; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 2rem 0 1.8rem; }
.hero__cred { font-size: .9375rem; color: var(--ink-soft); margin: 0; padding-top: 1.4rem; border-top: 1px solid var(--line); max-width: 34em; }

.hero__media { justify-self: center; width: min(100%, 430px); }
.hero__caption {
  margin-top: 16px; text-align: center;
  font-family: var(--font-serif); font-size: 1.35rem; color: var(--ink);
}
.hero__caption span { display: block; font-family: var(--font-sans); font-size: .875rem; color: var(--ink-soft); }

/* ---------- Arco (moldura de foto) ---------- */
.arch {
  position: relative;
  border-radius: 999px 999px var(--radius) var(--radius);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--sage-soft);
  box-shadow: 0 30px 60px -32px rgba(47, 59, 43, .5);
}
.arch::after {
  content: ""; position: absolute; inset: 12px;
  border: 1px solid rgba(255, 255, 255, .6);
  border-radius: inherit; pointer-events: none;
}
.arch img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.arch--tall { aspect-ratio: 3 / 4.2; }

/* O momento de movimento do site: a foto se revela de baixo para cima dentro do arco */
.js .arch-reveal { clip-path: inset(100% 0 0 0); }
.js .arch-reveal img { transform: scale(1.12); }
.js .arch-reveal.is-visible { clip-path: inset(0 0 0 0); transition: clip-path 1.4s var(--ease-out); }
.js .arch-reveal.is-visible img { transform: none; transition: transform 1.8s var(--ease-out); }

/* ---------- Boas-vindas ---------- */
.welcome { background: var(--green); color: var(--on-dark); padding: clamp(80px, 11vw, 128px) 0; }
.welcome__title { color: var(--white); font-size: clamp(2rem, 4.4vw, 3.2rem); font-weight: 400; margin-bottom: .7em; }
.welcome p { font-size: 1.125rem; max-width: 60ch; margin-inline: auto; }
.welcome .welcome__quote {
  font-family: var(--font-serif); font-style: italic; font-size: clamp(1.5rem, 2.6vw, 1.85rem);
  color: var(--gold); line-height: 1.45; margin-top: 2rem; margin-bottom: 0;
}

/* ---------- Quem é ---------- */
.about__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 7vw, 96px); align-items: start; }
.about__media { position: sticky; top: calc(var(--header-h) + 32px); }
.about__text p { color: var(--ink-soft); max-width: 62ch; }

.timeline { margin-top: 2.4rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: 620px; }
.timeline > div { border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; background: var(--white); }
.timeline dt { font-size: .8125rem; font-weight: 600; letter-spacing: .04em; color: var(--gold-ink); margin-bottom: 2px; }
.timeline dd { font-family: var(--font-serif); font-size: 1.3rem; color: var(--ink); line-height: 1.25; }

/* ---------- Propósito ---------- */
.purpose { background: var(--cream); }
.purpose__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 96px); align-items: start; }
.purpose__big { font-family: var(--font-serif); font-size: clamp(1.7rem, 3vw, 2.3rem); line-height: 1.3; color: var(--ink); margin-top: 1.5rem; }
.purpose__text { padding-top: .6rem; }
.purpose__text > p { color: var(--ink-soft); }
.purpose__sign { margin-top: 2.4rem; padding-top: 1.6rem; position: relative; }
.purpose__sign::before { content: ""; position: absolute; top: 0; left: 0; width: 56px; height: 1px; background: var(--gold-ink); }
.purpose__sign p { font-family: var(--font-serif); font-style: italic; font-size: 1.5rem; line-height: 1.4; color: var(--green); margin-bottom: .5em; }
.purpose__sign cite { font-style: normal; font-size: .9375rem; font-weight: 500; color: var(--ink-soft); }

/* ---------- RCI ---------- */
.rci { background: var(--green-dark); color: var(--on-dark); }
.rci .section__intro { color: var(--on-dark); }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 56px); }
.pillar { border-top: 1px solid var(--gold); padding-top: 28px; }
.pillar h3 { color: var(--gold); font-size: clamp(1.7rem, 2.6vw, 2.1rem); }
.pillar p { margin: 0; color: var(--on-dark); }

/* ---------- Terapia capilar ---------- */
.service-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(32px, 6vw, 80px); }
.service { padding: 28px 0 30px; border-top: 1px solid var(--line); }
.service h3 { font-size: clamp(1.5rem, 2.2vw, 1.8rem); margin-bottom: .35em; }
.service p { color: var(--ink-soft); margin: 0; max-width: 46ch; }

.extras {
  margin-top: 36px; padding: clamp(28px, 4vw, 40px);
  border-radius: var(--radius); background: var(--cream);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 16px 48px; align-items: baseline;
}
.extras__title { font-size: 1.6rem; margin: 0; }
.extras__list { margin: 0; color: var(--ink-soft); line-height: 1.9; }
.extras__list span { color: var(--gold-ink); margin: 0 .35em; }
.services__note { margin: 20px 0 0; font-size: .9375rem; color: var(--ink-soft); }

/* ---------- Como funciona ---------- */
.steps { background: var(--cream); }
.steps__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-bottom: 48px; }
.steps__list li { position: relative; }
.steps__list li::before {
  content: ""; position: absolute; top: 24px; left: 64px; right: -16px; height: 1px; background: var(--sage-soft);
}
.steps__list li:last-child::before { display: none; }
.steps__num {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--green); color: var(--green); font-family: var(--font-serif); font-size: 1.5rem;
  margin-bottom: 1.2rem; background: var(--cream); position: relative;
}
.steps__list h3 { font-size: 1.6rem; }
.steps__list p { color: var(--ink-soft); margin: 0; }

/* ---------- Salão ---------- */
.beauty { background: var(--green-dark); color: var(--on-dark); }
.beauty__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 7vw, 96px); align-items: center; }
.beauty__media { width: min(100%, 400px); justify-self: center; }
.beauty__text > p { font-size: 1.125rem; }
.beauty__list { margin: 2rem 0 2.4rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
.beauty__list li { padding: 18px 0; border-top: 1px solid var(--line-dark); }
.beauty__list h3 { color: var(--white); font-size: 1.5rem; margin: 0; }
.beauty__list p { margin: 4px 0 0; font-size: .9375rem; color: var(--on-dark-soft); }

/* ---------- Produtos ---------- */
.products__controls { display: flex; gap: 10px; }
.carousel-btn {
  width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--green); background: transparent;
  display: grid; place-items: center; cursor: pointer; color: var(--green);
  transition: background-color .25s var(--ease-out), color .25s var(--ease-out), opacity .25s;
}
.carousel-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.carousel-btn:hover:not(:disabled) { background: var(--green); color: var(--white); }
.carousel-btn:disabled { opacity: .35; cursor: default; }

.products__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 72px) / 4);
  gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 4px 4px 18px; margin: -4px -4px 0;
  scrollbar-width: thin; scrollbar-color: var(--sage-soft) transparent;
}
.products__track::-webkit-scrollbar { height: 6px; }
.products__track::-webkit-scrollbar-thumb { background: var(--sage-soft); border-radius: 3px; }
.products__track li { scroll-snap-align: start; }
.product { display: block; text-decoration: none; border-radius: var(--radius); }
.product img {
  width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); background: var(--cream);
  transition: box-shadow .5s var(--ease-out), transform .5s var(--ease-out);
}
.product:hover img { transform: translateY(-4px); box-shadow: 0 24px 40px -24px rgba(47, 59, 43, .5); }
.product__name { display: block; font-family: var(--font-serif); font-size: 1.35rem; line-height: 1.25; margin-top: 14px; color: var(--ink); }
.product:hover .product__name { color: var(--green); }

.products__foot { margin-top: 36px; display: flex; align-items: center; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap; }
.omni { margin: 0; color: var(--ink-soft); font-size: .9375rem; max-width: 52ch; }
.omni a { color: var(--green); font-weight: 600; }

/* ---------- Contato ---------- */
.cta { background: var(--green); color: var(--on-dark); padding: clamp(88px, 12vw, 144px) 0; }
.cta__mark { width: 64px; height: 64px; margin: 0 auto 20px; border-radius: 50%; }
.cta__title { color: var(--white); font-size: clamp(2.3rem, 5vw, 3.8rem); font-weight: 400; }
.cta p { font-size: 1.125rem; max-width: 52ch; margin-inline: auto; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin: 2.2rem 0; }
.cta .cta__place { font-size: 1rem; color: var(--on-dark-soft); margin-bottom: 0; }

/* ---------- Footer ---------- */
.footer { background: var(--green-dark); color: var(--on-dark-soft); padding: 64px 0 28px; font-size: .9375rem; }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px 40px; padding-bottom: 36px; border-bottom: 1px solid var(--line-dark); }
.footer__brand img { width: 190px; filter: brightness(0) invert(1); opacity: .9; margin-bottom: 10px; }
.footer__brand p { font-family: var(--font-serif); font-style: italic; font-size: 1.2rem; margin: 0; }
.footer__links a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; transition: color .2s; }
.footer a:hover { color: var(--gold); }
.footer__bottom { padding-top: 24px; display: flex; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap; font-size: .875rem; }
.footer__bottom p { margin: 0; }

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  width: 60px; height: 60px; border-radius: 50%;
  background: #25d366; display: grid; place-items: center;
  box-shadow: 0 12px 28px -10px rgba(0, 0, 0, .45);
  transition: transform .3s var(--ease-out);
}
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 32px; height: 32px; fill: var(--white); }

@media (prefers-reduced-motion: reduce) {
  html, .products__track { scroll-behavior: auto; }
  .js .arch-reveal, .js .arch-reveal.is-visible { clip-path: none; transition: none; }
  .js .arch-reveal img, .js .arch-reveal.is-visible img { transform: none; transition: none; }
  .product img, .wa-float, .btn { transition: none; }
  .product:hover img { transform: none; }
}

/* =========================================================
   Responsivo
   ========================================================= */
@media (max-width: 1180px) {
  .nav-toggle { display: flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 20px;
    background: var(--paper); padding: 16px 16px 28px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -24px rgba(0, 0, 0, .25);
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .25s var(--ease-out), transform .25s var(--ease-out), visibility .25s;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__list a { display: block; padding: 14px 4px; font-size: 1.0625rem; border-bottom: 1px solid var(--line); }
  .nav__list a::after { display: none; }
  .nav__actions { flex-direction: column; }
  .nav__actions .btn { min-height: 52px; font-size: 1rem; }

  .steps__list { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .steps__list li::before { display: none; }
  .products__track { grid-auto-columns: calc((100% - 48px) / 3); }
}

@media (max-width: 860px) {
  :root { --header-h: 76px; }
  .header__logo img { width: 160px; }
  .hero__inner, .about__grid, .purpose__grid, .beauty__grid { grid-template-columns: 1fr; }
  .hero__media { width: min(80%, 360px); }
  .about__media { position: static; width: min(80%, 400px); margin-inline: auto; }
  .beauty__media { width: min(80%, 360px); }
  .pillars { grid-template-columns: 1fr; gap: 32px; }
  .service-list { grid-template-columns: 1fr; }
  .extras { grid-template-columns: 1fr; }
  .products__track { grid-auto-columns: calc((100% - 24px) / 2); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .hero__actions .btn, .cta__actions .btn, .steps .btn, .beauty .btn, .products__foot .btn { width: 100%; }
  .timeline { grid-template-columns: 1fr; }
  .steps__list { grid-template-columns: 1fr; gap: 28px; }
  .beauty__list { grid-template-columns: 1fr; }
  .products__controls { display: none; }
  .products__track { grid-auto-columns: 74%; gap: 16px; }
  .footer__grid { grid-template-columns: 1fr; gap: 16px; }
  .wa-float { width: 56px; height: 56px; right: 16px; bottom: 16px; }
}
