/* =========================================================
   Vetron Vidro & Alumínio — folha de estilos
   Mobile-first, sem framework, variáveis CSS para os tokens
   de design extraídos do site original (Elementor + The7).
   ========================================================= */

:root {
  --accent-start: #1ebbf0;
  --accent-end: #39dfaa;
  --accent-dot: #6bc3e1;
  --text: #55575c;
  --text-light: #85868c;
  --heading: #2b2b2e;
  --white: #ffffff;
  --bg: #ffffff;
  --bg-alt: #f6f8fa;
  --bg-blue-start: #eaf6fd;
  --bg-blue-end: #dcedf9;
  --border: #e7e9ec;
  --border-blue: #cfe6f5;
  --btn-gray: #7a7a7a;
  --btn-gray-hover: #626262;
  --whatsapp: #25d366;
  --whatsapp-dark: #1da851;
  --shadow-sm: 0 2px 10px rgba(20, 22, 30, 0.06);
  --shadow-md: 0 10px 30px rgba(20, 22, 30, 0.12);
  --shadow-lg: 0 20px 50px rgba(20, 22, 30, 0.18);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-pill: 999px;
  --container: 1340px;
  --header-h: 84px;
  --header-h-scrolled: 64px;
  --font-body: "Poppins", "Segoe UI", Helvetica, Arial, sans-serif;
  --font-display: "Poppins", "Segoe UI", Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Fonte auto-hospedada (Poppins, usada em todo o site) ---------- */
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/poppins-400.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/poppins-500.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/poppins-600.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/poppins-700.woff2") format("woff2");
}

/* ---------- Reset básico ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
button {
  font: inherit;
  cursor: pointer;
}
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  color: var(--heading);
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 16px;
}
p {
  margin: 0 0 16px;
}
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 56px);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Título de seção ---------- */
.section {
  padding: 88px 0;
}
.section--alt {
  background: var(--bg-alt);
}
.section--blue {
  background: linear-gradient(180deg, var(--bg-blue-start) 0%, var(--bg-blue-end) 100%);
}
.section--blue .accordion,
.section--blue .accordion-item {
  border-color: var(--border-blue);
}
.section--blue .accordion-trigger .chevron {
  background: var(--white);
  border-color: var(--border-blue);
}
.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px;
}
.section-head--wide {
  max-width: 900px;
}
.section-title {
  font-size: clamp(26px, 4vw, 36px);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-wrap: balance;
}
.section-title .dot {
  color: var(--accent-dot);
}
.section-title--plain {
  text-transform: none;
  letter-spacing: normal;
}
.section-lede {
  color: var(--text-light);
  font-size: 17px;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: var(--radius-pill);
  padding: 14px 30px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: 0.3px;
  border: 2px solid transparent;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background 0.25s var(--ease), color 0.25s var(--ease);
  white-space: nowrap;
}
.btn:active {
  transform: translateY(1px);
}
.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
}
.btn--accent {
  background: linear-gradient(135deg, var(--accent-start) 0%, var(--accent-end) 100%);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn--accent:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.btn--whatsapp {
  background: linear-gradient(135deg, #25d366 0%, #1da851 100%);
  color: var(--white);
  box-shadow: 0 6px 16px rgba(29, 168, 81, 0.28);
}
.btn--whatsapp svg {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  padding: 3px;
  box-sizing: content-box;
}
.btn--whatsapp:hover {
  background: linear-gradient(135deg, #2fe374 0%, #1da851 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(29, 168, 81, 0.38);
}
.btn--outline {
  background: var(--white);
  color: var(--btn-gray);
  border-color: var(--border);
}
.btn--outline:hover {
  border-color: var(--btn-gray);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.btn--dark {
  background: linear-gradient(135deg, #4a4d54 0%, #2f3136 100%);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(10, 12, 16, 0.28);
}
.btn--dark:hover {
  background: linear-gradient(135deg, var(--accent-start) 0%, var(--accent-end) 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(10, 12, 16, 0.32);
}
.btn--block {
  width: 100%;
  justify-content: center;
}

/* =========================================================
   Skip link / acessibilidade
   ========================================================= */
.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  background: var(--heading);
  color: var(--white);
  padding: 12px 18px;
  z-index: 10000;
  border-radius: 0 0 8px 0;
}
.skip-link:focus {
  left: 0;
  top: 0;
}

/* =========================================================
   Cabeçalho
   ========================================================= */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  z-index: 900;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 1px 0 rgba(20, 22, 30, 0.06);
  transition: height 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.site-header.is-scrolled {
  height: var(--header-h-scrolled);
  box-shadow: var(--shadow-sm);
}
.site-header__inner {
  height: 100%;
  display: grid;
  /* Colunas laterais iguais: o menu fica no centro da página, não só entre
     o logo e o botão (que têm larguras diferentes). */
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
}
.main-nav {
  justify-self: center;
}
.header-actions {
  grid-column: 3;
  justify-self: end;
}
.brand {
  justify-self: start;
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}
.brand img {
  height: 52px;
  width: auto;
  transition: height 0.3s var(--ease);
}
.site-header.is-scrolled .brand img {
  height: 42px;
}
.brand__text {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--heading);
  font-size: 19px;
  line-height: 1.1;
}
.brand__text small {
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 11px;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.main-nav {
  display: none;
}
.main-nav ul {
  display: flex;
  align-items: center;
  gap: 34px;
}
.main-nav a {
  font-weight: 500;
  font-size: 15px;
  color: var(--heading);
  position: relative;
  padding: 6px 0;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 2px;
  background: linear-gradient(135deg, var(--accent-start), var(--accent-end));
  transition: right 0.25s var(--ease);
}
.main-nav a:hover::after,
.main-nav a.is-active::after {
  right: 0;
}

.header-cta {
  display: none;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border: none;
  background: var(--bg-alt);
  border-radius: var(--radius-sm);
  align-items: center;
}
.menu-toggle span {
  width: 20px;
  height: 2px;
  background: var(--heading);
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: min(84vw, 340px);
  background: var(--white);
  z-index: 950;
  box-shadow: var(--shadow-lg);
  padding: 26px 24px;
  transform: translateX(100%);
  transition: transform 0.35s var(--ease);
  overflow-y: auto;
}
.mobile-nav.is-open {
  transform: translateX(0);
}
.mobile-nav__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
}
.mobile-nav__close {
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: var(--bg-alt);
  font-size: 20px;
  line-height: 1;
}
.mobile-nav ul {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mobile-nav a {
  display: block;
  padding: 14px 6px;
  font-size: 17px;
  font-weight: 500;
  border-bottom: 1px solid var(--border);
}
.mobile-nav .btn {
  margin-top: 22px;
}
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 22, 30, 0.45);
  z-index: 940;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}
.nav-overlay.is-visible {
  opacity: 1;
  pointer-events: auto;
}

@media (min-width: 1051px) {
  .main-nav {
    display: block;
  }
  .header-cta {
    display: inline-flex;
  }
  .menu-toggle {
    display: none;
  }
}

/* =========================================================
   Hero / Slider
   ========================================================= */
.hero {
  position: relative;
  margin-top: var(--header-h);
  height: min(88vh, 640px);
  min-height: 440px;
  overflow: hidden;
  background: #eef1f4;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s var(--ease);
}
.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
}
.hero-slide__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.hero-slide__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(13, 47, 74, 0.62) 0%, rgba(9, 33, 56, 0.85) 100%);
}
.hero-slide__content {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  padding: 0 20px;
}
.hero-badge {
  width: clamp(110px, 12vw, 160px);
  height: auto;
  margin: 0 auto 28px;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.25));
}
.hero-kicker {
  font-size: 18px;
  font-weight: 300;
  letter-spacing: 2px;
  margin: 0;
}
.hero-heading {
  font-size: clamp(34px, 8vw, 84px);
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0;
}
.hero-copy {
  max-width: 760px;
  font-size: clamp(15px, 1.8vw, 18px);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.92);
  margin-top: 18px;
}

/* ---- Slide 1: colagem com painel central ---- */
.hero-collage {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) {
  .hero-collage {
    grid-template-columns: minmax(140px, 21%) 1fr minmax(140px, 21%);
  }
}
.hero-collage__side {
  display: none;
  background-size: cover;
  background-position: center;
  height: 100%;
}
@media (min-width: 700px) {
  .hero-collage__side {
    display: block;
  }
}
.hero-collage__center {
  height: 100%;
  background-size: cover;
  background-position: center;
  background-color: #eef1f4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  /* Reserva o espaço da seta "rolar" e dos pontos do slider (absolutos no
     rodapé do hero) para o botão Contatos ficar sempre acima deles. */
  padding: 0 20px 110px;
}
.hero-logo-lockup {
  width: min(76vw, 300px);
  height: auto;
  filter: drop-shadow(0 10px 24px rgba(20, 22, 30, 0.14));
}
@media (min-width: 700px) {
  .hero-logo-lockup {
    /* Também limitado pela altura da tela, para logo + botão caberem acima da seta. */
    width: clamp(200px, min(30vw, 44vh), 380px);
  }
}
.hero-collage__center .btn {
  padding: 15px 34px;
  font-size: 15.5px;
}

.hero-nav {
  position: absolute;
  z-index: 20;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}
.hero-nav button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.45);
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}
.hero-nav button.is-active {
  background: var(--white);
  transform: scale(1.25);
}
.hero-scroll {
  position: absolute;
  z-index: 20;
  bottom: 54px;
  left: 50%;
  transform: translateX(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  /* Fundo escuro translúcido: visível tanto no slide claro quanto no escuro. */
  background: rgba(20, 22, 30, 0.38);
  animation: heroScrollBounce 2s ease-in-out infinite;
}
.hero-scroll:hover {
  background: rgba(20, 22, 30, 0.55);
}
.hero-scroll svg {
  width: 18px;
  height: 18px;
}
@keyframes heroScrollBounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 6px); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-scroll {
    animation: none;
  }
}
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  font-size: 20px;
  z-index: 20;
  display: none;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(2px);
}
.hero-arrow:hover {
  background: rgba(255, 255, 255, 0.3);
}
.hero-arrow--prev {
  left: 18px;
}
.hero-arrow--next {
  right: 18px;
}
@media (min-width: 700px) {
  .hero-arrow {
    display: flex;
  }
}

/* =========================================================
   Serviços
   ========================================================= */
.services {
  display: grid;
  gap: 48px;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) {
  .services {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
  }
}
.service-card {
  text-align: center;
  transition: transform 0.3s var(--ease);
}
.service-card:hover {
  transform: translateY(-4px);
}
.service-card__icon {
  width: clamp(150px, 16vw, 190px);
  height: clamp(150px, 16vw, 190px);
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 26px;
  transition: box-shadow 0.3s var(--ease);
}
.service-card:hover .service-card__icon {
  box-shadow: var(--shadow-md);
}
.service-card h3 {
  font-weight: 400;
  font-size: 26px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.service-card p {
  color: var(--text-light);
  margin-bottom: 26px;
}
.service-card__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
  margin: -4px 0 22px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: var(--bg-blue-start);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--accent-start);
  transition: background 0.25s var(--ease), transform 0.25s var(--ease), gap 0.25s var(--ease);
}
.service-card__link svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  transition: transform 0.25s var(--ease);
}
.service-card__link:hover {
  background: var(--bg-blue-end);
  gap: 9px;
}
.service-card__link:hover svg {
  transform: translateX(2px);
}

/* =========================================================
   Quem somos
   ========================================================= */
.about {
  display: grid;
  gap: 48px;
  align-items: center;
}
@media (min-width: 950px) {
  .about {
    grid-template-columns: 1.1fr 0.9fr;
  }
  .about--reverse {
    grid-template-columns: 0.9fr 1.1fr;
  }
  .about--reverse .about__media {
    order: 2;
  }
}
.about__lede {
  font-size: 18px;
  color: var(--text);
}
.about__media {
  display: flex;
  justify-content: center;
}
.about__media img {
  width: min(340px, 100%);
  filter: drop-shadow(0 16px 32px rgba(13, 47, 74, 0.16));
}

.accordion {
  border-top: 1px solid var(--border);
  margin-bottom: 28px;
}
.accordion-item {
  border-bottom: 1px solid var(--border);
}
.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: none;
  border: none;
  text-align: left;
  padding: 18px 4px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  color: var(--heading);
}
.accordion-trigger__label {
  display: flex;
  align-items: center;
  gap: 12px;
}
.accordion-trigger__icon {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--bg-blue-start);
  color: var(--accent-start);
  display: flex;
  align-items: center;
  justify-content: center;
}
.accordion-trigger__icon svg {
  width: 17px;
  height: 17px;
}
.accordion-trigger .chevron {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease);
}
.accordion-trigger[aria-expanded="true"] .chevron {
  background: linear-gradient(135deg, var(--accent-start), var(--accent-end));
  color: var(--white);
  transform: rotate(180deg);
}
.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease);
}
.accordion-panel p {
  padding: 0 4px 20px;
  color: var(--text-light);
}

/* =========================================================
   Portfólio
   ========================================================= */
.portfolio-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}
.filter-btn {
  border: 1px solid var(--border);
  background: var(--white);
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  font-weight: 500;
  font-size: 14px;
  color: var(--text);
  transition: all 0.25s var(--ease);
}
.filter-btn:hover {
  border-color: var(--accent-start);
}
.filter-btn.is-active {
  background: linear-gradient(135deg, var(--accent-start), var(--accent-end));
  color: var(--white);
  border-color: transparent;
}

.portfolio-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 700px) {
  .portfolio-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 1050px) {
  .portfolio-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
.portfolio-item {
  position: relative;
  border: none;
  padding: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--bg-alt);
}
.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.portfolio-item:hover img {
  transform: scale(1.08);
}
.portfolio-item__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 22, 30, 0) 40%, rgba(20, 22, 30, 0.65) 100%);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  display: flex;
  align-items: flex-end;
  padding: 12px;
  color: var(--white);
}
.portfolio-item:hover .portfolio-item__overlay,
.portfolio-item:focus-visible .portfolio-item__overlay {
  opacity: 1;
}
.portfolio-item__overlay svg {
  width: 22px;
  height: 22px;
}
.portfolio-item[hidden] {
  display: none;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(10, 12, 16, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.lightbox.is-open {
  display: flex;
}
.lightbox__figure {
  max-width: min(1100px, 92vw);
  max-height: 86vh;
  text-align: center;
}
.lightbox__figure img {
  max-height: 82vh;
  max-width: 100%;
  width: auto;
  margin: 0 auto;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
}
.lightbox__count {
  color: rgba(255, 255, 255, 0.75);
  margin-top: 14px;
  font-size: 14px;
}
.lightbox__close,
.lightbox__arrow {
  position: absolute;
  border: none;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.lightbox__close {
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  font-size: 20px;
}
.lightbox__arrow {
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  font-size: 22px;
}
.lightbox__arrow--prev {
  left: 12px;
}
.lightbox__arrow--next {
  right: 12px;
}
.lightbox__close:hover,
.lightbox__arrow:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* =========================================================
   Depoimentos
   ========================================================= */
.testimonials {
  position: relative;
  background: linear-gradient(135deg, #3fc6f0 0%, #2f6fe0 100%);
  border-radius: 24px;
  padding: 44px 56px;
  box-shadow: var(--shadow-lg);
}
.testimonials__title {
  color: var(--white);
  text-align: center;
  font-size: clamp(19px, 2.6vw, 24px);
  margin-bottom: 20px;
}
.testimonial-track {
  position: relative;
  min-height: 200px;
}
.testimonial {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s var(--ease);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.testimonial.is-active {
  opacity: 1;
  visibility: visible;
  position: relative;
}
.testimonial img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 10px;
  border: 2px solid rgba(255, 255, 255, 0.6);
}
.testimonial blockquote {
  margin: 0 0 18px;
  font-size: 15.5px;
  color: rgba(255, 255, 255, 0.96);
  line-height: 1.6;
  max-width: 560px;
}
.testimonial cite {
  font-style: normal;
  font-weight: 700;
  font-size: 14px;
  color: var(--white);
  display: block;
}
.testimonial cite span {
  display: block;
  font-weight: 400;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.8);
  text-transform: none;
  letter-spacing: 0;
  margin-top: 1px;
}
.testimonial-nav button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.testimonial-nav button:hover {
  background: rgba(255, 255, 255, 0.18);
}
.testimonial-nav [data-dir="prev"] {
  left: -34px;
}
.testimonial-nav [data-dir="next"] {
  right: -34px;
}
.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 22px;
}
.testimonial-dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}
.testimonial-dots button.is-active {
  background: var(--white);
  transform: scale(1.3);
}
@media (max-width: 560px) {
  .testimonials {
    padding: 38px 26px;
  }
  .testimonial-nav [data-dir="prev"] {
    left: -4px;
  }
  .testimonial-nav [data-dir="next"] {
    right: -4px;
  }
}

/* =========================================================
   Contato
   ========================================================= */
.contact {
  display: grid;
  gap: 40px;
  align-items: start;
}
@media (min-width: 950px) {
  .contact {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 56px;
  }
}
.contact-info h2 {
  text-align: left;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 22px;
}
.contact-item__icon {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-start);
}
.contact-item__icon--whatsapp {
  background: #e5f9ee;
  color: var(--whatsapp-dark);
}
.contact-item__icon svg {
  width: 22px;
  height: 22px;
}
.contact-item strong {
  display: block;
  color: var(--heading);
  font-size: 16px;
}
.contact-item span {
  color: var(--text-light);
  font-size: 14px;
}
.social-links {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}
.social-links a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s var(--ease);
}
.social-links a:hover {
  background: linear-gradient(135deg, var(--accent-start), var(--accent-end));
  border-color: transparent;
  color: var(--white);
}
.social-links svg {
  width: 18px;
  height: 18px;
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.form-row {
  margin-bottom: 14px;
}
.form-row label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--heading);
  margin-bottom: 5px;
}
.form-row input,
.form-row textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: 14.5px;
  color: var(--heading);
  background: var(--bg-alt);
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--accent-start);
  background: var(--white);
}
.form-row textarea {
  resize: vertical;
  min-height: 84px;
}
.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-feedback {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  display: none;
}
.form-feedback.is-visible {
  display: block;
}
.form-feedback--success {
  background: #e6f7ee;
  color: #17794f;
}
.form-feedback--error {
  background: #fdecec;
  color: #b3261e;
}

.map-frame {
  margin-top: 64px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.map-frame iframe {
  width: 100%;
  height: 380px;
  border: 0;
  display: block;
}

/* =========================================================
   Botões flutuantes
   ========================================================= */
.floating-actions {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 800;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.fab {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  box-shadow: var(--shadow-md);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), opacity 0.25s var(--ease), visibility 0.25s var(--ease);
}
.fab:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.whatsapp-fab {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 800;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--whatsapp);
  color: var(--white);
  padding: 13px 22px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 14px;
  box-shadow: var(--shadow-md);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), opacity 0.25s var(--ease), visibility 0.25s var(--ease);
}
.whatsapp-fab:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
/* Some quando o rodapé entra na tela (classe aplicada pelo main.js). */
.whatsapp-fab.is-hidden {
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  pointer-events: none;
}
.whatsapp-fab svg {
  width: 22px;
  height: 22px;
  flex: none;
}
.fab--top {
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--heading);
  opacity: 0;
  visibility: hidden;
  width: 46px;
  height: 46px;
}
.fab--top.is-visible {
  opacity: 1;
  visibility: visible;
}
.fab--top svg {
  width: 18px;
  height: 18px;
}

/* =========================================================
   Rodapé
   ========================================================= */
.site-footer {
  background: #1b1d22;
  color: rgba(255, 255, 255, 0.75);
  padding: 26px 0;
}
.footer-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 32px;
}
.footer-bar__brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.footer-bar__brand img {
  height: 36px;
  width: auto;
  flex: none;
}
.footer-bar__brand p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.7);
}
.footer-bar__brand a {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 600;
}
.footer-bar__brand a:hover {
  color: var(--white);
}
.footer-bar__nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
}
.footer-bar__nav a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.2s var(--ease);
}
.footer-bar__nav a:hover {
  color: var(--white);
}

/* =========================================================
   Barra de cookies
   ========================================================= */
.cookie-bar {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  max-width: 560px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 22px;
  z-index: 1100;
  transform: translateY(140%);
  transition: transform 0.4s var(--ease);
}
.cookie-bar.is-visible {
  transform: translateY(0);
}
.cookie-bar p {
  font-size: 13.5px;
  color: var(--text-light);
  margin-bottom: 16px;
}
.cookie-bar__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.cookie-bar .btn {
  padding: 10px 20px;
  font-size: 13px;
}

/* =========================================================
   Páginas internas (envidraçamento, serralheria etc.)
   ========================================================= */
.page-hero {
  padding: calc(var(--header-h) + 48px) 0 48px;
  background: var(--white);
}
.page-hero__inner {
  display: grid;
  gap: 36px;
  align-items: center;
  text-align: center;
}
@media (min-width: 800px) {
  .page-hero__inner {
    grid-template-columns: 1.1fr 0.9fr;
    text-align: left;
  }
  .page-hero__media {
    order: 2;
  }
}
.page-hero__kicker {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-start);
  margin-bottom: 14px;
}
.page-hero h1 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  margin-bottom: 18px;
  background: linear-gradient(90deg, #3771c8 0%, #26b1e0 40%, #26b1e0 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #26b1e0; /* alternativa para navegadores sem suporte a background-clip:text */
}
@supports not (background-clip: text) {
  .page-hero h1 {
    -webkit-text-fill-color: initial;
    color: #26b1e0;
  }
}
.page-hero p {
  color: var(--text);
  font-size: 17px;
}
.page-hero .btn {
  margin-top: 12px;
}
.page-hero__media {
  display: flex;
  justify-content: center;
}
.page-hero__media img {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  display: block;
  filter: drop-shadow(0 14px 26px rgba(20, 22, 30, 0.16));
}
.page-hero__media--photo img {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  max-width: 100%;
}

.info-grid {
  display: grid;
  gap: 28px;
}
@media (min-width: 700px) {
  .info-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}
.info-grid > div,
.info-card {
  background: var(--white);
  border-radius: 13px;
  box-shadow: 0 0 16px rgba(20, 22, 30, 0.1);
  padding: 36px;
}
.info-card {
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
}
.info-card h2 {
  font-size: 22px;
  margin-bottom: 12px;
}
.info-card p {
  color: var(--text-light);
  margin: 0;
}
.info-grid h2 {
  font-size: 22px;
  margin-bottom: 12px;
}
.info-grid p {
  color: var(--text-light);
  margin-bottom: 0;
}

.banner-section {
  padding: 20px 0;
}
.banner-section__card {
  position: relative;
  min-height: 320px;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  align-items: center;
  color: var(--white);
  text-align: left;
  padding: 44px;
}
.banner-section__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: bannerCrossfade 11s ease-in-out infinite;
}
.banner-section__bg:nth-child(1) {
  animation-delay: 0s;
}
.banner-section__bg:nth-child(2) {
  animation-delay: 5.5s;
}
.banner-section__card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(9, 33, 56, 0.55) 0%, rgba(9, 33, 56, 0.15) 70%);
}
@keyframes bannerCrossfade {
  0%, 45% { opacity: 1; transform: scale(1.06); }
  50%, 95% { opacity: 0; transform: scale(1); }
  100% { opacity: 1; transform: scale(1.06); }
}
@media (prefers-reduced-motion: reduce) {
  .banner-section__bg {
    animation: none;
    opacity: 1;
  }
  .banner-section__bg:nth-child(2) {
    display: none;
  }
}
.banner-section__inner {
  position: relative;
  z-index: 1;
  max-width: 480px;
}
.banner-section h2 {
  color: var(--white);
  font-size: clamp(22px, 3.4vw, 28px);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}
.banner-section p {
  color: rgba(255, 255, 255, 0.95);
  font-size: 15px;
  margin-bottom: 22px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
}
.banner-section .btn--accent {
  background: var(--whatsapp);
}
.banner-section .btn--accent:hover {
  background: var(--whatsapp-dark);
}
@media (max-width: 700px) {
  .banner-section__card {
    padding: 32px 24px;
    min-height: 380px;
  }
}

.card-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 980px) {
  .card-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
/* Variante 4-3-3-3: usada quando há 13 cartões, para não sobrar 1 sozinho
   na última linha de um grid de 3 colunas (13 = 4+3+3+3). */
@media (min-width: 980px) {
  .card-grid--4-3-3-3 {
    grid-template-columns: repeat(12, 1fr);
  }
  .card-grid--4-3-3-3 .photo-card:nth-child(-n+4) {
    grid-column: span 3;
  }
  .card-grid--4-3-3-3 .photo-card:nth-child(n+5) {
    grid-column: span 4;
  }
}
.photo-card {
  display: flex;
  flex-direction: column;
}
.photo-card__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: var(--radius-md);
}
.photo-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.photo-card:hover .photo-card__media img {
  transform: scale(1.06);
}
.photo-card__body {
  padding: 22px 24px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.photo-card h3 {
  font-size: 19px;
  margin-bottom: 10px;
}
.photo-card h3 a {
  color: inherit;
}
.photo-card h3 a:hover {
  color: var(--accent-start);
}
.photo-card p {
  color: var(--text-light);
  font-size: 14.5px;
  margin-bottom: 20px;
  flex: 1;
}
.photo-card .btn {
  align-self: flex-start;
  padding: 10px 20px;
  font-size: 13.5px;
}

/* =========================================================
   Banners de foto simples (ex.: página Construtoras)
   As imagens são artes prontas (logo/texto dentro), então aparecem
   inteiras, na proporção original — nunca cortadas.
   ========================================================= */
.photo-banners {
  margin-top: var(--header-h);
}
.photo-banners--mobile-only + .photo-banners {
  margin-top: 0;
}
@media (min-width: 700px) {
  .photo-banners--mobile-only {
    display: none;
  }
  .photo-banners--mobile-only + .photo-banners {
    margin-top: var(--header-h);
  }
}
.photo-banner {
  display: block;
  width: 100%;
  height: auto;
}

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