﻿/* WSILVA Redes — identidade sobre Bootstrap 5 */
:root {
  --color-bg: #ffffff;
  --color-surface: #f1f5f9;
  --color-text: #111827;
  --color-muted: #64748b;
  --color-border: #e2e8f0;
  --color-dark: #0f172a;
  --color-green: #3a8a3a;
  --color-green-hover: #2f6f2f;
  --color-green-soft: #e8f5e8;
  --shadow-soft: 0 12px 40px rgba(15, 23, 42, 0.08);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --font-sans: system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body {
  color: var(--color-text);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  padding-top: 72px;
}

a {
  text-underline-offset: 3px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.btn:focus-visible {
  outline: 3px solid rgba(58, 138, 58, 0.45);
  outline-offset: 2px;
}

.ws-skip {
  position: absolute;
  left: -9999px;
  z-index: 2000;
  padding: 0.5rem 1rem;
  background: var(--color-dark);
  color: #fff;
  border-radius: var(--radius-sm);
}
.ws-skip:focus {
  left: 1rem;
  top: 1rem;
}

.ws-navbar {
  background: var(--color-bg) !important;
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
}
.ws-navbar .navbar-toggler {
  border-color: var(--color-border);
}
.ws-logo {
  height: 44px;
  width: auto;
}
@media (min-width: 768px) {
  .ws-logo {
    height: 48px;
  }
}
.ws-nav-link {
  color: var(--color-text) !important;
  font-weight: 500;
}
.ws-nav-link:hover,
.ws-nav-link.active {
  color: var(--color-green) !important;
}
.btn-ws {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--color-green);
  --bs-btn-border-color: var(--color-green);
  --bs-btn-hover-bg: var(--color-green-hover);
  --bs-btn-hover-border-color: var(--color-green-hover);
  --bs-btn-focus-shadow-rgb: 47, 111, 47;
  --bs-btn-active-bg: var(--color-green-hover);
  --bs-btn-active-border-color: var(--color-green-hover);
  border-radius: var(--radius-sm);
  padding: 0.55rem 1.1rem;
  font-weight: 600;
}
.btn-ws.btn-outline-secondary,
.btn-ws.btn-outline-light {
  --bs-btn-color: var(--color-dark);
  --bs-btn-border-color: var(--color-border);
  --bs-btn-bg: #fff;
  --bs-btn-hover-bg: var(--color-surface);
  --bs-btn-hover-color: var(--color-dark);
  --bs-btn-hover-border-color: #cbd5e1;
  --bs-btn-focus-shadow-rgb: 15, 23, 42;
}

.ws-section {
  padding-top: 3.25rem;
  padding-bottom: 3.25rem;
}
@media (min-width: 768px) {
  .ws-section {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
}
.ws-section--muted {
  background: var(--color-surface);
}
.ws-section h2,
.ws-section .ws-section-title {
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-dark);
  margin-bottom: 0.75rem;
}
.ws-lead {
  color: var(--color-muted);
  max-width: 40rem;
}
.ws-eyebrow {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-muted);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.ws-hero {
  background: linear-gradient(180deg, #fff 0%, var(--color-surface) 100%);
  border-bottom: 1px solid var(--color-border);
  padding: 2.5rem 0;
}
@media (min-width: 992px) {
  .ws-hero {
    padding: 3.5rem 0;
  }
}
.ws-hero h1 {
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--color-dark);
  line-height: 1.2;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}
.ws-hero-img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: #e2e8f0;
}
.ws-hero-img-wrap img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 4/3;
}

.ws-page-hero {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  padding: 2.5rem 0;
}
.ws-page-hero h1 {
  font-weight: 800;
  color: var(--color-dark);
  font-size: clamp(1.5rem, 3vw, 2.15rem);
}

.ws-cred-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.1rem;
  text-align: center;
  height: 100%;
}
.ws-cred-card strong {
  display: block;
  font-size: 1rem;
  color: var(--color-dark);
  margin-top: 0.35rem;
  line-height: 1.35;
}
.ws-cred-card span {
  font-size: 0.78rem;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.ws-service-card {
  border: 1px solid var(--color-border) !important;
  border-radius: var(--radius-md) !important;
  overflow: hidden;
  height: 100%;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.ws-service-card:hover {
  box-shadow: var(--shadow-soft);
  border-color: #cbd5e1 !important;
}
.ws-service-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}
@media (min-width: 768px) {
  .ws-service-card img {
    height: 200px;
  }
}
.ws-service-card .card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-dark);
}

.ws-step {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.ws-step:last-child {
  margin-bottom: 0;
}
.ws-step-num {
  flex: 0 0 2.25rem;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--color-green-soft);
  color: var(--color-green);
  font-weight: 800;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(58, 138, 58, 0.25);
}

.ws-form .form-label {
  font-weight: 600;
  color: #334155;
  font-size: 0.9rem;
}
.ws-form .is-invalid {
  box-shadow: 0 0 0 1px #dc2626;
}
.ws-form-error {
  color: #b91c1c;
  font-size: 0.875rem;
  display: none;
  margin-top: 0.5rem;
}
.ws-form .ws-form-error.show {
  display: block;
}

.ws-gallery-tools {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.ws-gallery-scroller {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background: #fff;
}
@media (min-width: 768px) {
  .ws-gallery-scroller {
    overflow: visible;
    scroll-snap-type: none;
    border: none;
    background: transparent;
  }
}
.ws-gallery-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 1rem;
  padding: 0.5rem;
}
@media (min-width: 768px) {
  .ws-gallery-track {
    flex-wrap: wrap;
    padding: 0;
  }
}
.ws-gallery-item {
  flex: 0 0 min(80vw, 280px);
  scroll-snap-align: start;
  margin: 0;
}
@media (min-width: 768px) {
  .ws-gallery-item {
    flex: 0 0 calc(33.333% - 0.75rem);
    min-width: 0;
  }
}
@media (min-width: 1100px) {
  .ws-gallery-item {
    flex: 0 0 calc(25% - 0.75rem);
  }
}
.ws-gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  display: block;
  background: #e2e8f0;
}
.ws-gallery-item figcaption {
  font-size: 0.8rem;
  color: var(--color-muted);
  margin-top: 0.4rem;
  line-height: 1.3;
}
.ws-btn-icon {
  min-width: 2.5rem;
}

.ws-faq-short details {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1rem;
  background: #fff;
  margin-bottom: 0.5rem;
}
.ws-faq-short summary {
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.ws-faq-short summary::-webkit-details-marker {
  display: none;
}
.ws-faq-short p {
  margin: 0.6rem 0 0;
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.55;
}

.ws-cta-band {
  background: var(--color-dark);
  color: #f8fafc;
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-soft);
}
.ws-cta-band h2 {
  color: #fff;
  font-weight: 800;
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}
@media (min-width: 768px) {
  .ws-cta-band h2 {
    font-size: 1.5rem;
  }
}
.ws-cta-band p {
  color: #cbd5e1;
  max-width: 32rem;
  margin: 0 auto 1.25rem;
}

.ws-accordion-faq .accordion-button:not(.collapsed) {
  color: var(--color-dark);
  background-color: var(--color-green-soft);
  font-weight: 600;
  box-shadow: none;
}
.ws-accordion-faq .accordion-body {
  color: #475569;
  line-height: 1.6;
}

.ws-footer {
  background: #0b1220;
  color: #94a3b8;
  padding: 2.5rem 0 2rem;
  margin-top: 2rem;
  border-top: 1px solid #1e293b;
}
.ws-footer a {
  color: #e2e8f0;
  text-decoration: none;
}
.ws-footer a:hover {
  color: #86efac;
  text-decoration: underline;
}
.ws-footer h3,
.ws-footer .text-white {
  color: #f1f5f9 !important;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.ws-footer .border-secondary {
  border-color: #334155 !important;
}

.ws-float-wa {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 1040;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  border: 2px solid #fff;
  text-decoration: none;
}
.ws-float-wa:hover {
  color: #fff;
  background: #1eb855;
}
.ws-float-wa .wa-icon {
  width: 1.6rem;
  height: 1.6rem;
  fill: currentColor;
}

.ws-spec-list li {
  margin-bottom: 0.4rem;
}
.ws-muted-note {
  font-size: 0.85rem;
  color: var(--color-muted);
  max-width: 42rem;
}
.ws-contact-btns .btn {
  min-height: 3rem;
  font-weight: 600;
}

.ws-review-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.35rem;
  height: 100%;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
}
.ws-review-name {
  font-weight: 700;
  color: var(--color-dark);
  font-size: 1rem;
  line-height: 1.3;
}
.ws-review-stars {
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  line-height: 1;
  flex-shrink: 0;
}
.ws-review-quote {
  margin: 0;
  border: none;
  padding: 0;
  font-size: 0.95rem;
  color: var(--color-text);
  line-height: 1.55;
}
.ws-review-quote p:last-child {
  margin-bottom: 0;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
