/* ==========================================================================
   DESIGN SYSTEM & VARIÁVEIS
   ========================================================================== */
:root {
  --bg-cream: #F9F8F3;
  --bg-white: #FFFFFF;
  --bg-charcoal: #0E1520;
  --bg-card-dark: #16202E;

  /* Azul elétrico vibrante para destaques gerais */
  --blue-brand: #2563EB;
  --blue-brand-hover: #1D4ED8;

  --text-charcoal: #111827;
  --text-muted: #6B7280;
  --text-light: #9CA3AF;
  --border-color: #E5E7EB;
  --border-dark: #2A3649;

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'DM Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   RESET BASE0
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  background-color: var(--bg-cream);
  color: var(--text-charcoal);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
  width: 100%;
}

img, video, svg {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

:focus-visible {
  outline: 2px solid var(--blue-brand);
  outline-offset: 3px;
}

/* ==========================================================================
   CONTAINER & LAYOUT
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 6rem 0;
}

@media (min-width: 768px) {
  .section {
    padding: 8rem 0;
  }
}

.bg-cream { background-color: var(--bg-cream); }
.bg-charcoal { background-color: var(--bg-charcoal); }
.text-white { color: #FFFFFF; }
.text-dark { color: var(--text-charcoal); }
.text-accent { color: var(--blue-brand); }
.border-top { border-top: 1px solid var(--border-color); }

/* ==========================================================================
   HEADER / NAVEGAÇÃO
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background-color: rgba(249, 248, 243, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  padding: 1.25rem 0;
  transition: var(--transition-fast);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  margin-right: 40px;
}

.logo-img {
  max-width: 120px;
  height: auto;     
  display: block;
}

.accent-dot {
  color: var(--blue-brand);
}

.logo-subtitle {
  font-size: 0.625rem;
  letter-spacing: 0.25em;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 2px;
  text-transform: uppercase;
}

.nav-links {
  display: none;
  gap: 1.75rem;
  list-style: none;
}

@media (min-width: 992px) {
  .nav-links {
    display: flex;
    align-items: center;
  }
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-charcoal);
  transition: color var(--transition-fast);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--blue-brand);
  transition: width var(--transition-fast);
}

.nav-links a:hover {
  color: var(--blue-brand);
}

.nav-links a:hover::after {
  width: 100%;
}

/* ==========================================================================
   BOTÕES (CTAs)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: center;
  line-height: 1;
}

.btn-primary {
  background-color: var(--blue-brand);
  color: #FFFFFF;
}

.btn-primary:hover {
  background-color: var(--blue-brand-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -5px rgba(37, 99, 235, 0.4);
}

.btn-outline {
  background-color: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #FFFFFF;
}

.btn-outline:hover {
  background-color: #FFFFFF;
  color: var(--text-charcoal);
  border-color: #FFFFFF;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 0.875rem;
}

.btn-full {
  width: 100%;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding-bottom: 6rem;
  padding-top: 10rem;
  background-color: var(--bg-charcoal);
  color: #FFFFFF;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 21, 32, 0.3) 0%, rgba(14, 21, 32, 0.95) 100%);
}

.hero-content {
  position: relative;
  z-index: 10;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.tag-line {
  display: inline-block;
  width: 2.5rem;
  height: 1px;
  background-color: var(--blue-brand);
}

.tag-text {
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
  text-transform: uppercase;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.75rem, 6vw, 5.25rem);
  line-height: 1.05;
  font-weight: 400;
  margin-bottom: 1.5rem;
}

.hero-title-italic {
  font-style: italic;
  font-weight: 300;
}

.hero-description {
  max-width: 580px;
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2.5rem;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3.5rem;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.75);
}

.stars-rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.stars {
  color: var(--blue-brand);
  letter-spacing: 2px;
}

.proof-divider {
  width: 1px;
  height: 1rem;
  background-color: rgba(255, 255, 255, 0.2);
}

/* ==========================================================================
   SECÇÕES GERAIS E CORREÇÃO DE TÍTULOS
   ========================================================================== */
.section-header {
  max-width: 720px;
  margin-bottom: 3rem;
}

.section-tag {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  font-weight: 600;
  color: var(--blue-brand);
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  line-height: 1.15;
  color: var(--text-charcoal);
  font-weight: 400;
}

.section-title em {
  font-style: italic;
}

.bg-charcoal .section-title,
.bg-charcoal .section-title em {
  color: #FFFFFF !important;
}

/* ==========================================================================
   SERVIÇOS GRID
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  background-color: var(--bg-white);
  padding: 2.5rem;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 280px;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--blue-brand);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 30px -10px rgba(0, 0, 0, 0.08);
  border-color: transparent;
}

.service-card:hover::before {
  opacity: 1;
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.card-number {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  color: var(--blue-brand);
  font-weight: 600;
}

.card-arrow {
  font-size: 1.25rem;
  color: var(--blue-brand);
  transform: translateX(-5px);
  opacity: 0;
  transition: all var(--transition-fast);
}

.service-card:hover .card-arrow {
  transform: translateX(0);
  opacity: 1;
}

.card-body h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.card-body p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   PORQUÊ NÓS
   ========================================================================== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

.why-item {
  display: flex;
  gap: 1.5rem;
  background-color: var(--bg-card-dark);
  padding: 2.5rem;
  border-radius: 8px;
  border: 1px solid var(--border-dark);
  transition: transform var(--transition-fast);
}

.why-item:hover {
  transform: translateY(-4px);
}

.why-number {
  font-family: var(--font-serif);
  font-size: 3rem;
  line-height: 1;
  color: var(--blue-brand);
  font-weight: 700;
  min-width: 90px;
}

.why-content h3 {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #FFFFFF;
}

.why-content p {
  font-size: 0.9375rem;
  color: var(--text-light);
}

/* ==========================================================================
   O PROCESSO
   ========================================================================== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 2rem;
}

@media (min-width: 768px) {
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .process-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.process-step {
  background-color: var(--bg-white);
  padding: 2.25rem 2rem;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  transition: transform var(--transition-fast);
}

.process-step:hover {
  transform: translateY(-4px);
}

.step-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.step-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--blue-brand);
}

.step-num {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--text-muted);
  font-weight: 500;
}

.process-step h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.process-step p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ==========================================================================
   GALERIA E FILTROS
   ========================================================================== */
.gallery-header-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .gallery-header-wrapper {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.filter-btn {
  background: transparent;
  border: 1px solid var(--border-color);
  padding: 0.6rem 1.25rem;
  border-radius: 20px;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: var(--text-charcoal);
  transition: all var(--transition-fast);
}

.filter-btn.active,
.filter-btn:hover {
  background-color: var(--blue-brand);
  color: #FFFFFF;
  border-color: var(--blue-brand);
}

.gallery-mosaic {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .gallery-mosaic {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .gallery-mosaic {
    grid-template-columns: repeat(3, 1fr);
  }
}

.gallery-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  height: 340px;
  background-color: var(--bg-card-dark);
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.gallery-card:hover img {
  transform: scale(1.05);
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem 1.5rem 1.5rem;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(14, 21, 32, 0.9) 100%);
  color: #FFFFFF;
}

.caption-tag {
  font-size: 0.6875rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #FFFFFF;
  font-weight: 700;
  display: block;
  margin-bottom: 0.25rem;
  opacity: 0.9;
}

.gallery-caption h4 {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 400;
}

/* ==========================================================================
   AVALIAÇÕES
   ========================================================================== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .reviews-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.review-card {
  background-color: var(--bg-white);
  padding: 2rem;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.review-stars {
  color: var(--blue-brand);
}

.review-source {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.review-text {
  font-size: 0.9375rem;
  color: var(--text-charcoal);
  margin-bottom: 1.5rem;
  font-style: italic;
}

.reviewer-info {
  display: flex;
  flex-direction: column;
}

.reviewer-info strong {
  font-size: 0.875rem;
}

.reviewer-info span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ==========================================================================
   SOBRE NÓS
   ========================================================================== */
.about-wrapper {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 3rem;
  align-items: center;
}

@media (min-width: 992px) {
  .about-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }
}

.about-paragraph {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.5rem;
}

.about-stats {
  display: flex;
  gap: 2rem;
  margin-top: 2.5rem;
}

.stat-number {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--blue-brand);
  font-weight: 700;
  display: block;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-light);
}

.about-image-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
}

.about-image-card img {
  width: 100%;
  height: 450px;
  object-fit: cover;
}

.about-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  background: rgba(22, 32, 46, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 1.25rem;
  border-radius: 6px;
  border: 1px solid var(--border-dark);
  display: flex;
  flex-direction: column;
}

.about-badge strong {
  font-size: 1rem;
  color: #FFFFFF;
}

.about-badge span {
  font-size: 0.8125rem;
  color: var(--blue-brand);
}

/* ==========================================================================
   CONTACTO
   ========================================================================== */
.contact-wrapper {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 3rem;
}

@media (min-width: 992px) {
  .contact-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }
}

.contact-desc {
  font-size: 1.0625rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.detail-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.detail-value {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--text-charcoal);
  font-weight: 500;
}

.bg-charcoal .detail-value,
.text-white .detail-value,
.bg-card-dark .detail-value {
  color: #FFFFFF !important;
}

.bg-charcoal .detail-label,
.text-white .detail-label,
.bg-card-dark .detail-label {
  color: var(--text-light);
}

.contact-form {
  background-color: var(--bg-white);
  padding: 2.5rem;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-charcoal);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  background-color: var(--bg-cream);
  color: var(--text-charcoal);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue-brand);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background-color: var(--bg-charcoal);
  color: #FFFFFF;
  padding: 4rem 0;
  border-top: 1px solid var(--border-dark);
}

.footer-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
  justify-content: space-between;
}

@media (min-width: 768px) {
  .footer-container {
    flex-direction: row;
  }
}

.footer-brand p {
  font-size: 0.8125rem;
  color: var(--text-light);
  margin-top: 0.5rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--text-light);
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--blue-brand);
}

/* ==========================================================================
   SECÇÃO DE TRANSFORMAÇÃO (ANTES E DEPOIS)
   ========================================================================== */
.comparison-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 2.5rem;
  margin-top: 3rem;
}

@media (min-width: 992px) {
  .comparison-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.comparison-card h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
  color: var(--text-charcoal);
}

.img-comparision-container {
  position: relative;
  width: 100%;
  height: 300px;
  overflow: hidden;
  border-radius: 8px;
  border: 4px solid var(--bg-white);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.img-comparision-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.img-comp-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  overflow: hidden;
  z-index: 2;
}

.img-comp-overlay img {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  object-fit: cover;
}

.slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  appearance: none;
  background: transparent;
  z-index: 3;
  cursor: ew-resize;
  margin: 0;
}

.slider::-webkit-slider-thumb {
  appearance: none;
  width: 0;
}

.slider-line {
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  background: white;
  z-index: 2;
  pointer-events: none;
}

.slider-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  background: var(--blue-brand);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  z-index: 4;
  pointer-events: none;
  font-size: 1.2rem;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
}