/*
 responsive.css
 Aqui ficam todas as regras de responsividade (mobile first) do projeto SteelMind.
*/

/* ====== STYLE.CSS ====== */
@media (max-width: 768px) {
   .hero h1 {
      font-size: 1.7rem;
   }

   h2 {
      font-size: 1.3rem;
   }

   body {
      font-size: 1rem;
   }

   .hero p {
      font-size: 0.95rem;
   }

   .logo {
      height: 32px;
   }
}

@media (max-width: 576px) {
   .hero h1 {
      font-size: 1.2rem;
   }

   h2 {
      font-size: 1.1rem;
   }

   body {
      font-size: 0.97rem;
   }

   .hero p {
      font-size: 0.9rem;
   }

   .hero .typewriter {
      min-width: 160px;
      max-width: 95vw;
      font-size: 1.02rem;
      text-align: center;
      margin: 0 auto;
      white-space: normal;
      word-break: break-word;
      overflow: visible;
      line-height: 1.35;
      animation: none !important;
   }
}

@media (min-width: 577px) and (max-width: 991px) {
   .hero .typewriter {
      max-width: 70vw;
      font-size: 1.08rem;
      text-align: center;
      margin-left: auto;
      margin-right: auto;
      word-break: break-word;
      white-space: normal;
      line-height: 1.35;
   }
}

@media (min-width: 992px) {

   .mobile-menu,
   .mobile-menu-backdrop {
      display: none !important;
   }

   .dropdown-steelmind .dropdown-menu {
      background: rgba(255, 255, 255, 0.7);
      backdrop-filter: blur(8px);
      border-radius: 14px;
      box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
      border: 1px solid rgba(200, 200, 200, 0.25);
      padding: 0.7rem 0;
      min-width: 220px;
      transition: opacity 0.25s, transform 0.25s;
   }

   .dropdown-steelmind .dropdown-item {
      padding: 0.7rem 1.5rem;
      font-size: 1.08rem;
      color: #222;
      border-radius: 8px;
      transition: background 0.18s, color 0.18s, transform 0.18s;
      position: relative;
   }

   .dropdown-steelmind .dropdown-item:hover {
      background: rgba(0, 123, 255, 0);
      color: #007bff;
      transform: translateX(4px) scale(1.04);
      text-decoration: none;
      box-shadow: none;
   }

   .dropdown-steelmind .dropdown-item:not(:last-child) {
      margin-bottom: 2px;
   }

   .hero-buttons {
      justify-content: center;
      margin-left: -45px;
   }

   .btn-steelmind {
      padding: 0.55em 1.2em;
      font-size: 0.94rem;
   }

   .hero .typewriter {
      font-size: 1.35rem;
      margin-bottom: 0.3rem;
   }

   .typewriter-sub {
      font-size: 1.13rem;
      margin-top: 0.1rem;
      margin-bottom: 1.1rem;
   }
}

.mobile-menu-list {
   font-size: 1.03rem;
   gap: 0.9rem;
}

.mobile-menu-list li:not(:last-child) {
   border-bottom: 1px solid #bbbbbb;
}

.mobile-menu-list a {
   padding: 0.7rem 0.2rem;
}

.mobile-menu-list a:hover {
   color: #007bff;
   text-decoration: none;
   background: none;
}

.mobile-menu-footer {
   position: absolute;
   bottom: 1.2rem;
   left: 0;
   width: 100%;
   text-align: center;
   font-size: 0.92rem;
   color: #000000;
   display: flex;
   flex-direction: column;
   align-items: center;
   gap: 0.4rem;
}

.mobile-menu {
   background: rgba(255, 255, 255, 0.82);
   backdrop-filter: blur(12px);
}

.mobile-menu-backdrop.open {
   background: rgba(0, 0, 0, 0.192);
}

/* ====== SEÇÃO SOBRE ====== */
@media (max-width: 768px) {
   .about {
      padding: 4rem 0;
   }

   .about-subtitle {
      font-size: 1.1rem;
      margin-bottom: 2rem;
   }

   .about-content {
      padding-right: 0;
      margin-bottom: 2rem;
   }

   .about-text {
      font-size: 1rem;
      text-align: left;
   }

   .about-image-placeholder {
      width: 220px;
      height: 220px;
   }

   .about-image-placeholder i {
      font-size: 3rem;
   }

   .about-image-placeholder p {
      font-size: 1rem;
   }

   .about-image {
      width: 100%;
      height: 100%;
   }

   .about-cards {
      grid-template-columns: 1fr;
      gap: 1.5rem;
      margin-top: 2rem;
   }

   .about-card {
      padding: 1.5rem 1rem;
   }

   .card-icon {
      width: 60px;
      height: 60px;
      margin-bottom: 1rem;
   }

   .card-icon i {
      font-size: 1.5rem;
   }

   .about-card h5 {
      font-size: 1.1rem;
   }

   .about-card p {
      font-size: 0.9rem;
   }

   .about .btn-steelmind {
      font-size: 1rem;
      padding: 0.7em 2em;
   }
}

@media (max-width: 576px) {
   .about {
      padding: 3rem 0;
   }

   .about-subtitle {
      font-size: 1rem;
   }

   .about-text {
      font-size: 0.95rem;
   }

   .about-image-placeholder {
      width: 180px;
      height: 180px;
   }

   .about-image-placeholder i {
      font-size: 2.5rem;
   }

   .about-image-placeholder p {
      font-size: 0.9rem;
   }

   .about-image {
      width: 100%;
      height: 100%;
   }

   .about-cards {
      gap: 1rem;
   }

   .about-card {
      padding: 1.2rem 0.8rem;
   }

   .card-icon {
      width: 50px;
      height: 50px;
   }

   .card-icon i {
      font-size: 1.2rem;
   }

   .about-card h5 {
      font-size: 1rem;
   }

   .about-card p {
      font-size: 0.85rem;
   }
}

@media (min-width: 577px) and (max-width: 991px) {
   .about-cards {
      grid-template-columns: repeat(2, 1fr);
      gap: 1.5rem;
   }

   .about-image-placeholder {
      width: 250px;
      height: 250px;
   }
}

@media (min-width: 992px) {
   .about-parallax-bg {
      background-attachment: fixed;
   }

   .about-cards {
      grid-template-columns: repeat(4, 1fr);
   }
}