/* ===============================
   RESET & BASE
=================================*/

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
}

body.df-home {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  background: #f8fafc;
  color: #1e293b;
  line-height: 1.65;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ===============================
   CONTAINER
=================================*/

.df-container {
  width: 100%;
  max-width: 1200px;
  margin: 10px auto;
  padding: 0 20px;
}

/* ===============================
   HEADER
=================================*/

.df-header {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.df-header__wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.df-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.df-brand__text strong {
  display: block;
  font-size: 1.1rem;
}

.df-brand__text span {
  font-size: 0.8rem;
  color: #64748b;
}

/* ===============================
   NAVIGATION
=================================*/

.df-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.df-nav a {
  font-size: 0.95rem;
  color: #334155;
  transition: 0.2s ease;
}

.df-nav a:hover {
  color: #004080;
}

.df-nav__cta {
  background: #004080;
  color: #fff !important;
  padding: 10px 18px;
  border-radius: 6px;
  font-weight: 600;
}

.df-nav__toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
}

.df-nav__toggle span {
  width: 24px;
  height: 3px;
  background: #1e293b;
}

/* ===============================
   TRUST STRIP
=================================*/

.df-trust {
  background: #004080;
  color: #ffffff;
  padding: 8px 0;
}

.df-trust__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
}

.df-trust__item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
}

.df-trust__item img,
.df-trust__item svg {
    filter: brightness(0) invert(1);
}

/* Ajuste de tamanho para os logos do trust strip */
img.df-brand__logo {
    width: 65px;
    height: auto;
    aspect-ratio: auto 44 / 44;
}
/* ===============================
   HERO
=================================*/

.df-hero {
  padding: 80px 0;
  background: linear-gradient(135deg, #f1f5f9, #ffffff);
}

.df-hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.df-hero h1 {
  font-size: 2.3rem;
  margin-bottom: 20px;
  margin-top: 60px;
}

.df-lead {
  font-size: 1.1rem;
  color: #475569;
  margin-bottom: 30px;
}

.df-hero__cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.df-btn {
  padding: 14px 24px;
  border-radius: 8px;
  font-weight: 600;
  transition: 0.2s ease;
  display: inline-block;
}

.df-btn--primary {
  background: #004080;
  color: #fff;
}

.df-btn--primary:hover {
  background: #002e5c;
}

.df-btn--ghost {
  border: 2px solid #004080;
  color: #004080;
}

.df-btn--ghost:hover {
  background: #004080;
  color: #fff;
}

.df-hero__bullets {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.df-hero__bullets li {
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.df-badge {
  background: #e2e8f0;
  color: #1e293b;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  margin-right: 6px;
}

.df-hero__card {
  background: #ffffff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.06);
  margin-top: 20px;
}

/* ===============================
   SECTIONS
=================================*/

.df-section {
  padding: 80px 0;
}

.df-section--alt {
  background: #f1f5f9;
}

.df-sec__head {
  max-width: 720px;
  margin-bottom: 50px;
}

.df-sec__head h2 {
  font-size: 1.9rem;
  margin-bottom: 16px;
}

.df-muted {
  color: #64748b;
}

/* ===============================
   CARDS & GRID
=================================*/

.df-grid {
  display: grid;
  gap: 30px;
}

.df-grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

.df-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.df-card {
  background: #ffffff;
  padding: 28px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.05);
  transition: 0.3s ease;
  margin-bottom: 10px;
}

.df-card:hover {
  transform: translateY(-4px);
}

.df-card h3 {
  margin-top: 0;
}

.df-link {
  font-weight: 600;
  color: #004080;
  display: inline-block;
  margin-top: 10px;
}

/* ===============================
   STEPS
=================================*/

.df-steps {
  list-style: none;
  padding: 0;
  margin: 0;
}

.df-step {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
}

.df-step__num {
  width: 48px;
  height: 48px;
  min-width: 48px;     /* impede compressão */
  min-height: 48px;    /* segurança extra */
  flex-shrink: 0;      /* impede o flex de achatar */
  background: #004080;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

/* ===============================
   FAQ
=================================*/

.df-faq__item {
  background: #ffffff;
  border-radius: 8px;
  padding: 18px 20px;
  margin-bottom: 16px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.df-faq__item summary {
  cursor: pointer;
  font-weight: 600;
}

/* ===============================
   CALLOUT
=================================*/

.df-callout {
  background: #004080;
  color: #fff;
  padding: 30px;
  border-radius: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 40px;
  flex-wrap: wrap;
  gap: 20px;
}

/* ===============================
   FOOTER
=================================*/

.df-footer {
  background: #0f172a;
  color: #cbd5e1;
  padding: 60px 0 30px;
}

.df-footer__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.df-footer a {
  color: #cbd5e1;
  font-size: 0.9rem;
}

.df-footer__bottom {
  border-top: 1px solid #1e293b;
  margin-top: 40px;
  padding-top: 20px;
  font-size: 0.85rem;
  text-align: center;
}

/* ===============================
   RESPONSIVIDADE
=================================*/

@media (max-width: 1024px) {
  .df-hero__grid {
    grid-template-columns: 1fr;
  }

  .df-grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .df-grid--3 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {

  .df-nav {
    display: flex;              /* precisa existir */
    position: fixed;
    top: 72px;
    right: 0;
    width: 260px;
    height: calc(100vh - 72px);
    background: #fff;
    flex-direction: column;
    padding: 30px;
    gap: 20px;
    box-shadow: -10px 0 30px rgba(0,0,0,0.08);

    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 2000;
  }

  .df-nav.is-open {
    transform: translateX(0);
  }

  .df-nav__toggle {
    display: flex;
    z-index: 3000;
  }

  body.nav-open {
    overflow: hidden;
  }

  .df-trust__grid {
    flex-direction: column;
  }

  .df-footer__grid {
    grid-template-columns: 1fr;
  }

  .df-hero h1 {
    font-size: 1.7rem;
    margin-top: 60px;
  }

  .df-section {
    padding: 60px 0;
  }
}



/* MENU MOBILE */

@media (max-width: 768px) {
  .df-nav {
    position: fixed;
    top: 72px;
    right: 0;
    width: 260px;
    height: calc(100vh - 72px);
    background: #fff;
    flex-direction: column;
    padding: 30px;
    gap: 20px;
    box-shadow: -10px 0 30px rgba(0,0,0,0.08);
    transform: translateX(100%);
    transition: transform 0.3s ease;
  }

  .df-nav.is-open {
    transform: translateX(0);
  }

  body.nav-open {
    overflow: hidden;
  }
}

/* HEADER SCROLL */

.df-header.is-scrolled {
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

/* ANIMAÇÃO SUAVE */

.df-card,
.df-step,
.df-highlight {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
}

.is-visible {
  opacity: 1;
  transform: translateY(0);
}


/* TRUST STRIP - ESCONDER NO SCROLL (MOBILE) */

@media (max-width: 768px) {

  .df-trust {
    transition: transform 0.25s ease, opacity 0.2s ease;
    margin-top: 10px;
  }

  .df-header.hide-trust .df-trust {
    transform: translateY(-100%);
    opacity: 0;
  }
  .df-header {
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
  }
}

/* HEADER FIXO (MOBILE) */
@media (max-width: 768px) {

  .df-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 88px; /* aumenta para 88px para compensar a ausência do trust strip */
  }

  .df-main {
    padding-top: 120px; 
    /* 72px header + ~48px trust strip */
  }

  .df-header.hide-trust + .df-main {
    padding-top: 72px;
  }

}


/* ===============================
   WHATSAPP FLOAT BUTTON
=================================*/

.df-whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;

  width: 60px;
  height: 60px;

  background: #25D366;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  box-shadow: 0 10px 25px rgba(0,0,0,0.15);

  z-index: 3000;

  transition: transform 0.2s ease;
}
/* Ícone branco */
.whatsapp {
  filter: brightness(0) invert(1);
}

/* Hover desktop */
.df-whatsapp-float:hover {
  transform: scale(1.08);
}

/* Pulsação suave */
.df-whatsapp-float::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.5);
  z-index: -1;

  animation: dfPulse 2.5s infinite;
}

@keyframes dfPulse {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }
  70% {
    transform: scale(1.6);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 0;
  }
}

@media (max-width: 768px) {
  .df-whatsapp-float {
    width: 56px;
    height: 56px;
    right: 18px;
    bottom: 18px;
  }
}
