/* ==========================================================================
   Felipe Cotrim — identidade visual (marcaFC)
   ========================================================================== */

:root {
  --petrol: #0a303e;
  --cyan: #0088b0;
  --cyan-deep: #006786;
  --magenta: #d6006c;
  --ink: #201e1d;
  --paper: #f3f2f2;
  --paper-2: #f8f4f4;
  --gray-1: #444141;
  --gray-2: #605d5d;
  --gray-3: #9b9797;
  --line: #eae7e7;
}

body {
  background-color: var(--paper);
}

::selection {
  background: rgba(0, 136, 176, 0.18);
}

.navbar {
  background-color: var(--paper) !important;
  border-bottom: 1px solid var(--line);
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
}

.navbar-logo {
  border-radius: 0;
}

.navbar .navbar-brand img.navbar-logo {
  height: 40px;
  max-height: 40px;
}

.navbar-title {
  display: none;
}

/* --------------------------------------------------------------------------
   Hero (página inicial)
   -------------------------------------------------------------------------- */

.site-hero {
  position: relative;
  overflow: hidden;
  margin: -1.5rem calc(-50vw + 50%) 3rem;
  padding: 4.5rem 2rem 3.5rem;
  background-image: url("marcaFC/fundo/fundo-desktop-16x9.svg");
  background-size: cover;
  background-position: center top;
}

@media (max-width: 760px) {
  .site-hero {
    background-image: url("marcaFC/fundo/fundo-mobile.svg");
    padding: 3rem 1.25rem 2.5rem;
  }
}

.site-hero__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  max-width: 1100px;
  margin: 0 auto;
  text-align: left;
}

.site-hero__content {
  flex: 1 1 auto;
  min-width: 0;
}

.site-hero__mark {
  flex: 0 0 auto;
  width: 190px;
}

.site-hero__mark img {
  display: block;
  width: 100%;
  height: auto;
}

.site-hero__series {
  display: block;
  width: 100%;
  height: 18px;
  margin-top: 3rem;
}

@media (max-width: 900px) {
  .site-hero__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-hero__mark {
    width: 130px;
    align-self: center;
  }
}

.site-hero__kicker {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cyan-deep);
  margin-bottom: 1.4rem;
  font-weight: 600;
}

.site-hero__title {
  font-size: 2.6rem;
  line-height: 1.15;
  letter-spacing: -0.018em;
  font-weight: 600;
  color: var(--petrol);
  margin: 0 0 1rem;
}

.site-hero__text {
  font-size: 1.1rem;
  line-height: 1.65;
  color: var(--gray-1);
  max-width: 640px;
  margin: 0 0 1.8rem;
}

.site-hero__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-hero__links a {
  color: var(--gray-2);
  text-decoration: none;
  font-weight: 600;
}

.site-hero__links a:hover {
  color: var(--cyan);
}

@media (max-width: 760px) {
  .site-hero__title {
    font-size: 2rem;
  }
  .site-hero__text {
    font-size: 1rem;
  }
}

/* --------------------------------------------------------------------------
   Cartões da página inicial
   -------------------------------------------------------------------------- */

.home-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto 3rem;
}

.home-card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 1.8rem 1.9rem;
  text-decoration: none;
  display: block;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.home-card:hover {
  border-color: var(--cyan);
  transform: translateY(-2px);
}

.home-card__label {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan-deep);
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.home-card__title {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--petrol);
  margin-bottom: 0.5rem;
}

.home-card__text {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--gray-1);
}

@media (max-width: 760px) {
  .home-cards {
    grid-template-columns: 1fr;
    padding: 0 1rem;
  }
}

/* --------------------------------------------------------------------------
   Página "Sobre mim"
   -------------------------------------------------------------------------- */

.about-container {
  display: flex;
  align-items: center;
  gap: 4rem;
  max-width: 1150px;
  margin: 3rem auto 5rem auto;
  padding: 0 2rem;
}

.about-photo {
  flex: 0 0 300px;
  text-align: center;
}

.profile-photo {
  width: 280px;
  height: 280px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid var(--paper-2);
  box-shadow: 0 0 0 1px var(--line);
}

.about-text {
  flex: 1;
}

.about-text h1 {
  font-size: 2.7rem;
  font-weight: 600;
  color: var(--petrol);
  margin-bottom: 0.5rem;
}

.about-text h3 {
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--cyan-deep);
  margin-bottom: 1.8rem;
  opacity: 1;
}

.about-text p {
  font-size: 1.05rem;
  line-height: 1.75;
  text-align: justify !important;
  text-justify: inter-word;
}

@media (max-width: 768px) {
  .about-container {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }

  .about-photo {
    flex: none;
  }

  .profile-photo {
    width: 210px;
    height: 210px;
  }

  .about-text h1 {
    font-size: 2.1rem;
  }
}

/* --------------------------------------------------------------------------
   Publicações
   -------------------------------------------------------------------------- */

#quarto-document-content hr {
  border-top: 1px solid var(--line);
  margin: 2rem 0;
}

#quarto-document-content strong {
  color: var(--petrol);
}

/* --------------------------------------------------------------------------
   Rodapé
   -------------------------------------------------------------------------- */

.nav-footer {
  border-top: 1px solid var(--line);
  color: var(--gray-2);
}

.nav-footer a {
  color: var(--gray-2);
}

.nav-footer a:hover {
  color: var(--cyan);
}
