/* ===== CSS VARIABLES & RESET ===== */
:root {
  --color-white: #ffffff;
  --color-light: #faf8f8;
  --color-rose-light: #fdf5f6;
  --color-rose: #f9e2e6;
  --color-rose-dark: #d89ba5;
  --color-text-dark: #1a1a1a;
  --color-text-muted: #666666;
  
  --font-heading: 'Cormorant Garamond', serif;
  --font-body: 'Inter', sans-serif;
  
  --transition-fast: 0.2s ease;
  --transition-normal: 0.4s ease;
  --transition-slow: 0.6s ease-out;
  
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 8px 24px rgba(216, 155, 165, 0.15);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.08);
}

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

html {
  scroll-behavior: smooth;
}

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

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

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

button {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.1;
}

h1 em, h2 em, h3 em {
  font-style: italic;
  font-weight: 300;
}

p {
  font-size: 1rem;
  color: var(--color-text-muted);
}

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

/* ===== LAYOUT & UTILS ===== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-narrow {
  max-width: 800px;
}

.section {
  padding: 5rem 0;
}

.section-light { background-color: var(--color-light); }
.section-white { background-color: var(--color-white); }
.section-rose { background-color: var(--color-rose-light); }

.section-eyebrow {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-rose-dark);
  margin-bottom: 1rem;
  font-weight: 500;
}

.eyebrow-dark { color: var(--color-text-dark); }

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.section-text {
  font-size: 1.125rem;
  margin-bottom: 2rem;
}

.section-header {
  margin-bottom: 3rem;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--color-text-muted);
  margin-top: -1rem;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 500;
  transition: all var(--transition-fast);
  border-radius: 4px;
}

.btn-primary {
  background-color: var(--color-text-dark);
  color: var(--color-white);
  padding: 1rem 2rem;
  font-size: 1rem;
}

.btn-primary:hover {
  background-color: #333;
  transform: scale(1.02);
  box-shadow: var(--shadow-md);
}

.btn-small {
  padding: 0.6rem 1.25rem;
  font-size: 0.875rem;
}

.btn-large {
  padding: 1.25rem 2.5rem;
  font-size: 1.125rem;
}

.btn-outline {
  border: 1px solid var(--color-text-dark);
  color: var(--color-text-dark);
  padding: 1rem 2rem;
}

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

.btn-cta-final {
  background-color: var(--color-rose-dark);
  color: var(--color-white);
  padding: 1.25rem 2.5rem;
  border-radius: 50px;
  font-size: 1.125rem;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(216, 155, 165, 0.4);
}

.btn-cta-final:hover {
  background-color: #c48792;
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(216, 155, 165, 0.6);
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 100;
  transition: all var(--transition-normal);
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--color-rose);
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.nav-logo-img {
  height: 40px;
  width: auto;
  border-radius: 4px;
}

.nav-brand-name {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--color-text-dark);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 6rem 1.5rem 3rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120%;
  z-index: -1;
  background-color: var(--color-rose-light);
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.7) 50%, rgba(255,255,255,0.2) 100%);
}

.hero-content {
  max-width: 600px;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
  color: var(--color-text-muted);
}

.hero-title {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  color: var(--color-text-dark);
}

.hero-sub {
  font-size: 1.125rem;
  margin-bottom: 2.5rem;
  max-width: 80%;
  color: var(--color-text-dark);
}

.hero-urgency {
  margin-top: 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-rose-dark);
}

/* ===== SOBRE ===== */
.sobre-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.sobre-img-wrap {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.sobre-img-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(216, 155, 165, 0.1);
  mix-blend-mode: overlay;
}

/* ===== SERVIÇOS ===== */
.servicos-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.servico-card {
  background-color: var(--color-white);
  padding: 2rem;
  border-radius: 8px;
  border: 1px solid var(--color-rose);
  transition: all var(--transition-normal);
  position: relative;
}

.servico-destaque {
  border-color: var(--color-rose-dark);
  background-color: var(--color-rose-light);
  box-shadow: var(--shadow-sm);
}

.servico-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background-color: var(--color-rose-dark);
  color: var(--color-white);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.6rem;
  border-radius: 20px;
}

.servico-card:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-md);
  border-color: var(--color-rose-dark);
}

.servico-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--color-rose-dark);
  margin-bottom: 0.5rem;
  line-height: 1;
}

.servico-title {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.servico-desc {
  font-size: 0.9rem;
}

.servicos-microcopy {
  margin-top: 2.5rem;
  font-style: italic;
  color: var(--color-rose-dark);
}

/* ===== GALERIA ===== */
.galeria-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.galeria-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 1;
}

.galeria-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.galeria-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(249, 226, 230, 0.85); /* rose with transparency */
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.galeria-overlay span {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--color-text-dark);
  transform: translateY(20px);
  transition: transform var(--transition-normal);
}

.galeria-item:hover img {
  transform: scale(1.05);
}

.galeria-item:hover .galeria-overlay {
  opacity: 1;
}

.galeria-item:hover .galeria-overlay span {
  transform: translateY(0);
}

/* ===== DIFERENCIAIS ===== */
.diferenciais-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  text-align: center;
  margin-bottom: 3rem;
}

.diferencial-title {
  font-size: 1.25rem;
  font-family: var(--font-heading);
  font-weight: 500;
  color: var(--color-rose-dark);
  margin-bottom: 0.5rem;
  font-size: 1.75rem;
}

.diferencial-desc {
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

.diferenciais-impacto {
  font-size: 1.5rem;
  font-family: var(--font-heading);
  font-style: italic;
  color: var(--color-text-dark);
}

/* ===== DEPOIMENTOS (INFINITE MARQUEE) ===== */
.depoimentos-container {
  overflow: hidden;
  position: relative;
  width: 100%;
  padding: 2rem 0;
}

.depoimentos-container::before,
.depoimentos-container::after {
  content: "";
  position: absolute;
  top: 0;
  width: 10%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.depoimentos-container::before {
  left: 0;
  background: linear-gradient(to right, var(--color-white) 0%, transparent 100%);
}

.depoimentos-container::after {
  right: 0;
  background: linear-gradient(to left, var(--color-white) 0%, transparent 100%);
}

.depoimentos-marquee {
  display: flex;
  width: max-content;
  animation: scrollLeft 40s linear infinite;
}

.depoimentos-marquee:hover {
  animation-play-state: paused;
}

.depoimento-card {
  width: 300px;
  padding: 2rem;
  background: var(--color-light);
  border-radius: 8px;
  border: 1px solid var(--color-rose);
  margin: 0 1rem;
  flex-shrink: 0;
}

.depoimento-text {
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 1.5rem;
  color: var(--color-text-dark);
}

.depoimento-author {
  display: flex;
  align-items: center;
}

.depoimento-name {
  font-weight: 600;
  color: var(--color-text-dark);
}

@keyframes scrollLeft {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); } 
  /* -50% because we duplicate the content in JS, meaning half the width is the original content */
}

/* ===== CTA FINAL ===== */
.section-cta {
  background-color: var(--color-rose-light);
  padding: 6rem 0;
}

.cta-title {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.cta-sub {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  color: var(--color-text-dark);
}

.cta-reforco {
  margin-top: 1.5rem;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

/* ===== FOOTER ===== */
.footer {
  background-color: var(--color-white);
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--color-rose);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo {
  height: 50px;
  width: auto;
  margin-bottom: 0.5rem;
}

.footer-tagline {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.125rem;
}

.footer-heading {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-link {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1rem;
  color: var(--color-text-muted);
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--color-rose-dark);
}

.footer-text {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-text-muted);
}

.footer-icon {
  flex-shrink: 0;
  color: var(--color-rose-dark);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-rose);
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.footer-credit {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--color-text-muted);
  transition: color var(--transition-fast);
}

.footer-credit:hover {
  color: var(--color-rose-dark);
}

.credit-logo {
  height: 24px;
  width: auto;
  border-radius: 4px;
}

/* ===== FLOATING WHATSAPP ===== */
.wa-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25D366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  transition: all 0.3s ease;
  overflow: hidden;
}

.wa-float svg {
  width: 32px;
  height: 32px;
  transition: transform 0.3s ease;
}

.wa-float-label {
  display: none;
  font-weight: 600;
  margin-left: 8px;
  white-space: nowrap;
}

.wa-float:hover {
  width: 140px;
  background-color: #128C7E;
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.5);
}

.wa-float:hover svg {
  transform: scale(0.9);
}

.wa-float:hover .wa-float-label {
  display: inline-block;
  animation: fadeIn 0.3s forwards;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ===== ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.fade-in {
  animation: simpleFadeIn 1s ease-out forwards;
}

.slide-in-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: all 0.8s ease-out;
}

.slide-in-right {
  opacity: 0;
  transform: translateX(40px);
  transition: all 0.8s ease-out;
}

.slide-in-left.active, .slide-in-right.active {
  opacity: 1;
  transform: translateX(0);
}

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

/* ===== MEDIA QUERIES (TABLET & DESKTOP) ===== */
@media (min-width: 768px) {
  .section { padding: 7rem 0; }
  
  .section-title { font-size: 3rem; }
  .hero-title { font-size: 4.5rem; }
  .hero-sub { font-size: 1.25rem; max-width: 90%; }
  
  .hero-overlay {
    background: linear-gradient(to right, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.7) 40%, rgba(255,255,255,0) 100%);
  }

  .sobre-grid {
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
  }
  
  .servicos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .galeria-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 250px);
  }
  
  .galeria-item { aspect-ratio: auto; }
  .galeria-tall { grid-row: span 2; }
  .galeria-wide { grid-column: span 2; }
  
  .diferenciais-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 4rem;
  }

  .depoimento-card {
    width: 350px;
  }
  
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }

  .footer-bottom {
    flex-direction: row;
  }
  
  .wa-float {
    bottom: 30px;
    right: 30px;
  }
}

@media (min-width: 1024px) {
  .section-title { font-size: 3.5rem; }
  .hero-title { font-size: 5rem; }
  
  .diferenciais-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
