/* ============================================================
   GUIMARÃES ADVOGADOS · Identidade digital
   Base: manual da marca (vinho #5A0001, dourado #A6864E,
   rich black #10111E, Caster Serif + Public Sans)
   ============================================================ */

/* ---------- Fontes ---------- */
@font-face {
  font-family: "Caster Serif";
  src: url("../fonts/caster-serif.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Public Sans";
  src: url("../fonts/public-sans-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Public Sans";
  src: url("../fonts/public-sans-latin-400-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Public Sans";
  src: url("../fonts/public-sans-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Public Sans";
  src: url("../fonts/public-sans-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Public Sans";
  src: url("../fonts/public-sans-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --bg: #f6f6f4;
  --surface: #ffffff;
  --ink: #10111e;
  --body: #43464f;
  --muted: #6d7275;
  --line: rgba(16, 17, 30, 0.14);
  --line-soft: rgba(16, 17, 30, 0.08);
  --wine: #5a0001;
  --wine-hover: #751012;
  --gold: #a6864e;
  --gold-soft: rgba(166, 134, 78, 0.45);
  --dark: #10111e;
  --dark-text: rgba(255, 255, 255, 0.72);
  --dark-line: rgba(255, 255, 255, 0.14);
  --whatsapp: #1faa53;
  --serif: "Caster Serif", "Georgia", serif;
  --sans: "Public Sans", "Segoe UI", -apple-system, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-photo: 0 32px 70px -30px rgba(16, 17, 30, 0.35);
  --container: 1200px;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
ul,
ol {
  list-style: none;
}
::selection {
  background: var(--wine);
  color: #fff;
}
:focus-visible {
  outline: 2px solid var(--wine);
  outline-offset: 3px;
}
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 10px 18px;
  z-index: 200;
}
.skip-link:focus {
  left: 0;
}

/* ---------- Tipografia ---------- */
h1,
h2,
.serif {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.08;
  letter-spacing: 0.005em;
}
h3,
h4 {
  color: var(--ink);
  line-height: 1.3;
}
.lead {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  line-height: 1.75;
  max-width: 58ch;
}
.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.section-title {
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  max-width: 22ch;
}
.section-intro {
  margin-top: 18px;
  max-width: 56ch;
}

/* ---------- Layout base ---------- */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 40px);
}
.section {
  padding-block: clamp(76px, 9vw, 128px);
}
.section-head {
  margin-bottom: clamp(44px, 6vw, 72px);
}
.icon {
  width: 1em;
  height: 1em;
  flex: none;
  fill: currentColor;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 17px 30px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1;
  white-space: nowrap;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease),
    border-color 0.35s var(--ease), transform 0.35s var(--ease);
}
.btn .icon {
  width: 18px;
  height: 18px;
}
.btn:active {
  transform: scale(0.98);
}
.btn-primary {
  background: var(--wine);
  color: #fff;
}
.btn-primary:hover {
  background: var(--wine-hover);
  transform: translateY(-2px);
}
.btn-ghost {
  border-color: rgba(16, 17, 30, 0.35);
  color: var(--ink);
  background: transparent;
}
.btn-ghost:hover {
  border-color: var(--wine);
  color: var(--wine);
  transform: translateY(-2px);
}
.btn-light {
  background: #fff;
  color: var(--wine);
}
.btn-light:hover {
  background: #efece6;
  transform: translateY(-2px);
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 15px;
  color: var(--wine);
  transition: gap 0.35s var(--ease), color 0.35s var(--ease);
}
.text-link .icon {
  width: 16px;
  height: 16px;
  transition: transform 0.35s var(--ease);
}
.text-link:hover .icon {
  transform: translateX(4px);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 246, 244, 0.9);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s var(--ease), background-color 0.4s var(--ease);
}
.site-header.scrolled {
  border-bottom-color: var(--line);
  background: rgba(246, 246, 244, 0.96);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 78px;
}
.brand img {
  height: 46px;
  width: auto;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.6vw, 36px);
}
.main-nav a:not(.btn) {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  padding-block: 6px;
  position: relative;
  transition: color 0.3s var(--ease);
}
.main-nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1.5px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.main-nav a:not(.btn):hover::after,
.main-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}
.main-nav a:not(.btn):hover {
  color: var(--wine);
}
.main-nav .btn {
  padding: 13px 22px;
}

/* hamburguer */
.nav-toggle {
  display: none;
  position: relative;
  z-index: 120;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  position: absolute;
  left: 10px;
  width: 24px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.45s var(--ease), opacity 0.3s var(--ease);
}
.nav-toggle span:nth-child(1) {
  top: 17px;
}
.nav-toggle span:nth-child(2) {
  top: 25px;
}
body.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(4px) rotate(45deg);
}
body.nav-open .nav-toggle span:nth-child(2) {
  transform: translateY(-4px) rotate(-45deg);
}

@media (max-width: 900px) {
  .nav-toggle {
    display: block;
  }
  .main-nav {
    position: fixed;
    inset: 0;
    z-index: 110;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 8px;
    padding: 100px clamp(24px, 8vw, 56px) 48px;
    background: var(--bg);
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.45s var(--ease), visibility 0s 0.45s;
  }
  body.nav-open .main-nav {
    visibility: visible;
    opacity: 1;
    transition: opacity 0.45s var(--ease);
  }
  .main-nav a:not(.btn) {
    font-family: var(--serif);
    font-size: clamp(1.9rem, 7vw, 2.6rem);
    line-height: 1.25;
    transform: translateY(24px);
    opacity: 0;
    transition: transform 0.6s var(--ease), opacity 0.6s var(--ease),
      color 0.3s var(--ease);
  }
  body.nav-open .main-nav a:not(.btn) {
    transform: translateY(0);
    opacity: 1;
  }
  body.nav-open .main-nav a:nth-child(1) {
    transition-delay: 0.08s;
  }
  body.nav-open .main-nav a:nth-child(2) {
    transition-delay: 0.14s;
  }
  body.nav-open .main-nav a:nth-child(3) {
    transition-delay: 0.2s;
  }
  body.nav-open .main-nav a:nth-child(4) {
    transition-delay: 0.26s;
  }
  .main-nav .btn {
    margin-top: 28px;
    padding: 17px 30px;
    transform: translateY(24px);
    opacity: 0;
    transition: transform 0.6s var(--ease) 0.32s, opacity 0.6s var(--ease) 0.32s;
  }
  body.nav-open .main-nav .btn {
    transform: translateY(0);
    opacity: 1;
  }
  body.nav-open {
    overflow: hidden;
  }
}

/* ---------- Hero ---------- */
.hero {
  padding-block: clamp(48px, 6vw, 88px) clamp(64px, 8vw, 104px);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  max-width: 15ch;
}
.hero h1 em {
  font-style: normal;
  color: var(--wine);
}
.hero .lead {
  margin-top: 24px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 40px;
}
.photo-frame {
  position: relative;
}
.photo-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: translate(18px, 18px);
  border: 1px solid var(--gold-soft);
  pointer-events: none;
}
.photo-frame img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.02);
  box-shadow: var(--shadow-photo);
}
.hero .photo-frame img {
  aspect-ratio: 4 / 4.6;
  max-height: 560px;
}

/* ---------- Faixa de fatos ---------- */
.facts {
  border-block: 1px solid var(--line);
}
.facts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.fact {
  padding: 34px clamp(20px, 3vw, 40px);
}
.fact + .fact {
  border-left: 1px solid var(--line);
}
.fact strong {
  display: block;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.45rem;
  color: var(--ink);
  margin-bottom: 6px;
}
.fact span {
  font-size: 15px;
  color: var(--muted);
}

/* ---------- Áreas (home) ---------- */
.areas-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(40px, 5vw, 72px);
  align-items: start;
}
.area-featured .area-media {
  overflow: hidden;
}
.area-featured img {
  aspect-ratio: 16 / 10;
  width: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.02);
  transition: transform 0.8s var(--ease);
}
.area-featured:hover img {
  transform: scale(1.03);
}
.area-featured h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.75rem;
  margin-top: 28px;
}
.area-featured p {
  margin-top: 12px;
  max-width: 52ch;
}
.area-featured .text-link {
  margin-top: 20px;
}
.area-list {
  display: grid;
}
.area-item {
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 24px;
  padding-block: 30px;
  border-top: 1px solid var(--line);
  align-items: center;
}
.area-item:last-child {
  border-bottom: 1px solid var(--line);
}
.area-item img {
  width: 104px;
  height: 104px;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.02);
}
.area-item h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.35rem;
  transition: color 0.3s var(--ease);
}
.area-item:hover h3 {
  color: var(--wine);
}
.area-item p {
  font-size: 15px;
  margin-top: 6px;
  color: var(--muted);
}
.area-item .text-link {
  margin-top: 10px;
  font-size: 14px;
}

/* ---------- Passos ---------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(32px, 4vw, 56px);
}
.step {
  border-top: 1px solid var(--line);
  padding-top: 28px;
}
.step .num {
  font-family: var(--serif);
  font-size: 2.6rem;
  color: var(--gold);
  line-height: 1;
}
.step h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-top: 18px;
}
.step p {
  margin-top: 10px;
  font-size: 15.5px;
}

/* ---------- Sobre (home) ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}
.about-grid .photo-frame::before {
  transform: translate(-18px, 18px);
}
.about-grid .photo-frame img {
  aspect-ratio: 4 / 3.4;
}
.about-copy h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  max-width: 20ch;
}
.about-copy p {
  margin-top: 22px;
  max-width: 54ch;
}
.about-copy .text-link {
  margin-top: 30px;
}

/* ---------- FAQ ---------- */
.faq {
  max-width: 820px;
}
.faq details {
  border-top: 1px solid var(--line);
}
.faq details:last-child {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 4px;
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  transition: color 0.3s var(--ease);
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary:hover {
  color: var(--wine);
}
.faq summary .icon {
  width: 18px;
  height: 18px;
  color: var(--gold);
  transition: transform 0.4s var(--ease);
}
.faq details[open] summary .icon {
  transform: rotate(180deg);
}
.faq .faq-body {
  padding: 0 4px 28px;
  max-width: 62ch;
}

/* ---------- Bloco final (CTA + rodapé) ---------- */
.closing {
  background: var(--dark);
  color: var(--dark-text);
}
.cta-band {
  padding-block: clamp(76px, 9vw, 120px);
}
.cta-band h2 {
  color: #fff;
  font-size: clamp(2.1rem, 4vw, 3.1rem);
  max-width: 18ch;
}
.cta-band p {
  margin-top: 18px;
  max-width: 52ch;
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  margin-top: 38px;
}
.cta-alt {
  font-size: 15px;
}
.cta-alt a {
  color: #fff;
  font-weight: 600;
  border-bottom: 1px solid var(--gold-soft);
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease);
}
.cta-alt a:hover {
  color: var(--gold);
  border-color: var(--gold);
}

.site-footer {
  border-top: 1px solid var(--dark-line);
  padding-block: clamp(56px, 7vw, 80px) 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.9fr 1.1fr;
  gap: clamp(36px, 5vw, 64px);
  padding-bottom: clamp(48px, 6vw, 64px);
}
.footer-brand img {
  height: 58px;
  width: auto;
}
.footer-brand p {
  margin-top: 20px;
  font-size: 15px;
  max-width: 34ch;
}
.footer-col h4 {
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.footer-col li + li {
  margin-top: 12px;
}
.footer-col a {
  font-size: 15px;
  transition: color 0.3s var(--ease);
}
.footer-col a:hover {
  color: var(--gold);
}
.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
}
.footer-contact li + li {
  margin-top: 14px;
}
.footer-contact .icon {
  width: 18px;
  height: 18px;
  color: var(--gold);
  margin-top: 3px;
}
.social-row {
  display: flex;
  gap: 14px;
  margin-top: 24px;
}
.social-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--dark-line);
  color: var(--dark-text);
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease),
    transform 0.3s var(--ease);
}
.social-row a:hover {
  color: var(--gold);
  border-color: var(--gold);
  transform: translateY(-2px);
}
.social-row .icon {
  width: 20px;
  height: 20px;
}
.footer-bottom {
  border-top: 1px solid var(--dark-line);
  padding-block: 26px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.5);
}

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #fff;
  box-shadow: 0 14px 34px -10px rgba(16, 17, 30, 0.4);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.wa-float:hover {
  transform: translateY(-4px) scale(1.05);
}
.wa-float .icon {
  width: 30px;
  height: 30px;
}

/* ---------- Cabeçalho de página interna ---------- */
.page-head {
  padding-block: clamp(56px, 7vw, 96px);
  border-bottom: 1px solid var(--line);
}
.page-head h1 {
  font-size: clamp(2.4rem, 4.6vw, 3.6rem);
  max-width: 18ch;
}
.page-head .lead {
  margin-top: 20px;
}

/* ---------- Página Áreas ---------- */
.anchor-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}
.anchor-nav a {
  font-size: 14px;
  font-weight: 600;
  padding: 11px 20px;
  border: 1px solid var(--line);
  color: var(--ink);
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease);
}
.anchor-nav a:hover {
  border-color: var(--wine);
  color: var(--wine);
}
.area-section {
  padding-block: clamp(72px, 8vw, 112px);
  scroll-margin-top: 90px;
}
.area-section + .area-section {
  border-top: 1px solid var(--line);
}
.area-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.area-layout.flip .area-copy {
  order: -1;
}
.area-layout .photo-frame img {
  aspect-ratio: 4 / 3.2;
}
.area-layout.flip .photo-frame::before {
  transform: translate(-18px, 18px);
}
.area-copy h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
}
.area-copy > p {
  margin-top: 20px;
  max-width: 56ch;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 28px;
  margin-top: 32px;
}
.service-grid li {
  position: relative;
  padding-left: 22px;
  font-size: 15.5px;
  line-height: 1.55;
}
.service-grid li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 10px;
  height: 1.5px;
  background: var(--gold);
}
.area-copy .btn {
  margin-top: 36px;
}
.area-copy .text-link {
  margin-top: 30px;
}

/* ---------- Página Quem Somos ---------- */
.story-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}
.story-grid .photo-frame img {
  aspect-ratio: 4 / 3.2;
}
.story-copy p + p {
  margin-top: 18px;
}
.story-copy p {
  max-width: 56ch;
}
.mission {
  border-block: 1px solid var(--line);
  padding-block: clamp(64px, 8vw, 96px);
}
.mission blockquote {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1.4;
  color: var(--ink);
  max-width: 26ch;
}
.mission blockquote em {
  font-style: italic;
  color: var(--wine);
}
.mission figcaption {
  margin-top: 26px;
  font-size: 15px;
  color: var(--muted);
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 clamp(40px, 6vw, 80px);
}
.value-item {
  border-top: 1px solid var(--line);
  padding-block: 26px;
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 18px;
}
.value-item .mark {
  font-family: var(--serif);
  color: var(--gold);
  font-size: 1.1rem;
  line-height: 1.9;
}
.value-item h3 {
  font-size: 1.05rem;
  font-weight: 600;
}
.value-item p {
  font-size: 15px;
  margin-top: 6px;
  color: var(--muted);
}
.founder-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}
.founder-grid .photo-frame::before {
  transform: translate(-18px, 18px);
}
.founder-grid .photo-frame img {
  aspect-ratio: 3 / 3.4;
}
.founder-copy h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
}
.founder-copy .role {
  margin-top: 10px;
  font-size: 15px;
  color: var(--gold);
  font-weight: 600;
}
.founder-copy p {
  margin-top: 20px;
  max-width: 54ch;
}

/* ---------- Página Contato ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(48px, 6vw, 96px);
  align-items: start;
}
.channel-list {
  display: grid;
}
.channel {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 20px;
  padding-block: 28px;
  border-top: 1px solid var(--line);
}
.channel:last-child {
  border-bottom: 1px solid var(--line);
}
.channel .ch-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  color: var(--wine);
}
.channel .ch-icon .icon {
  width: 22px;
  height: 22px;
}
.channel h3 {
  font-size: 1.02rem;
  font-weight: 600;
}
.channel p {
  font-size: 15px;
  color: var(--muted);
  margin-top: 4px;
}
.channel a.big {
  display: inline-block;
  margin-top: 8px;
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--ink);
  transition: color 0.3s var(--ease);
}
.channel a.big:hover {
  color: var(--wine);
}
.contact-form-wrap h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
}
.contact-form-wrap > p {
  margin-top: 14px;
  max-width: 52ch;
}
.contact-form {
  margin-top: 36px;
  display: grid;
  gap: 24px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.field label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--sans);
  font-size: 16px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 15px 16px;
  border-radius: 0;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.field textarea {
  min-height: 140px;
  resize: vertical;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--wine);
  box-shadow: 0 0 0 3px rgba(90, 0, 1, 0.12);
}
.field .hint {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-top: 6px;
}
.form-note {
  font-size: 14px;
  color: var(--muted);
  max-width: 46ch;
}

/* ---------- Animações de entrada ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--d, 0s);
}
.reveal.in {
  opacity: 1;
  transform: none;
}

/* ---------- Responsivo ---------- */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 900px) {
  .hero-grid,
  .areas-grid,
  .about-grid,
  .story-grid,
  .founder-grid,
  .area-layout,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .hero-grid {
    gap: 48px;
  }
  .hero .photo-frame img {
    max-height: 440px;
    aspect-ratio: 4 / 3.2;
  }
  .about-grid .photo-frame {
    order: -1;
  }
  .area-layout.flip .area-copy {
    order: 0;
  }
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .facts-grid {
    grid-template-columns: 1fr;
  }
  .fact + .fact {
    border-left: none;
    border-top: 1px solid var(--line);
  }
  .fact {
    padding: 26px 0;
  }
  .values-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  body {
    font-size: 16px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .service-grid {
    grid-template-columns: 1fr;
  }
  .area-item {
    grid-template-columns: 84px 1fr;
    gap: 18px;
  }
  .area-item img {
    width: 84px;
    height: 84px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .wa-float {
    right: 16px;
    bottom: 16px;
  }
}

/* ---------- Movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}
