/* ==========================================================================
   AMIND SISTEMAS — SEÇÕES DA PÁGINA INSTITUCIONAL & CONTATO (CLEAN LIGHT)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Header & Navegação
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  transition: all var(--transition-normal);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  border-bottom-color: #cbd5e1;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand-logo-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
}

.brand-logo-img {
  width: 148px;
  max-height: 62px;
  height: auto;
  object-fit: contain;
  display: block;
}

.brand-carousel {
  margin-top: var(--header-height);
  padding: 10px 0;
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
}

.brand-carousel-inner {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 42px;
  align-items: center;
  gap: 12px;
  position: relative;
}

.brand-carousel-viewport {
  overflow: hidden;
  min-height: 100px;
}

.brand-carousel-track {
  display: flex;
  transition: transform 420ms ease;
}

.brand-slide {
  min-width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  min-height: 100px;
  text-align: left;
}

.brand-slide:not(.is-active) {
  opacity: 0;
}

.brand-carousel-logo {
  width: 180px;
  max-height: 80px;
  height: auto;
  flex: 0 0 auto;
}

.brand-slide-mark {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border-radius: 16px;
  background: #0f172a;
  color: #fff;
  font: 800 2.5rem/1 var(--font-heading);
}

.brand-slide-mark-green {
  background: #059669;
}

.brand-slide-kicker {
  display: block;
  margin-bottom: 3px;
  color: #0284c7;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-slide strong {
  display: block;
  color: #0f172a;
  font: 700 1.35rem/1.2 var(--font-heading);
}

.brand-slide p {
  margin: 4px 0 0;
  color: #475569;
  font-size: 1rem;
}

.carousel-control {
  width: 38px;
  height: 38px;
  border: 1px solid #cbd5e1;
  border-radius: 50%;
  background: #fff;
  color: #0f172a;
  cursor: pointer;
  font-size: 1.1rem;
}

.carousel-control:hover,
.carousel-control:focus-visible {
  border-color: #0284c7;
  color: #0284c7;
}

.brand-carousel-dots {
  position: absolute;
  bottom: -9px;
  left: 50%;
  display: flex;
  gap: 6px;
  transform: translateX(-50%);
}

.carousel-dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #cbd5e1;
  cursor: pointer;
}

.carousel-dot.is-active {
  background: #0284c7;
}

.header-contact-quick {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-whatsapp-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: #0f172a;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  transition: all var(--transition-fast);
}

.header-whatsapp-link svg {
  width: 18px;
  height: 18px;
  color: #10b981;
}

.header-whatsapp-link:hover {
  background: #e2e8f0;
  color: #0284c7;
  border-color: #cbd5e1;
}

/* --------------------------------------------------------------------------
   2. Hero Section (Apresentação & Status em Construção)
   -------------------------------------------------------------------------- */
.hero-section {
  padding-top: 50px;
  padding-bottom: 70px;
  position: relative;
  text-align: center;
}

.hero-badge-wrap {
  margin-bottom: 24px;
}

.construction-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  color: #0369a1;
  box-shadow: var(--shadow-sm);
}

.construction-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #0284c7;
  box-shadow: 0 0 10px #0284c7;
  animation: blinkStatus 1.8s infinite;
}

.hero-title {
  font-size: 3.4rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.15;
  margin-bottom: 20px;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

.hero-description {
  font-size: 1.25rem;
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 780px;
  margin: 0 auto 36px auto;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

/* --------------------------------------------------------------------------
   2.5 Cloud Partners
   -------------------------------------------------------------------------- */
.cloud-partners {
  padding: 24px 0;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  background: rgba(255, 255, 255, 0.4);
}

.cloud-partners-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.cloud-partners-inner span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted, #64748b);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.cloud-logos {
  display: flex;
  align-items: center;
  gap: 32px;
}

.cloud-logos img {
  height: 60px; /* Tamanho base (aplicado no Azure) */
  opacity: 0.6;
  filter: grayscale(100%);
  transition: all var(--transition-fast, 0.2s);
}

.cloud-logos .logo-aws {
  height: 80px;
}

.cloud-logos .logo-oracle {
  height: 120px;
}

.cloud-logos img:hover {
  opacity: 1;
  filter: grayscale(0%);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .cloud-partners-inner {
    flex-direction: column;
    gap: 16px;
  }
  .cloud-logos {
    gap: 24px;
  }
}

/* --------------------------------------------------------------------------
   3. Seção do Formulário & Dados de Contato
   -------------------------------------------------------------------------- */
.contact-section {
  padding: 60px 0 90px 0;
  position: relative;
}

.contact-layout-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  grid-template-columns: 1.15fr 1fr;
  gap: 40px;
  align-items: stretch;
}

/* Card do Formulário */
.form-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 44px;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.form-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--grad-primary);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.form-header {
  margin-bottom: 30px;
}

.form-header h2 {
  font-size: 2.1rem;
  color: #0f172a;
  margin-bottom: 10px;
}

.form-header p {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

.custom-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-field label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #0f172a;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 14px 18px;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.98rem;
  transition: all var(--transition-fast);
  outline: none;
}

.form-field input:focus,
.form-field textarea:focus {
  background: #ffffff;
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.form-field input[type="email"] {
  text-transform: lowercase;
}

.form-field input.input-error,
.form-field textarea.input-error {
  border-color: #ef4444 !important;
  background: #fef2f2 !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15) !important;
}

.form-field input.input-success {
  border-color: #10b981;
}

.field-error-msg {
  font-size: 0.82rem;
  color: #dc2626;
  font-weight: 500;
  display: none;
  margin-top: -2px;
}

.field-error-msg.active {
  display: block;
}

.form-field textarea {
  resize: vertical;
  min-height: 120px;
}

.form-submit-btn {
  width: 100%;
  padding: 16px 28px;
  font-size: 1.05rem;
}

.form-feedback {
  display: none;
  padding: 24px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: var(--radius-lg);
  text-align: center;
  margin-top: 20px;
}

.form-feedback.active {
  display: block;
}

.feedback-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #15803d;
  margin-bottom: 8px;
}

.feedback-text {
  font-size: 0.95rem;
  color: #334155;
  margin-bottom: 16px;
}

/* Card de Informações Institucionais */
.info-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 44px 40px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.info-card-header {
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 20px;
  margin-bottom: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.info-card-header .badge {
  margin-bottom: 14px;
}

.info-card-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.info-card-logo {
  height: 95px;
  max-height: 100px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.info-card h3 {
  font-size: 1.6rem;
  color: #0f172a;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 16px;
}

.info-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  justify-content: space-evenly;
  flex: 1;
}

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

.info-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: var(--accent-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-icon-wrap svg {
  width: 22px;
  height: 22px;
}

.info-content strong {
  display: block;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.info-content span,
.info-content a {
  font-size: 1.05rem;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.5;
}

.info-content a:hover {
  color: var(--accent-blue);
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   4. Seção de Pilares de Atuação
   -------------------------------------------------------------------------- */
.pillars-section {
  padding: 60px 0 90px 0;
  background: #ffffff;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.pillar-box {
  background: #f8fafc;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition-normal);
}

.pillar-box:hover {
  transform: translateY(-4px);
  border-color: #bae6fd;
  box-shadow: var(--shadow-md);
  background: #ffffff;
}

.pillar-box-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  color: var(--accent-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.pillar-box h4 {
  font-size: 1.3rem;
  color: #0f172a;
  margin-bottom: 10px;
}

.pillar-box p {
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   5. Footer Corporativo
   -------------------------------------------------------------------------- */
.site-footer {
  background: #f1f5f9;
  color: #475569;
  padding: 60px 0 30px 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
  padding-bottom: 40px;
  border-bottom: 1px solid #cbd5e1;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 400px;
}

.footer-logo-panel {
  display: grid;
  place-items: center;
  min-width: 280px;
  min-height: 118px;
  padding: 20px 28px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.footer-logo-img {
  width: 220px;
  max-width: 100%;
  max-height: 82px;
  height: auto;
  object-fit: contain;
}

.footer-contact-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.95rem;
}

.footer-contact-links a {
  color: #334155;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-contact-links a:hover {
  color: #0284c7;
}

.footer-bottom {
  padding-top: 24px;
  text-align: center;
  font-size: 0.88rem;
  color: #64748b;
}

/* --------------------------------------------------------------------------
   6. Responsividade
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 2.8rem;
  }
  .contact-layout-grid {
    grid-template-columns: 1fr;
  }
  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.1rem;
  }
  .hero-description {
    font-size: 1.05rem;
  }
  .form-card,
  .info-card {
    padding: 24px;
  }
  .info-card-logo {
    height: 75px;
  }
  .form-grid-2 {
    grid-template-columns: 1fr;
  }
  .pillars-grid {
    grid-template-columns: 1fr;
  }
  .header-whatsapp-link span {
    display: none;
  }
  .brand-logo-img {
    width: 132px;
    max-height: 56px;
  }
  .brand-slide {
    gap: 12px;
  }
  .brand-carousel-logo {
    width: 110px;
    max-height: 48px;
  }
  .brand-slide strong {
    font-size: 1rem;
  }
  .brand-slide p {
    font-size: 0.8rem;
  }
  .brand-slide-kicker {
    font-size: 0.65rem;
  }
  .carousel-control {
    width: 32px;
    height: 32px;
  }
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
  .footer-logo-panel {
    min-width: 0;
    width: 100%;
  }
}
