/* ═══════════════════════════════════════════════════════
   Eliane Goulart — Estética & Cosmetologia
   Cores exatas do PDF de identidade visual, 2024
   ═══════════════════════════════════════════════════════ */

/* ── Reset & Base ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0 }
html { scroll-behavior: smooth; font-size: 16px }
body {
  padding-top: var(--strip-h);
  font-family: 'Manrope', system-ui, sans-serif;
  background: #FAF8F5;
  color: #1A1814;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto }
a { color: inherit; text-decoration: none }
ul { list-style: none }
button { background: none; border: none; cursor: pointer; font-family: inherit }
address { font-style: normal }

/* ── Brand Tokens ────────────────────────────────────── */
:root {
  --t:   #AD573D; /* terracota         */
  --t2:  #923F26; /* terracota escuro  */
  --t3:  #C07055; /* terracota claro   */
  --b:   #EFE4DE; /* bege              */
  --bm:  #D7D2CB; /* bege médio        */
  --m:   #343510; /* musgo             */
  --tl:  #2D493D; /* teal              */
  --ow:  #FAF8F5; /* off-white         */
  --w:   #FFFFFF;
  --tx:  #1A1814;
  --txm: #56504A;
  --txl: #918880;
  --bd:  #E0D8D2;

  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans:  'Manrope', system-ui, sans-serif;
  --nav-h: 72px;
  --strip-h: 40px;
  --ease: cubic-bezier(.25,.46,.45,.94);
}

/* ── Layout container ─────────────────────────────────── */
.container {
  width: 100%; max-width: 1200px;
  margin: 0 auto; padding: 0 32px
}

/* ── Scroll reveal ────────────────────────────────────── */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity .7s var(--ease), transform .7s var(--ease)
}
.reveal.visible { opacity: 1; transform: none }

/* ── Buttons ──────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; font-family: var(--sans); font-size: .78rem;
  font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  cursor: pointer; border-radius: 1px;
  transition: all .28s var(--ease); white-space: nowrap;
  border: 1.5px solid transparent;
}
.btn-primary {
  background: var(--t); color: #fff; border-color: var(--t)
}
.btn-primary:hover {
  background: var(--t2); border-color: var(--t2);
  transform: translateY(-2px); box-shadow: 0 8px 24px rgba(173,87,61,.3)
}
.btn-ghost {
  background: transparent; color: var(--t); border-color: var(--t)
}
.btn-ghost:hover { background: var(--t); color: #fff }
.btn-lg { padding: 16px 36px; font-size: .84rem }
.btn-insta { gap: 10px }

/* ── Section eyebrow ─────────────────────────────────── */
.section-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 10px; font-weight: 700; letter-spacing: .28em;
  text-transform: uppercase; color: var(--t); margin-bottom: 16px
}
.section-eyebrow::before {
  content: ''; display: block;
  width: 24px; height: 1px; background: var(--t)
}
.section-eyebrow.light { color: rgba(239,228,222,.7) }
.section-eyebrow.light::before { background: rgba(239,228,222,.4) }

.section-header { text-align: center; margin-bottom: 56px }
.section-header h2 { margin-bottom: 14px }
.section-header p {
  font-size: .9rem; font-weight: 300; color: var(--txm);
  max-width: 480px; margin: 0 auto
}

/* ── Headings ─────────────────────────────────────────── */
h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 400; line-height: 1.12; color: var(--tx)
}
h2 em { font-style: italic; color: var(--t) }

/* ═══════════ STRIP ════════════════════════════════════ */
.strip {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1001;
  background: var(--m); text-align: center;
  padding: 11px 16px; font-size: .72rem; font-weight: 500;
  letter-spacing: .06em; color: rgba(239,228,222,.65)
}
.strip a { color: var(--b); text-decoration: underline }

/* ═══════════ NAV ══════════════════════════════════════ */
#nav {
  position: fixed; top: var(--strip-h); left: 0; right: 0; z-index: 1000;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 40px;
  background: transparent;
  transition: background .4s, box-shadow .4s, top .3s
}
#nav.scrolled {
  top: var(--strip-h);
  background: rgba(250,248,245,.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--bd)
}

/* Logo mark img */
.nav-logo-mark { display: block; flex-shrink: 0 }
.hero-logo-mark { display: block; flex-shrink: 0 }
.footer-logo-mark {
  display: block;
  /* inverte para bege no fundo escuro */
  filter: brightness(0) saturate(100%) invert(93%) sepia(11%) saturate(300%) hue-rotate(330deg) brightness(103%)
}

/* Logo */
.nav-logo {
  display: flex; align-items: center; gap: 13px
}
.nav-logo-text {
  display: flex; flex-direction: column; line-height: 1
}
.nav-logo-name {
  font-family: var(--serif); font-size: 1.35rem;
  font-weight: 400; color: var(--tx); line-height: 1
}
.nav-logo-sub {
  font-size: 8px; font-weight: 700; letter-spacing: .22em;
  text-transform: uppercase; color: var(--t);
  margin-top: 4px; opacity: .85
}

/* Nav links */
#nav-links {
  display: flex; align-items: center; gap: 36px
}
#nav-links a {
  font-size: .72rem; font-weight: 600; letter-spacing: .13em;
  text-transform: uppercase; color: var(--txm);
  transition: color .2s; position: relative
}
#nav-links a::after {
  content: ''; position: absolute; bottom: -3px; left: 0;
  width: 0; height: 1px; background: var(--t);
  transition: width .3s var(--ease)
}
#nav-links a:hover,
#nav-links a.current { color: var(--t) }
#nav-links a:hover::after,
#nav-links a.current::after { width: 100% }

/* Hamburger */
#burger {
  display: none; flex-direction: column; gap: 4px;
  padding: 4px; background: none; border: none
}
#burger span {
  display: block; width: 18px; height: 1.5px;
  background: var(--tx); transition: all .3s
}
#burger.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg) }
#burger.active span:nth-child(2) { opacity: 0 }
#burger.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg) }

/* Mobile dropdown */
#nav-links.open {
  position: fixed; top: calc(var(--strip-h) + var(--nav-h));
  left: 0; right: 0;
  flex-direction: column; align-items: flex-start;
  gap: 0; background: var(--ow);
  border-top: 1px solid var(--bd);
  padding: 12px 28px 24px;
  box-shadow: 0 16px 40px rgba(0,0,0,.08);
  animation: slideDown .3s var(--ease) forwards
}
#nav-links.open a {
  padding: 14px 0; border-bottom: 1px solid var(--bd);
  width: 100%; font-size: .8rem
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px) }
  to   { opacity: 1; transform: none }
}

/* ═══════════ HERO ══════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 0 40px;
  max-width: 1280px; margin: 0 auto;
  gap: 60px;
}

.hero-left {
  padding: calc(var(--nav-h) + 24px) 0 60px;
}

/* Hero logo lockup */
.hero-logo-lockup {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 36px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--bd)
}
.hero-logo-text {
  display: flex; flex-direction: column; line-height: 1
}
.hero-logo-name {
  font-family: var(--serif); font-size: 1.7rem;
  font-weight: 400; color: var(--tx); line-height: 1
}
.hero-logo-sub {
  font-size: 9px; font-weight: 700; letter-spacing: .24em;
  text-transform: uppercase; color: var(--t);
  margin-top: 6px; opacity: .9
}

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 10px; font-weight: 700; letter-spacing: .28em;
  text-transform: uppercase; color: var(--t); margin-bottom: 24px
}
.hero-eyebrow::before {
  content: ''; width: 28px; height: 1px; background: var(--t)
}

.hero-left h1 {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 400; line-height: 1.08; color: var(--tx);
  margin-bottom: 24px
}
.hero-left h1 em { font-style: italic; color: var(--t) }

.hero-sub {
  font-size: .95rem; font-weight: 300; color: var(--txm);
  line-height: 1.82; max-width: 420px; margin-bottom: 38px
}

.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px }

/* Hero image */
.hero-right {
  padding: calc(var(--nav-h) + 40px) 0 40px;
  display: flex; align-items: center; justify-content: center
}
.hero-img-frame {
  position: relative; width: 100%; max-width: 460px;
  padding-bottom: 120%; overflow: hidden;
  background: var(--b);
}
.hero-img-frame::before {
  content: ''; position: absolute;
  top: -12px; left: -12px; right: 12px; bottom: 12px;
  border: 1px solid rgba(173,87,61,.18); z-index: -1
}
.hero-img-frame img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; object-position: center top
}

/* ═══════════ SOBRE ═════════════════════════════════════ */
.sobre {
  padding: 110px 0;
  background: var(--w)
}

.sobre-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center
}

/* Sobre — image column */
.sobre-img { position: relative }

.sobre-img-wrap {
  position: relative; padding-bottom: 110%;
  overflow: hidden; background: var(--b)
}
.sobre-img-wrap::after {
  content: ''; position: absolute;
  top: 14px; left: 14px; right: -14px; bottom: -14px;
  border: 1px solid rgba(173,87,61,.2); z-index: -1
}
.sobre-img-wrap img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 20%;
  transition: transform .6s var(--ease)
}
.sobre-img-wrap:hover img { transform: scale(1.03) }

.sobre-badge {
  display: flex; align-items: center; gap: 10px;
  position: absolute; bottom: -18px; left: 20px;
  background: var(--t); color: #fff;
  padding: 14px 20px; z-index: 2
}
.sobre-badge span {
  font-size: .78rem; font-weight: 600; letter-spacing: .06em
}

/* Sobre — text column */
.sobre-text p {
  font-size: .9rem; font-weight: 300; color: var(--txm);
  line-height: 1.82; margin-bottom: 16px
}

.sobre-valores {
  margin: 28px 0 36px
}
.sobre-valores li {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 14px 0; border-bottom: 1px solid var(--bd)
}
.sobre-valores li:first-child { border-top: 1px solid var(--bd) }
.valor-icon {
  color: var(--t); font-size: .9rem; flex-shrink: 0; margin-top: 2px
}
.sobre-valores strong {
  display: block; font-size: .85rem; font-weight: 700;
  color: var(--tx); margin-bottom: 2px
}
.sobre-valores span {
  font-size: .8rem; font-weight: 300; color: var(--txm)
}

/* ═══════════ GALLERY STRIP ════════════════════════════ */
.gallery-strip {
  background: var(--bm); overflow: hidden; padding: 4px 0
}
.gallery-strip-inner {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 4px
}
.gallery-strip-inner img {
  width: 100%; aspect-ratio: 1;
  object-fit: cover;
  transition: transform .5s var(--ease);
  cursor: pointer
}
.gallery-strip-inner img:hover { transform: scale(1.06) }

/* ═══════════ SERVIÇOS ═══════════════════════════════════ */
.servicos {
  padding: 110px 0;
  background: var(--ow)
}

/* Tabs */
.tabs {
  display: flex; justify-content: center;
  border-bottom: 1px solid var(--bd);
  margin-bottom: 48px
}
.tab-btn {
  padding: 14px 36px;
  font-size: .72rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--txl); border-bottom: 2px solid transparent;
  margin-bottom: -1px; transition: all .28s
}
.tab-btn:hover { color: var(--t) }
.tab-btn.active { color: var(--t); border-bottom-color: var(--t) }

/* Tab panels */
.tab-panel { display: none }
.tab-panel.active { display: block }

/* Cards grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px
}

/* Individual card */
.card {
  background: var(--w);
  display: flex; flex-direction: column;
  transition: box-shadow .3s var(--ease), transform .3s var(--ease);
  overflow: hidden
}
.card:hover {
  box-shadow: 0 18px 50px rgba(0,0,0,.1);
  transform: translateY(-3px)
}

.card-img {
  width: 100%; height: 200px;
  overflow: hidden; flex-shrink: 0; background: var(--b)
}
.card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s var(--ease)
}
.card:hover .card-img img { transform: scale(1.06) }

/* Placeholder */
.card-img.ph {
  background: linear-gradient(145deg, var(--b) 0%, var(--bm) 100%)
}

.card-body {
  padding-top: var(--strip-h);
  padding: 22px 22px 16px;
  flex: 1; display: flex; flex-direction: column
}
.card-name {
  font-size: .78rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--tx); margin-bottom: 8px; line-height: 1.3
}
.card-desc {
  font-size: .8rem; font-weight: 300;
  color: var(--txm); line-height: 1.7;
  flex: 1; margin-bottom: 0
}

/* Card footer — SEM preços */
.card-foot {
  display: flex; align-items: center; justify-content: flex-end;
  padding: 14px 22px; border-top: 1px solid var(--b)
}
.card-cta {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .72rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--t);
  transition: gap .2s, color .2s
}
.card-cta:hover { color: var(--t2); gap: 10px }

/* ═══════════ DIFERENCIAIS ═══════════════════════════════ */
.diferenciais {
  padding: 110px 0;
  background: var(--m); position: relative; overflow: hidden
}
.diferenciais::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 70% at 85% 20%, rgba(173,87,61,.12) 0%, transparent 60%);
  pointer-events: none
}

.diferenciais .section-header h2 { color: var(--ow) }
.diferenciais .section-header h2 em { color: var(--t3) }
.diferenciais .section-eyebrow { color: rgba(239,228,222,.55) }
.diferenciais .section-eyebrow::before { background: rgba(239,228,222,.3) }

.diferenciais-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px; position: relative
}

.diferencial {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  padding: 44px 32px; text-align: center;
  transition: all .3s var(--ease)
}
.diferencial:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(173,87,61,.28)
}

.dif-icon {
  width: 56px; height: 56px; margin: 0 auto 22px;
  border-radius: 50%;
  background: rgba(173,87,61,.14);
  display: flex; align-items: center; justify-content: center
}

.diferencial h3 {
  font-family: var(--serif); font-size: 1.2rem;
  font-weight: 400; color: var(--ow); margin-bottom: 12px
}
.diferencial p {
  font-size: .82rem; font-weight: 300;
  color: rgba(250,248,245,.55); line-height: 1.78
}

/* ═══════════ AGENDAMENTO ════════════════════════════════ */
.agendamento {
  padding: 120px 0;
  background: var(--b); position: relative; overflow: hidden
}
.agendamento::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 100% at 50% 50%, rgba(173,87,61,.07) 0%, transparent 70%);
  pointer-events: none
}

.agenda-wrap {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center; position: relative
}

.agenda-text h2 { margin-bottom: 16px }
.agenda-text p {
  font-size: .9rem; font-weight: 300; color: var(--txm);
  line-height: 1.8; margin-bottom: 28px
}

.agenda-info { display: flex; flex-direction: column; gap: 14px }
.agenda-info li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: .85rem; font-weight: 300; color: var(--txm)
}
.agenda-info li svg {
  flex-shrink: 0; margin-top: 2px;
  stroke: var(--t); fill: none;
  stroke-width: 1.4; stroke-linecap: round
}

.agenda-actions {
  display: flex; flex-direction: column; gap: 14px;
  align-items: flex-start
}

/* ═══════════ FOOTER ═════════════════════════════════════ */

  background: #3D4A1E; color: rgba(250,248,245,.65)
}

.footer-inner {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr;
  gap: 56px; padding: 72px 32px 52px;
  max-width: 1200px; margin: 0 auto
}

.footer-brand { display: flex; flex-direction: column; gap: 14px }
.footer-tagline {
  font-size: .82rem; line-height: 1.72;
  color: rgba(250,248,245,.45)
}

.footer-links h4,
.footer-contact h4 {
  font-size: 9px; font-weight: 700; letter-spacing: .26em;
  text-transform: uppercase; color: var(--t3); margin-bottom: 18px
}
.footer-links ul li { margin-bottom: 10px }
.footer-links a {
  font-size: .82rem; color: rgba(250,248,245,.5);
  transition: color .2s
}
.footer-links a:hover { color: var(--ow) }

.footer-contact address p {
  font-size: .82rem; color: rgba(250,248,245,.5);
  margin-bottom: 10px; line-height: 1.6
}
.footer-contact a { transition: color .2s }
.footer-contact a:hover { color: var(--ow) }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 24px 32px; max-width: 1200px; margin: 0 auto
}
.footer-bottom p {
  font-size: .72rem; color: rgba(250,248,245,.28)
}

/* ═══════════ WHATSAPP FLOAT ═════════════════════════════ */
.wa-float {
  position: fixed; bottom: 26px; right: 26px; z-index: 900;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 18px rgba(37,211,102,.4);
  transition: transform .3s, box-shadow .3s
}
.wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 28px rgba(37,211,102,.55)
}
.wa-pulse {
  position: absolute; inset: 0; border-radius: 50%;
  animation: waPulse 2.8s ease-out infinite
}
@keyframes waPulse {
  0%   { box-shadow: 0 0 0 0 rgba(37,211,102,.5) }
  70%  { box-shadow: 0 0 0 12px rgba(37,211,102,0) }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0) }
}

/* ═══════════ RESPONSIVE ═══════════════════════════════ */
@media (max-width: 1024px) {
  .hero { padding: 0 28px }
  .gallery-strip-inner { grid-template-columns: repeat(4, 1fr) }
  .gallery-strip-inner img:nth-child(n+5) { display: none }
  .cards-grid { grid-template-columns: repeat(2, 1fr) }
  .diferenciais-grid { grid-template-columns: repeat(2, 1fr) }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 40px }
  .footer-brand { grid-column: 1 / -1 }
}
@media (max-width: 768px) {
  :root { --strip-h: 62px }
  body { padding-top: var(--strip-h) }
  :root { --nav-h: 64px }
  #nav { padding: 0 24px }
  #nav-links:not(.open) { display: none }
  #burger { display: flex }

  .hero {
    grid-template-columns: 1fr;
    padding: 0 24px; gap: 0
  }
  .hero-right { display: none }
  .hero-left { padding: calc(var(--nav-h) + 16px) 0 48px }

  .sobre-grid { grid-template-columns: 1fr; gap: 60px }
  .sobre-img-wrap { max-width: 380px; margin: 0 auto }
  .sobre-badge { left: 0 }

  .gallery-strip-inner { grid-template-columns: repeat(3, 1fr) }
  .gallery-strip-inner img:nth-child(n+4) { display: none }

  .cards-grid { grid-template-columns: 1fr }

  .diferenciais-grid { grid-template-columns: 1fr }

  .agenda-wrap { grid-template-columns: 1fr; gap: 44px }
  .agenda-actions { flex-direction: row; flex-wrap: wrap }

  .footer-inner { grid-template-columns: 1fr; gap: 36px }
  .footer-bottom { padding: 24px }
}
@media (max-width: 480px) {
  .hero-left h1 { font-size: 2.6rem }
  .hero-ctas { flex-direction: column; align-items: flex-start }

  .tabs { overflow-x: auto; justify-content: flex-start }
  .tab-btn { padding: 12px 22px; flex-shrink: 0 }

  .gallery-strip-inner { grid-template-columns: repeat(2, 1fr) }
  .gallery-strip-inner img:nth-child(n+3) { display: none }

  .agenda-actions { flex-direction: column }
  .agenda-actions .btn { width: 100%; justify-content: center }
}
