:root {
  --bg: #eff8f3;
  --bg-soft: #ffffff;
  --text: #173126;
  --muted: #4e6d60;
  --primary: #1f9d67;
  --primary-strong: #15784d;
  --card: #ffffff;
  --border: rgba(22, 67, 49, 0.16);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: linear-gradient(165deg, #edf8f2, #dceddf 75%);
  color: var(--text);
  line-height: 1.6;
}

img {
  max-width: 100%;
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.section {
  padding: 5rem 0;
  scroll-margin-top: 92px;
}

h1,
h2,
h3 {
  line-height: 1.2;
}

h2 {
  font-size: clamp(1.7rem, 2.6vw, 2.4rem);
  margin-bottom: 1rem;
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 20;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.8);
  transition: transform 0.3s ease;
}

.topbar.hide {
  transform: translateY(-100%);
}

.brand-short {
  display: none;
}

.title-mobile {
  display: none;
}

.title-mobile {
  display: none;
}

.text-mobile {
  display: none;
}

.nav-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.brand {
  font-weight: 800;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--border);
  background: #ffffff;
  border-radius: 0.6rem;
  width: 42px;
  height: 38px;
  padding: 0.45rem 0.4rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  margin: 4px 0;
  border-radius: 99px;
  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.2rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--text);
  opacity: 0.85;
  border-bottom: 2px solid transparent;
  transition:
    color 0.2s ease,
    opacity 0.2s ease,
    border-color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  opacity: 1;
  color: var(--primary);
  border-color: var(--primary);
}

.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  color: #f3fff8;
  overflow: hidden;
  background-color: #0f3f2a;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    100deg,
    rgba(8, 25, 18, 0.82) 5%,
    rgba(10, 45, 29, 0.7) 48%,
    rgba(15, 79, 46, 0.42) 100%
  );
}

.hero-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.hero-tags span {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  color: #fff;
  backdrop-filter: blur(6px);
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 2.4rem;
  align-items: center;
  grid-template-columns: 1.1fr;
}

.hero-text {
  text-align: left;
  max-width: 480px;
}

.badge {
  display: inline-block;
  color: #c8f6de;
  border: 1px solid rgba(200, 246, 222, 0.7);
  background: rgba(14, 53, 35, 0.34);
  border-radius: 999px;
  font-size: 0.9rem;
  padding: 0.3rem 0.8rem;
  margin-bottom: 1rem;
  position: relative;
  top: -10px;
}

.hero h1 {
  font-size: 35px;
  margin-bottom: 1rem;
  position: relative;
  top: -10px;
}

.hero p {
  color: rgba(243, 255, 248, 0.86);
  margin-bottom: 1.5rem;
  max-width: 58ch;
}

.btn-primary,
.btn-secondary {
  display: inline-block;
  text-decoration: none;
  border-radius: 0.8rem;
  transition: 0.2s ease;
  font-weight: 600;
}

.btn-primary {
  background: var(--primary);
  color: #f3fff8;
  padding: 0.8rem 1.2rem;
}

.btn-primary:hover {
  background: #21b274;
  transform: translateY(-1px);
}

/* BANNER */
.banner-palestrante {
  position: relative;
  width: 100%;
  height: 320px;
  overflow: hidden;
  margin-top: 20px;
}

.banner-img {
  position: absolute;
  inset: 0;
}

.banner-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner-palestrante::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(8, 25, 18, 0.75),
    rgba(10, 45, 29, 0.45),
    rgba(15, 79, 46, 0.2)
  );
  z-index: 1;
}

.banner-content {
  position: relative;
  z-index: 2;
  color: #ffffff;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.banner-content h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 10px;
}

.banner-content p {
  max-width: 520px;
  opacity: 0.9;
}

.galeria {
  background: #ffffff;
  border-top: 1px solid var(--border);
}

.galeria h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.galeria-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.galeria-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
  cursor: pointer;
}

.galeria-grid img:hover {
  transform: scale(1.04);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.galeria-carousel {
  position: relative;
  width: 100%;
  height: 420px;
  overflow: hidden;
  border-radius: 12px;
}

.slide {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;

  opacity: 0;
  transition: opacity 0.8s ease;
}

.slide.active {
  opacity: 1;
}

/* ===== LISTA DE TODAS AS PALESTRAS ===== */

.todas-palestras {
  background: #ffffff;
}

.palestras-box {
  border: 1px solid var(--border);
  background: linear-gradient(135deg, #e6f6ee, #f3fff8);
  border-radius: 16px;
  padding: 2.5rem;
  text-align: center;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}

.palestras-desc {
  color: var(--muted);
  margin-bottom: 2rem;
}

.lista-palestras {
  list-style: disc;
  columns: 2;
  max-width: 650px;
  margin: auto;
  text-align: left;
  gap: 20px;
}

.lista-palestras li {
  margin-bottom: 10px;
  color: var(--text);
}

.palestras-btn {
  margin-top: 2rem;
}

/* RESPONSIVO */

@media (max-width: 768px) {
  .lista-palestras {
    columns: 1;
  }

  .palestras-box {
    padding: 2rem 1.5rem;
  }

  .banner-palestrante {
    height: 220px;
  }

  .banner-content {
    text-align: left;
  }

  .title-desktop {
    display: none;
  }

  .title-mobile {
    display: block;
  }

  .hero h1 {
    font-size: 1.5rem;
    /* AUMENTAR ESPACAMENTO EM BAIXO */
    padding: 0.5rem 0;
  }

  .hero p {
    font-size: 0.9rem;
  }

  .title-mobile,
  .text-mobile {
    display: none;
  }

  .hero-text a {
    padding: 0.6rem 1.2rem;
  }
}

.about-photo {
  width: min(100%, 460px);
  margin-inline: auto;
}

.about-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  border-radius: 1.2rem;
  object-fit: cover;
  box-shadow: 0 18px 40px rgba(5, 30, 19, 0.16);
}

.about {
  background: rgba(255, 255, 255, 0.52);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.grid-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.about p {
  margin-bottom: 1rem;
  color: var(--muted);
}

.carousel-wrap {
  position: relative;
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.8rem;
}

.cards-carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 2rem) / 3);
  gap: 1rem;
  overflow: hidden;
  align-items: stretch;
  scroll-behavior: smooth;
}

.carousel-btn {
  border: 1px solid rgba(31, 157, 103, 0.35);
  color: var(--primary-strong);
  background: #ffffff;
  border-radius: 999px;
  width: 2.6rem;
  height: 2.6rem;
  font-size: 1.7rem;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.carousel-btn:hover {
  background: #effaf3;
}

.carousel-btn:disabled {
  cursor: not-allowed;
}

.cta {
  background: linear-gradient(135deg, #1f9d67, #15784d);
  color: #ffffff;
  text-align: center;
}

.cta-wrap {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
}

.cta-text p {
  max-width: 620px;
  opacity: 0.95;
  margin-inline: auto;
}

.cta-btn {
  font-size: 1.1rem;
  padding: 0.9rem 1.6rem;
  background: #ffffff;
  color: #15784d;
}

.cta-btn:hover {
  background: #f3fff8;
}

.card {
  background: var(--card);
  padding: 1.2rem;
  border: 1px solid var(--border);
  border-radius: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: 0 10px 22px rgba(17, 66, 45, 0.08);
}

.talk-image {
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-radius: 0.7rem;
}

.card p {
  color: var(--muted);
  flex-grow: 1;
}

.btn-secondary {
  border: 1px solid var(--primary);
  color: var(--primary);
  padding: 0.6rem 1rem;
  text-align: center;
}

.btn-secondary:hover {
  background: var(--primary);
  color: #f3fff8;
}

.companies {
  margin-top: 2.5rem;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.4rem;
}

.companies h3 {
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.companies p {
  color: var(--muted);
  margin-bottom: 1rem;
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.9rem;
  list-style: none;
}

.logo-item {
  border-radius: 0.75rem;
  border: 1px solid rgba(31, 157, 103, 0.18);
  background: #ffffff;
  min-height: 86px;
  display: grid;
  place-items: center;
  padding: 0.8rem;
}

.logo-item img {
  width: 100%;
  max-width: 145px;
  max-height: 48px;
  object-fit: contain;
}

/* FEEDBACK */
/* SECTION */
.feedback {
  text-align: center;
  background: #f8faf9;
  padding: 60px 0;
}

.feedback h2 {
  font-size: 32px;
  margin-bottom: 40px;
  color: #173126;
}

/* WRAPPER */
.feedback-wrapper {
  position: relative;
  overflow: hidden;
  padding: 0 56px;
}

/* CARROSSEL */
.feedback-carousel {
  display: flex;
  gap: 25px;
  transition: transform 0.4s ease;
  will-change: transform;
}

/* CARD */
.feedback-card {
  flex: 0 0 clamp(260px, 28vw, 320px);
  background: #ffffff;
  border-radius: 16px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease;
}

.feedback-card:hover {
  transform: translateY(-5px);
}

.feedback-card-featured {
  flex-basis: clamp(300px, 34vw, 380px);
}

/* IMAGEM (AJUSTADA - MUITO MAIS IMPORTANTE) */
.feedback-card img {
  width: 100%;
  max-width: 220px;
  height: auto;
  border-radius: 10px; /* removido formato redondo */
  margin-bottom: 15px;
  border: 4px solid #f0f0f0;
}

/* TEXTO */
.feedback-card p {
  font-size: 15px;
  font-weight: 500;
  color: #173126;
  margin-bottom: 8px;
  line-height: 1.4;
}

/* EMPRESA */
.feedback-card span {
  font-size: 13px;
  color: #6b7280;
}

/* BOTÕES */
.feedback-btn {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  background: #1f9d67;
  color: #fff;
  border: none;
  font-size: 22px;
  padding: 10px 14px;
  cursor: pointer;
  border-radius: 10px;
  z-index: 2;
  transition: background 0.2s;
}

.feedback-btn:hover {
  background: #15784d;
}

.feedback-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.prev {
  left: 0;
}

.next {
  right: 0;
}

/* DESKTOP (GRID BONITO) */
@media (min-width: 1024px) {
  .feedback-card {
    flex-basis: clamp(260px, 24vw, 310px);
  }
}

/* TABLET */
@media (max-width: 1024px) {
  .feedback-card-featured {
    flex-basis: clamp(320px, 30vw, 380px);
  }
}

/* MOBILE */
@media (max-width: 600px) {
  .feedback-wrapper {
    padding: 0 48px;
  }

  .feedback-card,
  .feedback-card-featured {
    flex-basis: calc(50% - 12.5px);
  }

  .feedback-wrapper {
    padding: 0 42px;
  }

  .feedback-card,
  .feedback-card-featured {
    flex-basis: 100%;
  }

  .feedback-card img {
    max-width: 180px;
  }
}

.faq-list {
  margin-top: 1.5rem;
  display: grid;
  gap: 0.8rem;
}

details {
  border: 1px solid var(--border);
  border-radius: 0.8rem;
  background: rgba(255, 255, 255, 0.75);
  padding: 0.9rem 1rem;
}

summary {
  cursor: pointer;
  font-weight: 600;
}

details p {
  color: var(--muted);
  margin-top: 0.7rem;
}

.footer {
  border-top: 1px solid var(--border);
  padding: 3rem 0;
  background: #f8fffa;
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.contact-block p {
  margin-bottom: 0.4rem;
}

/* FORMULARIO */
/* FORMULÁRIO CONTATO */

.formulario-contato {
  position: relative;
  padding: 120px 0;
  color: white;

  background:
    linear-gradient(
      90deg,
      rgba(6, 18, 38, 0.75) 0%,
      rgba(6, 18, 38, 0.85) 40%,
      rgba(6, 18, 38, 0.95) 100%
    ),
    url('images/eduardo-form.jpeg');

  background-size: cover;
  background-position: left center;
}

.form-container {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 60px;
  align-items: center;
}

.form-text h2 {
  font-size: clamp(2rem, 3vw, 2.6rem);
  margin-bottom: 10px;
}

.form-text p {
  opacity: 0.85;
}

.form-box {
  background: rgba(0, 0, 0, 0.45);
  padding: 28px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-box input,
.form-box textarea {
  padding: 12px;
  border: none;
  border-radius: 4px;
  font-family: inherit;
}

.form-box textarea {
  min-height: 120px;
  resize: none;
}

.form-box button {
  align-self: flex-end;
  padding: 10px 20px;
  border: none;
  background: var(--primary);
  color: white;
  font-weight: 600;
  cursor: pointer;
  border-radius: 4px;
}

.form-subtitulo {
  font-size: 1.2rem;
  font-weight: 600;
  color: #1f9d67;
  margin-bottom: 6px;
}

.form-descricao {
  opacity: 0.85;
  font-size: 0.95rem;
  max-width: 420px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-item img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

/* WhatsApp floating */
.wppFloat {
  position: fixed;
  right: 20px;
  bottom: 30px;
  z-index: 90;
  width: 70px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #25d366;
  border-radius: 50%;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.35);
}

.wppFloat img {
  width: 70px;
  height: 70px;
}

@media (max-width: 900px) {
  .nav-wrap {
    position: relative;
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    right: 0;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    pointer-events: none;
    transition: max-height 0.3s ease;
    z-index: 25;
  }

  .topbar.menu-open .site-nav {
    max-height: 360px;
    pointer-events: auto;
  }

  .nav-links {
    margin-top: 0.8rem;
    flex-direction: column;
    gap: 0.2rem;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--border);
    border-radius: 0.8rem;
    padding: 0.55rem;
  }

  .nav-links a {
    display: block;
    padding: 0.85rem 0.8rem;
    font-size: 1rem;
    border-radius: 0.5rem;
    border-bottom: 0;
  }

  .nav-links a:hover,
  .nav-links a.active {
    background: #effaf3;
  }

  .topbar.menu-open .nav-toggle span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .topbar.menu-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  .topbar.menu-open .nav-toggle span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .grid-two {
    grid-template-columns: 1fr;
  }

  .cards-carousel {
    grid-auto-columns: calc((100% - 1rem) / 2);
  }

  .logo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero {
    min-height: 65vh;
  }
}

.contact-block {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contato {
  text-decoration: none;
  color: var(--primary);
  font-weight: 600;
  line-height: 1.4;
  transition: color 0.2s ease;
}

.contato:hover {
  color: var(--primary-strong);
}

.clientes {
  background: #ffffff;
  border-top: 1px solid var(--border);
}

.clientes h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.clientes-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  align-items: center;
}

.clientes-grid img {
  max-width: 130px;
  max-height: 50px;
  object-fit: contain;
  margin: 0 auto;
  opacity: 0.9;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.clientes-grid img:hover {
  opacity: 1;
  transform: scale(1.05);
}

/* ===== ANIMAÇÕES SCROLL ===== */

.reveal {
  opacity: 0;
  transform: translateY(60px);
  transition: all 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay {
  opacity: 0;
  transform: translateY(60px);
}

.reveal-delay.active {
  opacity: 1;
  transform: translateY(0);
}

/* CASCATA */
.reveal-delay:nth-child(1) {
  transition: 0.6s 0.1s;
}
.reveal-delay:nth-child(2) {
  transition: 0.6s 0.2s;
}
.reveal-delay:nth-child(3) {
  transition: 0.6s 0.3s;
}
.reveal-delay:nth-child(4) {
  transition: 0.6s 0.4s;
}

/* LINHA ANIMADA */
.title-line {
  position: relative;
  display: inline-block;
}

.title-line::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0%;
  height: 3px;
  background: var(--primary);
  transition: width 0.8s ease;
}

.title-line.active::after {
  width: 100%;
}

/* TYPE EFFECT */
.type-effect span {
  display: inline;
  opacity: 0;
  transform: translateY(10px);
}

/* ===== RESPONSIVIDADE ===== */

@media (max-width: 900px) {
  .container {
    width: 95%;
  }

  .grid-two {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .hero-text {
    text-align: left;
    margin: 0;
  }

  .hero p {
    margin-left: 0;
    margin-right: 0;
  }

  /* carrossel tablet */
  .cards-carousel {
    grid-auto-columns: calc((100% - 1rem) / 2);
  }
}

/* ALCANCE */
.numeros {
  background: #ffffff;
  text-align: center;
}

.numeros-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.numero-item img {
  width: 40px;
  margin-bottom: 10px;
  color: #0f3f2a;
}

.numero-item h3 {
  font-size: 28px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 5px;
}

.numero-item p {
  font-size: 14px;
  color: var(--muted);
}

@media (max-width: 768px) {
  .brand-full {
    display: none;
  }
  .brand-short {
    display: block;
  }

  .hero-content {
    padding-top: 65px;
  }

  .hero-text {
    margin-top: -120px;
  }

  .banner-content h2 {
    margin-top: -10px;
  }

  .banner-content p {
    margin-top: 12px;
  }

  .form-box {
    margin-top: 65px;
  }

  .title-desktop,
  .text-desktop {
    display: none;
  }

  .title-mobile,
  .text-mobile {
    display: block;
  }

  .carousel-wrap {
    display: block;
    padding-inline: 2.6rem;
  }

  .numeros-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 2.25rem;
    height: 2.25rem;
    font-size: 1.35rem;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 8px 20px rgba(16, 52, 36, 0.18);
    z-index: 2;
  }

  #prevTalk {
    left: 0;
  }

  #nextTalk {
    right: 0;
  }

  .cards-carousel {
    display: flex;
    gap: 16px;

    overflow-x: auto;
    overflow-y: hidden;

    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scroll-padding-inline: 0.45rem;

    padding: 4px 0.45rem 10px;
  }

  .cards-carousel::-webkit-scrollbar {
    display: none;
  }

  .talk-slide {
    flex: 0 0 100%;
    max-width: 100%;
    scroll-snap-align: center;
  }

  .talk-image {
    height: 180px;
    object-fit: cover;
  }

  .btn-secondary {
    width: 100%;
  }

  .form-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .formulario-contato {
    background-position: center;
  }
}

@media (min-width: 481px) and (max-width: 768px) {
  .talk-slide {
    flex-basis: 88%;
  }
}

@media (max-width: 480px) {
  .carousel-wrap {
    padding-inline: 2.2rem;
  }

  .carousel-btn {
    width: 2rem;
    height: 2rem;
    font-size: 1.1rem;
  }

  .galeria-grid img {
    height: 180px;
  }
}

@media (max-width: 768px) {
  .palestras-box {
    padding: 1.8rem;
  }

  .lista-palestras {
    columns: 1;
    text-align: left;
  }
}

@media (max-width: 768px) {
  .clientes-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }
}

@media (max-width: 480px) {
  .clientes-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .galeria-carousel {
    height: auto;
    min-height: 280px;
    aspect-ratio: 4 / 5;
    background: #eef5f1;
  }

  .slide {
    object-fit: contain;
    padding: 0.35rem;
  }

  .footer {
    padding-bottom: 6.5rem;
  }
}

@media (max-width: 480px) {
  .talk-image {
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: contain;
    background: #f4fbf7;
  }

  .feedback-card {
    padding: 20px;
  }

  .feedback-card img {
    width: 100%;
    max-width: 100%;
    max-height: 260px;
    object-fit: contain;
    background: #f7f7f7;
  }

  .footer {
    padding-bottom: 7rem;
  }

  .contact-block {
    word-break: break-word;
  }
}

@media (max-width: 768px) {
  .footer-wrap {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
}
