/*
Theme Name: SEDES Capacitação 2025
Theme URI: https://sedes.ma.gov.br
Author: SEDES
Author URI: https://sedes.ma.gov.br
Description: Tema personalizado para uso com LearnPress
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lp-theme
*/

:root {
    --bg: #f6f8fb;
    --card: #ffffff;
    --muted: #6b7280;
    --accent: #0ea5a4;
    --accent-2: #2563eb;
}

* {
    box-sizing: border-box
}
body {
    /* font-family: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial; */
    font-family: Poppins, 'Segoe UI', Inter, Arial, sans-serif;
    margin: 0;
    background: var(--bg);
    color: #0f172a
}

.container {
    max-width: 1200px;
  margin: 0 auto;
  padding: 24px;
  width: 100%;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    backdrop-filter: blur(6px);
    background: rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid rgba(15, 23, 42, 0.04);
    box-shadow: 0 6px 18px rgba(16, 24, 40, 0.04);
}

.site-header a, .site-footer a {
    color: #fff;
    text-decoration: none;
}

.site-logo {
    font-size: 1.5rem;
    font-weight: bold;
}

.site-nav .menu {
    list-style: none;
    display: flex;
    gap: 1rem;
}

.site-main {
    padding: 0;
}

/* .hero-section {
    background-image: url('http://todayhost.com.br/site/sedescapacita/wp-content/uploads/sites/68/2025/10/olod.banner-topo-13.jpg');
  min-height: 550px;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
} */

.hero-content h1 {
    color: white;
}

h1, h2, h3 {
    color: #222;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem;
}

.carousel {
    display: flex;
    gap: 18px; 
    padding: 12px 6px 18px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.section-head h2 {
    font-size: 1.25rem;
    color: var(--accent);
    margin: 0;
}

.section-head .link-all {
    text-decoration: none;
    color: var(--muted);
    font-weight: 700;
}

@media (max-width: 980px) {
    .carousel {
        padding-left: 6px;
    }
}

.course-card{min-width:280px;background:var(--card);border-radius:14px;overflow:hidden;box-shadow:0 12px 30px rgba(16,24,40,0.06);scroll-snap-align:start;transition:transform .25s}
.course-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
}

/* ===== Hover & interactions ===== */
.course-card:hover, .card-grid:hover{transform:translateY(-8px)}

.card-body {
    padding: 12px;
}

.card-body h3 {
    font-size: 1rem;
    margin-bottom: 6px;
}

.card-body .instructor {
    color: var(--muted);
    font-size: .88rem;
    margin-bottom: 8px;
}

/* ===== How it works ===== */
.how { 
    padding:36px 0;background:linear-gradient(180deg,transparent, rgba(75,108,183,0.03));border-radius:14px;margin:20px auto;
}

.how h2{text-align:center;margin-bottom:18px}
.how-title {
    font-size: 2.3rem;
    color: #1e3a8a;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.how-sub {
    color: #374151;
    font-size: 1.1rem;
    margin-bottom: 3rem;
    text-align: center;
    padding: 0 20px;
}
.steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px}
.step{background:var(--card);padding:18px;border-radius:12px;text-align:center;box-shadow:0 8px 30px rgba(16,24,40,0.04)}
.step .icon{width:48px;height:48px;border-radius:10px;background:linear-gradient(90deg,var(--accent),#374785);color:white;display:inline-flex;align-items:center;justify-content:center;font-weight:800;margin-bottom:12px}
.step:hover {
  transform: translateY(-8px);
  box-shadow: 0 14px 28px rgba(0,0,0,0.15);
}
.step:hover .icon {
  transform: scale(1.1);
}


.step h3 {
  color: #1e3a8a;
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
}

.step p {
  color: #4b5563;
  font-size: 1rem;
  line-height: 1.6;
}
.icon {
    font-size: 2.8rem;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: #fff;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem auto;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    transition: transform 0.3s 
ease;
}

/* ===== Hover & interactions ===== */
.course-card:hover, .card-grid:hover{transform:translateY(-8px)}


/* ===== Hover & interactions ===== */
.course-card:hover, .card-grid:hover{transform:translateY(-8px)}


/* .course-card {
    background: #fff;
    border: 1px solid #ddd;
    padding: 1rem;
    border-radius: 6px;
    transition: box-shadow 0.2s;
}

.course-card:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
} */

.course-thumb {
    width: 100%;
    height: auto;
    margin-bottom: 0.5rem;
}

.course-title {
    font-size: 1.1rem;
    margin: 0.5rem 0;
}

.course-title a {
    text-decoration: none;
}

.course-filters {
    margin-top: 50px;
}

.btn-ver-cursos {
  background-color: yellow;
  padding: 20px;
  border-radius: 10px;
  color: black;
  text-decoration: none;
}

.course-meta {
    font-size: 0.9rem;
    color: #666;
}

.course-price {
    display: inline-block;
    margin-left: 0.5rem;
    font-weight: bold;
    color: #0073aa;
}

.pagination {
    margin-top: 2rem;
    text-align: center;
}

.pagination a, .pagination span {
    margin: 0 0.25rem;
    padding: 0.5rem 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: #0073aa;
}

.pagination .current {
    background: #0073aa;
    color: #fff;
    border-color: #0073aa;
}

.teacher-list {
    display: grid;
    gap: 2rem;
}

.teacher-card {
    background: #fff;
    border: 1px solid #ddd;
    padding: 1.5rem;
    border-radius: 6px;
}

.teacher-photo {
    border-radius: 50%;
    width: 80px;
    height: 80px;
    object-fit: cover;
}

.teacher-excerpt {
    flex: 1;
    font-size: 0.95rem;
    color: #555;
}

.single-teacher .teacher-header {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    margin-bottom: 2rem;
}

.teacher-photo img.teacher-avatar {
    border-radius: 50%;
    width: 150px;
    height: 150px;
    object-fit: cover;
}

.teacher-info {
    flex: 1;
}

.teacher-name {
    margin: 0;
    font-size: 1.8rem;
}

.teacher-bio {
    margin-bottom: 2rem;
    font-size: 1rem;
    line-height: 1.6;
}

/* Header Styles */
    header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 18px
    }

    header h1 {
      font-size: 20px;
      margin: 0
    }

    header p {
      margin: 0;
      color: var(--muted);
      font-size: 13px
    }

.header-row {
    display: flex;
    align-items: center;
    gap: 16px;
    justify-content: space-between;
    padding: 14px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
}

.site-logo {
    max-width: 200px;
    display: block;
}

.site-logo img {
    max-width: 100%;
    height: auto;
}

.site-nav {
    display: flex;
    align-items: center;
}

.menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.menu li {
    margin: 0 1rem;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
}

.menu-icon {
    display: block;
    width: 25px;
    height: 3px;
    background: #333;
    position: relative;
    transition: all 0.3s;
}

.menu-icon::before,
.menu-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: #333;
    transition: all 0.3s;
}

.menu-icon::before {
    top: -8px;
}

.menu-icon::after {
    bottom: -8px;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .site-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        padding: 1rem;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }

    .site-nav.nav-open {
        display: block;
    }

    .menu {
        flex-direction: column;
    }

    .menu li {
        margin: 0.5rem 0;
    }

    .menu-toggle.active .menu-icon {
        background: transparent;
    }

    .menu-toggle.active .menu-icon::before {
        transform: rotate(45deg);
        top: 0;
    }

    .menu-toggle.active .menu-icon::after {
        transform: rotate(-45deg);
        bottom: 0;
    }
}

/* Footer Styles */
.site-footer {
    background: #031952;
    padding: 3rem 0;
    margin-top: 3rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.footer-col {
    min-width: 0;
}

.footer-widgets {
    padding-right: 2rem;
}

.footer-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-widgets {
        padding-right: 0;
    }
}

/* About Section */
.about-section {
    padding: 5rem 0;
    background: #f9f9f9;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #333;
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    color: #666;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.btn-about {
    display: inline-block;
    padding: 1rem 2rem;
    background: #0066cc;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.btn-about:hover {
    background: #0052a3;
}

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-content {
        text-align: center;
    }
    
    .about-content h2 {
        font-size: 2rem;
    }
}

/* Nossos Cursos Section */
.our-courses-section {
    padding: 5rem 0;
    background: #f0f0f0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.section-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
    color: #666;
}

.courses-categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* Category Cards Specific Styles */
.category-card {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    color: #fff;
}

.category-card:nth-child(1) {
    background: #006400; /* dark green */
}

.category-card:nth-child(2) {
    background: #00008B; /* dark blue */
}

.category-card:nth-child(3) {
    background: #B8860B; /* dark yellow */
}

.category-card h3,
.category-card .category-description,
.category-card .courses-list h4,
.category-card .courses-list li {
    color: #fff;
}

.category-card .courses-list li {
    border-bottom-color: rgba(255, 255, 255, 0.2);
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.category-card h3 {
    color: #ffffff;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.category-description {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.courses-list h4 {
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.courses-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.courses-list li {
    color: #555;
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.courses-list li:last-child {
    border-bottom: none;
}

@media (max-width: 992px) {
    .courses-categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .courses-categories-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .our-courses-section {
        padding: 3rem 0;
    }
}

/* botao call to action */
.lp-cta {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1rem;
  align-items: center;
  background: linear-gradient(90deg,#fff 0%, #f7fbff 100%);
  border: 1px solid #e6eef8;
  padding: 1rem;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(8,30,60,0.06);
  max-width: 1100px;
  margin: 1.25rem auto;
}

.lp-cta__media { width: 100%; display:flex; align-items:center; justify-content:center; }
.lp-cta__img { width:100%; height:100px; object-fit:cover; border-radius:8px; }

.lp-cta__eyebrow { font-size:0.85rem; color:#0073aa; margin:0 0 .25rem; text-transform:uppercase; letter-spacing:0.04em; }
.lp-cta__title { font-size:1.35rem; margin:0 0 .35rem; color:#07243a; }
.lp-cta__text { margin:0 0 .6rem; color:#254754; }

.lp-cta__row { display:flex; gap:0.75rem; align-items:center; flex-wrap:wrap; }
.lp-cta__price { display:flex; flex-direction:column; align-items:flex-start; }
.lp-cta__price-value { font-weight:700; font-size:1.1rem; color:#d6453a; }
.lp-cta__price-note { font-size:0.8rem; color:#6b7b86; }

.lp-cta__btn { display:inline-block; padding:0.6rem 1rem; border-radius:6px; text-decoration:none; font-weight:600; font-size:0.95rem; }
.lp-cta__btn--primary { background:#0073aa; color:#fff; border:1px solid rgba(0,0,0,0.04); }
.lp-cta__btn--primary:hover { background:#005f88; }

.lp-cta__btn--ghost { background:transparent; color:#0073aa; border:1px solid #cfe8f7; }
.lp-cta__btn--ghost:hover { background:#f0fbff; }

.lp-cta__small { margin-top:0.6rem; font-size:0.9rem; color:#4b646d; }
.lp-cta__small a { color:#0073aa; text-decoration:underline; }

@media (max-width:720px) {
  .lp-cta { grid-template-columns: 1fr; padding:0.9rem; }
  .lp-cta__img { height:140px; }
}

.wpcf7-form input {
   padding: 10px;
  border-radius: 10px;
  border: 1px solid gray; 
}

.single-responsive {
  width: 100%;
  height: auto;
}



/* carrossel de parceiros */
/* Container da seção */
.partners {
  --gap: 24px;
  --img-max-width: 200px;
  --track-speed: 40s; /* velocidade padrão do loop */
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, "Helvetica Neue", Arial, sans-serif;
  padding: 24px;
  color: #222;
}

/* Cabeçalho e controles */
.partners__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.partners__header h2 {
  font-size: 1.25rem;
  margin: 0;
}

.partners__controls {
  display: flex;
  gap: 8px;
}

.partners__btn {
  border: 1px solid #ccc;
  background: #fff;
  color: #333;
  padding: 6px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.1s ease;
}
.partners__btn:hover { background: #f5f5f5; }
.partners__btn:active { transform: scale(0.98); }

/* Área visível do carrossel */
.partners__viewport {
  position: relative;
  overflow: hidden;
}

/* Faixa de logos (duas listas para criar efeito infinito) */
.partners__track {
  display: flex;
  align-items: center;
  gap: var(--gap);
  white-space: nowrap;
  will-change: transform;
  animation: partners-marquee var(--track-speed) linear infinite;
  padding: 12px 0;
  margin: 0;
  list-style: none;
}

.partners__track--clone {
  position: absolute;
  top: 0;
  left: 0;
  /* A segunda trilha começa imediatamente após a primeira */
  transform: translateX(100%);
  animation: partners-marquee var(--track-speed) linear infinite;
}

/* Itens e imagens */
.partners__item {
  flex: 0 0 auto;
}

.partners__item img {
  max-width: var(--img-max-width);
  height: auto;
  display: block;
  filter: saturate(1.05);
  transition: transform 0.2s ease, filter 0.2s ease;
}

.partners__item img:hover {
  transform: scale(1.04);
  filter: saturate(1.2);
}

/* Pausar ao passar o mouse */
.partners__viewport:hover .partners__track,
.partners__viewport:hover .partners__track--clone {
  animation-play-state: paused;
}

/* Animação contínua */
@keyframes partners-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-100%); }
}

/* Acessibilidade: foco visível nos botões */
.partners__btn:focus {
  outline: 2px solid #4a90e2;
  outline-offset: 2px;
}

/* Responsivo: reduzir gap em telas menores */
@media (max-width: 600px) {
  .partners { --gap: 16px; }
}
/* fim do carrossel*/