/* ==========================================================================
   JGF Consulting — folha de estilos
   Clareza nas contas · Proximidade no acompanhamento · Confiança nas decisões
   ========================================================================== */

/* Tipos de letra alojados localmente (SIL Open Font License) ------------- */
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url("../fonts/newsreader.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

/* Tokens ----------------------------------------------------------------- */
:root {
  /* Paleta da marca */
  --navy: #10375B;
  --navy-deep: #0B2942;
  --blue: #267CB8;        /* acento: elementos grandes, gráficos, foco */
  --blue-ink: #1F6A9E;    /* azul para texto pequeno e ligações (5,8:1 sobre branco) */
  --sky: #78B7DC;         /* decorativo; texto apenas sobre azul-marinho */
  --mist: #F5F8FB;
  --mist-2: #EAF1F7;
  --white: #FFFFFF;
  --ink: #172B3A;
  --muted: #4A5F70;
  --line: #DCE5EE;
  --line-strong: #B9CAD9;
  --field: #6F879C;       /* contorno de campos (3,7:1) */
  --error: #B42318;
  --error-bg: #FEF3F2;
  --success: #1E6B47;
  --success-bg: #ECF7F1;
  --whatsapp: #128C7E;

  /* Tipografia */
  --font-sans: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-serif: "Newsreader", "Iowan Old Style", Georgia, "Times New Roman", serif;

  /* Espaçamento e medidas */
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --container: 1200px;
  --section: clamp(4rem, 8vw, 7.5rem);
  --header-h: 72px;
  --radius: 4px;
  --cut-w: 5rem;
  --cut-h: calc(var(--cut-w) * .466);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow: 0 1px 2px rgba(16, 55, 91, .06), 0 8px 24px rgba(16, 55, 91, .08);
}

@media (min-width: 900px) {
  :root { --cut-w: 8rem; --header-h: 80px; }
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: clamp(1rem, .97rem + .15vw, 1.0625rem);
  line-height: 1.65;
  font-feature-settings: "kern", "liga";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

body.menu-open { overflow: hidden; }

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

h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }

a { color: var(--blue-ink); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--navy); }

strong { font-weight: 700; }

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

main:focus { outline: none; }

::selection { background: var(--sky); color: var(--navy-deep); }

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

.section--navy :focus-visible,
.cta-final :focus-visible,
.site-footer :focus-visible { outline-color: var(--sky); }

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

.skip-link {
  position: absolute;
  left: 1rem; top: -100px;
  z-index: 100;
  padding: .75rem 1.25rem;
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  border-radius: var(--radius);
  text-decoration: none;
}
.skip-link:focus { top: 1rem; color: var(--white); }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.break { overflow-wrap: anywhere; }

.icon { width: 1.25em; height: 1.25em; flex-shrink: 0; }

/* Tipografia ------------------------------------------------------------- */
.hero__title,
.page-hero__title,
.h2,
.cta-final__title,
.prose h2 {
  font-family: var(--font-serif);
  font-weight: 500;
  color: var(--navy);
  letter-spacing: -.015em;
  text-wrap: balance;
}

.h2 {
  font-size: clamp(2rem, 1.45rem + 2.1vw, 3.05rem);
  line-height: 1.08;
}

.h3 {
  font-family: var(--font-sans);
  font-size: clamp(1.15rem, 1.08rem + .3vw, 1.3rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -.01em;
  color: var(--navy);
}

.text-lg {
  font-size: clamp(1.1rem, 1.04rem + .3vw, 1.25rem);
  line-height: 1.6;
  color: var(--ink);
}

p + p { margin-top: 1em; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  margin-bottom: 1.1rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue-ink);
}
/* Pequeno paralelogramo com a inclinação dos cortes do T */
.eyebrow::before {
  content: "";
  width: 1.4rem;
  height: .62rem;
  background: linear-gradient(var(--blue), var(--blue)) left / 50% 100% no-repeat,
              linear-gradient(var(--sky), var(--sky)) right / 50% 100% no-repeat;
  clip-path: polygon(0 62%, 100% 0, 100% 38%, 0 100%);
  flex-shrink: 0;
}
.eyebrow--light { color: var(--sky); }

/* Botões ----------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  min-height: 50px;
  padding: .85rem 1.45rem;
  border: 1.5px solid transparent;
  border-radius: var(--radius);
  font-size: .98rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .005em;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.btn__icon { width: 1.15em; height: 1.15em; transition: transform .2s var(--ease); }
.btn:hover .btn__icon:not(.btn__icon--lead) { transform: translateX(3px); }

.btn--primary { background: var(--navy); color: var(--white); }
.btn--primary:hover { background: var(--navy-deep); color: var(--white); box-shadow: 0 6px 18px rgba(16, 55, 91, .22); }

.btn--ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--ghost:hover { background: var(--navy); color: var(--white); }

.btn--light { background: var(--white); color: var(--navy); }
.btn--light:hover { background: var(--mist-2); color: var(--navy); }

.btn--outline-light { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, .6); }
.btn--outline-light:hover { background: var(--white); color: var(--navy); border-color: var(--white); }

.btn--sm { min-height: 44px; padding: .65rem 1.1rem; font-size: .92rem; }
.btn--lg { min-height: 56px; padding: 1rem 1.75rem; font-size: 1.02rem; }

.btn[disabled], .btn[aria-disabled="true"] { opacity: .7; cursor: progress; }

.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2rem; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-top: 1.5rem;
  font-weight: 700;
  color: var(--blue-ink);
  text-decoration: underline;
  text-decoration-color: transparent;
  transition: color .18s, text-decoration-color .18s;
}
.link-arrow .icon { width: 1.1em; height: 1.1em; transition: transform .2s var(--ease); }
a.link-arrow:hover, a:hover .link-arrow { color: var(--navy); text-decoration-color: currentColor; }
a.link-arrow:hover .icon, a:hover .link-arrow .icon { transform: translateX(3px); }

/* Cabeçalho -------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--white);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 18px rgba(16, 55, 91, .06); }

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

.site-header__brand { display: block; padding-block: .5rem; flex-shrink: 0; }
.site-header__brand img { width: 168px; height: auto; }

.nav-toggle {
  display: none;
  align-items: center;
  gap: .5rem;
  min-height: 44px;
  padding: .5rem .85rem;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--navy);
  font-weight: 700;
  font-size: .92rem;
  cursor: pointer;
}
.nav-toggle .icon { width: 1.35rem; height: 1.35rem; }
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__close { display: block; }

.site-nav { display: flex; align-items: center; gap: 2rem; }
.site-nav__list { display: flex; align-items: center; gap: .25rem; }

.site-nav__link {
  position: relative;
  display: block;
  padding: .6rem .85rem;
  color: var(--ink);
  font-weight: 600;
  font-size: .96rem;
  text-decoration: none;
  border-radius: var(--radius);
}
.site-nav__link::after {
  content: "";
  position: absolute;
  left: .85rem; right: .85rem; bottom: .3rem;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s var(--ease);
}
.site-nav__link:hover { color: var(--navy); }
.site-nav__link:hover::after,
.site-nav__link[aria-current="page"]::after { transform: scaleX(1); }
.site-nav__link[aria-current="page"] { color: var(--navy); }

.site-nav__contacts { display: none; }

@media (min-width: 900px) {
  .site-header__brand img { width: 206px; }
}

/* Menu móvel (com JavaScript). Sem JavaScript o menu fica sempre visível. */
@media (max-width: 1023px) {
  .no-js .site-header__inner { flex-wrap: wrap; padding-block: .75rem; }
  .no-js .site-nav { flex-wrap: wrap; gap: .75rem; width: 100%; }
  .no-js .site-nav__list { flex-wrap: wrap; }

  .js .nav-toggle { display: inline-flex; }
  .js .site-nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    z-index: 49;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 2rem;
    padding: 1.5rem var(--gutter) calc(2rem + env(safe-area-inset-bottom));
    background: var(--white);
    border-top: 1px solid var(--line);
    overflow-y: auto;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s linear .2s;
  }
  .js .site-header.is-open .site-nav {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s;
  }
  .js .site-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .js .site-nav__list li { border-bottom: 1px solid var(--line); }
  .js .site-nav__link {
    padding: 1.05rem 0;
    font-family: var(--font-serif);
    font-size: 1.65rem;
    font-weight: 500;
    color: var(--navy);
  }
  .js .site-nav__link::after { left: 0; right: auto; width: 2.5rem; bottom: .6rem; }
  .js .site-nav__cta { min-height: 54px; }
  .js .site-nav__contacts {
    display: grid;
    gap: .9rem;
    font-weight: 600;
  }
  .js .site-nav__contacts a {
    display: inline-flex; align-items: center; gap: .65rem;
    color: var(--navy); text-decoration: none; overflow-wrap: anywhere;
  }
}

/* Hero ------------------------------------------------------------------- */
.hero {
  position: relative;
  padding-top: clamp(1.5rem, 4vw, 3.5rem);
  padding-bottom: clamp(3.5rem, 7vw, 6rem);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 42%;
  background: var(--mist);
}

.hero__grid { display: grid; gap: 2.5rem; }

.hero__text { max-width: 40rem; padding-top: .5rem; }

.hero__title {
  font-size: clamp(2.6rem, 1.55rem + 4.4vw, 4.85rem);
  line-height: 1.02;
  letter-spacing: -.025em;
}
.hero__title .eyebrow {
  display: flex;
  width: fit-content;
  font-family: var(--font-sans);
  line-height: 1.4;
}
.hero__title em {
  display: block;
  font-style: normal;
  color: var(--blue-ink);
}

.hero__lead {
  margin-top: 1.5rem;
  max-width: 33rem;
  font-size: clamp(1.1rem, 1.03rem + .35vw, 1.28rem);
  line-height: 1.6;
  color: var(--muted);
}

.hero__actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2.25rem; }

.hero__contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .4rem .75rem;
  margin-top: 1.75rem;
  font-size: .95rem;
  color: var(--muted);
}
.hero__contact a {
  display: inline-flex; align-items: center; gap: .45rem;
  font-weight: 700; color: var(--navy); text-decoration: none;
}
.hero__contact a:hover { text-decoration: underline; }
.hero__contact .icon { width: 1.05em; height: 1.05em; color: var(--blue-ink); }
.hero__place {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  margin-top: .6rem;
  font-size: .95rem;
  color: var(--muted);
}
.hero__place .icon { width: 1.05em; height: 1.05em; margin-top: .2em; color: var(--blue-ink); }

.hero__media img { aspect-ratio: 4 / 3; }

@media (min-width: 900px) {
  .hero::before { width: 38%; height: 100%; }
  .hero__grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
    align-items: center;
    gap: clamp(2.5rem, 5vw, 5rem);
  }
  .hero__media img { aspect-ratio: 4 / 5; max-height: min(660px, 78vh); }
}

@media (prefers-reduced-motion: no-preference) {
  .js .hero__text > * { animation: rise .6s var(--ease) both; }
  .js .hero__text > :nth-child(2) { animation-delay: .05s; }
  .js .hero__text > :nth-child(3) { animation-delay: .1s; }
  .js .hero__text > :nth-child(4) { animation-delay: .15s; }
  .js .hero__text > :nth-child(5) { animation-delay: .2s; }
}
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* Fotografias com recorte diagonal ---------------------------------------- */
.media-cut { position: relative; }
.media-cut img {
  width: 100%;
  object-fit: cover;
  background: var(--mist-2);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut-h)), calc(100% - var(--cut-w)) 100%, 0 100%);
}
.media-cut--tl img {
  clip-path: polygon(var(--cut-w) 0, 100% 0, 100% 100%, 0 100%, 0 var(--cut-h));
}

.brand-cut {
  position: absolute;
  right: 0;
  bottom: 0;
  width: var(--cut-w);
  height: var(--cut-h);
  pointer-events: none;
}
.brand-cut--tl { right: auto; bottom: auto; left: 0; top: 0; transform: rotate(180deg); }
.brand-cut__mid { fill: var(--blue); }
.brand-cut__light { fill: var(--sky); }

.brand-stripes { position: absolute; pointer-events: none; }
.brand-stripes__mid { fill: var(--blue); }
.brand-stripes__light { fill: var(--sky); }

/* Secções ---------------------------------------------------------------- */
.section { padding-block: var(--section); }
.section--mist { background: var(--mist); }
.section--navy { background: var(--navy); color: rgba(255, 255, 255, .84); }
.section--navy .h2, .section--navy .h3 { color: var(--white); }

.section-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head__lead { margin-top: 1.25rem; font-size: 1.1rem; }

.section-head--split { display: grid; gap: 1.25rem; max-width: none; }
.section-head__aside { color: var(--muted); max-width: 30rem; }

@media (min-width: 900px) {
  .section-head--split { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: end; gap: 4rem; }
  .section-head--split .h2 { max-width: 34rem; }
}

/* Apresentação ----------------------------------------------------------- */
.intro__grid { display: grid; gap: 2rem; }
.intro__body { color: var(--muted); max-width: 40rem; }
.intro__body .text-lg { color: var(--ink); }

.flow {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem 0;
  margin-top: 2.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.flow li {
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  font-size: .95rem;
  color: var(--navy);
}
.flow li:not(:last-child)::after {
  content: "";
  width: 1px;
  height: 1.15rem;
  margin-inline: .9rem;
  background: var(--blue);
  transform: rotate(25deg);
}

@media (min-width: 900px) {
  .intro__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(3rem, 7vw, 7rem); }
}

/* Índice de serviços ----------------------------------------------------- */
.service-index { display: grid; gap: 0; border-bottom: 1px solid var(--line-strong); }
.service-index__item { border-top: 1px solid var(--line-strong); }

.service-index__link {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: .25rem 1.25rem;
  height: 100%;
  align-content: start;
  padding: 2rem 0 2.1rem;
  color: inherit;
  text-decoration: none;
}
.service-index__link::before {
  content: "";
  position: absolute;
  left: 0; top: -1px;
  width: 0; height: 2px;
  background: var(--blue);
  transition: width .35s var(--ease);
}
.service-index__link:hover::before { width: 100%; }

.service-index__num {
  grid-row: span 2;
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 500;
  color: var(--blue-ink);
  padding-top: .3rem;
  min-width: 1.75rem;
}
.service-index__icon {
  display: inline-flex;
  width: 2.75rem; height: 2.75rem;
  align-items: center; justify-content: center;
  margin-bottom: 1rem;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--navy);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: background-color .2s, color .2s;
}
.service-index__icon .icon { width: 1.4rem; height: 1.4rem; }
.service-index__link:hover .service-index__icon { background: var(--navy); color: var(--white); box-shadow: none; }

.service-index__body { grid-column: 2; display: grid; gap: .55rem; }
.service-index__title { display: block; }
.service-index__text { display: block; color: var(--muted); max-width: 32rem; }
.service-index__body .link-arrow { margin-top: .35rem; }

@media (min-width: 760px) {
  .service-index { grid-template-columns: 1fr 1fr; column-gap: clamp(2rem, 5vw, 5rem); border-bottom: 0; }
  .service-index__item:nth-last-child(-n + 2) { border-bottom: 1px solid var(--line-strong); }
  .service-index__link { padding: 2.5rem 0 2.75rem; }
}

/* Percurso de acompanhamento --------------------------------------------- */
.process { position: relative; overflow: hidden; }
.process .section-head__lead { color: rgba(255, 255, 255, .84); }

.steps { display: grid; gap: 2.5rem; counter-reset: step; }
.steps__item { position: relative; padding-top: 1.75rem; border-top: 1px solid rgba(255, 255, 255, .22); }
.steps__item::before {
  content: "";
  position: absolute;
  left: 0; top: -2px;
  width: 3.5rem; height: 3px;
  background: var(--sky);
}
.steps__num {
  display: block;
  margin-bottom: 1rem;
  font-family: var(--font-serif);
  font-size: 3.4rem;
  font-weight: 400;
  line-height: 1;
  color: var(--sky);
}
.steps__title { margin-bottom: .75rem; font-size: 1.22rem; font-weight: 700; line-height: 1.35; color: var(--white); }
.steps__item p { color: rgba(255, 255, 255, .8); }

@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(2rem, 4vw, 4rem); }
}

/* Editorial -------------------------------------------------------------- */
.editorial__grid { display: grid; gap: 2.75rem; align-items: center; }
.editorial__media img { aspect-ratio: 4 / 5; max-height: 640px; }
.editorial__text { color: var(--muted); max-width: 36rem; }
.editorial__text .h2 { margin-bottom: 1.5rem; }
.editorial__text .text-lg { color: var(--ink); }

@media (max-width: 899px) {
  .editorial__media img { aspect-ratio: 4 / 3; }
}
@media (min-width: 900px) {
  .editorial__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(3rem, 7vw, 7rem); }
}

.checklist { display: grid; gap: .8rem; margin-top: 1.75rem; }
.checklist li {
  display: grid;
  grid-template-columns: 1.5rem minmax(0, 1fr);
  gap: .75rem;
  align-items: start;
  color: var(--ink);
  font-weight: 600;
}
.checklist .icon {
  width: 1.5rem; height: 1.5rem;
  padding: .25rem;
  border-radius: 50%;
  background: var(--mist-2);
  color: var(--blue-ink);
  stroke-width: 2.5;
  margin-top: .05rem;
}
.section--mist .checklist .icon { background: var(--white); }

/* Perguntas frequentes --------------------------------------------------- */
.faq__grid { display: grid; gap: 2.5rem; }
.faq__head { color: var(--muted); max-width: 26rem; }
.faq__head .h2 { margin-bottom: 1.25rem; }

.faq__list { border-top: 1px solid var(--line-strong); }
.faq__item { border-bottom: 1px solid var(--line-strong); }
.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.35rem 0;
  font-weight: 700;
  font-size: clamp(1.02rem, .99rem + .15vw, 1.1rem);
  line-height: 1.4;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { color: var(--blue-ink); }
.faq__icon {
  width: 2rem; height: 2rem;
  padding: .4rem;
  border-radius: 50%;
  border: 1.5px solid var(--line-strong);
  color: var(--navy);
  transition: transform .25s var(--ease), background-color .2s, border-color .2s;
}
.faq__item[open] .faq__icon { transform: rotate(45deg); background: var(--navy); color: var(--white); border-color: var(--navy); }
.faq__answer { padding: 0 3.5rem 1.6rem 0; color: var(--muted); max-width: 44rem; }

@media (min-width: 900px) {
  .faq__grid { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(3rem, 7vw, 7rem); }
  .faq__head { position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; }
}

/* Chamada final ---------------------------------------------------------- */
.cta-final {
  position: relative;
  overflow: hidden;
  padding-block: clamp(4rem, 8vw, 6.5rem);
  background: var(--navy);
  color: rgba(255, 255, 255, .84);
}
.cta-final__inner { position: relative; z-index: 1; display: grid; gap: 2rem; }
.cta-final__title {
  margin-bottom: 1rem;
  font-size: clamp(2.2rem, 1.5rem + 2.8vw, 3.6rem);
  line-height: 1.05;
  color: var(--white);
}
.cta-final__text { max-width: 36rem; font-size: 1.1rem; }
.cta-final__actions { display: flex; flex-wrap: wrap; gap: .85rem; align-content: start; }
.cta-final__alt { width: 100%; margin-top: .5rem; font-size: .95rem; }
.cta-final__alt a { color: var(--white); font-weight: 700; }
.cta-final__alt a:hover { color: var(--sky); }
.cta-final__stripes { right: 0; bottom: 0; width: min(560px, 70%); height: 100%; opacity: .5; }
.cta-final__stripes .brand-stripes__light { opacity: .55; }

@media (min-width: 900px) {
  .cta-final__inner { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: center; gap: 4rem; }
  .cta-final__actions { justify-content: flex-start; }
}

/* Cabeçalhos de página --------------------------------------------------- */
.page-hero {
  position: relative;
  overflow: hidden;
  padding-top: clamp(2.5rem, 6vw, 5.5rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
}
.page-hero--plain { background: var(--mist); }
.page-hero--compact { padding-bottom: clamp(2.5rem, 5vw, 4rem); }

.page-hero__text { position: relative; z-index: 1; max-width: 40rem; }
.page-hero__text--wide { max-width: 50rem; }

.page-hero__title {
  font-size: clamp(2.4rem, 1.55rem + 3.4vw, 4.25rem);
  line-height: 1.04;
  letter-spacing: -.022em;
}
.page-hero__lead {
  margin-top: 1.4rem;
  max-width: 38rem;
  font-size: clamp(1.08rem, 1.02rem + .3vw, 1.22rem);
  color: var(--muted);
}

.page-hero__stripes { right: 0; bottom: 0; width: min(520px, 60%); height: 100%; opacity: .16; }
.page-hero__stripes .brand-stripes__light { opacity: 1; }

.page-hero--media::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 0; right: 0; bottom: 0;
  height: 35%;
  background: var(--mist);
}
.page-hero__grid { display: grid; gap: 2.5rem; align-items: center; }
.page-hero__media img { aspect-ratio: 3 / 2; }

@media (min-width: 900px) {
  .page-hero--media::before { left: auto; width: 34%; height: 100%; }
  .page-hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 6rem); }
}

/* Sobre nós -------------------------------------------------------------- */
.about-intro__grid { display: grid; gap: 2rem; }
.about-intro__body { color: var(--muted); max-width: 40rem; }
.about-intro__body .text-lg { color: var(--ink); }

@media (min-width: 900px) {
  .about-intro__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(3rem, 7vw, 7rem); }
}

.person {
  display: grid;
  gap: 1.5rem;
  margin-top: 2.5rem;
  padding: 1.75rem 0 0;
  border-top: 1px solid var(--line);
}
.person--full { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 600px) {
  .person--full:has(.person__photo) { grid-template-columns: 160px minmax(0, 1fr); }
}
.person__photo img { aspect-ratio: 4 / 5; object-fit: cover; width: 100%; border-radius: var(--radius); }
.person__role {
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue-ink);
}
.person__name {
  margin-top: .35rem !important;
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 500;
  line-height: 1.2;
  color: var(--navy);
}
.person__list { margin-top: 1rem; padding-left: 1.2rem; }
.person .link-arrow { margin-top: 1rem; }

.approach__grid { display: grid; gap: 2.5rem; }
.approach__item { padding-top: 1.5rem; border-top: 2px solid var(--navy); }
.approach__item .h3 { margin-bottom: .75rem; }
.approach__item p { color: var(--muted); }
@media (min-width: 700px) {
  .approach__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem clamp(2rem, 4vw, 4rem); }
}
@media (min-width: 1100px) {
  .approach__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2.5rem; }
}

.principles__list { display: grid; gap: 0; border-top: 1px solid rgba(255, 255, 255, .22); }
.principles__item {
  display: grid;
  gap: .5rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, .22);
}
.principles__item dt {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 1.5rem + 1.4vw, 2.6rem);
  font-weight: 500;
  line-height: 1.1;
  color: var(--white);
}
.principles__item dd { color: rgba(255, 255, 255, .8); max-width: 34rem; }

@media (min-width: 760px) {
  .principles__item { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); align-items: baseline; gap: 2rem; padding: 2rem 0; }
}

.band-image__media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
@media (min-width: 760px) {
  .band-image__media img { aspect-ratio: 21 / 9; max-height: 560px; }
}

.about-services__grid { display: grid; gap: 2.5rem; align-items: center; }
.about-services__grid > div > p { color: var(--muted); margin-top: 1.25rem; max-width: 30rem; }
@media (min-width: 900px) {
  .about-services__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(3rem, 7vw, 7rem); }
}

.link-list { border-top: 1px solid var(--line-strong); }
.link-list li { border-bottom: 1px solid var(--line-strong); }
.link-list a {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem .25rem;
  color: var(--navy);
  font-weight: 700;
  font-size: 1.08rem;
  text-decoration: none;
  transition: background-color .2s, padding .25s var(--ease);
}
.link-list a:hover { background: var(--mist); padding-left: .75rem; }
.link-list__icon { color: var(--blue-ink); display: inline-flex; }
.link-list__title { flex: 1; }
.link-list__arrow { color: var(--blue-ink); transition: transform .2s var(--ease); }
.link-list a:hover .link-list__arrow { transform: translateX(4px); }
.link-list--compact { margin-top: 2rem; max-width: 28rem; }
.page-hero--plain .link-list a:hover { background: var(--white); }

/* Responsável ------------------------------------------------------------ */
.person-section__grid { display: grid; gap: 2.5rem; }
.person-section__card {
  align-self: start;
  padding: clamp(1.75rem, 4vw, 2.75rem);
  background: var(--white);
  border-top: 4px solid var(--navy);
  box-shadow: var(--shadow);
}
.person-section__photo { margin-bottom: 1.75rem; }
.person-section__photo img { aspect-ratio: 4 / 5; }
.person-section__name { font-size: clamp(1.9rem, 1.5rem + 1.5vw, 2.6rem); }
.person-section__title { margin-top: .5rem; font-weight: 700; font-size: 1.05rem; color: var(--blue-ink); }
.person-section__card .credentials { display: grid; gap: .9rem; margin-top: 1.75rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.credentials li {
  display: grid;
  grid-template-columns: 1.4rem minmax(0, 1fr);
  gap: .75rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--ink);
}
.credentials .icon { width: 1.4rem; height: 1.4rem; color: var(--blue-ink); }
.person-section__body { color: var(--muted); max-width: 40rem; }
.person-section__body .text-lg { color: var(--ink); }
.person-section__subtitle { margin-top: 2rem; }
.tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .9rem; }
.tags li {
  padding: .45rem .85rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--white);
  font-size: .92rem;
  font-weight: 600;
  color: var(--navy);
}
@media (min-width: 900px) {
  .person-section__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(3rem, 6vw, 6rem); align-items: center; }
}

/* Localização (página inicial) -------------------------------------------- */
.location__grid { display: grid; gap: 2.5rem; }
.location__text { color: var(--muted); max-width: 32rem; }
.location__text .h2 { margin-bottom: 1.25rem; }
.location__modes { display: grid; gap: 1rem; }
.location-mode {
  display: grid;
  grid-template-columns: 2.75rem minmax(0, 1fr);
  gap: 1.1rem;
  padding: 1.6rem;
  background: var(--white);
  border-left: 3px solid var(--blue);
}
.location-mode__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.75rem; height: 2.75rem;
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--white);
}
.location-mode__icon .icon { width: 1.35rem; height: 1.35rem; }
.location-mode h3 { margin-bottom: .4rem; }
.location-mode p { color: var(--muted); }
.location-mode address { margin-top: .75rem; font-style: normal; font-weight: 600; color: var(--ink); line-height: 1.5; }
.location-mode .link-arrow { margin-top: .75rem; }
@media (min-width: 900px) {
  .location__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(3rem, 7vw, 7rem); align-items: center; }
}

/* Morada (contactos e rodapé) ---------------------------------------------- */
.contact__office h2 { display: flex; align-items: center; gap: .6rem; margin-bottom: .75rem; }
.contact__office h2 .icon { color: var(--blue-ink); }
.contact__office address { font-style: normal; font-weight: 600; color: var(--ink); line-height: 1.55; }
.contact__office p { color: var(--muted); margin-top: .6rem; }
.contact__office .link-arrow { margin-top: .85rem; }
.site-footer__contacts address { font-style: normal; }
.site-footer__note { display: block; margin: .2rem 0 0 1.7rem; font-size: .85rem; color: rgba(255, 255, 255, .65); }

/* Serviços --------------------------------------------------------------- */
.anchor-nav {
  position: sticky;
  top: var(--header-h);
  z-index: 40;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.anchor-nav__list {
  display: flex;
  gap: .25rem;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding-block: .5rem;
}
.anchor-nav__list::-webkit-scrollbar { display: none; }
.anchor-nav__list a {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  min-height: 44px;
  padding: .55rem .9rem;
  white-space: nowrap;
  border-radius: var(--radius);
  color: var(--ink);
  font-weight: 600;
  font-size: .92rem;
  text-decoration: none;
  transition: background-color .2s, color .2s;
}
.anchor-nav__list .icon { width: 1.1rem; height: 1.1rem; color: var(--blue-ink); }
.anchor-nav__list a:hover { background: var(--mist); color: var(--navy); }
.anchor-nav__list a.is-active { background: var(--navy); color: var(--white); }
.anchor-nav__list a.is-active .icon { color: var(--sky); }

.service-detail { scroll-margin-top: calc(var(--header-h) + 60px); }
.service-detail__grid { display: grid; gap: 2.75rem; align-items: start; }
.service-detail__text { color: var(--muted); max-width: 40rem; }
.service-detail__text .h2 { margin-bottom: 1.25rem; }
.service-detail__text .text-lg { color: var(--ink); margin-bottom: 1rem; }

.service-detail__kicker {
  display: flex;
  align-items: center;
  gap: .85rem;
  margin-bottom: 1.25rem;
  color: var(--navy);
}
.service-detail__kicker .icon { width: 1.6rem; height: 1.6rem; }
.service-detail__num {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--blue-ink);
  padding-right: .85rem;
  border-right: 1px solid var(--line-strong);
}

.includes { margin-top: 2.25rem; padding-top: 1.75rem; border-top: 1px solid var(--line); }
.includes__title {
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue-ink);
}
.includes .checklist { margin-top: 1.1rem; }

.note {
  display: flex;
  gap: .75rem;
  margin-top: 1.75rem !important;
  padding: 1rem 1.15rem;
  background: var(--mist);
  border-left: 3px solid var(--blue);
  font-size: .94rem;
  line-height: 1.55;
  color: var(--muted);
}
.note .icon { color: var(--blue-ink); margin-top: .1rem; }
.section--mist .note { background: var(--white); }

.service-detail__media img { aspect-ratio: 4 / 3; }

@media (min-width: 900px) {
  .service-detail__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(3rem, 6vw, 6rem); }
  .service-detail__media { position: sticky; top: calc(var(--header-h) + 90px); }
  .service-detail--reverse .service-detail__text { order: 2; }
  .service-detail--reverse .service-detail__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
}

.combine__inner { display: grid; gap: 1.5rem; padding-block: 0; }
.combine__body { color: var(--muted); }
@media (min-width: 900px) {
  .combine__inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(3rem, 7vw, 7rem); align-items: end; }
}

/* Contactos -------------------------------------------------------------- */
.contact { padding-top: clamp(3rem, 6vw, 5rem); }
.contact__grid { display: grid; gap: 3rem; align-items: start; }

.contact__aside { display: grid; gap: 2.5rem; }
.contact__aside-title { margin-bottom: -1rem; }

.contact-methods { display: grid; gap: .75rem; }
.contact-method {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: .9rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: inherit;
  text-decoration: none;
  transition: border-color .2s, background-color .2s;
}
.contact-method:hover { border-color: var(--navy); background: var(--mist); color: inherit; }
.contact-method__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.75rem; height: 2.75rem;
  flex-shrink: 0;
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--white);
}
.contact-method__icon--wa { background: var(--whatsapp); }
.contact-method__label {
  display: block;
  font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted);
}
.contact-method__value { display: block; font-weight: 700; font-size: 1.05rem; color: var(--navy); line-height: 1.35; }

.contact__meeting h2, .contact__next h2 { display: flex; align-items: center; gap: .6rem; margin-bottom: .75rem; }
.contact__meeting .icon { color: var(--blue-ink); }
.contact__meeting p { color: var(--muted); }

.mini-steps { counter-reset: mini; display: grid; gap: .65rem; }
.mini-steps li {
  counter-increment: mini;
  display: grid;
  grid-template-columns: 1.85rem minmax(0, 1fr);
  gap: .75rem;
  color: var(--muted);
}
.mini-steps li::before {
  content: counter(mini);
  display: inline-flex; align-items: center; justify-content: center;
  width: 1.85rem; height: 1.85rem;
  border-radius: 50%;
  background: var(--mist-2);
  color: var(--navy);
  font-family: var(--font-serif);
  font-weight: 600;
}

.contact__media img { aspect-ratio: 3 / 2; }

.contact__form-wrap { scroll-margin-top: calc(var(--header-h) + 1rem); }
.contact__form-wrap:focus { outline: none; }

@media (min-width: 900px) {
  .contact__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(3rem, 6vw, 6rem); }
}
@media (max-width: 899px) {
  .contact__form-wrap { order: -1; }
  .contact__media { display: none; }
}

/* Formulário ------------------------------------------------------------- */
.form {
  padding: clamp(1.5rem, 4vw, 3rem);
  background: var(--mist);
  border-top: 4px solid var(--navy);
}
.form__head { margin-bottom: 1.75rem; }
.form__required-note { margin-top: .4rem; font-size: .9rem; color: var(--muted); }

.form__grid { display: grid; gap: 1.35rem 1.25rem; }
@media (min-width: 640px) {
  .form__grid { grid-template-columns: 1fr 1fr; }
  .field--full { grid-column: 1 / -1; }
}

.field { display: grid; gap: .45rem; align-content: start; }
.field label { font-weight: 700; font-size: .95rem; color: var(--navy); }
.field .req { color: var(--error); margin-left: .1rem; }
.field .optional { font-weight: 500; color: var(--muted); }
.field__hint { font-size: .88rem; line-height: 1.5; color: var(--muted); margin-top: -.1rem; }

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: .8rem 1rem;
  border: 1.5px solid var(--field);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.4;
  transition: border-color .15s, box-shadow .15s;
  appearance: none;
}
.field textarea { min-height: 170px; resize: vertical; line-height: 1.55; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--navy); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(38, 124, 184, .38);
}

.select { position: relative; }
.select select { padding-right: 2.75rem; cursor: pointer; }
.select::after {
  content: "";
  position: absolute;
  right: 1.1rem; top: 50%;
  width: .55rem; height: .55rem;
  border-right: 2px solid var(--navy);
  border-bottom: 2px solid var(--navy);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}

.field--error input, .field--error select, .field--error textarea { border-color: var(--error); background: var(--error-bg); }
.field--error input:focus, .field--error select:focus, .field--error textarea:focus { box-shadow: 0 0 0 3px rgba(180, 35, 24, .25); }
.field__error {
  display: flex;
  gap: .45rem;
  align-items: flex-start;
  font-size: .9rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--error);
}
.field__error .icon { width: 1.05rem; height: 1.05rem; margin-top: .12rem; }

.field--hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.form__privacy {
  display: flex;
  gap: .65rem;
  margin-top: 1.75rem;
  font-size: .9rem;
  line-height: 1.55;
  color: var(--muted);
}
.form__privacy .icon { color: var(--blue-ink); width: 1.15rem; height: 1.15rem; margin-top: .1rem; }

.form__actions { margin-top: 1.75rem; }
@media (max-width: 639px) { .form__actions .btn { width: 100%; } }

/* Avisos ----------------------------------------------------------------- */
.alert {
  display: flex;
  gap: .9rem;
  margin-bottom: 1.75rem;
  padding: 1.15rem 1.25rem;
  border-left: 4px solid;
  border-radius: 0 var(--radius) var(--radius) 0;
  line-height: 1.55;
}
.alert:focus { outline: 3px solid var(--blue); outline-offset: 2px; }
.alert > .icon { width: 1.4rem; height: 1.4rem; margin-top: .1rem; }
.alert__title { margin-bottom: .35rem; font-size: 1.05rem; font-weight: 700; line-height: 1.4; }
.alert ul { margin: .35rem 0 0; padding-left: 1.1rem; }
.alert li + li { margin-top: .25rem; }
.alert a { color: inherit; font-weight: 600; }

.alert--error { background: var(--error-bg); border-color: var(--error); color: #7A1810; }
.alert--success { background: var(--success-bg); border-color: var(--success); color: #134430; padding: 1.75rem; }
.alert--test { background: var(--mist-2); border-color: var(--blue); color: var(--navy); padding: 1.75rem; }

/* Páginas legais --------------------------------------------------------- */
.legal { padding-top: clamp(2.5rem, 5vw, 4rem); }
.legal__inner > * { max-width: 46rem; }
.legal__updated { font-size: .9rem; color: var(--muted); margin-bottom: 2rem; }

.prose { color: var(--ink); }
.prose h2 { margin: 2.5rem 0 .85rem; font-size: clamp(1.45rem, 1.3rem + .6vw, 1.8rem); line-height: 1.2; }
.prose p, .prose li { color: var(--ink); }
.prose ul { padding-left: 1.25rem; margin: .75rem 0; }
.prose li + li { margin-top: .4rem; }
.prose a { font-weight: 600; text-decoration: underline; }
.prose code { font-size: .9em; background: var(--mist-2); padding: .1rem .35rem; border-radius: 3px; }

.table-wrap { overflow-x: auto; margin: 1.25rem 0; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: .94rem; }
th, td { padding: .85rem 1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
th { background: var(--mist); color: var(--navy); font-weight: 700; }
tr:last-child td { border-bottom: 0; }

/* Rodapé ----------------------------------------------------------------- */
.site-footer {
  padding-top: clamp(3.5rem, 7vw, 5.5rem);
  background: var(--navy-deep);
  color: rgba(255, 255, 255, .78);
  font-size: .95rem;
}
.site-footer a { color: rgba(255, 255, 255, .9); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }

.site-footer__grid { display: grid; gap: 2.5rem; padding-bottom: 3rem; }
.site-footer__brand img { width: 120px; height: auto; margin-bottom: 1.25rem; }
.site-footer__brand p { max-width: 22rem; margin-bottom: 1.5rem; }
.site-footer__brand .btn { color: var(--navy); text-decoration: none; }

.site-footer__title {
  margin-bottom: 1rem;
  font-size: .76rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--sky);
}
.site-footer__col ul { display: grid; gap: .6rem; margin: 0; padding: 0; list-style: none; }
.site-footer__contacts a { display: inline-flex; align-items: flex-start; gap: .6rem; }
.site-footer__contacts .icon { width: 1.1rem; height: 1.1rem; margin-top: .2rem; color: var(--sky); }

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 2rem;
  align-items: center;
  padding-block: 1.5rem calc(1.5rem + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(255, 255, 255, .14);
  font-size: .86rem;
  color: rgba(255, 255, 255, .7);
}
.site-footer__legal { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.site-footer__credits { margin: 0 0 0 auto; }

@media (max-width: 759px) {
  /* Espaço para o botão flutuante de WhatsApp no fim da página */
  .site-footer__bottom { padding-bottom: calc(5.5rem + env(safe-area-inset-bottom)); }
  .site-footer__credits { width: 100%; margin-left: 0; }
}
@media (min-width: 640px) {
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .site-footer__grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, .9fr) minmax(0, 1.1fr) minmax(0, 1.3fr); gap: 3rem; }
}

/* Botão flutuante de WhatsApp -------------------------------------------- */
.wa-float {
  position: fixed;
  z-index: 45;
  right: max(1rem, env(safe-area-inset-right));
  bottom: calc(1rem + env(safe-area-inset-bottom));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: var(--white);
  box-shadow: 0 6px 20px rgba(11, 41, 66, .28);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s, background-color .2s;
}
.wa-float:hover { background: #0E7A5F; color: var(--white); transform: translateY(-2px); }
.wa-float:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
.wa-float__icon { width: 28px; height: 28px; }
.wa-float.is-hidden {
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s linear .2s;
}
.menu-open .wa-float { opacity: 0; visibility: hidden; }

@media (min-width: 900px) {
  .wa-float { right: max(1.5rem, env(safe-area-inset-right)); bottom: calc(1.5rem + env(safe-area-inset-bottom)); }
}

/* Revelação ao percorrer a página ---------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity .55s var(--ease), transform .55s var(--ease);
  }
  .js .reveal.is-visible { opacity: 1; transform: none; }
}

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

/* Impressão -------------------------------------------------------------- */
@media print {
  .site-header, .wa-float, .anchor-nav, .cta-final, .brand-cut, .brand-stripes { display: none !important; }
  body { color: #000; }
  .section { padding-block: 1.5rem; }
}

/* Aviso de consentimento de cookies (Google Analytics) ------------------- */
.cookie-banner {
  position: fixed;
  inset: auto 1rem calc(1rem + env(safe-area-inset-bottom)) 1rem;
  z-index: 60;
  max-width: 44rem;
  margin-inline: auto;
  background: var(--white);
  border-top: 3px solid var(--navy);
  border-radius: var(--radius);
  box-shadow: 0 18px 50px rgba(16, 55, 91, .22);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner__inner { display: grid; gap: 1rem; padding: 1.25rem 1.25rem 1.1rem; }
.cookie-banner__title { margin: 0 0 .35rem; font-size: 1rem; font-weight: 700; color: var(--navy); }
.cookie-banner__text p { margin: 0; font-size: .9rem; line-height: 1.55; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.cookie-banner__actions .btn { flex: 1 1 8rem; }
@media (min-width: 760px) {
  .cookie-banner__inner { grid-template-columns: 1fr auto; align-items: center; gap: 1.5rem; padding: 1.25rem 1.5rem; }
  .cookie-banner__actions .btn { flex: 0 0 auto; }
}
.site-footer__link-btn {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: rgba(255, 255, 255, .9);
  cursor: pointer;
}
.site-footer__link-btn:hover { color: var(--white); text-decoration: underline; }
