/* style.css - Landing page for Conectando Mentes */

:root {
  --blue-900: #040b1a;
  --blue-800: #071e3a;
  --blue-700: #0e2f54;
  --blue-500: #1e4bbf;
  --blue-300: #4c7dff;
  --blue-200: #8bb3ff;
  --gold-500: #d7a53a;
  --gold-400: #f0c464;
  --gray-100: #f6f9fc;
  --gray-300: #d6d9e0;
  --gray-500: #8892a6;
  --white: #ffffff;
  --max-width: 1120px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --shadow-soft: 0 25px 60px rgba(6, 20, 48, 0.35);
  --shadow-card: 0 20px 45px rgba(15, 31, 67, 0.18);
  --nav-height: 88px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  margin: 0;
  font-family: 'Poppins', 'Segoe UI', Arial, sans-serif;
  background: radial-gradient(120% 120% at 50% 0%, rgba(76, 125, 255, 0.25) 0%, transparent 60%),
              linear-gradient(160deg, var(--blue-900) 0%, var(--blue-700) 100%);
  color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-top: var(--nav-height);
}

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
}

a:hover,
 a:focus {
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold-400);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
  color: var(--blue-900);
  font-weight: 600;
  padding: 0.85rem 1.8rem;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 12px 25px rgba(215, 165, 58, 0.35);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(215, 165, 58, 0.45);
}

.btn:focus {
  outline: 2px solid var(--gold-400);
  outline-offset: 3px;
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: none;
}

.btn--ghost:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.12);
}

.btn--outline {
  border-color: rgba(255, 255, 255, 0.25);
  background: transparent;
  color: var(--white);
  box-shadow: none;
}

.btn--outline:hover {
  background: rgba(255, 255, 255, 0.08);
}

.btn--link {
  padding: 0;
  background: none;
  border: none;
  color: var(--gold-400);
  box-shadow: none;
}

.btn--link:hover {
  color: var(--gold-500);
  transform: none;
}


.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0.9rem clamp(1.25rem, 4vw, 3rem);
  z-index: 60;
  backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.94);
  color: var(--blue-900);
  border-bottom: 1px solid rgba(14, 47, 84, 0.08);
  box-shadow: 0 16px 40px rgba(8, 30, 73, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  width: clamp(220px, 40vw, 550px);
  max-width: 100%;
  text-decoration: none;
  color: inherit;
}

.brand__logo {
  width: 80%;
  max-width: 440px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(9, 24, 54, 0.2));
}

.brand__text {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-family: 'Orbitron', 'Poppins', 'Segoe UI', sans-serif;
  color: var(--blue-900);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-left: auto;
}

.nav__link {
  text-decoration: none;
  font-weight: 500;
  color: rgba(14, 47, 84, 0.72);
  transition: color 0.2s ease;
}

.nav__link:hover,
.nav__link:focus {
  color: var(--blue-700);
}

.nav .btn--outline {
  border-color: rgba(30, 75, 191, 0.25);
  background: rgba(30, 75, 191, 0.08);
  color: var(--blue-700);
  box-shadow: none;
}

.nav .btn--outline:hover,
.nav .btn--outline:focus {
  background: rgba(30, 75, 191, 0.15);
}

.nav__toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(14, 47, 84, 0.15);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.6);
  color: var(--blue-900);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.nav__toggle:hover,
.nav__toggle:focus {
  background: rgba(30, 75, 191, 0.08);
  border-color: rgba(30, 75, 191, 0.25);
  outline: none;
}

.nav__toggle:focus-visible {
  outline: 2px solid rgba(30, 75, 191, 0.4);
  outline-offset: 3px;
}

.nav__toggle span {
  position: relative;
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  transition: background 0.2s ease;
}

.nav__toggle span::before,
.nav__toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav__toggle span::before {
  top: -6px;
}

.nav__toggle span::after {
  top: 6px;
}

.nav__toggle[aria-expanded="true"] span {
  background: transparent;
}

.nav__toggle[aria-expanded="true"] span::before {
  transform: translateY(6px) rotate(45deg);
}

.nav__toggle[aria-expanded="true"] span::after {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  position: relative;
  padding: clamp(2.5rem, 10vw, 5rem) 0 clamp(4rem, 10vw, 6rem);
  overflow: hidden;
  background: linear-gradient(135deg, rgba(4, 11, 26, 0.98) 0%, rgba(14, 47, 84, 0.98) 100%);
  color: var(--white);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero::before {
  background:
    radial-gradient(160% 130% at 12% 18%, rgba(76, 125, 255, 0.35) 0%, rgba(76, 125, 255, 0) 65%),
    radial-gradient(120% 120% at 82% 12%, rgba(240, 196, 100, 0.22) 0%, rgba(240, 196, 100, 0) 70%);
  opacity: 0.85;
  mix-blend-mode: screen;
}

.hero::after {
  background-image:
    linear-gradient(135deg, rgba(11, 32, 68, 0.8), rgba(4, 11, 26, 0)),
    repeating-linear-gradient(125deg, rgba(76, 125, 255, 0.12) 0, rgba(76, 125, 255, 0.12) 2px, transparent 2px, transparent 18px),
    repeating-linear-gradient(170deg, rgba(240, 196, 100, 0.06) 0, rgba(240, 196, 100, 0.06) 1.5px, transparent 1.5px, transparent 24px);
  opacity: 0.55;
}

.hero__content {
  position: relative;
  z-index: 1;
  margin: 0 auto;
  max-width: var(--max-width);
  padding: 0 clamp(1.25rem, 4vw, 3rem);
  text-align: left;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 6vw, 4.5rem);
  align-items: center;
}

.hero__text {
  text-align: left;
}

.hero__text h1,
.hero__text h2 {
  color: var(--white);
}

.hero__lead {
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.1rem;
  margin: 1.5rem 0 2.5rem 0;
  max-width: 560px;
}

.hero__cta {
  display: flex;
  justify-content: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero__pillars {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  justify-items: stretch;
}

.hero__media {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.hero__video {
  width: clamp(220px, 28vw, 360px);
  aspect-ratio: 9 / 16;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(76, 125, 255, 0.3);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.35);
  background: rgba(4, 11, 26, 0.85);
}

.hero__video iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.hero__video-note {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
  max-width: 320px;
}

.pillar {
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  padding: 1rem 1.2rem;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.pillar__label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
}

.pillar__value {
  display: block;
  font-size: 1.1rem;
  color: var(--white);
}

.hero .btn--ghost {
  background: rgba(76, 125, 255, 0.1);
  color: var(--white);
  border-color: rgba(76, 125, 255, 0.25);
}

.hero .btn--ghost:hover,
.hero .btn--ghost:focus {
  background: rgba(76, 125, 255, 0.18);
  color: var(--blue-200);
}

.section {
  padding: clamp(4rem, 8vw, 6rem) 0;
  color: var(--white);
}

.section--highlight {
  background: linear-gradient(160deg, rgba(20, 44, 92, 0.75) 0%, rgba(12, 30, 66, 0.92) 100%);
  backdrop-filter: blur(12px);
}

.section--cta {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0));
}

.layout {
  margin: 0 auto;
  max-width: var(--max-width);
  padding: 0 clamp(1.25rem, 4vw, 3rem);
}

.section__header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3rem auto;
}

.section__header p {
  color: rgba(255, 255, 255, 0.7);
}

.intro {
  background: rgba(7, 24, 52, 0.65);
}

.intro__text h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  margin-bottom: 1.5rem;
}

.intro__text p {
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 1.2rem;
}

.intro__highlights {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.intro__highlights li {
  background: rgba(255, 255, 255, 0.05);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.intro__highlights strong {
  display: block;
  font-size: 1.05rem;
  color: var(--gold-400);
}

.grid {
  display: grid;
}

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

.card {
  background: rgba(4, 11, 26, 0.7);
  border-radius: var(--radius-md);
  padding: 2.2rem 2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.card__tag {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.card h3 {
  font-size: 1.4rem;
  margin: 0;
}

.card__list {
  margin: 0;
  padding-left: 1.2rem;
  color: rgba(255, 255, 255, 0.75);
}

.card__list li + li {
  margin-top: 0.65rem;
}

.grid--focus {
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.focus {
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  padding: 1.6rem 1.8rem;
  min-height: 180px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.focus h3 {
  margin-top: 0;
  color: var(--gold-400);
  font-size: 1.2rem;
}

.focus p {
  color: rgba(255, 255, 255, 0.7);
}

.metrics {
  background: linear-gradient(160deg, rgba(13, 38, 80, 0.88), rgba(12, 23, 48, 0.88));
}

.metrics__content {
  display: grid;
  gap: 2.5rem;
}

.metrics__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.metric {
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  padding: 1.8rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.metric__number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold-400);
}

.metric__label {
  display: block;
  margin-top: 0.6rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}

.section--cta .cta__content {
  display: grid;
  gap: clamp(2rem, 6vw, 3.5rem);
  align-items: start;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.cta__info {
  display: grid;
  gap: 1.25rem;
}

.cta__actions {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.cta__actions small {
  width: 100%;
  color: rgba(255, 255, 255, 0.6);
}

.contact-form {
  background: rgba(4, 11, 26, 0.8);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow-card);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.contact-form__field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.contact-form__field--full {
  grid-column: 1 / -1;
}

.contact-form label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.75);
}

.contact-form input,
.contact-form textarea {
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(8, 19, 45, 0.75);
  color: var(--white);
  font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--gold-400);
  box-shadow: 0 0 0 3px rgba(240, 196, 100, 0.2);
}

.contact-form textarea {
  resize: vertical;
  min-height: 140px;
}

.contact-form__submit {
  width: 100%;
  justify-content: center;
  text-align: center;
  grid-column: 1 / -1;
}

.contact-form__feedback {
  margin: 0;
  padding: 0.9rem 1rem;
  border-radius: var(--radius-sm);
  background: rgba(30, 75, 191, 0.15);
  color: var(--gold-400);
  font-size: 0.9rem;
  border: 1px solid rgba(240, 196, 100, 0.35);
  grid-column: 1 / -1;
}

.contact-form__feedback--success {
  background: rgba(76, 125, 255, 0.18);
  color: var(--white);
  border-color: rgba(76, 125, 255, 0.45);
  text-align: center;
}

.contact-form__feedback.is-error {
  background: rgba(191, 30, 30, 0.2);
  color: #ffc7c7;
  border-color: rgba(255, 80, 80, 0.4);
}

.footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(3, 8, 20, 0.9);
  padding: 2.5rem 0;
}

.footer__content {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  justify-content: space-between;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer__logo {
  width: 60px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 6px 14px rgba(9, 24, 54, 0.45));
}

.footer__brand span {
  display: block;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
}

.footer__info {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  align-items: flex-end;
  text-align: right;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

.footer__info address {
  margin: 0;
  font-style: normal;
  color: rgba(255, 255, 255, 0.6);
}

.footer__info a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
}

.footer__info a:hover {
  color: var(--gold-400);
}

@media (max-width: 900px) {
  :root {
    --nav-height: 80px;
  }

  .brand {
    width: clamp(200px, 52vw, 440px);
  }

  .intro .layout {
    display: grid;
    gap: 2rem;
  }

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

  .hero__text {
    text-align: center;
  }

  .hero__lead {
    margin: 1.4rem auto 2.2rem auto;
  }

  .hero__cta {
    justify-content: center;
  }

  .hero__pillars {
    justify-items: stretch;
  }
}

@media (max-width: 768px) {
  :root {
    --nav-height: 76px;
  }

  .nav {
    gap: 1rem;
    padding: 0.75rem clamp(1rem, 5vw, 2.5rem);
  }

  .brand {
    width: clamp(200px, 60vw, 420px);
  }

  .nav__toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .nav__actions {
    position: fixed;
    top: calc(var(--nav-height) + 0.5rem);
    right: clamp(1rem, 6vw, 2.5rem);
    left: clamp(1rem, 6vw, 2.5rem);
    margin-left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.97);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    z-index: 59;
    max-height: calc(100vh - var(--nav-height) - 2.5rem);
    overflow-y: auto;
  }

  .nav__actions.is-open {
    display: flex;
  }

  .nav__actions .nav__link {
    font-size: 1rem;
    padding: 0.5rem 0;
  }

  .nav__actions .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .intro__highlights li,
  .card,
  .focus,
  .metric {
    padding: 1.4rem;
  }

  .hero__lead {
    font-size: 1rem;
  }

  .btn {
    width: 100%;
  }

  .nav__actions {
    gap: 0.75rem;
  }

  .nav__link {
    width: 100%;
    text-align: center;
  }

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

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

  .footer__info {
    align-items: center;
    text-align: center;
  }

  .cta__actions {
    flex-direction: column;
    align-items: stretch;
  }
}
