/*****************************
  *  GERAL
  ******************************/
:root {
  --f-top-nav-height: 40px;
  --f-main-nav-height: 90px;
  --f-header-height: calc(var(--f-top-nav-height) + var(--f-main-nav-height));
  --f-footer-height: 250px;

  /* tag, ícones pequenos */
  --f-radius-sm: 6px;

  /* botão, paginação, input, ícones médios */
  --f-radius-md: 12px;

  /* card, figure, modal, section */
  --f-radius-lg: 24px;

  --f-gap-sm: 6px;
  --f-gap-md: 12px;
  --f-gap-lg: 24px;

  /* https://www.color-name.com/ */
  --f-color-white: #FFF;
  --f-color-black: #000;
  --f-color-anti-flash-white: #EDF2F6;
  --f-color-platinum: #e1e6e9;
  --f-color-metallic-silver: #a5a8ab;
  --f-color-grey-granite: #666666;
  --f-color-pearl-grey: #7e7e7e;

  --f-color-strong-dark-green: #023227;
  --f-color-strong-dark-green-80: rgb(2, 50, 39, 0.8);
  --f-color-holly: #011d18;
  --f-color-pine-forest: #15473b;
  --f-color-evening-sea: #005944;

  --f-color-spring-green: #00e387;
  --f-color-crystal-quartz: #ebfdf6;

  --f-color-bitter-lemon: #d0df00;

  --f-color-mushroom-pink: #ccbbb0;
  --f-color-comfort-white: #f5f3f0;
  --f-color-neutral-cream: #e9e2d8;

  --f-color-moon: #f6f5d6;
  --f-color-muted-cream: #f9f9e7;
  --f-color-finley: #ebebbd;

  --f-color-endless-sky: #03467c;
  --f-color-morning-glory-blue: #91dffd;
  --f-color-jacarta: #392771;
  --f-color-ryleigh: #bdaafc;
  --f-color-magnolia-heart: #f6f4ff;
  --f-color-ana: #e7e1fa;
  --f-color-matte-burgundy: #6a1d26;
  --f-color-coral-crush: #fe979a;
  --f-color-grenadier: #d84a03;
  --f-color-cheddar: #ffc468;
}

/*****************************
 *  ESTILOS GLOBAIS
 ******************************/
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  text-decoration: none;
  outline: none;
  border: none;
}

html {
  scroll-behavior: smooth;
}

body {
  font-size: 1rem;
  font-family: "Roboto", sans-serif;
  color: var(--f-color-strong-dark-green);
  background-color: var(--f-color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-bottom: 1rem;
  font-family: "DM Serif Display";
  font-weight: 700;
  color: var(--f-color-strong-dark-green);
}

a {
  color: var(--f-color-spring-green);
  text-decoration: none;
}

a:not(.nav-link, .btn-unset):hover,
a:not(.nav-link, .bnt-unset):focus,
a:not(.nav-link, .bnt-unset):active {
  text-decoration: underline;
}

[id] {
  scroll-margin-top: var(--f-header-height);
}

main {
  margin-top: var(--f-header-height);
}

/*****************************
 *  SCROLLBAR
 ******************************/
::-webkit-scrollbar-track,
::-webkit-scrollbar {
  width: 10px !important;
  background-color: var(--f-color-moon);
}

::-webkit-scrollbar-thumb {
  background-color: var(--f-color-strong-dark-green);
}

::-webkit-scrollbar-thumb:hover {
  background-color: var(--f-color-holly);
}

::-moz-selection {
  color: var(--f-color-strong-dark-green);
  background-color: var(--f-color-moon);
}

::selection {
  color: var(--f-color-strong-dark-green);
  background-color: var(--f-color-moon);
}

/*****************************
 *  GRID
 ******************************/
.f__grid-auto {
  display: grid;
  grid-template-columns: repeat(auto-fit,
      minmax(280px, 1fr));
  gap: var(--f-gap-lg);
}

.f__grid-col-2,
.f__grid-col-fixed-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--f-gap-lg);
}

.f__grid-col-3,
.f__grid-col-fixed-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--f-gap-lg);
}

.f__grid-col-4,
.f__grid-col-fixed-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--f-gap-lg);
}

.f__gap-sm {
  gap: var(--f-gap-sm);
}

.f__gap-md {
  gap: var(--f-gap-md);
}

.f__gap-lg {
  gap: var(--f-gap-lg);
}

/*****************************
 *  RATIO BOX
 ******************************/
.f__figure-ratio {
  margin: 0;
  margin: auto;
  width: 100%;
}

.f__figure-ratio figcaption {
  font-size: 0.65rem;
}

.f__figure-ratio .f__ratio-box {
  border-radius: var(--f-radius-lg);
}

.f__ratio-box {
  background-color: var(--f-color-finley);
  position: relative;
  overflow: hidden;
}

.f__ratio-box img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  opacity: 1;
}

/*****************************
 *  ASPECT RATIO
 ******************************/
.f__aspect-square {
  aspect-ratio: 1;
}

.f__aspect-4-3 {
  aspect-ratio: 4 / 3;
}

.f__aspect-3-2 {
  aspect-ratio: 3 / 2;
}

.f__aspect-16-9 {
  aspect-ratio: 16 / 9;
}

.f__aspect-2-3 {
  aspect-ratio: 2 / 3;
}

.f__aspect-9-16 {
  aspect-ratio: 9 / 16;
}

.f__aspect-300-250 {
  aspect-ratio: 300 / 250;
}

.f__aspect-336-280 {
  aspect-ratio: 336 / 280;
}

.f__aspect-728-90 {
  aspect-ratio: 728 / 90;
}

.f__aspect-160-600 {
  aspect-ratio: 160 / 600;
}

.f__aspect-300-600 {
  aspect-ratio: 300 / 600;
}

/*****************************
 *  BREADCRUMB
 ******************************/
.breadcrumb-container {
  padding-bottom: 1rem;
  margin: 0px;
  color: var(--f-color-pearl-grey);
  font-size: 0.8rem;
}

.breadcrumb-container a {
  color: var(--f-color-strong-dark-green);
}

/*****************************
 *  HERO SECTION
 ******************************/
.hero-section {
  padding: 3rem 0;
  background: var(--f-color-moon);
  position: relative;
  overflow: hidden;
}

.hero-section .container {
  position: relative;
  z-index: 1;
}

.hero-card {
  position: relative;
  height: 100%;
  overflow: hidden;
}

.hero-section .watermark {
  position: absolute;
  top: 0;
  right: 0;
  opacity: 0.4;
  height: 560px;
}

.hero-caption {
  margin: 0 auto;
  position: relative;
  max-width: 1320px;
  min-height: 110px;
  align-content: center;
}

.hero-caption h1,
.hero-caption h2 {
  color: var(--f-color-strong-dark-green);
  letter-spacing: 1px;
}

.hero-caption h1 {
  font-size: 1.5rem;
}

.hero-caption h2 {
  font-size: 1rem;
}

.hero-caption p {
  color: var(--f-color-black-70);
  font-size: 0.9rem;
  margin-bottom: 0
}

.hero-caption .period {
  margin-top: 10px;
  display: block;
  line-height: 1;
}

.hero-caption .btn-action {
  margin-top: 1rem;
}

.hero-meta {
  margin: 1rem 0;
  color: var(--f-color-grey-granite);
  font-size: 0.6rem;
}

.hero-image {
  height: 100%;
  display: flex;
}

/*****************************
 *  SECTION
 ******************************/
.f__section {
  padding-top: 3rem;
}

.f__section:nth-last-of-type(-n+2) {
  padding-bottom: 3rem;
}

.f__min-section {
  min-height: calc(100vh - (var(--f-header-height) + var(--f-footer-height)));
  display: flex;
  justify-content: center;
  align-items: center;
}

.f__background-overlay {
  background-color: transparent;
  background-image: linear-gradient(180deg, rgba(18, 21, 65, 0) 0%, var(--f-color-strong-dark-green-80) 0%);
  transition: all 0.5s;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  position: absolute;
}

/*****************************
 *  TITLES 
 ******************************/
.f__heading-with-line,
.f__heading-with-line-center {
  position: relative;
  padding-bottom: 10px;
}

.f__heading-with-line:after,
.f__heading-with-line-center:after {
  content: '';
  position: absolute;
  width: 60px;
  height: 2px;
  bottom: 0;
  background: var(--f-color-spring-green);
}

.f__heading-with-line:after {
  left: 0;
}

.f__heading-with-line-center {
  text-align: center;
}

.f__heading-with-line-center:after {
  left: calc((100% / 2) - 30px);
}

.f__section-title-container {
  margin-bottom: 1.5rem;
  text-align: start;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.f__section-title-content h2 {
  margin-bottom: 1rem;
  letter-spacing: 2px;
  font-size: 1.6rem;
}

.f__section-title-content p {
  margin: 0;
}

/*****************************
  *  TAGS
  ******************************/
.tags p {
  margin-bottom: 0.5rem;
  font-size: 0.75rem;
  font-weight: bold;
  color: var(--f-color-strong-dark-green);
  display: flex;
  align-items: center;
  gap: var(--f-gap-sm);
}

/*****************************
  *  MEDIA QUERIES
  ******************************/
@media (min-width: 768px) {
  .hero-caption h1 {
    font-size: 2rem;
  }

  .hero-caption h2 {
    font-size: 1.5rem;
  }

  .hero-caption p {
    font-size: 1.25rem;
  }

  .hero-meta {
    font-size: 0.75rem;
  }

  .hero-image {
    padding: 0;
  }

  .f__section-title-container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

@media (min-width: 992px) {
  .hero-caption h1 {
    font-size: 3rem;
  }

  .hero-caption h2 {
    font-size: 1.5rem;
  }

  .f__section {
    padding-top: 5rem;
  }

  .f__section:nth-last-of-type(-n+2) {
    padding-bottom: 5rem;
  }

  .f__section-title-content h2 {
    font-size: 2rem;
  }
}