/* ==========================================================
   Bom Contágio — estilos globais
   Tipo: service (agência). Paleta a partir da logo (#61a8d2).
   ========================================================== */

/* ---------- Variáveis ---------- */
:root {
  /* Marca */
  --azul: #61a8d2;            /* cor da logo: faixas e detalhes */
  --azul-escuro: #1b6a9c;     /* botões e links (contraste AA com branco) */
  --azul-profundo: #145480;   /* hover dos botões */
  --azul-claro: #e8f3fa;

  /* Neutros */
  --tinta: #0f2638;
  --tinta-suave: #4a5d6e;
  --fundo: #ffffff;
  --superficie: #f3f8fb;
  --borda: #dde7ee;
  --whatsapp: #1fa855;

  /* Tipografia */
  --fonte-titulo: "Bricolage Grotesque", system-ui, sans-serif;
  --fonte-base: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Medidas */
  --largura-max: 1240px;
  --margem: clamp(1rem, 4vw, 2.5rem);
  --altura-header: 76px;
  --tela: calc(100svh - var(--altura-header));
  --raio: 12px;
  --raio-lg: 20px;
  --sombra: 0 10px 30px rgba(15, 38, 56, 0.08);
  --sombra-forte: 0 16px 40px rgba(15, 38, 56, 0.14);
  --transicao: 0.25s cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--altura-header);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--fonte-base);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--tinta);
  background: var(--fundo);
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

address {
  font-style: normal;
}

h1,
h2,
h3 {
  font-family: var(--fonte-titulo);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

/* ---------- Acessibilidade ---------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 200;
  padding: 0.5rem 1rem;
  background: var(--azul-escuro);
  color: #fff;
  border-radius: var(--raio);
}

.skip-link:focus {
  top: 1rem;
}

:focus-visible {
  outline: 3px solid var(--azul);
  outline-offset: 3px;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--largura-max);
  margin: 0 auto;
  padding: 0 var(--margem);
}

.section {
  padding: clamp(4rem, 8vw, 6rem) 0;
}

/* Seção que ocupa ao menos uma tela */
.section--tela {
  min-height: var(--tela);
}

.section--alt {
  background: var(--superficie);
}

.section__head {
  max-width: 720px;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.section__title {
  font-size: clamp(2rem, 3.6vw, 3rem);
  margin-bottom: 0.75rem;
}

.section__lead {
  font-size: 1.125rem;
  color: var(--tinta-suave);
}

.eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--azul-escuro);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

/* ---------- Fotos ---------- */
.photo {
  overflow: hidden;
  border-radius: var(--raio-lg);
  background: var(--azul-claro);
}

.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}

a:hover .photo img,
.photo:hover img {
  transform: scale(1.03);
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 52px;
  padding: 0.8rem 1.6rem;
  border: 2px solid var(--azul-escuro);
  border-radius: 999px;
  background: var(--azul-escuro);
  color: #fff;
  font: inherit;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: transform var(--transicao), background var(--transicao), border-color var(--transicao), box-shadow var(--transicao), color var(--transicao);
}

.btn:hover {
  background: var(--azul-profundo);
  border-color: var(--azul-profundo);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(27, 106, 156, 0.25);
}

.btn:active {
  transform: translateY(0) scale(0.98);
  box-shadow: none;
}

.btn--ghost {
  background: transparent;
  color: var(--azul-escuro);
}

.btn--ghost:hover {
  background: var(--azul-claro);
  color: var(--azul-profundo);
  box-shadow: none;
}

/* Botão claro, usado sobre a faixa azul */
.btn--light {
  background: #fff;
  border-color: #fff;
  color: var(--tinta);
}

.btn--light:hover {
  background: var(--tinta);
  border-color: var(--tinta);
  color: #fff;
}

.btn img {
  width: 20px;
  height: 20px;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Link com sublinhado que se desenha no hover */
.link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  color: var(--azul-escuro);
  background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 0 2px;
  transition: background-size var(--transicao);
}

.link:hover,
a:hover .link {
  background-size: 100% 2px;
}

.link::after {
  content: "→";
  transition: transform var(--transicao);
}

.link:hover::after,
a:hover .link::after {
  transform: translateX(3px);
}

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--altura-header);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transicao), box-shadow var(--transicao);
}

.header.is-scrolled {
  border-color: var(--borda);
  box-shadow: 0 4px 18px rgba(15, 38, 56, 0.05);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 100%;
}

/* O PNG é quadrado com sobra transparente; object-fit recorta as bordas */
.logo img,
.footer__logo {
  object-fit: cover;
}

.logo img {
  width: 104px;
  height: 64px;
}

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

.nav__list {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav__link {
  font-size: 0.975rem;
  font-weight: 500;
  color: var(--tinta-suave);
  background: linear-gradient(var(--azul-escuro), var(--azul-escuro)) no-repeat 0 100% / 0 2px;
  padding: 0.25rem 0;
  transition: color var(--transicao), background-size var(--transicao);
}

.nav__link:hover,
.nav__link[aria-current="page"] {
  color: var(--tinta);
  background-size: 100% 2px;
}

.nav__cta {
  min-height: 44px;
  padding: 0.6rem 1.2rem;
  font-size: 0.95rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  margin: 0 auto;
  background: var(--tinta);
  transition: transform var(--transicao), opacity var(--transicao);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Submenu de serviços */
.nav__item--dropdown {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.submenu-toggle {
  width: 28px;
  height: 28px;
  background: none;
  border: none;
  cursor: pointer;
}

.submenu-toggle::before {
  content: "";
  display: block;
  width: 7px;
  height: 7px;
  margin: 0 auto;
  border-right: 2px solid var(--tinta-suave);
  border-bottom: 2px solid var(--tinta-suave);
  transform: translateY(-2px) rotate(45deg);
  transition: transform var(--transicao);
}

.submenu-toggle[aria-expanded="true"]::before {
  transform: translateY(2px) rotate(-135deg);
}

.submenu {
  position: absolute;
  top: calc(100% + 1rem);
  left: -1rem;
  min-width: 300px;
  padding: 0.5rem;
  background: var(--fundo);
  border: 1px solid var(--borda);
  border-radius: var(--raio);
  box-shadow: var(--sombra-forte);
  display: none;
}

.submenu a {
  display: block;
  padding: 0.6rem 0.9rem;
  border-radius: 8px;
  color: var(--tinta-suave);
  transition: background var(--transicao), color var(--transicao);
}

.submenu a:hover,
.submenu a[aria-current="page"] {
  color: var(--tinta);
  background: var(--superficie);
}

.submenu.is-open {
  display: block;
}

@media (hover: hover) and (min-width: 961px) {
  .nav__item--dropdown:hover .submenu {
    display: block;
  }

  /* Ponte invisível para o mouse não "cair" entre o link e o submenu */
  .nav__item--dropdown::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 1rem;
  }
}

/* ---------- Hero (home e páginas de serviço) ---------- */
.hero {
  display: flex;
  align-items: center;
  min-height: var(--tela);
  padding: clamp(1.5rem, 4vw, 3rem) 0 clamp(2.5rem, 5vw, 4rem);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  width: 100%;
}

.slogan {
  font-family: var(--fonte-titulo);
  font-weight: 700;
  font-style: italic;
  color: var(--azul-escuro);
}

.hero .slogan {
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.hero__title {
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  margin-bottom: 1.25rem;
}

.hero__lead {
  max-width: 560px;
  margin-bottom: 2rem;
  font-size: 1.1875rem;
  color: var(--tinta-suave);
}

.hero__fact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2rem;
  font-size: 0.95rem;
  color: var(--tinta-suave);
}

.hero__media {
  height: min(74svh, 660px);
}

/* Ícones reais das plataformas */
.icons {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.icons img {
  width: 26px;
  height: 26px;
}

.icons--chip img {
  box-sizing: content-box;
  width: 22px;
  height: 22px;
  padding: 9px;
  background: var(--fundo);
  border: 1px solid var(--borda);
  border-radius: 50%;
}

/* ---------- Cards de serviço ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--fundo);
  border: 1px solid var(--borda);
  border-radius: var(--raio-lg);
  overflow: hidden;
  transition: transform var(--transicao), box-shadow var(--transicao), border-color var(--transicao);
}

a.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--sombra-forte);
  border-color: transparent;
}

.card .photo {
  border-radius: 0;
  aspect-ratio: 16 / 10;
}

.card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.5rem;
  padding: 1.25rem 1.5rem 1.5rem;
}

.card__title {
  font-size: 1.3rem;
  line-height: 1.2;
}

.card__body p {
  color: var(--tinta-suave);
  font-size: 0.975rem;
}

.card__body .link {
  margin-top: auto;
  padding-top: 0.5rem;
  align-self: flex-start;
}

/* ---------- Sobre ---------- */
.about .photo {
  aspect-ratio: 4 / 5;
  max-height: 72svh;
}

.about__text p + p {
  margin-top: 1rem;
}

.about__text p {
  color: var(--tinta-suave);
}

.about__text .about__slogan {
  color: var(--azul-escuro);
  margin: 2rem 0;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.05;
}

.about__list {
  display: grid;
  gap: 0.75rem;
  margin-top: 2rem;
}

.about__list li {
  display: flex;
  gap: 0.75rem;
  align-items: baseline;
}

.about__list li::before,
.check-list li::before {
  content: "";
  flex: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--azul);
  transform: translateY(-1px);
}

/* ---------- Faixa da marca (contato / CTA) ---------- */
.band {
  background: var(--azul);
  color: var(--tinta);
}

.band .section__lead,
.band .slogan {
  color: var(--tinta);
}

.contact {
  align-items: start;
}

.contact__info {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.contact__info a {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
}

.contact__info a:hover {
  text-decoration: underline;
}

.contact__info img {
  width: 22px;
  height: 22px;
}

/* ---------- Formulário ---------- */
.form {
  display: grid;
  gap: 1rem;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: var(--fundo);
  border-radius: var(--raio-lg);
  box-shadow: var(--sombra-forte);
}

.form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.95rem;
  font-weight: 600;
}

.form input,
.form select,
.form textarea {
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--borda);
  border-radius: 10px;
  background: var(--superficie);
  font: inherit;
  font-weight: 400;
  color: var(--tinta);
  transition: border-color var(--transicao), background var(--transicao);
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--azul-escuro);
  background: var(--fundo);
}

.form .btn {
  justify-self: start;
}

.form__status {
  font-size: 0.9rem;
  color: var(--tinta-suave);
}

/* ---------- Páginas internas ---------- */
.breadcrumb {
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  color: var(--tinta-suave);
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
}

.breadcrumb li + li::before {
  content: "/";
  margin: 0 0.5rem;
  opacity: 0.6;
}

.breadcrumb a:hover {
  color: var(--azul-escuro);
  text-decoration: underline;
}

.check-list {
  display: grid;
  gap: 1rem;
}

.check-list li {
  display: flex;
  gap: 0.9rem;
  align-items: baseline;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--borda);
  font-size: 1.0625rem;
}

.included .photo {
  aspect-ratio: 5 / 4;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  list-style: none;
  counter-reset: passo;
}

.steps li {
  counter-increment: passo;
  padding: 1.75rem 1.5rem;
  background: var(--fundo);
  border: 1px solid var(--borda);
  border-radius: var(--raio-lg);
}

.steps li::before {
  content: counter(passo, decimal-leading-zero);
  display: block;
  margin-bottom: 1.5rem;
  font-family: var(--fonte-titulo);
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  color: var(--azul);
}

.faq {
  display: grid;
  gap: 0.75rem;
}

.faq details {
  border: 1px solid var(--borda);
  border-radius: var(--raio);
  background: var(--fundo);
  transition: border-color var(--transicao);
}

.faq details:hover,
.faq details[open] {
  border-color: var(--azul);
}

.faq summary {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.35rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

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

.faq summary::after {
  content: "+";
  font-size: 1.5rem;
  line-height: 1;
  color: var(--azul-escuro);
  transition: transform var(--transicao);
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq details p {
  padding: 0 1.35rem 1.25rem;
  color: var(--tinta-suave);
}

.cta {
  text-align: center;
}

.cta .section__title {
  max-width: 760px;
  margin: 0 auto 0.75rem;
}

.cta .section__lead {
  margin-bottom: 2rem;
}

.cta .btn-row {
  justify-content: center;
}

.related {
  padding: 3rem 0;
  border-top: 1px solid var(--borda);
}

.related__title {
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.related ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.related a {
  display: inline-block;
  padding: 0.6rem 1.1rem;
  border: 1px solid var(--borda);
  border-radius: 999px;
  color: var(--tinta-suave);
  transition: transform var(--transicao), border-color var(--transicao), color var(--transicao);
}

.related a:hover {
  transform: translateY(-2px);
  border-color: var(--azul-escuro);
  color: var(--azul-escuro);
}

/* ---------- Galeria (camisetas) ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.gallery__item {
  position: relative;
}

.gallery__btn {
  display: block;
  width: 100%;
  border: none;
  padding: 0;
  background: none;
  cursor: zoom-in;
}

.gallery__btn.photo img {
  aspect-ratio: 4 / 5;
}

.gallery__cta {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  min-height: 44px;
  padding: 0.55rem 1.1rem;
  font-size: 0.925rem;
}

/* ---------- Posts (estilo feed do Instagram) ---------- */
.posts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.post {
  background: var(--fundo);
  border: 1px solid var(--borda);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--sombra);
  transition: transform var(--transicao), box-shadow var(--transicao);
}

.post:hover {
  transform: translateY(-2px);
  box-shadow: var(--sombra-forte);
}

.post__header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
}

.post__avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(45deg, #f9ce34, #ee2a7b);
  border: 2px solid var(--fundo);
  box-shadow: 0 0 0 2px #ee2a7b;
}

.post__more {
  margin-left: auto;
  font-size: 1.25rem;
  line-height: 1;
  color: var(--tinta-suave);
}

.post__media {
  width: 100%;
  border-radius: 0;
}

.post__media img {
  aspect-ratio: 4 / 5;
}

.post__actions {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.75rem 1rem 0.9rem;
}

.post__actions svg:first-child {
  color: #ed4956;
  fill: #ed4956;
}

.post__spacer {
  flex: 1;
}

/* ---------- Lightbox ---------- */
.lightbox {
  max-width: min(92vw, 760px);
  max-height: 92vh;
  margin: auto;
  padding: 0;
  border: none;
  border-radius: var(--raio-lg);
  background: transparent;
  overflow: visible;
}

.lightbox::backdrop {
  background: rgba(15, 38, 56, 0.85);
}

.lightbox img {
  max-height: 92vh;
  margin: 0 auto;
  border-radius: var(--raio-lg);
}

.lightbox__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  transition: transform var(--transicao);
}

.lightbox__close:hover {
  transform: scale(1.06);
}

/* ---------- Footer ---------- */
.footer {
  padding: 4rem 0 1.5rem;
  font-size: 0.95rem;
  color: var(--tinta-suave);
  background: var(--superficie);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2.5rem;
}

.footer__logo {
  width: 136px;
  height: 84px;
  margin-bottom: 0.75rem;
}

.footer__brand .slogan {
  margin-bottom: 0.5rem;
  font-size: 1.125rem;
}

.footer__title {
  margin-bottom: 0.75rem;
  font-weight: 700;
  color: var(--tinta);
}

.footer li + li,
.footer address p + p {
  margin-top: 0.4rem;
}

.footer a {
  transition: color var(--transicao);
}

.footer a:hover {
  color: var(--azul-escuro);
  text-decoration: underline;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--borda);
  font-size: 0.85rem;
}

/* ---------- WhatsApp flutuante ---------- */
.whatsapp-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--whatsapp);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  transition: transform var(--transicao);
}

.whatsapp-float:hover {
  transform: translateY(-2px) scale(1.04);
}

.whatsapp-float:active {
  transform: scale(0.96);
}

.whatsapp-float img {
  width: 30px;
  height: 30px;
  filter: brightness(0) invert(1);
}

/* ---------- Responsivo ---------- */
@media (max-width: 1100px) {
  .cards,
  .gallery,
  .posts {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  /* Menu em tela cheia */
  .nav {
    position: fixed;
    inset: var(--altura-header) 0 0;
    flex-direction: column;
    align-items: stretch;
    gap: 1.5rem;
    padding: 1.5rem var(--margem) 2rem;
    overflow-y: auto;
    background: var(--fundo);
    display: none;
  }

  .nav.is-open {
    display: flex;
  }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .nav__list > li {
    border-bottom: 1px solid var(--borda);
  }

  .nav__link {
    display: block;
    padding: 1rem 0;
    font-size: 1.25rem;
    background: none;
  }

  .nav__item--dropdown {
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .submenu-toggle {
    width: 44px;
    height: 44px;
  }

  .submenu {
    position: static;
    flex-basis: 100%;
    min-width: 0;
    padding: 0 0 1rem;
    border: none;
    box-shadow: none;
  }

  .nav__cta {
    width: 100%;
    min-height: 52px;
  }

  .hero {
    min-height: 0;
  }

  .hero__grid,
  .split,
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .hero__media {
    height: 46svh;
  }

  .section--tela {
    min-height: 0;
  }

  .about .photo {
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 640px) {
  .cards,
  .gallery,
  .posts,
  .steps {
    grid-template-columns: 1fr;
  }

  .hero__media {
    height: 38svh;
  }

  .btn-row .btn,
  .form .btn {
    width: 100%;
  }

  .form .btn {
    justify-self: stretch;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
