/* ===========================================================
   Marra Beleza — folha de estilos
   Paleta 60/30/10: 60% branco, 30% preto, 10% dourado
   =========================================================== */

:root {
  --color-white: #ffffff;
  --color-offwhite: #faf8f4;
  --color-black: #0c0c0c;
  --color-black-soft: #161514;
  --color-gold: #c9a24b;
  --color-gold-light: #e6c877;
  --color-gold-dark: #9c7c33;
  --color-text: #1c1a17;
  --color-text-light: #f3ede1;
  --color-text-muted: #6b6459;

  --font-heading: 'Playfair Display', 'Georgia', serif;
  --font-body: 'Poppins', 'Segoe UI', sans-serif;

  --shadow-soft: 0 10px 30px rgba(12, 12, 12, 0.08);
  --shadow-gold: 0 8px 24px rgba(201, 162, 75, 0.35);
  --header-height: 84px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 100px 0;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-gold-dark);
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  font-weight: 600;
  color: var(--color-black);
  margin-bottom: 16px;
  line-height: 1.25;
}

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

.section-lead {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  max-width: 640px;
}

.section-header {
  text-align: center;
  margin: 0 auto 56px;
  max-width: 720px;
}

.section-header .section-lead {
  margin: 0 auto;
}

.divider-flourish {
  width: 90px;
  height: 14px;
  margin: 18px auto 0;
  background: linear-gradient(90deg, transparent, var(--color-gold) 50%, transparent);
  position: relative;
}

.divider-flourish::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  width: 8px;
  height: 8px;
  background: var(--color-gold);
}

/* ===================== BOTÕES ===================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 34px;
  border-radius: 100px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn-primary {
  background: var(--color-gold);
  color: var(--color-black);
  border-color: var(--color-gold);
}

.btn-primary:hover {
  background: var(--color-gold-dark);
  border-color: var(--color-gold-dark);
  color: var(--color-white);
  box-shadow: var(--shadow-gold);
}

.btn-outline-dark {
  background: transparent;
  color: var(--color-black);
  border-color: rgba(12, 12, 12, 0.5);
}

.btn-outline-dark:hover {
  background: var(--color-black);
  color: var(--color-text-light);
  border-color: var(--color-black);
}

.btn-outline-light {
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-text-light);
  border-color: rgba(255, 255, 255, 0.6);
}

.btn-outline-light:hover {
  background: var(--color-gold);
  color: var(--color-black);
  border-color: var(--color-gold);
}

/* ===================== HEADER ===================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  background: rgba(12, 12, 12, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(201, 162, 75, 0.25);
  transition: background 0.3s ease;
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  height: 72px;
  width: auto;
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--color-text-light);
  letter-spacing: 1px;
  display: none;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 40px;
}

.main-nav a {
  color: var(--color-text-light);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.4px;
  position: relative;
  padding: 6px 0;
  transition: color 0.25s ease;
}

.main-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1.5px;
  background: var(--color-gold);
  transition: width 0.25s ease;
}

.main-nav a:hover {
  color: var(--color-gold-light);
}

.main-nav a:hover::after {
  width: 100%;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 26px;
  height: 2px;
  background: var(--color-gold);
  transition: all 0.3s ease;
}

/* ===================== HERO ===================== */

.hero {
  position: relative;
  height: 100vh;
  height: 100dvh;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
  background:
    url('https://images.unsplash.com/photo-1741356474357-72188f76e801?fm=jpg&q=80&w=2400&auto=format&fit=crop') center/cover fixed;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(201, 162, 75, 0.2), transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(201, 162, 75, 0.16), transparent 50%),
    linear-gradient(160deg, rgba(5,5,5,0.82) 0%, rgba(22,19,16,0.78) 45%, rgba(6,6,6,0.9) 100%);
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.5;
  background-image:
    repeating-linear-gradient(45deg, rgba(201,162,75,0.035) 0px, rgba(201,162,75,0.035) 1px, transparent 1px, transparent 26px),
    repeating-linear-gradient(-45deg, rgba(201,162,75,0.035) 0px, rgba(201,162,75,0.035) 1px, transparent 1px, transparent 26px);
}

.hero-petals {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.hero-petals span {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50% 0 50% 50%;
  background: linear-gradient(135deg, var(--color-gold-light), var(--color-gold-dark));
  opacity: 0.55;
  animation: floaty 9s ease-in-out infinite;
}

@keyframes floaty {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-26px) rotate(180deg); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--color-gold-light);
  font-size: 0.8rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 26px;
  opacity: 0;
  animation: fadeUp 0.9s ease forwards 0.1s;
}

.hero-eyebrow::before,
.hero-eyebrow::after {
  content: '';
  width: 30px;
  height: 1px;
  background: var(--color-gold);
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 700;
  color: var(--color-text-light);
  letter-spacing: 1px;
  line-height: 1.1;
  opacity: 0;
  animation: fadeUp 0.9s ease forwards 0.3s;
}

.hero h1 em {
  font-style: italic;
  color: var(--color-gold);
}

.hero h2 {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  color: var(--color-text-light);
  opacity: 0.85;
  margin-top: 22px;
  letter-spacing: 0.4px;
  opacity: 0;
  animation: fadeUp 0.9s ease forwards 0.5s;
}

.hero-actions {
  display: flex;
  gap: 18px;
  justify-content: center;
  margin-top: 44px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.9s ease forwards 0.7s;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===================== SOBRE ===================== */

.about {
  position: relative;
  background:
    linear-gradient(160deg, rgba(8,8,7,0.93), rgba(8,8,7,0.88)),
    url('https://images.unsplash.com/photo-1524602997322-c1900e093d3d?fm=jpg&q=80&w=2000&auto=format&fit=crop') center/cover fixed;
  color: var(--color-text-light);
}

.about .section-tag {
  color: var(--color-gold-light);
}

.about .section-title {
  color: var(--color-text-light);
}

.about-text p {
  color: rgba(243, 237, 225, 0.72);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: center;
}

.about-visual {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background:
    radial-gradient(circle at 30% 20%, rgba(201,162,75,0.35), transparent 55%),
    radial-gradient(circle at 75% 75%, rgba(201,162,75,0.25), transparent 55%),
    linear-gradient(150deg, #171512, #0c0c0c 70%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

.about-visual img {
  width: 62%;
  filter: drop-shadow(0 10px 30px rgba(0,0,0,0.4));
}

.about-visual::before {
  content: '';
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(201, 162, 75, 0.4);
  border-radius: 10px;
  pointer-events: none;
}

.about-text p {
  color: var(--color-text-muted);
  margin-bottom: 18px;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.pillar {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(201, 162, 75, 0.3);
  border-radius: 12px;
  padding: 26px 20px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.pillar:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
}

.pillar-icon {
  width: 46px;
  height: 46px;
  margin: 0 auto 14px;
  color: var(--color-gold-light);
}

.pillar h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--color-text-light);
}

.pillar p {
  font-size: 0.88rem;
  color: rgba(243, 237, 225, 0.62);
}

/* ===================== PRODUTOS ===================== */

.products {
  position: relative;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.65), rgba(250,248,244,0.72)),
    url('https://images.unsplash.com/photo-1653823357555-ca67b53821be?fm=jpg&q=80&w=2000&auto=format&fit=crop') center/cover fixed;
}

.products .section-header {
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(3px);
  border-radius: 20px;
  padding: 32px 28px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.product-card {
  position: relative;
  background: var(--color-black);
  border-radius: 16px;
  padding: 40px 28px;
  overflow: hidden;
  transition: transform 0.35s ease;
  border: 1px solid rgba(201, 162, 75, 0.15);
}

.product-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 15%, rgba(201,162,75,0.22), transparent 55%),
    linear-gradient(160deg, #141210, #0a0a0a);
  z-index: 0;
}

.product-card:hover {
  transform: translateY(-8px);
}

.product-icon,
.product-card h3,
.product-card p {
  position: relative;
  z-index: 1;
}

.product-icon {
  width: 48px;
  height: 48px;
  color: var(--color-gold);
  margin-bottom: 22px;
}

.product-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--color-text-light);
  margin-bottom: 10px;
}

.product-card p {
  color: rgba(243, 237, 225, 0.65);
  font-size: 0.9rem;
}

/* ===================== DIFERENCIAIS ===================== */

.features {
  background: var(--color-offwhite);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-item {
  text-align: center;
  padding: 30px 18px;
}

.feature-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--color-white);
  border: 1.5px solid var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold-dark);
}

.feature-icon svg {
  width: 26px;
  height: 26px;
}

.feature-item h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: var(--color-black);
}

.feature-item p {
  font-size: 0.88rem;
  color: var(--color-text-muted);
}

/* ===================== CTA ===================== */

.cta {
  position: relative;
  padding: 120px 0;
  background:
    url('https://images.unsplash.com/photo-1714515982656-3f8b7bfba88a?fm=jpg&q=80&w=2000&auto=format&fit=crop') center/cover fixed;
  overflow: hidden;
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(6,6,6,0.9), rgba(6,6,6,0.75) 55%, rgba(6,6,6,0.92));
}

.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

.cta .section-tag {
  color: var(--color-gold-light);
}

.cta-title {
  font-family: var(--font-heading);
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  font-weight: 600;
  color: var(--color-text-light);
  line-height: 1.25;
  margin-bottom: 20px;
}

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

.cta-lead {
  color: rgba(243, 237, 225, 0.75);
  font-size: 1.05rem;
  margin-bottom: 38px;
}

/* ===================== CONTATO ===================== */

.contact {
  position: relative;
  background: var(--color-black);
  color: var(--color-text-light);
  overflow: hidden;
}

.contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 90% 10%, rgba(201, 162, 75, 0.18), transparent 50%),
    radial-gradient(circle at 5% 90%, rgba(201, 162, 75, 0.14), transparent 50%);
}

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

.contact .section-title,
.contact .section-tag {
  color: var(--color-text-light);
}

.contact .section-tag {
  color: var(--color-gold-light);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 20px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.contact-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(201, 162, 75, 0.12);
  border: 1px solid rgba(201, 162, 75, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold-light);
}

.contact-icon svg {
  width: 20px;
  height: 20px;
}

.contact-row h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  margin-bottom: 4px;
  color: var(--color-text-light);
}

.contact-row p, .contact-row a {
  color: rgba(243, 237, 225, 0.7);
  font-size: 0.94rem;
}

.contact-row a:hover {
  color: var(--color-gold-light);
}

.contact-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(201, 162, 75, 0.25);
  border-radius: 18px;
  padding: 44px 36px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.contact-card img {
  width: 130px;
  margin-bottom: 22px;
}

.contact-card h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.contact-card p {
  color: rgba(243, 237, 225, 0.7);
  margin-bottom: 28px;
  font-size: 0.95rem;
}

.social-links {
  display: flex;
  gap: 14px;
  margin-top: 26px;
}

.social-links a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(201, 162, 75, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold-light);
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: var(--color-gold);
  color: var(--color-black);
  border-color: var(--color-gold);
}

.social-links svg {
  width: 19px;
  height: 19px;
}

/* ===================== FOOTER ===================== */

.site-footer {
  background: var(--color-black);
  color: rgba(243, 237, 225, 0.65);
  font-size: 0.92rem;
}

.site-footer strong {
  color: var(--color-gold-light);
}

.footer-top {
  position: relative;
  padding: 80px 0 50px;
  background:
    radial-gradient(circle at 12% 15%, rgba(201, 162, 75, 0.1), transparent 45%),
    radial-gradient(circle at 90% 85%, rgba(201, 162, 75, 0.08), transparent 50%);
  border-top: 1px solid rgba(201, 162, 75, 0.18);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: 50px;
}

.footer-brand img {
  height: 88px;
  margin-bottom: 18px;
}

.footer-brand p {
  color: rgba(243, 237, 225, 0.55);
  font-size: 0.9rem;
  max-width: 320px;
  margin-bottom: 24px;
}

.footer-social a {
  width: 38px;
  height: 38px;
}

.footer-social svg {
  width: 17px;
  height: 17px;
}

.footer-col h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--color-text-light);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}

.footer-col h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 34px;
  height: 2px;
  background: var(--color-gold);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  color: rgba(243, 237, 225, 0.6);
  font-size: 0.9rem;
  transition: color 0.25s ease, padding-left 0.25s ease;
}

.footer-col a:hover {
  color: var(--color-gold-light);
  padding-left: 4px;
}

.footer-contact-list li {
  color: rgba(243, 237, 225, 0.6);
  font-size: 0.9rem;
  line-height: 1.55;
}

.footer-bottom {
  border-top: 1px solid rgba(201, 162, 75, 0.15);
  padding: 24px 0;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.82rem;
  color: rgba(243, 237, 225, 0.45);
}

/* ===================== WHATSAPP FLUTUANTE ===================== */

.whatsapp-float {
  position: fixed;
  bottom: 26px;
  right: 26px;
  width: 58px;
  height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  z-index: 999;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float:hover {
  transform: scale(1.06);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.32);
}

.whatsapp-float svg {
  width: 30px;
  height: 30px;
  fill: #ffffff;
}

/* ===================== SCROLL REVEAL ===================== */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===================== RESPONSIVO ===================== */

@media (max-width: 960px) {
  .about-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .pillars { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .hero, .about, .products, .cta {
    background-attachment: scroll;
  }

  .footer-grid { grid-template-columns: 1fr; gap: 36px; }

  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }

  .cta { padding: 90px 0; }
}

@media (max-width: 768px) {
  section { padding: 70px 0; }

  .main-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background: rgba(12, 12, 12, 0.98);
    flex-direction: column;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    border-bottom: 1px solid rgba(201, 162, 75, 0.2);
  }

  .main-nav.is-open {
    max-height: 400px;
  }

  .main-nav a {
    width: 100%;
    padding: 18px 24px;
    border-top: 1px solid rgba(201, 162, 75, 0.08);
  }

  .header-cta .btn-primary { display: none; }

  .nav-toggle { display: flex; }

  .products-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .brand img { height: 58px; }
  .whatsapp-float { width: 52px; height: 52px; bottom: 18px; right: 18px; }
  .whatsapp-float svg { width: 26px; height: 26px; }
}
