/* ========================================
   MAROCA BOVARETTO ADVOCACIA
   Paleta: #F5F3EE (creme), #142B3B (azul escuro), #A48C4B (dourado)
   ======================================== */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --cream: #F5F3EE;
  --dark: #142B3B;
  --dark-soft: #1a3548;
  --gold: #A48C4B;
  --gold-light: #c4aa6a;
  --text: #2c2c2c;
  --text-light: #5a5a5a;
  --white: #ffffff;
  --shadow: 0 4px 24px rgba(20,43,59,.08);
  --shadow-lg: 0 12px 40px rgba(20,43,59,.12);
  --radius: 12px;
  --transition: .3s cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Cormorant Garamond', Georgia, serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color var(--transition); }
ul { list-style: none; }

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

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  line-height: 1.2;
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.5rem); }

.section-label {
  font-family: 'Outfit', sans-serif;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
  display: inline-block;
}

.section-title {
  margin-bottom: 20px;
}

.section-desc {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  color: var(--text-light);
  max-width: 600px;
  line-height: 1.7;
}

/* --- Header / Navbar --- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(20,43,59,.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(164,140,75,.15);
  transition: background var(--transition);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.navbar-logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 64px;
  width: auto;
}

.nav-links {
  display: none;
  gap: 32px;
}

.nav-links a {
  font-family: 'Outfit', sans-serif;
  font-size: .85rem;
  font-weight: 500;
  color: rgba(245,243,238,.8);
  letter-spacing: .5px;
  transition: color var(--transition);
}

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

.nav-cta {
  display: none;
}

.nav-cta a {
  font-family: 'Outfit', sans-serif;
  font-size: .85rem;
  font-weight: 600;
  color: var(--dark);
  background: var(--gold);
  padding: 10px 24px;
  border-radius: 6px;
  transition: background var(--transition), transform var(--transition);
}

.nav-cta a:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
  z-index: 1001;
}

.hamburger span {
  width: 24px; height: 2px;
  background: var(--cream);
  transition: var(--transition);
  border-radius: 2px;
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0; right: -100%;
  width: 80%; max-width: 360px;
  height: 100vh; height: 100dvh;
  background: var(--dark);
  z-index: 999;
  transition: right var(--transition);
  padding: 100px 40px 40px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.mobile-menu.active { right: 0; }

.mobile-menu a {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  color: var(--cream);
  padding: 16px 0;
  border-bottom: 1px solid rgba(245,243,238,.08);
  display: block;
  transition: color var(--transition), padding-left var(--transition);
}

.mobile-menu a:hover {
  color: var(--gold);
  padding-left: 8px;
}

.mobile-menu .mobile-cta {
  margin-top: 32px;
  display: inline-block;
  text-align: center;
  background: var(--gold);
  color: var(--dark);
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 8px;
  border-bottom: none;
}

.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.mobile-overlay.active {
  opacity: 1;
  pointer-events: all;
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  background: var(--dark);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../img/equipe.jpg');
  background-size: cover;
  background-position: center 30%;
  opacity: .25;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20,43,59,.6) 0%, rgba(20,43,59,.9) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 120px 0 80px;
  max-width: 680px;
}

.hero-badge {
  font-family: 'Outfit', sans-serif;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-badge::before {
  content: '';
  width: 32px; height: 1px;
  background: var(--gold);
}

.hero h1 {
  color: var(--cream);
  margin-bottom: 24px;
  font-size: clamp(2.2rem, 6vw, 3.6rem);
}

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

.hero-desc {
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  color: rgba(245,243,238,.7);
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 520px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.btn-primary {
  font-family: 'Outfit', sans-serif;
  font-size: .9rem;
  font-weight: 600;
  color: var(--dark);
  background: var(--gold);
  padding: 14px 32px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: background var(--transition), transform var(--transition);
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}

.btn-outline {
  font-family: 'Outfit', sans-serif;
  font-size: .9rem;
  font-weight: 500;
  color: var(--cream);
  border: 1px solid rgba(245,243,238,.3);
  padding: 14px 32px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: border-color var(--transition), color var(--transition);
  background: transparent;
  cursor: pointer;
}

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

/* --- Sections shared --- */
.section {
  padding: 80px 0;
}

.section-dark {
  background: var(--dark);
  color: var(--cream);
}

.section-dark .section-desc {
  color: rgba(245,243,238,.65);
}

.section-cream {
  background: var(--cream);
}

/* --- Áreas de Atuação --- */
.areas-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 40px;
}

.area-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid rgba(20,43,59,.04);
}

.area-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.area-icon {
  width: 48px; height: 48px;
  background: rgba(164,140,75,.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.area-icon svg {
  width: 24px; height: 24px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.5;
}

.area-card h3 {
  margin-bottom: 12px;
  color: var(--dark);
}

.area-card p {
  font-family: 'Outfit', sans-serif;
  font-size: .92rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* --- Diferenciais --- */
.diff-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-top: 40px;
}

.diff-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.diff-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  min-width: 48px;
}

.diff-item h3 {
  color: var(--cream);
  margin-bottom: 8px;
  font-size: 1.15rem;
}

.diff-item p {
  font-family: 'Outfit', sans-serif;
  font-size: .9rem;
  color: rgba(245,243,238,.6);
  line-height: 1.7;
}

/* --- Equipe --- */
.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-top: 40px;
}

.team-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition);
}

.team-card:hover { transform: translateY(-4px); }

.team-photo {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: center 20%;
}

.team-info {
  padding: 24px;
}

.team-info h3 {
  color: var(--dark);
  margin-bottom: 4px;
}

.team-role {
  font-family: 'Outfit', sans-serif;
  font-size: .85rem;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 4px;
}

.team-oab {
  font-family: 'Outfit', sans-serif;
  font-size: .8rem;
  color: var(--text-light);
}

.team-desc {
  font-family: 'Outfit', sans-serif;
  font-size: .88rem;
  color: var(--text-light);
  margin-top: 12px;
  line-height: 1.6;
}

/* --- Depoimentos / Reviews --- */
.reviews-wrapper {
  margin-top: 40px;
}

/* --- Instagram --- */
.instagram-wrapper {
  margin-top: 40px;
}

/* --- Contato --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-top: 40px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

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

.contact-icon {
  width: 44px; height: 44px;
  min-width: 44px;
  background: rgba(164,140,75,.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-icon svg {
  width: 20px; height: 20px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.5;
}

.contact-item h4 {
  font-family: 'Outfit', sans-serif;
  font-size: .85rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 4px;
}

.contact-item p,
.contact-item a {
  font-family: 'Outfit', sans-serif;
  font-size: .9rem;
  color: var(--text-light);
  line-height: 1.5;
}

.contact-item a:hover { color: var(--gold); }

.contact-map {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.contact-map iframe {
  width: 100%;
  height: 320px;
  border: 0;
}

/* --- CTA Section --- */
.cta-section {
  background: var(--dark);
  text-align: center;
  padding: 80px 0;
}

.cta-section h2 {
  color: var(--cream);
  margin-bottom: 16px;
}

.cta-section p {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  color: rgba(245,243,238,.6);
  max-width: 520px;
  margin: 0 auto 32px;
}

/* --- Footer --- */
.footer {
  background: #0d1f2b;
  color: rgba(245,243,238,.5);
  padding: 48px 0 24px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(245,243,238,.08);
  margin-bottom: 24px;
}

.footer-brand h3 {
  font-size: 1.2rem;
  color: var(--cream);
  margin-bottom: 12px;
}

.footer-brand span { color: var(--gold); }

.footer-logo-img {
  height: 80px;
  width: auto;
  margin-bottom: 16px;
}

.footer-brand p {
  font-family: 'Outfit', sans-serif;
  font-size: .85rem;
  line-height: 1.7;
  max-width: 320px;
}

.footer-links h4 {
  font-family: 'Outfit', sans-serif;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.footer-links a {
  font-family: 'Outfit', sans-serif;
  font-size: .88rem;
  color: rgba(245,243,238,.5);
  display: block;
  padding: 6px 0;
  transition: color var(--transition);
}

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

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.footer-social a {
  width: 40px; height: 40px;
  border-radius: 8px;
  background: rgba(245,243,238,.06);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}

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

.footer-social svg {
  width: 18px; height: 18px;
  fill: var(--cream);
}

.footer-bottom {
  font-family: 'Outfit', sans-serif;
  font-size: .75rem;
  text-align: center;
  line-height: 1.8;
}

.footer-bottom a { color: var(--gold); }
.footer-bottom a:hover { text-decoration: underline; }

/* --- WhatsApp Float --- */
.whatsapp-float {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 900;
  width: 56px; height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,.4);
  transition: transform var(--transition), box-shadow var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37,211,102,.5);
}

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

/* --- Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}

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

/* --- Responsive --- */
@media (min-width: 640px) {
  .areas-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .diff-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 960px) {
  .nav-links { display: flex; }
  .nav-cta { display: block; }
  .hamburger { display: none; }

  .hero-content { padding: 160px 0 120px; }

  .section { padding: 100px 0; }

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

  .footer-top { grid-template-columns: 1.4fr 1fr 1fr; }

  .contact-map iframe { height: 400px; }
}
