/* GRPC static site — tokens alinhados a src/styles.css */

:root {
  --radius: 0.25rem;
  --navy: oklch(0.27 0.04 260);
  --wine: oklch(0.25 0.06 10);
  --slate-brand: oklch(0.45 0.03 255);
  --gold: oklch(0.71 0.12 80);
  --bone: oklch(0.95 0.01 80);
  --teal: oklch(0.74 0.14 175);
  --destructive: oklch(0.55 0.22 27);
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Jost", system-ui, sans-serif;
  --max: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  background: var(--bone);
  color: var(--navy);
  font-family: var(--font-body);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.01em;
}

::selection {
  background: var(--gold);
  color: var(--navy);
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

a {
  color: inherit;
}

.small-caps {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  font-weight: 500;
}

.gold-rule {
  width: 80px;
  height: 1px;
  background: var(--gold);
  border: 0;
}

.italic-gold {
  font-style: italic;
  color: var(--gold);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 50;
  padding: 0.5rem 0.75rem;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.875rem;
  text-decoration: none;
}

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

.wrap {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Top bar */
.topbar {
  background: var(--wine);
  color: var(--bone);
}

.topbar-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
}

.topbar-lang {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.topbar-lang a {
  text-decoration: none;
  color: rgb(245 245 240 / 0.6);
}

.topbar-lang a:hover {
  color: var(--bone);
}

.topbar-lang a.is-active {
  color: var(--gold);
}

.topbar-sep {
  color: rgb(245 245 240 / 0.3);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in oklch, var(--navy) 85%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgb(245 245 240 / 0.1);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: var(--bone);
}

.brand-mark {
  font-family: var(--font-display);
  font-size: 1.875rem;
  letter-spacing: -0.02em;
}

.brand-divider {
  display: none;
  width: 1px;
  height: 1.5rem;
  background: color-mix(in oklch, var(--gold) 60%, transparent);
}

.brand-tag {
  display: none;
  font-size: 10px;
  color: rgb(245 245 240 / 0.7);
}

@media (min-width: 640px) {
  .brand-divider,
  .brand-tag {
    display: block;
  }
}

.main-nav {
  display: none;
  align-items: center;
  gap: 2rem;
  font-size: 0.875rem;
  color: rgb(245 245 240 / 0.8);
}

.main-nav a {
  text-decoration: none;
  transition: color 0.2s;
}

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

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

.btn-outline {
  display: none;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 0.75rem;
  padding: 0.625rem 1rem;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 500;
  transition: background 0.2s, color 0.2s;
}

.btn-outline:hover {
  background: var(--gold);
  color: var(--navy);
}

@media (min-width: 768px) {
  .btn-outline {
    display: inline-flex;
  }
}

.btn-outline--inline {
  display: inline-flex;
}

/* Hero */
.hero {
  position: relative;
  background: var(--navy);
  color: var(--bone);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -10% 0 -10% 0;
  background-image: url("../assets/partners/JFB_8534.jpg");
  background-size: cover;
  background-position: center top;
  opacity: 0.14;
  pointer-events: none;
  transform: translate3d(0, var(--hero-parallax, 0px), 0) scale(1.12);
  transform-origin: center top;
  will-change: transform;
  transition: opacity 0.6s ease;
}

@media (prefers-reduced-motion: reduce) {
  .hero::before {
    transform: none;
    inset: 0;
  }
}

.hero-pattern {
  position: absolute;
  inset: 0 0 0 auto;
  width: 40%;
  opacity: 0.08;
  pointer-events: none;
  background-image: radial-gradient(circle at 30% 30%, var(--gold) 1px, transparent 1px),
    radial-gradient(circle at 70% 70%, var(--gold) 1px, transparent 1px);
  background-size: 44px 44px;
}

.hero-inner {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: 7rem 1.5rem 5rem;
}

@media (min-width: 768px) {
  .hero-inner {
    padding-top: 9rem;
    padding-bottom: 7rem;
  }
}

.hero-copy {
  max-width: 100%;
}

@media (min-width: 768px) {
  .hero-copy {
    max-width: 60%;
  }
}

.hero h1 {
  margin: 1.5rem 0 0;
  font-size: clamp(2.75rem, 5vw, 4.5rem);
  line-height: 1.05;
}

.hero-lead {
  margin-top: 2rem;
  max-width: 560px;
  font-size: 17px;
  line-height: 1.7;
  color: rgb(245 245 240 / 0.8);
}

.hero-actions {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
}

.hero-actions a.secondary {
  font-size: 0.875rem;
  color: var(--bone);
  text-decoration: none;
  transition: color 0.2s;
}

.hero-actions a.secondary:hover {
  color: var(--gold);
}

.hero-foot {
  margin-top: 5rem;
}

@media (min-width: 768px) {
  .hero-foot {
    margin-top: 7rem;
  }
}

.hero-foot hr {
  height: 1px;
  border: 0;
  background: color-mix(in oklch, var(--gold) 40%, transparent);
}

.hero-micro {
  margin-top: 1.25rem;
  font-size: 11px;
  color: rgb(245 245 240 / 0.6);
}

.hero-micro .dot {
  margin: 0 0.75rem;
  color: color-mix(in oklch, var(--gold) 60%, transparent);
}

/* Sections */
.section {
  padding: 7rem 0;
}

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

.section--bone {
  background: var(--bone);
  color: var(--navy);
}

.section--navy {
  background: var(--navy);
  color: var(--bone);
}

.section--wine {
  background: var(--wine);
  color: var(--bone);
}

.section h2 {
  margin: 1rem 0 0;
  font-size: clamp(2.25rem, 4vw, 3rem);
}

.section--navy h2 {
  color: var(--bone);
}

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

.section--bone .eyebrow {
  color: var(--gold);
}

.mt-rule {
  margin-top: 2rem;
}

/* Pillars grid */
.pillars-grid {
  margin-top: 4rem;
  display: grid;
  gap: 1px;
  background: color-mix(in oklch, var(--slate-brand) 20%, transparent);
}

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

.pillar-card {
  background: var(--bone);
  padding: 2.5rem;
}

.pillar-card .numeral {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 3.75rem;
  line-height: 1;
  color: var(--gold);
}

.pillar-card h3 {
  margin: 1.5rem 0 0;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 500;
}

.pillar-card p {
  margin: 1rem 0 0;
  font-size: 17px;
  line-height: 1.7;
  color: var(--slate-brand);
}

/* Practice areas */
.areas-grid {
  margin-top: 4rem;
  display: grid;
  gap: 1.5rem;
}

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

.area-card {
  background: var(--wine);
  border: 1px solid color-mix(in oklch, var(--slate-brand) 40%, transparent);
  padding: 2rem;
  transition: border-color 0.3s, transform 0.3s;
}

.area-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
}

.area-card .numeral {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.875rem;
  color: var(--gold);
}

.area-card h3 {
  margin: 1.25rem 0 0;
  font-size: 19px;
  font-weight: 500;
  line-height: 1.3;
}

.area-card p {
  margin: 0.75rem 0 0;
  font-size: 16px;
  line-height: 1.7;
  color: rgb(245 245 240 / 0.7);
}

.area-tag {
  margin-top: 1.5rem;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 500;
  color: color-mix(in oklch, var(--gold) 80%, transparent);
}

.area-tag--teal {
  color: var(--teal);
}

/* Partners */
.partners-grid {
  margin-top: 4rem;
  display: grid;
  gap: 2rem;
}

@media (min-width: 640px) {
  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.partner-card .photo-wrap {
  aspect-ratio: 2 / 3;
  background: var(--navy);
  overflow: hidden;
  border: 1px solid color-mix(in oklch, var(--slate-brand) 30%, transparent);
}

.partner-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(1);
  transition: filter 0.7s ease-out;
}

.partner-card:hover img {
  filter: grayscale(0);
}

.partner-card h3 {
  margin: 1.25rem 0 0;
  font-size: 22px;
}

.partner-card .role {
  margin: 0.25rem 0 0;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--slate-brand);
}

.partner-card .areas {
  margin: 0.5rem 0 0;
  font-size: 16px;
  font-style: italic;
  color: var(--slate-brand);
}

.partner-card a.mail {
  margin-top: 0.5rem;
  display: inline-block;
  font-size: 0.875rem;
  color: var(--gold);
}

.partner-card a.mail:hover {
  text-decoration: underline;
}

/* Stats */
.stats-grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  text-align: center;
}

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

.stat-num {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 6vw, 4.5rem);
  line-height: 1;
  color: var(--gold);
}

.stat-label {
  margin-top: 1rem;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgb(245 245 240 / 0.8);
}

.section--wine.stats-section {
  padding: 5rem 0;
}

/* FAQ */
.faq-wrap {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.faq details {
  border-bottom: 1px solid color-mix(in oklch, var(--slate-brand) 30%, transparent);
}

.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 1.5rem 0;
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--navy);
  transition: color 0.2s;
}

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

.faq summary::after {
  content: "";
  float: right;
  width: 0.5rem;
  height: 0.5rem;
  margin-top: 0.35rem;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(45deg);
  transition: transform 0.2s;
}

.faq details[open] summary::after {
  transform: rotate(-135deg);
  margin-top: 0.5rem;
}

.faq summary:hover {
  color: var(--gold);
}

.faq .answer {
  padding: 0 0 1.5rem;
  font-size: 15px;
  line-height: 1.75;
  color: var(--slate-brand);
}

/* Contact */
.contact-grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  gap: 4rem;
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 2fr 3fr;
  }
}

.contact-aside address {
  font-style: normal;
  margin-top: 2.5rem;
  font-size: 14px;
  line-height: 1.9;
  color: rgb(245 245 240 / 0.8);
}

.contact-aside address a {
  color: var(--gold);
}

.contact-aside address a:hover {
  text-decoration: underline;
}

.form-field {
  margin-bottom: 1.5rem;
}

.form-field label {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgb(245 245 240 / 0.6);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgb(245 245 240 / 0.3);
  padding: 0.75rem 0;
  color: var(--bone);
  font-family: inherit;
  font-size: 1rem;
  outline: none;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-bottom-color: var(--gold);
}

.form-field select option {
  background: var(--navy);
}

.form-row {
  display: grid;
  gap: 1.5rem;
}

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

.form-consent {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: 13px;
  color: rgb(245 245 240 / 0.7);
  padding-top: 0.5rem;
}

.form-consent input {
  margin-top: 0.25rem;
  accent-color: var(--gold);
}

.form-error {
  font-size: 0.75rem;
  color: var(--destructive);
  margin-top: 0.25rem;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-submit {
  margin-top: 0.5rem;
  border: 1px solid var(--gold);
  background: transparent;
  color: var(--gold);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 500;
  padding: 0.875rem 1.5rem;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s, color 0.2s;
}

.form-submit:hover:not(:disabled) {
  background: var(--gold);
  color: var(--navy);
}

.form-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.form-success {
  border: 1px solid color-mix(in oklch, var(--gold) 40%, transparent);
  padding: 3rem;
  text-align: center;
}

.form-success p {
  margin: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.875rem;
  line-height: 1.35;
  color: var(--gold);
}

/* Footer */
.site-footer {
  background: linear-gradient(180deg, var(--navy) 0%, var(--wine) 100%);
  color: var(--bone);
  padding: 4rem 0 1.5rem;
}

.footer-top {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .footer-top {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 3rem;
  letter-spacing: -0.02em;
}

.footer-tag {
  margin-top: 0.75rem;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgb(245 245 240 / 0.6);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  font-size: 0.875rem;
}

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

.footer-col h4 {
  margin: 0;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gold);
  font-family: var(--font-body);
  font-weight: 500;
}

.footer-col ul {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.footer-col li {
  margin-bottom: 0.5rem;
}

.footer-col a {
  color: rgb(245 245 240 / 0.7);
  text-decoration: none;
  transition: color 0.2s;
}

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

.footer-hr {
  max-width: var(--max);
  margin: 2.5rem auto 0;
  height: 1px;
  border: 0;
  background: color-mix(in oklch, var(--gold) 30%, transparent);
}

.footer-bottom {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.5rem 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 11px;
  color: rgb(245 245 240 / 0.5);
}

@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.text-muted-footer {
  margin: 0;
}
