/* ExtraCont — identidade alinhada ao kit Elementor antigo (#12111F, #EC8B00). Tipografia: Inter (substitui Meutas se fontes locais não forem copiadas). */

:root {
  --color-bg: #12111f;
  --color-bg-elevated: #1a1928;
  --color-accent: #ec8b00;
  --color-accent-hover: #f5a533;
  --color-whatsapp: #25d366;
  --color-whatsapp-hover: #20bd5a;
  --color-gold-start: #f0d78c;
  --color-gold-end: #c9a227;
  --color-text: #101010;
  --color-text-muted: #5c5b66;
  --color-surface: #ffffff;
  --color-border: #e8e8ec;
  --font-sans: "Inter", system-ui, sans-serif;
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-script: "Great Vibes", cursive;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --radius: 8px;
  --max: 1140px;
  --header-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-surface);
}

.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 999;
  padding: var(--space-sm);
  background: var(--color-accent);
  color: #fff;
  text-decoration: none;
}

.skip-link:focus {
  left: var(--space-sm);
  top: var(--space-sm);
}

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--color-border);
  backdrop-filter: blur(8px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: var(--space-md);
}

.logo {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--color-bg);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.logo--footer {
  display: block;
  margin-bottom: var(--space-xs);
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-sm) var(--space-md);
}

.site-nav a {
  color: var(--color-text);
  text-decoration: none;
  font-weight: 500;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--color-accent);
}

.site-nav a.is-active:not(.btn) {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-xs);
  background: none;
  border: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-bg);
}

@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }

  .site-nav.is-open {
    max-height: 320px;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: flex-start;
    padding: var(--space-md);
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.25rem;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.btn--primary {
  background: var(--color-accent);
  color: #fff;
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background: var(--color-accent-hover);
}

.btn--outline {
  background: transparent;
  color: var(--color-bg);
  border-color: var(--color-bg);
}

.btn--outline:hover {
  background: var(--color-bg);
  color: #fff;
}

.btn--sm {
  padding: 0.45rem 0.9rem;
  font-size: 0.875rem;
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--color-bg) 0%, #2a2840 100%);
  color: #fff;
  padding: var(--space-xl) 0;
}

.hero .container {
  max-width: 800px;
}

.hero h1 {
  margin: 0 0 var(--space-sm);
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  line-height: 1.15;
  font-weight: 700;
}

.hero p.lead {
  margin: 0 0 var(--space-md);
  font-size: 1.125rem;
  opacity: 0.92;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.hero .btn--outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.85);
}

.hero .btn--outline-light:hover,
.hero .btn--outline-light:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}

/* Sections */
main {
  min-height: 50vh;
}

.page-header {
  padding: var(--space-lg) 0 var(--space-md);
  background: var(--color-bg);
  color: #fff;
}

.page-header h1 {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.section {
  padding: var(--space-lg) 0;
}

.section--muted {
  background: #f7f7f9;
}

.section h2 {
  margin: 0 0 var(--space-md);
  font-size: 1.5rem;
  color: var(--color-bg);
}

.section p,
.section li {
  color: var(--color-text-muted);
}

.section p {
  margin: 0 0 var(--space-sm);
}

.grid-2 {
  display: grid;
  gap: var(--space-md);
}

@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: 1fr 1fr;
  }
}

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: var(--space-md);
}

.card h2,
.card h3 {
  margin: 0 0 var(--space-xs);
  font-size: 1.1rem;
  color: var(--color-bg);
}

/* Forms */
.form {
  max-width: 520px;
}

.form label {
  display: block;
  font-weight: 500;
  margin-bottom: var(--space-xs);
}

.form input,
.form textarea,
.form select {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font: inherit;
  margin-bottom: var(--space-sm);
}

.form textarea {
  min-height: 140px;
  resize: vertical;
}

.alert {
  padding: var(--space-sm);
  border-radius: var(--radius);
  margin-bottom: var(--space-md);
}

.alert--ok {
  background: #e8f7ef;
  color: #14532d;
  border: 1px solid #86efac;
}

.alert--err {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* Footer */
.site-footer {
  background: var(--color-bg);
  color: #c9c8d4;
  padding: var(--space-lg) 0 0;
  margin-top: var(--space-xl);
}

.footer-grid {
  display: grid;
  gap: var(--space-lg);
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: 1.2fr 1fr;
  }
}

.footer-tagline {
  margin: var(--space-xs) 0 0;
  max-width: 28ch;
}

.footer-heading {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 var(--space-sm);
  color: #fff;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin-bottom: var(--space-xs);
}

.footer-links a {
  color: #c9c8d4;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--color-accent);
}

.footer-bottom {
  margin-top: var(--space-lg);
  padding: var(--space-md) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.875rem;
}

.footer-bottom p {
  margin: 0;
}

/* Legal prose */
.prose {
  max-width: 720px;
}

.prose h2 {
  font-size: 1.25rem;
  margin-top: var(--space-lg);
}

.prose ul {
  padding-left: 1.25rem;
}

.marcas-icons__label {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin: 0 0 var(--space-sm);
}

.marcas-icons__row {
  display: flex;
  gap: var(--space-md);
  align-items: center;
}

/* —— Marca no header (home / internas) —— */
.logo-brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
}

.logo-brand__img {
  display: block;
  width: auto;
  height: auto;
  max-height: 48px;
  max-width: min(240px, 52vw);
}

.logo-brand:focus-visible .logo-brand__img {
  outline: 2px solid var(--color-accent);
  outline-offset: 4px;
  border-radius: 4px;
}

.site-nav--uppercase a {
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.btn--whatsapp-header {
  background: var(--color-whatsapp);
  color: #fff !important;
  border-radius: 999px;
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  gap: 0.4rem;
  white-space: nowrap;
}

.btn--whatsapp-header:hover,
.btn--whatsapp-header:focus-visible {
  background: var(--color-whatsapp-hover);
  color: #fff !important;
}

.btn--whatsapp-header__icon {
  display: flex;
}

/* Header escuro sobre o hero */
.site-header--dark {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: transparent;
  border-bottom: none;
  backdrop-filter: none;
}

.site-header--dark .site-nav a {
  color: rgba(255, 255, 255, 0.92);
}

.site-header--dark .site-nav a:hover,
.site-header--dark .site-nav a:focus-visible,
.site-header--dark .site-nav a.is-active {
  color: #ff9d10;
}

.site-header--dark .nav-toggle span {
  background: #fff;
}

@media (max-width: 900px) {
  .site-header--dark .site-nav {
    background: rgba(18, 17, 31, 0.98);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .site-header--dark .site-nav a {
    color: #fff;
  }

  .btn--whatsapp-header {
    margin-top: var(--space-sm);
    width: 100%;
    justify-content: center;
  }
}

/* Página inicial: hero + formulário */
.home-hero-page {
  position: relative;
}

.home-hero {
  position: relative;
  color: #fff;
  padding: calc(var(--header-h) + var(--space-lg)) 0 var(--space-xl);
  overflow: hidden;
}

.home-hero__bg {
  position: absolute;
  inset: 0;
  background-color: #141226;
  background-image:
    linear-gradient(105deg, rgba(18, 17, 31, 0.92) 0%, rgba(18, 17, 31, 0.75) 45%, rgba(18, 17, 31, 0.88) 100%),
    radial-gradient(ellipse 80% 60% at 75% 40%, rgba(236, 139, 0, 0.12) 0%, transparent 55%);
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.home-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: var(--space-lg);
  align-items: start;
}

@media (min-width: 992px) {
  .home-hero__grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: var(--space-xl);
    align-items: center;
  }
}

.home-hero__title {
  margin: 0 0 var(--space-md);
  font-size: clamp(1.65rem, 3.5vw, 2.45rem);
  font-weight: 700;
  line-height: 1.18;
  color: #fff;
}

.home-hero__lead {
  margin: 0 0 var(--space-md);
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.94);
  max-width: 52ch;
}

.btn--whatsapp-lg {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1.25rem;
  background: var(--color-whatsapp);
  color: #fff;
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  border-radius: 6px;
  max-width: 100%;
  text-align: left;
  line-height: 1.35;
}

.btn--whatsapp-lg svg {
  flex-shrink: 0;
}

.btn--whatsapp-lg:hover,
.btn--whatsapp-lg:focus-visible {
  background: var(--color-whatsapp-hover);
  color: #fff;
}

.btn--whatsapp-lg--compact {
  font-size: 0.8rem;
  padding: 0.65rem 1rem;
}

.home-quote {
  background: rgba(10, 9, 18, 0.72);
  border: 1px solid rgba(236, 139, 0, 0.35);
  border-radius: 12px;
  padding: var(--space-md);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.home-quote__title {
  margin: 0 0 var(--space-xs);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-accent);
}

.home-quote__subtitle {
  margin: 0 0 var(--space-md);
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
}

.orcamento-steps {
  list-style: none;
  margin: 0 0 var(--space-md);
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.orcamento-steps li {
  display: flex;
  align-items: center;
}

.orcamento-steps__dot {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  font-size: 0.85rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.7);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.orcamento-steps__dot.is-active {
  background: var(--color-accent);
  color: #1a1208;
  border-color: var(--color-accent);
}

.orcamento-steps__line {
  width: 2.5rem;
  height: 2px;
  background: rgba(255, 255, 255, 0.2);
  margin: 0 0.25rem;
}

.orcamento-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 0.35rem;
}

.orcamento-input,
.orcamento-textarea {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.95);
  font: inherit;
  margin-bottom: var(--space-sm);
  color: var(--color-text);
}

.orcamento-textarea {
  resize: vertical;
  min-height: 4.5rem;
}

.btn--orange-full {
  width: 100%;
  margin-top: var(--space-xs);
  padding: 0.85rem;
  background: var(--color-accent);
  color: #1a1208;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

.btn--orange-full:hover,
.btn--orange-full:focus-visible {
  background: var(--color-accent-hover);
}

.btn--ghost-light {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 0.65rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
}

.btn--ghost-light:hover {
  background: rgba(255, 255, 255, 0.08);
}

.orcamento-actions {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  margin-top: var(--space-xs);
}

.orcamento-actions .btn--orange-full,
.orcamento-actions .btn--whatsapp-lg {
  flex: 1 1 auto;
}

.wa-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 200;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: var(--color-whatsapp);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  text-decoration: none;
  transition: transform 0.2s, background 0.2s;
}

.wa-float:hover,
.wa-float:focus-visible {
  background: var(--color-whatsapp-hover);
  transform: scale(1.05);
}

.wa-float svg {
  width: 1.75rem;
  height: 1.75rem;
}

.home-after-hero {
  margin-top: 0;
}

.logo-brand--footer {
  text-decoration: none;
  margin-bottom: 0.35rem;
}

.logo-brand--footer .logo-brand__img {
  max-height: 56px;
  max-width: min(260px, 85vw);
}

@media (min-width: 901px) {
  .site-header--dark .header-inner {
    display: grid;
    grid-template-columns: minmax(0, auto) minmax(0, 1fr) auto;
    align-items: center;
    gap: var(--space-md);
  }

  .site-header--dark .site-nav ul {
    justify-content: center;
  }
}

@media (max-width: 991px) {
  .header-inner {
    flex-wrap: wrap;
  }

  .btn--whatsapp-header {
    order: 3;
    width: auto;
    margin-left: auto;
  }
}
