/* Siqueira e Nobre — landing */

:root {
  --navy: #0f172a;
  --navy-light: #1e293b;
  --gold: #c5a059;
  --gold-light: #d4b36e;
  --slate: #475569;
  --ivory: #ffffff;
  --background: #fafaf8;
  --foreground: var(--navy);
  --card: #ffffff;
  --secondary: #f4f4f1;
  --muted: #f4f4f1;
  --muted-foreground: var(--slate);
  --border: #e8e6e1;
  --input: #e8e6e1;
  --destructive: #dc2626;
  --font-serif: "Playfair Display", Georgia, serif;
  --font-sans: "Plus Jakarta Sans", system-ui, sans-serif;
  --gradient-gold: linear-gradient(135deg, var(--gold-light), var(--gold));
  --shadow-gold: 0 20px 40px -18px rgba(197, 160, 89, 0.55);
  --shadow-card: 0 24px 50px -24px rgba(15, 23, 42, 0.35);
  --max: 80rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.15;
  margin: 0;
}

p {
  margin: 0;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.text-gradient-gold {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: italic;
}

.pattern-grid {
  background-image:
    linear-gradient(rgba(197, 160, 89, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(197, 160, 89, 0.1) 1px, transparent 1px);
  background-size: 64px 64px;
}

.muted {
  color: var(--muted-foreground);
  line-height: 1.7;
}

.muted + .muted {
  margin-top: 1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.btn-sm {
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
}

.btn-gold {
  background: var(--gradient-gold);
  color: var(--navy);
  box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
  transform: translateY(-2px);
}

.btn-outline {
  border: 1px solid rgba(197, 160, 89, 0.6);
  background: transparent;
  color: var(--ivory);
  font-weight: 500;
}

.btn-outline:hover {
  background: rgba(197, 160, 89, 0.1);
}

.btn .icon-arrow {
  transition: transform 0.2s ease;
}

.btn:hover .icon-arrow {
  transform: translateX(4px);
}

/* Eyebrow */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
}

.eyebrow--center {
  justify-content: center;
}

.eyebrow-line {
  display: block;
  width: 2.5rem;
  height: 1px;
  background: var(--gold);
}

/* Header */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(197, 160, 89, 0.15);
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.75rem;
  min-height: 5.25rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.brand-logo {
  display: block;
  height: 3.25rem;
  width: auto;
  max-width: min(280px, 62vw);
  object-fit: contain;
}

@media (min-width: 768px) {
  .header-inner {
    min-height: 6rem;
  }

  .brand-logo {
    height: 4.75rem;
    max-width: 380px;
  }
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 2rem;
}

.nav-desktop a:not(.btn) {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.75);
  transition: color 0.2s ease;
}

.nav-desktop a:not(.btn):hover {
  color: var(--gold);
}

.menu-toggle {
  display: grid;
  place-items: center;
  background: none;
  border: none;
  color: var(--ivory);
  padding: 0.25rem;
  cursor: pointer;
}

.menu-icon-close {
  display: none;
}

.site-header.is-open .menu-icon-open {
  display: none;
}

.site-header.is-open .menu-icon-close {
  display: grid;
}

.nav-mobile {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border-top: 1px solid rgba(197, 160, 89, 0.15);
  padding: 1.5rem 1.25rem;
}

.nav-mobile[hidden] {
  display: none;
}

.nav-mobile a:not(.btn) {
  color: rgba(255, 255, 255, 0.85);
}

.nav-mobile .btn {
  align-self: flex-start;
}

@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
  }

  .menu-toggle,
  .nav-mobile {
    display: none !important;
  }
}

/* Hero */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100vh;
  overflow: hidden;
  background: var(--navy);
  padding-top: 6rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
}


.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.4;
}

.hero-content {
  position: relative;
  max-width: 48rem;
  padding-block: 5rem;
}

.hero-title {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  color: var(--ivory);
  line-height: 1.1;
}

.hero-lead {
  margin-top: 1.5rem;
  max-width: 36rem;
  font-size: 1.125rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2.5rem;
}

@media (min-width: 640px) {
  .hero-actions {
    flex-direction: row;
  }
}

/* Sections */
.section {
  padding-block: 6rem;
}

@media (min-width: 1024px) {
  .section {
    padding-block: 8rem;
  }
}

.section-title {
  font-size: clamp(1.875rem, 4vw, 3rem);
}

.section-title--light {
  color: var(--ivory);
}

.section-head {
  max-width: 42rem;
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

/* About */
.about-grid {
  display: grid;
  gap: 4rem;
}

@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}

.about .section-title {
  margin-bottom: 1.5rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .stats-grid {
    gap: 1.5rem;
  }
}

.stat-card {
  border: 1px solid var(--border);
  background: var(--card);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
}

@media (min-width: 640px) {
  .stat-card {
    padding: 2rem;
  }
}

.icon-gold {
  color: var(--gold);
}

.stat-n {
  margin-top: 1.25rem;
  font-family: var(--font-serif);
  font-size: clamp(1.875rem, 3vw, 2.25rem);
  font-weight: 600;
}

.stat-l {
  margin-top: 0.5rem;
  font-size: 0.8125rem;
  line-height: 1.4;
  color: var(--muted-foreground);
}

/* Equipe */
.equipe {
  background: var(--secondary);
}

.equipe-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 4rem;
}

@media (min-width: 768px) {
  .equipe-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

.equipe-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 1px solid var(--border);
  background: var(--card);
  padding: 2.25rem 1.5rem;
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.equipe-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 56px -24px rgba(15, 23, 42, 0.4);
}

.equipe-bar {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient-gold);
}

.equipe-card h3 {
  font-size: 1.25rem;
  max-width: 14ch;
}

.equipe-oab {
  margin-top: 0.75rem;
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}

/* Areas */
.areas {
  position: relative;
  overflow: hidden;
  background: var(--navy);
}

.areas-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.3;
}

.areas .container {
  position: relative;
}

.areas-grid {
  display: grid;
  gap: 1px;
  margin-top: 4rem;
  background: rgba(197, 160, 89, 0.15);
}

@media (min-width: 640px) {
  .areas-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .areas-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.area-card {
  position: relative;
  background: var(--navy);
  padding: 2rem;
  transition: background-color 0.5s ease;
}

@media (min-width: 1024px) {
  .area-card {
    padding: 2.5rem;
  }
}

.area-card:hover {
  background: var(--navy-light);
}

.area-bar {
  position: absolute;
  left: 0;
  top: 0;
  height: 2px;
  width: 0;
  background: var(--gradient-gold);
  transition: width 0.5s ease;
}

.area-card:hover .area-bar {
  width: 100%;
}

.area-icon {
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  border: 1px solid rgba(197, 160, 89, 0.4);
  color: var(--gold);
  transition: background-color 0.5s ease, color 0.5s ease;
}

.area-card:hover .area-icon {
  background: var(--gold);
  color: var(--navy);
}

.area-card h3 {
  margin-top: 1.5rem;
  font-size: 1.25rem;
  color: var(--ivory);
}

.area-card p {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.6);
}

.area-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  font-size: 0.875rem;
  color: var(--gold);
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.area-card:hover .area-link {
  opacity: 1;
}

/* Diferenciais */
.diff-grid {
  display: grid;
  gap: 2.5rem;
  margin-top: 4rem;
}

@media (min-width: 640px) {
  .diff-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .diff-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.diff-card {
  border-top: 2px solid var(--gold);
  padding-top: 2rem;
}

.diff-n {
  font-family: var(--font-serif);
  font-size: 0.875rem;
  color: var(--gold);
}

.icon-navy {
  color: var(--navy);
  margin-top: 1rem;
}

.diff-card h3 {
  margin-top: 1.25rem;
  font-size: 1.25rem;
}

.diff-card p {
  margin-top: 0.75rem;
  font-size: 0.875rem;
}

/* Contato */
.contato {
  background: var(--secondary);
}

.contato .contato-aside {
  margin-top: 3.5rem;
  max-width: 36rem;
}

.contato-aside {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  padding: 2rem;
}

@media (min-width: 640px) {
  .contato-aside {
    padding: 2.5rem;
  }
}

.contato-aside-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.4;
}

.contato-aside-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-link {
  display: flex;
  gap: 1rem;
}

.contact-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid rgba(197, 160, 89, 0.4);
  color: var(--gold);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.contact-link:hover .contact-icon {
  background: var(--gold);
  color: var(--navy);
}

.contact-label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gold);
}

.contact-value {
  display: block;
  color: rgba(255, 255, 255, 0.85);
}

.map-placeholder {
  position: relative;
  display: grid;
  place-items: center;
  height: 11rem;
  margin-top: 1rem;
  border: 1px solid rgba(197, 160, 89, 0.25);
}

.map-placeholder > .pattern-grid {
  position: absolute;
  inset: 0;
}

.map-pin-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--gold);
}

.map-ping {
  position: absolute;
  width: 4rem;
  height: 4rem;
  border-radius: 9999px;
  background: rgba(197, 160, 89, 0.2);
  animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.map-city {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

@keyframes ping {
  75%, 100% {
    transform: scale(2);
    opacity: 0;
  }
}

/* Footer */
.site-footer {
  background: var(--navy);
  padding-top: 4rem;
  padding-bottom: 2rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--gold);
}

.footer-logo {
  width: 3.25rem;
  height: 3.25rem;
  object-fit: contain;
  flex-shrink: 0;
}

.footer-brand span {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  color: var(--ivory);
}

.footer-oab {
  margin-top: 1rem;
  font-size: 0.875rem;
}

.footer-heading {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.footer-nav {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.875rem;
}

.footer-nav a:hover {
  color: var(--gold);
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.5rem;
  padding: 0.4rem 0.85rem;
  border: 1px solid rgba(197, 160, 89, 0.4);
  color: var(--gold);
  font-size: 0.8125rem;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.footer-social a:hover {
  background: var(--gold);
  color: var(--navy);
}

.footer-social-handle {
  letter-spacing: 0.02em;
}

.footer-copy {
  margin-top: 3rem;
  border-top: 1px solid rgba(197, 160, 89, 0.15);
  padding-top: 1.5rem;
  font-size: 0.75rem;
}

/* WhatsApp flutuante */
.whatsapp-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 60;
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 9999px;
  background: #25d366;
  color: #fff;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.5);
  color: #fff;
}

.whatsapp-float:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

@media (min-width: 640px) {
  .whatsapp-float {
    right: 1.75rem;
    bottom: 1.75rem;
    width: 3.75rem;
    height: 3.75rem;
  }
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--delay, 0s);
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in--hero {
  transition-duration: 0.9s;
}

/* Fallback */
.fallback {
  padding: 8rem 0 4rem;
}

.fallback h1 {
  margin-bottom: 1rem;
}
