* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --blue: #072AC8;
  --blue-light: #2168FE;
  --blue-dark: #03045E;
  --blue-hiper-light: #39B4F7;
  --text: #141821;
  --white-blue: #E4EDFF;
  --pink-dark: #A30659;
  --pink-light: #fe2181;
  --violet-dark: #660795;
  --violet-light: #A921FE;
  --muted: #f5f5f5;
  --muted-foreground: #141821;
  --border: #e8e8e8;
  --card: #f4f5ff;
  --accent: #0052cc;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text);
  background-color: var(--white-blue);
  line-height: 1.6;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
}

@media (max-width: 767px) {
  footer {
    padding: 3rem 0 2rem 0 !important;
    border-radius: 20px 20px 0 0 !important;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  footer {
    padding: 4rem 0 2.5rem 0 !important;
  }
}

/* Lista de redes sociais */
.social-icons {
  list-style: none;
  padding: 0;
  margin: 0;
}

.social-icons li {
  margin-bottom: 12px;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: inherit;
}

/* Ícone */
.social-icons img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

/* Texto */
.social-icons span {
  font-size: 14px;
  line-height: 1;
  white-space: nowrap;
}

/* Hover */
.social-icons a:hover {
  opacity: 0.85;
}


.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 40px;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  cursor: pointer;
}

.btn-primary {
  background-color: var(--blue);
  color: var(--white-blue);
}

/* Newsletter Section */
.newsletter {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: var(--white-blue);
  padding: 4rem 0;
}

.newsletter-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  /* reduzir espaço entre imagem e conteúdo no desktop */
  gap: 1px;
  max-width: 1100px;
  margin: 0 auto;
}

/* mobile: empilha */
@media (max-width: 768px) {
  .newsletter-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  /* no mobile a imagem não aparece */
  .newsletter-image {
    display: none !important;
    width: 100px;
    height: 100px;
    max-height: 150px;
  }

  .newsletter-image img {
    width: 100px;
    height: 100px;
  }
}

.newsletter-content {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  color: var(--white-blue);
}

.newsletter h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}

@media (min-width: 768px) {
  .newsletter h2 {
    font-size: 2.5rem;
  }
}

.newsletter p {
  /* aproxima o formulário do texto da newsletter */
  margin-bottom: 14px;
  color: var(--white-blue);
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .newsletter-form {
    flex-direction: row;
  }
}

.newsletter-form input {
  flex: 1;
  padding: 0.75rem 1rem;
  border-radius: 9999px;
  font-size: 1rem;

  background-color: var(--white-blue);
  color: var(--pink-light);

  border: 3px solid transparent;
  /* sem borda até focar */
  outline: none;

  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2);
  transition:
    transform .3s ease,
    box-shadow .3s ease,
    border-color .25s ease,
    background-color .25s ease;
}

/* placeholder */
.newsletter-form input::placeholder {
  color: rgba(3, 4, 94, .55);
}

/* HOVER — igual ao botão (mas SEM borda) */
.newsletter-form input:hover {
  transform: scale(1.02);
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.24);
}

/* FOCUS — somente aqui aparece a borda azul */
.newsletter-form input:focus {
  border-color: var(--blue-hiper-light);
  /* aparece só no foco */
  box-shadow: 0 14px 26px rgba(7, 42, 200, 0.28);
  /* sombra azulada */
  transform: scale(1.02);
}

/* remove o “outline” preto padrão */
.newsletter-form input:focus-visible {
  outline: none;
}


.newsletter-form button {
  position: relative;
  transition: all 0.3s ease-in-out;
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2);
  padding-block: 15px;
  padding-inline: 25px;
  background-color: var(--white-blue);
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--blue);
  gap: 0px;
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  border: 0px solid #ffffff4d;
  outline: none;
  overflow: hidden;
  font-size: 15px;
}

.newsletter-form button:hover {
  transform: scale(1.05);
  background-color: var(--blue-hiper-light);
  color: var(--white-blue);
  border-color: var(--blue);
}

.newsletter-form button:hover:before {
  animation: shine 1.5s ease-out infinite;
}

.newsletter-form button:before {
  content: "";
  position: absolute;
  width: 100px;
  height: 100%;
  background-image: linear-gradient(120deg,
      rgba(255, 255, 255, 0) 30%,
      rgba(255, 255, 255, 0.8),
      rgba(255, 255, 255, 0) 70%);
  top: 0;
  left: -100px;
  opacity: 0.6;
}

@keyframes shine {
  0% {
    left: -100px;
  }

  60% {
    left: 100%;
  }

  to {
    left: 100%;
  }
}

.newsletter-message {
  margin-top: 1rem;
  font-size: 0.95rem;
  opacity: 0.9;
}

/* Container da tabela */
.container-fuction {
  width: 100%;
  max-width: 1250px;
  margin: 0 auto;
  padding: 0;
}

@media (max-width: 1023px) {
  .container-fuction {
    padding: 0 1.5rem;
  }
}

@media (max-width: 767px) {
  .container-fuction {
    padding: 0 1rem;
  }
}

/* Seção testimonial-prop */
.testimonial-prop {
  padding: 0;
  background: linear-gradient(135deg, #072AC8 0%, #0520A0 100%);
}

@media (max-width: 767px) {
  .testimonial-prop {
    padding: 20px 0;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .testimonial-prop {
    padding: 40px 0;
  }
}

/* Estilos da tabela */
.container-fuction table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 10px;
  background-color: #E8EEFA;
  border-radius: 40px;
  overflow: hidden;
  padding: 50px 75px;
}

/* Cabeçalho da tabela */
.container-fuction thead {
  background-color: transparent;
}

.container-fuction thead tr th {
  font-weight: 800;
  font-size: 21px;
  padding: 0;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  background-color: transparent;
  line-height: 1.1;
}

@media (max-width: 767px) {
  .container-fuction thead tr th {
    font-size: 12px;
    padding: 20px 10px;
    letter-spacing: 0.3px;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .container-fuction thead tr th {
    font-size: 14px;
    padding: 25px 15px;
  }
}

/* Primeira coluna do cabeçalho (FUNCIONALIDADE) */
.container-fuction thead tr th:first-child {
  text-align: left;
  padding: 8px;
  color: #0520A0;
}

@media (max-width: 767px) {
  .container-fuction thead tr th:first-child {
    padding-left: 20px;
  }
}

/* Classes específicas do cabeçalho */
.header-platform {
  color: #00BFA5;
  padding: 8px;
}

.header-manual {
  color: #EF4444;
  padding: 0px;
  text-align: right;
}

/* Corpo da tabela */
.container-fuction tbody tr {
  box-shadow: 0 1.5px 0 #a09595;
  margin-bottom: 10px;
}

.container-fuction tbody tr:last-child {
  box-shadow: none;
}

/* Células do corpo */
.container-fuction tbody td {
  padding: 8px;
  font-size: 18px;
  color: #524d4d;
  vertical-align: middle;
  font-weight: 600;
}

@media (max-width: 767px) {
  .container-fuction tbody td {
    padding: 14px 10px;
    font-size: 11px;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .container-fuction tbody td {
    padding: 16px 15px;
    font-size: 13px;
  }
}

/* Primeira coluna (nome da funcionalidade) */
.container-fuction tbody td:first-child {
  font-weight: 600;
  padding-left: 5px;
  color: #2D3748;
  text-align: left;
}

@media (max-width: 767px) {
  .container-fuction tbody td:first-child {
    padding-left: 5px;
  }
}

/* Colunas de plataforma e manual */
.col-platform,
.col-manual {
  text-align: center;
  width: AUTO;
}

@media (max-width: 767px) {

  .col-platform,
  .col-manual {
    width: AUTO;
  }
}

/* Células com check (✓) - Remove backgrounds */
.col-platform.check,
.col-manual.check {
  background-color: transparent;
  padding: 0;
}

/* Células com cross (✗) - Remove backgrounds */
.col-manual.cross {
  background-color: transparent;
  padding: 0;
}

/* Imagens de check e cross */
.col-platform.check img,
.col-manual.check img,
.col-manual.cross img {
  width: 22px;
  height: 22px;
  display: inline-block;
  vertical-align: middle;
  transition: transform 0.3s ease;
  padding: 0px;
}

@media (max-width: 767px) {

  .col-platform.check img,
  .col-manual.check img,
  .col-manual.cross img {
    width: 20px;
    height: 20px;
    padding: 0px;
  }
}

/* Animação para os ícones */
.col-platform.check img:hover,
.col-manual.check img:hover {
  transform: scale(1.15);
}

.col-manual.cross img:hover {
  transform: scale(1.15);
}

/* Responsividade para telas muito pequenas */
@media (max-width: 480px) {
  .container-fuction {
    padding: 0 0.5rem;
  }

  .container-fuction table {
    font-size: 10px;
  }

  .container-fuction thead tr th {
    padding: 15px 8px;
    font-size: 10px;
  }

  .container-fuction tbody td {
    padding: 10px 8px;
  }

  .container-fuction tbody td:first-child,
  .container-fuction thead tr th:first-child {
    padding-left: 12px;
  }

  .col-platform.check img,
  .col-manual.check img,
  .col-manual.cross img {
    width: 16px;
    height: 16px;
  }
}

/* Efeito de scroll suave para mobile */
@media (max-width: 767px) {
  .container-fuction {
    -webkit-overflow-scrolling: touch;
    overflow-x: auto;
  }

  .container-fuction table {
    min-width: 600px;
  }
}



/* Footer newsletter (independente da seção) */
.footer-newsletter-title {
  font-size: 20px;
  padding: 0;
  color: #fff;
}

.footer-newsletter-text {
  font-size: 15px;
  padding: 10px 0;
  color: #fff;
}

.footer-newsletter-form {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-newsletter-input {
  flex: 1 2 auto;
  min-width: 0;
  width: 50px;
  height: 50px;
  padding: 12px 16px;
  border: none;
  border-radius: 25px;
  background: #E4EDFF;
  color: var(--blue);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
}

.footer-newsletter-button {
  height: 50px;
  padding: 12px 24px;
  border-radius: 25px;
  white-space: nowrap;
}

@media (max-width: 767px) {
  .footer-newsletter-form {
    flex-direction: column;
    align-items: stretch;
  }

  .footer-newsletter-input {
    width: 80%;
  }

  .footer-newsletter-button {
    width: 100%;
  }

  .footer-newsletter {
    max-width: 100%;
    padding-right: 0;
  }

  .footer-newsletter-text {
    max-width: 100%;
    white-space: normal !important;
    overflow-wrap: break-word !important;
    word-wrap: break-word !important;
    word-break: break-word !important;
    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    font-size: 14px;
    line-height: 1.6;
  }

  .footer-secondary .footer-subgrid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .footer-secondary .footer-newsletter-input,
  .footer-secondary .footer-newsletter-button {
    width: 100% !important;
  }

  .footer-secondary .footer-newsletter {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
}

/* Garantir quebra dentro dos containers do footer */
.footer-primary .container,
.footer-secondary .container {
  overflow-wrap: anywhere;
}

.footer-primary {
  background-color: var(--blue-dark);
  color: white;
  padding: 100px 0 40px 0;
  border-radius: 40px 40px 0 0;
}

.footer-secondary {
  background-color: var(--blue-dark);
  color: white;
  padding: 1px 0 40px 0;
}

/* Footer section width helpers */
.footer-section-narrow {
  width: 250px;
}

/* Newsletter subcol width on desktop */
.footer-subgrid .subcol {
  width: 450px;
}

.servicehero {
  background-image: url("biblioteca/imagens/section-services.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--white-blue);
  text-align: left;
}

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: var(--white-blue);
  border-bottom: 1px solid var(--border);
  transition: backdrop-filter 0.3s ease, background-color 0.3s ease;
}

header.scrolled {
  background-color: rgba(226, 242, 255, 0.8);
  backdrop-filter: blur(19px) saturate(150%);
  -webkit-backdrop-filter: blur(19px) saturate(150%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 15px;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--blue);
  text-decoration: none;
}

.logo img {
  display: block;
  vertical-align: middle;
  width: 200px;
  height: 60px;
}

.menu-text {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--blue-dark);
  transition: all 0.3s ease-in-out;
  text-decoration: none;
}

.menu-text:hover {
  color: var(--blue);
  transform: scale(1.1);
}

.menu-text:active {
  transform: scale(0.95);
  color: var(--blue-light);
  transition: transform 0.1s ease;
}

nav {
  display: none;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 768px) {
  nav {
    display: flex;
  }
}

.nav-item {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  display: none;
  background-color: var(--white-blue);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  padding: 12px;
  min-width: 220px;
  z-index: 200;
}

.dropdown-menu .menu-text {
  display: block;
  padding: 8px 10px;
}

@media (min-width: 768px) {
  #desktopNav .has-dropdown:hover .dropdown-menu {
    display: block;
  }
}

.menu-toggle {
  display: block;
  background: none;
  border: none;
  cursor: pointer;
  width: 52px;
  height: 52px;
  position: relative;
  transition: all 0.3s ease;
  z-index: 100;
  padding: 0;
  outline: none;
  box-shadow: none;
}

.menu-toggle span {
  display: block;
  position: absolute;
  height: 3.5px;
  width: 32px;
  background: var(--blue);
  border-radius: 3px;
  opacity: 1;
  left: 50%;
  transform: translateX(-50%);
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.menu-toggle span:nth-child(1) {
  top: 14px;
}

.menu-toggle span:nth-child(2) {
  top: 24px;
}

.menu-toggle span:nth-child(3) {
  top: 34px;
}

/* Animação quando o menu está aberto */
.menu-toggle.active span:nth-child(1) {
  top: 24px;
  transform: translateX(-50%) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(-50%) scaleX(0);
}

.menu-toggle.active span:nth-child(3) {
  top: 24px;
  transform: translateX(-50%) rotate(-45deg);
}

.menu-toggle:hover span {
  background: var(--blue-dark);
}

.menu-toggle:focus-visible {
  outline: none;
}

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

@media (max-width: 1150px) {
  nav {
    display: flex;
  }

  nav .menu-text {
    display: none;
  }

  nav .button-blue {
    display: none;
  }

  .menu-toggle {
    display: block;
  }
}

/* Esconder botão "Área do Cliente" do desktop nav em mobile e tablet */
@media (max-width: 1023px) {
  #desktopNav .button-blue {
    display: none !important;
  }
}

.mobile-nav {
  display: none;
  border-top: 1px solid var(--border);
  background-color: transparent;
  padding: 1rem 0;
}

.mobile-nav.active {
  display: block;
}

.mobile-nav a {
  display: block;
  padding: 0.75rem 0;
  text-decoration: none;
  transition: color 0.3s;
}

.mobile-nav .menu-text {
  color: var(--blue);
}

.mobile-nav .menu-text:hover {
  color: var(--blue-dark);
}

.mobile-nav a:hover {
  color: var(--blue-dark);
}

.mobile-nav .button-blue {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  margin-top: 1rem;
  padding: 14px 20px;
  text-align: center;
  font-size: 14px;
  min-height: 48px;
  color: var(--white-blue);
}

.mobile-nav .button-blue:hover {
  color: var(--white-blue);
}

.mobile-nav .button-blue img {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  object-fit: contain;
}

/* Buttons - Otimizado (removendo duplicações) */
.button,
.button2,
.button-blue,
.button-outline,
.button-outline-blue,
.button-outline-dark {
  position: relative;
  transition: all 0.3s ease-in-out;
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2);
  padding: 15px 30px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  gap: 0px;
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  border: 0px solid #ffffff4d;
  outline: none;
  overflow: hidden;
  font-size: 15px;
  text-decoration: none;
}

.button,
.button2 {
  background-color: var(--white-blue);
  color: var(--blue);
}

.button-blue {
  background-color: var(--blue);
  color: var(--white-blue);
}

.button-outline {
  background-color: transparent;
  color: var(--white-blue);
  border: 3.5px solid var(--white-blue);
}

.button-outline-dark {
  background-color: transparent;
  color: var(--white-blue);
  border: 3.5px solid var(--white-blue);
}

.button-outline-blue {
  background-color: transparent;
  color: var(--blue);
  border: 3.5px solid var(--blue);

}

.button:hover {
  transform: scale(1.05);
  background-color: var(--blue-dark);
  color: var(--white-blue);
}

.button2:hover {
  transform: scale(1.05);
  background-color: var(--blue);
  color: var(--white-blue);
}

.button-blue:hover {
  transform: scale(1.05);
  background-color: var(--blue-dark);
}

.button-outline:hover {
  transform: scale(1.05);
  background-color: var(--blue);
  border-color: var(--blue);
}

.button-outline-dark:hover {
  transform: scale(1.05);
  background-color: var(--blue-dark);
  border-color: var(--blue-dark);
}

.button-outline-blue:hover {
  color: var(--white-blue);
  transform: scale(1.05);
  background-color: var(--blue);
  border-color: var(--blue);
}

.button::before,
.button2::before,
.button-blue::before,
.button-outline::before,
.button-outline-blue::before,
.button-outline-dark::before {
  content: "";
  position: absolute;
  width: 100px;
  height: 100%;
  background-image: linear-gradient(120deg,
      rgba(255, 255, 255, 0) 30%,
      rgba(255, 255, 255, 0.8),
      rgba(255, 255, 255, 0) 70%);
  top: 0;
  left: -100px;
  opacity: 0.6;
}

.button:hover::before,
.button2:hover::before,
.button-blue:hover::before,
.button-outline:hover::before,
.button-outline-blue:hover::before,
.button-outline-dark:hover::before {
  animation: shine 1.5s ease-out infinite;
}

@keyframes shine {
  0% {
    left: -100px;
  }

  60% {
    left: 100%;
  }

  to {
    left: 100%;
  }
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: white;
  padding: 20px 0;
  text-align: left;
}

@media (min-width: 768px) {
  .hero {
    padding: 75px 0;
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 2.5rem;
}

@media (max-width: 900px) {
  .hero-grid {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
  }

  .hero-media {
    order: -1;
  }
}

.hero h2 {
  font-size: 40px;
  margin-bottom: 20px;
  line-height: 50px;
}

@media (min-width: 768px) {
  .hero h2 {
    font-size: 45px;
  }
}

.hero p {
  font-size: 25px;
  margin-bottom: 30px;
  opacity: 1;
  max-width: 630px;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

@media (min-width: 630px) {
  .hero-buttons {
    flex-direction: row;
  }
}

.image-wrapper {
  position: relative;
  width: auto;
  max-width: auto;
  margin: 0 auto;
}

.hero-image {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-image:hover {
  transform: scale(1.01);
  transition: transform 0.3s ease;
}

/**/
.ctahero-image {
  width: 606px;
  height: 462.52px;
  display: block;
}

.ctaimage-wrapper {
  position: relative;
  max-height: 500px;
  margin: 0 auto;
}

.ctaimage-wrapper {
  width: 100%;
  height: 100%;
  display: block;
}

.ctahero-image:hover {
  transform: scale(1.01);
  transition: transform 0.3s ease;
}

/* Client Logos Carousel */
/* Client Logos Carousel */
.clients {
  background-color: var(--white-blue);
  padding: 0.5rem 2rem;
  display: block;
}

.clients h3 {
  font-size: 30px;
  color: var(--blue);
  text-align: center;
  margin: 0 auto 15px auto;
}

.clients p {
  font-size: 20px;
  color: var(--text);
  text-align: center;
  margin: 0 auto 15px auto;
}

.infinite-carousel {
  width: 100%;
  background-color: var(--white-blue);
  padding: 75px 0;
}

.carousel-viewport {
  overflow: hidden;
  width: 100%;
  position: relative;
}

.carousel-track {
  display: flex;
  align-items: center;
  width: max-content;
  will-change: transform;
}

.slide {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3rem;
}

.slide img {
  width: 200px;
  height: auto;
  transition: transform 0.3s ease;
}

.slide img:hover {
  transform: scale(1.01);
}

@media (max-width: 768px) {
  .slide {
    padding: 0 2rem;
  }

  .slide img {
    height: 64px;
    width: auto;
  }
}

.carousel-viewport {
  overflow: hidden;
  width: 100%;
  position: relative;
}

/* Fades nas laterais */
.carousel-viewport::before,
.carousel-viewport::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 40px;
  /* ajuste a largura do fade aqui */
  z-index: 2;
  pointer-events: none;
  /* não atrapalha clique/hover */
}

/* Fade à esquerda */
.carousel-viewport::before {
  left: 0;
  background: linear-gradient(to right,
      var(--white-blue) 0%,
      /* mesma cor de fundo da seção */
      rgba(228, 237, 255, 0) 100%);
}

/* Fade à direita (se quiser) */
.carousel-viewport::after {
  right: 0;
  background: linear-gradient(to left,
      var(--white-blue) 0%,
      rgba(228, 237, 255, 0) 100%);
}




/* Testimonials */
/* Testimonials */
.testimonial-prop {
  padding: 75px 0;
  background-color: var(--blue);
}

/* Carrossel */
.testimonial-carousel {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
}

.testimonial-viewport {
  overflow: hidden;
  width: 100%;
}

.testimonial-track {
  display: flex;
  transition: transform 0.45s ease;
  will-change: transform;
}

/* 1 por vez */
.testimonial-slide {
  flex: 0 0 50%;
  box-sizing: border-box;
  padding: 0 8px;
}

@media (max-width: 768px) {
  .testimonial-slide {
    flex: 0 0 100%;
  }
}

/* Setas */
.testimonial-arrow {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.testimonial-arrow:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.18);
}

.testimonial-arrow:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  transform: none;
}

/* Seu card (mantido) */
.testimonial-card {
  background-color: var(--white-blue);
  border-radius: 40px;
  padding: 2rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.testimonial-card:hover {
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.16);
}

.testimonial-card-top {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 1.2rem;
}

.testimonial-card-icon img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
}

.testimonial-card h3 {
  font-size: 1.2rem;
  color: var(--blue);
  margin-bottom: 0.5rem;
}

.testimonial-stars {
  color: #FFD700;
  font-size: 1.2rem;
}

.testimonial-card p {
  color: var(--text);
  line-height: 1.6;
}

/* Mobile: setas por cima (opcional) */
@media (max-width: 480px) {
  .testimonial-carousel {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .testimonial-arrow {
    justify-self: center;
  }

  .testimonial-arrow.prev {
    order: 2;
  }

  .testimonial-viewport {
    order: 1;
  }

  .testimonial-arrow.next {
    order: 3;
  }
}


/* Value Proposition */
.value-prop {
  padding: 75px 0;
  background-color: var(--white-blue);
}

.value-prop-header {
  text-align: center;
  color: var(--blue);
  font-size: 20px;
  margin-bottom: 15px;
}

.value-prop-header h2 {
  font-size: 30px;
  margin-bottom: 5px;
}

.value-prop-header p {
  color: var(--text);
  max-width: 1100px;
  margin: 10px auto 25px auto;
  text-align: center;
}

.value-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  gap: 20px 30px;
  /* espaçamento entre linhas e colunas */
  padding: 20px;
}

@media (min-width: 768px) {
  .value-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.value-card {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: 40px;
  padding: 2rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-card-top {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  margin-bottom: 1.2rem;
}

.value-card-icon img {
  width: 55px;
  height: 55px;
  display: block;
}

.value-card h3 {
  font-size: 1.4rem;
  margin: 0;
  font-weight: 600;
}

.value-card p {
  color: var(--text);
  line-height: 1.6;
  text-align: justify;
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.12);
}

/* value-end*/

/* ============================================
   MELHORIAS DE RESPONSIVIDADE - MOBILE E TABLET
   ============================================ */

/* Breakpoints:
   - Mobile: até 767px
   - Tablet: 768px - 1023px
   - Desktop: 1024px+ (mantido como está)
*/

/* ===== MOBILE (até 767px) ===== */
@media (max-width: 767px) {

  /* Container e espaçamentos gerais */
  .container {
    padding: 0 1rem;
  }

  /* Header mobile */
  .header-content {
    padding: 0.75rem 0;
  }

  .logo img {
    width: 150px;
    height: auto;
  }

  /* Hero Section */
  .hero {
    padding: 40px 0;
  }

  .hero h2 {
    font-size: 28px;
    line-height: 1.3;
    margin-bottom: 15px;
  }

  .hero p {
    font-size: 16px;
    margin-bottom: 20px;
    line-height: 1.5;
  }

  .hero-buttons {
    gap: 15px;
  }

  .hero-buttons .button,
  .hero-buttons .button-outline {
    width: 100%;
    padding: 14px 20px;
    font-size: 14px;
  }

  /* Tab Section - Responsivo Mobile */
  .tab-section {
    padding: 40px 0 50px 0;
  }

  .tab-header h2 {
    font-size: 1.75rem;
  }

  .tab-buttons {
    gap: 0.75rem;
    flex-wrap: wrap;
  }

  .tab-btn {
    padding: 8px 16px;
    font-size: 13px;
    flex: 1;
    min-width: 100px;
  }

  .tab-content {
    padding: 25px 20px;
    border-radius: 20px;
  }

  .tool-grid {
    padding: 15px 10px;
    gap: 15px;
  }

  .tool-card h4 {
    font-size: 0.95rem;
    line-height: 1.2;
  }

  .tool-card p {
    font-size: 13px;
    line-height: 1.4;
  }

  .tool-card-icon img {
    width: 32px;
    height: 32px;
  }


  /* Value Proposition */
  .value-prop {
    padding: 40px 0;
  }

  .value-prop-header h2 {
    font-size: 1.75rem;
  }

  .value-prop-header p {
    font-size: 14px;
  }

  .value-grid {
    gap: 15px;
    padding: 15px 10px;
  }

  .value-card {
    padding: 1.5rem;
  }

  .value-card h3 {
    font-size: 1.2rem;
  }

  .value-card p {
    font-size: 14px;
    line-height: 1.5;
  }

  .value-card-icon img {
    width: 45px;
    height: 45px;
  }

  /* Testimonials */
  .testimonial-prop {
    padding: 40px 0;
  }

  .testimonial-grid {
    gap: 1.5rem;
  }

  .testimonial-card {
    padding: 1.5rem;
  }

  .testimonial-card h3 {
    font-size: 1.1rem;
  }

  .testimonial-card p {
    font-size: 14px;
    line-height: 1.5;
  }

  /* About Section */
  .about {
    padding: 40px 0;
  }

  .about-content {
    gap: 2rem;
  }

  .about-text h2 {
    font-size: 1.75rem;
  }

  .about-text p {
    font-size: 14px;
    line-height: 1.5;
  }

  /* Blog Section */
  .post-card {
    background: var(--card, #fff);
    border-radius: 30px;
    overflow: hidden;
    border: 1px solid var(--border, #E6EAF2);

    box-shadow:
      12px 12px 24px rgba(0, 0, 0, .06),
      -12px -12px 24px rgba(255, 255, 255, .60);

    transition: transform .22s ease, box-shadow .22s ease;
    will-change: transform, box-shadow;
    display: flex;
    flex-direction: column;
    min-height: 420px;
  }

  .post-card:hover {
    transform: translateY(-1px) scale(1.01);
    ;
    box-shadow: 0 18px 38px rgba(0, 0, 0, .12);
  }

  /* topo em gradiente */
  .post-thumb {
    position: relative;
    height: 160px;
    overflow: hidden;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
  }

  .post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* cobre todo o espaço do topo */
    display: block;
  }

  /* variações de cor do topo (opcional) */
  .thumb-lgpd {
    background: linear-gradient(180deg, #22C1C3 0%, #3A7BD5 100%);
  }

  .thumb-tech {
    background: linear-gradient(180deg, #FF9966 0%, #FF5E62 100%);
  }

  /* botão salvar */
  .blog-header-simple {
    text-align: center;
    margin-bottom: 2rem;
    margin: 40px auto;
  }


  .blog-header-simple h3 {
    font-size: 30px;
    color: var(--blue-dark);
    margin: 0 0 .5rem 0;
  }

  .blog-header-simple p {
    font-size: 20px;
    color: var(--muted-foreground);
    max-width: 900px;
    margin: 0 auto;
  }

  /* Centraliza o botão do rodapé */
  .blog-footer {
    grid-column: 1 / -1;
    text-align: center;
    width: 100%;
    display: grid;
    justify-content: center;
    align-items: center;
  }


  .post-save {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    border: 0;
    background: #fff;
    color: #A3B1C6;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: transform .2s ease, color .2s ease, box-shadow .2s ease;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .12);
  }

  .post-save:hover {
    transform: scale(1.06) rotate(6deg);
    color: #7B8AA3;
  }

  /* corpo do card */
  .post-body {
    padding: 18px 20px 22px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
  }

  .post-txt {
    text-align: center;
    margin-bottom: 2rem;
    margin: 40px auto;

  }

  .post-title h3 {
    font-size: 20px;
    line-height: 1.35;
    color: var(--foreground, #0F172A);
    margin: 4px 0 2px;
  }

  .post-excerpt {
    flex: 1;
    /* usa o espaço disponível */
    display: block;
  }

  .post-excerpt p {
    margin: 0;
    /* multi-line ellipsis (Chrome/Edge/Safari) */
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: var(--lines);
    overflow: hidden;
  }

  /* Fallback (Firefox): corta e dá um “fade” no fim */
  @supports not (-webkit-line-clamp: 1) {
    .post-excerpt p {
      position: relative;
      line-height: 1.45;
      max-height: calc(1.45em * var(--lines));
      overflow: hidden;
      /* fade discreto no final do bloco */
      mask-image: linear-gradient(#000 80%, transparent);
    }
  }

  .post-read {
    margin-top: auto;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    height: 44px;
    border-radius: 999px;
    border: 2px solid var(--blue, #072AC8);
    color: var(--blue, #072AC8);
    text-decoration: none;
    font-weight: 700;
    transition: background .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
  }

  .post-read:hover {
    background: var(--blue, #072AC8);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(7, 42, 200, .25);
  }

  /* meta: categoria + data */
  .post-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  .post-date {
    color: var(--muted-foreground, #6B7280);
    font-size: .86rem;
    white-space: nowrap;
  }

  .post-category-LGPD {
    background-color: var(--violet-light, #EAF1FF);
    color: var(--white-blue);
    font-weight: 600;
    font-size: .85rem;
    padding: .30rem .75rem;
    border-radius: 999px;
    white-space: nowrap;
  }

  .post-category-Compliance {
    background-color: var(--pink-dark, #EAF1FF);
    color: var(--white-blue);
    font-weight: 600;
    font-size: .85rem;
    padding: .30rem .75rem;
    border-radius: 999px;
    white-space: nowrap;
  }

  .post-category-Tech {
    background-color: var(--blue-dark, #EAF1FF);
    color: var(--white-blue);
    font-weight: 600;
    font-size: .85rem;
    padding: .30rem .75rem;
    border-radius: 999px;
    white-space: nowrap;
  }

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

  @media (min-width: 768px) {
    .post-grid {
      grid-template-columns: repeat(3, 1fr);
      margin: 0 auto 40px auto;
    }
  }

  .post-card {
    width: 100%;
  }

  /* Newsletter */
  .newsletter {
    padding: 3rem 0;
  }

  .newsletter h2 {
    font-size: 1.75rem;
  }

  .newsletter p {
    font-size: 14px;
  }

  .newsletter-form {
    gap: 0.75rem;
  }

  .newsletter-form input {
    padding: 12px 16px;
    font-size: 14px;
  }

  .newsletter-form button {
    padding: 12px 20px;
    font-size: 14px;
  }


  font-weight: 600;
}

.faq-tab.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  margin: 0 auto;
  bottom: -4px;
  width: 100%;
  max-width: 160px;
  height: 2px;
  background: var(--blue);
}

/* grupos de FAQ (cada aba) */
.faq-group {
  display: none;
}

.faq-group.active {
  display: block;
}


/* Footer */
footer {
  padding: 3rem 0 2rem 0;
}

.footer-grid {
  gap: 2rem;
}

.footer-section h4 {
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.footer-section ul li {
  font-size: 13px;
}

/* Popup */
.popup {
  padding: 20px;
  border-radius: 20px;
  max-height: 95vh;
}

.popup-container {
  gap: 0;
}

.popup-left {
  padding: 1.5rem;
}

.popup-title {
  font-size: 1.5rem;
}

.popup-description {
  font-size: 16px;
  margin: 15px 0 20px 0;
}

.popup-image img {
  width: 100%;
  max-width: 280px;
  height: auto;
}

.popup-right {
  padding: 1.5rem;
}

.form-input {
  padding: 12px 16px;
  font-size: 14px;
}

.form-label {
  font-size: 13px;
}

.form-buttons {
  gap: 0.75rem;
}

.form-buttons button {
  width: 100%;
  padding: 14px 20px;
  font-size: 14px;
}

/* Service Hero */
.servicehero {
  padding: 40px 0;
}

.servicehero h2 {
  font-size: 28px;
  line-height: 1.3;
}

.servicehero p {
  font-size: 16px;
  margin-bottom: 25px;
}

/* Video Wrapper */
.video-wrapper {
  max-width: 100%;
  border-width: 2px;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 15px;
}

/* Clients Carousel */
.clients h3 {
  font-size: 1.75rem;
}

.clients p {
  font-size: 14px;
}

.slide {
  padding: 0 1.5rem;
}

.slide img {
  width: 150px;
  height: auto;
}

/* Tools CTA */
.tools-cta {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
}

.tools-cta .button-blue {
  width: auto;
  min-width: 220px;
  padding: 14px 20px;
  font-size: 14px;
}

@media (max-width: 640px) {
  .tools-cta .button-blue {
    width: 100%;
  }
}

/* Platform Hero */
.platformhero {
  padding: 40px 0;
}

.platformhero h2 {
  font-size: 28px;
  line-height: 1.3;
}

.platformhero p {
  font-size: 16px;
}

/* CTA Hero */
.ctahero {
  padding: 40px 0;
}

.ctahero h2 {
  font-size: 28px;
  line-height: 1.3;
}

.ctahero p {
  font-size: 16px;
}

/* Forms Hero */
.formshero {
  padding: 40px 0;
}

.forms-title {
  font-size: 1.75rem;
}

.forms-description {
  font-size: 16px;
}

.forms-image img {
  width: 100%;
  max-width: 300px;
  height: auto;
}

/* Container Function (Tabela) */
.container-fuction {
  padding: 25px 15px;
  border-radius: 20px;
  overflow-x: auto;
}

.container-fuction table {
  min-width: 600px;
}

.container-fuction th {
  font-size: 16px;
  padding: 8px 5px;
}

.container-fuction td {
  font-size: 13px;
  padding: 8px 5px;
}
}

/* ===== Regras base — Serviços (fora de media queries) ===== */
.services-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  padding-bottom: 12px;
  margin-bottom: 16px;
}

.services-btn {
  padding: 10px 30px;
  border: 3.5px solid var(--white-blue);
  background-color: transparent;
  color: var(--white-blue);
  border-radius: 40px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  font-weight: 700;
  position: relative;
}

.services-btn.active {
  background-color: var(--white-blue);
  color: var(--blue);
  border-color: var(--white-blue);
  box-shadow: inset 0 0 0 2px rgba(0, 0, 0, 0.85);
}

.services-btn:hover {
  background-color: var(--white-blue);
  color: var(--blue);
  transform: scale(1.05);
}

.services-content {
  display: none;
  background-color: var(--white-blue);
  border: 1px solid var(--border);
  border-radius: 40px;
  padding: 50px;
}

.services-content.active {
  display: block;
}

.service-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

@media (min-width: 768px) {
  .service-content {
    grid-template-columns: 1fr 1fr;
  }
}

.service-text h3 {
  font-size: 1.75rem;
  color: var(--blue);
  margin-bottom: 10px;
}

.service-text p {
  color: var(--text);
  margin-bottom: 20px;
  text-align: justify;
}

.service-features {
  list-style: none;
  margin-bottom: 10px;
  padding-left: 0;
}

/* ===== TABLET (768px - 1023px) ===== */
@media (min-width: 768px) and (max-width: 1023px) {

  /* Container */
  .container {
    padding: 0 1.5rem;
  }

  /* Hero Section */
  .hero {
    padding: 60px 0;
  }

  .hero h2 {
    font-size: 36px;
    line-height: 1.3;
  }

  .hero p {
    font-size: 20px;
  }

  /* Tab Section - Responsivo Tablet */
  .tab-section {
    padding: 60px 0 70px 0;
  }

  .tab-content {
    padding: 35px 30px;
  }

  .tool-grid {
    gap: 18px 25px;
    padding: 18px;
  }

  .service-content {
    gap: 35px;
  }



  /* Value Proposition */
  .value-prop {
    padding: 60px 0;
  }

  .value-grid {
    gap: 18px 25px;
    padding: 18px;
  }

  .value-card {
    padding: 1.75rem;
  }

  /* Testimonials */
  .testimonial-prop {
    padding: 60px 0;
  }

  .testimonial-grid {
    gap: 1.75rem;
  }

  /* About Section */
  .about {
    padding: 60px 0;
  }

  .about-content {
    gap: 2.5rem;
  }

  /*blog*/

  .card {
    width: 252px;
    height: 265px;
    background: white;
    border-radius: 30px;
    box-shadow: 15px 15px 30px #bebebe,
      -15px -15px 30px #ffffff;
    transition: 0.2s ease-in-out;
  }

  .img {
    width: 100%;
    height: 50%;
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
    background: linear-gradient(#e66465, #9198e5);
    display: flex;
    align-items: top;
    justify-content: right;
  }

  .save {
    transition: 0.2s ease-in-out;
    border-radius: 10px;
    margin: 20px;
    width: 30px;
    height: 30px;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .text {
    margin: 20px;
    display: flex;
    flex-direction: column;
    align-items: space-around;
  }

  .save .svg {
    transition: 0.2s ease-in-out;
    width: 15px;
    height: 15px;
  }

  .icon-box {
    margin-top: 15px;
    width: 70%;
    padding: 10px;
    background-color: #e3fff9;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: left;
  }

  .icon-box svg {
    width: 17px;
  }

  .text .h3 {
    font-family: 'Lucida Sans' sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: black;
  }

  .text .p {
    font-family: 'Lucida Sans' sans-serif;
    color: #999999;
    font-size: 13px;
  }

  .icon-box .span {
    margin-left: 10px;
    font-family: 'Lucida Sans' sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #9198e5;
  }

  .card:hover {
    cursor: pointer;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.1);
  }

  .save:hover {
    transform: scale(1.1) rotate(10deg);
  }

  .save:hover .svg {
    fill: #ced8de;
  }

  /*blog


/* ===== New Blog Card (estilo cartão com topo em gradiente) ===== */
  /* bloco duplicado removido para consolidar estilos do Blog */

  /* Newsletter */
  .newsletter {
    padding: 3.5rem 0;
  }

  /* FAQ */
  /* FAQ — Estilo geral */
  .faq {
    background: var(--white-blue);
    padding: 4rem 0;
  }

  .faq-header {
    text-align: center;
    margin-bottom: 2.5rem;
  }

  .faq-header h2 {
    font-size: clamp(1.75rem, 2.2vw + 1rem, 2.25rem);
    margin-bottom: .5rem;
    color: var(--blue-dark);
  }

  .faq-header p {
    font-size: clamp(1rem, 0.5vw + .9rem, 1.15rem);
    color: var(--text);
  }

  /* Container */
  .faq-container {
    max-width: 980px;
    margin: 0 auto;
  }

  /* Item */
  .faq-item {
    background: transparent;
    border: 0;
    margin: 0;
    padding: 0;
    position: relative;
  }

  /* Linha separadora */
  .faq-item+.faq-item::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 2px;
    background: rgba(7, 42, 200, .12);
  }

  /* Botão da pergunta */
  .faq-question {
    font-family: 'Poppins', sans-serif;
    width: 100%;
    padding: 1.25rem 0;
    background: transparent;
    border: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    cursor: pointer;
    text-align: left;

    font-weight: 800;
    font-size: clamp(1rem, 0.7vw + .9rem, 1.35rem);
    color: var(--blue);
    transition: color .2s ease;
  }

  .faq-question:hover {
    color: var(--blue-dark);
  }

  /* --- ÍCONE DO SVG --- */
  .faq-toggle {
    flex: 0 0 auto;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 24px;
    height: 24px;
  }

  /* estado normal */
  .faq-toggle img {
    width: 100%;
    height: 100%;
    display: block;
    transform: rotate(0deg);
    transform-origin: center;
    transition: transform .25s ease;
  }

  /* quando abre → seta vira para cima */
  .faq-item.active .faq-toggle img {
    transform: rotate(180deg);
  }

  /* Resposta fechada */
  .faq-answer {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    padding: 0;
    color: var(--muted-foreground);
    font-size: clamp(.95rem, .3vw + .85rem, 1.05rem);
    line-height: 1.7;
    transition: max-height .35s ease, opacity .25s ease, padding .2s ease;
  }

  /* Resposta aberta */
  .faq-item.active .faq-answer {
    max-height: 600px;
    opacity: 1;
    padding: 0 0 15px 8px;
    font-size: 20px;
  }

  /* Acessibilidade */
  .faq-question:focus-visible {
    outline: 3px solid rgba(7, 42, 200, .25);
    border-radius: 8px;
  }

  /* ===== ABAS DO FAQ ===== */

  .faq-tabs {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 2rem;
    padding-bottom: 12px;
  }

  .faq-tab {
    background: transparent;
    border: 0;
    padding: 0 0 .5rem 0;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    cursor: pointer;
    color: var(--text);
    position: relative;
  }

  /* linha embaixo só na aba ativa */
  .faq-tab.active {
    color: var(--blue);
    font-weight: 600;
  }

  .faq-tab.active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    margin: 0 auto;
    bottom: -4px;
    width: 100%;
    max-width: 160px;
    height: 2px;
    background: var(--blue);
  }

  /* grupos de FAQ (cada aba) */
  .faq-group {
    display: none;
  }

  .faq-group.active {
    display: block;
  }



  /* Footer */
  footer {
    padding: 4rem 0 2.5rem 0;
  }

  /* Popup */
  .popup {
    padding: 25px;
  }

  .popup-left {
    padding: 1.75rem;
  }

  .popup-right {
    padding: 1.75rem;
  }

  /* Service Hero */
  .servicehero {
    padding: 60px 0;
  }

  .servicehero h2 {
    font-size: 36px;
  }

  .servicehero p {
    font-size: 20px;
  }

  /* Platform Hero */
  .platformhero {
    padding: 60px 0;
  }

  .platformhero h2 {
    font-size: 36px;
  }

  .platformhero p {
    font-size: 20px;
  }

  /* CTA Hero */
  .ctahero {
    padding: 60px 0;
  }

  .ctahero h2 {
    font-size: 36px;
  }

  .ctahero p {
    font-size: 20px;
  }

  /* Forms Hero */
  .formshero {
    padding: 60px 0;
  }

  .forms-title {
    font-size: 2rem;
  }

  .forms-description {
    font-size: 18px;
  }

  /* Container Function */
  .container-fuction {
    padding: 40px 30px;
  }
}

/* ===== MELHORIAS ESPECÍFICAS PARA TELAS PEQUENAS (até 480px) ===== */
@media (max-width: 480px) {

  /* Ajustes adicionais para telas muito pequenas */
  .hero h2 {
    font-size: 24px;
  }

  .hero p {
    font-size: 14px;
  }

  .platform-header h2,
  .services-header h2,
  .value-prop-header h2 {
    font-size: 1.5rem;
  }

  .platform-btn,
  .services-btn {
    font-size: 12px;
    padding: 7px 16px;
  }

  .compliance-card h4 {
    font-size: 0.85rem;
  }

  .compliance-card p {
    font-size: 12px;
  }

  .value-card h3 {
    font-size: 1.1rem;
  }

  .value-card p {
    font-size: 13px;
  }

  .testimonial-card h3 {
    font-size: 1rem;
  }

  .testimonial-card p {
    font-size: 13px;
  }

  .about-text h2 {
    font-size: 1.5rem;
  }

  .about-text p {
    font-size: 13px;
  }

  .post-title h3 {
    font-size: 16px;
  }

  .post-excerpt p {
    font-size: 13px;
  }

  .faq-question {
    font-size: 14px;
    padding: 0.875rem 0;
  }

  .faq-answer {
    font-size: 13px;
  }

  .popup-title {
    font-size: 1.25rem;
  }

  .popup-description {
    font-size: 14px;
  }

  .servicehero h2,
  .platformhero h2,
  .ctahero h2 {
    font-size: 24px;
  }

  .servicehero p,
  .platformhero p,
  .ctahero p {
    font-size: 14px;
  }
}

/* ===== FAQ (global, fora de media queries) ===== */
.faq {
  background: var(--white-blue);
  padding: 4rem 0;
}

.faq-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.faq-header h2 {
  font-size: clamp(1.75rem, 2.2vw + 1rem, 2.25rem);
  margin-bottom: .5rem;
  color: var(--blue-dark);
}

.faq-header p {
  font-size: clamp(1rem, 0.5vw + .9rem, 1.15rem);
  color: var(--text);
}

.faq-container {
  max-width: 980px;
  margin: 0 auto;
}

.faq-item {
  background: transparent;
  border: 0;
  margin: 0;
  padding: 0;
  position: relative;
}

.faq-item+.faq-item::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: rgba(7, 42, 200, .12);
}

.faq-question {
  font-family: 'Poppins', sans-serif;
  width: 100%;
  padding: 1.25rem 0;
  background: transparent;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  text-align: left;
  font-weight: 800;
  font-size: clamp(1rem, 0.7vw + .9rem, 1.35rem);
  color: var(--blue);
  transition: color .2s ease;
}

.faq-question:hover {
  color: var(--blue-dark);
}

.faq-toggle {
  flex: 0 0 auto;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 24px;
  height: 24px;
}

.faq-toggle img {
  width: 100%;
  height: 100%;
  display: block;
  transform: rotate(0deg);
  transform-origin: center;
  transition: transform .25s ease;
}

.faq-item.active .faq-toggle img {
  transform: rotate(180deg);
}

.faq-answer {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  padding: 0;
  color: var(--muted-foreground);
  font-size: clamp(.95rem, .3vw + .85rem, 1.05rem);
  line-height: 1.7;
  transition: max-height .35s ease, opacity .25s ease, padding .2s ease;
}

.faq-item.active .faq-answer {
  max-height: 600px;
  opacity: 1;
  padding: 0 0 15px 8px;
  font-size: 20px;
}

.faq-question:focus-visible {
  outline: 3px solid rgba(7, 42, 200, .25);
  border-radius: 8px;
}

.faq-tabs {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-bottom: 2rem;
}

.faq-tab {
  background: transparent;
  border: 0;
  padding: 0 0 .5rem 0;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  cursor: pointer;
  color: var(--text);
  position: relative;
}

.faq-tab.active {
  color: var(--blue);
  font-weight: 600;
}

.faq-tab.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  margin: 0 auto;
  bottom: -4px;
  width: 100%;
  max-width: 160px;
  height: 2px;
  background: var(--blue);
}

.faq-group {
  display: none;
}

.faq-group.active {
  display: block;
}

/* ===== MELHORIAS PARA TABLET EM PORTRAIT (768px - 900px) ===== */
@media (min-width: 768px) and (max-width: 900px) {

  .hero-grid,
  .servicehero-grid,
  .platformhero-grid,
  .ctahero-grid,
  .formshero-grid {
    gap: 2rem;
  }

  .service-content {
    gap: 30px;
  }
}

/* ===== AJUSTES DE TOUCH PARA MOBILE ===== */
@media (max-width: 767px) {

  /* Aumentar área de toque para botões */
  .button,
  .button2,
  .button-blue,
  .button-outline,
  .button-outline-blue,
  .button-outline-dark {
    min-height: 44px;
    /* Tamanho mínimo recomendado para touch */
    padding: 14px 20px;
  }

  /* Links clicáveis */
  .menu-text,
  .footer-section a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  /* Inputs e selects */
  .form-input,
  .newsletter-form input {
    min-height: 44px;
  }

  /* Checkbox e radio */
  input[type="checkbox"],
  input[type="radio"] {
    width: 20px;
    height: 20px;
  }
}

/* ===== PREVENÇÃO DE HORIZONTAL SCROLL ===== */
@media (max-width: 1023px) {
  * {
    max-width: 100%;
  }

  img,
  video,
  iframe {
    max-width: 100%;
    height: auto;
  }

  .container-fuction {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .container-fuction table {
    width: 100%;
    min-width: 600px;
  }
}

/* ===== MELHORIAS DE LEGIBILIDADE ===== */
@media (max-width: 767px) {

  /* Aumentar line-height para melhor leitura */
  p,
  .compliance-card p,
  .value-card p,
  .testimonial-card p,
  .about-text p {
    line-height: 1.6;
  }

  /* Espaçamento entre parágrafos */
  p+p {
    margin-top: 1rem;
  }
}

/* ===== AJUSTES DE ESPAÇAMENTO VERTICAL ===== */
@media (max-width: 767px) {

  /* Reduzir espaçamentos verticais excessivos */
  section {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .hero,
  .servicehero,
  .platformhero,
  .ctahero,
  .formshero {
    padding-top: 40px;
    padding-bottom: 40px;
  }
}

/* ===== MELHORIAS DE NAVEGAÇÃO MOBILE ===== */
@media (max-width: 767px) {
  .mobile-nav {
    padding: 1rem 0;
  }

  .mobile-nav a {
    padding: 1rem 1rem;
    font-size: 16px;
    min-height: 48px;
    display: flex;
    align-items: center;
  }

  .menu-toggle {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .menu-toggle span {
    width: 30px;
    height: 3.5px;
  }

  .menu-toggle span:nth-child(1) {
    top: 15px;
  }

  .menu-toggle span:nth-child(2) {
    top: 24px;
  }

  .menu-toggle span:nth-child(3) {
    top: 33px;
  }

  .menu-toggle.active span:nth-child(1),
  .menu-toggle.active span:nth-child(3) {
    top: 24px;
  }
}

/* ===== FIM DAS MELHORIAS DE RESPONSIVIDADE ===== */

/* ========================================
   SISTEMA DE TABS REUTILIZÁVEL
   - tab-* = Base reutilizável
   - tab-section--gradient = Variante com gradiente
   - tool-* = Cards de ferramentas
   - service-* = Conteúdo de serviços
======================================== */

/* --- TAB SECTION (Base) --- */
.tab-section {
  padding: 75px 0 80px 0;
  overflow: hidden;
  background-color: var(--blue);
}

/* Variante com gradiente */
.tab-section--gradient {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
}

@media (max-width: 767px) {
  .tab-section {
    padding: 40px 0 50px 0;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .tab-section {
    padding: 60px 0 70px 0;
  }
}

/* --- TAB HEADER --- */
.tab-header {
  text-align: center;
  color: var(--white-blue);
  margin-bottom: 20px;
}

.tab-header h2 {
  font-size: 2rem;
  font-weight: 800;
}

.tab-header p {
  opacity: 0.85;
}

/* --- TAB BUTTONS --- */
.tab-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 10px;
}

.tab-btn {
  padding: 10px 30px;
  border: 3.5px solid var(--border);
  background-color: transparent;
  color: var(--white-blue);
  border-radius: 40px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  font-weight: 700;
  position: relative;
}

.tab-btn.active {
  background-color: var(--white-blue);
  color: var(--blue);
  border: 3.5px;
  border-color: var(--white-blue);
  position: relative;
}

.tab-btn:hover {
  background-color: var(--white-blue);
  color: var(--blue);
  transform: scale(1.03);
}

/* --- TAB CONTENT --- */
.tab-content {
  display: none;
  background-color: var(--white-blue);
  border: 1px solid var(--border);
  border-radius: 40px;
  padding: 50px;
  position: relative;
  width: 100%;
  left: 0;
  top: 0;
  transition: opacity 0.3s;
}

.tab-content.active {
  display: block;
  position: relative;
  transform: translateX(0);
}

/* --- TOOL GRID (Cards de ferramentas) --- */
.tool-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px 30px;
  padding: 20px;
}

@media (min-width: 640px) {
  .tool-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .tool-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.tool-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.tool-card-header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.tool-card:hover {
  border-color: var(--blue);
}

.tool-card-icon img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  display: block;
}

.tool-card h4 {
  font-size: 1.1rem;
  line-height: 1.0;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--foreground);
  margin: 0;
}

.tool-card p {
  font-size: 15px;
  color: var(--muted-foreground);
  margin: 0;
  line-height: 1.5;
  text-align: justify;
}

.tools-title-lgpd {
  text-align: center;
  font-size: 25px;
  margin-bottom: 20px;
  color: var(--violet-dark);
}

.tools-title-compliance {
  text-align: center;
  font-size: 25px;
  margin-bottom: 20px;
  color: var(--pink-dark);
}

/* --- SERVICE CONTENT (Variante específica) --- */
.service-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 768px) {
  .service-content {
    grid-template-columns: 1fr 1fr;
  }
}

.service-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.service-image img {
  width: 100%;
  max-width: 450px;
  height: auto;
  border-radius: 20px;
  object-fit: cover;
}

.service-text h3 {
  font-size: 1.75rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--blue);
}

.service-text p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  margin-bottom: 1rem;
}

.service-text ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.service-text ul li {
  margin-bottom: 0.5rem;
  color: var(--text);
}

/* About Section (global) */
.about {
  background-color: var(--white-blue);
  padding: 75px 0;
}

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

@media (min-width: 768px) {
  .about-content {
    grid-template-columns: 1fr 1fr;
  }
}

.about-image-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-image {
  width: auto;
  height: 500px;
  position: relative;
  display: flex;
  border-radius: 40px;
  justify-content: center;
  overflow: hidden;
  cursor: pointer;
  background-color: transparent;

}

.about-image:hover {
  transform: scale(1.01);
  transition: transform 0.3s ease;

}

.about-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 40px;
}

.about-text p {
  color: var(--text);
  text-align: justify;
  margin-bottom: 10px;
}

.about-features {
  list-style: none;
  margin-bottom: 2rem;
}

.about-features li {
  display: flex;
  color: var(--text);
  align-items: center;
  gap: 10px;
  margin-bottom: 1px;
}

.about-features li::before {
  content: "✓";
  background-color: var(--blue);
  color: var(--white-blue);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
}

.about-text h2 {
  font-size: 30px;
  text-align: justify;
  color: var(--blue);
  margin-bottom: 10px;
}

@media (min-width: 768px) {
  .about-text h2 {
    color: var(--text);
    font-size: 2.5rem;
  }
}

/* Popup (global) */
.popup-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.popup-overlay.active {
  display: flex;
}

.popup {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  border-radius: 40px;
  border: 4px solid var(--white-blue);
  max-width: 1000px;
  width: min(1364px, 90vw);
  max-height: 90vh;
  padding: 15px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  -ms-overflow-style: none;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: popupSlideIn 0.3s ease-out;
}

@keyframes popupSlideIn {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.popup-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
}

@media (max-width: 900px) {
  .popup-container {
    grid-template-columns: 1fr;
  }
}

.popup-left {
  padding: 2rem;
  background: transparent;
  color: white;
  gap: 1px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

@media (max-width: 900px) {
  .popup-left {
    border-radius: 20px 20px 0 0;
  }
}

.popup-title {
  color: var(--white-blue);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.2;
}

.popup-description {
  color: var(--white-blue);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.4;
  margin: 20px 0 30px 0;
}

.popup-image img {
  width: 359px;
  height: 314px;
  display: flex;
  overflow: hidden;
}

.popup-right {
  padding: 2rem;
}

.popup-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.form-label {
  color: var(--white-blue);
  font-size: 15px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 3px;
}

.required {
  color: #e74c3c;
}

.form-input {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 10px 15px;
  background-color: #e4edff;
  border: none;
  border-radius: 40px;
  font-size: 15px;
  font-family: 'Poppins', sans-serif;
  color: #072ac8;
  transition: all 0.3s ease;
}

.form-select {
  color: var(--blue-dark);
  opacity: 0.7;
}

.form-input:focus {
  outline: none;
  box-shadow: 0 0 0 3px var(--blue-hiper-light);
  background-color: #ffffff;
}

select.form-input {
  appearance: none;
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 20px;
  padding-right: 45px;
}

.form-row {
  display: grid;
  gap: 15px;
}

.form-row.two-col {
  grid-template-columns: 1fr 1fr;
}

@media (max-width: 600px) {
  .form-row.two-col {
    grid-template-columns: 1fr;
  }
}

.consent-group {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.consent-label {
  font-size: 0.9rem;
  color: var(--white-blue);
}

.consent-link {
  color: var(--white-blue);
  text-decoration: underline;
  cursor: pointer;
}

.form-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}

.consent-popup {
  max-width: 600px;
  padding: 2rem;
}

.consent-title {
  font-size: 1.5rem;
  color: var(--blue);
  margin-bottom: 1.5rem;
  text-align: center;
}

.consent-text {
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.consent-text p {
  margin-bottom: 1rem;
}

.consent-external-link {
  color: var(--blue);
  text-decoration: underline;
}

.btn-close-consent {
  width: 100%;
  background-color: var(--blue);
  color: white;
}

/* Footer grid (global) */
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  column-gap: 40px;
  row-gap: 24px;
  margin-bottom: 2rem;
}

@media (min-width: 800px) {
  .footer-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

/* Footer secondary tem 4 colunas (3 + newsletter 2x) */
.footer-secondary .footer-grid {
  grid-template-columns: 1fr;
}

@media (min-width: 800px) {
  .footer-secondary .footer-grid {
    grid-template-columns: 1fr 1fr 1fr 2fr;
  }
}

.footer-subgrid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (max-width: 800px) {
  .footer-subgrid {
    grid-template-columns: 1fr;
  }
}

.footer-section h4 {
  margin-bottom: 1rem;
  font-weight: 700;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s;
}

.footer-section a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 2rem;
  display: flex;
}

@media (min-width: 800px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.footer-copy {
  width: 100%;
  text-align: center;
  padding: 2px 0;
  opacity: 0.85;
}

.footer-bottom p {
  font-size: 0.9rem;
  opacity: 0.8;
}

.footer-social {
  display: flex;
  gap: 1.5rem;
}

.footer-social a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s;
}

.footer-social a:hover {
  color: white;
}

.button-blue img {
  width: 35px;
  padding-right: 10px;
}

.footer-copy p {
  text-align: center;
}

.button-blue.button-violet {
  background-color: var(--violet-dark);
}

.button-blue.button-pink {
  background-color: var(--pink-dark);
}

.button-blue.button-blue-solid {
  background-color: var(--blue);
}

.button-blue.button-blue-dark {
  background-color: var(--blue-dark);
}

.button-blue.button-blue-light {
  background-color: var(--blue-light);
}

/* Cores específicas por serviço */
.service-title-dark {
  color: var(--blue-dark);
}

.service-title-light {
  color: var(--blue-light);
}

.service-title-blue {
  color: var(--blue);
}

/* Blog layout overrides */
.post-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin: 0 auto 40px;
}

@media (min-width: 768px) {
  .post-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .post-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.post-card {
  width: 100%;
  max-width: none;
  height: auto;
  min-height: 520px;
  display: flex;
  flex-direction: column;
}

/* ========================================
   FORM SECTION COMPONENT
   - form-section = Base section com formulário
   - form-section--platform = Variante plataforma
   - form-section--service = Variante serviços
======================================== */

.form-section {
  padding: 80px 0;
  background-color: var(--white-blue);
}

.form-section--platform {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
}

.form-section--service {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 100%);
}

.form-section-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 768px) {
  .form-section-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.form-section-left {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.form-section-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--white-blue);
  margin-bottom: 1rem;
}

.form-section-description {
  font-size: 1.1rem;
  color: var(--white-blue);
  opacity: 0.9;
  line-height: 1.6;
}

.form-section-image img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 20px;
}

.form-section-right {
  background-color: var(--white-blue);
  padding: 2.5rem;
  border-radius: 30px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.section-form .form-group {
  margin-bottom: 1.25rem;
}

.section-form .form-label {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 0.5rem;
}

.section-form .form-input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: 12px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.section-form .form-input:focus {
  outline: none;
  border-color: var(--blue);
}

.section-form .form-row.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 600px) {
  .section-form .form-row.two-col {
    grid-template-columns: 1fr;
  }
}

.section-form .consent-group {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin: 1.5rem 0;
}

.section-form .consent-label {
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.4;
}

.section-form .consent-link {
  color: var(--blue);
  text-decoration: underline;
}

.section-form .form-buttons {
  margin-top: 1.5rem;
}

.section-form .form-buttons .button-blue {
  width: 100%;
  padding: 14px 24px;
  font-size: 1rem;
}

/* Mobile adjustments */
@media (max-width: 767px) {
  .form-section {
    padding: 50px 0;
  }

  .form-section-title {
    font-size: 1.75rem;
  }

  .form-section-right {
    padding: 1.5rem;
  }
}

/* ========================================= 
   NEW BLOG CARD DESIGN 
   ========================================= */

.post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.post-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.post-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(7, 42, 200, 0.15);
}

/* THUMBNAIL AREA */
.post-thumb {
  position: relative;
  width: 100%;
  padding-top: 60%;
  /* Aspect ratio 16:9 approx or shorter */
  overflow: hidden;
}

.post-thumb img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.post-card:hover .post-thumb img {
  transform: scale(1.05);
}

/* TAG (Badge) on Image */
.post-category-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: #E8369B;
  /* Pink color from print */
  color: white;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  z-index: 2;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* BODY AREA */
.post-body {
  padding: 1.5rem 1.5rem 0.5rem 1.5rem;
  /* less padding bottom */
  flex: 1;
  display: flex;
  flex-direction: column;
}

.post-title h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: #072AC8
    /* Pink tone for title */
    line-height: 1.4;
  margin-bottom: 1rem;
  transition: color 0.3s;
}

.post-card:hover .post-title h3 {
  color: #03045E;
}

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

.post-excerpt {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* READ MORE LINK */
.post-read {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  margin-top: auto;
  /* Push to bottom if needed in body */
  margin-bottom: 1rem;
  transition: gap 0.3s ease;
}

.post-read:hover {
  gap: 12px;
}

/* DATE FOOTER */
.post-footer-date {
  padding: 1rem 1.5rem;
  border-top: 1px solid #f0f0f0;
  font-size: 0.85rem;
  color: #999;
}