/* ============================================================
   IMECON — Sistemas Construtivos Industrializados
   CSS vanilla. Réplica da identidade do site original (Next/Tailwind).
   ============================================================ */

/* ---------- Fontes ----------
   Imeco Sans — fonte própria da casa, derivada da Saira (SIL Open Font License)
   e calibrada para ter a mesma proporção da Geogrotesque, que é comercial.
   Ver pasta "Fonte Imeco Sans" na raiz do projeto (licença OFL incluída). */
@font-face {
  font-family: "Imeco Sans";
  src: url("/assets/fonts/ImecoSans-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Imeco Sans";
  src: url("/assets/fonts/ImecoSans-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --azul: #003966;
  --azul-2: #0A4B7C;
  --azul-3: #004d8a;
  --azul-medio: #4c7494;
  --azul-escuro: #002a4d;
  --lime: #BFD72F;
  --lime-hover: #a8c029;
  --vermelho: #bd282d;
  --vermelho-2: #a02328;
  --cinza-100: #f3f4f6;
  --cinza-200: #e5e7eb;
  --cinza-400: #9ca3af;
  --cinza-600: #4b5563;
  --fonte: "Imeco Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 0.5rem;
}

/* ---------- Reset básico ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--fonte);
  font-weight: 400;
  color: #111827;
  background: #fff;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; background: none; border: none; }
section[id], [id] { scroll-margin-top: 5.5rem; }

.container {
  width: 100%;
  max-width: 1400px;
  margin-inline: auto;
  padding-inline: 1rem;
}
@media (min-width: 768px) { .container { padding-inline: 1.5rem; } }
.container-narrow { max-width: 64rem; }

/* ---------- Utilidades de texto ---------- */
.txt-lime  { color: var(--lime); }
.txt-white { color: #fff; }
.txt-azul  { color: var(--azul); }
.txt-gradient {
  background: linear-gradient(90deg, #003966, #004d8a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 2.5rem;
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 700;
  transition: all 0.3s ease;
}
.btn-lime {
  background: var(--lime);
  color: var(--azul);
}
.btn-lime:hover {
  background: var(--lime-hover);
  transform: translateY(-4px);
}
.btn-lime:active {
  transform: scale(0.95);
  background: var(--azul);
  color: var(--lime);
}
.btn-lime:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px rgba(191, 215, 47, 0.5);
}
.btn-block { width: 100%; }
.btn-sm {
  height: 2rem;
  padding: 0.375rem 0.75rem;
  font-size: 0.75rem;
}
@media (min-width: 768px) { .btn-sm { height: 2.25rem; font-size: 0.875rem; } }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--cinza-200);
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}
.header-logo img { height: 3rem; width: auto; }
.nav-desktop { display: none; align-items: center; gap: 2rem; }
.header-cta { display: none; }

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  /* área de toque confortável em tablet */
  min-height: 44px;
  min-width: 44px;
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--azul);
  transition: color 0.3s ease;
}
.nav-link:hover { color: var(--azul-medio); }
.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0.6rem;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--vermelho), var(--vermelho-2));
  transition: width 0.3s ease;
}
.nav-link:hover::after { width: 100%; }

.menu-toggle { padding: 0.5rem; color: var(--azul); display: inline-flex; }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-menu { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

.menu-mobile { background: #fff; padding: 1rem; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1); }
.menu-mobile nav { display: flex; flex-direction: column; gap: 1rem; }
.menu-mobile-link {
  font-size: 1rem;
  font-weight: 500;
  padding-block: 0.5rem;
  color: var(--azul);
  transition: color 0.3s ease;
}
.menu-mobile-link:hover { color: var(--azul-medio); }

@media (min-width: 768px) {
  .header-inner { height: 5rem; }
  .header-logo img { height: 4rem; }
  .nav-desktop { display: flex; }
  .header-cta { display: block; }
  .menu-toggle, .menu-mobile { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-block: 4rem;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url("/assets/img/bghome-imecon.webp") center/cover no-repeat;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0, 57, 102, 0.9), rgba(76, 116, 148, 0.85));
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 48rem;
  text-align: center;
}
/* rede de segurança: em telas muito estreitas as palavras longas quebram
   em vez de empurrar a página para o lado */
.hero-content h1, .section-title, .product-body h3, .benefit-card h3, .faq-trigger {
  overflow-wrap: break-word;
}
@media (max-width: 340px) {
  .hero-content h1 { font-size: 1.3rem; }
  .section-title { font-size: 1.3rem; }
}
.hero-content h1 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
}
.hero-content p {
  margin-top: 1rem;
  font-size: 1rem;
  color: var(--cinza-200);
}
.hero-actions {
  margin-top: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
}
@media (min-width: 640px) { .hero-actions { flex-direction: row; justify-content: center; } .hero-actions .btn { width: auto; } }
@media (max-width: 639.98px) { .hero-actions .btn { width: 100%; } }
@media (min-width: 768px) {
  .hero { padding-block: 7rem; }
  .hero-content h1 { font-size: 2.25rem; }
  .hero-content p { font-size: 1.125rem; }
}
@media (min-width: 1024px) {
  .hero-content h1 { font-size: 3rem; }
}
.hero-compact {
  min-height: 60vh;
  display: flex;
  align-items: center;
}

/* ---------- Intro + vídeo ---------- */
.intro {
  position: relative;
  padding-block: 4rem;
  background: var(--azul-medio);
  overflow: hidden;
}
.intro-circle {
  position: absolute;
  border-radius: 50%;
  background: var(--azul);
  opacity: 0.1;
}
.intro-circle-1 { top: 0; right: 0; width: 16rem; height: 16rem; transform: translate(50%, -50%); }
.intro-circle-2 { bottom: 0; left: 0; width: 24rem; height: 24rem; transform: translate(-50%, 50%); }

.intro-grid {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  align-items: center;
}
.intro-text h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}
.intro-text p {
  color: var(--cinza-100);
  font-size: 1.125rem;
  margin-bottom: 1rem;
}
.intro-cta-desktop { display: none; padding-top: 1.5rem; }
.intro-cta-mobile { width: 100%; }

.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  background: rgba(0, 57, 102, 0.2);
}
.video-facade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
}
.video-facade img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 4.25rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}
.video-facade:hover .video-play { background: #f00; }
.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (min-width: 768px) { .intro { padding-block: 6rem; } }
@media (min-width: 1024px) {
  .intro-grid { display: grid; grid-template-columns: 1fr 1fr; }
  .intro-text h2 { font-size: 2.25rem; }
  .intro-cta-desktop { display: block; }
  .intro-cta-mobile { display: none; }
}

/* ---------- Títulos de seção ---------- */
.section-heading { text-align: center; margin-bottom: 3rem; }
.section-title {
  position: relative;
  display: inline-block;
  font-size: 1.5rem;
  font-weight: 700;
}
.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, #ffffff, var(--azul-medio));
  border-radius: 3px;
}
@media (min-width: 768px)  { .section-title { font-size: 1.875rem; } }
@media (min-width: 1024px) { .section-title { font-size: 2.25rem; } }

/* ---------- Benefícios (carrossel) ---------- */
.benefits {
  padding-block: 4rem;
  background: linear-gradient(to bottom, #f9fafb, #ffffff);
}
@media (min-width: 768px) { .benefits { padding-block: 6rem; } }

.carousel { position: relative; width: 100%; }
.carousel-viewport { overflow: hidden; }
.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}
.benefit-card {
  flex: 0 0 100%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  background: var(--azul);
}
.benefit-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: var(--lime);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.benefit-icon svg { width: 2.25rem; height: 2.25rem; }
.benefit-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.benefit-card p {
  font-size: 0.875rem;
  color: var(--cinza-100);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}
.benefit-link {
  display: inline-flex;
  align-items: center;
  /* altura mínima confortável para toque */
  min-height: 44px;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #fff;
  align-self: flex-start;
  transition: color 0.3s ease;
}
.benefit-link:hover { color: rgba(255, 255, 255, 0.8); text-decoration: underline; }

@media (min-width: 768px) {
  .benefit-card { flex-basis: 33.3333%; padding: 2rem; }
  .benefit-icon { width: 4rem; height: 4rem; margin-bottom: 1.5rem; }
  .benefit-icon svg { width: 2.5rem; height: 2.5rem; }
  .benefit-card h3 { font-size: 1.25rem; margin-bottom: 1rem; }
  .benefit-card p { font-size: 1rem; margin-bottom: 2rem; }
  /* paleta alternada por posição, igual ao original */
  .benefit-card:nth-child(3n + 2) { background: var(--azul-2); }
  .benefit-card:nth-child(3n + 3) { background: var(--azul-medio); }
}
@media (max-width: 767.98px) {
  .benefit-card { margin-inline: 0.5rem; flex-basis: calc(100% - 1rem); }
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  /* área de toque confortável (44px) mantendo o círculo visível pequeno */
  min-width: 44px;
  min-height: 44px;
  padding: 0.25rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  color: var(--azul);
  display: flex;
  align-items: center;
  justify-content: center;
}
.carousel-arrow:hover { background: #fff; }
.carousel-prev { left: -0.5rem; }
.carousel-next { right: -0.5rem; }
@media (min-width: 768px) {
  .carousel-arrow { padding: 0.5rem; }
  .carousel-prev { left: -1rem; }
  .carousel-next { right: -1rem; }
}

.carousel-dots {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}
/* O botão inteiro é a área de toque (44x44, sem sobrepor o vizinho);
   o ponto colorido é desenhado dentro dele. */
.carousel-dot {
  width: 44px;
  height: 44px;
  padding: 0;
  background: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.carousel-dot::before {
  content: "";
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 9999px;
  background: #d1d5db;
  transition: all 0.3s ease;
}
.carousel-dot.active::before {
  width: 1.5rem;
  background: linear-gradient(90deg, #003966, #004d8a);
}
.carousel-dot:focus-visible { outline: 2px solid var(--azul); outline-offset: -8px; border-radius: 8px; }

/* ---------- Sistemas (produtos) ---------- */
.products {
  padding-block: 2.5rem;
  background: var(--azul);
  color: #fff;
}
@media (min-width: 768px) { .products { padding-block: 6rem; } }

.section-title-light { color: #fff; }
.products-intro {
  color: var(--cinza-200);
  margin: 1rem auto 0;
  max-width: 42rem;
  font-size: 0.875rem;
}
@media (min-width: 768px) { .products-intro { margin-top: 2rem; font-size: 1rem; } }
.products .section-heading { margin-bottom: 2rem; }
@media (min-width: 768px) { .products .section-heading { margin-bottom: 3rem; } }

.product-list { display: flex; flex-direction: column; gap: 0.75rem; }
.product-body .btn-sm { margin-top: 0.25rem; }
.products-catalogs {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.25rem 0.75rem;
  text-align: center;
  color: var(--cinza-200);
  font-size: 0.875rem;
  line-height: 1.8;
}
.products-catalogs a {
  color: var(--lime);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.products-catalogs a:hover { color: var(--lime-hover); }
.products-catalogs span { display: none; }
@media (min-width: 768px) {
  .products-catalogs { margin-top: 2.5rem; font-size: 1rem; }
  .products-catalogs span { display: inline; }
}
@media (min-width: 768px) { .product-list { gap: 1.5rem; } }

.product-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.product-img {
  width: 100%;
  height: 12rem;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
}
.product-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.5rem;
}
.product-body { width: 100%; padding: 1rem; }
.product-body h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--azul);
  line-height: 1.25;
  margin-bottom: 0.5rem;
}
.product-body ul {
  font-size: 0.75rem;
  color: var(--cinza-600);
  line-height: 1.625;
  padding-left: 1rem;
  margin-bottom: 0.5rem;
}
.product-body li { margin-bottom: 0.25rem; }

@media (min-width: 768px) {
  .product-card { flex-direction: row; }
  .product-card-reverse { flex-direction: row-reverse; }
  .product-img { width: 40%; height: 18rem; }
  .product-body { width: 60%; padding: 2rem 2rem 2rem 1.5rem; }
  .product-body h3 { font-size: 1.5rem; margin-bottom: 0.75rem; }
  .product-body ul { font-size: 1rem; margin-bottom: 0.75rem; }
}

/* ---------- FAQ ---------- */
.faq {
  padding-block: 4rem;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}
@media (min-width: 768px) { .faq { padding-block: 6rem; } }

.faq-list { max-width: 48rem; margin-inline: auto; }
.faq-item {
  border: 1px solid rgba(0, 57, 102, 0.1);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
  background: #fff;
}
.faq-item:hover {
  border-color: rgba(0, 57, 102, 0.3);
  box-shadow: 0 5px 15px -5px rgba(0, 0, 0, 0.1);
}
.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
  font-size: 1rem;
  font-weight: 500;
  padding: 1rem 1.5rem;
  color: var(--azul);
  transition: color 0.3s ease;
}
.faq-trigger:hover { color: var(--azul-medio); text-decoration: underline; }
.faq-chevron { flex-shrink: 0; transition: transform 0.2s ease; }
.faq-trigger[aria-expanded="true"] .faq-chevron { transform: rotate(180deg); }

.faq-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.2s ease-out;
}
.faq-panel-inner {
  overflow: hidden;
  padding-inline: 1.5rem;
  font-size: 0.875rem;
  color: #374151;
}
.faq-item.open .faq-panel { grid-template-rows: 1fr; }
.faq-item.open .faq-panel-inner { padding-bottom: 1rem; }

/* ---------- Contato ---------- */
.contact {
  position: relative;
  padding-block: 3rem;
  overflow: hidden;
  background: linear-gradient(135deg, #004d8a 0%, #003966 50%, #002a4d 100%);
}
@media (min-width: 768px) { .contact { padding-block: 6rem; } }
.contact-bg {
  position: absolute;
  inset: 0;
  background: url("/assets/img/contact-bg-imecon.webp") center/cover no-repeat;
}
.contact-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0, 77, 138, 0.9), rgba(0, 57, 102, 0.9));
}
.contact-content {
  position: relative;
  z-index: 2;
  max-width: 42rem;
  text-align: center;
}
.contact-content h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
}
.contact-sub {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--cinza-200);
}
@media (min-width: 768px) {
  .contact-content h2 { font-size: 1.875rem; }
  .contact-sub { font-size: 1rem; }
}
@media (min-width: 1024px) { .contact-content h2 { font-size: 2.25rem; } }

.glass-card {
  margin-top: 1.5rem;
  padding: 1rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: left;
}
@media (min-width: 768px) { .glass-card { padding: 1.5rem; } }
.glass-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
  text-align: center;
}
@media (min-width: 768px) { .glass-card h3 { font-size: 1.25rem; } }

.form-field { margin-bottom: 1rem; }
.form-field label, .form-radios legend {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: #fff;
  margin-bottom: 0.4rem;
}
.form-field input[type="text"],
.form-field select,
.form-field textarea {
  width: 100%;
  border-radius: 0.375rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-family: inherit;
  color: #fff;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.1) 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.form-field input[type="text"] { height: 2.5rem; }
.form-field select { height: 2.5rem; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.75rem center; }
.form-field select option { color: #111827; background: #fff; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.15) 100%);
  border-color: rgba(255, 255, 255, 0.3);
}

.form-radios { border: 0; }
.form-field label.radio-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
  font-size: 0.875rem;
  margin-bottom: 0.35rem;
  cursor: pointer;
}
.radio-option input[type="radio"] {
  appearance: none;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.6);
  display: grid;
  place-content: center;
  cursor: pointer;
}
.radio-option input[type="radio"]::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--lime);
  transform: scale(0);
  transition: transform 0.15s ease;
}
.radio-option input[type="radio"]:checked::before { transform: scale(1); }
.radio-option input[type="radio"]:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; }

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-feedback { display: none; font-size: 0.875rem; margin-bottom: 1rem; }
.form-feedback.error { display: block; color: #fca5a5; }
.form-feedback.success { display: block; color: var(--lime); font-weight: 700; }

/* aviso de uso dos dados (LGPD) */
.aviso-dados {
  margin-top: 0.9rem;
  font-size: 0.75rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.75);
  text-align: center;
}

/* ---------- Footer ---------- */
.site-footer {
  background: linear-gradient(to bottom, #1a202c 0%, #0f1420 100%);
  color: #fff;
  padding-block: 2rem;
}
@media (min-width: 768px) { .site-footer { padding-block: 3rem; } }

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  text-align: center;
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: repeat(3, 1fr); gap: 2rem; text-align: left; }
}
.footer-logo { height: 4rem; width: auto; margin: 0 auto 0.75rem; }
@media (min-width: 768px) { .footer-logo { height: 5rem; margin: 0 0 1rem; } }
.footer-tagline { color: var(--cinza-400); font-size: 0.75rem; }
.footer-social { margin-top: 0.75rem; }
.footer-social a {
  display: inline-block;
  /* altura confortável para toque no celular */
  padding-block: 0.6rem;
  color: var(--cinza-400);
  font-size: 0.75rem;
  transition: color 0.3s ease;
}
.footer-social a:hover { color: #fff; }

.footer-col h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.75rem; }
@media (min-width: 768px) { .footer-col h3 { font-size: 1.125rem; margin-bottom: 1rem; } }
.footer-list { list-style: none; color: var(--cinza-400); font-size: 0.75rem; }
.footer-list li { margin-bottom: 0.35rem; }
.footer-hours {
  list-style: none;
  color: var(--cinza-400);
  font-size: 0.75rem;
}
.footer-hours li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0 1rem;
  margin-bottom: 0.25rem;
}
@media (min-width: 768px) {
  .footer-tagline, .footer-social a, .footer-list, .footer-hours { font-size: 0.875rem; }
  .footer-hours li span:last-child { text-align: left; }
}
@media (max-width: 767.98px) {
  .footer-hours li { max-width: 16rem; margin-inline: auto; text-align: left; }
}

.footer-bottom {
  border-top: 1px solid #1f2937;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  text-align: center;
  color: var(--cinza-400);
  font-size: 0.75rem;
}
@media (min-width: 768px) {
  .footer-bottom { margin-top: 2rem; padding-top: 2rem; font-size: 0.875rem; }
}

/* ---------- Acessibilidade ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ---------- Botão flutuante do WhatsApp ---------- */
.whatsapp-float {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 60;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}
.whatsapp-float svg { width: 1.75rem; height: 1.75rem; }
.whatsapp-float:hover {
  background: #1EBE5B;
  transform: translateY(-4px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.3);
}
.whatsapp-float:active { transform: scale(0.95); }
.whatsapp-float:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.5), 0 6px 16px rgba(0, 0, 0, 0.25);
}
.whatsapp-float-label {
  position: absolute;
  right: calc(100% + 0.625rem);
  white-space: nowrap;
  background: rgba(0, 0, 0, 0.82);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 700;
  padding: 0.375rem 0.625rem;
  border-radius: 0.375rem;
  opacity: 0;
  visibility: hidden;
  transform: translateX(6px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}
@media (min-width: 768px) {
  .whatsapp-float { right: 1.5rem; bottom: 1.5rem; width: 3.75rem; height: 3.75rem; }
  .whatsapp-float:hover .whatsapp-float-label,
  .whatsapp-float:focus-visible .whatsapp-float-label { opacity: 1; visibility: visible; transform: translateX(0); }
}
@media (prefers-reduced-motion: reduce) { .whatsapp-float { transition: none; } }
