/* =========================================================
   AUTOMAÇÕES CRUZ — IDENTIDADE VISUAL
   ========================================================= */

:root {
  --ac-dark: #1e293b;
  --ac-dark-2: #334155;
  --ac-green: #25d366;
  --ac-green-dark: #1fa855;
  --ac-blue: #3b82f6;
  --ac-bg: #f8fafc;
  --ac-light: #f1f5f9;
  --ac-border: #e2e8f0;
  --ac-muted: #64748b;
}

/* Corpo */

body {
  background-color: var(--ac-bg);
  color: var(--ac-dark);
}

.navbar {
  border-bottom: 1px solid var(--ac-border);
}

.navbar-brand {
  font-weight: 700;
  letter-spacing: 0.5px;
}

.navbar .nav-link {
  font-weight: 500;
  transition: 0.2s ease;
}

.navbar .nav-link:hover {
  color: var(--ac-green) !important;
}


/* =========================================================
   HERO
   ========================================================= */

.ac-hero {
  background:
    radial-gradient(circle at 85% 20%, rgba(37, 211, 102, 0.10), transparent 28%),
    radial-gradient(circle at 15% 80%, rgba(59, 130, 246, 0.08), transparent 30%),
    linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);

  border: 1px solid var(--ac-border);
  border-radius: 24px;
  padding: 85px 50px;
  margin: 10px 0 70px 0;
  position: relative;
  overflow: hidden;
}

.ac-hero-label {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 3px;
  color: var(--ac-green-dark);
  margin-bottom: 20px;
}

.ac-hero h1 {
  color: var(--ac-dark);
  font-weight: 800;
  line-height: 1.1;
}

.ac-hero p {
  color: var(--ac-muted);
}


/* =========================================================
   SEÇÕES
   ========================================================= */

.ac-section-title {
  font-weight: 800;
  color: var(--ac-dark);
  margin-bottom: 12px;
}

.ac-section-subtitle {
  color: var(--ac-muted);
  font-size: 1.1rem;
  margin-bottom: 35px;
}


/* =========================================================
   CARDS
   ========================================================= */

.ac-card {
  background: #ffffff;
  border: 1px solid var(--ac-border);
  border-radius: 18px;
  padding: 30px;
  min-height: 230px;
  height: auto;
  box-sizing: border-box;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.ac-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 35px rgba(15, 23, 42, 0.08);
}

.ac-card-icon {
  font-size: 2rem;
  margin-bottom: 15px;
}

.ac-card h3,
.ac-card h4 {
  color: var(--ac-dark);
  font-weight: 700;
}

.ac-card p {
  color: var(--ac-muted);
  line-height: 1.65;
}


/* =========================================================
   CARROSSEL DE PROJETOS
   ========================================================= */

.ac-project-carousel {
  background: #ffffff;
  border: 1px solid var(--ac-border);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 12px 35px rgba(15, 23, 42, 0.06);
}

.ac-project-slide {
  padding: 45px 55px 70px 55px;
}

.ac-project-video {
  background: #0f172a;
  border-radius: 18px;
  overflow: hidden;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ac-project-video video {
  width: 100%;
  max-height: 480px;
  object-fit: contain;
}

.ac-project-info {
  padding: 15px 10px 15px 35px;
}

.ac-project-number {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--ac-green-dark);
  margin-bottom: 10px;
}

.ac-project-info h2 {
  font-weight: 800;
  color: var(--ac-dark);
  line-height: 1.15;
}

.ac-project-info p {
  color: var(--ac-muted);
  line-height: 1.7;
}

.ac-result {
  background: var(--ac-light);
  border-radius: 14px;
  padding: 18px 20px;
  margin: 25px 0;
}

.ac-result-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--ac-dark);
}

.ac-result-label {
  font-weight: 700;
  color: var(--ac-dark-2);
}


/* Setas */

.ac-project-carousel .carousel-control-prev,
.ac-project-carousel .carousel-control-next {
  width: 55px;
  opacity: 1;
}

.ac-project-carousel .carousel-control-prev-icon,
.ac-project-carousel .carousel-control-next-icon {
  background-color: var(--ac-dark);
  border-radius: 50%;
  padding: 20px;
  background-size: 45%;
}

.ac-project-carousel .carousel-control-prev:hover,
.ac-project-carousel .carousel-control-next:hover {
  opacity: 0.85;
}


/* Indicadores */

.ac-project-carousel .carousel-indicators {
  bottom: 12px;
}

.ac-project-carousel .carousel-indicators button {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: var(--ac-dark);
  opacity: 0.3;
}

.ac-project-carousel .carousel-indicators button.active {
  opacity: 1;
  background-color: var(--ac-green-dark);
}


/* =========================================================
   BADGES
   ========================================================= */

.ac-badge {
  display: inline-block;
  padding: 7px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  margin-bottom: 15px;
}

.ac-badge-green {
  background: rgba(37, 211, 102, 0.12);
  color: #16803e;
}

.ac-badge-blue {
  background: rgba(59, 130, 246, 0.12);
  color: #2563eb;
}

.ac-badge-gray {
  background: #e2e8f0;
  color: #475569;
}


/* =========================================================
   BOTÕES
   ========================================================= */

.btn-success {
  background-color: var(--ac-green);
  border-color: var(--ac-green);
  color: #0f172a;
  font-weight: 700;
}

.btn-success:hover {
  background-color: var(--ac-green-dark);
  border-color: var(--ac-green-dark);
  color: #ffffff;
}

.btn-primary {
  font-weight: 700;
}


/* =========================================================
   TECNOLOGIAS
   ========================================================= */

.ac-tech {
  display: inline-block;
  background: #ffffff;
  border: 1px solid var(--ac-border);
  border-radius: 10px;
  padding: 9px 14px;
  margin: 5px;
  color: var(--ac-dark-2);
  font-weight: 600;
  transition: 0.2s ease;
}

.ac-tech:hover {
  border-color: var(--ac-green);
  transform: translateY(-2px);
}


/* =========================================================
   CTA
   ========================================================= */

.ac-cta {
  background:
    radial-gradient(circle at 80% 20%, rgba(37, 211, 102, 0.14), transparent 30%),
    linear-gradient(135deg, #e2e8f0 0%, #f8fafc 100%);

  border: 1px solid var(--ac-border);
  border-radius: 22px;
  padding: 60px 40px;
  text-align: center;
}


/* =========================================================
   CASES DETALHADOS
   ========================================================= */

.ac-detail {
  background: #ffffff;
  border: 1px solid var(--ac-border);
  border-radius: 16px;
  padding: 25px;
  margin-top: 25px;
}

.ac-detail summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--ac-dark);
}

.ac-detail summary:hover {
  color: var(--ac-green-dark);
}

.ac-flow {
  text-align: center;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ac-dark-2);
  padding: 25px 10px;
}


/* =========================================================
   SOBRE
   ========================================================= */

.ac-profile {
  background: #ffffff;
  border: 1px solid var(--ac-border);
  border-radius: 22px;
  padding: 40px;
}

.ac-profile-photo {
  width: 170px;
  height: 170px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center center;
  display: block;
  margin: 0 auto;
  border: 4px solid #ffffff;
}


/* =========================================================
   RESPONSIVIDADE
   ========================================================= */

@media (max-width: 900px) {

  /* =========================
     GERAL
     ========================= */

  body {
    overflow-x: hidden;
  }

  .column-screen-inset {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }


  /* =========================
     HERO
     ========================= */

  .ac-hero {
    padding: 50px 20px;
  }

  .ac-hero h1 {
    font-size: 2.2rem;
    line-height: 1.2;
  }

  .ac-hero p {
    font-size: 1.1rem;
  }

  .ac-hero .btn {
    display: block;
    width: 100%;
    margin: 10px 0 !important;
  }


  /* =========================
     CARDS DA HOME
     ========================= */

  .ac-card {
    height: auto;
    min-height: 220px;
    margin-bottom: 20px;
  }


  /* =========================
     PROJETOS
     ========================= */

  .ac-project-slide {
    padding: 30px 20px 60px 20px;
  }

  .ac-project-info {
    padding: 25px 5px 10px 5px;
  }

  .ac-project-video {
    min-height: auto;
    width: 100%;
  }

  .ac-project-video video {
    width: 100%;
    height: auto;
  }


  /* =========================
     PERFIL / SOBRE
     ========================= */

  .ac-profile {
    padding: 20px;
  }

  .ac-profile-photo {
  width: 140px !important;
  height: 140px !important;
  margin-bottom: 25px;
}


  /* =========================
     TEXTOS
     ========================= */

  h1 {
    font-size: 2.2rem;
  }

  h2 {
    font-size: 1.7rem;
  }

  h3 {
    font-size: 1.35rem;
  }


  /* =========================
     BOTÕES
     ========================= */

  .btn {
    white-space: normal;
  }


  /* =========================
     FLUXOS / SETAS
     ========================= */

  .ac-flow {
    font-size: 0.95rem;
    line-height: 2;
  }


  /* =========================
     BLOCOS DE CONTATO
     ========================= */

  #contato {
    padding: 35px 20px !important;
  }

}