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

body {
  font-family: 'Montserrat', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: #f5f7fa;
  color: #102331;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: min(1120px, 100% - 2.5rem);
  margin-inline: auto;
}

.section {
  padding: 5rem 0;
}

.section-light {
  background-color: #f9fbfd;
}

.section-gradient {
  background: linear-gradient(135deg, #133447 0%, #1b4256 50%, #1f4a60 100%);
  color: #f5f7fa;
}

.section-header {
  margin-bottom: 2.5rem;
}

.section-header h2 {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.section-header p {
  max-width: 640px;
  color: #5c6b7a;
}

.section-header-center {
  text-align: center;
}

.section-header-center p {
  margin-inline: auto;
}

.topbar {
  background-color: #0f2936;
  color: #f5f7fa;
  font-size: 0.875rem;
  padding: 0.5rem 0;
}

.topbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.topbar-label {
  opacity: 0.85;
  margin-right: 0.5rem;
}

.topbar-whatsapp,
.topbar-email {
  font-weight: 500;
}

.navbar {
  background-color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.75rem;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-logo {
  height: 56px;
  width: auto;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.95rem;
}

.brand-subtitle {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #7a8a9a;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: #2b3b4c;
}

.nav-link:hover {
  color: #0f2936;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background-color: #0f2936;
  border-radius: 999px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background-color 0.12s ease, color 0.12s ease;
  white-space: nowrap;
}

.btn-small {
  padding: 0.5rem 1.1rem;
  font-size: 0.8rem;
}

.btn-primary {
  background: linear-gradient(135deg, #133447, #1f4a60);
  color: #ffffff;
  box-shadow: 0 10px 20px rgba(21, 59, 82, 0.25);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 24px rgba(21, 59, 82, 0.3);
}

.btn-secondary {
  background-color: #e2eaf2;
  color: #133447;
}

.btn-secondary:hover {
  background-color: #d3dde7;
}

.btn-outline {
  background-color: transparent;
  border: 1px solid #c4d0dc;
  color: #133447;
}

.btn-outline:hover {
  background-color: #e7eef6;
}

.btn-light {
  background-color: #ffffff;
  color: #133447;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

.btn-light:hover {
  background-color: #f3f7fb;
}

.hero {
  padding-top: 4rem;
  padding-bottom: 5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.4fr);
  gap: 3rem;
  align-items: center;
}

.hero-text h1 {
  font-size: clamp(2.1rem, 2.8vw + 1.5rem, 2.8rem);
  margin-bottom: 1.25rem;
}

.highlight {
  color: #133447;
}

.hero-subtitle {
  color: #5c6b7a;
  margin-bottom: 2rem;
  max-width: 32rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.hero-note {
  font-size: 0.85rem;
  color: #7a8a9a;
}

.hero-note span {
  font-weight: 500;
}

.hero-image {
  position: relative;
}

.photo-slot {
  border-radius: 1.5rem;
  border: 1px dashed #c3ceda;
  background: radial-gradient(circle at top left, #f9fbff 0, #edf3fa 40%, #e5ecf5 100%);
  padding: 2.5rem 1.75rem;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.photo-slot span:first-child {
  font-weight: 600;
  color: #133447;
}

.photo-size {
  font-size: 0.8rem;
  color: #7a8a9a;
  margin-top: 0.5rem;
}

.photo-slot.small {
  padding: 1.5rem;
  min-height: 180px;
  border-radius: 1.25rem;
}

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

.cards-grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.card {
  background-color: #ffffff;
  border-radius: 1.25rem;
  padding: 1.75rem 1.6rem;
  box-shadow: 0 8px 18px rgba(15, 41, 54, 0.04);
  border: 1px solid rgba(195, 206, 218, 0.6);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.card h3 {
  font-size: 1.05rem;
}

.card p {
  font-size: 0.9rem;
  color: #5c6b7a;
}

.card-link {
  margin-top: 0.25rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #133447;
}

.card-link::after {
  content: '→';
  margin-left: 0.35rem;
  font-size: 0.9rem;
}

.section-cta {
  margin-top: 2.5rem;
  text-align: center;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.75rem;
}

.feature {
  padding: 1.5rem 1.4rem;
  background: #ffffff;
  border-radius: 1.25rem;
  border: 1px solid rgba(195, 206, 218, 0.6);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.03);
}

.feature h3 {
  font-size: 1.02rem;
  margin-bottom: 0.5rem;
}

.feature p {
  font-size: 0.9rem;
  color: #5c6b7a;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1.75rem;
}

.step {
  background-color: rgba(10, 30, 43, 0.35);
  border-radius: 1.25rem;
  padding: 1.75rem 1.6rem;
  border: 1px solid rgba(197, 214, 228, 0.3);
}

.step-number {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(245, 247, 250, 0.7);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.step h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.step p {
  font-size: 0.9rem;
  color: #dde7f0;
}

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

.testimonial {
  background-color: #ffffff;
  border-radius: 1.5rem;
  padding: 1.75rem 1.6rem;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(195, 206, 218, 0.7);
  display: grid;
  gap: 1rem;
}

.testimonial-text {
  font-size: 0.92rem;
  color: #4a5b6c;
}

.testimonial-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: #133447;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr);
  gap: 2.5rem;
  align-items: center;
}

.about-text h2 {
  margin-bottom: 1rem;
}

.about-text p {
  color: #5c6b7a;
  margin-bottom: 0.75rem;
  font-size: 0.93rem;
}

.about-list {
  list-style: none;
  margin-top: 1rem;
  display: grid;
  gap: 0.4rem;
  font-size: 0.9rem;
  color: #3b4b5b;
}

.faq-grid {
  max-width: 720px;
  margin-inline: auto;
  display: grid;
  gap: 0.85rem;
}

.faq-item {
  background-color: #ffffff;
  border-radius: 1rem;
  border: 1px solid rgba(195, 206, 218, 0.8);
  padding: 1rem 1.2rem;
  font-size: 0.93rem;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  font-weight: 600;
  color: #133447;
}

.faq-item[open] summary {
  margin-bottom: 0.6rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  margin-top: 0.25rem;
  color: #5c6b7a;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.2fr);
  gap: 2.5rem;
  align-items: start;
}

.contact-list {
  list-style: none;
  margin: 1.25rem 0 1.75rem;
  display: grid;
  gap: 0.65rem;
  font-size: 0.93rem;
}

.contact-label {
  font-weight: 600;
  margin-right: 0.4rem;
}

.map-wrapper {
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(171, 187, 203, 0.6);
}

.map-wrapper iframe {
  width: 100%;
  height: 320px;
  border: 0;
}

.footer {
  background-color: #0f2936;
  color: #f5f7fa;
  padding: 1.5rem 0;
  font-size: 0.8rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.footer-byline {
  opacity: 0.8;
}

.whatsapp-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  background: linear-gradient(135deg, #21a852, #128c3b);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.32);
  z-index: 120;
}

.whatsapp-icon {
  font-size: 1.5rem;
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-image {
    order: -1;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .navbar-inner {
    padding-block: 0.6rem;
  }
}

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

  .nav-links {
    position: absolute;
    inset-inline: 0;
    top: 100%;
    background-color: #ffffff;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
    flex-direction: column;
    padding: 0.75rem 1.25rem 1rem;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform-origin: top;
    transition: max-height 0.25s ease, opacity 0.25s ease;
  }

  .nav-links.open {
    max-height: 320px;
    opacity: 1;
  }

  .navbar-inner {
    position: relative;
  }

  .hero {
    padding-top: 3rem;
  }

  .section {
    padding: 3.5rem 0;
  }
}

@media (max-width: 540px) {
  .topbar-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }

  .photo-slot {
    padding: 2rem 1.5rem;
  }
}


.hero-photo {
  width: 100%;
  height: auto;
  border-radius: 16px; /* bordas arredondadas */
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15); /* sombra suave e premium */
  object-fit: cover;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* efeito ao passar mouse */
.hero-photo:hover {
  transform: scale(1.03); /* leve crescimento */
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25); /* sombra mais profunda */
}

/* imagem do depoimento – sem box extra */
.testimonial-photo {
  display: block;
  width: 220px;          /* ajusta se quiser maior/menor */
  max-width: 100%;
  border-radius: 14px;   /* leve arredondado, bem clean */
  object-fit: cover;
  margin-bottom: 16px;
  animation: testimonialFloat 16s ease-in-out infinite alternate;
}

/* animação contínua – imagem flutuando de leve */
@keyframes testimonialFloat {
  0% {
    transform: translate3d(-4px, 0, 0);
  }
  50% {
    transform: translate3d(4px, -4px, 0);
  }
  100% {
    transform: translate3d(-2px, 3px, 0);
  }
}

/* se quiser manter o hover só no card (opcional) */
.testimonial {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}