/* ==========================================================================
   MAISON VÉRONIQUE - HAUTE COUTURE MEGA HAIR & STUDIO
   Design System & Estética Editorial de Luxo (Dior, Celine, Aesop, Apple)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Inter:wght@300;400;500;600&family=Cormorant+Garamond:wght@300;400;500;600&display=swap');

:root {
  /* Paleta de Cores Oficial - Sem cores saturadas */
  --bg-primary: #F8F4EE;   /* Background principal */
  --bg-white: #FFFFFF;     /* Branco puro */
  --bg-beige: #F1E7D8;     /* Bege neutro */
  --bg-marble: #EEE6DB;    /* Mármore claro */
  --text-main: #312B25;    /* Texto escuro neutro */
  --accent-brown: #8A6A47; /* Marrom aconchegante */
  --accent-gold: #B89A62;  /* Dourado fosco elegante */
  
  /* Tipografia */
  --font-serif: 'Instrument Serif', 'Cormorant Garamond', serif;
  --font-sans: 'Inter', system-ui, sans-serif;

  /* Grid e Espaçamento */
  --max-width: 1200px;
  --content-width: 1100px;
  --padding-lateral: 80px;
  --section-padding-y: 150px; /* Entre 120px a 160px */

  /* Efeitos e Sombras */
  --shadow-soft: 0 20px 60px rgba(0, 0, 0, 0.08);
  --radius-sharp: 0px;
  --radius-smooth: 26px; /* Apenas para algumas imagens especiais */
  
  /* Transições */
  --transition-btn: 300ms cubic-bezier(0.25, 1, 0.5, 1);
  --transition-img: 800ms cubic-bezier(0.16, 1, 0.3, 1);
}

@media (max-width: 992px) {
  :root {
    --padding-lateral: 48px;
    --section-padding-y: 120px;
  }
}

@media (max-width: 768px) {
  :root {
    --padding-lateral: 24px;
    --section-padding-y: 100px;
  }
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-primary);
}

body {
  font-family: var(--font-sans);
  color: var(--text-main);
  background-color: var(--bg-primary);
  line-height: 1.75;
  overflow-x: hidden;
  position: relative;
  selection-background-color: var(--accent-brown);
  selection-color: var(--bg-white);
}

::selection {
  background-color: var(--accent-brown);
  color: var(--bg-white);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

a {
  color: inherit;
  text-decoration: none;
  transition: opacity var(--transition-btn);
}

button, input, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

ul {
  list-style: none;
}

/* ==========================================================================
   TIPOGRAFIA
   ========================================================================== */

h1, h2, h3, h4, .serif-title {
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--text-main);
}

.hero-title {
  font-size: clamp(48px, 6.5vw, 72px);
  line-height: 1.05;
  color: #FFFFFF;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.35);
  margin-bottom: 24px;
}

.section-title {
  font-size: clamp(38px, 4.5vw, 56px);
  line-height: 1.15;
  margin-bottom: 30px;
}

.subtitle {
  font-size: clamp(22px, 2.5vw, 28px);
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--accent-brown);
  line-height: 1.35;
  margin-bottom: 16px;
}

.hero-subtitle {
  font-size: clamp(20px, 2.2vw, 28px);
  font-family: var(--font-serif);
  color: #F8F4EE;
  line-height: 1.35;
  margin-bottom: 40px;
  max-width: 680px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

.eyebrow {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent-brown);
  font-weight: 500;
  display: block;
  margin-bottom: 12px;
}

p {
  font-size: clamp(16px, 1.1vw, 18px);
  color: var(--text-main);
  opacity: 0.88;
  margin-bottom: 24px;
  font-weight: 300;
}

/* ==========================================================================
   LAYOUT & GRID SYSTEM
   ========================================================================== */

.container {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 var(--padding-lateral);
  width: 100%;
  position: relative;
  z-index: 2;
}

.section-wrapper {
  padding-top: var(--section-padding-y);
  padding-bottom: var(--section-padding-y);
  position: relative;
  overflow: hidden;
}

.bg-primary { background-color: var(--bg-primary); }
.bg-white { background-color: var(--bg-white); }
.bg-beige { background-color: var(--bg-beige); }
.bg-marble { 
  background-color: var(--bg-marble); 
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(255,255,255,0.4) 0%, transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(212,198,184,0.3) 0%, transparent 50%);
}

.text-center { text-align: center; }

/* ==========================================================================
   BOTÕES & INTERAÇÕES
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 42px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 500;
  border-radius: var(--radius-sharp);
  transition: all var(--transition-btn);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn-white {
  background-color: var(--bg-white);
  color: var(--text-main);
  border: 1px solid rgba(49, 43, 37, 0.15);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.btn-white:hover {
  background-color: var(--text-main);
  color: var(--bg-white);
  border-color: var(--text-main);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(49, 43, 37, 0.15);
}

.btn-dark {
  background-color: var(--text-main);
  color: var(--bg-primary);
  border: 1px solid var(--text-main);
}

.btn-dark:hover {
  background-color: var(--accent-brown);
  border-color: var(--accent-brown);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(138, 106, 71, 0.2);
}

.btn-gold {
  background-color: var(--accent-gold);
  color: var(--bg-white);
  border: 1px solid var(--accent-gold);
}

.btn-gold:hover {
  background-color: var(--accent-brown);
  border-color: var(--accent-brown);
  transform: translateY(-2px);
}

/* ==========================================================================
   HEADER (GLASSMORPHISM)
   ========================================================================== */

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 90px;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(184, 154, 98, 0.18);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: background-color 0.4s ease, border-color 0.4s ease;
}

.header.scrolled {
  background: rgba(248, 244, 238, 0.9);
  border-bottom: 1px solid rgba(138, 106, 71, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--padding-lateral);
}

.logo {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--text-main);
  text-transform: uppercase;
}

.logo span {
  display: block;
  font-family: var(--font-sans);
  font-size: 9px;
  letter-spacing: 0.35em;
  color: var(--accent-brown);
  margin-top: -4px;
}

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

.nav-link {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
  color: var(--text-main);
  position: relative;
  padding: 4px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--accent-gold);
  transition: width var(--transition-btn);
}

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

.header-action .btn {
  padding: 12px 28px;
  font-size: 12px;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 1001;
}

.menu-toggle span {
  width: 24px;
  height: 1.5px;
  background-color: var(--text-main);
  transition: all 0.3s ease;
}

@media (max-width: 992px) {
  .nav-menu {
    display: none;
    position: fixed;
    top: 90px;
    left: 0;
    width: 100%;
    background: var(--bg-primary);
    flex-direction: column;
    padding: 40px var(--padding-lateral);
    border-bottom: 1px solid rgba(138, 106, 71, 0.2);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  }
  .nav-menu.active {
    display: flex;
  }
  .menu-toggle {
    display: flex;
  }
  .header-action {
    display: none;
  }
}

/* ==========================================================================
   HERO SECTION (FULLSCREEN 100VH)
   ========================================================================== */

.hero {
  height: 100vh;
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: #1A1815;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  animation: subtleScale 20s infinite alternate linear;
}

@keyframes subtleScale {
  0% { transform: scale(1); }
  100% { transform: scale(1.06); }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.22);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 900px;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 40px;
}

.hero .eyebrow {
  color: #F1E7D8;
  opacity: 0.9;
  letter-spacing: 0.25em;
}

.scroll-indicator {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: #FFFFFF;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  opacity: 0.75;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.3);
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background: #FFFFFF;
  animation: scrollDown 2s infinite cubic-bezier(0.65, 0.05, 0.36, 1);
}

@keyframes scrollDown {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(200%); }
}

/* ==========================================================================
   PORTFÓLIO / PROJETOS (MÁRMORE)
   ========================================================================== */

.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  gap: 40px;
  align-items: center;
  margin-top: 60px;
  position: relative;
  z-index: 2;
}

@media (max-width: 992px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  background-color: var(--bg-beige);
  box-shadow: var(--shadow-soft);
  border-radius: var(--radius-sharp);
}

.portfolio-item.rounded {
  border-radius: var(--radius-smooth);
}

.portfolio-item-left {
  transform: translateY(-40px);
  aspect-ratio: 3 / 4;
}

.portfolio-item-main {
  aspect-ratio: 4 / 5;
  z-index: 2;
  box-shadow: 0 30px 80px rgba(0,0,0,0.14);
}

.portfolio-item-right {
  transform: translateY(50px);
  aspect-ratio: 3 / 4;
}

@media (max-width: 992px) {
  .portfolio-item-left, .portfolio-item-right {
    transform: none;
  }
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  transition: transform var(--transition-img);
}

.portfolio-item:hover img {
  transform: scale(1.03);
}

.portfolio-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 30px;
  background: linear-gradient(to top, rgba(49, 43, 37, 0.7) 0%, transparent 100%);
  color: #FFFFFF;
  opacity: 0;
  transition: opacity 0.4s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.portfolio-item:hover .portfolio-caption {
  opacity: 1;
}

.portfolio-caption h4 {
  color: #FFFFFF;
  font-size: 24px;
  margin-bottom: 4px;
}

.portfolio-caption span {
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--bg-beige);
}

.organic-bg-lines {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 130%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.55;
}

/* ==========================================================================
   SERVIÇOS (BRANCO PURO)
   ========================================================================== */

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 70px;
  margin-top: 70px;
  margin-bottom: 70px;
}

@media (max-width: 992px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
}

.service-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 20px 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

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

.service-icon {
  width: 48px;
  height: 48px;
  color: var(--accent-gold);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-icon svg {
  width: 100%;
  height: 100%;
  stroke-width: 1.2px;
  stroke: var(--accent-gold);
}

.service-card h3 {
  font-size: 28px;
  margin-bottom: 16px;
  color: var(--text-main);
  position: relative;
  padding-bottom: 12px;
}

.service-card h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 1px;
  background-color: var(--accent-brown);
}

.service-card p {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 0;
}

/* ==========================================================================
   SOBRE (45% IMAGEM / 55% TEXTO)
   ========================================================================== */

.about-grid {
  display: grid;
  grid-template-columns: 45% 1fr;
  gap: 90px;
  align-items: center;
}

@media (max-width: 992px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
}

.about-image {
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border-radius: var(--radius-smooth);
  aspect-ratio: 4 / 5;
}

.about-image img {
  width: 100%;
  height: 100%;
  transition: transform var(--transition-img);
}

.about-image:hover img {
  transform: scale(1.03);
}

.about-text {
  padding-right: 20px;
}

.about-text p {
  font-size: 18px;
  margin-bottom: 28px;
  line-height: 1.8;
}

.about-stats {
  display: flex;
  gap: 50px;
  margin-top: 40px;
  margin-bottom: 40px;
  border-top: 1px solid rgba(138, 106, 71, 0.2);
  padding-top: 30px;
}

.stat-item h5 {
  font-size: 42px;
  color: var(--accent-brown);
  font-family: var(--font-serif);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-item span {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-main);
  opacity: 0.8;
}

/* ==========================================================================
   CONTATO & AGENDAMENTO
   ========================================================================== */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: flex-start;
}

@media (max-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
}

.contact-visual {
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border-radius: var(--radius-sharp);
  aspect-ratio: 4 / 5;
}

.contact-visual img {
  width: 100%;
  height: 100%;
  transition: transform var(--transition-img);
}

.contact-visual:hover img {
  transform: scale(1.03);
}

.minimal-form {
  display: flex;
  flex-direction: column;
}

.form-group {
  margin-bottom: 36px;
  position: relative;
}

.form-control {
  width: 100%;
  padding: 18px 0;
  font-size: 17px;
  color: var(--text-main);
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(49, 43, 37, 0.25);
  transition: border-color 0.3s ease, padding-left 0.3s ease;
  font-weight: 300;
}

.form-control::placeholder {
  color: var(--text-main);
  opacity: 0.5;
  font-family: var(--font-sans);
}

.form-control:focus {
  border-bottom-color: var(--accent-brown);
  border-bottom-width: 2px;
  padding-left: 8px;
}

textarea.form-control {
  resize: none;
  height: 120px;
}

.form-submit {
  margin-top: 10px;
  align-self: flex-start;
}

/* ==========================================================================
   ELEMENTOS DECORATIVOS ULTRASSECRETO VOGUE / CELINE
   ========================================================================== */

.metallic-sphere {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #EADBBA 0%, #B89A62 45%, #8A6A47 80%, #5E462E 100%);
  box-shadow: 
    inset -12px -12px 25px rgba(0,0,0,0.35), 
    0 20px 50px rgba(138, 106, 71, 0.28);
  z-index: 1;
  pointer-events: none;
  opacity: 0.92;
}

.sphere-1 {
  width: 200px;
  height: 200px;
  top: -80px;
  right: -90px;
}

.sphere-2 {
  width: 260px;
  height: 260px;
  bottom: -130px;
  left: -120px;
}

.sphere-3 {
  width: 180px;
  height: 180px;
  top: 40%;
  right: -90px;
}

.leaf-shadow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.045;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 800 800' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M100,50 Q250,150 400,300 Q200,450 50,600 Q-50,350 100,50 Z' fill='%23000000' filter='blur(20px)'/%3E%3Cpath d='M600,100 Q750,250 850,500 Q650,600 450,450 Q500,250 600,100 Z' fill='%23000000' filter='blur(30px)'/%3E%3C/svg%3E");
  background-size: cover;
  background-position: center;
}

/* ==========================================================================
   FOOTER MINIMALISTA (BEGE)
   ========================================================================== */

.footer {
  background-color: var(--bg-beige);
  padding: 80px 0 60px;
  border-top: 1px solid rgba(184, 154, 98, 0.2);
  position: relative;
  z-index: 2;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 var(--padding-lateral);
}

@media (max-width: 768px) {
  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }
}

.footer-info p {
  margin-bottom: 6px;
  font-size: 14px;
  opacity: 0.75;
}

.footer-links {
  display: flex;
  gap: 30px;
}

.footer-links a {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-main);
  font-weight: 500;
  position: relative;
}

.footer-links a:hover {
  color: var(--accent-brown);
}

.copyright {
  text-align: center;
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px solid rgba(138, 106, 71, 0.12);
  font-size: 12px;
  color: var(--text-main);
  opacity: 0.6;
  max-width: var(--content-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--padding-lateral);
  padding-right: var(--padding-lateral);
}

/* ==========================================================================
   ANIMAÇÕES FADE UP COM INTERSECTION OBSERVER (0.6S DURAÇÃO)
   ========================================================================== */

.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s cubic-bezier(0.25, 1, 0.5, 1), transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: opacity, transform;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }
