/* ==========================================================================
   Ayrton Brêda · Advocacia e Assessoria Jurídica
   Mobile-first. Paleta e tipografia da marca.
   ========================================================================== */

/* ---------- Fontes (self-hosted, font-display: swap) ---------- */
@font-face {
  font-family: "Libre Caslon Text";
  src: url("../assets/fonts/libre-caslon-text-latin-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Libre Caslon Text";
  src: url("../assets/fonts/libre-caslon-text-latin-400-italic.woff2") format("woff2");
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Libre Caslon Text";
  src: url("../assets/fonts/libre-caslon-text-latin-700-normal.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --navy: #16303C;
  --navy-2: #1d3d4b;
  --gold: #C49C42;          /* só decorativo, texto grande ou sobre marinho */
  --gold-deep: #7A5C16;     /* dourado escurecido: passa AA sobre o papel */
  --paper: #F2F2F0;
  --paper-2: #E9E8E3;
  --white: #FFFFFF;
  --ink: #16303C;
  --muted: #4A5D66;          /* 6.4:1 sobre --paper */
  --on-navy: #F2F2F0;
  --on-navy-muted: #C9D2D6;
  --line: rgba(22, 48, 60, .14);

  --serif: "Libre Caslon Text", "Times New Roman", Times, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --container: 1160px;
  --gutter: clamp(1.25rem, 5vw, 2.5rem);
  --section-y: clamp(4.5rem, 11vw, 8.5rem);
  --header-h: 68px;
  --radius: 2px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img, svg, picture { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; color: var(--navy); line-height: 1.2; margin: 0; }
p { margin: 0 0 1.1em; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
ul, ol { margin: 0; padding: 0; list-style: none; }
strong { font-weight: 600; }

:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 3px;
  border-radius: 2px;
}
.section-dark :focus-visible, .site-footer :focus-visible { outline-color: var(--gold); }

.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: 200;
  background: var(--navy); color: var(--paper); padding: .75rem 1rem; text-decoration: none;
}
.skip-link:focus { top: 1rem; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 820px; }
.center { text-align: center; }

/* Textura de papel sutil (SVG inline, sem requisição extra) */
.paper {
  background-color: var(--paper);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .09 0 0 0 0 .19 0 0 0 0 .24 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.icon { width: 1.15em; height: 1.15em; flex: none; }

/* ---------- Elementos de marca ---------- */
.rule {
  display: block; width: 72px; height: 1px; background: var(--gold);
  margin: 1.4rem 0 1.8rem;
}
.rule-center { margin-inline: auto; }

.tagline {
  font-family: var(--serif); font-style: italic;
  text-transform: uppercase; letter-spacing: .28em;
  font-size: .78rem; color: var(--gold-deep); margin-bottom: 1.4rem;
}
.eyebrow {
  font-family: var(--sans); font-size: .75rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .24em;
  color: var(--gold-deep); margin-bottom: .9rem;
}
.eyebrow-light { color: var(--gold); }

.section-title {
  font-weight: 700; text-transform: uppercase;
  letter-spacing: .14em; font-size: clamp(1.35rem, 4.4vw, 2rem); line-height: 1.3;
}

.lead { font-size: clamp(1.08rem, 2.4vw, 1.25rem); color: var(--muted); max-width: 38em; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 48px; padding: .8rem 1.5rem;
  font-family: var(--sans); font-size: .95rem; font-weight: 500; letter-spacing: .02em;
  text-decoration: none; border: 1px solid transparent; border-radius: var(--radius);
  cursor: pointer; transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn-sm { min-height: 42px; padding: .55rem 1.1rem; font-size: .9rem; }
.btn-lg { min-height: 54px; padding: .95rem 1.75rem; font-size: 1rem; }

.btn-primary { background: var(--navy); color: var(--paper); border-color: var(--navy); }
.btn-primary .icon { color: var(--gold); }
.btn-primary:hover { background: var(--navy-2); border-color: var(--gold); }

.btn-secondary { background: transparent; color: var(--navy); border-color: rgba(22, 48, 60, .45); }
.btn-secondary:hover { border-color: var(--gold); background: rgba(196, 156, 66, .08); }

.btn-gold { background: var(--gold); color: var(--navy); border-color: var(--gold); font-weight: 600; }
.btn-gold:hover { background: #d1ad5c; }

.btn:active { transform: translateY(1px); }

.cta-group { display: flex; flex-direction: column; gap: .85rem; margin-top: 2rem; }
.cta-group .btn { width: 100%; }

.link-cta {
  display: inline-flex; gap: .5em; align-items: center; margin-top: 1.25rem;
  font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--gold); padding-bottom: .15rem;
}
.link-cta:hover { color: var(--gold-deep); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  background: rgba(242, 242, 240, .94);
  -webkit-backdrop-filter: saturate(140%) blur(10px); backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(22, 48, 60, .5); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }

.brand { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; }
.brand-mark { width: 36px; height: auto; }
.brand-name {
  font-family: var(--serif); font-weight: 700; text-transform: uppercase;
  letter-spacing: .2em; font-size: .95rem; color: var(--navy); white-space: nowrap;
}

.menu-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; margin-right: -10px; padding: 0;
  background: none; border: 0; cursor: pointer; color: var(--navy);
}
.menu-toggle-bars, .menu-toggle-bars::before, .menu-toggle-bars::after {
  display: block; width: 24px; height: 1.5px; background: currentColor; position: relative;
  transition: transform .3s var(--ease), background-color .3s var(--ease);
}
.menu-toggle-bars::before, .menu-toggle-bars::after { content: ""; position: absolute; left: 0; }
.menu-toggle-bars::before { top: -7px; }
.menu-toggle-bars::after { top: 7px; }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-bars::after { transform: translateY(-7px) rotate(-45deg); }

/* Menu mobile: painel abaixo do header */
.site-nav {
  position: fixed; top: var(--header-h); left: 0; right: 0;
  background: var(--paper); border-bottom: 1px solid var(--line);
  padding: 1rem var(--gutter) 1.75rem;
  display: none;
  box-shadow: 0 24px 40px -30px rgba(22, 48, 60, .45);
}
.site-nav.is-open { display: block; animation: drop .3s var(--ease); }
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.site-nav ul { display: flex; flex-direction: column; }
.site-nav li a {
  display: block; padding: .9rem 0; text-decoration: none;
  font-family: var(--serif); font-size: 1.15rem; border-bottom: 1px solid var(--line);
}
.site-nav li a:hover { color: var(--gold-deep); }
.site-nav .btn { width: 100%; margin-top: 1.4rem; }
/* Sem JS: menu sempre visível em lista */
html:not(.js) .site-nav { position: static; display: block; box-shadow: none; }
html:not(.js) .menu-toggle { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding-top: calc(var(--header-h) + clamp(3rem, 10vw, 6rem));
  padding-bottom: clamp(4rem, 10vw, 7rem);
  border-bottom: 1px solid var(--line);
}
.hero-inner { position: relative; display: grid; }
.hero-text { position: relative; z-index: 1; max-width: 46rem; }
.hero h1 {
  font-size: clamp(2.1rem, 8.4vw, 4rem); line-height: 1.12; letter-spacing: -.005em;
}
.hero-em { display: block; font-style: italic; }
.hero .rule { width: 96px; }
.hero-seal {
  display: flex; flex-wrap: wrap; gap: .25rem .6rem; margin: 2.25rem 0 0;
  font-size: .82rem; letter-spacing: .04em; color: var(--muted);
}
.hero-seal .dot { color: var(--gold-deep); }
.hero-mark {
  position: absolute; right: -14%; top: 50%; transform: translateY(-50%);
  width: min(70vw, 360px); opacity: .07; pointer-events: none;
}
.hero-mark { aspect-ratio: 197 / 192; background: url("../assets/img/monograma.webp") center / contain no-repeat; }

/* ---------- Seções ---------- */
.section { padding-block: var(--section-y); }
.section-alt { border-block: 1px solid var(--line); }
.section-head { text-align: center; max-width: 40rem; margin: 0 auto clamp(2.5rem, 6vw, 4rem); }
.section-cta { text-align: center; margin: 2.75rem 0 0; color: var(--muted); }
.section-cta a { color: var(--navy); font-weight: 500; text-decoration-color: var(--gold); }

/* ---------- Sobre ---------- */
.about { display: grid; gap: 3.25rem; align-items: center; }
.about-photo { margin: 0 auto; width: min(86%, 400px); position: relative; }
.about-photo::before {
  content: ""; position: absolute; inset: 0; transform: translate(16px, 16px);
  border: 1px solid var(--gold); z-index: 0;
}
.about-photo picture, .about-photo img { position: relative; z-index: 1; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: #b9c3ca; }
.about-text p { color: #2b414b; }
.credentials { margin: 2rem 0 0; border-top: 1px solid var(--line); }
.credentials li {
  padding: .8rem 0 .8rem 1.4rem; border-bottom: 1px solid var(--line); position: relative; font-size: .97rem;
}
.credentials li::before {
  content: ""; position: absolute; left: 0; top: 50%; width: 8px; height: 1px; background: var(--gold);
}

/* ---------- Cards de áreas ---------- */
.cards { display: grid; gap: 1.25rem; }
.card {
  position: relative; background: var(--white); padding: 2.1rem 1.75rem 1.9rem;
  border: 1px solid var(--line); border-top: 2px solid var(--gold);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -28px rgba(22, 48, 60, .45); }
.card-num {
  display: block; font-family: var(--serif); font-size: 1.6rem; color: var(--gold); line-height: 1; margin-bottom: 1.1rem;
}
.card h3 { font-size: 1.3rem; margin-bottom: .7rem; }
.card p { margin: 0; color: var(--muted); font-size: 1rem; }

/* ---------- Passos ---------- */
.steps { display: grid; gap: 2.25rem; counter-reset: step; margin-bottom: 3.25rem; }
.step { position: relative; padding-left: 4.25rem; }
.step-num {
  position: absolute; left: 0; top: -.15rem;
  font-family: var(--serif); font-size: 2.1rem; line-height: 1; color: var(--navy);
}
.step-num::after {
  content: ""; display: block; width: 28px; height: 1px; background: var(--gold); margin-top: .6rem;
}
.step h3 { font-size: 1.2rem; margin-bottom: .45rem; }
.step p { margin: 0; color: var(--muted); }

/* ---------- Digital (fundo marinho) ---------- */
.section-dark { background: var(--navy); color: var(--on-navy); position: relative; overflow: hidden; }
.section-dark h2, .section-dark h3 { color: var(--on-navy); }
.section-dark p { color: var(--on-navy-muted); }
.section-dark strong { color: var(--on-navy); }
.digital { display: grid; gap: 3rem; }
.digital-intro p { font-size: 1.1rem; max-width: 34em; }
.digital-list { display: grid; gap: 0; border-top: 1px solid rgba(196, 156, 66, .35); }
.digital-list li { padding: 1.35rem 0; border-bottom: 1px solid rgba(196, 156, 66, .35); }
.digital-list h3 { font-size: 1.15rem; margin-bottom: .3rem; color: var(--gold); }
.digital-list p { margin: 0; font-size: .98rem; }
.presencial {
  border: 1px solid rgba(196, 156, 66, .55); padding: 2rem 1.6rem;
  position: relative;
}
.presencial h3 { font-size: 1.35rem; margin-bottom: .6rem; }
.presencial .btn { margin-top: .75rem; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 1.35rem 2.75rem 1.35rem 0;
  font-family: var(--serif); font-size: clamp(1.08rem, 2.6vw, 1.25rem); color: var(--navy);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after, .faq summary::before {
  content: ""; position: absolute; right: .4rem; top: 50%; width: 16px; height: 1.5px; background: var(--gold);
  transition: transform .3s var(--ease);
}
.faq summary::before { transform: rotate(90deg); }
.faq details[open] summary::before { transform: rotate(0deg); }
.faq summary:hover { color: var(--gold-deep); }
.faq-body { padding: 0 0 1.5rem; color: var(--muted); }
.faq-body p { margin: 0; }
html.js .faq details[open] .faq-body { animation: fade .35s var(--ease); }
@keyframes fade { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* ---------- Contato ---------- */
.contact .contact-mark { width: 56px; margin: 0 auto 1.75rem; }
.contact .lead { margin-inline: auto; }
.cta-group-center { align-items: center; }
.contact-insta { margin: 2rem 0 0; }
.contact-insta a {
  display: inline-flex; align-items: center; gap: .5rem; padding: .6rem .25rem; font-weight: 500;
  text-decoration: none; border-bottom: 1px solid var(--gold);
}
.contact-insta a:hover { color: var(--gold-deep); }
.contact-note { margin: 2rem auto 0; font-size: .92rem; color: var(--muted); max-width: 32em; }

/* ---------- Rodapé ---------- */
.site-footer { background: var(--navy); color: var(--on-navy-muted); padding: 3.75rem 0 calc(2rem + 72px); font-size: .93rem; }
.site-footer a { color: var(--on-navy); text-decoration-color: rgba(196, 156, 66, .7); }
.site-footer a:hover { color: var(--gold); }
.site-footer p { margin: 0 0 .35rem; }
.footer-inner { display: grid; gap: 2.25rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(196, 156, 66, .3); }
.footer-brand { display: flex; align-items: center; gap: 1rem; }
.footer-brand img { width: 48px; }
.footer-name { font-family: var(--serif); font-weight: 700; text-transform: uppercase; letter-spacing: .2em; color: var(--on-navy); font-size: 1.05rem; }
.footer-tagline { font-family: var(--serif); font-style: italic; text-transform: uppercase; letter-spacing: .14em; font-size: .62rem; color: var(--gold); white-space: nowrap; }
.footer-info strong { color: var(--on-navy); font-weight: 500; }
.footer-contacts li + li { margin-top: .2rem; }
.footer-contacts a { display: inline-flex; align-items: center; gap: .6rem; padding: .4rem 0; text-decoration: none; }
.footer-contacts .icon { color: var(--gold); }
.footer-bottom { display: flex; flex-direction: column; gap: .5rem; padding-top: 1.5rem; font-size: .82rem; }
.footer-bottom a { white-space: nowrap; }

/* ---------- Botão flutuante WhatsApp ---------- */
.wa-float {
  position: fixed; right: max(1rem, env(safe-area-inset-right)); bottom: max(1rem, env(safe-area-inset-bottom)); z-index: 90;
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--navy); color: var(--gold);
  border: 1px solid rgba(196, 156, 66, .6);
  box-shadow: 0 10px 28px -10px rgba(22, 48, 60, .55);
  transition: transform .3s var(--ease), background-color .3s var(--ease);
}
.wa-float .icon { width: 26px; height: 26px; }
.wa-float:hover { transform: translateY(-2px); background: var(--navy-2); }
.wa-float:focus-visible { outline: 2px solid var(--navy); outline-offset: 4px; }

/* ---------- Banner de consentimento (desativado por padrão) ---------- */
.consent {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 150; max-width: 560px;
  background: var(--white); border: 1px solid var(--line); border-top: 2px solid var(--gold);
  padding: 1.25rem; box-shadow: 0 20px 40px -20px rgba(22, 48, 60, .5); font-size: .92rem;
}
.consent-actions { display: flex; gap: .75rem; justify-content: flex-end; }

/* ---------- Animações de entrada ---------- */
html.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
html.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html.js .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   Breakpoints
   ========================================================================== */
@media (min-width: 600px) {
  .cta-group { flex-direction: row; flex-wrap: wrap; }
  .cta-group .btn { width: auto; }
  .cta-group-center { justify-content: center; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); gap: 2.75rem 2.5rem; }
  .footer-bottom { flex-direction: row; justify-content: space-between; }
}

@media (min-width: 768px) {
  :root { --header-h: 76px; }
  .brand-mark { width: 40px; }
  .about-photo { width: min(60%, 400px); }
  .digital-list { grid-template-columns: repeat(2, 1fr); column-gap: 2.5rem; border-top: 0; }
  .digital-list li:nth-child(-n+2) { border-top: 1px solid rgba(196, 156, 66, .35); }
  .presencial { padding: 2.5rem; display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 2rem; }
  .presencial h3, .presencial p { grid-column: 1; }
  .presencial p { margin: 0; }
  .presencial .btn { grid-column: 2; grid-row: 1 / span 2; margin: 0; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 960px) {
  .menu-toggle { display: none; }
  .site-nav {
    position: static; display: flex !important; align-items: center; gap: 2.25rem;
    background: none; border: 0; padding: 0; box-shadow: none; animation: none !important;
  }
  .site-nav ul { flex-direction: row; gap: 2rem; }
  .site-nav li a {
    border: 0; padding: .4rem 0; font-family: var(--sans); font-size: .9rem; letter-spacing: .04em;
    position: relative;
  }
  .site-nav li a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold);
    transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
  }
  .site-nav li a:hover { color: var(--navy); }
  .site-nav li a:hover::after { transform: scaleX(1); }
  .site-nav .btn { width: auto; margin: 0; }

  .hero { padding-top: calc(var(--header-h) + 7rem); padding-bottom: 8rem; }
  .hero-mark { right: 0; width: 340px; opacity: .14; }

  .about { grid-template-columns: 5fr 6fr; gap: 6rem; }
  .about-photo { width: 100%; max-width: 420px; margin: 0; }

  .cards { gap: 1.5rem; }
  .card { padding: 2.6rem 2.4rem 2.3rem; }
  .steps { grid-template-columns: repeat(4, 1fr); gap: 2.5rem; }
  .step { padding-left: 0; padding-top: 4.25rem; }
  .step-num { top: 0; }

  .digital { grid-template-columns: 5fr 7fr; column-gap: 5rem; row-gap: 3.5rem; align-items: start; }
  .presencial { grid-column: 1 / -1; }

  .footer-inner { grid-template-columns: 1.1fr 1.4fr 1fr; align-items: start; }
  .site-footer { padding-bottom: 2rem; }
  .footer-bottom { padding-right: 80px; }
}

@media (min-width: 1200px) {
  .hero-mark { right: 2%; width: 380px; }
}

/* ---------- Página de privacidade ---------- */
.legal { padding-top: calc(var(--header-h) + clamp(3rem, 8vw, 5rem)); }
.legal h1 { font-size: clamp(1.5rem, 5vw, 2.2rem); }
.legal h2 { font-size: 1.25rem; margin: 2.5rem 0 .8rem; }
.legal p { color: #2b414b; }
.legal a:not(.link-cta) { color: var(--navy); text-decoration-color: var(--gold); }
.legal-back { margin-top: 3rem; }

/* ---------- Ajustes finos mobile ---------- */
@media (max-width: 599px) {
  .tagline { letter-spacing: .16em; font-size: .7rem; }
  .hero-seal { flex-direction: column; gap: .35rem; }
  .hero-seal .dot { display: none; }
  .hero-seal span:not(.dot)::before { content: ""; display: inline-block; width: 12px; height: 1px; background: var(--gold); vertical-align: middle; margin-right: .6rem; }
}

/* ---------- Formulário de contato ---------- */
.form-wrap { max-width: 760px; margin-top: clamp(3rem, 8vw, 4.5rem); }
.form-card {
  background: var(--white); border: 1px solid var(--line); border-top: 2px solid var(--gold);
  padding: clamp(1.75rem, 5vw, 3rem);
}
.form-title { font-size: clamp(1.3rem, 3.6vw, 1.6rem); margin-bottom: .5rem; }
.form-intro { color: var(--muted); margin-bottom: 1.75rem; }
.contact-form { display: grid; gap: 1.1rem; }
.field-row { display: grid; gap: 1.1rem; }
.field { display: grid; gap: .4rem; min-width: 0; }
.field label { font-size: .92rem; font-weight: 500; color: var(--navy); }
.field .req { color: var(--gold-deep); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: .75rem .9rem;
  font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--paper); border: 1px solid rgba(22, 48, 60, .35); border-radius: var(--radius);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background-color .2s var(--ease);
}
.field textarea { resize: vertical; min-height: 130px; line-height: 1.55; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 2.5rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%2316303C' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .95rem center;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(22, 48, 60, .6); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: none; background-color: var(--white); border-color: var(--navy); box-shadow: 0 0 0 3px rgba(196, 156, 66, .35);
}
.field.has-error input { border-color: #A12C2C; }
.field-error { margin: 0; font-size: .86rem; color: #A12C2C; min-height: 0; }
.field-error:empty { display: none; }
.field-hint { margin: -.5rem 0 0; font-size: .85rem; color: var(--muted); }
.field .field-hint { margin: 0; }

.field-check { grid-template-columns: auto 1fr; align-items: start; column-gap: .75rem; margin-top: .25rem; }
.field-check input { width: 22px; height: 22px; min-height: 0; margin: .15rem 0 0; padding: 0; accent-color: var(--navy); }
.field-check label { font-weight: 400; font-size: .9rem; color: #2b414b; line-height: 1.5; }
.field-check label a { color: var(--navy); text-decoration-color: var(--gold); }
.field-check .field-error { grid-column: 1 / -1; }

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

.form-submit { width: 100%; margin-top: .5rem; }
.form-submit[disabled] { opacity: .7; cursor: progress; }
.form-status { margin: 0; font-size: .95rem; }
.form-status:empty { display: none; }
.form-status.is-success { color: #1E5B3A; background: #E7F1EA; border-left: 3px solid #2E7D50; padding: .85rem 1rem; }
.form-status.is-error { color: #8A2222; background: #F8E9E7; border-left: 3px solid #A12C2C; padding: .85rem 1rem; }
.form-status:focus { outline: none; }

@media (min-width: 600px) {
  .field-row { grid-template-columns: 1fr 1fr; }
  .form-submit { width: auto; justify-self: start; }
}
