/* ==========================
ELLEVA BEAUTY STUDIO
Identidade: Marfim + Areia + Dourado (Luxo Natural)
Tipos: Playfair (títulos) + Inter (texto)
Baseado no Guia de Identidade Visual Elleva
========================== */

:root {
  /* Backgrounds */
  --bg: #F4E6D8;
  /* Marfim Luminoso */
  --bg-soft: #EBDCC8;
  /* transição Marfim -> Areia */
  --surface: #FFFFFF;
  --surface-2: #F7ECDF;

  /* Superfícies nude */
  --nude: #DCC7B2;
  /* Nude Quente */
  --champagne: #E5CBB4;
  /* Champagne Suave */
  --areia: #E2D0BD;
  /* Areia Elleva */

  /* Dourado */
  --gold: #A77B35;
  /* Dourado Elleva */
  --gold-2: #8D6139;
  /* Ouro Envelhecido */
  --gold-soft: rgba(167, 123, 53, .14);

  /* Texto */
  --text: #4D351D;
  /* Marrom Café */
  --text-strong: #33210F;
  /* Espresso Profundo */
  --muted: #7C654C;
  /* Taupe Elegante */
  --muted-2: #8f7a63;

  /* Fotografia (uso pontual) */
  --rose-photo: #C48157;
  --caramel: #B68560;

  /* Borda + sombra */
  --border: rgba(167, 123, 53, .28);
  --shadow: 0 20px 55px rgba(51, 33, 15, .12);

  /* Glow */
  --glow-gold: rgba(167, 123, 53, .35);

  /* Tipografia */
  --font-body: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  --font-display: "Playfair Display", serif;

  /* Radius */
  --radius-xl: 1.6rem;
}

/* Base */
html,
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
}

h1,
h2,
h3,
.display,
.section-title {
  font-family: var(--font-display);
  letter-spacing: -0.01em;
  color: var(--text-strong);
}

.text-muted {
  color: var(--muted) !important;
}

/* Divisor ornamental (inspirado no guia: linha - losango - linha) */
.ornament {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: .6rem;
  color: var(--gold);
  margin: .4rem 0 1.1rem;
}

.ornament::before,
.ornament::after {
  content: "";
  height: 1px;
  width: 42px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.ornament::after {
  background: linear-gradient(270deg, var(--gold), transparent);
}

.ornament i {
  font-size: .5rem;
  transform: rotate(45deg);
  color: var(--gold);
}

.section-title em {
  font-style: italic;
  color: var(--gold-2);
}

/* Anchor offset (navbar fixa) */
section[id] {
  scroll-margin-top: 90px;
}

/* Navbar */
.navbar {
  background: rgba(244, 230, 216, .82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.navbar .navbar-brand {
  color: var(--text-strong);
  font-family: var(--font-display);
  letter-spacing: .02em;
}

.navbar .navbar-brand small {
  color: var(--muted);
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: .08em;
}

.navbar .nav-link {
  color: var(--text);
  font-weight: 500;
}

.navbar .nav-link:hover {
  color: var(--gold-2);
}

/* Hero */
.hero {
  margin-top: 30px;
  position: relative;
  overflow: hidden;
  padding: 6.5rem 0 4.5rem;
  background:
    radial-gradient(900px 500px at 10% 5%, rgba(220, 199, 178, .55), transparent 62%),
    radial-gradient(900px 550px at 90% 10%, var(--gold-soft), transparent 65%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
}

.hero::before {
  content: "";
  position: absolute;
  top: -120px;
  left: -140px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(226, 208, 189, .55);
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -160px;
  right: -120px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: rgba(229, 203, 180, .45);
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .45rem .85rem;
  border-radius: 999px;
  border: 1px solid rgba(167, 123, 53, .35);
  color: var(--gold-2);
  font-weight: 600;
  background: rgba(255, 255, 255, .55);
  box-shadow: 0 10px 30px rgba(51, 33, 15, .08);
}

.hero h1 {
  font-weight: 700;
}

.hero-frame {
  position: relative;
  border-radius: var(--radius-xl);
  padding: 1.4rem;
  background: linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.hero-frame img {
  width: 100%;
  border-radius: calc(var(--radius-xl) - .6rem);
  display: block;
}

.corner-arc {
  position: absolute;
  width: 90px;
  height: 90px;
  border-top: 2px solid var(--gold);
  border-left: 2px solid var(--gold);
  border-radius: 50% 0 0 0;
  opacity: .55;
}

.corner-arc.tr {
  top: -1px;
  right: -1px;
  border-top: 2px solid var(--gold);
  border-right: 2px solid var(--gold);
  border-left: none;
  border-radius: 0 50% 0 0;
}

.corner-arc.bl {
  bottom: -1px;
  left: -1px;
  border-bottom: 2px solid var(--gold);
  border-left: 2px solid var(--gold);
  border-top: none;
  border-radius: 0 0 0 50%;
}

/* Cards */
.hero-card,
.soft-card {
  background: linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.hero-card .card-header {
  background: rgba(167, 123, 53, .06);
  border-bottom: 1px solid var(--border);
}

/* Feature icon */
.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold-soft);
  color: var(--gold-2);
  border: 1px solid rgba(167, 123, 53, .25);
  flex: 0 0 auto;
}

/* Pills */
.pill {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .38rem .78rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: .92rem;
  background: rgba(220, 199, 178, .55);
  color: var(--text-strong);
  border: 1px solid rgba(167, 123, 53, .22);
}

/* Sections */
.section {
  padding: 4.5rem 0;
}

.section.soft-bg {
  background: linear-gradient(180deg, var(--bg-soft) 0%, var(--areia) 100%);
}

/* Serviço card compacto */
.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1.1rem;
  padding: 1.15rem 1.1rem;
  height: 100%;
  display: flex;
  align-items: flex-start;
  gap: .85rem;
  box-shadow: 0 10px 28px rgba(51, 33, 15, .06);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(167, 123, 53, .55);
  box-shadow: 0 18px 38px rgba(51, 33, 15, .14);
}

.service-card .feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  font-size: 1.05rem;
}

.service-card h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .98rem;
  margin-bottom: 0;
  color: var(--text-strong);
  line-height: 1.3;
}

/* Links */
a {
  color: var(--gold-2);
  text-decoration: none;
}

a:hover {
  color: var(--gold);
}

/* Botões */
.btn-brand {
  border: none;
  color: #FFFFFF;
  font-weight: 700;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-2) 100%);
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  transform: translateZ(0);
  position: relative;
  overflow: hidden;
}

.btn-brand::before {
  content: "";
  position: absolute;
  top: -40%;
  left: -60%;
  width: 60%;
  height: 180%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .45), transparent);
  transform: rotate(18deg);
  opacity: 0;
}

.btn-brand:hover {
  filter: brightness(1.04);
  box-shadow:
    0 0 26px var(--glow-gold),
    0 18px 40px rgba(51, 33, 15, .18);
}

.btn-brand:hover::before {
  opacity: .65;
  animation: shine 900ms ease-out 1;
}

.btn-brand:active {
  transform: translateY(1px);
}

.btn-outline-brand {
  border: 2px solid rgba(167, 123, 53, .55);
  color: var(--text-strong);
  background: transparent;
}

.btn-outline-brand:hover {
  background: rgba(167, 123, 53, .12);
  border-color: rgba(167, 123, 53, .9);
  color: var(--text-strong);
}

/* Inputs */
.form-control,
.form-select,
textarea {
  background: rgba(255, 255, 255, .7);
  color: var(--text);
  border: 1px solid rgba(167, 123, 53, .3);
  border-radius: 12px;
}

.form-control::placeholder,
textarea::placeholder {
  color: var(--muted-2);
}

.form-control:focus,
.form-select:focus,
textarea:focus {
  background: rgba(255, 255, 255, .9);
  color: var(--text);
  border-color: rgba(167, 123, 53, .75);
  box-shadow: 0 0 0 .16rem rgba(167, 123, 53, .2);
}

/* Glow animation */
.glow {
  position: relative;
}

.glow::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background:
    radial-gradient(120px 120px at 20% 15%, rgba(220, 199, 178, .5), transparent 60%),
    radial-gradient(140px 140px at 80% 20%, rgba(167, 123, 53, .28), transparent 62%);
  opacity: .55;
  filter: blur(14px);
  pointer-events: none;
  animation: glowPulse 3.6s ease-in-out infinite;
  z-index: -1;
}

.logo-brand {
  display: flex;
  align-items: center;
  gap: .6rem;
}

.logo-brand img {
  height: 46px;
  width: auto;
  object-fit: contain;
  display: block;
}

.logo-brand .logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-brand .logo-text span.script {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--text-strong);
}

.logo-brand .logo-text small {
  font-size: .58rem;
  letter-spacing: .28em;
  color: var(--gold-2);
  font-weight: 600;
  margin-top: 2px;
}

/* Mobile levemente menor */
@media (max-width: 576px) {
  .logo-brand img {
    height: 32px;
  }

  .logo-brand .logo-text span.script {
    font-size: 1.15rem;
  }
}

@keyframes glowPulse {

  0%,
  100% {
    opacity: .35;
    transform: translateY(0);
  }

  50% {
    opacity: .65;
    transform: translateY(-2px);
  }
}

@keyframes shine {
  0% {
    transform: translateX(0) rotate(18deg);
  }

  100% {
    transform: translateX(320%) rotate(18deg);
  }
}

@media (prefers-reduced-motion: reduce) {

  .glow::after,
  .btn-brand:hover::before {
    animation: none !important;
  }
}

/* Footer */
.footer-elleva {
  border-top: 1px solid rgba(167, 123, 53, .25);
  background: var(--text-strong);
  color: #EFE1D2;
}

.footer-elleva a {
  color: #EFE1D2;
  opacity: .85;
}

.footer-elleva a:hover {
  opacity: 1;
  color: var(--gold);
}

/* Mobile contrast tuning */
@media (max-width: 576px) {
  .hero-badge {
    background: rgba(255, 255, 255, .7);
  }

  .soft-card,
  .service-card {
    box-shadow: 0 12px 30px rgba(51, 33, 15, .1);
  }
}
