/* Design System: Editorial Tech (Mixed-Light Theme) */

:root {
  /* Color Tokens */
  --primary: #a63b00;
  --primary-container: #f26522;
  --on-primary: #ffffff;
  --secondary: #006874;
  --secondary-container: #7fedfe;
  --on-secondary-container: #006b77;
  --surface: #f3faff;
  --surface-container-lowest: #ffffff;
  --surface-container-low: #e6f6ff;
  --surface-container: #dbf1fe;
  --surface-container-high: #d5ecf8;
  --on-surface: #071e27;
  --on-surface-variant: #594138;
  --outline-variant: rgba(225, 191, 179, 0.3);

  /* Elevation (Ambient Shadows) */
  --shadow-ambient: 0px 12px 32px rgba(7, 30, 39, 0.06);
  --shadow-hover: 0px 16px 40px rgba(7, 30, 39, 0.1);

  /* Typography */
  --font-headline: 'Manrope', sans-serif;
  --font-body: 'Inter', sans-serif;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--surface);
  color: var(--on-surface);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headline);
  color: var(--on-surface);
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* Utilities */
.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.flex { display: flex; }
.grid { display: grid; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.gap-2 { gap: 0.5rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.text-center { text-align: center; }

/* Micro-Animations & Transitions */
.transition-all {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

@keyframes pulse-ring {
  0% { transform: scale(0.8); box-shadow: 0 0 0 0 rgba(166, 59, 0, 0.4); }
  70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(166, 59, 0, 0); }
  100% { transform: scale(0.8); box-shadow: 0 0 0 0 rgba(166, 59, 0, 0); }
}

/* Icons */
.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* =========================================================================
   COMPONENTS
   ========================================================================= */

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 50;
  background-color: rgba(243, 250, 255, 0.6);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-ambient);
  padding: 1rem 0;
}

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

.nav-links {
  display: flex;
  gap: 2.5rem;
  font-family: var(--font-headline);
  font-weight: 600;
  font-size: 0.9375rem;
}

.nav-links a {
  color: var(--on-surface-variant);
  transition: color 0.3s ease, border-color 0.3s ease, padding-bottom 0.3s ease;
  border-bottom: 2px solid transparent;
  padding-bottom: 4px;
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-links a.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 0.375rem;
  font-weight: 700;
  font-size: 0.9375rem;
  transition: all 0.2s;
  text-decoration: none;
  cursor: pointer;
  font-family: var(--font-body);
}

.btn:active {
  transform: scale(0.95);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-container));
  color: var(--on-primary);
}

.btn-primary:hover {
  box-shadow: 0 10px 15px -3px rgba(166, 59, 0, 0.3);
}

.btn-secondary {
  background-color: var(--secondary);
  color: #fff;
}

.btn-secondary:hover {
  background-color: #005761;
  box-shadow: 0 10px 15px -3px rgba(0, 104, 116, 0.3);
}

.btn-tertiary {
  color: var(--secondary);
  padding: 0.75rem 1rem;
}

.btn-tertiary .icon {
  transition: transform 0.3s;
}

.btn-tertiary:hover .icon {
  transform: translateX(4px);
}

/* Hero Section */
.hero {
  padding: 10rem 0 7rem;
  background-color: var(--surface);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 10;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 1rem;
  background-color: var(--surface-container-high);
  border-radius: 9999px;
  margin-bottom: 2rem;
}

.pulse-indicator {
  width: 8px;
  height: 8px;
  background-color: var(--primary);
  border-radius: 50%;
  animation: pulse-ring 2s infinite;
}

.pill-text {
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--primary);
}

.hero-title {
  font-size: 4.25rem;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.hero-title .highlight {
  display: block;
  color: var(--primary);
  margin-top: 0.5rem;
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--on-surface-variant);
  margin-bottom: 2.5rem;
  max-width: 90%;
  font-weight: 500;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
}

.hero-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

.hero-image-glow {
  position: absolute;
  top: -1.5rem;
  right: -1.5rem;
  bottom: -1.5rem;
  left: -1.5rem;
  background: linear-gradient(to top right, rgba(0, 104, 116, 0.2), rgba(166, 59, 0, 0.1));
  border-radius: 2rem;
  filter: blur(3xl);
  opacity: 0.5;
  z-index: -1;
  transition: opacity 0.7s;
}

.hero-image-wrapper:hover .hero-image-glow {
  opacity: 0.7;
}

.hero-card {
  background-color: var(--surface-container-lowest);
  border-radius: 0.75rem;
  box-shadow: var(--shadow-ambient);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  aspect-ratio: 16/10;
}

.hero-card-header {
  height: 2rem;
  background-color: var(--surface-container-low);
  display: flex;
  align-items: center;
  padding: 0 1rem;
  gap: 0.5rem;
}

.hero-card-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.hero-card-dot.red { background-color: #f87171; }
.hero-card-dot.yellow { background-color: #fbbf24; }
.hero-card-dot.green { background-color: #4ade80; }

.hero-card-body {
  flex-grow: 1;
  background-color: #0f172a;
  position: relative;
  overflow: hidden;
}

.hero-card-body img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
  transition: transform 0.7s;
}

.hero-card:hover .hero-card-body img {
  transform: scale(1.05);
}

.floating-metric {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  padding: 1.25rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  gap: 1.25rem;
  color: white;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.5s ease 0.1s;
}

.hero-card:hover .floating-metric {
  opacity: 1;
  transform: translateY(0);
}

.floating-metric-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-container));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.floating-metric-title {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 1rem;
}

.floating-metric-desc {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 0.125rem;
}

/* Quem Somos Section */
.about {
  padding: 8rem 0;
  background-color: var(--surface-container-low);
  min-height: 90vh;
  display: flex;
  align-items: center;
}

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

.about-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.photo-col {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.photo-col-1 {
  padding-top: 4rem;
}

.photo-card {
  border-radius: 1rem;
  overflow: hidden;
  background-color: var(--surface-container-lowest);
}

.photo-card-tall {
  aspect-ratio: 4/5;
}

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

.stat-card {
  border-radius: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  padding: 2rem;
  text-align: center;
}

.stat-card-teal {
  background-color: var(--secondary);
  height: 10rem;
}

.stat-card-teal h3 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: white;
}

.stat-card-teal p {
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--secondary-container);
  opacity: 0.8;
}

.stat-card-orange {
  background: linear-gradient(135deg, var(--primary), var(--primary-container));
  height: 12rem;
  justify-content: flex-end;
  align-items: flex-start;
  text-align: left;
  position: relative;
  overflow: hidden;
}

.stat-card-orange .bg-icon {
  position: absolute;
  top: -10px;
  right: -10px;
  font-size: 5rem;
  color: rgba(255, 255, 255, 0.2);
  transform: rotate(12deg) scale(1.5);
}

.stat-card-orange .icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  position: relative;
  z-index: 10;
}

.stat-card-orange h4 {
  font-size: 1.125rem;
  font-weight: 700;
  color: white;
  margin: 0;
  position: relative;
  z-index: 10;
}

.about-content h2 {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 2rem;
}

.divider {
  width: 4rem;
  height: 6px;
  background-color: var(--primary);
  border-radius: 3px;
  margin-bottom: 3rem;
}

.about-content p {
  font-size: 1.125rem;
  color: var(--on-surface-variant);
  margin-bottom: 1.5rem;
}

.about-content p.highlight-text {
  color: var(--on-surface);
  font-weight: 500;
}

/* Modules Section */
.modules {
  padding: 8rem 0;
  background-color: var(--surface);
}

.section-header {
  text-align: center;
  margin-bottom: 5rem;
}

.section-eyebrow {
  display: block;
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.25em;
  margin-bottom: 1rem;
}

.section-title {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.section-desc {
  font-size: 1.125rem;
  color: var(--on-surface-variant);
  max-width: 600px;
  margin: 1.5rem auto 0;
}

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

.module-card {
  background-color: var(--surface-container-lowest);
  border-radius: 0.75rem;
  padding: 2.5rem;
  box-shadow: var(--shadow-ambient);
  transition: all 0.3s;
}

.module-icon-wrap {
  width: 3.5rem;
  height: 3.5rem;
  background-color: var(--surface-container);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  transition: all 0.3s;
}

.module-icon-wrap .icon {
  font-size: 1.75rem;
  color: var(--primary);
  transition: all 0.3s;
}

.module-card:hover .module-icon-wrap {
  background-color: var(--primary);
}

.module-card:hover .module-icon-wrap .icon {
  color: white;
}

.module-card h3 {
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: 1rem;
  transition: color 0.3s;
}

.module-card:hover h3 {
  color: var(--primary);
}

.module-card p {
  color: var(--on-surface-variant);
  font-size: 1rem;
}

/* Values Section */
.values {
  padding: 8rem 0;
  background-color: var(--secondary);
  color: white;
  position: relative;
  overflow: hidden;
}

.values-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to bottom right, #005761, var(--secondary));
  opacity: 0.5;
}

.values-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 5rem;
  position: relative;
  z-index: 10;
  align-items: center;
}

.values h2 {
  font-size: 4rem;
  font-weight: 800;
  color: white;
  margin-bottom: 4rem;
}

.value-item {
  display: flex;
  gap: 2rem;
  margin-bottom: 3rem;
}

.value-icon {
  width: 4rem;
  height: 4rem;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  backdrop-filter: blur(8px);
  transition: background-color 0.5s;
}

.value-item:hover .value-icon {
  background-color: var(--primary);
}

.value-icon .icon {
  font-size: 2rem;
}

.value-item h4 {
  font-size: 1.5rem;
  color: white;
  margin-bottom: 0.75rem;
}

.value-item p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.125rem;
}

.metric-panel {
  background-color: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 2rem;
  padding: 4rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.metric-header {
  text-align: center;
  margin-bottom: 4rem;
}

.metric-eyebrow {
  display: block;
  font-size: 0.6875rem;
  font-weight: 800;
  color: var(--primary-container);
  text-transform: uppercase;
  letter-spacing: 0.25em;
  margin-bottom: 1rem;
}

.metric-number {
  font-size: 7rem;
  font-weight: 900;
  font-family: var(--font-headline);
  line-height: 1;
}

.metric-desc {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 1rem;
}

.progress-item {
  margin-bottom: 2rem;
}

.progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.progress-header span:first-child {
  font-weight: 700;
}

.progress-header span:last-child {
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--primary-container);
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.progress-track {
  width: 100%;
  height: 6px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
}

.progress-fill {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary), var(--primary-container));
  border-radius: 3px;
}

/* Footer */
.footer {
  background-color: var(--surface-container-low);
  padding: 6rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4rem;
  margin-bottom: 5rem;
}

.footer-brand img {
  height: 3.5rem;
  margin-bottom: 2rem;
  filter: grayscale(100%);
  opacity: 0.8;
  transition: all 0.3s;
}

.footer-brand:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

.footer-brand p {
  color: var(--on-surface-variant);
  font-size: 0.9375rem;
}

.footer h5 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

.footer-links, .footer-contact {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-contact a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--on-surface-variant);
  font-size: 0.9375rem;
  transition: color 0.3s;
}

.footer-contact .icon {
  font-size: 1.25rem;
  color: var(--secondary);
  transition: color 0.3s;
}

.footer-contact a:hover {
  color: var(--primary);
}

.footer-contact a:hover .icon {
  color: var(--primary);
}

.footer-location {
  display: flex;
  gap: 0.75rem;
  color: var(--on-surface-variant);
  font-size: 0.9375rem;
}

.footer-location .icon {
  font-size: 1.25rem;
  color: var(--secondary);
  margin-top: 0.125rem;
}

.footer-links a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--on-surface-variant);
  font-size: 0.9375rem;
  font-weight: 500;
  transition: color 0.3s;
}

.footer-links .icon {
  font-size: 1rem;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.copyright {
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(89, 65, 56, 0.8);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.social-btn {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background-color: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--on-surface-variant);
  transition: all 0.3s;
}

.social-btn:hover {
  background-color: white;
  color: var(--primary);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-actions { justify-content: center; }
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-photos { max-width: 600px; margin: 0 auto; }
  .modules-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 3rem; }
  .hero-title { font-size: 3.5rem; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .modules-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 2.5rem; }
  .about-content h2 { font-size: 3rem; }
  .values h2 { font-size: 3rem; }
  .metric-number { font-size: 5rem; }
  .metric-panel { padding: 2rem; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
}
