/* Reset and Base Styles */
:root {
    --primary-color: #2ecc71;
    --secondary-color: #27ae60;
    --dark-color: #2c3e50;
    --light-color: #ecf0f1;
}


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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    background: url('/imagens/banner_metricas.png') no-repeat center center fixed;
    background-size: cover;
}

html, body, *, *:before, *:after {
    box-sizing: border-box !important;
}

body {
    max-width: 100vw !important;
    overflow-x: hidden !important;
}

.container,
.about-content,
.tokenomics-content,
.produtos-grid,
.roadmap-timeline,
.team-grid,
.footer-content {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
}

h1, h2, h3, h4, h5, h6, p, span, .section-title, .section-subtitle, .btn, .stat-label, .detail-label, .detail-value, .about-info, .pilar-content, .produto-content, .timeline-content, .member-info, .footer-section, .newsletter-form input {
    max-width: 100%;
    overflow-wrap: break-word;
    word-break: break-word;
    box-sizing: border-box;
}

/* Remove backgrounds das sections para mostrar o fundo do body */
.pilares, .produtos, .tokenomics, .about, .roadmap, .team, .contact {
  background: none !important;
}

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

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out;
}

.loading-content {
    text-align: center;
    color: white;
}

.loading-logo {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    animation: pulse 2s infinite;
}

.loading-logo i {
    color: #4CAF50;
    margin-right: 10px;
}

.loading-bar {
    width: 300px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    margin: 2rem auto;
    overflow: hidden;
}

.loading-progress {
    height: 100%;
    background: linear-gradient(90deg, #4CAF50, #45a049);
    border-radius: 2px;
    animation: loading 3s ease-in-out;
}

@keyframes loading {
    0% { width: 0%; }
    100% { width: 100%; }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #2a5298;
    gap: 8px;
}

.nav-logo span {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-left: 4px;
    display: flex;
    align-items: center;
    color: #2a5298;
    white-space: nowrap;
}

.nav-logo i {
    color: #4CAF50;
    margin-right: 10px;
    font-size: 1.8rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    padding: 20px 0;
}

.nav-link2 {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
    padding: 20px 0;
}

.nav-link:hover {
    color: #4CAF50;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #4CAF50;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Dropdown na navbar */
.nav-item-dropdown {
  position: relative;
  display: inline-block;
}
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(44,62,80,0.12);
  border-radius: 10px;
  z-index: 2000;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.3s, transform 0.3s;
  padding: 10px 0;
}
.nav-item-dropdown:hover .dropdown-menu,
.nav-item-dropdown:focus-within .dropdown-menu {
  display: block;
  opacity: 1;
  transform: translateY(0);
}
.dropdown-link {
  display: block;
  padding: 10px 24px;
  color: #2c3e50;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.2s, color 0.2s;
  border: none;
  background: none;
}
.dropdown-link:hover {
  background: #f8f9fa;
  color: #4CAF50;
}

/* Fechar dropdown ao clicar em uma opção */
.dropdown-link:active {
  background: #e9ecef;
}

/* Fechar dropdown quando mouse sair da área */
.nav-item-dropdown:not(:hover) .dropdown-menu {
  display: none;
  opacity: 0;
  transform: translateY(-10px);
}

/* Menu mobile - dropdown sempre visível */
@media (max-width: 900px) {
  .nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .nav-menu li {
    margin: 0;
    padding: 0;
  }
  
  .nav-item-dropdown {
    position: static;
    display: block;
  }
  .dropdown-menu {
    position: static;
    display: block;
    opacity: 1;
    transform: none;
    box-shadow: none;
    background: transparent;
    padding: 0;
    margin-left: 0;
    margin-top: 10px;
  }
  .dropdown-link {
    padding: 8px 0;
    color: #333;
    font-size: 0.95rem;
    text-align: center;
    display: block;
  }
  .dropdown-link:hover {
    background: transparent;
    color: #4CAF50;
  }
  .nav-link {
    text-align: center;
    width: 100%;
    display: block;
    padding: 8px 0;
  }
  .nav-link2{
     text-align: center;
    width: 100%;
    display: block;
    padding: 8px 0;
  }
  .language-selector {
    margin-top: 20px;
    text-align: center;
  }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-image: url('/imagens/banner.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    color: white;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease;
}

.highlight {
    color: #4CAF50;
    text-shadow: 0 0 20px rgba(76, 175, 80, 0.5);
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    animation: fadeInUp 1s ease 0.4s both;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(45deg, #0a6cec, #45a049);
    color: white;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
    transition: 1s all;
}

.btn-primary:hover {
    transition: 1s all;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);

}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
    transition: 1s all;
}

.btn-secondary:hover {
    transition: 1s all;
    background: linear-gradient(90deg, #5a5ef8, #a141e5);
    color: #dee1e6;
    transform: translateY(-2px);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInRight 1s ease 0.6s both;
}

.hero-visual {
    position: relative;
    width: 400px;
    height: 400px;
}

.main-icon {
    font-size: 8rem;
    color: #4CAF50;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: float 3s ease-in-out infinite;
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
}

.floating-elements i {
    position: absolute;
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.8);
    animation: float 4s ease-in-out infinite;
}

.floating-elements i:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-elements i:nth-child(2) {
    top: 60%;
    right: 20%;
    animation-delay: 1s;
}

.floating-elements i:nth-child(3) {
    bottom: 30%;
    left: 20%;
    animation-delay: 2s;
}

.floating-elements i:nth-child(4) {
    top: 40%;
    right: 10%;
    animation-delay: 3s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 1.5rem;
    animation: bounce 2s infinite;
    cursor: pointer;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #4CAF50;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #fbfbfb;
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about {
    padding: 100px 0;
    background: none;
    
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.about-item {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.about-item:hover {
    transform: translateY(-5px);
}

.about-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #4CAF50, #45a049);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.about-info h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2a5298;
    margin-bottom: 0.5rem;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: #4CAF50;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: #666;
    font-weight: 500;
}

/* Pilares Section */
.pilares {
    padding: 100px 0;
   background: none;
}

.pilares-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.pilar-item {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.pilar-item:hover {
    transform: translateY(-5px);
}

.pilar-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, #4CAF50, #45a049);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.pilar-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2a5298;
    margin-bottom: 1rem;
}

.pilar-content p {
    color: #666;
    line-height: 1.6;
}

/* Produtos Section */
.produtos {
    padding: 100px 0;
    background: #f8f9fa;
    background-image: url('/imagens/banner_product.png');
    background-position: center;
    background-size:cover;
    background-repeat: no-repeat;
}

.produtos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.produto-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.produto-item:hover {
    transform: translateY(-5px);
}

.produto-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(45deg, #2a5298, #667eea);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.produto-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2a5298;
    margin-bottom: 1rem;
}

.produto-content p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Tokenomics Section */
.tokenomics {
    padding: 100px 0;
    background: white;
    background-image: url('/imagens/Banner_IC.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.tokenomics-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.chart-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.chart-item {
    text-align: center;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.chart-item:hover {
    transform: translateY(-5px);
}

.chart-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(45deg, #4CAF50, #45a049);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
}

.chart-item h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2a5298;
    margin-bottom: 0.5rem;
}

.chart-item p {
    color: #666;
    font-size: 0.9rem;
}

.tokenomics-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.token-details, .token-features {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
}

.token-details h3, .token-features h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2a5298;
    margin-bottom: 1rem;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e0e0e0;
}

.detail-item:last-child {
    border-bottom: none;
}

.detail-label {
    font-weight: 500;
    color: #666;
}

.detail-value {
    font-weight: 600;
    color: #2a5298;
}

.detail-item .detail-value[data-target] {
  color: #27ae60;
  font-weight: 700;
  font-size: 1.2em;
  letter-spacing: 1px;
}

.token-features ul {
    list-style: none;
}

.token-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
    color: #666;
}

.token-features i {
    color: #4CAF50;
}

/* Roadmap Section */
.roadmap {
    padding: 100px 0;
    background: #f8f9fa;
}

.roadmap-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.roadmap-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e0e0e0;
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s ease;
}

.timeline-item.active {
    opacity: 1;
    transform: translateY(0);
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: 0;
    margin-right: 50%;
    padding-right: 2rem;
    text-align: right;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 50%;
    margin-right: 0;
    padding-left: 2rem;
    text-align: left;
}

.timeline-marker {
    position: absolute;
    left: 50%;
    top: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #4CAF50, #45a049);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    transform: translateX(-50%);
    z-index: 2;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.timeline-content {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.timeline-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2a5298;
    margin-bottom: 0.5rem;
}

.timeline-date {
    color: #4CAF50;
    font-weight: 600;
    margin-bottom: 1rem;
}

.timeline-content ul {
    list-style: none;
}

.timeline-content li {
    padding: 0.3rem 0;
    color: #666;
    position: relative;
    padding-left: 1.5rem;
}

.timeline-content li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #4CAF50;
    font-weight: bold;
}

/* Team Section */
.team {
    padding: 100px 0;
    background: white;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.team-member {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.team-member:hover {
    transform: translateY(-10px);
}

.member-photo {
    width: 120px;
    height: 120px;
    background: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 3rem;
}

.member-info h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2a5298;
    margin-bottom: 0.5rem;
}

.member-role {
    color: #4CAF50;
    font-weight: 600;
    margin-bottom: 1rem;
}

.member-bio {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.member-social {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.member-social a {
    width: 40px;
    height: 40px;
    background: #2a5298;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.member-social a:hover {
    background: #4CAF50;
    transform: translateY(-2px);
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: #f8f9fa;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #4CAF50, #45a049);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-details h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2a5298;
    margin-bottom: 0.5rem;
}

.contact-details p {
    color: #666;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4CAF50;
}

/* Footer */
.footer {
    background: #2a5298;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-logo i {
    color: #4CAF50;
    margin-right: 10px;
}

.footer-section h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #4CAF50;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #4CAF50;
    transform: translateY(-2px);
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 10px 16px;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
}

.newsletter-form button {
    padding: 10px 16px;
    background: #4CAF50;
    border: none;
    border-radius: 8px;
    color: white;
    cursor: pointer;
    transition: background 0.3s ease;
}

.newsletter-form button:hover {
    background: #45a049;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, #4CAF50, #45a049);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        z-index: 10010;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-visual {
        width: 300px;
        height: 300px;
    }

    .main-icon {
        font-size: 6rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .pilares-grid {
        grid-template-columns: 1fr;
    }

    .produtos-grid {
        grid-template-columns: 1fr;
    }

    .tokenomics-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .chart-container {
        grid-template-columns: 1fr;
    }

    .roadmap-timeline::before {
        left: 30px;
    }

    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        margin-left: 60px;
        margin-right: 0;
        padding-left: 2rem;
        padding-right: 0;
        text-align: left;
    }

    .timeline-marker {
        left: 30px;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .section-title {
        font-size: 2rem;
       
    }

    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.08rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .about-item {
        flex-direction: column;
        text-align: center;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }
}

/* Scroll Animations */
.scroll-animate {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s ease;
}

.scroll-animate.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Smooth scrolling for older browsers */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
} 

/* Menu overlay inicial (escondido) */
.nav-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(255,255,255,0.98);
  z-index: 10010;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 80px; /* ajuste conforme altura do header */
  transform: translateY(-100%);
  transition: transform 0.4s cubic-bezier(.77,0,.18,1);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Quando ativo, desliza para baixo */
.nav-menu.active {
  transform: translateY(0);
}

/* Overlay escurecido */
.menu-overlay-bg {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(0,0,0,0.4);
  z-index: 10005;
  opacity: 1;
  transition: opacity 0.3s;
  pointer-events: auto;
}
.menu-overlay-bg.hide {
  opacity: 0;
  pointer-events: none;
} 

/* MOBILE: menu overlay */
@media (max-width: 900px) {
  .nav-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(255,255,255,0.98);
    z-index: 10010;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 80px;
    gap: 0;
    max-width: none;
    margin: 0;
    transform: translateY(-100%);
    transition: transform 0.4s cubic-bezier(.77,0,.18,1);
    box-shadow: 0 8px 32px rgba(44, 62, 80, 0.12);
  }
  .nav-menu.active {
    transform: translateY(0);
  }
  .nav-toggle {
    display: flex;
  }
  .nav-link {
    padding-top: 8px;
    padding-bottom: 8px;
    margin-top: 0;
    margin-bottom: 0;
    /* Reduzido para menu mobile */
  }
  .nav-link2{
    text-align: center;
    width: 100%;
    display: block;
    padding: 8px 0;
  }
  .nav-menu a {
    margin: 0;
    padding: 8px 0;
  }
  .nav-mobile-only {
    display: block !important;
  }
  .nav-item-dropdown {
    display: none !important;
  }
}

/* DESKTOP: menu horizontal sempre visível */
@media (min-width: 901px) {
  .nav-menu {
    position: static;
    width: auto;
    height: auto;
    background: transparent;
    box-shadow: none;
    max-width: none;
    margin: 0;
    left: auto;
    transform: none;
    display: flex !important;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    padding-top: 0;
    gap: 32px;
  }
  .nav-link {
    padding: 0 18px;
    font-size: 1rem;
    border-bottom: none;
    background: none;
    color: #1a1a1a;
  }
  .nav-link2{
    padding: 0 18px;
    font-size: 1rem;
    border-bottom: none;
    background: none;
    color: #1a1a1a;
  }
  .nav-toggle {
    display: none;
  }
  .menu-overlay-bg {
    display: none;
  }
  .nav-item-dropdown {
    display: inline-block !important;
  }
} 

.logo-ramceo-spin {
  width: 32px;
  height: 32px;
  margin-right: 10px;
  animation: spin-logo-ramceo 2.5s linear infinite;
  transform-style: preserve-3d;
}

@keyframes spin-logo-ramceo {
  0% { transform: rotateY(0deg); }
  100% { transform: rotateY(360deg); }
} 

@media (max-width: 900px) {
  .pilares, .produtos, .tokenomics, .about, .roadmap, .team, .contact {
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
  }
} 

.logo-coin-animate {
  width: 60px;
  height: 60px;
  display: inline-block;
  animation: coinDropOnly 1.2s cubic-bezier(.68,-0.55,.27,1.55) 1 forwards;
  will-change: transform;
}
.logo-coin-animate.spin {
  animation: coinSpinOnly 2.5s linear infinite;
}
@keyframes coinDropOnly {
  0% {
    transform: translateY(-200px);
    opacity: 0;
  }
  60% {
    opacity: 1;
    transform: translateY(20px);
  }
  80% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes coinSpinOnly {
  0% {
    transform: translateY(0) rotateY(0deg);
  }
  100% {
    transform: translateY(0) rotateY(360deg);
  }
} 

/* Language Selector Styles */
.language-selector {
    position: relative;
    margin-left: 20px;
}

.lang-btn {
    background: none;
    border: 2px solid #4CAF50;
    border-radius: 25px;
    padding: 8px 16px;
    color: #4CAF50;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    font-size: 14px;
}

.lang-btn:hover {
    background: #4CAF50;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

.lang-btn i {
    font-size: 16px;
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    padding: 8px 0;
    min-width: 120px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
    margin-top: 8px;
}

.lang-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    background: none;
    border: none;
    width: 100%;
    padding: 12px 16px;
    text-align: left;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #333;
    font-weight: 500;
    transition: all 0.2s ease;
    font-size: 14px;
}

.lang-option:hover {
    background: #f8f9fa;
    color: #4CAF50;
}

.lang-option.active {
    background: #4CAF50;
    color: white;
}

.lang-option i {
    font-size: 16px;
    width: 20px;
    text-align: center;
}

/* Mobile responsive for language selector */
@media (max-width: 900px) {
    .language-selector {
        margin-left: 0;
        margin-top: 20px;
        width: 100%;
    }
    
    .lang-btn {
        width: 100%;
        justify-content: center;
    }
    
    .lang-dropdown {
        width: 100%;
        right: auto;
        left: 0;
    }
} 

@media (max-width: 900px) {
    .lang-dropdown {
        max-height: 120px;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    /* Remover overflow-y do .nav-menu para não permitir scroll no menu inteiro */
    .nav-menu {
        overflow-y: unset !important;
    }
} 

@media (max-width: 900px) {
    .hero-title, .hero-description {
        max-width: 100%;
        overflow-wrap: break-word;
        word-break: break-word;
        box-sizing: border-box;
    }
    .btn {
        max-width: 100%;
        overflow-wrap: break-word;
        word-break: break-word;
        box-sizing: border-box;
    }
} 

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.08rem;
    }
    .hero-description {
        font-size: 0.95rem;
    }
    .btn {
        font-size: 0.95rem;
        padding: 10px 0;
    }
    .hero-image {
        margin-top: 6px;
    }
} 

@media (max-width: 600px) {
    .nav-logo span {
        font-size: 1rem;
        letter-spacing: 1px;
        margin-left: 2px;
    }
    .hero-buttons .btn {
      padding-left: 2.5rem;
      padding-right: 2.5rem;
      padding-top: 1rem;
      padding-bottom: 1rem;
      font-size: 1.1rem;
    }
} 

@media (min-width: 901px) {
    .language-selector {
        min-width: 90px;
        max-width: 130px;
        display: flex;
        justify-content: flex-end;
        align-items: center;
    }
    .lang-btn {
        min-width: 80px;
        max-width: 120px;
        padding-left: 18px;
        padding-right: 18px;
        font-size: 1rem;
        display: flex;
        align-items: center;
        justify-content: center;
        white-space: nowrap;
    }
    .lang-dropdown {
        min-width: 100px;
        max-width: 140px;
        left: auto;
        right: 0;
        text-align: left;
    }
    .lang-option span {
        font-size: 1rem;
        white-space: nowrap;
    }
} 

.team-grid.single-center {
    justify-content: center;
    display: flex;
    margin-top: 24px;
}
.team-grid.single-center .team-member {
    max-width: 350px;
    width: 100%;
} 

/* Scrollbar customizado - temática agro */
::-webkit-scrollbar {
  width: 12px;
  background: #f4f1ea; /* bege claro */
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #7cbb42 60%, #a67c52 100%); /* verde e marrom */
  border-radius: 8px;
  border: 2px solid #e6dfc8; /* bege mais escuro */
}
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #5e8c2a 60%, #8d6742 100%);
}
::-webkit-scrollbar-track {
  background: #f4f1ea;
  border-radius: 8px;
}

/* Firefox */
html {
  scrollbar-color: #7cbb42 #f4f1ea;
  scrollbar-width: thin;
} 

/* Responsividade específica para mobile - Hero Section */
@media (max-width: 480px) {
  .hero {
    min-height: 100vh;
    padding: 20px 0;
  }
  
  .hero-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 0 15px;
    text-align: center;
  }
  
  .hero-title {
    font-size: 1.8rem;
    line-height: 1.3;
    margin-bottom: 1rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  
  .hero-description {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    padding: 0 10px;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 0.8rem;
    align-items: center;
    width: 100%;
  }
  
  .hero-buttons .btn {
    width: 100%;
    max-width: 280px;
    padding: 12px 20px;
    font-size: 0.95rem;
    justify-content: center;
  }
  
  .hero-visual {
    width: 200px;
    height: 200px;
    margin: 0 auto;
  }
  
  .main-icon {
    font-size: 4rem;
  }
  
  .floating-elements i {
    font-size: 1.2rem;
  }
  
  .hero-scroll {
    bottom: 20px;
    font-size: 1.2rem;
  }
}

@media (max-width: 360px) {
  .hero-title {
    font-size: 1.5rem;
  }
  
  .hero-description {
    font-size: 0.9rem;
  }
  
  .hero-buttons .btn {
    font-size: 0.9rem;
    padding: 10px 16px;
  }
  
  .hero-visual {
    width: 180px;
    height: 180px;
  }
  
  .main-icon {
    font-size: 3.5rem;
  }
} 

/* Desktop - esconder nav-mobile-only */
@media (min-width: 901px) {
  .nav-mobile-only {
    display: none !important;
  }
  .nav-item-dropdown {
    display: inline-block !important;
  }
}

/* Mobile - mostrar nav-mobile-only e esconder dropdown */
@media (max-width: 900px) {
  .nav-mobile-only {
    display: block !important;
  }
  .nav-item-dropdown {
    display: none !important;
  }
} 
