/* ============================================
   COLOR SYSTEM - LAW FIRM
   Blue palette: #0466c8 #0353a4 #023e7d #002855
   #001845 #001233 #33415c #5c677d #7d8597 #979dac
   ============================================ */

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

:root {
  --primary-color: #001845;
  --primary-light: #023e7d;
  --primary-dark: #001233;
  --primary-gold: #ffc300
  --accent-color: #0466c8;
  --secondary-color: #33415c;
  --text-dark: #001233;
  --text-medium: #33415c;
  --text-light: #5c677d;
  --text-muted: #7d8597;
  --border-color: #dce1e8;
  --bg-light: #f5f7fa;
  --bg-white: #ffffff;
  --icon-stroke: #33415c;
  --icon-stroke-hover: #001845;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  background: var(--bg-white);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Header ---- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: #001233;
  box-shadow: 0 1px 8px rgba(0, 24, 69, 0.06);
}

.header-top {
  height: 3px;
  background: var(--primary-color);
}


.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-dark);
}

.logo-circle {
  width: 42px;
  height: 42px;
  background: var(--primary-color);
  color: var(--bg-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 13px;
  font-family: 'Playfair Display', serif;
  letter-spacing: 0.5px;
}

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

.header-social {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-link {
  text-decoration: none;
  color: #ffffff;
  font-weight: 500;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.75px;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: #ffc300;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent-color);
}

.social-icon {
  color: var(--text-muted);
  text-decoration: none;
  display: flex;
  align-items: center;
  transition: color 0.3s ease;
}

.social-icon:hover {
  color: #ffc300;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  gap: 5px;
  padding: 4px;
}

.menu-toggle span {
  width: 24px;
  height: 4px;
  background: #ffc300;
  transition: all 0.3s ease;
  border-radius: 2px;
  transform-origin: center;
}

/* ---- Hero ---- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  //background: linear-gradient(160deg, var(--primary-light) 0%, var(--primary-color) 50%, var(--primary-dark) 100%);
  background: url('images/banner1.jpg') left top no-repeat,
   url('images/banner2.jpg') center top no-repeat,
   url('images/banner3.jpg') right top no-repeat;
   background-size: 34.3% auto, 34.3% auto, 34.3% auto;
  margin-top: 100px;
  padding: 0;
  max-height: 715px;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--bg-white);
  padding: 1rem;
  height: 100%;
  align-content: flex-end;
}


.hero-subtitle {
  font-size: 1rem;
  font-weight: 300;
  letter-spacing: 4px;
  margin-bottom: 1rem;
  opacity: 0.85;
  text-transform: uppercase;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 1.15;
}

/* ---- Sections ---- */
section {
  padding: 90px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 14px;
}

.title-underline {
  width: 60px;
  height: 3px;
  background: var(--accent-color);
  margin: 0 auto;
  border-radius: 2px;
}

/* ---- About / Quem Somos ---- */
.quem-somos {
  background: var(--bg-white);
}

.quem-somos-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.quem-somos-text{
  text-align: center;
}
.firm-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.firm-subtitle {
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 28px;
  font-size: 1.05rem;
}

.firm-description {
  color: var(--text-light);
  margin-bottom: 18px;
  line-height: 1.75;
  font-size: 0.975rem;
}

.quem-somos-values {
  display: grid;
  gap: 24px;
}

.value-card {
  padding: 28px 24px;
  background: var(--bg-light);
  border-radius: 8px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid transparent;
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0, 24, 69, 0.08);
  border-color: var(--border-color);
}

.value-icon {
  margin-bottom: 14px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.value-icon svg {
  width: 48px;
  height: 48px;
  stroke: var(--icon-stroke);
  stroke-width: 1.5;
  fill: none;
  transition: stroke 0.3s ease;
}

.value-card:hover .value-icon svg {
  stroke: var(--icon-stroke-hover);
}

.value-card h4 {
  font-size: 1.2rem;
  color: var(--text-dark);
  margin-bottom: 8px;
  font-family: 'Playfair Display', serif;
}

.value-card p {
  color: var(--text-light);
  font-size: 0.925rem;
  line-height: 1.6;
}

/* ---- Practice Areas ---- */
.areas-atuacao {
  background: var(--bg-light);
}

.areas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.area-card {
  background: var(--bg-white);
  padding: 36px 28px;
  border-radius: 8px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  border: 1px solid var(--border-color);
}

.area-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(0, 24, 69, 0.1);
  border-color: var(--accent-color);
}

.area-icon {
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.area-icon svg {
  width: 44px;
  height: 44px;
  stroke: var(--icon-stroke);
  stroke-width: 1.5;
  fill: none;
  transition: stroke 0.3s ease;
}
.area-icon img {
  width: 44px;
  height: 44px;
  stroke: var(--icon-stroke);
  stroke-width: 1.5;
  fill: none;
  transition: stroke 0.3s ease;
}

.area-card:hover .area-icon svg {
  stroke: var(--icon-stroke-hover);
}

.area-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.area-card p {
  color: var(--text-light);
  line-height: 1.7;
  font-size: 0.925rem;
}

/* ---- Team ---- */
.equipe {
  background: var(--bg-white);
}

.equipe-grid {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.equipe-card {
  background: var(--bg-white);
  border-radius: 10px;
  padding: 20px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  width: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid transparent;
  text-align: left;
}


.equipe-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(0, 24, 69, 0.1);
  border-color: var(--border-color);
}

.equipe-photo1 {
  flex: 1;
  display: flex;
  justify-content: center;
  margin-bottom: 0;
}
.equipe-photo2 {
  flex: 1;
  display: flex;
  justify-content: start;
  margin-bottom: 0;
  max-width: 434px;
}

.photo-placeholder {
  height: 650px;
  display: flex;
  align-items: center;
  mask-image: linear-gradient(to right, transparent, black 5rem);
}
.equipe-photo2 .photo-placeholder {
  flex: 1;
  display: flex;
  justify-content: start;
  margin-bottom: 0;
  max-width: 434px;
   mask-image: linear-gradient(to left, transparent, black 5rem);
}

.equipe-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  color: #ffc300;
  margin-bottom: 8px;
}
.equipe-content{
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: left;
  padding: 16px 16px;
  background: var(--primary-color);
  border-radius: 8px;
  text-align: justify;
}

.equipe-role {
  color: var(--bg-white);
  font-weight: 600;
  margin-bottom: 16px;
  font-size: 0.95rem;
  letter-spacing: 0.25px;
}

.equipe-bio {
  color: var(--bg-white);
  line-height: 1.8;
  margin-bottom: 20px;
  font-size: 0.95rem;
  max-width: 520px;
}

.equipe-contact a {
  color: var(--bg-white);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.equipe-contact a:hover {
  color: var(--bg-white);
  text-decoration: underline;
}

/* ---- FAQ ---- */
.faq {
  background: var(--bg-white);
}

.faq-accordion {
  max-width: 780px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 10px;
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  contain: layout style;
}

.faq-item:hover {
  border-color: var(--text-muted);
}

.faq-item.is-open {
  border-color: var(--accent-color);
  box-shadow: 0 3px 14px rgba(0, 24, 69, 0.06);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.125rem 1.375rem;
  background: var(--bg-white);
  border: none;
  font-family: 'Inter', sans-serif;
  font-size: 0.975rem;
  font-weight: 600;
  color: var(--text-dark);
  text-align: left;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
}

.faq-question:hover {
  background: var(--bg-light);
  color: var(--primary-color);
}

.faq-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  position: relative;
  background: var(--primary-color);
  border-radius: 3px;
  transition: transform 0.3s ease, background 0.3s ease;
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 2px;
  background: var(--bg-white);
  transform: translate(-50%, -50%);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.faq-icon::after {
  width: 2px;
  height: 10px;
}

.faq-item.is-open .faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

.faq-item.is-open .faq-question {
  color: var(--primary-color);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.is-open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-answer-inner {
  min-height: 0;
  overflow: hidden;
}

.faq-answer p {
  margin: 0;
  padding: 0.5rem 1.375rem 1.25rem;
  color: var(--text-light);
  line-height: 1.75;
  font-size: 0.925rem;
  border-top: 1px solid var(--border-color);
}

/* ---- Contact ---- */
.contato {
  background: var(--bg-light);
}

.contato-content {
  display: flex;
  justify-content: center;
}

.contato-info {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
  max-width: 720px;
}

.info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.info-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--border-color);
  border-radius: 8px;
  transition: border-color 0.3s ease;
}

.info-item:hover .info-icon {
  border-color: var(--accent-color);
}

.info-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--icon-stroke);
  stroke-width: 1.75;
  fill: none;
  transition: stroke 0.3s ease;
}

.info-item:hover .info-icon svg {
  stroke: var(--icon-stroke-hover);
}

.info-text h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.info-text p {
  color: var(--text-light);
  line-height: 1.7;
  font-size: 0.925rem;
}

/* ---- Footer ---- */
.footer {
  background: var(--primary-dark);
  color: var(--bg-white);
  padding: 36px 0;
}

.footer-content {
  text-align: center;
}

.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-logo .logo-circle {
  background: rgba(255, 255, 255, 0.12);
  color: var(--bg-white);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-logo .logo-text {
  color: var(--bg-white);
}

.footer-text {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.85rem;
}

/* ---- WhatsApp ---- */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 56px;
  height: 56px;
  background: #25D366;
  color: var(--bg-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 16px rgba(37, 211, 102, 0.35);
  z-index: 999;
  transition: all 0.3s ease;
  text-decoration: none;
  animation: pulse 2.5s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 5px 22px rgba(37, 211, 102, 0.5);
  background: #20BA5A;
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 3px 16px rgba(37, 211, 102, 0.35); }
  50% { box-shadow: 0 3px 22px rgba(37, 211, 102, 0.55); }
}

/* ---- Responsive ---- */
@media (max-width: 968px) {
  .hero{
    background: url('images/banner1.jpg') left top no-repeat,
                url('images/banner2.jpg') right top no-repeat;
   background-size: 51%, 51%;
   }

  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    flex-direction: column;
    background: var(--primary-color);
    width: 100%;
    padding: 2rem;
    box-shadow: 0 4px 16px rgba(0, 24, 69, 0.08);
    transition: left 0.3s ease;
    gap: 1.25rem;
  }

  .nav-menu.active {
    left: 0;
  }

  .header-social {
    margin-top: 0.5rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border-color);
  }

  .menu-toggle {
    display: flex;
  }

  .menu-toggle.active span:nth-child(1) {
    transform: rotate(46deg) translate(6px, 5px);
  }

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

  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 0.85rem;
  }
  .hero-image img {
  max-width: 300px;
  }
 
  .quem-somos-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .equipe-grid {
  flex-direction: column;
}

.equipe-card,
.equipe-card.reverse {
  flex-direction: row;
  text-align: center;
  padding: 20px 14px;
  align-items: start;
}

.equipe-photo {
  margin-bottom: 24px;
}

  .contato-info {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: 480px;
    background: url('images/banner1.jpg') center top no-repeat;
    background-size: contain;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 0.8rem;
    letter-spacing: 2px;
  }

  .section-title {
    font-size: 1.875rem;
  }
  .equipe-grid{
    align-items: center;
    max-width: 434px;
    margin: 0 auto;
  }
  .equipe-card, .equipe-card.reverse {
    gap: 24px;
    flex-direction: column;
    text-align: center;
    padding: 12px 8px;
    align-items: center;
  }
  .equipe-card {
    flex-direction: column-reverse;
  }
  .photo-placeholder {
    mask-image: linear-gradient(to bottom, transparent, black 5rem);;
  }
  .equipe-photo2 .photo-placeholder {
    mask-image: linear-gradient(to bottom, transparent, black 5rem);;
  }
  .areas-grid {
    grid-template-columns: 1fr;
  }

  section {
    padding: 64px 0;
  }
}

@media (max-width: 480px) {
  .logo-text {
    font-size: 15px;
  }

  .logo-circle {
    width: 38px;
    height: 38px;
    font-size: 12px;
  }

  .hero-title {
    font-size: 1.7rem;
  }

  .firm-name {
    font-size: 1.5rem;
  }

  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
  }

  .whatsapp-float svg {
    width: 24px;
    height: 24px;
  }
}
