/* ===== VARIÁVEIS & RESET ===== */
:root {
  --primary: #2E86AB;   /* Azul institucional */
  --secondary: #333333; /* Preto sóbrio */
  --accent: #F6AE2D;    /* Dourado para destaques */
  --light-bg: #F8F9FA;  /* Fundo claro */
  --white: #ffffff;
  --text-dark: #212529;
  --text-light: #f8f9fa;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--white);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 80px 0;
}

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
}

img {
  max-width: 100%;
  height: auto;
}

/* ===== BOTÕES ===== */
.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 4px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  text-align: center;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
  border: 2px solid var(--primary);
}

.btn-primary:hover {
  background-color: #1a5f7a;
  border-color: #1a5f7a;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-secondary:hover {
  background-color: rgba(46, 134, 171, 0.1);
}

/* ===== HERO SECTION ===== */

.author-name {
  font-size: 1.2rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
  font-weight: 600;
}

.hero {
  background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('cidade-background.jpg') no-repeat center/cover;
  color: var(--white);
  padding: 120px 0;
  text-align: center;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero h1 span {
  color: var(--accent);
}

.hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 2rem;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 30px;
}

/* ===== JORNADA PROFISSIONAL ===== */
.journey-step {
  text-align: center;
  padding: 30px;
  border-radius: 8px;
  background: var(--light-bg);
  transition: transform 0.3s;
}

.journey-step:hover {
  transform: translateY(-10px);
}

.step-icon {
  width: 80px;
  height: 80px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 2rem;
}

.journey-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

/* ===== SEÇÃO GESTORES ===== */
.gestores {
  background: var(--light-bg);
}

.gestores h2 {
  text-align: center;
}

.gestores h2 span {
  color: var(--primary);
}

.problema-solucao {
  background: var(--white);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  border-top: 4px solid var(--accent);
}

.solucoes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

/* ===== SEÇÃO DO LIVRO ===== */
.book-highlight {
  position: relative;
}

.book-cover {
  position: relative;
  text-align: center;
}

.book-cover img {
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.badge-best-seller {
  position: absolute;
  bottom: -15px;
  right: -15px;
  background: var(--accent);
  color: var(--secondary);
  padding: 10px 20px;
  border-radius: 50px;
  font-weight: bold;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.book-features li {
  margin-bottom: 15px;
  padding-left: 30px;
  position: relative;
  list-style: none;
}

.book-features i {
  position: absolute;
  left: 0;
  top: 5px;
  color: var(--accent);
}

.book-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.book-cta {
  display: flex;
  gap: 20px;
  margin-top: 40px;
}

/* ===== BLOG PREVIEW ===== */
.blog-preview {
  background: var(--light-bg);
}

.blog-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: transform 0.3s;
}

.blog-card:hover {
  transform: translateY(-10px);
}

.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-card-content {
  padding: 25px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

/* ===== WHATSAPP FLUTUANTE ===== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    z-index: 1000;
    transition: all 0.3s ease;
    text-decoration: none;
}
.whatsapp-float span {
    display: none;
}

.whatsapp-float:hover {
    background: #128C7E;
    transform: scale(1.1);
    width: auto;
    padding: 0 20px;
    border-radius: 30px;
}

.whatsapp-float:hover span {
    display: inline;
    font-size: 1rem;
    margin-left: 10px;
    font-family: 'Segoe UI', sans-serif;
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}

/* Garantindo que o ícone fique centralizado perfeitamente */
.whatsapp-float i {
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 992px) {
  .book-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  section {
    padding: 60px 0;
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .solucoes-grid,
  .journey-grid {
    grid-template-columns: 1fr;
  }
  
  .book-cta {
    flex-direction: column;
  }
  
  .btn {
    width: 100%;
  }
}

/* ===== ANIMAÇÕES ===== */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section {
  animation: fadeIn 0.8s ease-out;
}

/*=====PARA A PÁGINA DO BLOGUE=====*/
.author-photo-container {
    border: 5px solid white;
    outline: 2px solid var(--accent);
}
.author-photo {
    background: var(--light-bg);
    padding: 10px; /* Cria espaço entre a foto e a borda */
}

/* Seção Contato */
.contact-section {
    text-align: center;
}

.contact-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 50px;
    margin-top: 40px;
}

.contact-info, .contact-form-container {
    flex: 1;
    min-width: 300px; /* Garante que os blocos não fiquem muito pequenos */
}

.contact-info p {
    font-size: 1.1em;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
}
.contact-info i {
    color: #0d47a1;
}

.article-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    object-position: center;
}

.article-image-container {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* Proporção 16:9 (ajuste conforme necessidade) */
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 20px;
}

.article-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.article-image:hover {
    transform: scale(1.03);
}

/* Garante que o container principal não ultrapasse a largura */
.articles-container {
    max-width: calc(100% - 340px); /* 300px da sidebar + 40px de gap */
}

/* Ajustes para mobile */
@media (max-width: 992px) {
    .articles-container {
        max-width: 100%;
    }
    
    .article-image-container {
        padding-top: 75%; /* Proporção mais quadrada em mobile */
    }
}