/* ANDRÉ DIAS ADVOGADOS - CSS COMPLETO */

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

/* VARIÁVEIS */
:root {
  --primary-blue: #1a365d;
  --professional-gray: #4a5568;
  --prestige-gold: #d4a574;
  --conversion-orange: #f97316;
  --orange-hover: #ea580c;
  --success-green: #10b981;
  --whatsapp-green: #25d366;
  --urgent-red: #dc2626;
  --white: #ffffff;
  --ice-gray: #f7fafc;
  --graphite: #1a202c;
  --light-border: #e2e8f0;
  --medium-border: #cbd5e1;
  --spacing-8: 8px;
  --spacing-12: 12px;
  --spacing-16: 16px;
  --spacing-20: 20px;
  --spacing-24: 24px;
  --spacing-32: 32px;
  --spacing-40: 30px;
  --spacing-48: 48px;
  --spacing-60: 60px;
  --spacing-80: 80px;
  --spacing-100: 100px;
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
  --container-max: 1200px;
  --border-radius-sm: 8px;
  --border-radius-md: 12px;
  --border-radius-lg: 16px;
  --border-radius-full: 24px;
  --transition-speed: 0.3s;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--graphite);
  background-color: var(--primary-blue);
}

.section,
.section--alternate,
.footer {
  background-color: var(--white);
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
}

ul {
  list-style: none;
}

/* TIPOGRAFIA */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--graphite);
  margin-bottom: var(--spacing-16);
}

h1 {
  font-size: 32px;
}
h2 {
  font-size: 28px;
}
h3 {
  font-size: 20px;
}
h4 {
  font-size: 18px;
}

p {
  margin-bottom: var(--spacing-16);
  color: var(--professional-gray);
}

strong,
b {
  font-weight: 600;
  color: var(--graphite);
}

@media (min-width: 768px) {
  h1 {
    font-size: 48px;
  }
  h2 {
    font-size: 36px;
  }
  h3 {
    font-size: 24px;
  }
  h4 {
    font-size: 20px;
  }
  p {
    font-size: 18px;
  }
}

/* COOKIE BANNER */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #1a365d;
  color: #ffffff;
  padding: 20px;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
  z-index: 9999;
}

.cookie-banner__content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.cookie-banner__content strong {
  font-weight: 600;
  font-size: 16px;
  color: black;
}

.cookie-banner__content p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #ffffff;
}

.cookie-banner p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
}

.cookie-banner a {
  color: var(--prestige-gold);
  text-decoration: underline;
}

.cookie-banner__actions {
  display: flex;
  gap: 12px;
}

.cookie-btn {
  padding: 10px 18px;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  border: none;
}

.cookie-btn--primary {
  background-color: var(--conversion-orange);
  color: white;
}

.cookie-btn--secondary {
  background-color: transparent;
  border: 1px solid white;
  color: white;
}

@media (max-width: 768px) {
  .cookie-banner__content {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* LAYOUT */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--spacing-24);
}

.section {
  padding: var(--spacing-60) 0;
}

.section--alternate {
  background-color: var(--ice-gray);
}

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

.mb-24 {
  margin-bottom: var(--spacing-24);
}
.mb-32 {
  margin-bottom: var(--spacing-32);
}
.mb-48 {
  margin-bottom: var(--spacing-48);
}

/* HEADER */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--white);
  border-bottom: 1px solid var(--light-border);
  padding: var(--spacing-16) 0;
  transition:
    transform 0.35s ease,
    box-shadow 0.3s ease;
}

.header--hidden {
  transform: translateY(-100%);
}

/* Sombra quando aparece após scroll */
.header--scrolled {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.header--scrolled {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.header__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--spacing-16);
}

.header__logo-container a {
  display: inline-block;
}
.header__logo {
  cursor: pointer;
  width: 180px;
}

.header__phones {
  display: flex;
  gap: var(--spacing-12);
  flex-wrap: wrap;
}

.header__phone-btn {
  padding: var(--spacing-12) var(--spacing-24);
  border-radius: var(--border-radius-sm);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 13px;
  transition: all 0.3s ease;
  cursor: pointer;
  display: inline-block;
}

.header__phone-btn--criminal {
  background-color: var(--urgent-red);
  color: var(--white);
}

.header__phone-btn--criminal:hover {
  background-color: #b91c1c;
  transform: scale(1.05);
}

.header__phone-btn--geral {
  background-color: var(--primary-blue);
  color: var(--white);
}

.header__phone-btn--geral:hover {
  background-color: #0f2847;
  transform: scale(1.05);
}

/* HERO */

.hero {
  background:
    linear-gradient(135deg, rgba(26, 54, 93, 0.95), rgba(26, 32, 44, 0.95)),
    url('assets/fechada.jpeg');
  background-size: cover;
  background-position: center;
  color: var(--white);
  padding: var(--spacing-80) 0;
  position: relative;
  overflow: hidden;
}

.hero__container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-48);
  align-items: center;
}

/* CONTEUDO (TEXTO) */

.hero__content {
  max-width: 600px;
}

.hero__eyebrow {
  display: inline-block;
  margin-bottom: var(--spacing-12);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.75);
}

.hero__headline {
  font-family: var(--font-heading);
  font-size: 44px;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: var(--spacing-24);
}

.hero__experience {
  margin-top: -8px;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.85);
  font-style: italic;
}

.hero__subheadline {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: var(--spacing-20);
  color: rgba(255, 255, 255, 0.95);
}

.hero__subheadline--soft {
  opacity: 0.85;
}

.hero strong {
  color: var(--prestige-gold);
  font-weight: 600;
}

.form-consent {
  font-size: 12px;
  margin-top: 12px;
  color: var(--professional-gray);
  line-height: 1.5;
}

.form-consent a {
  color: var(--primary-blue);
  text-decoration: underline;
}

/* BADGES */

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-12);
  margin-top: var(--spacing-32);
}

@media (min-width: 768px) {
  .hero__container {
    grid-template-columns: 1fr 1fr;
  }
  .hero__subheadline {
    font-size: 20px;
  }
}

/* FORMULÁRIO */
.capture-form {
  background-color: rgba(255, 255, 255, 0.98);
  border-radius: var(--border-radius-lg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  padding: var(--spacing-40);
}

.capture-form__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 24px;
  color: var(--graphite);
  text-align: center;
  margin-bottom: var(--spacing-32);
}

.capture-form__group {
  margin-bottom: var(--spacing-20);
}

.capture-form__label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 14px;
  color: var(--graphite);
  margin-bottom: var(--spacing-8);
}

.capture-form__input,
.capture-form__select,
.capture-form__textarea {
  width: 100%;
  border: 1px solid var(--medium-border);
  border-radius: var(--border-radius-sm);
  padding: 14px 20px;
  font-family: var(--font-body);
  font-size: 16px;
  transition: all 0.3s ease;
}

.capture-form__input:focus,
.capture-form__select:focus,
.capture-form__textarea:focus {
  border-color: var(--conversion-orange);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2);
  outline: none;
}

.capture-form__textarea {
  resize: vertical;
  min-height: 100px;
}

.capture-form__submit {
  width: 100%;
  background-color: var(--conversion-orange);
  color: var(--white);
  border: none;
  border-radius: var(--border-radius-sm);
  padding: var(--spacing-16) var(--spacing-32);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 16px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(249, 115, 22, 0.3);
}

.capture-form__submit:hover {
  background-color: var(--orange-hover);
  transform: translateY(-2px);
}

.capture-form__privacy {
  text-align: center;
  font-size: 12px;
  color: var(--professional-gray);
  margin-top: var(--spacing-12);
}

/* NÚMEROS */
.numbers__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-32);
}

.numbers__item {
  text-align: center;
}

.numbers__number {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 48px;
  color: var(--conversion-orange);
  display: block;
  margin-bottom: var(--spacing-8);
}

.numbers__description {
  font-size: 16px;
  color: var(--professional-gray);
}

@media (min-width: 768px) {
  .numbers__grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .numbers__number {
    font-size: 56px;
  }
}

/* PROBLEM */
.problem__content {
  max-width: 800px;
  margin: 0 auto;
}

.problem__content p {
  margin-bottom: var(--spacing-24);
}

/* SOLUTION */
.solution__content {
  max-width: 900px;
  margin: 0 auto;
}

.solution__benefits {
  max-width: 700px;
  margin: var(--spacing-32) auto;
}

.solution__benefit-item {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-16);
  margin-bottom: var(--spacing-20);
  font-size: 17px;
}

.solution__check {
  font-size: 24px;
  flex-shrink: 0;
}

/* BOTÕES */
.btn {
  display: inline-block;
  padding: var(--spacing-16) var(--spacing-40);
  border-radius: var(--border-radius-sm);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 16px;
  text-align: center;
  text-transform: uppercase;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  text-decoration: none;
  line-height: 1.4;
}

.btn--primary {
  background-color: var(--conversion-orange);
  color: var(--white);
  box-shadow: 0 4px 6px rgba(249, 115, 22, 0.3);
}

.btn--primary:hover {
  background-color: var(--orange-hover);
  transform: scale(1.02);
}

.btn--criminal {
  background-color: var(--urgent-red);
  color: var(--white);
  box-shadow: 0 4px 6px rgba(220, 38, 38, 0.3);
}

.btn--criminal:hover {
  background-color: #b91c1c;
  transform: scale(1.02);
}

.btn--full {
  width: 100%;
  display: block;
}

.btn--large {
  padding: var(--spacing-20) var(--spacing-48);
  font-size: 18px;
}

/* BADGES */
.badge {
  display: inline-block;
  padding: var(--spacing-8) var(--spacing-20);
  border-radius: var(--border-radius-full);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
}

.badge--gold {
  background-color: var(--prestige-gold);
  color: var(--white);
}

.badge--orange {
  background-color: var(--conversion-orange);
  color: var(--white);
}

.badge--blue {
  background-color: var(--primary-blue);
  color: var(--white);
}

.badge--gray {
  background-color: var(--professional-gray);
  color: var(--white);
}

/* SPECIALISTS */
.specialists__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-32);
  margin-top: var(--spacing-48);
}

.specialist-card {
  background-color: var(--white);
  border: 2px solid transparent;
  border-radius: var(--border-radius-md);
  padding: var(--spacing-32);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  text-align: center;
}

.specialist-card .btn {
  min-height: 96px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 6px;
  padding: 16px;
}

.specialist-card:hover {
  border-color: var(--conversion-orange);
  transform: translateY(-4px);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.12);
}

.specialist-card__icon {
  font-size: 48px;
  margin-bottom: var(--spacing-20);
}

.specialist-card__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 22px;
  color: var(--graphite);
  margin-bottom: var(--spacing-16);
}

.specialist-card__list {
  list-style: none;
  margin-bottom: var(--spacing-24);
  text-align: left;
}

.specialist-card__list li {
  padding: var(--spacing-8) 0;
  font-size: 15px;
  color: var(--professional-gray);
}

.specialist-card__list li::before {
  content: '•';
  color: var(--conversion-orange);
  font-weight: bold;
  display: inline-block;
  width: 1em;
  margin-right: var(--spacing-8);
}

@media (min-width: 768px) {
  .specialists__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .specialists__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* EQUIPE */

.team {
  background-color: var(--white);
}

.team__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-40);
}

.team__card {
  text-align: center;
  padding: var(--spacing-32);
  border-radius: var(--border-radius-md);
  background: var(--white);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.team__card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.team__image-wrapper {
  width: 160px;
  height: 160px;
  margin: 0 auto var(--spacing-24);
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--prestige-gold);
}

.team__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team__name {
  font-size: 20px;
  margin-bottom: 6px;
}

.team__role {
  display: block;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--professional-gray);
  margin-bottom: var(--spacing-16);
}

.team__description {
  font-size: 15px;
  color: var(--professional-gray);
  line-height: 1.6;
}

/* RESPONSIVO */
@media (min-width: 768px) {
  .team__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* FOOTER */
.footer {
  background-color: var(--primary-blue);
  color: var(--white);
  padding: var(--spacing-60) 0 var(--spacing-32) 0;
}

.footer__address a {
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
  color: rgba(255, 255, 255, 0.85);
}

.footer__address img {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  filter: brightness(0) invert(1);
}

.footer__address a:hover {
  color: var(--conversion-orange);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-32);
  margin-bottom: var(--spacing-48);
}

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

.footer__social a img {
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1);
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.footer__social a:hover img {
  transform: scale(1.1);
  opacity: 0.8;
}

.footer__column h4 {
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 18px;
  margin-bottom: var(--spacing-20);
}

.footer__column p,
.footer__column ul li {
  font-size: 15px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: var(--spacing-8);
}

.footer__column ul {
  list-style: none;
}

.footer__column a {
  color: rgba(255, 255, 255, 0.85);
  cursor: pointer;
}

.footer__column a:hover {
  color: var(--conversion-orange);
}

.footer__bottom {
  text-align: center;
  padding-top: var(--spacing-32);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer__bottom p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

@media (min-width: 768px) {
  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* WHATSAPP FLUTUANTE */
.wppFloat {
  position: fixed;
  right: 20px;
  bottom: 30px;
  z-index: 90;
  width: 70px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #25d366; /* verde WhatsApp */
  border-radius: 50%;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.35);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}
.wppFloat img {
  width: 70px;
  height: 70px;
  display: block;
}
.wppFloat:hover {
  transform: scale(1.06);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  }
  50% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.7);
  }
}

/* MOBILE */
@media (max-width: 767px) {
  .header__container {
    flex-direction: column;
  }
  .hero__badges {
    justify-content: center;
  }
  .badge {
    font-size: 11px;
    padding: var(--spacing-8) var(--spacing-12);
  }
}

@media (max-width: 768px) {
  .header__phone-btn--geral {
    display: none;
  }
}


@media (max-width: 480px) {
  .header__phone-btn {
    font-size: 14px;
    padding: 12px;
  }
}
