/* ============================================================
   LCA Academy - Custom Styles
   Replicates the exact visual of the React/Tailwind version
   using Bootstrap 5 as base + custom overrides.
   ============================================================ */

/* === Google Fonts === */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600;1,700&display=swap');

/* === CSS Variables (Brand Tokens) === */
:root {
  --navy: #1e2a3a;
  --coral: #b85c50;
  --coral-light: #c97068;
  --offwhite: #faf9f7;
  --warm-gray: #f0efed;
  --foreground: #1e2a3a;
  --muted-foreground: #6b7280;
  --border-color: #e8e7e5;
  --font-display: 'Playfair Display', serif;
  --font-sans: 'Inter', system-ui, sans-serif;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
}

/* === Base Resets === */
* {
  box-sizing: border-box;
}

body {
  font-family: var(--font-sans);
  color: var(--foreground);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

a {
  text-decoration: none;
  transition: all 0.2s ease;
}

img {
  max-width: 100%;
  height: auto;
}

::selection {
  background-color: rgba(184, 92, 80, 0.15);
}

html {
  scroll-behavior: smooth;
}

/* === Container Override === */
.container {
  max-width: 1200px;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

@media (min-width: 640px) {
  .container {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding-left: 3.5rem;
    padding-right: 3.5rem;
  }
}

/* === Label Premium (Uppercase small label) === */
.label-premium {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-family: var(--font-sans);
}

/* === Header / Navigation === */
.lca-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1050;
  padding: 1.25rem 0;
  transition: all 0.5s var(--ease-out);
}

.lca-header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(232, 231, 229, 0.4);
  padding: 0.75rem 0;
}

.lca-header .nav-link {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.7);
  padding: 0.5rem 0;
  transition: color 0.2s ease;
}

.lca-header .nav-link:hover {
  color: #fff;
}

.lca-header.scrolled .nav-link {
  color: rgba(30, 42, 58, 0.7);
}

.lca-header.scrolled .nav-link:hover {
  color: var(--navy);
}

.btn-aluno-professor {
  font-size: 13px;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  background: transparent;
  border-radius: 2px;
  transition: all 0.2s var(--ease-out);
}

.btn-aluno-professor:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  transform: scale(0.98);
}

.scrolled .btn-aluno-professor {
  border-color: rgba(30, 42, 58, 0.2);
  color: var(--navy);
}

.scrolled .btn-aluno-professor:hover {
  background: rgba(30, 42, 58, 0.05);
  color: var(--navy);
}

.btn-coral {
  font-size: 13px;
  font-weight: 500;
  background: var(--coral);
  color: #fff;
  padding: 0.625rem 1.25rem;
  border-radius: 2px;
  border: none;
  transition: all 0.2s var(--ease-out);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-coral:hover {
  background: var(--coral-light);
  color: #fff;
  transform: scale(0.98);
}

.btn-coral:active {
  transform: scale(0.96);
}

/* === Hero Section === */
.hero-section {
  position: relative;
  height: 100vh;
  min-height: 700px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.1s linear;
  will-change: transform;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(26, 35, 50, 0.7), rgba(26, 35, 50, 0.5), rgba(26, 35, 50, 0.8));
}

.hero-content {
  position: relative;
  padding-bottom: 6rem;
}

@media (min-width: 1024px) {
  .hero-content {
    padding-bottom: 8rem;
  }
}

.hero-content .label-premium {
  color: rgba(255, 255, 255, 0.5);
}

.hero-content h1 {
  font-size: 2.25rem;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.02em;
  max-width: 56rem;
}

@media (min-width: 768px) {
  .hero-content h1 { font-size: 3rem; }
}
@media (min-width: 1024px) {
  .hero-content h1 { font-size: 3.75rem; }
}
@media (min-width: 1280px) {
  .hero-content h1 { font-size: 4.5rem; }
}

.hero-content .subtitle {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1rem;
  font-weight: 300;
  max-width: 36rem;
  line-height: 1.7;
}

@media (min-width: 1024px) {
  .hero-content .subtitle { font-size: 1.125rem; }
}

.btn-outline-white {
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.875rem 1.75rem;
  border-radius: 2px;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.btn-coral-lg {
  font-size: 0.875rem;
  font-weight: 500;
  background: var(--coral);
  color: #fff;
  padding: 0.875rem 1.75rem;
  border-radius: 2px;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s var(--ease-out);
}

.btn-coral-lg:hover {
  background: var(--coral-light);
  color: #fff;
  transform: scale(0.98);
}

.btn-coral-lg:active {
  transform: scale(0.96);
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: rgba(255, 255, 255, 0.4);
}

.scroll-indicator span {
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.5rem;
}

.scroll-indicator i {
  animation: bounce 2s infinite;
}

/* === Credentials Section === */
.credentials-section {
  padding: 5rem 0;
  border-bottom: 1px solid rgba(232, 231, 229, 0.3);
}

.credential-item .value {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--navy);
  letter-spacing: -0.02em;
}

@media (min-width: 1024px) {
  .credential-item .value { font-size: 1.875rem; }
}

.credential-item .label {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  font-weight: 300;
  margin-top: 0.25rem;
}

/* === Programs Section === */
.programs-section {
  padding: 7rem 0 7rem;
}

.programs-section h2 {
  font-size: 1.875rem;
  color: var(--navy);
}

@media (min-width: 1024px) {
  .programs-section h2 { font-size: 2.25rem; }
}
@media (min-width: 1280px) {
  .programs-section h2 { font-size: 3rem; }
}

.program-card {
  display: block;
  padding: 2rem 2.5rem;
  border: 1px solid var(--border-color);
  background: #fff;
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
}

.program-card:hover {
  box-shadow: 0 10px 40px rgba(0,0,0,0.08);
  transform: translateY(-2px);
  border-color: rgba(30, 42, 58, 0.15);
  color: inherit;
}

.program-card.highlight {
  border-color: var(--navy);
  background: var(--navy);
  color: #fff;
}

.program-card .tag {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-family: var(--font-sans);
  color: var(--muted-foreground);
}

.program-card.highlight .tag {
  color: var(--coral-light);
}

.program-card .card-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-top: 0.75rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--navy);
}

@media (min-width: 1024px) {
  .program-card .card-title { font-size: 1.7rem; }
}

.program-card.highlight .card-title {
  color: #fff;
}

.program-card .meta {
  margin-top: 1rem;
  font-size: 0.75rem;
  font-weight: 300;
  color: var(--muted-foreground);
}

.program-card.highlight .meta {
  color: rgba(255, 255, 255, 0.5);
}

.program-card .desc {
  margin-top: 1.25rem;
  font-size: 0.875rem;
  line-height: 1.7;
  font-weight: 300;
  color: var(--muted-foreground);
}

.program-card.highlight .desc {
  color: rgba(255, 255, 255, 0.65);
}

.program-card .cta-link {
  margin-top: 2rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: gap 0.2s ease, color 0.2s ease;
}

.program-card:hover .cta-link {
  gap: 0.75rem;
}

.program-card.highlight .cta-link {
  color: var(--coral-light);
}

.program-card.highlight:hover .cta-link {
  color: #fff;
}

/* === Advisory Section === */
.advisory-section {
  padding: 7rem 0;
  background: var(--offwhite);
}

.advisory-card {
  background: #fff;
  border: 1px solid var(--border-color);
  padding: 2rem;
  transition: all 0.3s ease;
}

.advisory-card:hover {
  border-color: rgba(30, 42, 58, 0.15);
}

.advisory-card .icon-box {
  width: 2.75rem;
  height: 2.75rem;
  background: rgba(30, 42, 58, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.advisory-card h3 {
  font-size: 1rem;
  font-weight: 500;
  color: var(--navy);
  font-family: var(--font-sans);
  margin-bottom: 0.75rem;
}

.advisory-card p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.7;
  font-weight: 300;
}

.sector-card {
  background: #fff;
  border: 1px solid var(--border-color);
  padding: 2rem 2.5rem;
  transition: all 0.3s ease;
}

.sector-card:hover {
  border-color: rgba(30, 42, 58, 0.15);
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.sector-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--navy);
  letter-spacing: -0.02em;
}

@media (min-width: 1024px) {
  .sector-card h3 { font-size: 1.5rem; }
}

.sector-card .bullet-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: rgba(30, 42, 58, 0.75);
  font-weight: 300;
  margin-bottom: 0.75rem;
}

.sector-card .bullet-list li::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--coral);
  margin-top: 0.5rem;
  flex-shrink: 0;
}

/* === Public Center Section === */
.public-center-section {
  padding: 7rem 0;
}

.public-center-section .feature-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.public-center-section .feature-item .line {
  width: 1px;
  min-height: 2.5rem;
  background: var(--coral);
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.public-center-section .feature-item h4 {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
  font-family: var(--font-sans);
}

.public-center-section .feature-item p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-top: 0.125rem;
}

/* === Faculty Section === */
.faculty-section {
  padding: 7rem 0;
  background: var(--navy);
}

.faculty-card {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
}

.faculty-card .avatar {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.faculty-card .avatar span {
  color: rgba(255, 255, 255, 0.6);
  font-family: var(--font-display);
  font-size: 1.125rem;
}

.faculty-card h3 {
  color: #fff;
  font-weight: 500;
  font-size: 1rem;
  font-family: var(--font-sans);
}

.faculty-card .role {
  color: var(--coral-light);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-top: 0.25rem;
}

.faculty-card .bio {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
  margin-top: 0.75rem;
  line-height: 1.7;
}

/* === Institution Section === */
.institution-section {
  padding: 7rem 0;
  text-align: center;
}

.institution-section .manifesto {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--navy);
  line-height: 1.3;
  letter-spacing: -0.02em;
  max-width: 48rem;
  margin: 0 auto;
}

@media (min-width: 1024px) {
  .institution-section .manifesto { font-size: 1.875rem; }
}
@media (min-width: 1280px) {
  .institution-section .manifesto { font-size: 2.25rem; }
}

.institution-section .divider {
  width: 3rem;
  height: 1px;
  background: var(--coral);
  margin: 2.5rem auto;
}

.institution-section .value-item .value {
  font-family: var(--font-display);
  font-size: 1.125rem;
  color: var(--navy);
}

.institution-section .value-item .desc {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  margin-top: 0.125rem;
}

/* === Footer === */
.lca-footer {
  background: var(--navy);
  padding: 4rem 0 5rem;
}

.lca-footer .cta-block {
  text-align: center;
  margin-bottom: 4rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.lca-footer .cta-block h2 {
  color: #fff;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
}

@media (min-width: 1024px) {
  .lca-footer .cta-block h2 { font-size: 1.875rem; }
}

.lca-footer .cta-block p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
  max-width: 28rem;
  margin: 0 auto 2rem;
}

.lca-footer .footer-title {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  font-family: var(--font-sans);
}

.lca-footer .footer-link {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.875rem;
  display: block;
  margin-bottom: 0.625rem;
  transition: color 0.2s ease;
}

.lca-footer .footer-link:hover {
  color: rgba(255, 255, 255, 0.7);
}

.lca-footer .footer-text {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.875rem;
  line-height: 1.7;
}

.lca-footer .footer-bottom {
  margin-top: 3.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.lca-footer .footer-bottom p,
.lca-footer .footer-bottom a {
  color: rgba(255, 255, 255, 0.25);
  font-size: 0.75rem;
}

.lca-footer .footer-bottom a:hover {
  color: rgba(255, 255, 255, 0.5);
}

/* === Internal Page Hero === */
.page-hero {
  background: var(--navy);
  padding: 7rem 0 4rem;
}

@media (min-width: 1024px) {
  .page-hero { padding: 8rem 0 5rem; }
}

.page-hero .breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.75rem;
  margin-bottom: 1.5rem;
}

.page-hero .breadcrumb-nav a {
  color: rgba(255, 255, 255, 0.4);
  transition: color 0.2s ease;
}

.page-hero .breadcrumb-nav a:hover {
  color: rgba(255, 255, 255, 0.7);
}

.page-hero h1 {
  color: #fff;
  font-size: 1.875rem;
  letter-spacing: -0.02em;
}

@media (min-width: 1024px) {
  .page-hero h1 { font-size: 2.25rem; }
}
@media (min-width: 1280px) {
  .page-hero h1 { font-size: 3rem; }
}

.page-hero .subtitle {
  color: rgba(255, 255, 255, 0.5);
  font-size: 1rem;
  font-weight: 300;
  max-width: 42rem;
  line-height: 1.7;
  margin-top: 1rem;
}

@media (min-width: 1024px) {
  .page-hero .subtitle { font-size: 1.125rem; }
}

/* === Program Detail Page === */
.info-bar {
  padding: 2rem 0;
  border-bottom: 1px solid var(--border-color);
}

.info-bar .info-item {
  text-align: center;
}

.info-bar .info-item .info-label {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  margin-bottom: 0.25rem;
}

.info-bar .info-item .info-value {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--navy);
}

.curriculum-grid .curriculum-item {
  border: 1px solid var(--border-color);
  padding: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition: border-color 0.2s ease;
}

.curriculum-grid .curriculum-item:hover {
  border-color: rgba(30, 42, 58, 0.2);
}

.curriculum-grid .curriculum-item .number {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--coral);
  font-weight: 500;
  min-width: 2rem;
}

.curriculum-grid .curriculum-item .text {
  font-size: 0.875rem;
  color: var(--foreground);
  line-height: 1.5;
}

/* === Highlight Block (navy background) === */
.highlight-block {
  background: var(--navy);
  padding: 5rem 0;
  margin: 4rem 0;
}

.highlight-block h2 {
  color: #fff;
}

.highlight-block .highlight-subtitle {
  color: var(--coral-light);
  font-style: italic;
}

.highlight-block p {
  color: rgba(255, 255, 255, 0.6);
}

.highlight-block .feature-list li {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
  padding-left: 1.5rem;
  position: relative;
}

.highlight-block .feature-list li::before {
  content: '◆';
  position: absolute;
  left: 0;
  color: var(--coral-light);
  font-size: 0.5rem;
  top: 0.35rem;
}

/* === Journey Steps === */
.journey-steps .step {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.journey-steps .step .step-number {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--coral);
  font-weight: 500;
  min-width: 2.5rem;
}

.journey-steps .step h4 {
  font-family: var(--font-display);
  font-size: 1.125rem;
  color: var(--navy);
  margin-bottom: 0.25rem;
}

.journey-steps .step p {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  font-weight: 300;
}

/* === Animations === */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

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

.animate-fadeUp {
  animation: fadeUp 0.8s forwards;
  opacity: 0;
}

.animate-fadeUp-delay-1 { animation-delay: 0.3s; }
.animate-fadeUp-delay-2 { animation-delay: 0.5s; }
.animate-fadeUp-delay-3 { animation-delay: 0.7s; }
.animate-fadeUp-delay-4 { animation-delay: 0.9s; }
.animate-fadeUp-delay-5 { animation-delay: 1.2s; }

/* === Utility Classes === */
.text-navy { color: var(--navy) !important; }
.text-coral { color: var(--coral) !important; }
.text-coral-light { color: var(--coral-light) !important; }
.text-muted { color: var(--muted-foreground) !important; }
.bg-navy { background-color: var(--navy) !important; }
.bg-offwhite { background-color: var(--offwhite) !important; }
.bg-coral { background-color: var(--coral) !important; }
.border-navy { border-color: var(--navy) !important; }
.font-display { font-family: var(--font-display) !important; }
.font-light { font-weight: 300 !important; }
.tracking-tight { letter-spacing: -0.02em !important; }

/* === Mobile Menu === */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: #fff;
  z-index: 1040;
  padding-top: 5rem;
  display: none;
}

.mobile-menu.active {
  display: block;
}

.mobile-menu .nav-link {
  font-size: 1.125rem;
  font-weight: 500;
  color: rgba(30, 42, 58, 0.8);
  display: block;
  padding: 0.75rem 0;
  transition: color 0.2s ease;
}

.mobile-menu .nav-link:hover {
  color: var(--navy);
}

/* === Responsive Adjustments === */
@media (max-width: 991.98px) {
  .programs-section { padding: 4rem 0; }
  .advisory-section { padding: 4rem 0; }
  .public-center-section { padding: 4rem 0; }
  .faculty-section { padding: 4rem 0; }
  .institution-section { padding: 4rem 0; }
}
