:root {
  --azul-escuro: #00263E;
  --azul-medio: #0D4D6F;
  --azul-claro: #1A7DB5;
  --cinza-claro: #BFCED6;
  --cinza-medio: #8A9BA8;
  --branco: #FFFFFF;
  --preto: #000000;
  --fundo-claro: #F5F7F9;
  --fundo-tabela: #F8FAFB;
  --fundo-tabela-alt: #F0F4F7;
  --texto-principal: #333333;
  --texto-secundario: #666666;
  --borda: #D1D9E0;
  --sucesso: #28a745;
  --alerta: #ffc107;
  --erro: #dc3545;
  --sombra: rgba(0, 38, 62, 0.1);
}

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

body {
  font-family: 'Inter', sans-serif;
  color: var(--texto-principal);
  line-height: 1.6;
  background-color: var(--branco);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  color: var(--azul-escuro);
}

a {
  color: var(--azul-claro);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--azul-medio);
}

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

.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 4px;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.btn-primary {
  background-color: var(--azul-escuro);
  color: var(--branco);
}

.btn-primary:hover {
  background-color: var(--azul-medio);
  color: var(--branco);
}

.btn-secondary {
  background-color: var(--branco);
  color: var(--azul-escuro);
  border: 1px solid var(--azul-escuro);
}

.btn-secondary:hover {
  background-color: var(--fundo-claro);
}

.btn-hero {
  background-color: var(--azul-escuro);
  color: var(--branco);
  padding: 14px 28px;
  font-size: 1.1rem;
}

.btn-hero:hover {
  background-color: var(--azul-medio);
  color: var(--branco);
}

.btn-text {
  background: none;
  color: var(--azul-escuro);
  padding: 0;
  text-decoration: underline;
}

.btn-text:hover {
  color: var(--azul-medio);
}

/* Header */
.header {
  background-color: var(--branco);
  box-shadow: 0 2px 10px var(--sombra);
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.logo {
  height: 32px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  list-style: none;
  margin-right: 20px;
}

.nav-link {
  color: var(--texto-principal);
  padding: 10px 15px;
  font-weight: 500;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--azul-escuro);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 15px;
  right: 15px;
  height: 2px;
  background-color: var(--azul-escuro);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

.mobile-menu-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--texto-principal);
  margin: 5px 0;
  transition: all 0.3s ease;
}

/* Hero Section */
.hero {
  position: relative;
  height: 600px;
  color: var(--branco);
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('images/banner-ipanema.jpg');
  background-size: cover;
  background-position: center;
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 38, 62, 0.7), rgba(0, 38, 62, 0.9));
  z-index: -1;
}

.hero-container {
  height: 100%;
  display: flex;
  align-items: center;
}

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

.hero-title {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: var(--branco);
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

/* Section Styles */
.section {
  padding: 100px 0;
}

.section:first-of-type {
  padding-top: 60px;
}

.section + .section {
  padding-top: 120px;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 60px;
  text-align: left;
}

/* Strategies Section */
.strategies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.strategy-card {
  background-color: var(--fundo-claro);
  border-radius: 8px;
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.strategy-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px var(--sombra);
}

.strategy-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.strategy-title {
  margin-bottom: 15px;
  font-size: 1.5rem;
}

.strategy-description {
  margin-bottom: 25px;
  color: var(--texto-secundario);
}

/* About Section */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-bottom: 40px;
}

.about-text p {
  margin-bottom: 24px;
  line-height: 1.7;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.stat-item {
  text-align: center;
  padding: 20px;
  background-color: var(--fundo-claro);
  border-radius: 8px;
}

.stat-number {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--azul-escuro);
  margin-bottom: 5px;
}

.stat-label {
  color: var(--texto-secundario);
  font-size: 0.9rem;
}

/* Insights Section */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.insight-card {
  background-color: var(--fundo-claro);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px var(--sombra);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.insight-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px var(--sombra);
}

.insight-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.insight-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.insight-card:hover .insight-image img {
  transform: scale(1.05);
}

.insight-content {
  padding: 25px;
}

.insight-date {
  color: var(--texto-secundario);
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.insight-title {
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.insight-excerpt {
  color: var(--texto-secundario);
  margin-bottom: 20px;
}

.insight-meta {
  display: flex;
  justify-content: flex-end;
}

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

/* Footer */
.footer {
  background-color: var(--azul-escuro);
  color: var(--branco);
  padding: 60px 0 30px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.footer-nav {
  display: flex;
  gap: 60px;
  flex-wrap: wrap;
}

.footer-nav-title {
  color: var(--branco);
  margin-bottom: 20px;
  font-size: 1.2rem;
}

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

.footer-nav-link {
  color: var(--cinza-claro);
  display: block;
  margin-bottom: 10px;
}

.footer-nav-link:hover {
  color: var(--branco);
}

.footer-address p {
  margin-bottom: 10px;
  color: var(--cinza-claro);
}

.footer-address a {
  color: var(--cinza-claro);
}

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

.disclaimer-section {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 30px;
}

.disclaimer-title {
  font-size: 1.1rem;
  margin-bottom: 10px;
  font-weight: 600;
  color: var(--branco);
}

.disclaimer-text {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--cinza-claro);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  flex-wrap: wrap;
  gap: 15px;
}

.copyright {
  color: var(--cinza-claro);
  font-size: 0.9rem;
}

.legal-links {
  display: flex;
  gap: 20px;
}

.legal-link {
  color: var(--cinza-claro);
  font-size: 0.9rem;
}

.legal-link:hover {
  color: var(--branco);
}

/* Rentabilidade Table */
.rentabilidade-section {
  padding: 60px 0;
  background-color: var(--branco);
}

.rentabilidade-container {
  max-width: 1800px;
  margin: 0 auto;
  padding: 0 30px;
}

.rentabilidade-header {
  margin-bottom: 30px;
}

.rentabilidade-title {
  font-size: 2rem;
  color: var(--azul-escuro);
  margin-bottom: 15px;
  font-weight: 600;
}

.rentabilidade-date {
  color: var(--texto-secundario);
  font-size: 1rem;
  margin-bottom: 25px;
}

.rentabilidade-table-container {
  overflow-x: auto;
  margin-bottom: 30px;
  border-radius: 12px;
  box-shadow: 0 5px 20px var(--sombra);
}

.rentabilidade-table {
  width: 100%;
  border-collapse: collapse;
  background-color: var(--branco);
  font-size: 0.95rem;
}

.rentabilidade-table th {
  background-color: var(--azul-escuro);
  color: var(--branco);
  padding: 18px 15px;
  text-align: left;
  font-weight: 600;
  letter-spacing: 0.5px;
  position: sticky;
  top: 0;
}

.rentabilidade-table td {
  padding: 15px;
  border-bottom: 1px solid var(--borda);
  transition: all 0.2s ease;
}

.rentabilidade-table tr {
  transition: background-color 0.2s ease;
}

.rentabilidade-table tr:nth-child(even) {
  background-color: var(--fundo-tabela);
}

.rentabilidade-table tr:hover {
  background-color: var(--fundo-tabela-alt);
  transform: translateY(-2px);
  box-shadow: 0 2px 8px rgba(0, 38, 62, 0.1);
}

.rentabilidade-table .status-aberto {
  color: var(--sucesso);
  font-weight: 500;
  display: inline-block;
  padding: 4px 10px;
  border-radius: 4px;
  background-color: rgba(40, 167, 69, 0.1);
}

.rentabilidade-table .status-fechado {
  color: var(--erro);
  font-weight: 500;
  display: inline-block;
  padding: 4px 10px;
  border-radius: 4px;
  background-color: rgba(220, 53, 69, 0.1);
}

.rentabilidade-table .fund-row {
  cursor: pointer;
}

.rentabilidade-table .fund-row.selected {
  background-color: rgba(26, 125, 181, 0.1);
  border-left: 3px solid var(--azul-claro);
}

.rentabilidade-footnotes {
  margin-top: 25px;
  color: var(--texto-secundario);
  font-size: 0.9rem;
  background-color: var(--fundo-claro);
  padding: 20px;
  border-radius: 8px;
}

.rentabilidade-footnotes p {
  margin-bottom: 8px;
}

/* Team Section */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.team-member {
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px var(--sombra);
}

.linkedin-link {
  display: block;
  color: var(--texto-principal);
  text-decoration: none;
  padding: 20px;
  border-radius: 8px;
  background-color: var(--fundo-claro);
  height: 100%;
}

.linkedin-link:hover {
  background-color: var(--fundo-tabela-alt);
}

.member-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 20px;
  border: 3px solid var(--azul-claro);
}

.member-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.member-name {
  font-size: 1.3rem;
  margin-bottom: 5px;
  color: var(--azul-escuro);
}

.member-position {
  color: var(--texto-secundario);
  font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .about-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .about-text {
    order: 2;
  }
  
  .about-stats {
    order: 1;
  }
  
  .footer-top {
    flex-direction: column;
  }
  
  .footer-nav {
    margin-top: 30px;
    gap: 30px;
  }
  
  .strategies-grid,
  .insights-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .header-container {
    flex-wrap: wrap;
  }
  
  .main-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    margin-top: 20px;
  }
  
  .main-nav.active {
    display: flex;
  }
  
  .nav-list {
    flex-direction: column;
    width: 100%;
    margin-right: 0;
    margin-bottom: 20px;
  }
  
  .nav-link {
    display: block;
    padding: 15px 0;
    border-bottom: 1px solid var(--borda);
  }
  
  .nav-link.active::after {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .hero {
    height: 400px;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .strategies-grid,
  .insights-grid {
    grid-template-columns: 1fr;
  }
  
  .about-stats {
    grid-template-columns: 1fr;
  }
  
  .footer-nav {
    flex-direction: column;
    gap: 30px;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .legal-links {
    margin-top: 20px;
  }
  
  .disclaimer-section {
    text-align: left;
  }
}

@media (max-width: 576px) {
  .section {
    padding: 60px 0;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .hero {
    height: 350px;
  }
  
  .hero-title {
    font-size: 1.8rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .team-grid {
    grid-template-columns: 1fr;
  }
}
