/*
Theme Name: MTR Advocacia Premium
Theme URI: https://marcotulioribeiro.com.br
Author: Marco Túlio Ribeiro
Description: Tema WordPress premium, escuro e responsivo para advocacia trabalhista e de família.
Version: 3.0
License: GNU General Public License v2 or later
Text Domain: mtr-premium
*/

/* =========================
   MTR ADVOCACIA — CSS PRONTO
   ========================= */

:root {
  --mtr-black: #120d0b;
  --mtr-black-2: #0b0b0b;
  --mtr-black-3: #17100e;
  --mtr-cream: #eee7de;
  --mtr-cream-2: #e8ded3;
  --mtr-white: #f7f1e8;
  --mtr-muted: #cdbfb2;
  --mtr-text: #211815;
  --mtr-brown: #9b633b;
  --mtr-brown-2: #b27646;
  --mtr-gold: #bd9360;
  --mtr-navy: #13284a;

  --mtr-title: Georgia, "Times New Roman", Times, serif;
  --mtr-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;

  --mtr-container: 1160px;
  --mtr-radius: 34px;
  --mtr-shadow: 0 22px 55px rgba(30, 22, 18, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--mtr-body);
  background: var(--mtr-cream);
  color: var(--mtr-text);
  overflow-x: hidden;
}

body.admin-bar .mtr-header {
  top: 32px;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.mtr-container {
  width: min(var(--mtr-container), calc(100% - 48px));
  margin: 0 auto;
}

/* HEADER */
.mtr-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(18, 13, 11, 0.94);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
}

.mtr-header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}

.mtr-brand {
  display: flex;
  align-items: center;
  gap: 15px;
  min-width: 0;
}

.mtr-brand-logo {
  width: 82px;
  height: auto;
  flex: 0 0 auto;
}

.mtr-brand-name {
  display: grid;
  gap: 3px;
  color: var(--mtr-white);
}

.mtr-brand-name strong {
  font-family: var(--mtr-title);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.mtr-brand-name span {
  color: #c7b6a5;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 11px;
}

.mtr-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  color: #e9ded3;
  font-size: 14px;
}

.mtr-menu a {
  opacity: .82;
  transition: .2s ease;
}

.mtr-menu a:hover {
  color: #fff;
  opacity: 1;
}

.mtr-header-btn {
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--mtr-brown);
  color: white;
  font-size: 13px;
  font-weight: 600;
  transition: .25s ease;
  white-space: nowrap;
}

.mtr-header-btn:hover {
  background: var(--mtr-brown-2);
}

/* HERO */
.mtr-hero {
  min-height: 76vh;
  display: grid;
  grid-template-columns: 1.47fr .92fr;
  background: var(--mtr-black);
  overflow: hidden;
}

.mtr-hero-left {
  position: relative;
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 20% 20%, rgba(155, 99, 59, .12), transparent 32%),
    linear-gradient(90deg, #120d0b 0%, #120d0b 68%, #1a1210 100%);
}

.mtr-hero-left::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -12%;
  width: 150px;
  height: 124%;
  border-right: 1.5px solid rgba(189, 147, 96, .45);
  transform: rotate(6deg);
  pointer-events: none;
}

.mtr-hero-content {
  width: min(760px, calc(100% - 64px));
  margin-left: auto;
  padding: 82px 56px 82px 24px;
}

.mtr-hero-kicker {
  margin-bottom: 18px;
  color: var(--mtr-gold);
  text-transform: uppercase;
  letter-spacing: .2em;
  font-size: 11px;
  font-weight: 600;
}

.mtr-hero h1 {
  margin: 0;
  color: var(--mtr-white);
  font-family: var(--mtr-title);
  font-size: clamp(44px, 6.4vw, 76px);
  line-height: .98;
  letter-spacing: -.045em;
  font-weight: 400;
}

.mtr-hero-subtitle {
  margin: 18px 0 0;
  color: #efe4d9;
  font-family: var(--mtr-title);
  font-size: clamp(19px, 2vw, 27px);
  line-height: 1.3;
}

.mtr-hero-text {
  max-width: 640px;
  margin: 24px 0 0;
  color: var(--mtr-muted);
  font-size: 17px;
  line-height: 1.75;
}

.mtr-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.mtr-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 24px;
  border-radius: 999px;
  background: var(--mtr-brown);
  color: #fff;
  font-size: 14px;
  font-weight: 650;
  transition: .25s ease;
  border: 0;
}

.mtr-btn:hover {
  background: var(--mtr-brown-2);
  transform: translateY(-1px);
}

.mtr-btn-outline {
  background: transparent;
  border: 1px solid rgba(255,255,255,.16);
  color: var(--mtr-white);
}

.mtr-btn-outline:hover {
  background: rgba(255,255,255,.06);
}

.mtr-hero-photo {
  position: relative;
  min-height: 540px;
  background: #302b2e;
  overflow: hidden;
}

.mtr-hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(18,13,11,.1), rgba(18,13,11,.24));
}

.mtr-hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* INTRO / ÁREAS */
.mtr-areas {
  padding: 86px 0 96px;
  background: var(--mtr-cream);
}

.mtr-section-heading {
  max-width: 820px;
  margin: 0 auto 46px;
  text-align: center;
}

.mtr-section-heading span {
  display: inline-block;
  margin-bottom: 13px;
  color: var(--mtr-brown);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.mtr-section-heading h2 {
  margin: 0;
  font-family: var(--mtr-title);
  font-weight: 400;
  font-size: clamp(32px, 4.1vw, 52px);
  line-height: 1.08;
  letter-spacing: -.04em;
}

.mtr-section-heading p {
  max-width: 720px;
  margin: 18px auto 0;
  color: #665950;
  line-height: 1.7;
  font-size: 16px;
}

.mtr-service-grid {
  display: grid;
  gap: 34px;
}

.mtr-service-block {
  display: grid;
  grid-template-columns: .44fr .56fr;
  min-height: 510px;
  border-radius: var(--mtr-radius);
  overflow: hidden;
  box-shadow: var(--mtr-shadow);
  border: 1px solid rgba(32,24,22,.09);
  background: white;
}

.mtr-service-block.reverse {
  grid-template-columns: .56fr .44fr;
}

.mtr-service-photo {
  min-height: 460px;
  position: relative;
  background: #2a2526;
  overflow: hidden;
}

.mtr-service-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: saturate(.96) contrast(1.02);
}

.mtr-service-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(18,13,11,.1), rgba(18,13,11,.34)),
    radial-gradient(circle at 50% 0%, rgba(189,147,96,.16), transparent 42%);
}

.mtr-service-content {
  position: relative;
  padding: 58px 62px;
  background: #0c0c0c;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mtr-service-content::before {
  content: "";
  position: absolute;
  top: 64px;
  left: 0;
  width: 3px;
  height: 104px;
  background: var(--mtr-brown);
}

.mtr-service-block.reverse .mtr-service-content::before {
  left: auto;
  right: 0;
}

.mtr-service-block.light .mtr-service-content {
  background: var(--mtr-cream-2);
  color: var(--mtr-text);
}

.mtr-service-kicker {
  display: block;
  margin-bottom: 18px;
  color: var(--mtr-gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
}

.mtr-service-content h3 {
  margin: 0;
  max-width: 680px;
  font-family: var(--mtr-title);
  font-size: clamp(32px, 4vw, 47px);
  line-height: 1.04;
  font-weight: 400;
  letter-spacing: -.04em;
}

.mtr-service-content p {
  margin: 22px 0 0;
  max-width: 620px;
  color: #ded1c4;
  font-size: 16px;
  line-height: 1.75;
}

.mtr-service-block.light .mtr-service-content p {
  color: #5f5148;
}

.mtr-service-list {
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.mtr-service-list li {
  position: relative;
  padding-left: 28px;
  color: #f4e9dd;
  line-height: 1.55;
}

.mtr-service-block.light .mtr-service-list li {
  color: #2b211d;
}

.mtr-service-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--mtr-brown);
}

.mtr-service-link {
  display: inline-flex;
  align-items: center;
  margin-top: 30px;
  width: fit-content;
  color: currentColor;
  font-weight: 750;
}

.mtr-service-link::after {
  content: "→";
  margin-left: 10px;
  color: var(--mtr-gold);
}

/* ETAPAS */
.mtr-steps {
  padding: 86px 0;
  background: var(--mtr-black);
  color: white;
}

.mtr-steps .mtr-section-heading h2 {
  color: white;
}

.mtr-steps .mtr-section-heading p {
  color: var(--mtr-muted);
}

.mtr-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.mtr-step-card {
  padding: 28px;
  border-radius: 26px;
  background: #1c1411;
  border: 1px solid rgba(255,255,255,.075);
  min-height: 210px;
}

.mtr-step-number {
  display: inline-flex;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  background: var(--mtr-brown);
  color: white;
  font-weight: 800;
  font-size: 13px;
  margin-bottom: 20px;
}

.mtr-step-card h3 {
  margin: 0 0 10px;
  font-family: var(--mtr-title);
  font-size: 23px;
  font-weight: 400;
}

.mtr-step-card p {
  margin: 0;
  color: #cfbfae;
  line-height: 1.65;
  font-size: 15px;
}

/* CTA */
.mtr-final-cta {
  padding: 76px 0;
  background: var(--mtr-cream);
}

.mtr-final-box {
  background: var(--mtr-black);
  border-radius: var(--mtr-radius);
  padding: 58px;
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  box-shadow: var(--mtr-shadow);
}

.mtr-final-box h2 {
  margin: 0;
  font-family: var(--mtr-title);
  font-weight: 400;
  font-size: clamp(30px, 4vw, 50px);
  letter-spacing: -.04em;
}

.mtr-final-box p {
  margin: 14px 0 0;
  color: var(--mtr-muted);
  line-height: 1.7;
}

/* FOOTER */
.mtr-footer {
  background: #0b0b0b;
  color: var(--mtr-muted);
  padding: 44px 0;
}

.mtr-footer strong {
  display: block;
  color: var(--mtr-white);
  font-family: var(--mtr-title);
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 8px;
}

.mtr-footer p {
  margin: 0;
  line-height: 1.65;
}

.mtr-footer-small {
  margin-top: 14px !important;
  color: #9f8f80;
  font-size: 13px;
}

/* RESPONSIVO */
@media (max-width: 1100px) {
  .mtr-menu {
    display: none;
  }

  .mtr-hero {
    grid-template-columns: 1fr;
  }

  .mtr-hero-left::after {
    display: none;
  }

  .mtr-hero-content {
    width: min(100%, calc(100% - 48px));
    margin: 0 auto;
    padding: 70px 0 46px;
  }

  .mtr-hero-photo {
    min-height: 390px;
    max-height: 470px;
  }

  .mtr-hero-photo img {
    object-position: center 18%;
  }

  .mtr-service-block,
  .mtr-service-block.reverse {
    grid-template-columns: 1fr;
  }

  .mtr-service-block.reverse .mtr-service-content {
    order: 2;
  }

  .mtr-service-block.reverse .mtr-service-photo {
    order: 1;
  }

  .mtr-service-photo {
    min-height: 330px;
  }

  .mtr-service-content::before,
  .mtr-service-block.reverse .mtr-service-content::before {
    left: 32px;
    right: auto;
    top: 0;
    width: 100px;
    height: 3px;
  }

  .mtr-steps-grid {
    grid-template-columns: 1fr 1fr;
  }

  .mtr-final-box {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 680px) {
  body.admin-bar .mtr-header {
    top: 46px;
  }

  .mtr-container {
    width: min(100%, calc(100% - 32px));
  }

  .mtr-header-btn {
    display: none;
  }

  .mtr-brand-logo {
    width: 66px;
  }

  .mtr-brand-name {
    display: none;
  }

  .mtr-header-inner {
    min-height: 68px;
  }

  .mtr-hero-content {
    width: min(100%, calc(100% - 32px));
    padding: 44px 0 36px;
  }

  .mtr-hero h1 {
    font-size: 48px;
  }

  .mtr-hero-subtitle {
    font-size: 20px;
  }

  .mtr-hero-text {
    font-size: 15.5px;
  }

  .mtr-hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .mtr-btn {
    width: 100%;
  }

  .mtr-hero-photo {
    min-height: 260px;
    max-height: 300px;
  }

  .mtr-areas,
  .mtr-steps,
  .mtr-final-cta {
    padding: 58px 0;
  }

  .mtr-section-heading {
    text-align: left;
    margin-bottom: 30px;
  }

  .mtr-service-photo {
    display: none;
  }

  .mtr-service-block {
    min-height: auto;
    border-radius: 26px;
  }

  .mtr-service-content {
    padding: 34px 26px;
  }

  .mtr-service-content h3 {
    font-size: 32px;
  }

  .mtr-steps-grid {
    grid-template-columns: 1fr;
  }

  .mtr-final-box {
    padding: 32px 26px;
  }
}


/* =========================
   BOTÕES WHATSAPP — VERDE
   ========================= */
.mtr-whatsapp-btn {
  background: #25D366 !important;
  color: #ffffff !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 14px 34px rgba(37, 211, 102, 0.22);
}

.mtr-whatsapp-btn:hover {
  background: #1ebe5d !important;
  color: #ffffff !important;
  transform: translateY(-1px);
}

.mtr-wa-icon {
  width: 19px;
  height: 19px;
  display: inline-block;
  flex: 0 0 auto;
}

.mtr-header-btn.mtr-whatsapp-btn {
  padding-left: 16px;
  padding-right: 18px;
}

@media (max-width: 680px) {
  .mtr-whatsapp-btn {
    width: 100%;
  }
}


/* ==========================================================
   AJUSTE FINAL — BOTÃO NOSSO WHATSAPP MENOR E VERDE
   ========================================================== */

/* Apaga qualquer estilo anterior que tenha deixado o ícone gigante */
.mtr-wa-icon {
  width: 0 !important;
  height: 0 !important;
  display: none !important;
}

.mtr-whatsapp-btn {
  background: #25D366 !important;
  color: #ffffff !important;
  border: 0 !important;
  border-radius: 999px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  white-space: nowrap !important;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.18) !important;
}

.mtr-whatsapp-btn:hover {
  background: #1ebe5d !important;
  color: #ffffff !important;
  transform: translateY(-1px);
}

.mtr-whatsapp-icon {
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  max-width: 18px !important;
  min-height: 18px !important;
  max-height: 18px !important;
  object-fit: contain !important;
  display: inline-block !important;
  flex: 0 0 18px !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* Botão do topo: menor, sem círculo exagerado */
.mtr-header-btn.mtr-whatsapp-btn {
  min-height: 38px !important;
  padding: 9px 15px !important;
  font-size: 13px !important;
  line-height: 1 !important;
}

/* Botão principal do hero */
.mtr-hero .mtr-btn.mtr-whatsapp-btn,
.mtr-final-box .mtr-btn.mtr-whatsapp-btn {
  min-height: 48px !important;
  padding: 13px 22px !important;
}

/* Evita quebra feia em duas linhas */
.mtr-whatsapp-btn br {
  display: none !important;
}

@media (max-width: 680px) {
  .mtr-whatsapp-btn {
    width: auto !important;
  }

  .mtr-hero .mtr-btn.mtr-whatsapp-btn,
  .mtr-final-box .mtr-btn.mtr-whatsapp-btn {
    width: 100% !important;
  }
}
