/* ==========================
   RESET E ESTRUTURA GERAL
   ========================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  background-color: #ffffff;
  color: #111;
  line-height: 1.6;
}

/* ==========================
   HEADER E NAVEGAÇÃO
   ========================== */
header {
  background-color: #ffffff;
  color: #000000;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 15px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.logo {
  height: 36px;
  width: auto;
}

header h1 {
  font-size: 1.6em;
  font-weight: 600;
}

header h1 a {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

header h1 a img {
  height: 36px;
  width: auto;
  display: block;
}

nav ul {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}

nav ul li {
  margin-left: 24px;
}

nav ul li a {
  color: #000000;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: #0071e3;
}

/* ==========================
   MENU MOBILE
   ========================== */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  width: 25px;
  height: 20px;
  justify-content: space-between;
}

.hamburger span {
  height: 3px;
  background: #000;
  border-radius: 2px;
}

.side-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: -250px;
  height: 100vh;
  width: 250px;
  background: #fff;
  box-shadow: 2px 0 8px rgba(0, 0, 0, 0.2);
  padding: 60px 20px;
  transition: left 0.3s ease;
  z-index: 1001;
}

.side-menu.open {
  left: 0;
}

.side-menu a {
  text-decoration: none;
  color: #000;
  font-weight: 500;
  margin: 12px 0;
}

.side-menu a:hover {
  color: #0071e3;
}

.close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 24px;
  cursor: pointer;
  color: #000;
}

/* ==========================
   HERO SECTION
   ========================== */
.hero-section {
  width: 100vw;
  min-height: 100vh;
  background: linear-gradient(135deg, #0a0a0a, #1a1a1a);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 20px 40px;
}

.hero {
  max-width: 800px;
  width: 100%;
}

.hero h1 {
  font-size: 3.2em;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.hero p {
  font-size: 1.4em;
  color: #ccc;
  margin-bottom: 30px;
}

.hero .btn {
  padding: 14px 36px;
  background: #0071e3;
  color: #ffffff;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
}

.hero .btn:hover {
  background: #005bb5;
}

/* ==========================
   SUB-BANNER / CARROSSEL
   ========================== */
.sub-banner-section {
  overflow: hidden;
  background: #f5f5f7;
  padding: 60px 0;
}

.carousel-container {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.carousel-track {
  display: flex;
  white-space: nowrap;
  animation: scroll 60s linear infinite;
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.sub-banner-card {
  flex: 0 0 auto;
  width: 200px;
  aspect-ratio: 1 / 1;
  margin: 0 10px;
  border-radius: 16px;
  padding: 15px;
  text-align: center;
  color: #fff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  font-size: 0.75rem;
  box-sizing: border-box;
}

.sub-banner-card:hover {
  transform: scale(1.03);
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.15);
}

.sub-banner-card h1 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.sub-banner-card p {
  font-size: 0.8rem;
  margin-bottom: 10px;
  overflow: hidden;

}

.sub-banner-card .note {
  font-size: 0.7rem;
  opacity: 0.6;
  overflow: hidden;

}

/* ==========================
   CORES DOS CARDS
   ========================== */
.bg-careplan { background: linear-gradient(135deg, #0066cc, #003366); }
.bg-forgood { background: linear-gradient(135deg, #34d399, #059669); }
.bg-avra { background: linear-gradient(135deg, #f97316, #c2410c); }
.bg-techsoup { background: linear-gradient(135deg, #8b5cf6, #6d28d9); }
.bg-dinamica { background: linear-gradient(135deg, #e11d48, #881337); }

/* ==========================
   BOTÕES
   ========================== */
.btn-group {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.btn {
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid white;
  color: white;
}

.btn.primary {
  background-color: #ffffff;
  color: #111;
  border: none;
}

.btn.primary:hover {
  background-color: #e5e5e5;
}

/* ==========================
   SEÇÕES GERAIS
   ========================== */
section {
  padding: 80px 20px;
  margin: auto;
}

footer {
  background-color: #000;
  color: #fff;
  text-align: center;
  padding: 24px;
  font-size: 0.9rem;
}

footer .social-icons a {
  margin: 0 10px;
  color: #fff;
  text-decoration: none;
  font-size: 1.5em;
  transition: color 0.3s ease;
}

footer .social-icons a:hover {
  color: #0071e3;
}

/* ==========================
   RESPONSIVIDADE
   ========================== */
@media (max-width: 768px) {
  nav ul { display: none; }
  .hamburger { display: flex; }
  .hero h1 { font-size: 2.2em; }
  .hero p { font-size: 1em; }
  .sub-banner-card {
    width: 90%;
    aspect-ratio: 1 / 1;
  }
}

/* ==========================
   ELEMENTOS GERAIS DE TEXTO E GRID
   ========================== */
h2, h3 {
  text-align: center;
  color: #222;
  margin-bottom: 1rem;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.grid-sobre {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-top: 40px;
}

@media (min-width: 768px) {
  .grid-sobre {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card-sobre {
  background-color: #f9f9f9;
  border-radius: 12px;
  padding: 30px 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.card-sobre i {
  font-size: 2.5em;
  color: #0071e3;
  margin-bottom: 15px;
}

.card-sobre h4 {
  font-size: 1.2em;
  margin-bottom: 10px;
  color: #111;
}

.card-sobre p {
  color: #555;
}

.entregas, .cases {
  padding: 60px 20px;
}

.grid-entregas {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 768px) {
  .grid-entregas {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-entregas {
    grid-template-columns: repeat(3, 1fr);
  }
}

.item {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.item span {
  font-size: 28px;
}

.grid-cases {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  color: white;
}

@media (min-width: 600px) {
  .grid-cases {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-cases {
    grid-template-columns: repeat(4, 1fr);
  }
}

.card {
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.bg-blue { background-color: #2563eb; }
.bg-pink { background-color: #ec4899; }
.bg-orange { background-color: #f97316; }
.bg-purple { background-color: #7c3aed; }

.card h4 {
  margin-top: 0;
  font-size: 1.2rem;
}

.btn-container {
  text-align: center;
  margin-top: 40px;
}

button.btn, .btn {
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: bold;
  border: none;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-vermelho {
  background-color: #e10600;
  color: #ffffff;
}

.btn-vermelho:hover {
  background-color: #b30400;
}

/* ==========================
   PÁGINA DE CONTATO
   ========================== */
.contato-section {
  background-color: #f8f8f8;
  padding: 150px 20px 60px;
}

.contato-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 1000px;
  margin: 0 auto;
  gap: 40px;
}

.contato-info {
  flex: 1 1 300px;
}

.contato-info h2 {
  font-size: 28px;
  margin-bottom: 16px;
  font-weight: bold;
}

.contato-info p {
  margin: 6px 0;
  font-size: 15px;
  line-height: 1.6;
  color: #333;
}

.contato-section .social-icons {
  margin-top: 20px;
}

.contato-section .social-icons a {
  margin-right: 12px;
  font-size: 20px;
  color: #333;
  transition: color 0.3s ease;
}

.contato-section .social-icons a:hover {
  color: #B31942;
}

.contato-form {
  flex: 1 1 300px;
}

.frase-impacto {
  font-size: 16px;
  margin-bottom: 20px;
  color: #333;
}

.contato-form form {
  text-align: right;
}

.contato-form form input,
.contato-form form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 14px;
  font-family: inherit;
  resize: vertical;
}

.contato-form form button {
  background-color: #B31942;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  text-transform: uppercase;
  transition: background 0.3s ease;
}

.contato-form form button:hover {
  background-color: #91142f;
}
