.curso-card .curso-img {
  width: 100%;
  max-width: 220px;
  height: 120px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  box-shadow: 0 2px 10px rgba(27,38,59,0.07);
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.depoimentos-carousel .carousel-track {
  position: relative;
  gap: 0;
  min-height: 120px;
}
.depoimentos-carousel .depoimento {
  min-width: 100%;
  flex: 0 0 100%;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  opacity: 0;
  z-index: 0;
  pointer-events: none;
  transition: opacity 0.7s cubic-bezier(.4,0,.2,1);
}
.depoimentos-carousel .depoimento[style*="opacity: 1"] {
  opacity: 1 !important;
  z-index: 1;
  pointer-events: auto;
}
/* Carrossel moderno e responsivo */
.carousel {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0 auto 2.5rem auto;
  overflow: hidden;
  background: none;
}
.carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(.4,0,.2,1);
  will-change: transform;
}
.carousel .curso-card,
.carousel .diferencial,
.carousel .depoimento {
  min-width: 100%;
  flex: 0 0 100%;
  margin: 0;
  opacity: 1;
  transition: box-shadow var(--transition), transform var(--transition), opacity 0.3s;
}
/* Exibir múltiplos cards em telas maiores */
@media (min-width: 700px) {
  .cursos-carousel .carousel-track,
  .diferenciais-carousel .carousel-track {
    gap: 2rem;
  }
  .cursos-carousel .curso-card,
  .diferenciais-carousel .diferencial {
    min-width: 48%;
    flex: 0 0 48%;
  }
}
@media (min-width: 1100px) {
  .cursos-carousel .curso-card,
  .diferenciais-carousel .diferencial {
    min-width: 32%;
    flex: 0 0 32%;
  }
}
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(27,38,59,0.85);
  color: var(--white);
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  box-shadow: 0 2px 12px rgba(27,38,59,0.13);
  opacity: 0.85;
  transition: background 0.18s, opacity 0.18s, transform 0.18s;
}
.carousel-btn.prev {
  left: 0.5rem;
}
.carousel-btn.next {
  right: 0.5rem;
}
.carousel-btn:hover, .carousel-btn:focus {
  background: var(--secondary);
  opacity: 1;
  transform: translateY(-50%) scale(1.08);
}
.carousel-indicators {
  position: absolute;
  left: 50%;
  bottom: 0.7rem;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 2;
}
.carousel-indicators button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background: #dbe2ea;
  opacity: 0.7;
  transition: background 0.18s, opacity 0.18s, transform 0.18s;
  cursor: pointer;
  padding: 0;
}
.carousel-indicators button.active {
  background: var(--secondary);
  opacity: 1;
  transform: scale(1.18);
}
/* Ajustes para depoimentos (1 por vez sempre) */
.depoimentos-carousel .carousel-track {
  gap: 0;
}
.depoimentos-carousel .depoimento {
  min-width: 100%;
  flex: 0 0 100%;
}
/* Responsividade do cabeçalho/navbar */
@media (max-width: 900px) {
  .navbar {
    padding: 0.5rem 1rem 0.5rem 0.5rem;
    gap: 0.5rem;
  }
  .navbar .logo img {
    height: 90px;
    width: 90px;
    min-width: 60px;
    min-height: 60px;
    max-width: 100px;
    max-height: 100px;
  }
  .navbar .logo span {
    font-size: 1.05rem;
  }
  .navbar ul {
    gap: 1.1rem;
  }
}

@media (max-width: 650px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.5rem 0.7rem;
    min-height: unset;
    gap: 0.2rem;
  }
  .navbar .logo {
    gap: 0.5rem;
    font-size: 1.05rem;
  }
  .navbar .logo img {
    height: 56px;
    width: 56px;
    min-width: 40px;
    min-height: 40px;
    max-width: 70px;
    max-height: 70px;
  }
  .navbar ul {
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 0.3rem;
    margin-bottom: 0.2rem;
    padding-left: 0;
  }
  .navbar ul li a {
    font-size: 0.97rem;
    padding: 0.25rem 0.5rem;
  }
}

@media (max-width: 430px) {
  .navbar {
    padding: 0.3rem 0.3rem;
  }
  .navbar .logo img {
    height: 38px;
    width: 38px;
    min-width: 28px;
    min-height: 28px;
    max-width: 44px;
    max-height: 44px;
  }
  .navbar .logo span {
    font-size: 0.93rem;
  }
  .navbar ul {
    gap: 0.4rem;
  }
}
/* OpenVision Academy - CSS Profissional, sóbrio e com psicologia das cores */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');

:root {
  --primary: #1B263B;      /* Azul escuro - confiança, autoridade */
  --secondary: #FA781A;    /* Laranja - energia, ação */
  --neutral: #F4F6F8;      /* Cinza claro - seriedade, base */
  --white: #fff;
  --text: #23272F;
  @import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');

  :root {
    --primary: #1B263B;
    --secondary: #FA781A;
    --neutral: #F4F6F8;
    --white: #fff;
    --shadow: 0 2px 12px rgba(27,38,59,0.07);
    --radius-lg: 18px;
    --radius-md: 10px;
    --radius-sm: 5px;
    --transition: 0.18s cubic-bezier(.4,0,.2,1);
  }

  html {
    scroll-behavior: smooth;
  }
  body {
    font-family: 'Montserrat', Arial, sans-serif;
    background: var(--neutral);
    color: #23272F;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
  }
  * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }

  header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 10;
  }
  .navbar {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 2rem 0.5rem 1rem;
    min-height: 90px;
    gap: 1.2rem;
  }
  .navbar .logo {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 1.3rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--primary);
  }
  .navbar .logo img {
    height: 140px;
    width: 140px;
    min-width: 110px;
    min-height: 110px;
    max-width: 150px;
    max-height: 150px;
    border-radius: var(--radius-md);
    box-shadow: 0 2px 8px rgba(250,120,26,0.10);
    transition: height 0.2s, width 0.2s;
    object-fit: contain;
  }
  .navbar ul {
    display: flex;
    gap: 2rem;
    list-style: none;
  }
  .navbar ul li a {
    color: #23272F;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    padding: 0.3rem 0.7rem;
    border-radius: var(--radius-sm);
    transition: background var(--transition), color var(--transition);
  }
  .navbar ul li a:hover {
    background: var(--secondary);
    color: var(--white);
  }
  .open {
    color: var(--secondary);
    font-weight: 800;
  }
  .vision {
    color: var(--primary);
    font-weight: 800;
  }

  section.hero {
    background: var(--white);
    box-shadow: var(--shadow);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    padding: 3.5rem 1.5rem 2.5rem 1.5rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .hero-content {
    max-width: 540px;
    margin: 0 auto;
  }
  .hero-content img {
    width: 100%;
    max-width: 340px;
    height: auto;
    display: block;
    margin: 0 auto 2.2rem auto;
    border-radius: var(--radius-md);
    box-shadow: 0 2px 12px rgba(250,120,26,0.13);
    object-fit: contain;
  }
  .hero-content h1 {
    font-size: 2.1rem;
    color: var(--primary);
    margin-bottom: 1.1rem;
    font-weight: 800;
  }
  .hero-content p {
    font-size: 1.15rem;
    color: #444;
    margin-bottom: 2rem;
  }
  .hero-content .cta {
    display: inline-block;
    background: linear-gradient(90deg, var(--secondary) 70%, #ffb36b 100%);
    color: var(--white);
    border: none;
    padding: 0.95rem 2.4rem;
    font-size: 1.13rem;
    font-weight: 700;
    border-radius: 32px;
    box-shadow: 0 4px 18px rgba(250,120,26,0.10), 0 1.5px 6px rgba(27,38,59,0.07);
    cursor: pointer;
    text-decoration: none;
    transition: background 0.22s cubic-bezier(.4,0,.2,1),
                color 0.18s cubic-bezier(.4,0,.2,1),
                box-shadow 0.18s cubic-bezier(.4,0,.2,1),
                transform 0.18s cubic-bezier(.4,0,.2,1);
    outline: none;
    border: 1.5px solid transparent;
    position: relative;
    overflow: hidden;
  }
  .hero-content .cta:hover,
  .hero-content .cta:focus {
    background: linear-gradient(90deg, var(--primary) 70%, #3a4a6a 100%);
    color: var(--white);
    transform: translateY(-2px) scale(1.045);
    box-shadow: 0 6px 22px rgba(27,38,59,0.13), 0 2px 8px rgba(250,120,26,0.10);
    border: 1.5px solid var(--primary);
  }

  section.cursos {
    max-width: 1200px;
    margin: 3.5rem auto 0 auto;
    padding: 2.5rem 1.5rem;
  }
  .cursos > h2 {
    color: var(--primary);
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2.2rem;
  }
  .cursos-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
  }
  .curso-card {
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
    padding: 2rem 1.2rem 1.5rem 1.2rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.7rem;
    transition: box-shadow var(--transition), transform var(--transition);
    position: relative;
    overflow: hidden;
  }
  .curso-card h3 {
    color: var(--primary);
    font-size: 1.1rem;
    font-weight: 700;
  }
  .curso-card p {
    color: #444;
    font-size: 0.98rem;
  }

  section.diferenciais {
    max-width: 1200px;
    margin: 3.5rem auto 0 auto;
    padding: 2.5rem 1.5rem;
  }
  .diferenciais > h2 {
    color: var(--primary);
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2.2rem;
  }
  .diferenciais-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
  }
  .diferencial {
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
    padding: 2rem 1.2rem 1.5rem 1.2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.7rem;
    text-align: center;
    transition: box-shadow var(--transition), transform var(--transition);
  }
  .diferencial span {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
  }
  .diferencial h3 {
    color: var(--primary);
    font-size: 1.1rem;
    font-weight: 700;
  }
  .diferencial p {
    color: #444;
    font-size: 1rem;
  }

  section.depoimentos {
    max-width: 900px;
    margin: 3.5rem auto 0 auto;
    padding: 2.5rem 1.5rem;
  }
  .depoimentos > h2 {
    color: var(--primary);
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2.2rem;
  }
  .depoimentos-list {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
  }
  .depoimento {
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
    padding: 1.2rem 1.2rem 1.2rem 2.2rem;
    font-size: 1.1rem;
    color: #333;
    position: relative;
  }
  .depoimento::before {
    content: '“';
    position: absolute;
    left: 0.7rem;
    top: 0.7rem;
    font-size: 2.2rem;
    color: var(--secondary);
    opacity: 0.3;
  }

  section.cta {
    max-width: 700px;
    margin: 3.5rem auto 0 auto;
    padding: 2.5rem 1.5rem;
    background: var(--primary);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    text-align: center;
    color: var(--white);
  }
  .cta h2 {
    font-size: 2rem;
    margin-bottom: 1.2rem;
  }
  .cta-form {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1.2rem;
  }
  .cta-form input {
    padding: 0.7rem 1rem;
    border-radius: var(--radius-sm);
    border: none;
    font-size: 1rem;
    min-width: 180px;
    outline: none;
  }
  .cta-form button {
    background: var(--secondary);
    color: var(--white);
    border: none;
    padding: 0.7rem 1.5rem;
    font-size: 1rem;
    font-weight: 700;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: background var(--transition), transform var(--transition);
  }
  .cta-form button:hover {
    background: var(--white);
    color: var(--primary);
    transform: scale(1.05);
  }
  #form-msg {
    min-height: 1.2rem;
    font-size: 1rem;
    margin-top: 0.5rem;
  }

  footer {
    background: var(--primary);
    color: var(--white);
    text-align: center;
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    margin-top: 3.5rem;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    font-size: 1rem;
  }
  footer a {
    color: #f9c846;
    text-decoration: underline;
  }

  @media (max-width: 900px) {
    .navbar {
      flex-direction: column;
      gap: 0.7rem;
      padding: 1rem 1rem 0.5rem 1rem;
    }
    .navbar ul {
      gap: 1rem;
    }
    .cursos-list, .diferenciais-list {
      grid-template-columns: 1fr 1fr;
    }
  }
  @media (max-width: 600px) {
    .navbar {
      padding: 0.7rem 0.5rem;
    }
    .navbar .logo span {
      font-size: 1rem;
    }
    section.hero {
      padding: 2.5rem 0.5rem 2rem 0.5rem;
    }
    .hero-content h1 {
      font-size: 1.3rem;
    }
    .cursos-list, .diferenciais-list {
      grid-template-columns: 1fr;
      gap: 1.2rem;
    }
    .curso-card, .diferencial, .depoimento {
      padding: 1.2rem 0.7rem;
    }
    section.depoimentos, section.cta {
      padding: 1.2rem 0.7rem;
    }
    footer {
      padding: 1.2rem 0.7rem 1rem 0.7rem;
      font-size: 0.95rem;
    }
    .cta-form input {
      min-width: 120px;
      font-size: 0.95rem;
    }
  }


/* Responsividade */
