/* Estilos para o site de advocacia */

/* Variáveis de cores */
:root {
  --primary-dark: #1a2235;
  --primary-light: #f5f5f5;
  --accent-gold: #90784a;
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-light: #dadada;
  --bg-dark: #1a2235;
  --bg-section: #f0f0f0;
  --shadow: rgba(0, 0, 0, 0.1);
}

/* Reset e estilos gerais */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1.5rem;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

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

.btn {
  display: inline-block;
  padding: 12px 30px;
  width: 200px;
  background-color: #90784a;
  color: var(--text-light);
  border: none;
  border-radius: 4px;
  font-weight: 600;
  text-align: center;
  text-transform: uppercase;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn:hover {
  background-color: #73603d;
  transform: translateY(-2px);
  box-shadow: 0 5px 6px var(--shadow);
}

.section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
  position: relative;
}

.section-title h2 {
  font-size: 36px;
  color: var(--primary-dark);
  position: relative;
  display: inline-block;
}

.section-title h2:after {
  content: '';
  position: absolute;
  width: 60px;
  height: 3px;
  background-color: var(--accent-gold);
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
}

/* Header */
header {
  background-color: var(--primary-dark);
  color: var(--text-light);
  padding: 15px 0;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.logo img {
  height: 60px;
  width: auto;
  margin-right: 10px;
}

.logo h1 {
  font-size: 24px;
  margin: 0;
  color: var(--text-light);
}

.nav-menu {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 30px;
  list-style: none;
}


.nav-menu a {
  color: var(--text-light);
  font-weight: 500;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

.menu-toggle{
  display: none;
}
.fa-bars{
  font-size: 24px;
  color: #dadada;
  cursor: pointer;
}
.social-icons {
  display: flex;
}

.social-icons a {
  margin-left: 15px;
  color: var(--text-light);
  font-size: 16px;
}

.social-icons a:hover {
  color: var(--accent-gold);
}

/* Hero Section */
.hero {
  background-color: var(--primary-dark);
  color: var(--text-light);
  height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background-image: linear-gradient(#1a2235, #0f142048), url('../img/hero-bg.jpg');
  background-size: cover;
  background-position: center;
}

.hero-content {
  max-width: 600px;
}

.hero h1 {
  font-size: 2.5em;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero p {
  font-size: 23px;
  margin-bottom: 30px;
  color: #e0e0e0;
}

/* Timeline Section */
.timeline {
  background-color: var(--bg-light);
  padding: 100px 0;
  
}

.timeline-container {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.timeline-container::after {
  content: '';
  position: absolute;
  width: 3px;
  background-color: var(--accent-gold);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -1.5px;
}

.timeline-item {
  padding: 10px 40px;
  position: relative;
  width: 50%;
  box-sizing: border-box;
}

.timeline-item::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  background-color: var(--accent-gold);
  border-radius: 50%;
  top: 15px;
  right: -10px;
  z-index: 1;
}

.timeline-item:nth-child(even) {
  left: 50%;
}

.timeline-item:nth-child(even)::after {
  left: -10px;
}

.timeline-content {
  padding: 20px;
  background-color: var(--text-light);
  border-radius: 6px;
  box-shadow: 0 5px 15px var(--shadow);
}

.timeline-content h3 {
  color: var(--primary-dark);
  margin-bottom: 10px;
}

/* Sobre Section */
.sobre {
  padding: 100px 0;
  background-color: #dadada;
  border-bottom: 1px solid #73603d;
}

.sobre-container {
  display: flex;
  align-items: center;
  gap: 50px;
}

.sobre-content {
  flex: 1;
}

.sobre-image {
  flex: 1;
}

.sobre-image img {
  width: 100%;
  border-radius: 6px;

}

/* Serviços Section */
.servicos {
  background-color: var(--bg-light);
  padding: 100px 0;
  
}

.servicos-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.servico-card {
  background-color: var(--text-light);
  border-radius: 6px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px var(--shadow);
  transition: all 0.3s ease;
}

.servico-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px var(--shadow);
}

.servico-icon {
  font-size: 40px;
  color: var(--accent-gold);
  margin-bottom: 20px;
}

.servico-card h3 {
  margin-bottom: 15px;
  color: var(--primary-dark);
}

/* Equipe Section */
.equipe {
  padding: 100px 0;
  background-color: #dadada;
}

.equipe-carousel {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  overflow: hidden;
}

.equipe-container {
  display: flex;
  transition: transform 0.5s ease;
}

.advogado-card {
  min-width: 300px;
  margin: 0 15px;
  background-color: var(--text-light);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 5px 15px var(--shadow);
}

.advogado-image {
  height: 300px;
  overflow: hidden;
}

.advogado-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.advogado-info {
  padding: 20px;
  text-align: center;
}

.advogado-info h3 {
  margin-bottom: 5px;
  color: var(--primary-dark);
}

.advogado-social {
  display: flex;
  justify-content: center;
  margin-top: 15px;
}

.advogado-social a {
  margin: 0 5px;
  color: var(--primary-dark);
}

.carousel-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
}

.carousel-btn {
  background-color: var(--accent-gold);
  color: var(--text-light);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-btn:hover {
  background-color: var(--primary-dark);
}

/* CTA Section */
.cta {
  background-color: var(--primary-dark);
  color: #777;
  padding: 100px 0;
  text-align: center;
}

.form-container {
  max-width: 600px;
  margin: 0 auto;
  background-color: #1a2235;
  border: 1px solid #73603d;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 2px 5px 6px 3px rgba(4, 4, 4, 0.097);
}

.form-step {
  padding: 40px;
  display: none;
}
h2.ctt{
  color: #dadada;
}
p.p{
  color: #aaa;
}

.form-step.active {
  display: block;
}

.form-step h3 {
  color: var(--bg-light);
  margin-bottom: 30px;
  text-align: center;
}

.form-group {
  margin-bottom: 25px;
}
.form-group input#nome{
  background-color: #aaaaaa38;
  border: 1px solid #73603d;
  color: #ccc;
}
#btn-name{
  margin: auto;
}
.servico-option .fas{
  color: #73603d;
}
.servico-option span {
  color: #dadada;
}

.servico-option{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #73603d !important; 
  padding: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--bg-light);
  text-align: left;
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 16px;
  transition: all 0.3s ease;
}


.form-control:focus {
  border-color: var(--accent-gold);
  outline: none;
  box-shadow: 0 0 0 2px rgba(201, 169, 110, 0.2);
}

.radio-group {
  display: flex;
  justify-content: space-between;
  margin-top: 15px;
  gap: 10px;
}

.radio-option {
  flex: 1;
  text-align: center;
  padding: 15px;
  border: 1px solid #73603d;
  border-radius: 5px;
  cursor: pointer;
  background-color: #1a2235;
  gap: 10px;
  transition: all 0.3s ease;
  box-sizing: border-box;
}
.radio-option input{
  display: none;
}
.level-urgente{
  color: rgb(241, 10, 10);
  font-weight: 800;
}
.level-moderado{
  color: #faa403;
  font-weight: 800;
}
.level-informativo{
  color: #0045e5;
  font-weight: 800;

}
.desc-urgencia, .desc-moderado, .desc-informativo{
  color: #dadada;
  text-align: center;
  font-size: 14px;

}
.radio-option label{
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  border-radius: 8px ;
}

.radio-option.selected {
  background-color: var(--accent-gold);
  color: var(--primary-dark);
  border-color: var(--accent-gold);
}
textarea#descricao, input#telefone, input#email{
  background-color: #aaaaaa38;
  color: #dadada;
}
.form-buttons {
  display: flex;  
  justify-content: space-between;
  margin-top: 30px;
}

.btn-prev {
  background-color: #ddd;
  color: var(--text-dark);
}

.thank-you {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 60px 40px;
}

.thank-you h3 {
  color: var(--primary-dark);
  margin-bottom: 20px;
}

.thank-you p {
  margin-bottom: 30px;
}

/* Blog Section */
.blog {
  padding: 100px 0;
  background-color: var(--bg-light);
}

.blog-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.blog-card {
  background-color: var(--text-light);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 5px 15px var(--shadow);
  transition: all 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px var(--shadow);
}

.blog-image {
  height: 200px;
  overflow: hidden;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.5s ease;
}

.blog-card:hover .blog-image img {
  transform: scale(1.1);
}

.blog-content {
  padding: 20px;
}

.blog-content h3 {
  margin-bottom: 10px;
  color: var(--primary-dark);
}

.blog-content p {
  margin-bottom: 15px;
}

.blog-date {
  font-size: 14px;
  color: #777;
  margin-bottom: 10px;
  display: block;
}

.read-more {
  color: var(--accent-gold);
  font-weight: 600;
  display: inline-block;
}

.read-more:hover {
  color: var(--primary-dark);
}

/* Footer */
footer {
  background-color: var(--primary-dark);
  color: var(--text-light);
  padding: 60px 0 20px;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.footer-logo {
  margin-bottom: 20px;
}

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

.footer-about p {
  margin-bottom: 20px;
}

.footer-title {
  font-size: 18px;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-title:after {
  content: '';
  position: absolute;
  width: 40px;
  height: 2px;
  background-color: var(--accent-gold);
  bottom: 0;
  left: 0;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #ccc;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--accent-gold);
  padding-left: 5px;
}

.footer-social {
  display: flex;
  margin-top: 20px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background-color: var(--accent-gold);
  transform: translateY(-3px);
}

.copyright {
  text-align: center;
  padding-top: 30px;
  margin-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
  color: #aaa;
}

/* Responsividade */
@media (max-width: 992px) {
  .logo img {
    height: 50px;
    width: auto;
  }
  .header-container{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
  .hero{
    height: 650px;
  }
  .nav-menu a{
    font-size: 13px;
  }
  .form-step{
    display: none;

  }
  .form-step.active{
    display: block;
  }
  .servicos-container {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .sobre-container {
    flex-direction: column;
  }
  
  .blog-container {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-logo img {
    height: 65px;
    width: auto;
}
}

@media (max-width: 768px) {
  .header-container{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  .hero{
   height: 700px;
   padding-top: 150px;
   padding-bottom: 100px;
   background-image: linear-gradient(#1a2235, #0f1420c8), url('../img/bg-mobile.jpg');
   background-size: cover;
   background-position: center;
   text-align: left;
  }
  .hero h1 {
    font-size: 1.8em;
  }
  .hero p{
  
    font-size: 1.2em;
  }
  h2{
    font-size: 1.4em;
  }
  
  .section-title h2 {
    font-size: 1.5em;
  }
  
  .servicos-container {
    grid-template-columns: 1fr;
  }
  
  .blog-container {
    grid-template-columns: 1fr;
  }
  
  .timeline-container::after {
    left: 31px;
  }
  .timeline-item:nth-child(even)::after {
  left: 21px;
}
  
  
  .timeline-item {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
  }
  
  .timeline-item::after {
    left: 21px;
  }
  
  .timeline-item:nth-child(even) {
    left: 0px;
  }
  .menu-toggle{
    display: block;
    cursor: pointer;
    font-size: 2rem;
    position: relative;
    z-index: 1000;
  }
  .nav-menu {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; /* aparece logo abaixo do botão */
    left: 0;
    width: 100%;
    background-color: #1a2235;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: all 0.3s ease;

  }
  .nav-menu.active{
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    gap: 1px;
  }
  .nav-menu ul {
    list-style: none;
    margin: 0;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    background-color: #cfddfc;

  }
  .nav-menu a {
  text-decoration: none;
  color: #dadada;
  font-size: 1.1rem;
  padding: 10px;
}
  .nav-menu a:hover{
    color: #aaa;
  }
  .nav-menu li{
    width: 100%;
    padding: 15px;
    color: #dadada;
    border-bottom: 1px solid #73603d22;

  }
  .nav-menu li:hover{
    background-color: #73603d;
    color: #dadada;
  }

  .radio-option{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;

  }
  .radio-group#ro{
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
  }
  .form-buttons .btn-prev, .btn-next{
    display: flex;
    justify-content: center;
    width: 120px;
    text-align: center;
  }

}

@media (max-width: 576px) {

  p{
    font-size: 16px;
  }
  .footer-container {
    grid-template-columns: 1fr;
  }
  .form-buttons .btn-prev, .btn-next{
    display: flex;
    font-size: 12px;
    justify-content: center;
    width: 80px;
    text-align: center;
  }
}


