/* ═══════════════════════════════════════
   TAC | ADVOGADOS — style.css
   ═══════════════════════════════════════ */

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

:root {
  --navy:       #1B2A4A;
  --navy-deep:  #0F1A2E;
  --gold:       #B8963E;
  --gold-light: #D4AF6A;
  --light:      #F7F5F0;
  --white:      #FFFFFF;
  --muted:      #6B7280;
  --text:       #1B2A4A;
  --radius:     3px;
  --transition: 0.25s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'EB Garamond', Georgia, serif;
  color: var(--text);
  background: var(--white);
  font-size: 16px;
  line-height: 1.6;
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--light); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }

/* ─────────────────── NAV ─────────────────── */
nav {
  background: var(--navy);
  padding: 0 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 200;
  min-height: 68px;
  box-shadow: 0 2px 24px rgba(0,0,0,0.35);
  transition: background var(--transition);
}
nav.scrolled { background: rgba(15,26,46,0.97); backdrop-filter: blur(8px); }
.nav-brand {
  color: white;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-family: 'Inter', sans-serif;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-brand span { color: var(--gold); }
.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}
.nav-links a {
  color: rgba(255,255,255,0.72);
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: color var(--transition);
  position: relative;
  padding-bottom: 4px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width var(--transition);
}
.nav-links a:hover { color: var(--gold); }
.nav-links a:hover::after { width: 100%; }
.lang-switcher { display: flex; gap: 4px; }
.lang-btn {
  background: none;
  border: 1px solid rgba(255,255,255,0.22);
  color: rgba(255,255,255,0.58);
  padding: 5px 12px;
  font-size: 10px;
  font-family: 'Inter', sans-serif;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all var(--transition);
  border-radius: 2px;
}
.lang-btn.active, .lang-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: white;
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 22px;
  cursor: pointer;
}

/* ─────────────────── HERO ─────────────────── */
.hero {
  background: var(--navy);
  min-height: calc(100vh - 68px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(0deg, transparent, transparent 59px, rgba(184,150,62,0.035) 60px),
              repeating-linear-gradient(90deg, transparent, transparent 59px, rgba(184,150,62,0.035) 60px);
  pointer-events: none;
  z-index: 0;
}
.hero-text {
  padding: 5rem 3.5rem 5rem 4.5rem;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-tag {
  color: var(--gold);
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 1.75rem;
  display: block;
}
.hero h1 {
  color: white;
  font-size: clamp(28px, 3.5vw, 50px);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  font-family: 'EB Garamond', serif;
}
.hero h1 em { color: var(--gold); font-style: italic; }
.hero-divider { width: 50px; height: 1px; background: var(--gold); margin-bottom: 2rem; }
.hero-sub {
  color: rgba(255,255,255,0.6);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  line-height: 1.85;
  max-width: 460px;
  margin-bottom: 2.5rem;
}
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }

.btn-primary {
  background: var(--gold);
  color: white;
  border: none;
  padding: 15px 38px;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  border-radius: var(--radius);
  display: inline-block;
  text-decoration: none;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); }
.btn-outline {
  background: none;
  color: white;
  border: 1px solid rgba(255,255,255,0.35);
  padding: 14px 38px;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition);
  border-radius: var(--radius);
  display: inline-block;
  text-decoration: none;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-1px); }

.hero-img-wrap {
  position: relative;
  overflow: hidden;
  min-height: 500px;
}
.hero-img-wrap::before {
  content: '';
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 140px;
  background: linear-gradient(90deg, var(--navy), transparent);
  z-index: 1;
}
.hero-portrait {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.hero-portrait-caption {
  position: absolute;
  bottom: 2.5rem; right: 2.5rem;
  z-index: 2;
  text-align: right;
  background: rgba(15,26,46,0.75);
  padding: 1rem 1.5rem;
  border-left: 2px solid var(--gold);
  backdrop-filter: blur(4px);
}
.hero-portrait-caption strong {
  color: white;
  font-family: 'EB Garamond', serif;
  font-size: 18px;
  display: block;
  margin-bottom: 4px;
}
.hero-portrait-caption span {
  color: var(--gold);
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.hero-caption-email {
  display: block;
  color: rgba(255,255,255,0.6);
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: 0.3px;
  text-decoration: none;
  margin-top: 6px;
  transition: color 0.2s;
}
.hero-caption-email:hover { color: var(--gold-light); }

/* ─────────────────── STATS BAR ─────────────────── */
.stats-bar {
  background: var(--gold);
  display: grid;
  grid-template-columns: repeat(4,1fr);
}
.stat-item {
  text-align: center;
  padding: 1.75rem 1rem;
  border-right: 1px solid rgba(255,255,255,0.2);
  transition: background var(--transition);
}
.stat-item:last-child { border-right: none; }
.stat-item:hover { background: rgba(255,255,255,0.08); }
.stat-num {
  color: white;
  font-size: 32px;
  font-weight: 400;
  font-family: 'EB Garamond', serif;
  display: block;
  line-height: 1;
}
.stat-label {
  color: rgba(255,255,255,0.85);
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-top: 6px;
  display: block;
}

/* ─────────────────── SECTION COMMON ─────────────────── */
section { padding: 5rem 3rem; }
.section-inner { max-width: 1060px; margin: 0 auto; }
.section-tag {
  color: var(--gold);
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 1rem;
  display: block;
}
.section-title {
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 1rem;
  line-height: 1.2;
  font-family: 'EB Garamond', serif;
}
.section-divider { width: 40px; height: 1px; background: var(--gold); margin-bottom: 2rem; }
.section-body {
  color: var(--muted);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  line-height: 1.85;
  max-width: 680px;
}

/* ─────────────────── ABOUT ─────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
  margin-top: 3rem;
}
.about-mvv { display: flex; flex-direction: column; gap: 2rem; }
.mvv-card { border-left: 2px solid var(--gold); padding-left: 1.5rem; }
.mvv-card h4 {
  color: var(--navy);
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
  font-weight: 600;
}
.mvv-card p {
  color: var(--muted);
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  line-height: 1.8;
}
.values-list { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 0.6rem; }
.value-tag {
  background: var(--light);
  color: var(--navy);
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  letter-spacing: 1px;
  padding: 5px 12px;
  border-radius: 2px;
  font-weight: 500;
}

.partner-card {
  background: var(--navy);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(27,42,74,0.18);
}
.partner-photo {
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.partner-info { padding: 2rem; }
.partner-name {
  font-size: 24px;
  font-weight: 400;
  color: white;
  font-family: 'EB Garamond', serif;
  margin-bottom: 4px;
}
.partner-role {
  color: var(--gold);
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 4px;
  display: block;
}
.partner-area {
  color: rgba(255,255,255,0.45);
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  margin-bottom: 1.25rem;
}
.partner-rule { width: 30px; height: 1px; background: rgba(184,150,62,0.4); margin-bottom: 1.25rem; }
.partner-desc {
  color: rgba(255,255,255,0.65);
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}
.partner-contacts { display: flex; flex-direction: column; gap: 8px; }
.partner-contact-link {
  color: rgba(255,255,255,0.7);
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color var(--transition);
}
.partner-contact-link i { color: var(--gold); font-size: 14px; }
.partner-contact-link:hover { color: var(--gold-light); }

/* ─────────────────── SERVICES ─────────────────── */
.services-bg { background: var(--light); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.service-card {
  background: white;
  overflow: hidden;
  border-top: 2px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  border-radius: var(--radius);
}
.service-card:hover {
  border-top-color: var(--gold);
  box-shadow: 0 6px 32px rgba(27,42,74,0.09);
  transform: translateY(-2px);
}
.service-card-img { width: 100%; height: 170px; object-fit: cover; display: block; }
.service-body { padding: 1.75rem 2rem 2rem; }
.service-icon-row { display: flex; align-items: center; gap: 12px; margin-bottom: 1.25rem; }
.service-icon {
  width: 38px; height: 38px;
  background: var(--navy);
  display: flex; align-items: center; justify-content: center;
  border-radius: 2px;
  flex-shrink: 0;
}
.service-icon i { color: var(--gold); font-size: 18px; }
.service-card h3 {
  color: var(--navy);
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
}
.service-list { list-style: none; }
.service-list li {
  color: var(--muted);
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  line-height: 2.1;
  padding-left: 1.1rem;
  position: relative;
}
.service-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 11px;
  top: 3px;
}

/* ─────────────────── EXPERIENCE ─────────────────── */
.exp-photo-strip {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1.5rem;
  margin-top: 3rem;
  margin-bottom: 1.5rem;
}
.exp-photo-strip img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  border-radius: var(--radius);
  transition: transform var(--transition);
}
.exp-photo-strip img:hover { transform: scale(1.02); }
/* 4-photo variant */
.exp-photo-strip--4 {
  grid-template-columns: repeat(4,1fr);
}
@media (max-width: 900px) {
  .exp-photo-strip--4 {
    grid-template-columns: repeat(2,1fr);
  }
}

.exp-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 1.5rem;
}
.exp-card {
  background: var(--light);
  padding: 2.5rem 2rem;
  text-align: center;
  border-radius: var(--radius);
  border-bottom: 2px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.exp-card:hover { border-bottom-color: var(--gold); box-shadow: 0 4px 20px rgba(27,42,74,0.07); }
.exp-num {
  font-size: 46px;
  color: var(--navy);
  font-weight: 400;
  line-height: 1;
  font-family: 'EB Garamond', serif;
  display: block;
}
.exp-label {
  color: var(--gold);
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 10px;
  display: block;
  font-weight: 500;
}
.exp-desc {
  color: var(--muted);
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  margin-top: 8px;
  line-height: 1.6;
}

/* ─────────────────── CONTACT ─────────────────── */
.contact-bg { background: var(--navy); }
.contact-bg .section-title { color: white; }
.contact-bg .section-tag { color: var(--gold-light); }
.contact-bg .section-divider { background: var(--gold); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  margin-top: 3rem;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 2rem;
}
.contact-item i { color: var(--gold); font-size: 18px; margin-top: 3px; flex-shrink: 0; }
.contact-item h4 {
  color: rgba(255,255,255,0.45);
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 5px;
  font-weight: 500;
}
.contact-item p {
  color: rgba(255,255,255,0.8);
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  line-height: 1.8;
}
.contact-item a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  transition: color var(--transition);
}
.contact-item a:hover { color: var(--gold-light); }
.contact-intro {
  color: rgba(255,255,255,0.65);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  line-height: 1.85;
  margin-bottom: 2rem;
}

/* Contact form */
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.contact-form input,
.contact-form textarea {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius);
  padding: 12px 16px;
  color: white;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  transition: border-color var(--transition);
  resize: vertical;
  outline: none;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: rgba(255,255,255,0.35); }
.contact-form input:focus,
.contact-form textarea:focus { border-color: var(--gold); }
.contact-form .btn-primary { align-self: flex-start; }

/* ─────────────────── FOOTER ─────────────────── */
footer { background: var(--navy-deep); }
.footer-inner {
  max-width: 1060px;
  margin: 0 auto;
  padding: 3rem 3rem 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 3rem;
  border-bottom: 1px solid rgba(184,150,62,0.15);
}
.footer-logo {
  color: white;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.5rem;
}
.footer-logo span { color: var(--gold); }
.footer-tagline {
  color: rgba(255,255,255,0.4);
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: 2px;
  font-style: italic;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  letter-spacing: 1px;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--gold-light); }
.footer-contact p {
  color: rgba(255,255,255,0.5);
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  line-height: 1.9;
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-contact i { color: var(--gold); font-size: 13px; flex-shrink: 0; }
.footer-bottom {
  text-align: center;
  padding: 1.25rem 3rem;
  color: rgba(255,255,255,0.25);
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: 0.5px;
}

/* ─────────────────── TOAST ─────────────────── */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--navy);
  color: white;
  border-left: 3px solid var(--gold);
  padding: 1rem 1.5rem;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  border-radius: var(--radius);
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s, transform 0.3s;
  pointer-events: none;
  z-index: 500;
}
.toast.show { opacity: 1; transform: translateY(0); }

/* ─────────────────── RESPONSIVE ─────────────────── */
@media (max-width: 900px) {
  .about-grid,
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
  nav { padding: 0.75rem 1.25rem; flex-wrap: wrap; gap: 0.5rem; }
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
    padding: 1rem 0 0.5rem;
    order: 4;
  }
  .nav-links.open { display: flex; }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-img-wrap { height: 340px; }
  .hero-img-wrap::before { display: none; }
  .hero-text { padding: 3rem 1.5rem; }
  section { padding: 3.5rem 1.25rem; }
  .stats-bar { grid-template-columns: repeat(2,1fr); }
  .stat-item { border-bottom: 1px solid rgba(255,255,255,0.1); }
  .services-grid,
  .exp-photo-strip,
  .exp-grid { grid-template-columns: 1fr; }
  .footer-inner { padding: 2rem 1.25rem 1.5rem; }
  .footer-bottom { padding: 1rem 1.25rem; }
}
