/* Identidade alinhada à /lajes: azul e branco, Montserrat + Open Sans, CTA laranja. */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/Montserrat-600-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/Montserrat-600-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/Montserrat-700-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/Montserrat-700-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../fonts/Montserrat-800-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../fonts/Montserrat-800-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/OpenSans-400-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Open Sans';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/OpenSans-400-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/OpenSans-400-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/OpenSans-400-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/OpenSans-600-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/OpenSans-600-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/OpenSans-700-normal-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/OpenSans-700-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --blue: #1A6AAF;
  --blue-deep: #155A96;
  --gray: #545B6C;
  --ink: #545B6C;
  --ink-deep: #3D4350;
  --white: #FFFFFF;
  --soft: #F4F6F8;
  --line: #E3E6EB;
  --cta: #F05A00;
  --cta-hover: #D64F00;
  --max: 46rem;
  --title: "Montserrat", "Open Sans", "Segoe UI", sans-serif;
  --sans: "Open Sans", "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--white);
  font-size: 1.05rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
/* Nunca ampliar além da resolução real (fotos do site atual têm ~300 px). */
img.photo { width: auto; max-width: min(100%, 300px); margin-inline: auto; }
img.photo-wide { width: auto; max-width: min(100%, 940px); margin-inline: auto; }
img.logo-client { width: auto; max-width: min(100%, 220px); max-height: 90px; object-fit: contain; margin-inline: auto; }
a { color: var(--blue); }
a:hover { color: var(--blue-deep); }
.wrap { width: min(var(--max), calc(100% - 48px)); margin-inline: auto; }
h1, h2, h3, h4 {
  font-family: var(--title);
  color: var(--ink-deep);
  line-height: 1.25;
  margin: 0 0 0.7rem;
  text-wrap: balance;
}
h1 { font-size: 2rem; font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: 1.45rem; font-weight: 700; }
h3 { font-size: 1.12rem; font-weight: 700; }
p { margin: 0 0 1rem; }
p, li { max-width: 68ch; }
ul.plain, ol.plain { margin: 0 0 1.2rem; padding-left: 1.2rem; }
ul.plain li, ol.plain li { margin: 0 0 0.4rem; }
.lede { font-size: 1.08rem; color: var(--ink-deep); }
.cred { font-size: 0.92rem; color: var(--gray); margin: 0 0 1.2rem; }
.meta-line { font-size: 0.92rem; color: var(--gray); margin: 0 0 1rem; }
.section { padding: 3.5rem 0; }
.section + .section { border-top: 1px solid var(--line); }
.section.soft { background: var(--soft); border-top: 0; border-bottom: 0; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* Header */
.top {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid var(--line);
}
.top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 0;
  position: relative;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink-deep);
  min-height: 44px;
}
.logo:hover { color: var(--ink-deep); text-decoration: none; }
.logo img { height: 44px; width: auto; }
.logo-name {
  font-family: var(--title);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.25;
}
nav.menu {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 1.15rem;
}
nav.menu a {
  color: var(--gray);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
}
nav.menu a:hover { color: var(--blue); }
nav.menu a[aria-current="page"] { color: var(--blue); }
.nav-toggle { display: none; }
.burger {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 6px;
  cursor: pointer;
  padding: 10px 9px;
}
.burger span,
.burger span::before,
.burger span::after {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--gray);
  position: relative;
}
.burger span::before,
.burger span::after { content: ""; position: absolute; left: 0; right: 0; }
.burger span::before { top: -7px; }
.burger span::after { top: 7px; }

/* Hero / intro */
.hero { padding: 3.2rem 0 2.4rem; }
.hero h1 { margin-bottom: 1rem; }
.eyebrow {
  font-family: var(--title);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 0.7rem;
}

/* CTA — empilhado no desktop e no celular, botão de verdade */
.cta-box { margin: 1.6rem 0 0; }
.cta-line {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0;
  font-family: var(--sans);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--ink-deep);
  line-height: 1.55;
  text-align: center;
  width: 100%;
}
.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45em;
  background: var(--cta);
  color: #fff;
  border: 0;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1.2;
  min-height: 48px;
  padding: 14px 28px;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(240, 90, 0, 0.28);
  white-space: nowrap;
  width: 100%;
  max-width: 22rem;
  cursor: pointer;
}
.btn-cta:hover,
.btn-cta:focus-visible {
  text-decoration: none;
  color: #fff;
  background: var(--cta-hover);
  box-shadow: 0 5px 14px rgba(214, 79, 0, 0.35);
}
.btn-cta:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}
.btn-cta svg { width: 1.15em; height: 1.15em; fill: #fff; flex: 0 0 auto; }
button.btn-cta { font-family: var(--sans); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 12px;
  border: 1px solid var(--blue);
  color: var(--blue);
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  background: var(--white);
}
.btn-secondary:hover { background: var(--soft); color: var(--blue-deep); }

/* Cards (coluna única) */
.card-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1.6rem; }
.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.7rem;
  padding: 0;
  background: transparent;
}
.card h3 { margin: 0.2rem 0 0; }
.card p { margin: 0; }
.card .btn-secondary, .card .btn-cta { margin-top: 0.4rem; }
.badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--blue-deep);
  background: #E8F1F9;
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
  margin: 0;
}
.badge.wait { color: #5C4800; background: #FFF4BF; }
.card.is-wait { opacity: 0.95; }
.card.is-wait a { pointer-events: none; }

/* Service block */
.service-block { padding: 0 0 2rem; }
.service-block:last-child { padding-bottom: 0; }
.service-block img.photo { margin: 0 auto 1rem; }

/* Filters */
.filters {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 0 0 2rem;
  padding: 0;
  list-style: none;
  align-items: stretch;
}
.filters a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.55rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink-deep);
  font-weight: 600;
  font-size: 0.95rem;
  background: var(--white);
}
.filters a:hover { border-color: var(--blue); color: var(--blue); }
.filters a[aria-current="page"] {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

/* Press / clients */
.press-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1.2rem; }
.press-list a { text-decoration: none; color: inherit; display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }
.press-list a:hover h3 { color: var(--blue); }
.press-list h3 { font-size: 1.02rem; }
.clients-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.2rem 1.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.clients-grid li {
  flex: 0 1 calc(50% - 0.7rem);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100px;
  padding: 0.6rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.clients-grid a { display: flex; align-items: center; justify-content: center; width: 100%; }

/* Gallery */
.gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 1.4rem 0 1.8rem;
}
.gallery figure { margin: 0; }
.gallery figcaption {
  font-size: 0.82rem;
  color: var(--gray);
  margin-top: 0.35rem;
  text-align: center;
  max-width: 300px;
}

/* Contact form */
form.form {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin: 1.5rem 0 0;
  width: 100%;
}
form.form label { font-weight: 600; font-size: 0.92rem; color: var(--ink-deep); }
form.form input,
form.form textarea {
  font-family: var(--sans);
  font-size: 1rem;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  margin: 0 0 0.7rem;
  width: 100%;
  background: var(--white);
  color: var(--ink-deep);
}
form.form textarea { min-height: 8rem; resize: vertical; }
form.form input:focus,
form.form textarea:focus {
  outline: 3px solid var(--blue);
  outline-offset: 1px;
  border-color: var(--blue);
}
.nao-aparece {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px; overflow: hidden;
}
.contact-data { margin: 0 0 1.5rem; }
.contact-data p { margin: 0 0 0.35rem; }
.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.2rem;
  list-style: none;
  margin: 0.4rem 0 0;
  padding: 0;
  justify-content: flex-start;
}
.socials a { font-weight: 600; }

.map-link { display: block; margin: 1.5rem 0 0; }
.map-link img { border-radius: 12px; border: 1px solid var(--line); }

/* Footer */
footer {
  background: var(--white);
  color: var(--gray);
  padding: 1.8rem 0 2.1rem;
  font-size: 0.88rem;
  border-top: 4px solid var(--blue);
}
.foot-inner { display: flex; flex-direction: column; gap: 1.1rem; }
.foot-brand { display: flex; align-items: center; gap: 0.55rem; }
.foot-brand img { height: 36px; width: auto; }
.foot-brand span {
  font-family: var(--title);
  font-weight: 700;
  color: var(--ink-deep);
  font-size: 0.9rem;
}
footer p { margin: 0.25rem 0; }
footer strong { color: var(--ink-deep); }
.foot-contacts { font-size: 0.85rem; color: #5E6573; }
.foot-email { font-size: 0.85rem; color: #7A8190; }
.foot-email a { color: #7A8190; text-decoration: none; }
.foot-email a:hover { color: var(--blue); }
.foot-social { display: flex; flex-wrap: wrap; gap: 0.75rem 1rem; margin: 0.6rem 0 0; padding: 0; list-style: none; }
.foot-social a { color: var(--gray); font-weight: 600; text-decoration: none; }
.foot-social a:hover { color: var(--blue); }
.foot-note { font-size: 0.8rem; color: #8A909C; }

/* Sticky CTA (celular; some when no CTA on screen) */
.cta-sticky { display: none; }
.cta-sticky.is-hidden { display: none !important; }

@media (max-width: 799px) {
  .wrap { width: min(var(--max), calc(100% - 32px)); }
  .logo-name { font-size: 0.86rem; }
  .burger { display: grid; place-items: center; }
  nav.menu {
    display: none;
    position: absolute;
    left: 0; right: 0;
    top: 100%;
    background: var(--white);
    padding: 0.7rem 16px 1rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 8px 18px rgba(84, 91, 108, 0.08);
  }
  .nav-toggle:checked ~ .menu { display: flex; }
  h1 { font-size: 1.7rem; }
  .section { padding: 2.6rem 0; }
  .hero { padding: 2.2rem 0 1.6rem; }
  .cta-sticky {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45em;
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 40;
    background: var(--cta);
    color: #fff;
    border: 0;
    font-family: var(--sans);
    font-weight: 700;
    font-size: 1.2rem;
    line-height: 1.2;
    min-height: 48px;
    padding: 14px 28px;
    border-radius: 12px;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(26, 26, 26, 0.22);
    white-space: nowrap;
  }
  .cta-sticky:hover { color: #fff; background: var(--cta-hover); text-decoration: none; }
  .cta-sticky svg { width: 1.15em; height: 1.15em; fill: #fff; }
  body { padding-bottom: 5.5rem; }
  footer { padding-bottom: 1.25rem; }
}

@media (max-width: 389px) {
  h1 { font-size: 1.55rem; }
  .btn-cta { white-space: normal; }
}

/* 30/11: respiro entre formulário e mapa */
.form + .map-link { display: block; margin-top: 1.8rem; }

/* ==========================================================================
   30/11 (b): desktop com o mesmo peso do celular (padrão 20).
   Abaixo de 1024 px nada muda, exceto a foto do hero da home (pequena, após a CTA).
   ========================================================================== */
.hero-photo { margin: 2rem auto 0; max-width: 260px; }
.hero-photo img { width: 100%; border-radius: 16px; box-shadow: 0 10px 28px rgba(21, 90, 150, 0.18); }

@media (min-width: 1024px) {
  :root { --max: 1180px; }
  .wrap { width: min(var(--max), calc(100% - 64px)); }
  h1 { font-size: 2.5rem; max-width: 24ch; }
  h2 { font-size: 1.6rem; }
  .section { padding: 4.5rem 0; }
  .hero { padding: 4rem 0 3.2rem; }
  .logo img { height: 48px; }
  .logo-name { font-size: 1.02rem; }
  nav.menu { gap: 0.25rem 1.8rem; }
  nav.menu a { font-size: 0.98rem; }


  /* Home: hero em 2 colunas (texto e CTA | foto) */
  .hero-home {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
    gap: 56px;
    align-items: center;
  }
  .hero-home .hero-photo { margin: 0; max-width: none; justify-self: end; width: 100%; }
  .hero-home .cta-box { margin-top: 2rem; }

  /* Serviço com foto: texto à esquerda, foto à direita */
  .hero-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    column-gap: 56px;
    align-items: start;
  }
  .hero-split > * { grid-column: 1; }
  .hero-split > img.photo { grid-column: 2; grid-row: 1 / span 6; margin: 0.4rem 0 0; border-radius: 12px; }

  /* Corpo de texto + card lateral fixo com a CTA */
  .body-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 64px;
    align-items: start;
  }
  .side-card {
    position: sticky;
    top: 96px;
    background: var(--soft);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 1.6rem 1.4rem;
  }
  .side-card .cta-box { margin: 0; }
  .side-card .btn-cta { width: 100%; }

  /* Páginas de trabalho: galeria à esquerda, texto e CTA no card lateral */
  .hero-work {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    column-gap: 56px;
    align-items: start;
  }
  .hero-work > * { grid-column: 1 / -1; }
  .hero-work > .gallery { grid-column: 1; margin: 0.6rem 0 0; }
  .hero-work > .side-card { grid-column: 2; margin-top: 0.6rem; }
  .hero-work > .side-card p:not(.cta-line) { max-width: none; }
  .hero-work .side-card .cta-box { margin-top: 1.2rem; }
  .gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 300px));
    justify-content: start;
    gap: 14px;
  }
  .gallery:not(:has(figure:nth-child(4))) { grid-template-columns: repeat(3, minmax(0, 300px)); }
  .gallery:has(figure:nth-child(4)):not(:has(figure:nth-child(5))) { grid-template-columns: repeat(2, minmax(0, 300px)); }
  .gallery img.photo { max-width: 100%; width: 100%; border-radius: 10px; }

  /* Grades de cards: 3 colunas (2 quando são só 2 ou 4 itens) */
  .card-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem 1.8rem;
  }
  .card-list:not(:has(> li:nth-child(3))) { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 820px; margin-inline: auto; }
  .card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 1.4rem 1.3rem 1.6rem;
  }
  .card .btn-secondary { margin-top: auto; }
  .card img.photo { border-radius: 10px; }

  /* Serviços: 2 × 2 */
  .service-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.8rem;
  }
  .service-block, .service-block:last-child {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.6rem 1.4rem 1.8rem;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--white);
  }
  .service-block .btn-secondary { margin-top: auto; }
  .service-block img.photo { border-radius: 10px; }

  /* Filtros do portfólio em linha */
  .filters { flex-direction: row; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.4rem; }
  .filters a { padding: 0.55rem 1.3rem; }

  /* Imprensa: 3 colunas; clientes: 6 por linha */
  .press-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem 1.8rem; }
  .press-list h3 { text-align: center; }
  .clients-grid li { flex: 0 1 calc((100% - 5 * 1.4rem) / 6); }

  /* Contato: dados ao lado do formulário */
  .contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 64px;
    align-items: start;
  }
  .contact-grid .contact-data { margin: 0; }
  .contact-form form.form { margin-top: 1rem; }
  .contact-form .btn-cta { align-self: flex-start; }

  /* Rodapé em 2 colunas */
  .foot-inner { flex-direction: row; justify-content: space-between; align-items: flex-start; }
}


/* 30/11 (b): linha de alcance nacional logo abaixo do H1 da home */
.reach { font-family: var(--title); font-weight: 600; font-size: 1rem; color: var(--blue-deep); margin: -0.4rem 0 1rem; }
@media (min-width: 1024px) { .hero-home h1 { max-width: none; font-size: 2.35rem; } }

/* 30/11 (b): ajustes após a primeira rodada de prints */
.photo-side { display: none; }
.cta-line { max-width: none; }
@media (min-width: 1024px) {
  .hero-split-lg { grid-template-columns: minmax(0, 1fr) 440px; align-items: center; }
  .hero-split > .photo-side {
    display: block; grid-column: 2; grid-row: 1 / span 6;
    width: 100%; border-radius: 16px; box-shadow: 0 10px 28px rgba(21, 90, 150, 0.16);
  }
  /* 4 fotos: galeria 2 × 2 no tamanho real e o card lateral ocupa o resto */
  .hero-work:has(.gallery figure:nth-child(4)):not(:has(.gallery figure:nth-child(5))) {
    grid-template-columns: max-content minmax(340px, 1fr);
  }
}
.contact-grid + .map-link { display: block; margin-top: 1.8rem; }

/* 30/11 (c): pedido do Giovanni — toda CTA empilhada e centralizada (texto, botão, texto), no computador e no celular */
.cta-line { flex-direction: column; align-items: center; justify-content: center; text-align: center; }

/* 30/11 (d): foto do hero = retrato aprovado do LinkedIn, inteira (sem recorte de contorno), retângulo com cantos de 16 px */
.hero-photo img { border-radius: 16px; box-shadow: 0 10px 28px rgba(21, 90, 150, 0.14); }
.hero-photo picture { display: block; }
/* 30/11 (e): Serviços e Contato com o mesmo retrato (quadrado), cantos de 16 px */
@media (min-width: 1024px) {
  .hero-split > picture.photo-side { display: block; box-shadow: none; }
  .hero-split > picture.photo-side img { width: 100%; border-radius: 16px; box-shadow: 0 10px 28px rgba(21, 90, 150, 0.14); }
}
