/* UP Empresas — paleta alinhada ao logo (laranja + cinza chumbo) */
:root {
  --color-primary: #f3811e;
  --color-primary-dark: #c96a18;
  --color-primary-light: #f59e42;
  --color-primary-bg: #fdf5eb;
  --color-text: #3d3d3d;
  --color-text-secondary: #5a5a5a;
  --color-text-muted: #8a8a8a;
  --color-border: #e4e4e6;
  --color-surface: #f0f1f3;
  --color-white: #ffffff;
  --color-success: #16a34a;
  --color-whatsapp: #25d366;
  --color-whatsapp-hover: #20bd5a;
  --shadow-sm: 0 1px 2px rgba(61, 61, 61, 0.06);
  --shadow-md: 0 12px 32px rgba(61, 61, 61, 0.1);
  --shadow-orange: 0 4px 20px rgba(243, 129, 30, 0.28);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --max-width: 1120px;
  --header-height: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "DM Sans", system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-white);
  font-optical-sizing: auto;
}

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

a {
  color: var(--color-primary-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--color-primary);
}

.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--color-primary);
  color: var(--color-white);
  font-weight: 700;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* ——— Header ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-height);
  background: rgba(250, 250, 251, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--color-border);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--color-text);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
}

.logo-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(61, 61, 61, 0.08);
}

.nav-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-end;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--color-border);
  background: var(--color-white);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.65rem;
  cursor: pointer;
  font-family: inherit;
  font-weight: 700;
  color: var(--color-text);
}

.nav-main ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-main a {
  text-decoration: none;
  font-weight: 600;
  color: var(--color-text-secondary);
}

.nav-main a:hover,
.nav-main a[aria-current="page"] {
  color: var(--color-primary);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: linear-gradient(180deg, var(--color-primary-light) 0%, var(--color-primary) 100%);
  color: var(--color-white);
  box-shadow: var(--shadow-orange);
}

.btn-primary:hover {
  box-shadow: 0 6px 24px rgba(243, 129, 30, 0.38);
  color: var(--color-white);
}

.btn-ghost {
  background: var(--color-white);
  color: var(--color-primary-dark);
  border: 2px solid var(--color-primary);
}

.btn-ghost:hover {
  background: var(--color-primary-bg);
}

.btn-whatsapp {
  background: var(--color-whatsapp);
  color: var(--color-white);
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
  background: var(--color-whatsapp-hover);
  color: var(--color-white);
  box-shadow: 0 6px 22px rgba(37, 211, 102, 0.42);
}

.icon-wa {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  fill: currentColor;
}

.chip-icon svg {
  width: 22px;
  height: 22px;
  display: block;
}

.chip-icon--wa {
  background: rgba(37, 211, 102, 0.12);
  border-color: rgba(37, 211, 102, 0.22);
  color: #128c7e;
}

/* ——— Hero ——— */
.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(
      ellipse 100% 120% at 50% -20%,
      #fbfbfb 0%,
      #f2f3f5 45%,
      #e8eaec 100%
    );
  padding: 3.5rem 1.25rem 4rem;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 15% 55%,
    rgba(243, 129, 30, 0.09) 0%,
    transparent 45%
  );
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  top: -35%;
  right: -12%;
  width: min(480px, 75vw);
  height: min(480px, 75vw);
  background: radial-gradient(
    circle,
    rgba(243, 129, 30, 0.14) 0%,
    transparent 68%
  );
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 880px) {
  .hero-inner {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

.hero-badge {
  display: inline-block;
  padding: 0.38rem 0.95rem;
  background: var(--color-white);
  border: 1px solid rgba(243, 129, 30, 0.35);
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-primary-dark);
  margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.85rem, 4vw, 2.65rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.12;
  color: var(--color-text);
}

.hero-lead {
  margin: 0 0 1.5rem;
  font-size: 1.1rem;
  color: var(--color-text-secondary);
  max-width: 36ch;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(61, 61, 61, 0.08);
}

.hero-card h2 {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: -0.02em;
}

.contact-chips {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.chip {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.85rem 1rem;
  background: var(--color-surface);
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
}

.chip-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(
    145deg,
    rgba(243, 129, 30, 0.14),
    rgba(243, 129, 30, 0.06)
  );
  border: 1px solid rgba(243, 129, 30, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.chip strong {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
  font-weight: 700;
}

.chip a {
  font-weight: 700;
  color: var(--color-primary-dark);
  text-decoration: none;
}

.chip a:hover {
  text-decoration: underline;
}

.chip-meta {
  display: block;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-top: 0.2rem;
}

/* ——— Sections ——— */
section {
  padding: 3.5rem 1.25rem;
}

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

.section-title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 3vw, 1.95rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--color-text);
}

.section-sub {
  margin: 0 0 2rem;
  color: var(--color-text-secondary);
  max-width: 52ch;
}

.bg-muted {
  background: var(--color-surface);
}

/* ——— FAQ ——— */
.faq-grid {
  display: grid;
  gap: 0.75rem;
}

details.faq-item {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 0 1rem;
  box-shadow: var(--shadow-sm);
}

details.faq-item[open] {
  border-color: rgba(243, 129, 30, 0.4);
}

.faq-item summary {
  cursor: pointer;
  padding: 1rem 0;
  font-weight: 600;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

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

.faq-item summary::after {
  content: "+";
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin: 0 0 1rem;
  color: var(--color-text-secondary);
  padding-top: 0;
}

/* ——— Form ——— */
.contact-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 800px) {
  .contact-grid {
    grid-template-columns: 1fr 1.1fr;
    align-items: start;
  }
}

.form-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
}

.form-card h2 {
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
}

.form-hint {
  margin: 0 0 1.5rem;
  font-size: 0.95rem;
  color: var(--color-text-secondary);
}

.form-row {
  margin-bottom: 1.1rem;
}

.form-row label {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem;
  background: var(--color-white);
  transition: border-color 0.15s, box-shadow 0.15s;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(243, 129, 30, 0.2);
}

.form-row textarea {
  min-height: 140px;
  resize: vertical;
}

.form-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 1.25rem;
}

.form-note {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin: 0;
  flex: 1;
  min-width: 200px;
}

.form-status {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  display: none;
}

.form-status.is-visible {
  display: block;
}

.form-status.success {
  background: #f0fdf4;
  color: var(--color-success);
  border: 1px solid #bbf7d0;
}

.form-status.error {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
}

/* ——— Footer ——— */
.site-footer {
  background: linear-gradient(180deg, #353535 0%, #2a2a2a 100%);
  color: #d4d4d4;
  padding: 2.5rem 1.25rem;
  font-size: 0.95rem;
  border-top: 3px solid var(--color-primary);
}

.site-footer a {
  color: var(--color-primary-light);
}

.site-footer a:hover {
  color: #ffc48a;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: space-between;
  align-items: center;
}

.footer-brand {
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: -0.02em;
}

.footer-tagline {
  margin: 0.35rem 0 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.9rem;
}

.footer-contact {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.65rem;
}

.footer-link-wa {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.site-footer a.footer-link-wa {
  color: #6ee7a8;
}

.site-footer a.footer-link-wa:hover {
  color: #a7f3d0;
}

/* ——— Mobile nav ——— */
@media (max-width: 768px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav-main {
    position: fixed;
    inset: var(--header-height) 0 auto 0;
    background: var(--color-white);
    border-bottom: 1px solid var(--color-border);
    padding: 1rem 1.25rem 1.25rem;
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .nav-main.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-main ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }

  .nav-main a {
    display: block;
    padding: 0.65rem 0;
  }

  .nav-actions .btn-ghost {
    display: none;
  }

  .nav-actions .btn {
    padding: 0.55rem 0.85rem;
    font-size: 0.875rem;
  }
}
