.hero-section {
    background: linear-gradient(45deg, var(--cor03), #0000);
    color: #fff;
    padding: 100px 10px;
    text-align: center;
    animation: fadeIn 1.5s ease-in;
}

.hero-section .cta-button {
    display: inline-block;
    margin-top: 20px;
    padding:10px 20px;
    background: #fff;
    color:var(--cor03);
    text-decoration: none;
    font-weight: bold;
    border-radius:var(--radius);
    transition: background 0.3s;
}

.hero-section .cta-button:hover {
    background: #f1f1f1;
}
#minhaAssi {
  display:block;
  position:relative;
  width:640px;
  height:120px;
  margin:0 auto;
  margin-top:-45px;
  margin-bottom:-5px;
}
/* Seções */
section {margin-bottom:40px;
    text-align: center;
    overflow: hidden;
}

.content img {
    width:128px;
    border-radius:50%;
    border:solid 3px var(--cor05);
}

.hero-section h1  {
    font-size: 3.5rem;
    font-weight: bold;
    color:#fff;
    margin-bottom: 20px
}

section h2 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #333;
    position: relative;
    display: inline-block;
}

section h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background:var(--cor03);
    margin: 0 auto;
    margin-top: 5px;
    animation: growLine 1s ease-in-out;
}

/* Seção Sobre */
.about-section {
    padding-top:50px;
    height:100vh;
    background-image:url(../base/img/eu-refletindo.png);
    background-position:right;
    background-size:contain;
    background-repeat:no-repeat;
}
.about-section p {
    color: #555;
    max-width: 800px;
    margin: 0 auto;
}
.card-S {
    margin: 0;
    display:grid;
    grid-auto-flow:column;
    place-content:center;
}
figure {
    display: grid;
    border-radius:var(--radius);
    overflow: hidden;
    margin: 5px;
    height:300px;
  }
  figure > * {
    grid-area: 1/1;
    transition: .4s;
    border-radius:var(--radius);
    height:300px;
  }
  figure figcaption {
    display: grid;
    align-items: end;
    font-family: sans-serif;
    font-size: 2.3rem;
    font-weight: bold;
    color: #0000;
    padding: .75rem;
    background: var(--c,#0009);
    clip-path: inset(0 var(--_i,100%) 0 0);
    -webkit-mask-composite: xor;
    -webkit-mask-clip: text, padding-box;
    margin: -1px;border-radius:var(--radius);
  }
  figure img {
    width:100%;
    object-fit:cover;
  }
  figure:hover figcaption{
    --_i: 0%;border-radius:var(--radius);
    color: #fff;
  }
  figure:hover img {
    transform: scale(1.2);border-radius:var(--radius);
  }
  @supports not (-webkit-mask-clip: text) {
    figure figcaption {
     color: #fff;border-radius:var(--radius);
    }
  }

/* Seção de Habilidades */
.ag-courses_box {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    padding: 50px 0;
    text-decoration:none;
    text-align: left;
  }
  .ag-courses_item {
    -ms-flex-preferred-size: calc(33.33333% - 30px);
    flex-basis: calc(33.33333% - 30px);
    margin: 0 15px 30px;
    overflow: hidden;
    border-radius: 28px;
  }
  .ag-courses-item_link {
    display: block;
    padding: 30px 20px;
    background-color: #eee;
    overflow: hidden;
    position: relative;
    text-decoration: none;
  }
  .ag-courses-item_link:hover,
  .ag-courses-item_link:hover .ag-courses-item_title {
    text-decoration: none;
    color: #FFF;
  }
  .ag-courses-item_link:hover .ag-courses-item_bg {
    -webkit-transform: scale(10);
    -ms-transform: scale(10);
    transform: scale(10);
  }
  .ag-courses-item_title {
    min-height: 87px;
    margin: 0 0 25px;
    overflow: hidden;
    font-weight: bold;
    font-size: 30px;
    color: #000;
    z-index: 2;
    position: relative;
    transition:color .5s ease;
  }
  .ag-courses-item_date-box {
    font-size: 18px;
    color: #000;
    z-index: 2;
    position: relative;
  }
  .ag-courses-item_date {
    font-weight: bold;
    color:var(--cor03);
    -webkit-transition: color .5s ease;
    -o-transition: color .5s ease;
    transition: color .5s ease
  }
  .ag-courses-item_bg {
    height: 128px;
    width: 128px;
    background-color: #f33;
    z-index: 1;
    position: absolute;
    top: -75px;
    right: -75px;
    border-radius: 50%;
    -webkit-transition: all .5s ease;
    -o-transition: all .5s ease;
    transition: all .5s ease;
  }
  .ag-courses_item:nth-child(2n) .ag-courses-item_bg {
    background-color: #005dd6;
  }
  .ag-courses_item:nth-child(3n) .ag-courses-item_bg {
    background-color: #e44002;
  }
  .ag-courses_item:nth-child(4n) .ag-courses-item_bg {
    background-color: #952aff;
  }
  .ag-courses_item:nth-child(5n) .ag-courses-item_bg {
    background-color: #3ecd5e;
  }
  .ag-courses_item:nth-child(6n) .ag-courses-item_bg {
    background-color:var(--cor03);
  }
  @media only screen and (max-width: 979px) {
    .ag-courses_item {
      -ms-flex-preferred-size: calc(50% - 30px);
      flex-basis: calc(50% - 30px);
    }
    .ag-courses-item_title {
      font-size: 24px;
    }
  }
  @media only screen and (max-width: 767px) {
    .ag-format-container {
      width: 96%;
    }
  }
  @media only screen and (max-width: 639px) {
    #minhaAssi {
      margin-top:-60px;
      margin-bottom:-20px;
      margin-left:-130px;
      transform:scale(0.6);
    }
    .ag-courses_item {
      -ms-flex-preferred-size: 100%;
      flex-basis: 100%;
    }
    .ag-courses-item_title {
      min-height: 72px;
      line-height: 1;
      font-size: 24px;
    }
    .ag-courses-item_link {
      padding: 22px 40px;
    }
    .ag-courses-item_date-box {
      font-size: 16px;
    }
  }
/* Seção de Portfólio */
.portfolio-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap:0;
}
.portfolio-item {
    background-size: cover;
    background-position: center;
    height:350px;
}

/* Seção de Depoimentos */
.testimonial-card {
    background: #fff;
    padding: 20px;
    border-radius:var(--radius);
    box-shadow: 0 4px 15px #0000001a;
    margin: 20px auto;
    max-width: 500px;
    text-align: left;
    animation: fadeInUp 1s;
}

/* Animações */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes growLine {
    from { width: 0; }
    to { width: 50px; }
}
@keyframes fadeInUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}