/* =====================================================
   Inoxtech Vidros e Esquadrias - stylesheet
   Palette extraída da logo (original enviada)
   ===================================================== */

:root {
  /* Cores principais */
  --primary: #2c5f72;        /* azul-petróleo do escudo */
  --primary-dark: #1f4855;
  --primary-light: #3a7d94;
  --secondary: #4a9db8;      /* azul "tech" */
  --accent: #5ab0c8;

  /* Cinzas */
  --gray-900: #2f3a3f;       /* "Inox" escuro */
  --gray-700: #4a5860;
  --gray-500: #6b7880;
  --gray-300: #c9d1d6;
  --gray-100: #eef2f4;
  --gray-50:  #f7f9fa;

  --white: #ffffff;
  --bg: #ffffff;
  --shadow-sm: 0 2px 6px rgba(31, 72, 85, 0.08);
  --shadow-md: 0 6px 18px rgba(31, 72, 85, 0.12);
  --shadow-lg: 0 12px 32px rgba(31, 72, 85, 0.18);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;

  --container: 1240px;
  --header-h: 96px;

  --easing: cubic-bezier(.22, .61, .36, 1);
}

/* ===== Reset básico ===== */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Montserrat', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--gray-900);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

ul { list-style: none; padding: 0; margin: 0; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ============ HEADER ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--easing),
              box-shadow .25s var(--easing),
              background .25s var(--easing);
}

.site-header.is-scrolled {
  border-bottom-color: var(--gray-100);
  box-shadow: var(--shadow-sm);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px 24px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-logo {
  height: 64px;
  width: auto;
  object-fit: contain;
  transition: transform .3s var(--easing);
}

.brand:hover .brand-logo { transform: scale(1.03); }

/* ===== Navegação desktop ===== */
.primary-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  flex: 1;
  justify-content: flex-end;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-link {
  position: relative;
  display: inline-block;
  padding: 6px 2px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .2px;
  color: var(--gray-700);
  transition: color .25s var(--easing);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  height: 2px;
  width: 0;
  background: var(--secondary);
  transition: width .3s var(--easing);
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--secondary);
  outline: none;
}

.nav-link:hover::after,
.nav-link:focus-visible::after {
  width: 100%;
}

/* ===== CTA WhatsApp (retangular azul) ===== */
.cta-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  background: var(--primary);
  color: var(--white);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .3px;
  border-radius: var(--radius-sm);
  box-shadow: 0 6px 14px rgba(44, 95, 114, .25);
  transition: background .25s var(--easing),
              transform .25s var(--easing),
              box-shadow .25s var(--easing);
}

.cta-whatsapp:hover,
.cta-whatsapp:focus-visible {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(44, 95, 114, .35);
  outline: none;
}

.cta-whatsapp .wa-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* ===== Botão hamburguer (mobile) ===== */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 22px;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  z-index: 1100;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background: var(--gray-700);
  border-radius: 3px;
  transition: transform .3s var(--easing),
              opacity .25s var(--easing),
              background .25s var(--easing);
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
  background: var(--primary);
}
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
  background: var(--primary);
}

/* ============ HERO ============ */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: clamp(560px, 82vh, 860px);
  padding: clamp(80px, 10vh, 140px) 0 clamp(96px, 12vh, 150px);
  overflow: hidden;
  background: var(--primary-dark);
}

/* --- camada de imagem --- */
.hero-media {
  position: absolute;
  inset: 0;
  z-index: -3;
  overflow: hidden;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 42%;
  transform: scale(1.03);
  animation: heroZoom 18s var(--easing) forwards;
}

/* manchas de cor (azuis da logo) */
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(30px);
  opacity: .3;
  mix-blend-mode: screen;
  will-change: transform;
}

.hero-blob--1 {
  width: 46vw;
  height: 46vw;
  min-width: 380px;
  min-height: 380px;
  top: -14%;
  right: -8%;
  background: radial-gradient(circle at 35% 35%, var(--secondary), rgba(74, 157, 184, 0) 70%);
  animation: floatBlob 14s ease-in-out infinite alternate;
}

.hero-blob--2 {
  width: 40vw;
  height: 40vw;
  min-width: 320px;
  min-height: 320px;
  bottom: -22%;
  left: -10%;
  background: radial-gradient(circle at 60% 40%, var(--primary-light), rgba(44, 95, 114, 0) 72%);
  opacity: .34;
  animation: floatBlob 17s ease-in-out infinite alternate-reverse;
}

.hero-blob--3 {
  width: 28vw;
  height: 28vw;
  min-width: 240px;
  min-height: 240px;
  top: 42%;
  left: 42%;
  background: radial-gradient(circle at 50% 50%, var(--accent), rgba(90, 176, 200, 0) 70%);
  opacity: .18;
  filter: blur(24px);
  animation: floatBlob 21s ease-in-out infinite alternate;
}

/* --- escurecimento/blur da imagem para destacar o texto --- */
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(120% 90% at 18% 45%, rgba(20, 44, 55, .78) 0%, rgba(20, 44, 55, .44) 42%, rgba(20, 44, 55, .06) 72%, rgba(20, 44, 55, .2) 100%),
    linear-gradient(105deg, rgba(31, 72, 85, .86) 0%, rgba(31, 72, 85, .44) 42%, rgba(31, 72, 85, .1) 70%, rgba(31, 72, 85, .34) 100%),
    linear-gradient(180deg, rgba(31, 72, 85, .38) 0%, rgba(31, 72, 85, 0) 22%, rgba(15, 25, 30, .42) 100%);
}

/* grão sutil evita banding no gradiente */
.hero-grain {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .06;
  background-image: radial-gradient(rgba(255, 255, 255, .55) .5px, transparent .6px);
  background-size: 4px 4px;
  mix-blend-mode: overlay;
}

/* --- conteúdo --- */
.hero-inner {
  position: relative;
  z-index: 1;
}

.hero-copy {
  max-width: 760px;
  color: var(--white);
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
  padding: 8px 16px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 2.1px;
  text-transform: uppercase;
  color: var(--gray-100);
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(170, 205, 220, .38);
  border-radius: 999px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.hero-eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
}

.hero-title {
  margin: 0 0 22px;
  font-size: clamp(2.39rem, 6.8vw, 4.97rem);
  font-weight: 700;
  line-height: .98;
  letter-spacing: -1.5px;
  text-wrap: balance;
  text-shadow: 0 12px 40px rgba(10, 25, 32, .55);
}

.hero-title-line {
  display: block;
  background: linear-gradient(100deg, #ffffff 0%, #eaf4f8 45%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-title-line + .hero-title-line {
  background: linear-gradient(100deg, var(--accent) 0%, var(--secondary) 55%, #ffffff 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-subtitle {
  max-width: 640px;
  margin: 0 0 34px;
  font-size: clamp(.94rem, 1.47vw, 1.18rem);
  font-weight: 400;
  line-height: 1.65;
  color: rgba(255, 255, 255, .9);
  text-shadow: 0 4px 22px rgba(10, 25, 32, .5);
}

/* --- botões --- */
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 38px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-family: inherit;
  font-size: 13.8px;
  font-weight: 600;
  letter-spacing: .3px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .25s var(--easing),
              box-shadow .25s var(--easing),
              background .25s var(--easing),
              border-color .25s var(--easing);
}

.btn .wa-icon { width: 20px; height: 20px; }

.btn--primary {
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  color: var(--white);
  box-shadow: 0 10px 26px rgba(31, 72, 85, .45);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(31, 72, 85, .55);
  outline: none;
}

.btn--ghost {
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .38);
  color: var(--white);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  background: rgba(255, 255, 255, .2);
  border-color: var(--accent);
  transform: translateY(-2px);
  outline: none;
}

/* --- selos --- */
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-badges li {
  padding: 8px 15px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--gray-100);
  background: rgba(20, 44, 55, .42);
  border: 1px solid rgba(170, 205, 220, .26);
  border-radius: 999px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

/* --- animações --- */
@keyframes heroZoom {
  from { transform: scale(1.03); }
  to   { transform: scale(1.1); }
}

@keyframes floatBlob {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(-4%, 6%, 0) scale(1.12); }
}

.hero-copy > * {
  opacity: 0;
  transform: translateY(24px);
  animation: heroReveal .9s var(--easing) forwards;
}

.hero-eyebrow   { animation-delay: .05s; }
.hero-title      { animation-delay: .15s; }
.hero-subtitle   { animation-delay: .3s; }
.hero-actions    { animation-delay: .45s; }
.hero-badges     { animation-delay: .6s; }

@keyframes heroReveal {
  to { opacity: 1; transform: none; }
}

/* ===== reveal on scroll (ativado via JS) ===== */
.has-reveal .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s var(--easing), transform .7s var(--easing);
}

.has-reveal .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ============ CABEÇALHO DE SEÇÃO (padrão) ============ */
.section-head {
  max-width: 720px;
  margin: 0 auto clamp(48px, 6vw, 76px);
  text-align: center;
}

.section-eyebrow {
  display: inline-block;
  margin: 0 0 14px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(74, 157, 184, .12);
  border: 1px solid rgba(74, 157, 184, .32);
  border-radius: 999px;
}

.section-title {
  margin: 0;
  font-size: clamp(1.9rem, 4.4vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -1px;
  color: var(--gray-900);
  text-wrap: balance;
}

.section-lead {
  margin: 18px 0 0;
  font-size: 1.03rem;
  line-height: 1.7;
  color: var(--gray-500);
}

/* ============ SERVIÇOS DE QUALIDADE ============ */
.services {
  position: relative;
  padding: clamp(72px, 9vw, 120px) 0;
  background: var(--white);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.4vw, 32px);
}

.card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .4s var(--easing),
              box-shadow .4s var(--easing),
              border-color .4s var(--easing);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(74, 157, 184, .38);
}

.card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--gray-100);
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s var(--easing);
}

.card:hover .card-media img {
  transform: scale(1.07);
}

/* véu azul sobre a foto, na cor da marca */
.card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(31, 72, 85, .08) 0%, rgba(31, 72, 85, .5) 100%);
  transition: background .4s var(--easing);
}

.card:hover .card-media::after {
  background: linear-gradient(180deg, rgba(74, 157, 184, .12) 0%, rgba(31, 72, 85, .42) 100%);
}

.card-index {
  position: absolute;
  top: 18px;
  left: 20px;
  z-index: 2;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--white);
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(20, 44, 55, .5);
  border: 1px solid rgba(255, 255, 255, .3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 28px 26px 32px;
}

.card-title {
  margin: 0 0 12px;
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--gray-900);
  transition: color .3s var(--easing);
}

.card:hover .card-title {
  color: var(--primary);
}

.card-text {
  margin: 0;
  font-size: 15px;
  line-height: 1.72;
  color: var(--gray-500);
}

/* ============ BEM VINDO À INOXTECH ============ */
.about {
  position: relative;
  padding: clamp(72px, 9vw, 120px) 0;
  background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 45%);
  overflow: hidden;
}

/* mancha decorativa no canto */
.about::before {
  content: "";
  position: absolute;
  top: -140px;
  right: -140px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(74, 157, 184, .18), rgba(74, 157, 184, 0) 70%);
  filter: blur(60px);
  pointer-events: none;
}

.about-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, 340px) 1fr;
  gap: clamp(36px, 5vw, 80px);
  align-items: start;
}

.about-head {
  position: sticky;
  top: calc(var(--header-h) + 32px);
}

.about-rule {
  display: block;
  width: 74px;
  height: 4px;
  margin-top: 24px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.about-body > p {
  margin: 0 0 22px;
  font-size: 16.5px;
  line-height: 1.85;
  color: var(--gray-700);
}

.about-body .about-lead {
  font-size: 1.14rem;
  line-height: 1.8;
  color: var(--gray-900);
  font-weight: 500;
  padding-left: 22px;
  border-left: 3px solid var(--accent);
  margin-bottom: 30px;
}

.about-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 38px 0 0;
  padding: 28px 0 0;
  list-style: none;
  border-top: 1px solid var(--gray-100);
}

.about-facts li {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.about-fact-value {
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
}

.about-fact-label {
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--gray-500);
}

.about-cta {
  margin-top: 36px;
}

/* ============ VÍDEO 100% WIDTH ============ */
.showreel {
  position: relative;
  width: 100%;
  background: var(--primary-dark);
}

.showreel-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.showreel-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* escurece a base pra legenda ficar legível */
.showreel-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(20, 44, 55, .42) 0%, rgba(20, 44, 55, .05) 38%, rgba(15, 25, 30, .78) 100%),
    linear-gradient(90deg, rgba(31, 72, 85, .45) 0%, rgba(31, 72, 85, 0) 55%);
}

.showreel-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px clamp(28px, 5vw, 56px);
  text-align: left;
}

.showreel-title {
  margin: 0 0 6px;
  font-size: clamp(1.4rem, 3.2vw, 2.3rem);
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--white);
  text-shadow: 0 6px 24px rgba(10, 25, 32, .6);
}

.showreel-text {
  margin: 0;
  font-size: 14px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .78);
}

/* ============ FOOTER ============ */
.site-footer {
  background: var(--gray-900);
  color: var(--gray-100);
  padding: 60px 0 28px;
  margin-top: 60px;
}

.footer-container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.footer-brand { flex-shrink: 0; }

.footer-logo {
  height: 72px;
  width: auto;
  object-fit: contain;
  /* Inverte um toque do azul pra ficar mais pop no fundo escuro */
  filter: brightness(1.05);
}

.footer-info {
  text-align: right;
  flex: 1;
  min-width: 240px;
}

.footer-tagline {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 500;
  color: var(--white);
}

.footer-copy {
  margin: 0;
  font-size: 14px;
  color: var(--gray-300);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  margin: 0 0 14px;
  font-style: normal;
}

.footer-contact-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  color: var(--gray-300);
}

.footer-contact-item svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--accent);
}

.footer-contact-item a {
  color: var(--gray-100);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .25s var(--easing), border-color .25s var(--easing);
}

.footer-contact-item a:hover,
.footer-contact-item a:focus-visible {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* ============ Floating WhatsApp ============ */
.floating-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(37, 211, 102, .35);
  z-index: 999;
  transition: transform .25s var(--easing),
              box-shadow .25s var(--easing);
  animation: pulse 2.4s infinite;
}

.floating-whatsapp svg {
  width: 30px;
  height: 30px;
}

.floating-whatsapp:hover {
  transform: scale(1.08);
  box-shadow: 0 14px 30px rgba(37, 211, 102, .5);
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 10px 24px rgba(37, 211, 102, .35), 0 0 0 0 rgba(37, 211, 102, .55); }
  50%      { box-shadow: 0 10px 24px rgba(37, 211, 102, .35), 0 0 0 14px rgba(37, 211, 102, 0); }
}

/* ============ RESPONSIVO ============ */
@media (max-width: 960px) {
  .hero {
    min-height: clamp(520px, 76vh, 720px);
    align-items: flex-end;
    padding: 96px 0 clamp(88px, 12vh, 120px);
  }

  .hero-image { object-position: 56% center; }

  /* escurece mais o topo pra não brigar com o logo fixo */
  .hero-scrim {
    background:
      radial-gradient(130% 80% at 30% 72%, rgba(20, 44, 55, .9) 0%, rgba(20, 44, 55, .62) 48%, rgba(20, 44, 55, .3) 100%),
      linear-gradient(180deg, rgba(31, 72, 85, .75) 0%, rgba(31, 72, 85, .3) 26%, rgba(20, 44, 55, .78) 78%, rgba(15, 25, 30, .9) 100%);
  }

  .hero-blob--1 { opacity: .24; }
  .hero-blob--2 { opacity: .28; }
  .hero-blob--3 { opacity: .13; left: 60%; }

  .hero-copy { max-width: 640px; }
  .hero-subtitle { max-width: 100%; }

  /* --- cards: 1 coluna em tablet estreito, 2 em iPad --- */
  .cards { grid-template-columns: repeat(2, 1fr); }

  .card:last-child { grid-column: 1 / -1; max-width: 460px; margin: 0 auto; }

  /* --- sobre: título sobe pro topo --- */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .about-head { position: static; }


  .nav-toggle { display: flex; }

  .primary-nav {
    position: fixed;
    inset: 0;
    background: var(--white);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
    padding: 80px 24px 40px;
    transform: translateX(100%);
    transition: transform .35s var(--easing);
    z-index: 1050;
  }

  .primary-nav.is-open { transform: translateX(0); }

  .nav-list {
    flex-direction: column;
    gap: 28px;
    text-align: center;
  }

  .nav-link {
    font-size: 22px;
    color: var(--gray-700);
  }

  .cta-whatsapp {
    width: 100%;
    max-width: 280px;
    justify-content: center;
    padding: 14px 22px;
    font-size: 16px;
  }

  /* trava scroll quando menu mobile tá aberto */
  body.menu-open { overflow: hidden; }

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

@media (max-width: 560px) {
  .hero {
    min-height: 100svh;
    padding: 88px 0 104px;
  }

  .hero-image { object-position: 56% center; }

  .hero-title {
    font-size: clamp(1.75rem, 8.5vw, 2.39rem);
    letter-spacing: -1px;
    line-height: 1.02;
  }

  /* mantém "em Esquadrias" na mesma linha */
  .hero-title-line { white-space: nowrap; }

  .hero-subtitle { font-size: .92rem; margin-bottom: 28px; }

  .hero-eyebrow {
    font-size: 10.1px;
    letter-spacing: 1.5px;
    padding: 7px 14px;
    margin-bottom: 16px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-bottom: 28px;
  }

  .btn { padding: 14px 22px; }

  .hero-badges {
    gap: 8px;
  }

  .hero-badges li {
    padding: 6px 12px;
    font-size: 10.6px;
  }

  /* --- cards: 1 coluna --- */
  .cards { grid-template-columns: 1fr; gap: 20px; }

  .card:last-child { max-width: none; }

  .card-body { padding: 24px 20px 26px; }

  .card-title { font-size: 1.2rem; }

  /* --- sobre --- */
  .about-body > p { font-size: 15.5px; line-height: 1.8; }

  .about-body .about-lead {
    font-size: 1.05rem;
    padding-left: 16px;
  }

  .about-facts { grid-template-columns: 1fr; gap: 14px; margin-top: 30px; padding-top: 24px; }

  .about-facts li {
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--gray-100);
  }

  .about-facts li:last-child { border-bottom: 0; padding-bottom: 0; }

  .about-fact-value { font-size: 1.05rem; }

  .about-cta { width: 100%; }

  /* --- vídeo: corta o 16:9 pra não ficar uma tira estreita --- */
  .showreel-media { aspect-ratio: 4 / 3; }

  .showreel-caption { padding: 0 20px 24px; }

  .footer-container {
    flex-direction: column;
    text-align: center;
  }

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

  .footer-contact { align-items: center; }

  .floating-whatsapp {
    width: 50px;
    height: 50px;
    bottom: 16px;
    right: 16px;
  }
  .floating-whatsapp svg { width: 26px; height: 26px; }
}

/* respeita usuários que preferem menos movimento */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .hero-image,
  .hero-blob { animation: none; }

  .has-reveal .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero-copy > * {
    opacity: 1;
    transform: none;
    animation: none;
  }
}