/*
Theme Name: Diniz Advocacia
Theme URI: https://dinizadvocacia.com.br
Author: Diniz Advocacia
Description: Tema institucional para o escritório Diniz Advocacia
Version: 1.0
Text Domain: diniz-advocacia
*/

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap');

:root {
  --charcoal: #262f3d;
  --charcoal-light: #3a4556;
  --gold: #b39a5e;
  --gold-light: #c9b374;
  --cream: #f2f1ef;
  --cream-dark: #eae9e6;
  --white: #ffffff;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Montserrat', sans-serif;
  color: var(--charcoal);
  background: var(--cream);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
}

a { text-decoration: none; color: inherit; transition: color 0.3s; }
img { max-width: 100%; height: auto; }

/* ---------- HEADER ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(242, 241, 239, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #ddd;
  transition: all 0.5s;
}
.site-header .container {
  max-width: 1280px; margin: 0 auto;
  padding: 16px 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.site-header .logo img { height: 48px; width: auto; }
.site-header nav { display: flex; align-items: center; gap: 32px; }
.site-header nav a {
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.15em;
  font-weight: 600; color: var(--charcoal);
}
.site-header nav a:hover { color: var(--gold); }

/* ---------- HERO ---------- */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; text-align: center; color: var(--cream);
}
.hero .bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.hero .overlay { position: absolute; inset: 0; background: rgba(38,47,61,0.6); }
.hero .content { position: relative; z-index: 2; max-width: 720px; padding: 0 24px; }
.hero .divider { width: 48px; height: 1px; background: var(--gold); margin: 0 auto 24px; }
.hero p.tagline {
  font-size: 1.25rem; font-weight: 300; line-height: 1.7;
  letter-spacing: 0.03em; color: rgba(242,241,239,0.9);
}
.hero .brand { color: var(--gold); font-size: 11px; letter-spacing: 0.4em; text-transform: uppercase; font-weight: 500; margin-top: 32px; }

/* ---------- SECTIONS ---------- */
.section { padding: 112px 0; }
.section.alt { background: var(--cream-dark); }
.section .container { max-width: 1024px; margin: 0 auto; padding: 0 24px; }
.section-label { color: var(--gold); font-size: 11px; letter-spacing: 0.4em; text-transform: uppercase; font-weight: 500; margin-bottom: 16px; }
.section-divider { width: 48px; height: 1px; background: var(--gold); margin-bottom: 32px; }
.section h2 { font-size: 2.5rem; font-weight: 300; color: var(--charcoal); }
.section h2 strong { font-weight: 600; }

/* ---------- AREAS GRID ---------- */
.areas-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.area-card {
  background: var(--cream); padding: 32px; border: 1px solid #ddd;
  transition: border-color 0.5s;
}
.area-card:hover { border-color: var(--gold); }
.area-card h3 { font-size: 15px; font-weight: 600; margin-bottom: 16px; }
.area-card .line { width: 32px; height: 1px; background: var(--gold); margin-bottom: 16px; transition: width 0.5s; }
.area-card:hover .line { width: 64px; }
.area-card p { font-size: 14px; font-weight: 300; color: rgba(38,47,61,0.7); line-height: 1.7; text-align: justify; }

/* ---------- CONTACT ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 96px; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%; background: transparent; border: none; border-bottom: 1px solid #ddd;
  padding: 12px 0; font-family: 'Montserrat', sans-serif; font-size: 14px;
  font-weight: 300; color: var(--charcoal); outline: none; transition: border-color 0.3s;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus { border-color: var(--gold); }
.contact-form label {
  display: block; font-size: 11px; text-transform: uppercase;
  letter-spacing: 0.2em; font-weight: 500; margin-bottom: 8px;
}
.btn-submit {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--charcoal); color: var(--cream);
  padding: 16px 40px; border: none; cursor: pointer;
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.3em; font-weight: 500;
  font-family: 'Montserrat', sans-serif; transition: background 0.5s;
}
.btn-submit:hover { background: var(--gold); }

/* ---------- FOOTER ---------- */
.site-footer {
  background: var(--charcoal); color: var(--cream); padding: 40px 0 0;
}
.site-footer .container { max-width: 1024px; margin: 0 auto; padding: 0 24px; }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; margin-bottom: 32px; }
.footer-label { color: var(--gold); font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; font-weight: 500; margin-bottom: 24px; }
.site-footer p, .site-footer span, .site-footer a { font-size: 13px; font-weight: 300; color: rgba(242,241,239,0.7); }
.site-footer a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid var(--charcoal-light); padding: 24px 0;
  display: flex; justify-content: space-between; align-items: center;
}
.footer-bottom p { font-size: 11px; color: rgba(242,241,239,0.3); }

/* ---------- WHATSAPP FAB ---------- */
.whatsapp-fab {
  position: fixed; bottom: 32px; right: 32px; z-index: 50;
  width: 56px; height: 56px; border-radius: 50%;
  background: hsl(142,70%,45%); display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2); cursor: pointer; border: none;
  transition: transform 0.3s;
}
.whatsapp-fab:hover { transform: scale(1.1); }
.whatsapp-fab svg { width: 28px; height: 28px; fill: white; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {
  .areas-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .section { padding: 64px 0; }
  .section h2 { font-size: 1.75rem; }
  .hero p.tagline { font-size: 1rem; }
}
