/* ==================================================
   PROJETO: Carlos Queiroz Advogado
   ARQUIVO: style.css
   FUNÇÃO: Estilos principais do site
   ================================================== */

/* ==================================================
   1. VARIÁVEIS GLOBAIS
   ================================================== */

:root {
  --black: #0b0b0b;
  --dark: #111111;
  --soft: #f7f3ec;
  --white: #ffffff;

  --gold: #c9a24d;
  --gold-dark: #9f7a2f;

  --text: #262626;
  --muted: #6b6b6b;
  --border: rgba(201, 162, 77, 0.25);
}

/* ==================================================
   2. RESET E CONFIGURAÇÕES GERAIS
   ================================================== */

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

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

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
}

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

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

.container {
  width: min(1180px, 92%);
  margin: auto;
}

/* ==================================================
   3. HEADER / MENU
   ================================================== */

.header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;

  width: 100%;
  height: 82px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 0 6%;

  background: rgba(10, 10, 10, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201, 162, 77, 0.18);
}

.logo-area img {
  height: 58px;
}

.navbar {
  display: flex;
  align-items: center;
  gap: 30px;
}

.navbar a {
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
}

.navbar a:hover,
.navbar a.active {
  color: var(--gold);
}

.nav-whats {
  padding: 10px 16px;
  border: 1px solid var(--gold);
  border-radius: 999px;
  color: var(--gold) !important;
}

/* Botão hamburguer para celular */
.menu-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 28px;
  height: 2px;
  margin: 6px 0;
  background: #ffffff;
}

/* ==================================================
   4. HERO / PRIMEIRA DOBRA
   ================================================== */

.hero {
  min-height: 100vh;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 140px 0 90px;
  text-align: center;
  color: #ffffff;

  background:
    linear-gradient(rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.82)),
    url('../assets/FundoSite.png') center / cover no-repeat;
}

.hero-logo {
  width: min(470px, 86%);
  margin: 0 auto 36px;
}

.hero p {
  margin-bottom: 36px;
  color: #dddddd;
  font-size: 20px;
}

.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

/* ==================================================
   5. BOTÕES
   ================================================== */

.btn-primary,
.btn-secondary,
.btn-light,
.btn-form {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;

  padding: 15px 26px;
  border-radius: 999px;

  font-weight: 700;
  cursor: pointer;
  transition: 0.3s;
}

.btn-primary,
.btn-form {
  color: #111111;
  background: var(--gold);
  border: 1px solid var(--gold);
}

.btn-primary:hover,
.btn-form:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  transform: translateY(-2px);
}

.btn-secondary {
  color: var(--gold);
  border: 1px solid var(--gold);
}

.btn-secondary:hover,
.btn-light:hover {
  color: #111111;
  background: var(--gold);
}

.btn-light {
  margin-top: 20px;
  color: #111111;
  border: 1px solid var(--gold);
}

/* ==================================================
   6. SEÇÕES GERAIS
   ================================================== */

.section {
  padding: 150px 0;
}

.section-light {
  background: #ffffff;
}

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

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

.split-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 90px;
}

.eyebrow {
  display: block;
  margin-bottom: 18px;

  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: 'Cinzel', serif;
  line-height: 1.25;
}

h1 {
  font-size: 44px;
}

h2 {
  font-size: 40px;
}

h3 {
  font-size: 22px;
}

p {
  margin: 18px 0;
  color: var(--muted);
}

.section-dark p {
  color: #cfcfcf;
}

.gold-line {
  width: 72px;
  height: 3px;
  margin: 24px 0;
  background: var(--gold);
}

.gold-line.center {
  margin: 24px auto;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 75px;
  text-align: center;
}

/* ==================================================
   7. SOBRE
   ================================================== */

.image-card {
  padding: 14px;
  background: #ffffff;
  border: 1px solid var(--border);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.12);
}

.image-card img {
  width: 100%;
  height: 430px;
  object-fit: cover;
}

/* ==================================================
   8. ÁREAS DE ATUAÇÃO
   ================================================== */

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

.service-card {
  min-height: 260px;
  padding: 44px 34px;

  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.07);

  transition: 0.3s;
}

.service-card:hover {
  border-color: var(--gold);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.12);
  transform: translateY(-8px);
}

.service-card i {
  margin-bottom: 24px;
  color: var(--gold);
  font-size: 34px;
}

/* ==================================================
   9. DIFERENCIAIS
   ================================================== */

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

.feature {
  padding: 44px 34px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--border);
}

/* ==================================================
   10. CONTATO
   ================================================== */

.contact-info {
  margin-top: 30px;
}

.contact-info p {
  display: flex;
  align-items: center;
  gap: 12px;
}

.contact-info i {
  color: var(--gold);
}

.contact-form {
  padding: 42px;
  background: #111111;
  border: 1px solid var(--border);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.16);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  margin-bottom: 18px;
  padding: 16px;

  color: #ffffff;
  font-family: inherit;

  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 1px solid var(--gold);
}

.form-alert {
  margin-top: 12px;
  color: var(--gold);
  font-size: 14px;
}
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 18px;

    margin-top: 35px;
}

.contact-info .footer-contact-link {
    display: flex;
    align-items: center;
    gap: 16px;

    color: #000;
    font-size: 17px;
    font-weight: 500;
    line-height: 1.6;

    transition: .3s;
}

.contact-info .footer-contact-link i {
    width: 24px;

    color: var(--gold);
    font-size: 20px;

    text-align: center;
    flex-shrink: 0;
}

.contact-info .footer-contact-link span {
    color: #000;
}

.contact-info .footer-contact-link:hover,
.contact-info .footer-contact-link:hover span {
    color: var(--gold);
}

/* ==================================================
   11. RODAPÉ
   ================================================== */

.footer {
  padding: 70px 0 0;
  color: #ffffff;
  background: #070707;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 50px;
}

.footer-logo {
  height: 70px;
  margin-bottom: 18px;
}

.footer a {
  display: block;
  margin: 10px 0;
  color: #cfcfcf;
}

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

.copyright {
  margin-top: 50px;
  padding: 24px;

  color: #aaaaaa;
  font-size: 14px;
  text-align: center;

  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-contact {
  display: flex;
  flex-direction: column;
}

.footer-contact-link {
  display: flex;
  align-items: flex-start;
  gap: 12px;

  margin: 9px 0;
  color: #cfcfcf;

  font-size: 14px;
  line-height: 1.5;

  transition: 0.3s;
}

.footer-contact-link i {
  min-width: 20px;
  margin-top: 4px;

  color: var(--gold);
  font-size: 17px;
}

.footer-contact-link:hover {
  color: var(--gold);
}
.footer-social {
  margin-top: 18px;
}

.footer-social a {
  width: 42px;
  height: 42px;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 1px solid var(--gold);
  border-radius: 50%;

  color: var(--gold);
  font-size: 19px;

  transition: 0.3s;
}

.footer-social a:hover {
  background: var(--gold);
  color: #111111;
  transform: translateY(-3px);
}
/* ==================================================
   12. BOTÃO FLUTUANTE DO WHATSAPP
   ================================================== */

.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 999;

  width: 62px;
  height: 62px;
  border-radius: 50%;

  display: grid;
  place-items: center;

  color: #ffffff;
  background: #25d366;
  font-size: 30px;

  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
}

/* ==================================================
   13. ANIMAÇÕES
   ================================================== */

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==================================================
   14. RESPONSIVIDADE
   ================================================== */

@media (max-width: 900px) {
  .header {
    padding: 0 4%;
  }

  .menu-toggle {
    display: block;
  }

  .navbar {
    position: fixed;
    top: 82px;
    left: 0;

    width: 100%;
    padding: 28px;

    display: none;
    flex-direction: column;

    background: #0b0b0b;
  }

  .navbar.open {
    display: flex;
  }

  .hero {
    padding-top: 130px;
  }

  .section {
    padding: 110px 0;
  }

  .split-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .cards-grid,
  .features-grid {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 34px;
  }

  h2 {
    font-size: 32px;
  }

  .image-card img {
    height: 300px;
  }
}
