/* =====================================================================
   DouroID — DTF · Bordado · Vinil · Brindes personalizados
   Folha de estilos principal
   ===================================================================== */

/* ----------  Design tokens  ---------- */
:root {
  /* Cores — neutras, fundo branco */
  --paper:        #ffffff;
  --paper-2:      #f7f8f7;
  --white:        #ffffff;
  --ink:          #0d0f0e;
  --ink-soft:     #2e3330;
  --muted:        #6b716d;
  --line:         #eceeec;
  --line-strong:  #dde0dd;

  --green-500:    #2fa24a;   /* acento */
  --green-600:    #0f7a32;   /* botões e links (contraste AA) */
  --green-050:    #eef7f0;   /* fundos suaves */

  /* Tipografia */
  --font-display: "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-body:    "Inter", "Helvetica Neue", Arial, sans-serif;

  /* Medidas */
  --wrap:         1200px;
  --wrap-narrow:  860px;
  --gutter:       clamp(1.25rem, 5vw, 3rem);
  --radius:       10px;
  --radius-lg:    16px;
  --header-h:     72px;
  --bar-h:        36px;

  --shadow-sm:    0 1px 2px rgba(16,24,20,.04), 0 2px 8px rgba(16,24,20,.04);
  --shadow-md:    0 12px 32px rgba(16,24,20,.08), 0 2px 8px rgba(16,24,20,.04);

  color-scheme: light;
}

/* ----------  Reset / base  ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; }

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

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink-soft);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

img { height: auto; }

a { color: var(--green-600); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }

button,
input,
select,
textarea { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-wrap: balance;
}

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

:focus-visible {
  outline: 2px solid var(--green-600);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--green-500); color: #fff; }

/* ----------  Layout helpers  ---------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: clamp(4.5rem, 9vw, 7rem);
}
.section--tight { padding-block: clamp(3rem, 6vw, 4.5rem); }
.section--paper-2 { background: var(--paper-2); }

.section-head {
  max-width: 680px;
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}
.section-head p {
  margin-top: .9rem;
  font-size: 1.05rem;
  color: var(--muted);
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--green-600);
  margin-bottom: .9rem;
}

h2.section-title {
  font-size: clamp(1.9rem, 3.8vw, 2.7rem);
}

.lead { font-size: clamp(1.05rem, 1.8vw, 1.2rem); color: var(--muted); }

/* ----------  Buttons  ---------- */
.btn {
  --bg: var(--ink);
  --fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .8rem 1.4rem;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .94rem;
  border: 1px solid var(--bg);
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
}
.btn:hover { color: var(--fg); }
.btn:active { transform: scale(.98); }

.btn--primary { --bg: var(--green-600); --fg: #fff; }
.btn--primary:hover { --bg: #0b6528; }

.btn--dark { --bg: var(--ink); --fg: #fff; }
.btn--dark:hover { --bg: #000; }

.btn--ghost {
  --bg: transparent;
  --fg: var(--ink);
  border-color: var(--line-strong);
}
.btn--ghost:hover { --bg: var(--paper-2); --fg: var(--ink); border-color: var(--line-strong); }

.btn--block { width: 100%; }

/* Pulso subtil no CTA principal do cabeçalho */
@keyframes btnPulse {
  0%   { box-shadow: 0 0 0 0 rgba(15, 122, 50, .45); }
  70%  { box-shadow: 0 0 0 10px rgba(15, 122, 50, 0); }
  100% { box-shadow: 0 0 0 0 rgba(15, 122, 50, 0); }
}
.btn--pulse { animation: btnPulse 2.4s ease-out infinite; }
.btn--pulse:hover,
.btn--pulse:focus-visible { animation-play-state: paused; }

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-weight: 600;
  font-size: .92rem;
  text-decoration: none;
  color: var(--ink);
}
.arrow-link span { transition: transform .18s ease; }
.arrow-link:hover { color: var(--green-600); }
.arrow-link:hover span { transform: translateX(3px); }

/* ----------  Skip link  ---------- */
.skip {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 200;
  background: var(--ink);
  color: #fff;
  padding: .6rem 1rem;
  border-radius: var(--radius);
  text-decoration: none;
  transition: top .2s ease;
}
.skip:focus { top: 1rem; color: #fff; }

/* ====================================================================
   Barra de anúncios (verde, no topo do cabeçalho)
   ==================================================================== */
.announce {
  position: relative;
  height: var(--bar-now);
  transition: height .3s ease;
  overflow: hidden;
  background: var(--green-600);
  color: #fff;
}
.announce__item {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-inline: 1rem;
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-align: center;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(100%);
  transition: opacity .45s ease, transform .45s ease;
}
.announce__item.is-active { opacity: 1; transform: none; }
.announce__item.is-leaving { opacity: 0; transform: translateY(-100%); }

/* ====================================================================
   Header
   ==================================================================== */
.site-header {
  --bar-now: var(--bar-h);            /* altura atual da barra verde */
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .2s ease;
}
.site-header.is-scrolled { box-shadow: 0 4px 20px rgba(16,24,20,.05); --bar-now: 0px; }

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}
.brand img { height: 24px; width: auto; }

.nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.2vw, 2rem);
}
.nav a {
  font-weight: 500;
  font-size: .93rem;
  color: var(--muted);
  text-decoration: none;
  padding: .35rem 0;
  position: relative;
  transition: color .15s ease;
}
.nav a::after { display: none; }
.nav a:hover,
.nav a[aria-current="true"] { color: var(--ink); }

/* O botão dentro do menu só aparece na versão mobile */
.nav > .btn { display: none; }

/* Link "Web & Branding" — destacado a verde, à parte dos restantes */
.nav-external {
  display: inline-flex;
  align-items: center;
  color: var(--green-600) !important;
  background: var(--green-050);
  padding: .42rem .9rem !important;
  border-radius: 999px;
  font-weight: 600 !important;
  font-size: .88rem;
  margin-inline-start: .25rem;
  transition: background-color .15s ease, color .15s ease;
}
.nav-external:hover { background: var(--green-600); color: #fff !important; }

/* No computador o "Web & Branding" fica à direita, junto ao "Pedir orçamento" */
.header-wb { text-decoration: none; margin-inline-start: 0; }
@media (min-width: 861px) {
  .nav > .nav-external { display: none; }
}
@media (max-width: 860px) {
  .header-wb { display: none; }
}

.header-cta { display: inline-flex; gap: .6rem; align-items: center; }
.header-cta .btn { padding: .65rem 1.2rem; font-size: .9rem; }

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-strong);
  background: var(--white);
  border-radius: var(--radius);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle span::before { transform: translateY(-6px); }
.nav-toggle span::after  { transform: translateY(4px); }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(1px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { transform: translateY(-1px) rotate(-45deg); }

/* ====================================================================
   Hero
   ==================================================================== */
/* Capa: só a imagem, a toda a largura */
.hero {
  position: relative;
  background: var(--paper);
  overflow: hidden;
}
.hero-img {
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: cover;
}

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ====================================================================
   Faixa de serviços
   ==================================================================== */
.marquee {
  background: var(--green-600);
  color: #fff;
  overflow: hidden;
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 140s linear infinite;
}
.marquee__group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.marquee__item {
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 1.15rem clamp(1.25rem, 3vw, 2.25rem);
  white-space: nowrap;
}
.marquee__item span {
  font-size: 0;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: rgba(255,255,255,.55);
  margin-left: clamp(1.25rem, 3vw, 2.25rem);
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}
/* Pausa ao passar o rato — só em dispositivos com rato (no telemóvel um toque não o deixa parado) */
@media (hover: hover) and (pointer: fine) {
  .marquee:hover .marquee__track { animation-play-state: paused; }
}

/* ====================================================================
   Serviços
   ==================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1rem, 2vw, 1.5rem);
}

/* ====================================================================
   Página Web & Branding
   ==================================================================== */
.wb-hero {
  padding-block: clamp(4rem, 9vw, 7rem);
  background: var(--green-600);
  color: #fff;
  margin-bottom: clamp(3.5rem, 7vw, 5rem);
}
.wb-hero { position: relative; overflow: hidden; isolation: isolate; }
/* Imagem de programação por trás do verde, muito transparente */
.wb-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("../img/wb-code.jpg") center / cover no-repeat;
  opacity: .05;
  filter: grayscale(1);
}
.wb-hero .eyebrow { color: #b8f0c5; }
.wb-hero h1 { color: #fff; }
.wb-hero .lead { color: rgba(255,255,255,.82); }
.wb-hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1;
  max-width: 14ch;
}
.wb-hero .lead { margin-top: 1.2rem; max-width: 46ch; }
.wb-hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.wb-services { padding-top: 0; padding-bottom: clamp(3.5rem, 7vw, 5rem); }
.wb-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(2rem, 4vw, 3.5rem);
}
.wb-item__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 1.2rem;
}
.wb-item__num {
  display: block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .14em;
  color: var(--green-600);
  margin-bottom: .4rem;
}
.wb-item h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); letter-spacing: -0.03em; }
.wb-item p { color: var(--muted); margin: .6rem 0 1.2rem; font-size: .95rem; }
.wb-item li {
  padding: .55rem 0;
  border-bottom: 1px solid var(--line);
  font-size: .92rem;
  font-weight: 500;
  color: var(--ink-soft);
}
.wb-item li:last-child { border-bottom: 0; }
.wb-work { padding-top: 0; }
.wb-hero + .wb-work .wb-work__head { border-top: 0; padding-top: 0; }
.wb-work__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  border-top: 1px solid var(--line);
  padding-top: clamp(2.5rem, 5vw, 3.5rem);
  margin-bottom: clamp(2rem, 4vw, 2.75rem);
}
.wb-work__head p { max-width: 36ch; color: var(--muted); font-size: .95rem; }
@media (max-width: 760px) {
  .wb-work__head { flex-direction: column; align-items: flex-start; gap: .75rem; }
}
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2rem);
}
.work { display: block; text-decoration: none; color: var(--ink); }
.work__media { border-radius: 14px; overflow: hidden; border: 1px solid var(--line); }
.work__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform .5s ease;
}
.work:hover .work__media img { transform: scale(1.03); }
.work__body {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-top: .9rem;
}
.work__body h3 { font-size: 1.15rem; letter-spacing: -0.02em; }
.work__body p { font-size: .88rem; color: var(--muted); }
.work__open {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  flex-shrink: 0;
  font-size: .82rem;
  font-weight: 600;
  color: var(--green-600);
  background: var(--green-050);
  padding: .4rem .8rem;
  border-radius: 999px;
  transition: background-color .15s ease, color .15s ease;
}
.work__open svg { width: 14px; height: 14px; fill: currentColor; }
.work:hover .work__open { background: var(--green-600); color: #fff; }
@media (max-width: 860px) {
  .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* Telemóvel: Trabalhos e Serviços deslizam para o lado */
@media (max-width: 620px) {
  .work-grid,
  .wb-grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 78%;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    margin-inline: calc(-1 * var(--gutter));
    padding-inline: var(--gutter);
    scroll-padding-inline: var(--gutter);
  }
  .work-grid::-webkit-scrollbar,
  .wb-grid::-webkit-scrollbar { display: none; }
  .work, .wb-item { scroll-snap-align: start; }
}

.wb-cta {
  background: var(--green-600);
  color: #fff;
  text-align: center;
  padding-block: clamp(3.5rem, 7vw, 5rem);
}
.wb-cta h2 { color: #fff; font-size: clamp(1.8rem, 3.5vw, 2.5rem); }
.wb-cta p { opacity: .85; margin: .6rem 0 1.6rem; }
.wb-cta .btn { --bg: #fff; --fg: var(--green-600); }
.wb-cta .btn:hover { --bg: #eef7f0; }
@media (min-width: 621px) and (max-width: 860px) {
  .wb-grid { grid-template-columns: 1fr; }
}

/* Personalizações — compacto, 5 colunas, sem cartões */
.perso-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 2.25rem);
}
.perso__media img,
.perso__placeholder {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 14px;
}
.perso__placeholder {
  background: linear-gradient(160deg, #f1f3f1 0%, #e2e6e2 100%);
  display: grid;
  place-items: center;
}
.perso__placeholder span {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: rgba(13, 15, 14, .14);
}
.perso__body { padding-top: 1rem; }
.perso__num {
  display: block;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .14em;
  color: var(--green-600);
  margin-bottom: .2rem;
}
.perso__body h3 {
  font-size: 1.25rem;
  letter-spacing: -0.025em;
}
.perso__lead { display: none; }
.perso__list { margin: .6rem 0 .9rem; }
.perso__list > div { padding: .3rem 0; border-bottom: 1px solid var(--line); }
.perso__list > div:last-child { border-bottom: 0; }
.perso__list dt { font-size: .85rem; font-weight: 500; color: var(--ink-soft); }
.perso__list dd { display: none; }
.perso .arrow-link { font-size: .85rem; }
@media (max-width: 1100px) {
  .perso-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  /* Telemóvel: desliza para o lado */
  .perso-list {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 62%;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    margin-inline: calc(-1 * var(--gutter));
    padding-inline: var(--gutter);
    scroll-padding-inline: var(--gutter);
  }
  .perso-list::-webkit-scrollbar { display: none; }
  .perso { scroll-snap-align: start; }
}

.service-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow .2s ease, border-color .2s ease;
}
.service-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--line-strong);
}

.service-card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--paper-2);
}
.service-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.service-card:hover .service-card__media img { transform: scale(1.03); }

.service-card__num {
  position: absolute;
  left: 14px; top: 14px;
  background: rgba(255,255,255,.95);
  color: var(--ink);
  font-weight: 600;
  font-size: .75rem;
  letter-spacing: .02em;
  padding: .35rem .7rem;
  border-radius: 999px;
}
.service-card__num b { color: var(--green-600); font-weight: 700; }

.service-card__body {
  padding: clamp(1.4rem, 2.4vw, 1.9rem);
  display: flex;
  flex-direction: column;
  gap: .9rem;
  flex: 1;
}
.service-card__body h3 {
  font-size: clamp(1.3rem, 2.2vw, 1.55rem);
}
.service-card__body p { color: var(--muted); font-size: .96rem; }

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-top: auto;
  padding-top: .3rem;
}
.tag-list li {
  font-size: .78rem;
  font-weight: 500;
  color: var(--ink-soft);
  background: var(--paper-2);
  padding: .32rem .7rem;
  border-radius: 999px;
}

.service-card .arrow-link { margin-top: .3rem; }

.service-banner {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  background: var(--ink);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3vw, 2.2rem) clamp(1.6rem, 3vw, 2.5rem);
  text-decoration: none;
  transition: box-shadow .2s ease;
}
.service-banner:hover { box-shadow: var(--shadow-md); }
.service-banner__text h3 { color: #fff; font-size: 1.35rem; margin-bottom: .35rem; }
.service-banner__text p { color: #a3aaa5; max-width: 54ch; font-size: .95rem; }
.service-banner__cta {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-weight: 600;
  font-size: .9rem;
  color: var(--ink);
  background: #fff;
  padding: .75rem 1.25rem;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background-color .15s ease, color .15s ease;
}
.service-banner:hover .service-banner__cta { background: var(--green-500); color: #fff; }
.service-banner .ext-icon { width: 15px; height: 15px; fill: currentColor; flex-shrink: 0; }

/* ====================================================================
   Catálogos
   ==================================================================== */
/* Grelha de catálogos — um cartão por catálogo, abre numa nova aba */
.catalog-slider { position: relative; }
.catalog-grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 3 * clamp(1rem, 2vw, 1.5rem)) / 4);
  gap: clamp(1rem, 2vw, 1.5rem);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding-block: 4px 8px;
}
.catalog-grid::-webkit-scrollbar { display: none; }
.catalog-card { scroll-snap-align: start; }
.catalog-nav {
  position: absolute;
  top: 38%;
  z-index: 2;
  width: 44px; height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: opacity .2s ease, background-color .15s ease;
}
.catalog-nav svg { width: 22px; height: 22px; fill: var(--ink); }
.catalog-nav:hover { background: var(--ink); }
.catalog-nav:hover svg { fill: #fff; }
.catalog-nav--prev { left: -22px; }
.catalog-nav--next { right: -22px; }
.catalog-nav[hidden] { display: none; }
.catalog-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: var(--ink);
  transition: box-shadow .2s ease, border-color .2s ease, transform .2s ease;
}
.catalog-card:hover {
  color: var(--ink);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.catalog-card__cover {
  aspect-ratio: 4 / 5;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 2vw, 1.5rem);
  background: #eef0ee;
  overflow: hidden;
}
.catalog-card__cover img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  border-radius: 4px;
  box-shadow: 0 10px 24px rgba(16,24,20,.18), 0 2px 6px rgba(16,24,20,.12);
  transition: transform .4s ease;
}
.catalog-card:hover .catalog-card__cover img { transform: translateY(-4px); }
.catalog-card__body {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  column-gap: .75rem;
  padding: .9rem 1rem 1rem;
}
.catalog-card__body h3 {
  font-size: 1rem;
  letter-spacing: -0.015em;
  grid-column: 1;
}
.catalog-card__body p {
  font-size: .82rem;
  color: var(--muted);
  grid-column: 1;
}
.catalog-card__open {
  grid-column: 2;
  grid-row: 1 / span 2;
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-size: .8rem;
  font-weight: 600;
  color: var(--green-600);
  background: var(--green-050);
  padding: .4rem .75rem;
  border-radius: 999px;
  transition: background-color .15s ease, color .15s ease;
}
.catalog-card__open svg { width: 13px; height: 13px; fill: currentColor; }
.catalog-card:hover .catalog-card__open { background: var(--green-600); color: #fff; }
.catalog-card__body h3, .catalog-card__body p { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Capas mais altas (ex.: Atlantis) ficam um pouco mais pequenas */
/* Mesma altura que as outras capas, largura proporcional (sem esticar) */
.catalog-card__cover img.cover-sm {
  width: 85.1%;
  height: auto;
}
.catalog-card__cover img.cover-th { width: 86.9%; height: auto; }

/* Capa com autocolante "Em breve" (mesma altura que as outras capas) */
.soon-wrap {
  position: relative;
  width: 81.3%;
}
.catalog-card__cover .soon-wrap img { width: 100%; height: auto; }
.catalog-card--soon:hover .catalog-card__cover img { transform: none; }
.soon-sticker {
  position: absolute;
  z-index: 1;
  top: .75rem;
  right: .75rem;
  transform: rotate(8deg);
  padding: .45rem 1rem;
  border-radius: 999px;
  background: var(--green-500);
  color: #fff;
  font-size: clamp(.8rem, 1.2vw, 1rem);
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
  border: 3px solid #fff;
  box-shadow: 0 8px 20px rgba(16,24,20,.3);
}

/* Cartão "Em breve" */
.catalog-card--soon { cursor: default; position: relative; }
.catalog-card--soon:hover { transform: none; box-shadow: none; border-color: var(--line); }
.soon-cover {
  width: 78%;
  aspect-ratio: 800 / 980;
  border-radius: 4px;
  background: linear-gradient(160deg, #1d9a45 0%, #0f7a32 55%, #0a5a24 100%);
  box-shadow: 0 10px 24px rgba(16,24,20,.18), 0 2px 6px rgba(16,24,20,.12);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  text-align: center;
  padding: 1rem;
}
.soon-cover__brand { font-weight: 800; font-size: clamp(1.1rem, 2vw, 1.5rem); letter-spacing: -0.03em; }
.soon-cover__brand b { color: #b8f0c5; }
.soon-cover__x { font-size: 1.3rem; opacity: .75; line-height: 1; }
.soon-cover__title { font-weight: 700; font-size: clamp(.75rem, 1.2vw, .95rem); letter-spacing: .06em; text-transform: uppercase; }
.catalog-card__open--soon,
.catalog-card--soon:hover .catalog-card__open--soon { background: var(--ink); color: #fff; }

/* ====================================================================
   Processo
   ==================================================================== */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 2vw, 1.5rem);
  counter-reset: step;
}
.steps--3 { grid-template-columns: repeat(3, 1fr); }
.step {
  position: relative;
  padding: 1.6rem 1.4rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.step::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 32px; height: 32px;
  margin-bottom: 1.1rem;
  border-radius: 50%;
  background: var(--green-050);
  color: var(--green-600);
  font-weight: 700;
  font-size: .85rem;
}
.step h3 {
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  margin-bottom: .4rem;
}
.step p { font-size: .9rem; color: var(--muted); }

/* ====================================================================
   Sobre
   ==================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.about-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 20px;
}
.about-copy p { color: var(--muted); margin-top: 1rem; }

.value-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .75rem;
  margin-top: 2rem;
}
.value-grid li {
  background: var(--paper-2);
  border-radius: var(--radius);
  padding: 1rem 1.15rem;
}
.value-grid b {
  display: block;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: .1rem;
}
.value-grid span { font-size: .84rem; color: var(--muted); }

/* ====================================================================
   FAQ
   ==================================================================== */
.faq {
  max-width: var(--wrap-narrow);
  margin-inline: auto;
  display: grid;
  gap: .6rem;
}
.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.3rem;
  transition: border-color .15s ease;
}
.faq details[open] { border-color: var(--line-strong); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  font-size: 1rem;
  color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-weight: 400;
  font-size: 1.4rem;
  line-height: 1;
  color: var(--muted);
  transition: transform .2s ease;
  flex-shrink: 0;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p {
  margin-top: .7rem;
  color: var(--muted);
  font-size: .95rem;
  max-width: 64ch;
}

/* ====================================================================
   Contacto
   ==================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: clamp(2rem, 5vw, 3.5rem);
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  margin-bottom: 1rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-field label {
  font-weight: 500;
  font-size: .85rem;
  color: var(--ink);
}
.form-field label .req { color: var(--green-600); }
.form-field input,
.form-field select,
.form-field textarea {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--white);
  padding: .75rem .9rem;
  font-size: .95rem;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.form-field textarea { resize: vertical; min-height: 130px; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--green-600);
  box-shadow: 0 0 0 3px var(--green-050);
}
.form-note {
  font-size: .82rem;
  color: var(--muted);
  margin-top: .9rem;
}
.form-status {
  margin-top: 1rem;
  padding: .8rem 1rem;
  border-radius: var(--radius);
  background: var(--green-050);
  border: 1px solid #cde8d3;
  color: #0b5223;
  font-size: .9rem;
  font-weight: 500;
}
.form-status[hidden] { display: none; }

.contact-aside {
  background: var(--paper-2);
  border: 1px solid var(--line);
  color: var(--ink-soft);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3vw, 2.2rem);
  align-self: start;
}
.contact-aside h3 {
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  margin-bottom: 1.3rem;
}
.contact-aside dl { display: grid; gap: 1rem; }
.contact-aside dt {
  font-weight: 500;
  font-size: .78rem;
  color: var(--muted);
  margin-bottom: .1rem;
}
.contact-aside dd { font-size: .96rem; color: var(--ink); font-weight: 500; }
.contact-aside a { color: var(--ink); text-decoration: none; }
.contact-aside a:hover { color: var(--green-600); }

.social-row {
  display: flex;
  gap: .5rem;
  margin-top: 1.6rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line-strong);
}
.social-row a {
  width: 38px; height: 38px;
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: background-color .15s ease, border-color .15s ease;
}
.social-row a:hover { background: var(--ink); border-color: var(--ink); }
.social-row svg { width: 16px; height: 16px; fill: var(--ink); transition: fill .15s ease; }
.social-row a:hover svg { fill: #fff; }

/* ====================================================================
   Footer
   ==================================================================== */
.site-footer {
  background: var(--ink);
  color: #8f9692;
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.wordmark {
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.03em;
  color: #fff;
}
.wordmark span { color: var(--green-500); }

.footer-brand p {
  margin-top: .8rem;
  font-size: .88rem;
  max-width: 34ch;
}
.footer-col h4 {
  color: #fff;
  font-size: .85rem;
  letter-spacing: 0;
  font-weight: 600;
  margin-bottom: 1rem;
}
.footer-col ul { display: grid; gap: .55rem; }
.footer-col a {
  color: #8f9692;
  text-decoration: none;
  font-size: .9rem;
  transition: color .15s ease;
}
.footer-col a:hover { color: #fff; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.75rem;
  font-size: .8rem;
}

/* ====================================================================
   Reveal on scroll
   ==================================================================== */
[data-reveal] {
  transition: opacity .6s ease, transform .6s ease;
}
.js [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
}
.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ====================================================================
   Responsivo
   ==================================================================== */
@media (max-width: 960px) {
  .services-grid { grid-template-columns: 1fr; }
  .catalog-grid { grid-auto-columns: calc((100% - 2 * clamp(1rem, 2vw, 1.5rem)) / 3); }
  .catalog-nav--prev { left: -10px; }
  .catalog-nav--next { right: -10px; }
  .steps, .steps--3 { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .about-media { max-width: 520px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .header-cta .btn { display: none; }

  .nav {
    position: fixed;
    inset: calc(var(--header-h) + var(--bar-now)) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: .5rem var(--gutter) 1.25rem;
    transform: translateY(-140%);
    transition: transform .3s ease;
    max-height: calc(100dvh - var(--header-h) - var(--bar-now));
    overflow-y: auto;
  }
  .nav.is-open { transform: none; }
  .nav > a:not(.btn) {
    padding: .95rem 0;
    border-bottom: 1px solid var(--line);
    font-size: 1.02rem;
    color: var(--ink);
  }
  .nav > .btn {
    margin-top: 1.25rem;
    display: inline-flex;
    padding: .9rem 1.5rem;
    font-size: 1rem;
    color: #fff;
  }
  .nav > .nav-external {
    padding: .95rem 0 !important;
    background: none;
    border-radius: 0;
    margin-inline-start: 0;
    font-size: 1.02rem;
  }
}

@media (max-width: 620px) {
  .hero-img { aspect-ratio: 9 / 8; }
  .catalog-grid { grid-auto-columns: calc((100% - .75rem) / 1.45); gap: .75rem; }
  .catalog-card__body h3, .catalog-card__body p { white-space: normal; }
  .soon-sticker { font-size: .72rem; padding: .35rem .8rem; top: .6rem; right: .6rem; }
  .catalog-nav { display: none; }
  .catalog-card__body { grid-template-columns: 1fr; padding: .75rem .8rem .85rem; }
  .catalog-card__open { grid-column: 1; grid-row: auto; justify-self: start; margin-top: .55rem; }
  .form-row { grid-template-columns: 1fr; }
  .value-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* ====================================================================
   Botão flutuante do WhatsApp
   ==================================================================== */
.whatsapp-btn {
  position: fixed;
  right: clamp(1rem, 4vw, 1.75rem);
  bottom: clamp(1rem, 4vw, 1.75rem);
  z-index: 80;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  background: #25d366;
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(16, 24, 20, .18);
  transition: transform .18s ease, box-shadow .18s ease;
}
.whatsapp-btn::before,
.whatsapp-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25d366;
  z-index: -1;
  animation: waPulse 2s ease-out infinite;
}
.whatsapp-btn::after { animation-delay: 1s; }
.whatsapp-btn { animation: waBeat 2s ease-in-out infinite; }
@keyframes waPulse {
  0%   { transform: scale(1);   opacity: .7; }
  100% { transform: scale(2);   opacity: 0; }
}
@keyframes waBeat {
  0%, 100% { scale: 1; }
  15%      { scale: 1.1; }
  30%      { scale: 1; }
}
.whatsapp-btn svg { width: 28px; height: 28px; fill: #fff; }
.whatsapp-btn:hover,
.whatsapp-btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(16, 24, 20, .22);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  /* O carrossel continua a rodar mesmo com "reduzir movimento" (poupança de bateria) */
  .marquee__track {
    animation-duration: 140s !important;
    animation-iteration-count: infinite !important;
  }
  /* O pulse do WhatsApp também continua */
  .whatsapp-btn,
  .whatsapp-btn::before,
  .whatsapp-btn::after {
    animation-duration: 2s !important;
    animation-iteration-count: infinite !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}
