/*
  SEÇÕES — composição de componentes em blocos de página.
  Layout e espaçamento específicos de cada seção da landing page.
*/

/* ===== Hero ===== */

.hero {
  position: relative;
  overflow: hidden;
  animation: fadeUp .7s var(--ease-out) both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__media picture {
  width: 100%;
  height: 100%;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 78% 12%;
  filter: contrast(1.1) saturate(1.06) brightness(1.02);
}

@media (max-width: 899px) {
  .hero {
    min-height: 380px;
  }

  .hero__media img {
    object-position: 35% 12%;
  }

}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: var(--overlay-hero);
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: 28px var(--container-pad) 64px;
  max-width: 620px;
}

@media (min-width: 900px) {
  .hero__content {
    padding: 88px 56px 96px;
    max-width: 760px;
  }
}

.hero__title {
  max-width: 78%;
  margin-bottom: var(--space-sm);
}

@media (min-width: 900px) {
  .hero__title {
    max-width: none;
    margin-bottom: var(--space-md);
  }
}

.hero__lead {
  font-size: 1rem;
  line-height: 1.4;
  font-weight: 500;
  color: var(--color-ink);
  max-width: 66%;
  text-shadow: 0 1px 12px rgba(247, 241, 228, .9), 0 1px 2px rgba(247, 241, 228, .9);
  margin-bottom: var(--space-md);
}

@media (min-width: 900px) {
  .hero__lead {
    font-size: var(--fs-lead);
    color: var(--color-ink-soft);
    max-width: 560px;
    text-shadow: none;
    margin-bottom: var(--space-xl);
  }
}

.hero__lead-break-mobile {
  display: none;
}

@media (max-width: 899px) {
  .hero__title {
    font-size: 1.875rem;
    max-width: clamp(260px, 78%, 300px);
  }

  .hero__lead {
    max-width: clamp(236px, 75%, 290px);
  }

  .hero__lead-break-mobile {
    display: inline;
  }
}

@media (max-width: 419px) {
  .hero__media img {
    object-position: 28% 12%;
  }
}

@media (max-width: 379px) {
  .hero__media img {
    object-position: 22% 12%;
  }

  .hero__title {
    font-size: 1.75rem;
  }

  .hero__lead {
    font-size: .9375rem;
    line-height: 1.45;
  }
}

.hero__cta-row {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

@media (min-width: 900px) {
  .hero__cta-row {
    flex-direction: row;
    align-items: center;
  }
}

.hero__video {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-end;
}

@media (min-width: 900px) {
  .hero__video {
    align-self: auto;
  }
}

.hero__video-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: conic-gradient(var(--color-accent) 0% 65%, var(--color-accent-soft) 65% 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

@media (min-width: 900px) {
  .hero__video-icon {
    width: 44px;
    height: 44px;
  }
}

.hero__video-icon-inner {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--color-bg);
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 900px) {
  .hero__video-icon-inner {
    width: 34px;
    height: 34px;
  }
}

.hero__video-label {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: .875rem;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, .4);
}

@media (min-width: 900px) {
  .hero__video-label {
    font-size: .9375rem;
  }
}

/* Posição do bloco "assista ao vídeo" no mobile, sobre a imagem */
.hero__video--floating {
  position: absolute;
  right: var(--container-pad);
  bottom: var(--space-sm);
  z-index: 3;
}

@media (min-width: 900px) {
  .hero__video--floating {
    position: absolute;
    right: 56px;
    bottom: 36px;
  }
}

/* ===== Barra de credenciais ===== */

.trust-bar-wrap {
  position: relative;
  z-index: 5;
  margin: -28px var(--container-pad) 0;
}

@media (min-width: 900px) {
  .trust-bar-wrap {
    margin: 0 56px;
  }
}

/* ===== Monitoramento ===== */

.monitoring__heading {
  margin-bottom: var(--space-md);
}

@media (min-width: 900px) {
  .monitoring__heading {
    text-align: center;
    margin-bottom: var(--space-lg);
  }
}

/* ===== Grade de serviços ===== */

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xs);
}

@media (min-width: 900px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 220px;
    gap: var(--space-sm);
  }
}

.service-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

@media (min-width: 900px) {
  .service-card {
    border-radius: var(--radius-xl);
    aspect-ratio: auto;
  }
}

.service-card__overlay {
  position: absolute;
  inset: 0;
  background: var(--overlay-image);
}

.service-card__label {
  position: absolute;
  left: var(--space-xs);
  right: var(--space-xs);
  bottom: 10px;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: .9375rem;
  color: #fff;
  text-shadow: 0 2px 6px rgba(0, 0, 0, .3);
}

@media (min-width: 900px) {
  .service-card__label {
    left: 20px;
    right: 20px;
    bottom: 18px;
    font-size: 1.5rem;
  }
}

/* ===== Estatísticas ===== */

.stats-row {
  display: flex;
  max-width: 700px;
  margin-inline: auto;
}

.stats-heading {
  margin-bottom: var(--space-md);
}

@media (min-width: 900px) {
  .stats-heading {
    margin-bottom: var(--space-lg);
    font-size: 1.875rem;
  }
}

/* ===== Depoimentos ===== */

.testimonials-heading {
  text-align: center;
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: .02em;
  text-transform: uppercase;
  line-height: 1.5;
  margin-bottom: var(--space-md);
}

@media (min-width: 900px) {
  .testimonials-heading {
    font-size: 2.5rem;
    margin-bottom: var(--space-lg);
  }
}

.testimonials-heading .is-accent {
  color: var(--color-accent);
}

.testimonials__cta {
  padding-top: var(--space-md);
}

@media (min-width: 900px) {
  .testimonials__cta {
    display: flex;
    justify-content: center;
    padding-top: var(--space-lg);
  }
}

/* ===== FAQ ===== */

.faq-heading {
  margin-bottom: var(--space-sm);
}

@media (min-width: 900px) {
  .faq-heading {
    text-align: center;
    margin-bottom: var(--space-lg);
    font-size: 1.625rem;
  }
}

/* ===== Fundadora / prova social ===== */

.founder-heading {
  text-align: center;
  color: var(--color-accent);
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: .02em;
  line-height: 1.6;
  margin-bottom: var(--space-md);
}

@media (min-width: 900px) {
  .founder-heading {
    font-size: 2rem;
    max-width: 800px;
    margin-inline: auto;
    margin-bottom: var(--space-xl);
  }
}

.founder {
  margin-bottom: 0;
}

@media (min-width: 900px) {
  .founder {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: var(--space-xl);
    align-items: center;
    margin-bottom: var(--space-lg);
  }
}

.founder__media {
  aspect-ratio: 4 / 3;
  max-height: 320px;
  margin-bottom: 0;
}

@media (min-width: 900px) {
  .founder__media {
    aspect-ratio: 3 / 4;
    max-height: none;
    border-radius: var(--radius-lg);
  }
}

.founder__body {
  padding: 0 var(--container-pad);
}

@media (min-width: 900px) {
  .founder__body {
    padding: 0;
  }
}

.founder__name {
  font-size: .875rem;
  font-weight: 600;
  color: var(--color-ink-strong);
  margin-bottom: 2px;
}

@media (min-width: 900px) {
  .founder__name {
    font-size: 1.375rem;
  }
}

.founder__role {
  font-size: var(--fs-small);
  color: var(--color-label);
  margin-bottom: var(--space-sm);
}

@media (min-width: 900px) {
  .founder__role {
    font-size: 1.125rem;
    margin-bottom: var(--space-md);
  }
}

.founder__bio {
  font-size: .875rem;
  line-height: 1.6;
  color: var(--color-ink-soft);
}

@media (min-width: 900px) {
  .founder__bio {
    font-size: 1.375rem;
    line-height: 1.65;
    max-width: 600px;
  }
}

/* ===== CTA final ===== */

.cta-banner {
  text-align: center;
}

.cta-banner__quote {
  font-family: var(--font-serif);
  font-size: 1.3125rem;
  line-height: 1.4;
  color: var(--color-primary-deep);
  font-weight: 700;
  margin-bottom: var(--space-md);
  max-width: 700px;
  margin-inline: auto;
}

@media (min-width: 900px) {
  .cta-banner__quote {
    font-size: 1.875rem;
    margin-bottom: var(--space-lg);
  }
}

/* ===== Rodapé ===== */

.site-footer {
  text-align: center;
}

@media (min-width: 900px) {
  .site-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    text-align: left;
  }
}

.site-footer__brand {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: .9375rem;
  color: #fff;
  margin-bottom: var(--space-sm);
}

@media (min-width: 900px) {
  .site-footer__brand {
    font-size: 1.125rem;
    margin-bottom: var(--space-2xs);
  }
}

.site-footer__copy {
  font-size: var(--fs-small);
  color: var(--color-footer-muted);
}

.site-footer__links {
  display: flex;
  justify-content: center;
  gap: var(--space-lg);
  margin-top: var(--space-md);
  font-size: var(--fs-small);
}

@media (min-width: 900px) {
  .site-footer__links {
    margin-top: 0;
  }
}

.site-footer__links a {
  color: var(--color-footer-text);
  text-decoration: none;
}

.site-footer__links a:hover {
  color: #fff;
}

