/* ================================================
   DAPP Brasil - Design System
   Static rebuild of dappbrasil.ai
   ================================================ */

:root {
  --navy:      #033861;
  --navy-dark: #00112B;
  --yellow:    #FEDB32;
  --yellow-alt:#EDBF35;
  --blue:      #2B6CD3;
  --light-blue:#A6D7FC;
  --surface:   #FFF9F7;
  --white:     #FFFFFF;
  --gray-600:  #53575A;
  --gray-200:  #E6E6E6;
  --text:      #033861;

  --font-body:    'Inter', sans-serif;
  --font-heading: 'Poppins', sans-serif;

  --max-w: 1200px;
  --radius: 8px;
  --radius-lg: 12px;
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--surface);
  line-height: 1.6;
}
img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; }
ul { list-style: none; }

/* ---- CONTAINER ---- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 48px;
}
@media (max-width: 768px) {
  .container { padding: 0 24px; }
}

/* ---- NAVBAR ---- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 48px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
}
.logo-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}
.logo-text {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
}
.logo-ia {
  color: var(--yellow);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-link {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  padding: 8px 16px;
  border-radius: var(--radius);
  transition: color 0.2s, background 0.2s;
}
.nav-link:hover, .nav-link.active {
  color: var(--white);
  background: rgba(255,255,255,0.1);
}
.nav-cta {
  background: var(--yellow);
  color: var(--navy) !important;
  font-weight: 600;
}
.nav-cta:hover {
  background: var(--yellow-alt) !important;
  color: var(--navy) !important;
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
}
@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--navy);
    flex-direction: column;
    padding: 16px 24px 24px;
    gap: 4px;
    border-top: 1px solid rgba(255,255,255,0.1);
  }
  .nav-links.open { display: flex; }
  .nav-link { width: 100%; padding: 12px 16px; }
  .nav-inner { padding: 0 24px; }
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  padding: 12px 28px;
  border-radius: var(--radius);
  transition: all 0.2s;
  cursor: pointer;
  border: none;
  line-height: 1.5;
}
.btn-yellow {
  background: var(--yellow);
  color: var(--navy);
}
.btn-yellow:hover { background: var(--yellow-alt); }
.btn-navy {
  background: var(--navy);
  color: var(--white);
}
.btn-navy:hover { background: var(--navy-dark); }
.btn-outline-light {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.6);
}
.btn-outline-light:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }
.btn-outline-navy {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
}
.btn-outline-navy:hover { background: var(--navy); color: var(--white); }

/* ---- HERO ---- */
.hero {
  position: relative;
  min-height: 580px;
  display: flex;
  align-items: center;
  background: var(--navy-dark);
  background-image: url('../img/fe9c4c1330_Frame_201_20_281_29.svg.svg');
  background-size: cover;
  background-position: center right;
  overflow: hidden;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,17,43,0.92) 40%, rgba(0,17,43,0.4) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 80px;
  padding-bottom: 80px;
}
.hero-text {
  max-width: 640px;
}
.hero-text h1 {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 24px;
}
.hero-sub {
  font-size: 20px;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  margin-bottom: 40px;
  max-width: 560px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
/* Projects hero variant */
.hero-projects { background-position: center; }
.hero-about { background-position: center; }
.hero-contact { background-position: center; }

/* ---- SECTIONS ---- */
.section {
  padding: 80px 0;
}
.bg-navy   { background: var(--navy); }
.bg-light  { background: var(--surface); }
.bg-white  { background: var(--white); }
.bg-navy-split { background: linear-gradient(135deg, var(--navy) 60%, var(--navy-dark) 100%); }

/* Section labels */
.section-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray-600);
  text-align: center;
  margin-bottom: 12px;
}
.section-label.light { color: rgba(255,255,255,0.6); }

/* Section titles */
.section-title {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  margin-bottom: 24px;
}
.section-title.navy  { color: var(--navy); }
.section-title.yellow { color: var(--yellow); }
.section-title.white { color: var(--white); }
.section-title.left  { text-align: left; }

/* Section body */
.section-body {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  color: var(--text);
  margin-bottom: 16px;
}
.section-body.light   { color: rgba(255,255,255,0.85); }
.section-body.white   { color: rgba(255,255,255,0.9); }
.section-body.centered { text-align: center; }
.section-body.max-800 {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.center-action {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

/* ---- TWO-COL LAYOUT ---- */
.layout-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 900px) {
  .layout-two-col { grid-template-columns: 1fr; gap: 40px; }
}

/* ---- CHECKLIST ---- */
.check-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 24px;
}
.check-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  color: var(--text);
}
.check-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: var(--navy);
  color: var(--white);
  border-radius: 4px;
  font-size: 14px;
  flex-shrink: 0;
  font-weight: 700;
}

/* ---- PARTNERS GRID ---- */
.col-logos { display: flex; flex-direction: column; }
.partners-label {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 24px;
  text-align: center;
}
.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 16px;
}
.partner-badge {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80px;
}
.partner-badge img {
  max-height: 48px;
  width: auto;
  object-fit: contain;
}

/* ---- STATS ---- */
.col-stats { display: flex; align-items: center; }
.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  width: 100%;
}
.stat-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
}
.stat-number {
  font-family: var(--font-heading);
  font-size: 42px;
  font-weight: 700;
  color: var(--yellow);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  font-weight: 500;
}

/* ---- CARDS ---- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
  margin-top: 48px;
}
.impact-card, .service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: box-shadow 0.2s, transform 0.2s;
}
.impact-card:hover, .service-card:hover {
  box-shadow: 0 8px 24px rgba(3,56,97,0.12);
  transform: translateY(-3px);
}
.impact-icon, .service-icon {
  font-size: 32px;
  margin-bottom: 16px;
  color: var(--navy);
}
.impact-card h3, .service-card h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 12px;
}
.impact-card p, .service-card p {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.65;
}

/* ---- PROJECT CARDS ---- */
.project-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.project-card:hover {
  box-shadow: 0 8px 24px rgba(3,56,97,0.12);
  transform: translateY(-3px);
}
.project-tag {
  display: inline-block;
  background: var(--light-blue);
  color: var(--navy);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.project-card h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 12px;
}
.project-card p {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.65;
}

/* ---- RD LINES ---- */
.rd-lines {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.rd-line {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  background: var(--surface);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--navy);
}
.rd-line-icon {
  font-size: 28px;
  flex-shrink: 0;
}
.rd-line h4 {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}
.rd-line p {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.6;
}

/* ---- TIMELINE ---- */
.timeline {
  position: relative;
  padding-left: 32px;
  margin-top: 40px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--yellow);
}
.timeline-item {
  position: relative;
  margin-bottom: 40px;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -28px;
  top: 6px;
  width: 14px;
  height: 14px;
  background: var(--navy);
  border: 3px solid var(--yellow);
  border-radius: 50%;
}
.timeline-year {
  font-size: 13px;
  font-weight: 700;
  color: var(--yellow-alt);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}
.timeline-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 8px;
}
.timeline-body {
  font-size: 15px;
  color: rgba(255,255,255,0.75);
  line-height: 1.65;
}

/* ---- VALUES GRID ---- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.value-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
}
.value-letter {
  font-family: var(--font-heading);
  font-size: 52px;
  font-weight: 700;
  color: var(--navy);
  opacity: 0.15;
  line-height: 1;
  margin-bottom: 8px;
}
.value-card h3 {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}
.value-card p {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.65;
}

/* ---- CONTACT LAYOUT ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ---- CONTACT FORM ---- */
.contact-form {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.form-note {
  background: #fff3cd;
  border: 1px solid #ffc107;
  border-radius: var(--radius);
  padding: 12px 16px;
  font-size: 14px;
  color: #664d03;
  margin-bottom: 28px;
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text);
  background: var(--surface);
  transition: border-color 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--navy);
}
.form-group textarea {
  min-height: 120px;
  resize: vertical;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #aaa;
}
.form-submit {
  width: 100%;
  padding: 14px;
  font-size: 16px;
  font-weight: 600;
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  font-family: var(--font-body);
  transition: background 0.2s;
}
.form-submit:hover { background: var(--navy-dark); }
.form-submit:disabled {
  background: var(--gray-200);
  color: var(--gray-600);
  cursor: not-allowed;
}

/* ---- CONTACT INFO ---- */
.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.contact-info-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
}
.contact-info-card h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 12px;
}
.contact-info-card p {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.65;
  margin-bottom: 6px;
}
.contact-info-card p:last-child { margin-bottom: 0; }

/* ---- CTA BANNER ---- */
.cta-banner {
  background: var(--navy);
  padding: 72px 0;
  text-align: center;
}
.cta-banner h2 {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}
.cta-banner p {
  font-size: 18px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 36px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---- FOOTER ---- */
.footer {
  background: var(--navy-dark);
  padding: 64px 0 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
@media (max-width: 768px) {
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
}
.footer-brand { display: flex; flex-direction: column; gap: 12px; }
.footer-logo { width: 40px; height: 40px; }
.footer-name {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
}
.footer-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  line-height: 1.65;
  max-width: 280px;
}
.footer-nav h4, .footer-contact h4 {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  color: var(--yellow);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.footer-nav ul { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  transition: color 0.2s;
}
.footer-nav a:hover { color: var(--white); }
.footer-contact p {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 6px;
}
.footer-bottom {
  padding: 20px 0;
}
.footer-bottom p {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  text-align: center;
}

/* ---- ACCENT DIVIDER ---- */
.accent-divider {
  height: 4px;
  background: linear-gradient(90deg, var(--navy) 0%, var(--blue) 50%, var(--yellow) 100%);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .hero-text h1 { font-size: 32px; }
  .hero-sub { font-size: 16px; }
  .section { padding: 56px 0; }
  .section-title { font-size: 26px; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .contact-form { padding: 28px 24px; }
  .cta-banner h2 { font-size: 24px; }
}
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .cards-grid { grid-template-columns: 1fr; }
}
