/* ============================================
   CRISTALIZE - Limpeza profissional de vidros
   Stylesheet limpo, cristalino, mobile-first
   ============================================ */

:root {
  --c-bg: #f7fbfd;
  --c-white: #ffffff;
  --c-ink: #0f2740;
  --c-ink-soft: #3b5670;
  --c-muted: #6c8299;
  --c-line: #e3edf3;
  --c-accent: #0ea5e9;          /* azul cristal */
  --c-accent-deep: #0284c7;
  --c-accent-soft: #e0f2fe;
  --c-mint: #67e8f9;
  --shadow-sm: 0 4px 14px rgba(14, 116, 165, 0.06);
  --shadow-md: 0 12px 36px rgba(14, 116, 165, 0.10);
  --shadow-lg: 0 24px 60px rgba(14, 116, 165, 0.14);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --max-w: 1180px;
  --font-sans: 'Inter', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--c-ink);
  background: var(--c-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--c-accent-deep);
  margin-bottom: 14px;
}
.eyebrow.light { color: var(--c-mint); }

h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.15;
  margin: 0 0 16px;
  color: var(--c-ink);
}
h2 em {
  font-style: italic;
  color: var(--c-accent);
}
h3 {
  font-size: 1.15rem;
  margin: 0 0 8px;
  font-weight: 600;
}

p { color: var(--c-ink-soft); margin: 0 0 12px; }

.section {
  padding: 96px 0;
}

.section-head {
  max-width: 640px;
  margin-bottom: 56px;
}
.section-head.center {
  margin: 0 auto 56px;
  text-align: center;
}
.section-head p {
  font-size: 1.05rem;
  color: var(--c-muted);
}

/* =====================
   HEADER / NAV
   ===================== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(227, 237, 243, 0.6);
  z-index: 100;
  transition: padding .25s, box-shadow .25s;
}
.header.scrolled {
  box-shadow: var(--shadow-sm);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--c-accent-deep);
  font-weight: 700;
}
.logo-icon {
  display: inline-flex;
  width: 36px; height: 36px;
  color: var(--c-accent);
}
.logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.footer-logo {
  width: 180px;
  height: auto;
  display: block;
}
.logo-text {
  font-family: var(--font-display);
  font-size: 1.45rem;
  letter-spacing: 0.5px;
  color: var(--c-ink);
}

.nav-list {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}
.nav-list a {
  font-size: 0.94rem;
  color: var(--c-ink-soft);
  font-weight: 500;
  position: relative;
  transition: color .2s;
}
.nav-list a:hover { color: var(--c-accent); }
.nav-cta {
  background: var(--c-ink);
  color: var(--c-white) !important;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 600 !important;
  transition: transform .2s, background .2s;
}
.nav-cta:hover {
  background: var(--c-accent);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  justify-content: space-between;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--c-ink);
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(10px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }

/* =====================
   BUTTONS
   ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 0.98rem;
  font-weight: 600;
  cursor: pointer;
  border: 0;
  transition: transform .2s, box-shadow .2s, background .2s, color .2s;
  font-family: inherit;
}
.btn-primary {
  background: var(--c-ink);
  color: var(--c-white);
  box-shadow: var(--shadow-md);
}
.btn-primary:hover {
  background: var(--c-accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.6);
  color: var(--c-ink);
  border: 1px solid var(--c-line);
}
.btn-ghost:hover {
  background: var(--c-white);
  border-color: var(--c-accent);
  color: var(--c-accent-deep);
}
.btn-full { width: 100%; }

/* =====================
   HERO
   ===================== */
.hero {
  position: relative;
  padding: 160px 0 120px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 80% -10%, var(--c-accent-soft) 0%, transparent 60%),
    radial-gradient(ellipse at -10% 80%, #ecfeff 0%, transparent 50%),
    linear-gradient(180deg, #ffffff 0%, var(--c-bg) 100%);
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.water-drop {
  position: absolute;
  display: block;
  border-radius: 50% 50% 50% 0;
  background: linear-gradient(135deg,
    rgba(255, 255, 255, 0.92) 0%,
    rgba(186, 230, 253, 0.75) 45%,
    rgba(56, 189, 248, 0.55) 100%);
  rotate: -45deg;
  box-shadow:
    inset 4px -4px 10px rgba(255, 255, 255, 0.75),
    inset -2px 2px 8px rgba(14, 165, 233, 0.18),
    0 8px 22px rgba(14, 165, 233, 0.18);
  animation: floatDrop 10s ease-in-out infinite;
}
.water-drop::after {
  content: '';
  position: absolute;
  top: 18%; left: 22%;
  width: 24%; height: 24%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  filter: blur(1px);
}

.d1  { width: 84px; height: 84px; top: 12%;  right: 8%;  }
.d2  { width: 52px; height: 52px; top: 22%;  left: 10%;  animation-delay: -2s; }
.d3  { width: 38px; height: 38px; top: 45%;  right: 16%; animation-delay: -4s; }
.d4  { width: 68px; height: 68px; bottom: 16%; left: 12%; animation-delay: -1s; }
.d5  { width: 28px; height: 28px; top: 30%;  left: 32%;  animation-delay: -6s; }
.d6  { width: 44px; height: 44px; bottom: 26%; right: 10%; animation-delay: -3s; }
.d7  { width: 22px; height: 22px; top: 55%;  left: 24%;  animation-delay: -5s; }
.d8  { width: 56px; height: 56px; top: 6%;   left: 30%;  animation-delay: -7s; }
.d9  { width: 30px; height: 30px; bottom: 10%; right: 32%; animation-delay: -8s; }
.d10 { width: 20px; height: 20px; top: 38%;  right: 36%; animation-delay: -9s; }

@keyframes floatDrop {
  0%, 100% { translate: 0 0; }
  50%      { translate: 0 -18px; }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 820px;
}
.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(8px);
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--c-accent-deep);
  border: 1px solid rgba(14, 165, 233, 0.18);
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 600;
  line-height: 1.1;
  margin: 0 0 24px;
  color: var(--c-ink);
  letter-spacing: -0.5px;
}
.hero-title .accent {
  font-style: italic;
  background: linear-gradient(135deg, var(--c-accent) 0%, var(--c-mint) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-subtitle {
  font-size: 1.12rem;
  color: var(--c-ink-soft);
  max-width: 580px;
  margin: 0 auto 36px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 64px;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  max-width: 600px;
  margin: 0 auto;
}
.stat {
  text-align: center;
  padding: 16px 8px;
  background: rgba(255,255,255,0.5);
  border-radius: var(--radius-md);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.7);
}
.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--c-accent-deep);
  margin-bottom: 4px;
}
.stat span {
  font-size: 0.82rem;
  color: var(--c-muted);
  line-height: 1.4;
}

/* =====================
   SERVICES
   ===================== */
.services {
  background: var(--c-white);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 980px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .services-grid { grid-template-columns: 1fr; }
}
.service-card {
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: transform .3s, box-shadow .3s, border-color .3s;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 60%; height: 60%;
  background: radial-gradient(circle, rgba(14,165,233,0.08) 0%, transparent 70%);
  opacity: 0;
  transition: opacity .4s;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--c-accent-soft);
}
.service-card:hover::before { opacity: 1; }

.service-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--c-accent-soft) 0%, #ecfeff 100%);
  color: var(--c-accent-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  margin-bottom: 20px;
}
.service-card p {
  font-size: 0.96rem;
  margin: 0;
}
.service-card.highlight {
  background: linear-gradient(160deg, var(--c-ink) 0%, #1a3a5c 100%);
  color: var(--c-white);
  border-color: transparent;
}
.service-card.highlight h3,
.service-card.highlight p { color: var(--c-white); }
.service-card.highlight p { opacity: 0.85; }
.service-card.highlight .service-icon {
  background: rgba(255,255,255,0.1);
  color: var(--c-mint);
}
.card-link {
  display: inline-block;
  margin-top: 18px;
  font-weight: 600;
  color: var(--c-mint);
  font-size: 0.94rem;
  transition: gap .2s;
}
.card-link:hover { color: var(--c-white); }

/* =====================
   ABOUT
   ===================== */
.about {
  background: var(--c-bg);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-visual {
  position: relative;
  aspect-ratio: 1/1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--c-accent-soft);
}
.about-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s ease;
}
.about-visual:hover img {
  transform: scale(1.02);
}
.glass-panel {
  position: absolute;
  inset: 8%;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(255,255,255,0.5) 0%, rgba(255,255,255,0.15) 60%, rgba(255,255,255,0.45) 100%);
  backdrop-filter: blur(2px);
  border: 1px solid rgba(255,255,255,0.6);
  overflow: hidden;
}
.shine {
  position: absolute;
  top: -20%; left: -20%;
  width: 60%; height: 140%;
  background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,0.7) 50%, transparent 65%);
  animation: shineMove 4s ease-in-out infinite;
}
@keyframes shineMove {
  0%, 100% { transform: translateX(-30%); }
  50% { transform: translateX(220%); }
}
.drop {
  position: absolute;
  border-radius: 50% 50% 50% 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(186, 230, 253, 0.6));
  transform: rotate(-45deg);
  box-shadow: inset 2px -2px 6px rgba(255,255,255,0.8), 0 4px 12px rgba(14, 165, 233, 0.25);
}
.d1 { width: 36px; height: 36px; top: 22%; left: 18%; }
.d2 { width: 22px; height: 22px; top: 48%; right: 24%; }
.d3 { width: 28px; height: 28px; bottom: 18%; left: 38%; }

.about-text p {
  font-size: 1.02rem;
  margin-bottom: 16px;
}
.about-list {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
}
.about-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--c-line);
  color: var(--c-ink);
  font-weight: 500;
}
.about-list li:last-child { border-bottom: 0; }

/* =====================
   DIFERENCIAIS
   ===================== */
.diferenciais {
  background: var(--c-white);
}
.diff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
}
.diff-item {
  padding: 28px 24px;
  border-left: 2px solid var(--c-accent-soft);
  transition: border-color .3s;
}
.diff-item:hover { border-left-color: var(--c-accent); }
.diff-num {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--c-accent);
  font-weight: 700;
  margin-bottom: 12px;
  font-style: italic;
}
.diff-item p {
  font-size: 0.95rem;
  margin: 0;
}

/* =====================
   CONTACT
   ===================== */
.contact {
  background: linear-gradient(160deg, var(--c-ink) 0%, #1a3a5c 100%);
  color: var(--c-white);
  position: relative;
  overflow: hidden;
}
.contact::before {
  content: '';
  position: absolute;
  top: -20%; right: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(103, 232, 249, 0.15) 0%, transparent 70%);
  border-radius: 50%;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
  position: relative;
  z-index: 1;
}
.contact h2 { color: var(--c-white); }
.contact h2 em { color: var(--c-mint); }
.contact p { color: rgba(255,255,255,0.75); }

.contact-methods {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  transition: background .25s, transform .25s, border-color .25s;
}
a.contact-link:hover {
  background: rgba(255,255,255,0.12);
  transform: translateX(4px);
  border-color: var(--c-mint);
}
.contact-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(103, 232, 249, 0.15);
  color: var(--c-mint);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  flex-shrink: 0;
}
.contact-link small {
  display: block;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 2px;
}
.contact-link strong {
  color: var(--c-white);
  font-size: 1.02rem;
}

/* form */
.contact-form {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 36px;
  border-radius: var(--radius-lg);
  backdrop-filter: blur(8px);
}
.form-row {
  margin-bottom: 18px;
}
.form-row label {
  display: block;
  font-size: 0.84rem;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.7);
  margin-bottom: 8px;
  font-weight: 500;
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  color: var(--c-white);
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.98rem;
  font-family: inherit;
  transition: border-color .2s, background .2s;
}
.form-row input::placeholder,
.form-row textarea::placeholder { color: rgba(255,255,255,0.4); }
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: 0;
  border-color: var(--c-mint);
  background: rgba(255,255,255,0.1);
}
.form-row select option { background: var(--c-ink); color: var(--c-white); }
.form-row textarea { resize: vertical; min-height: 100px; }

.contact-form .btn-primary {
  background: var(--c-mint);
  color: var(--c-ink);
  margin-top: 8px;
}
.contact-form .btn-primary:hover {
  background: var(--c-white);
  color: var(--c-ink);
}
.form-note {
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  margin: 14px 0 0;
}

/* =====================
   FOOTER
   ===================== */
.footer {
  background: var(--c-white);
  border-top: 1px solid var(--c-line);
  padding: 48px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
  align-items: start;
}
.footer-brand p {
  font-size: 0.9rem;
  color: var(--c-muted);
  margin: 12px 0 0;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  font-size: 0.94rem;
  color: var(--c-ink-soft);
  transition: color .2s;
}
.footer-links a:hover { color: var(--c-accent); }
.footer-copy {
  text-align: right;
}
.footer-copy small { color: var(--c-muted); font-size: 0.84rem; }

/* =====================
   FLOATING BUTTON
   ===================== */
.float-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
  z-index: 90;
  transition: transform .25s, box-shadow .25s, background .25s;
}
.float-btn:hover {
  background: #1da851;
  transform: scale(1.08);
  box-shadow: 0 14px 32px rgba(37, 211, 102, 0.55);
}
.float-btn svg { width: 100%; height: 100%; }

/* =====================
   ANIMATIONS - reveal
   ===================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =====================
   RESPONSIVE
   ===================== */
@media (max-width: 880px) {
  .section { padding: 72px 0; }

  /* nav */
  .nav-toggle { display: flex; }
  .nav-list {
    position: fixed;
    top: 72px;
    left: 0; right: 0;
    background: var(--c-white);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 24px;
    border-bottom: 1px solid var(--c-line);
    transform: translateY(-150%);
    transition: transform .35s ease;
    box-shadow: var(--shadow-md);
    max-height: calc(100vh - 72px);
    overflow-y: auto;
  }
  .nav-list.open { transform: translateY(0); }
  .nav-list li { border-bottom: 1px solid var(--c-line); }
  .nav-list li:last-child { border-bottom: 0; }
  .nav-list a {
    display: block;
    padding: 16px 0;
    font-size: 1rem;
  }
  .nav-cta {
    text-align: center;
    margin-top: 8px;
  }

  /* hero */
  .hero { padding: 130px 0 80px; }
  .d5, .d7, .d8, .d10 { display: none; }
  .d1 { width: 60px; height: 60px; }
  .d4 { width: 50px; height: 50px; }
  .hero-stats {
    grid-template-columns: 1fr;
    gap: 12px;
    max-width: 320px;
  }
  .stat {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    text-align: left;
    padding: 14px 20px;
  }
  .stat strong { margin: 0; }

  /* about */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-visual {
    aspect-ratio: 1/1;
    max-width: 480px;
    margin: 0 auto;
    width: 100%;
  }

  /* contact */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .contact-form { padding: 28px 22px; }

  /* footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
  }
  .footer-logo { margin: 0 auto; }
  .footer-links {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
  }
  .footer-copy { text-align: center; }

  .float-btn { width: 52px; height: 52px; bottom: 18px; right: 18px; padding: 12px; }
}

@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .hero-actions .btn {
    width: 100%;
  }
  .hero-actions { flex-direction: column; }
  .service-card { padding: 28px 22px; }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}
