/* ==========================================================================
   Agência Negócios Online (Agência NOJ) — Landing page
   Mobile-first · CSS puro · Tema nude
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  /* Paleta nude */
  --sand-50: #FDFBF7;      /* fundo principal */
  --sand-100: #F5EFE6;     /* fundo alternativo */
  --nude-200: #E8D8C8;     /* cartões / seções alternadas */
  --nude-300: #D8C4B6;     /* linhas e bordas suaves */
  --bronze-500: #A07855;   /* acentos decorativos */
  --bronze-600: #8C6239;   /* botões e textos de destaque */
  --bronze-700: #74512F;   /* hover dos botões */
  --ink-900: #1A1513;      /* títulos */
  --ink-800: #2B2421;      /* texto */
  --ink-600: #5E4F46;      /* texto secundário */
  --field-border: #9A8577;
  --wa-green: #25D366;
  --wa-green-hover: #1FC05C;
  --error: #9E2A1F;
  --success: #2E6B3A;

  /* Tipografia */
  --font-display: "Bodoni Moda", "Bodoni 72", Didot, "Times New Roman", serif;
  /* Bodoni Moda "ajustada": versão de texto pequeno (traços finos mais grossos) e peso 600 */
  --display-weight: 600;
  --display-opsz: "opsz" 11;
  --font-body: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  /* Layout */
  --container: 1160px;
  --gutter: clamp(20px, 5vw, 40px);
  --header-h: 72px;
  --section-space: clamp(72px, 10vw, 128px);
  --radius-card: 6px;
  --radius-field: 4px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

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

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink-800);
  background-color: var(--sand-50);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3 {
  margin: 0;
  font-family: var(--font-display);
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--ink-900);
  text-wrap: balance;
}

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

/* Todos os textos na fonte dos títulos usam a mesma regulagem */
h1, h2, h3,
.price-value,
.about-lead,
.pillar dt,
.instagram-handle,
.services-cta-title {
  font-weight: var(--display-weight);
  font-variation-settings: var(--display-opsz);
}

a { color: inherit; }

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

/* Seções focadas por script (rolagem acessível) não exibem contorno */
section:focus,
main:focus { outline: none; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.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;
}

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

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  z-index: 100;
  padding: 12px 20px;
  background: var(--ink-900);
  color: var(--sand-50);
  font-weight: 600;
  text-decoration: none;
  border-radius: 0 0 var(--radius-field) var(--radius-field);
}
.skip-link:focus { top: 0; }

@media (min-width: 768px) {
  body { font-size: 1.0625rem; }
}

/* ---------- 3. Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 28px;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .15s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn svg { flex: none; }

.btn--primary { background-color: var(--bronze-600); color: var(--sand-50); }
.btn--primary:hover { background-color: var(--bronze-700); }

.btn--whatsapp { background-color: var(--wa-green); color: var(--ink-900); }
.btn--whatsapp:hover { background-color: var(--wa-green-hover); }

.btn--instagram { background-color: var(--ink-900); color: var(--sand-50); }
.btn--instagram:hover { background-color: var(--ink-800); }

.btn--outline { background-color: transparent; border-color: var(--ink-900); color: var(--ink-900); }
.btn--outline:hover { background-color: var(--ink-900); color: var(--sand-50); }

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

.btn[disabled] { opacity: .75; cursor: progress; }

/* ---------- 4. Cabeçalho fixo ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background-color: var(--sand-100);
  border-bottom: 1px solid transparent;
  transition: background-color .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}

.site-header.is-scrolled,
.site-header.menu-open {
  background-color: rgba(253, 251, 247, .94);
  border-bottom-color: var(--nude-200);
  box-shadow: 0 10px 30px -22px rgba(43, 36, 33, .45);
}

@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .site-header.is-scrolled {
    background-color: rgba(253, 251, 247, .82);
    -webkit-backdrop-filter: saturate(1.3) blur(12px);
    backdrop-filter: saturate(1.3) blur(12px);
  }
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: block;
  flex: none;
  border-radius: 2px;
}

.brand-logo {
  width: auto;
  height: 24px;
  transform-origin: left center;
  transition: transform .3s var(--ease);
}
.is-scrolled .brand-logo { transform: scale(.94); }

/* Botão do menu (celular) */
.nav-toggle {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  padding: 0;
  background: none;
  border: 0;
  border-radius: var(--radius-field);
  color: var(--ink-900);
  cursor: pointer;
}

.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  display: block;
  width: 22px;
  height: 1.5px;
  background-color: currentColor;
  border-radius: 2px;
  transition: transform .3s var(--ease), background-color .2s;
}
.nav-toggle-bar { position: relative; }
.nav-toggle-bar::before,
.nav-toggle-bar::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bar::before { transform: translateY(-7px); }
.nav-toggle-bar::after { transform: translateY(7px); }

.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background-color: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: rotate(-45deg); }

/* Menu suspenso (celular) */
.site-nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: var(--sand-50);
  border-bottom: 1px solid var(--nude-200);
  box-shadow: 0 24px 40px -28px rgba(43, 36, 33, .5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s linear .25s;
}

.site-nav.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 0s;
}

/* Sem JavaScript, o menu fica sempre visível */
.no-js .nav-toggle { display: none; }
.no-js .site-nav { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: none; }
.no-js .site-header { position: static; height: auto; }
.no-js .header-inner { flex-wrap: wrap; padding-block: 16px; }
@media (max-width: 959px) {
  .no-js .site-nav { flex-basis: 100%; }
  .no-js .nav-list { padding-inline: 0; }
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 8px var(--gutter) 24px;
  display: flex;
  flex-direction: column;
}

.nav-link {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid var(--nude-200);
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--ink-900);
  text-decoration: none;
}
.nav-link[aria-current="true"] { color: var(--bronze-600); }

.nav-link--cta {
  margin-top: 20px;
  padding: 14px 24px;
  border: 1.5px solid var(--bronze-600);
  border-radius: 999px;
  text-align: center;
  color: var(--bronze-600);
}

@media (min-width: 768px) {
  .brand-logo { height: 28px; }
}

@media (min-width: 960px) {
  .nav-toggle { display: none; }

  .site-nav {
    position: static;
    background: none;
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: none;
  }

  .nav-list {
    flex-direction: row;
    align-items: center;
    gap: clamp(20px, 2.6vw, 36px);
    padding: 0;
  }

  .nav-link {
    position: relative;
    padding: 8px 0;
    border: 0;
    font-size: .9375rem;
    transition: color .2s var(--ease);
  }

  .nav-link:not(.nav-link--cta)::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 2px;
    height: 1.5px;
    background-color: var(--bronze-500);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s var(--ease);
  }
  .nav-link:hover { color: var(--bronze-600); }
  .nav-link:hover::after,
  .nav-link[aria-current="true"]::after { transform: scaleX(1); }

  .nav-link--cta {
    margin: 0;
    padding: 9px 22px;
    border: 1.5px solid var(--bronze-600);
    color: var(--bronze-600);
    transition: background-color .2s var(--ease), color .2s var(--ease);
  }
  .nav-link--cta:hover,
  .nav-link--cta[aria-current="true"] { background-color: var(--bronze-600); color: var(--sand-50); }
}

/* ---------- 5. Seções (base) ---------- */
.section { padding-block: var(--section-space); }

.section-title {
  font-size: clamp(2.125rem, 1.55rem + 2.4vw, 3.25rem);
}

.section-head {
  display: grid;
  gap: 16px;
  margin-bottom: clamp(40px, 6vw, 64px);
}

.section-intro {
  max-width: 52ch;
  color: var(--ink-600);
}

@media (min-width: 900px) {
  .section-head {
    grid-template-columns: 5fr 7fr;
    align-items: end;
    gap: 64px;
  }
}

/* ---------- 6. Início (hero) ---------- */
.hero {
  background-color: var(--sand-100);
  padding-top: clamp(28px, 5vw, 56px);
  overflow: hidden;
}

.hero-banner {
  max-width: 820px;
  margin: 0 auto;
}
.hero-banner img { width: 100%; }

.hero-body {
  display: grid;
  gap: 40px;
  margin-top: clamp(28px, 4vw, 48px);
  padding-top: clamp(32px, 5vw, 56px);
  border-top: 1px solid var(--nude-300);
}

.hero-text { padding-bottom: 8px; }
.hero-text .hero-copy { margin-top: 28px; }

/* Foto apoiada na base da seção, com um anel que repete o "O" do logo */
.hero-photo {
  position: relative;
  justify-self: center;
  width: min(72vw, 340px);
  margin: 0;
  isolation: isolate;
}
.hero-photo::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  bottom: 6%;
  width: 112%;
  aspect-ratio: 1;
  transform: translateX(-50%);
  border-radius: 50%;
  background-color: var(--nude-200);
  box-shadow: 0 0 0 1.5px var(--sand-100), 0 0 0 3px var(--bronze-500);
}
.hero-photo img { width: 100%; }

.hero-title {
  font-size: clamp(2.5rem, 1.55rem + 4.4vw, 4.75rem);
  line-height: 1.04;
  letter-spacing: -0.015em;
}

.hero-copy { max-width: 46ch; }

.hero-kicker {
  margin-bottom: 12px;
  font-weight: 600;
  color: var(--bronze-600);
}
.hero-kicker + p { margin-top: 0; }

.hero-copy .btn { margin-top: 32px; }

@media (min-width: 900px) {
  .hero-body {
    grid-template-columns: 7fr 5fr;
    align-items: end;
    gap: 48px;
  }
  .hero-text { padding-bottom: clamp(56px, 7vw, 96px); }
  .hero-photo { width: min(100%, 440px); justify-self: end; }
}

/* ---------- 7. Nossos Serviços ---------- */
.services-grid {
  display: grid;
  gap: 20px;
}

.service-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: clamp(28px, 4vw, 44px);
  background-color: var(--nude-200);
  border-radius: var(--radius-card);
}

.service-photo {
  width: calc(100% + 2 * clamp(28px, 4vw, 44px));
  max-width: none;
  margin: calc(-1 * clamp(28px, 4vw, 44px)) calc(-1 * clamp(28px, 4vw, 44px)) 8px;
  border-radius: var(--radius-card) var(--radius-card) 0 0;
  aspect-ratio: 8 / 5;
  object-fit: cover;
}

/* Ícone dentro de um anel, como o "O" do logo */
.service-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 1.5px solid var(--bronze-500);
  border-radius: 50%;
  color: var(--bronze-600);
}

.service-title { font-size: clamp(1.625rem, 1.4rem + .8vw, 2rem); }

.service-text { flex: 1; }

.service-price {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 8px;
  padding-top: 20px;
  border-top: 1px solid rgba(26, 21, 19, .14);
}

.price-label {
  font-size: .875rem;
  color: var(--ink-600);
}

.price-value {
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.6rem + 1.4vw, 2.625rem);
  line-height: 1.1;
  color: var(--ink-900);
  font-variant-numeric: lining-nums;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  font-weight: 600;
  font-size: .9375rem;
  color: var(--ink-900);
  text-decoration: underline;
  text-decoration-color: var(--bronze-500);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 5px;
  transition: color .2s var(--ease);
}
.service-link:hover { color: var(--bronze-700); }
.service-link svg { color: var(--bronze-600); }

/* Faixa de orçamento com a foto "saindo" pelo topo */
.services-cta {
  display: grid;
  margin-top: clamp(96px, 14vw, 150px);
  background-color: var(--nude-300);
  border-radius: var(--radius-card);
}

.services-cta-photo {
  justify-self: center;
  width: min(64vw, 280px);
  margin: calc(-1 * clamp(80px, 14vw, 120px)) 0 0;
}
.services-cta-photo img { width: 100%; }

.services-cta-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 28px clamp(24px, 4vw, 48px) 32px;
  border-top: 1px solid rgba(26, 21, 19, .12);
}

.services-cta-title {
  font-family: var(--font-display);
  font-size: clamp(1.625rem, 1.3rem + 1.3vw, 2.25rem);
  line-height: 1.15;
  color: var(--ink-900);
  max-width: 22ch;
  text-wrap: balance;
}
.services-cta-body p:not(.services-cta-title) { margin-top: 0; max-width: 44ch; color: var(--ink-800); }
.services-cta-body .btn { margin-top: 12px; }

@media (min-width: 768px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }

  .services-cta {
    grid-template-columns: 5fr 7fr;
    align-items: center;
  }
  .services-cta-photo {
    align-self: end;
    width: min(100%, 360px);
    margin-top: calc(-1 * clamp(110px, 12vw, 150px));
    margin-left: clamp(16px, 3vw, 40px);
    justify-self: start;
  }
  .services-cta-body { border-top: 0; padding-block: 40px; }
}

/* ---------- 8. Quem Somos ---------- */
.about { background-color: var(--nude-200); }

.about-grid {
  display: grid;
  gap: 28px;
  grid-template-areas: "titulo" "foto" "texto";
}
.about-grid > .section-title { grid-area: titulo; }
.about-body { grid-area: texto; min-width: 0; }

/* Retrato inteiro dentro de um arco claro; a cabeça ultrapassa o topo do arco */
.about-photo-wrap {
  grid-area: foto;
  position: relative;
  justify-self: center;
  width: min(64vw, 250px);
  margin: 0;
  padding-inline: 7%;
  isolation: isolate;
}
.about-photo-wrap::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 9% 0 0;
  border-radius: 999px 999px var(--radius-card) var(--radius-card);
  background-color: var(--sand-50);
  border: 1.5px solid var(--bronze-500);
}
.about-portrait { width: 100%; padding-bottom: 6%; }

.about-lead {
  margin-bottom: 1.25em;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1.2rem + 1.3vw, 2.125rem);
  line-height: 1.3;
  color: var(--ink-900);
  max-width: 32ch;
}
.about-lead + p { margin-top: 0; max-width: 60ch; }

.pillars {
  display: grid;
  gap: 24px;
  margin: clamp(40px, 6vw, 56px) 0 0;
}

.pillar {
  padding-top: 16px;
  border-top: 1.5px solid var(--bronze-500);
}

.pillar dt {
  font-family: var(--font-display);
  font-size: 1.375rem;
  line-height: 1.2;
  color: var(--ink-900);
}

.pillar dd {
  margin: 6px 0 0;
  font-size: .9375rem;
  line-height: 1.6;
  color: var(--ink-600);
}

/* Destaque do Instagram */
.instagram-callout {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 18px;
  margin-top: clamp(40px, 6vw, 56px);
  padding: clamp(20px, 3vw, 28px);
  background-color: var(--sand-50);
  border-radius: var(--radius-card);
}

.instagram-callout-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1.5px solid var(--bronze-500);
  border-radius: 50%;
  color: var(--bronze-600);
}

.instagram-callout-text {
  font-size: .9375rem;
  line-height: 1.45;
  color: var(--ink-600);
}

.instagram-handle {
  display: block;
  margin-top: 2px;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1.05rem + .9vw, 1.625rem);
  line-height: 1.2;
  color: var(--ink-900);
  overflow-wrap: anywhere;
}

.instagram-callout .btn { grid-column: 1 / -1; }

@media (min-width: 640px) {
  .pillars { grid-template-columns: repeat(3, 1fr); gap: 28px; }

  .instagram-callout { grid-template-columns: auto 1fr auto; gap: 20px; }
  .instagram-callout .btn { grid-column: auto; }
}

@media (min-width: 900px) {
  .about-grid {
    grid-template-columns: 4fr 8fr;
    grid-template-areas: "titulo texto" "foto texto";
    grid-template-rows: auto 1fr;
    column-gap: 64px;
    row-gap: 40px;
  }
  .about-photo-wrap { width: min(100%, 320px); justify-self: start; align-self: end; }
}

/* ---------- 9. Contato ---------- */
.contact { background-color: var(--sand-100); }

.contact-grid {
  display: grid;
  gap: 40px;
}

.contact-intro .section-title {
  font-size: clamp(2rem, 1.5rem + 2vw, 3rem);
  max-width: 16ch;
}

.contact-intro > p:not(.contact-phone) {
  margin-top: 20px;
  max-width: 44ch;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

@media (max-width: 479px) {
  .contact-actions .btn { flex: 1 1 100%; }
}

.contact-phone {
  margin-top: 16px;
  font-size: .9375rem;
  color: var(--ink-600);
}
.contact-phone a {
  color: var(--ink-900);
  font-weight: 600;
  text-decoration-color: var(--bronze-500);
  text-underline-offset: 4px;
}

/* Formulário */
.contact-form {
  display: grid;
  gap: 20px;
  padding: clamp(24px, 4vw, 40px);
  background-color: var(--sand-50);
  border: 1px solid var(--nude-300);
  border-radius: var(--radius-card);
}

.field label {
  display: block;
  margin-bottom: 6px;
  font-size: .9375rem;
  font-weight: 600;
  color: var(--ink-900);
}

.optional {
  font-weight: 400;
  color: var(--ink-600);
}

.field input,
.field select,
.field textarea {
  display: block;
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 1rem; /* 16px evita zoom automático no iOS */
  line-height: 1.5;
  color: var(--ink-900);
  background-color: #FFFFFF;
  border: 1px solid var(--field-border);
  border-radius: var(--radius-field);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}

.field textarea { min-height: 140px; resize: vertical; }

.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%238C6239' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  cursor: pointer;
}

.field ::placeholder { color: #8A786C; opacity: 1; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--bronze-600);
  box-shadow: 0 0 0 3px rgba(160, 120, 85, .28);
}

.field [aria-invalid="true"] { border-color: var(--error); }
.field [aria-invalid="true"]:focus { box-shadow: 0 0 0 3px rgba(158, 42, 31, .2); }

.field-error {
  margin-top: 6px;
  font-size: .875rem;
  line-height: 1.45;
  color: var(--error);
}
.field-error:empty { display: none; }

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

.form-actions .btn { margin-top: 4px; }

.form-note {
  margin-top: 12px;
  font-size: .8125rem;
  color: var(--ink-600);
  text-align: center;
}

.form-status {
  padding: 16px 18px;
  border-left: 3px solid currentColor;
  border-radius: 0 var(--radius-field) var(--radius-field) 0;
  font-size: .9375rem;
  line-height: 1.55;
}
.form-status.is-success { color: var(--success); background-color: rgba(46, 107, 58, .08); }
.form-status.is-error { color: var(--error); background-color: rgba(158, 42, 31, .06); }
.form-status p { color: var(--ink-800); }
.form-status strong { display: block; margin-bottom: 4px; color: inherit; }
.form-status .btn { margin-top: 14px; min-height: 46px; padding: 10px 22px; font-size: .9375rem; }

@media (min-width: 640px) {
  .contact-form { grid-template-columns: 1fr 1fr; gap: 20px 18px; }
  .field--full { grid-column: 1 / -1; }
}

@media (min-width: 960px) {
  .contact-grid {
    grid-template-columns: 5fr 7fr;
    gap: 72px;
    align-items: start;
  }
  .contact-intro { position: sticky; top: calc(var(--header-h) + 40px); }
}

/* ---------- 10. Rodapé ---------- */
.site-footer {
  padding-top: clamp(56px, 8vw, 88px);
  background-color: var(--ink-900);
  color: var(--nude-300);
  font-size: .9375rem;
}

.footer-grid {
  display: grid;
  gap: 40px;
  padding-bottom: clamp(40px, 6vw, 64px);
}

.footer-brand img {
  width: auto;
  height: 46px;
}

.footer-brand p {
  margin-top: 20px;
  max-width: 34ch;
}

.footer-title {
  margin-bottom: 14px;
  font-family: var(--font-body);
  font-size: .9375rem;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--sand-100);
}

.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.footer-list a {
  display: inline-block;
  padding-block: 4px;
  color: var(--nude-300);
  text-decoration: none;
  transition: color .2s var(--ease);
}
.footer-list a:hover { color: #C9A27E; text-decoration: underline; text-underline-offset: 4px; }

.footer-list .footer-icon-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.footer-icon-link svg { flex: none; color: #C9A27E; }

.site-footer :focus-visible { outline-color: #C9A27E; }

.footer-bottom {
  padding-block: 24px 96px; /* espaço para o botão flutuante no celular */
  border-top: 1px solid rgba(216, 196, 182, .16);
  font-size: .8125rem;
  color: #B9A595;
}

@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; gap: 48px; }
  .footer-bottom { padding-block: 24px; }
}

/* ---------- 11. WhatsApp flutuante ---------- */
.whatsapp-float {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 60;
  display: flex;
  align-items: center;
  height: 58px;
  min-width: 58px;
  padding: 0 15px;
  background-color: var(--wa-green);
  color: var(--ink-900);
  border-radius: 999px;
  box-shadow: 0 12px 28px -10px rgba(26, 21, 19, .55), 0 0 0 1px rgba(26, 21, 19, .08);
  font-weight: 600;
  font-size: .9375rem;
  text-decoration: none;
  transition: background-color .2s var(--ease), transform .2s var(--ease);
}
.whatsapp-float:hover { background-color: var(--wa-green-hover); }
.whatsapp-float svg { flex: none; }

.whatsapp-float-label {
  max-width: 0;
  overflow: hidden;
  white-space: nowrap;
  transition: max-width .3s var(--ease), margin .3s var(--ease);
}

@media (hover: hover) and (min-width: 960px) {
  .whatsapp-float:hover .whatsapp-float-label,
  .whatsapp-float:focus-visible .whatsapp-float-label {
    max-width: 140px;
    margin-left: 10px;
  }
}

/* ---------- 12. Movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}
