﻿/* ============================================
   ANDRADE GOMES ADVOCACIA
   MONOLITHIC STONE & BRUSHED STEEL DESIGN SYSTEM
   ============================================ */

:root {
  --stone: #f4f2ee;
  --stone-dark: #eae6de;
  --white: #ffffff;
  --basalt: #171716;
  --graphite: #252422;
  --ink: #171716;
  --muted: #67645e;
  --bronze: #9e8259;
  --bronze-light: #bfa378;
  --line: rgba(23, 23, 22, 0.14);
  --line-dark: rgba(255, 255, 255, 0.15);
  --nav-h: 84px;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.7;
  color: var(--ink);
  background-color: var(--stone);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--bronze);
  outline-offset: 3px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: var(--bronze);
  z-index: 200;
}

/* ============================================
   NAVBAR
   ============================================ */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  background: rgba(244, 242, 238, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  z-index: 100;
  transition: background-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 30px rgba(23, 23, 22, 0.06);
}

.nav-inner,
.navbar .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex-shrink: 0;
}

.logo-img {
  height: 54px;
  width: auto;
  filter: drop-shadow(0 4px 10px rgba(23, 23, 22, 0.14));
}

.logo-text-wrapper {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--ink);
}

.logo-subtext {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.36em;
  color: var(--bronze);
  margin-top: 2px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}

.nav-link {
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--muted);
  position: relative;
  padding: 0.25rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: var(--ink);
  transition: width 0.25s var(--ease);
}

.nav-link:hover {
  color: var(--ink);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-instagram {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--ink);
  padding: 0.45rem 0.85rem;
  border: 1px solid var(--line);
}

.nav-instagram svg {
  width: 15px;
  height: 15px;
}

.nav-instagram:hover {
  border-color: var(--ink);
  background: var(--white);
}

.cta-button {
  display: inline-flex;
  align-items: center;
  padding: 0.6rem 1.35rem;
  background: var(--basalt);
  color: var(--white);
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0.03em;
}

.cta-button:hover {
  background: var(--bronze);
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--line);
  cursor: pointer;
  padding: 8px;
}

.mobile-menu-toggle span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ============================================
   HERO (STONE & BASALT MONOLITH)
   ============================================ */

.hero {
  padding: calc(var(--nav-h) + 3.5rem) 0 4.5rem;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background: var(--stone);
  border-bottom: 1px solid var(--line);
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}

.hero-kicker {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  color: var(--bronze);
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5.8vw, 4.9rem);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 1.6rem;
}

.hero h1 em {
  font-style: italic;
  font-weight: 500;
  color: var(--bronze);
}

.hero-lead {
  font-size: 1.06rem;
  color: var(--muted);
  max-width: 34rem;
  margin-bottom: 2.3rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn-primary,
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.95rem 1.9rem;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  border: 1px solid var(--basalt);
  cursor: pointer;
}

.btn-primary {
  background: var(--basalt);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--bronze);
  border-color: var(--bronze);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
}

.btn-outline svg {
  width: 16px;
  height: 16px;
}

.btn-outline:hover {
  background: var(--white);
  transform: translateY(-1px);
}

/* Large Sculptural Logo Showcase */
.hero-monolith {
  background: var(--basalt);
  padding: clamp(2.5rem, 4vw, 3.75rem);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-monolith::before {
  content: '';
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(191, 163, 120, 0.25);
  pointer-events: none;
}

.hero-monolith-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
}

.hero-logo-large {
  width: clamp(230px, 28vw, 340px);
  height: auto;
  filter: drop-shadow(0 24px 38px rgba(0, 0, 0, 0.65));
}

.hero-monolith-caption {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.hero-monolith-caption span {
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: 0.14em;
  color: var(--white);
}

.hero-monolith-caption small {
  font-size: 0.66rem;
  letter-spacing: 0.26em;
  color: var(--bronze-light);
}

/* ============================================
   METRICS STRIP
   ============================================ */

.metrics-strip {
  background: var(--basalt);
  color: var(--white);
  padding: 2.25rem 0;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.metric-item {
  border-left: 1px solid rgba(191, 163, 120, 0.35);
  padding-left: 1.25rem;
}

.metric-value {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  font-weight: 600;
  color: var(--bronze-light);
  line-height: 1.05;
}

.metric-label {
  display: block;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.72);
  margin-top: 0.25rem;
}

/* ============================================
   SHARED SECTION STYLES
   ============================================ */

section {
  padding: clamp(4.5rem, 7vw, 6.5rem) 0;
}

.section-head {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 1.5rem;
  align-items: start;
  margin-bottom: 3rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--line);
}

.section-head-dark {
  border-bottom-color: var(--line-dark);
}

.section-index {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--bronze);
  line-height: 1;
  padding-top: 0.35rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.6vw, 2.85rem);
  font-weight: 600;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 0.45rem;
}

.section-subtitle {
  color: var(--muted);
  max-width: 52ch;
  font-size: 0.98rem;
}

.section-head-dark .section-title {
  color: var(--white);
}

.section-head-dark .section-subtitle {
  color: rgba(255, 255, 255, 0.68);
}

/* ============================================
   ABOUT & INSTAGRAM
   ============================================ */

.about {
  background: var(--white);
}

.about-layout {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
}

.about-label-col .section-index {
  display: block;
  margin-bottom: 0.75rem;
}

.lawyer-signature {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
  color: var(--muted);
}

.lawyer-signature strong {
  color: var(--ink);
  font-weight: 600;
}

.editorial-quote {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-style: italic;
  line-height: 1.35;
  color: var(--ink);
  margin-bottom: 1.75rem;
}

.about-paragraphs p {
  color: var(--muted);
  margin-bottom: 1.1rem;
  max-width: 60ch;
}

.instagram-strip {
  margin-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.2rem 1.5rem;
  background: var(--stone);
  border-left: 3px solid var(--bronze);
}

.instagram-strip-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.ig-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--basalt);
  color: var(--white);
}

.ig-icon svg {
  width: 19px;
  height: 19px;
}

.instagram-strip small {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--bronze);
}

.instagram-strip strong {
  font-size: 1.05rem;
  color: var(--ink);
}

.ig-cta {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink);
}

.instagram-strip:hover {
  background: var(--stone-dark);
}

/* ============================================
   SITUATIONS (OPEN HAIRLINE LIST)
   ============================================ */

.situations-section {
  background: var(--stone);
}

.situations-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 4rem;
}

.situations-list li {
  display: flex;
  align-items: baseline;
  gap: 1.1rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
  font-weight: 500;
  color: var(--ink);
}

.situations-list li span {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--bronze);
}

/* ============================================
   PRACTICE AREAS (OPEN ACCORDION — SEM CAIXAS)
   ============================================ */

.practice-areas {
  background: var(--white);
}

.accordion {
  max-width: 920px;
}

details {
  border-bottom: 1px solid var(--line);
}

details:first-child {
  border-top: 1px solid var(--line);
}

summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.45rem 0;
  font-size: 1.12rem;
  font-weight: 500;
  color: var(--ink);
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--bronze);
  line-height: 1;
}

details[open] summary::after {
  content: '\2212';
}

.acc-title {
  display: inline-flex;
  align-items: baseline;
  gap: 1.25rem;
}

.acc-num {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--bronze);
}

.acc-body {
  padding: 0 0 1.5rem 2.35rem;
  color: var(--muted);
}

.faq-list .acc-body {
  padding-left: 0;
}

.acc-body p {
  margin-bottom: 0.75rem;
  max-width: 62ch;
}

.acc-body ul {
  padding-left: 1.2rem;
  display: grid;
  gap: 0.35rem;
}

/* ============================================
   PROCESS BAND (COMO FUNCIONA O ATENDIMENTO)
   ============================================ */

.process {
  background: var(--basalt);
  color: var(--white);
}

.steps-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.25rem;
}

.steps-grid li {
  border-top: 1px solid rgba(191, 163, 120, 0.45);
  padding-top: 1.35rem;
}

.step-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--bronze-light);
  line-height: 1;
  margin-bottom: 0.85rem;
}

.steps-grid h3 {
  font-size: 1.06rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.45rem;
}

.steps-grid p {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.7);
}

/* ============================================
   FAQ
   ============================================ */

.faq {
  background: var(--stone);
}

/* ============================================
   CONTACT (NO MAP)
   ============================================ */

.contact {
  background: var(--white);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
}

.contact-form-col .section-index {
  display: block;
  margin-bottom: 0.5rem;
}

.contact-form-col .section-subtitle {
  margin-bottom: 2rem;
}

.contact-form {
  display: grid;
  gap: 1.15rem;
}

.contact-form label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--ink);
}

.contact-form input:not([type=checkbox]),
.contact-form textarea {
  font: inherit;
  color: var(--ink);
  background: var(--stone);
  border: 1px solid var(--line);
  padding: 0.85rem 1rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 1px solid var(--basalt);
  background: var(--white);
}

.contact-form .consent {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.84rem;
  color: var(--muted);
}

.contact-form .consent a {
  color: var(--ink);
  text-decoration: underline;
}

.contact-form button {
  justify-self: start;
}

.contact-details-col {
  padding-top: 1rem;
}

.contact-block {
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
}

.contact-block:last-child {
  border-bottom: 1px solid var(--line);
}

.contact-kicker {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 0.35rem;
}

.contact-value {
  font-size: 1.12rem;
  font-weight: 500;
  color: var(--ink);
}

.contact-value small {
  font-size: 0.86rem;
  color: var(--muted);
  font-weight: 400;
}

a.contact-value:hover {
  color: var(--bronze);
}

/* ============================================
   SECONDARY PAGES (POLÍTICA / TERMOS / ÉTICA)
   ============================================ */

.content-section {
  padding: 8.5rem 1.5rem 5rem;
  max-width: 860px;
  margin: auto;
}

.content-section h1 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  margin-bottom: 1.25rem;
  color: var(--ink);
}

.content-section h2 {
  font-size: 1.2rem;
  margin: 2rem 0 0.5rem;
  color: var(--ink);
}

.content-section p,
.content-section li {
  margin-bottom: 0.85rem;
  color: var(--muted);
}

.content-section ul {
  padding-left: 1.25rem;
}

.content-section a:not(.btn-primary) {
  color: var(--bronze);
  text-decoration: underline;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
  background: var(--basalt);
  color: rgba(255, 255, 255, 0.72);
  padding: 2.75rem 0;
  font-size: 0.85rem;
}

.footer-inner,
.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-logo {
  height: 44px;
  width: auto;
}

.footer-meta {
  font-size: 0.78rem;
  opacity: 0.72;
  margin-top: 0.2rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-link {
  color: var(--bronze-light);
}

.footer-link:hover {
  text-decoration: underline;
}

/* ============================================
   FLOATING DOCK & BACK TO TOP
   ============================================ */

.floating-dock {
  position: fixed;
  right: 1.4rem;
  bottom: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  z-index: 60;
}

.floating-instagram,
.floating-whatsapp {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.24);
}

.floating-instagram {
  background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.floating-instagram svg {
  width: 24px;
  height: 24px;
}

.floating-whatsapp {
  background: #25d366;
}

.floating-whatsapp .whats-icon {
  width: 26px;
  height: 26px;
}

.floating-instagram:hover,
.floating-whatsapp:hover {
  transform: translateY(-2px);
}

.back-to-top {
  display: none;
  position: fixed;
  left: 1.4rem;
  bottom: 1.4rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  font-size: 1.15rem;
  cursor: pointer;
  z-index: 60;
  align-items: center;
  justify-content: center;
}

.back-to-top.visible {
  display: flex;
}

.back-to-top:hover {
  background: var(--basalt);
  color: var(--white);
}

/* ============================================
   REVEAL ANIMATIONS
   ============================================ */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 960px) {
  .hero-layout,
  .about-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero-monolith {
    order: -1;
  }

  .hero-logo-large {
    width: 220px;
  }

  .metrics-grid,
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 820px) {
  .mobile-menu-toggle {
    display: flex;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: var(--stone);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem;
    gap: 1.15rem;
    border-bottom: 1px solid var(--line);
  }

  .nav-menu.active {
    display: flex;
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .situations-list,
  .steps-grid,
  .metrics-grid {
    grid-template-columns: 1fr;
  }

  .instagram-strip {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }

  html {
    scroll-behavior: auto;
  }
}
