/* ================================================
   NÓS LIMPAMOS — Redesign 2026
   Aesthetic: Clean Premium · Editorial Warmth
   ================================================ */

/* --- Reset --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

/* --- Custom Properties --- */
:root {
  --navy: #0B1D3A;
  --navy-light: #132D54;
  --blue: #2B6CB0;
  --blue-light: #4A9AE8;
  --cream: #FAF8F5;
  --cream-dark: #F0EDE8;
  --warm-white: #FEFDFB;
  --text: #1A1A1A;
  --text-muted: #5A5A5A;
  --text-light: #8A8A8A;
  --accent: #D4A853;
  --green-wa: #25D366;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 8px rgba(11,29,58,0.06);
  --shadow-md: 0 8px 30px rgba(11,29,58,0.08);
  --shadow-lg: 0 20px 60px rgba(11,29,58,0.12);
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
  --max-w: 1140px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }

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

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* ================================================
   NAVBAR
   ================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(11,29,58,0.06);
  transition: background var(--transition), box-shadow var(--transition);
}

.site-header.scrolled {
  background: rgba(255,255,255,0.97);
  box-shadow: var(--shadow-sm);
}

.navbar {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 2rem;
}

.nav-logo img {
  height: 36px;
  width: auto;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--blue);
  transition: width var(--transition);
}

.nav-links a:hover { color: var(--navy); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  background: var(--navy) !important;
  color: #fff !important;
  padding: 0.55rem 1.25rem;
  border-radius: 8px;
  font-weight: 600 !important;
  transition: background var(--transition), transform var(--transition) !important;
}

.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--navy-light) !important; transform: translateY(-1px); }

/* Hamburger */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.menu-toggle span {
  width: 24px; height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ================================================
   HERO
   ================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--navy);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  0% { transform: scale(1.05); }
  100% { transform: scale(1.12); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(11,29,58,0.78) 0%,
    rgba(11,29,58,0.55) 50%,
    rgba(11,29,58,0.40) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: 2rem;
  text-align: center;
  color: #fff;
}

.hero-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

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

.hero-content p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  max-width: 540px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--green-wa);
  color: #fff;
  border-color: var(--green-wa);
}

.btn-primary:hover {
  background: #20bd5a;
  border-color: #20bd5a;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37,211,102,0.35);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.4);
}

.btn-outline:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.1);
  transform: translateY(-2px);
}

/* ================================================
   TRUST BAR
   ================================================ */
.trust-bar {
  background: var(--navy);
  padding: 0;
}

.trust-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.trust-item {
  padding: 1.75rem 1.5rem;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.08);
}

.trust-item:last-child { border-right: none; }

.trust-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--accent);
  margin-bottom: 0.25rem;
}

.trust-item span {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.5px;
}

/* ================================================
   SECTIONS — Common
   ================================================ */
.section {
  padding: 6rem 2rem;
}

.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.section-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--blue);
  margin-bottom: 1rem;
}

.section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--navy);
  margin-bottom: 1.5rem;
}

.section-text {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 640px;
  line-height: 1.8;
  margin-bottom: 3rem;
}

/* ================================================
   SOBRE — Features
   ================================================ */
.section-sobre {
  background: var(--cream);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 1rem;
}

.feature {
  background: var(--warm-white);
  padding: 2.25rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(11,29,58,0.05);
  transition: all var(--transition);
}

.feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(43,108,176,0.15);
}

.feature-icon {
  width: 56px; height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(43,108,176,0.08), rgba(43,108,176,0.04));
  border-radius: 14px;
  margin-bottom: 1.25rem;
  color: var(--blue);
}

.feature h3 {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.65rem;
}

.feature p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ================================================
   SERVIÇOS
   ================================================ */
.section-servicos {
  background: var(--warm-white);
}

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

.service-card {
  background: var(--cream);
  padding: 2.25rem;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
  border: 1px solid transparent;
}

.service-card:hover {
  border-color: rgba(43,108,176,0.12);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.service-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: rgba(11,29,58,0.04);
  position: absolute;
  top: 12px;
  right: 20px;
  line-height: 1;
}

.service-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.65rem;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ================================================
   GALERIA — Antes e Depois
   ================================================ */
.section-galeria {
  background: var(--cream);
}

.gallery-comparison {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-top: 2.5rem;
}

.gallery-card {
  position: relative;
  flex: 0 1 380px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.gallery-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-card:hover img {
  transform: scale(1.04);
}

.gallery-tag {
  position: absolute;
  top: 16px; left: 16px;
  background: rgba(11,29,58,0.85);
  color: #fff;
  padding: 0.4rem 1rem;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.gallery-tag--after {
  background: rgba(37,211,102,0.85);
}

.gallery-arrow {
  color: var(--blue);
  flex-shrink: 0;
}

.gallery-note {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.92rem;
  color: var(--text-light);
}

/* ================================================
   FAQ
   ================================================ */
.section-faq {
  background: var(--warm-white);
}

.faq-list {
  max-width: 720px;
  margin-top: 1rem;
}

.faq-item {
  border-bottom: 1px solid rgba(11,29,58,0.08);
}

.faq-item summary {
  padding: 1.35rem 0;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color var(--transition);
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--blue);
  transition: transform var(--transition);
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item[open] summary { color: var(--blue); }

.faq-item p {
  padding: 0 0 1.35rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* ================================================
   CTA Section
   ================================================ */
.section-cta {
  background: var(--navy);
  text-align: center;
  padding: 5rem 2rem;
}

.section-cta h2 {
  color: #fff;
  margin-bottom: 1rem;
}

.section-cta p {
  color: rgba(255,255,255,0.7);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.section-cta .btn-outline {
  border-color: rgba(255,255,255,0.3);
}

/* ================================================
   CONTACTO
   ================================================ */
.section-contacto {
  background: var(--cream);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.contact-card {
  background: var(--warm-white);
  padding: 2.25rem;
  border-radius: var(--radius-lg);
  text-align: center;
  border: 1px solid rgba(11,29,58,0.05);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(43,108,176,0.15);
}

.contact-card svg { color: var(--blue); }

.contact-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
}

.contact-card span {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ================================================
   FOOTER
   ================================================ */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.6);
  padding: 4rem 2rem 0;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand img {
  height: 32px;
  width: auto;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.7;
  max-width: 300px;
}

.footer-links h4,
.footer-contact h4 {
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 1.25rem;
}

.footer-links a,
.footer-contact a {
  display: block;
  font-size: 0.88rem;
  padding: 0.3rem 0;
  transition: color var(--transition);
}

.footer-links a:hover,
.footer-contact a:hover {
  color: #fff;
}

.footer-bottom {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.8rem;
}

/* ================================================
   WHATSAPP FLOAT
   ================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 58px; height: 58px;
  background: var(--green-wa);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 6px 20px rgba(37,211,102,0.4);
  transition: all var(--transition);
  animation: floatPulse 3s ease-in-out infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(37,211,102,0.5);
}

@keyframes floatPulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* ================================================
   ANIMATIONS
   ================================================ */
.anim-fade {
  opacity: 1;
  transform: translateY(0);
}

.js-loaded .anim-fade {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.js-loaded .anim-fade.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 900px) {
  .features-grid,
  .services-grid,
  .contact-grid { grid-template-columns: repeat(2, 1fr); }

  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .menu-toggle { display: flex; }

  .nav-links {
    position: fixed;
    top: 0; right: 0;
    width: 280px; height: 100vh;
    height: 100dvh;
    background: var(--warm-white);
    flex-direction: column;
    align-items: flex-start;
    padding: 5rem 2rem 2rem;
    gap: 0.5rem;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -10px 0 40px rgba(0,0,0,0.1);
  }

  .nav-links.open { transform: translateX(0); }

  .nav-links a {
    font-size: 1.05rem;
    padding: 0.75rem 0;
    color: var(--navy);
  }

  .nav-links a::after { display: none; }

  .nav-cta {
    margin-top: 1rem;
    text-align: center;
    width: 100%;
    display: block;
  }

  .trust-inner { grid-template-columns: repeat(2, 1fr); }
  .trust-item { padding: 1.25rem 1rem; }

  .gallery-comparison { flex-direction: column; gap: 1rem; }
  .gallery-card { flex: 0 1 auto; max-width: 400px; }
  .gallery-arrow { transform: rotate(90deg); }

  .features-grid,
  .services-grid,
  .contact-grid { grid-template-columns: 1fr; }

  .footer-inner { grid-template-columns: 1fr; }

  .section { padding: 4rem 1.25rem; }
}

@media (max-width: 480px) {
  .hero-content h1 { font-size: 1.9rem; }
  .hero-actions { flex-direction: column; align-items: center; }
  .btn { width: 100%; justify-content: center; }
  .trust-inner { grid-template-columns: 1fr 1fr; }
}
