/* ==========================================================
   Filetti Perícias em Engenharia — estilos
   Paleta derivada do logo: azul-marinho, aço e cobre.
   ========================================================== */

:root {
  --ink: #0b1f35;
  --navy: #12385f;
  --navy-2: #1d4f80;
  --steel-25: #f8f9fb;
  --steel-50: #f1f4f7;
  --steel-100: #e4e9ef;
  --steel-200: #d0d8e1;
  --steel-400: #8c9aab;
  --text: #16222f;
  --muted: #4f5d6d;
  --copper: #a85f2e;
  --copper-2: #c97c47;
  --copper-soft: #f6ebe2;
  --wa: #168a45;
  --wa-hover: #10733a;
  --danger: #b3261e;

  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgba(11, 31, 53, .06), 0 2px 8px rgba(11, 31, 53, .05);
  --shadow: 0 2px 4px rgba(11, 31, 53, .05), 0 12px 32px rgba(11, 31, 53, .10);
  --header-h: 72px;
  --gutter: clamp(16px, 4vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--steel-25);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-2); text-underline-offset: 3px; }
a:hover { color: var(--copper); }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.12; color: var(--ink); margin: 0 0 .5em; letter-spacing: -.01em; }
h1 em, h2 em { font-style: italic; color: var(--copper); }
h3 { font-family: var(--sans); font-weight: 600; font-size: 1.125rem; line-height: 1.3; letter-spacing: 0; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--copper-2); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.mono { font-family: var(--mono); font-size: .75rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }

.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 6px; z-index: 100; }
.skip-link:focus { left: 8px; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font: 600 1rem/1 var(--sans);
  padding: .9em 1.35em;
  border-radius: 999px;
  border: 1.5px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn svg { flex: none; }
.btn-sm { font-size: .9rem; padding: .65em 1.1em; }
.btn-lg { font-size: 1.0625rem; padding: 1.05em 1.6em; }
.btn-block { width: 100%; }
.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 6px 18px rgba(22, 138, 69, .28); }
.btn-wa:hover { background: var(--wa-hover); color: #fff; }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--navy); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--steel-200); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--copper-soft); color: var(--ink); }
.btn-outline-light { color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn-outline-light:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .08); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(248, 249, 251, .88);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.scrolled { border-color: var(--steel-100); box-shadow: 0 4px 20px rgba(11, 31, 53, .06); }
.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand img { width: 44px; height: 44px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--serif); font-size: 1.45rem; font-weight: 600; letter-spacing: -.01em; }
.brand-sub { font-family: var(--mono); font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.site-nav ul { display: flex; gap: 4px; }
.site-nav a { display: block; padding: 8px 12px; border-radius: 8px; color: var(--text); text-decoration: none; font-size: .95rem; font-weight: 500; }
.site-nav a:hover { color: var(--copper); background: var(--steel-50); }
.nav-cta-mobile { display: none; }
.nav-toggle { display: none; }

@media (max-width: 960px) {
  .header-cta { display: none; }
  .nav-toggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; padding: 0 11px; border: 1px solid var(--steel-200); border-radius: 10px; background: #fff; cursor: pointer;
  }
  .nav-toggle span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .2s; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .site-nav {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--steel-100); box-shadow: var(--shadow);
    display: none;
  }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; padding: 8px var(--gutter) 16px; gap: 0; }
  .site-nav a { padding: 14px 4px; border-bottom: 1px solid var(--steel-100); border-radius: 0; font-size: 1.05rem; }
  .nav-cta-mobile { display: block; }
  .nav-cta-mobile a { border-bottom: 0; color: var(--copper); font-weight: 600; }
}

/* ---------- Seções ---------- */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head.center { text-align: center; margin-inline: auto; }
.section-head h2 { font-size: clamp(2rem, 4.2vw, 3rem); }
.section-label { display: flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: .78rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--copper); margin-bottom: 18px; }
.section-head.center .section-label { justify-content: center; }
.section-label .mono { color: var(--muted); padding-right: 12px; border-right: 1px solid var(--steel-200); }
.section-intro { font-size: 1.125rem; color: var(--muted); max-width: 620px; }
.section-head.center .section-intro { margin-inline: auto; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(40px, 7vw, 88px) 0 0;
  background:
    linear-gradient(180deg, rgba(248, 249, 251, 0) 60%, var(--steel-25)),
    linear-gradient(var(--steel-100) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(90deg, var(--steel-100) 1px, transparent 1px) 0 0 / 32px 32px,
    var(--steel-25);
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.eyebrow { font-family: var(--mono); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--copper); font-weight: 500; margin-bottom: 20px; }
.hero h1 { font-size: clamp(2.5rem, 5.6vw, 4.25rem); line-height: 1.04; letter-spacing: -.02em; margin-bottom: 24px; }
.lead { font-size: clamp(1.125rem, 1.6vw, 1.3rem); color: var(--muted); max-width: 560px; margin-bottom: 32px; }
.lead strong { color: var(--text); font-weight: 600; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 0; border-top: 1px solid var(--steel-200); padding-top: 22px; }
.hero-proof li { display: flex; flex-direction: column; padding-right: 28px; margin-right: 28px; border-right: 1px solid var(--steel-200); }
.hero-proof li:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
.hero-proof strong { font-family: var(--serif); font-size: 1.6rem; font-weight: 500; color: var(--ink); line-height: 1.1; }
.hero-proof span { font-size: .85rem; color: var(--muted); }

.hero-figure { position: relative; margin: 0; }
.frame { position: relative; padding: 10px; background: #fff; border: 1px solid var(--steel-100); border-radius: var(--radius); box-shadow: var(--shadow); }
.frame img { border-radius: 8px; aspect-ratio: 4 / 3.4; object-fit: cover; width: 100%; }
.crop { position: absolute; width: 18px; height: 18px; border-color: var(--copper-2); border-style: solid; border-width: 0; }
.crop.tl { top: -8px; left: -8px; border-top-width: 2px; border-left-width: 2px; }
.crop.tr { top: -8px; right: -8px; border-top-width: 2px; border-right-width: 2px; }
.crop.bl { bottom: -8px; left: -8px; border-bottom-width: 2px; border-left-width: 2px; }
.crop.br { bottom: -8px; right: -8px; border-bottom-width: 2px; border-right-width: 2px; }
figcaption { display: flex; gap: 10px; align-items: baseline; font-size: .85rem; color: var(--muted); margin-top: 14px; }
figcaption .mono { color: var(--copper); }
.hero-note {
  position: absolute; left: -32px; bottom: 56px; max-width: 270px;
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--ink); color: #fff; padding: 16px 18px; border-radius: 12px; box-shadow: var(--shadow);
}
.hero-note svg { flex: none; color: var(--copper-2); margin-top: 2px; }
.hero-note p { margin: 0; font-size: .92rem; line-height: 1.45; }

.audience { display: flex; border-top: 0 !important; position: relative; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: clamp(48px, 6vw, 72px); padding-top: 24px; padding-bottom: 24px; border-top: 1px solid var(--steel-100); }
.audience::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); border-top: 1px solid var(--steel-100); }
.audience .mono { color: var(--muted); margin: 0; }
.audience ul { display: flex; flex-wrap: wrap; gap: 8px 10px; }
.audience li { font-size: .92rem; font-weight: 500; padding: 6px 14px; border: 1px solid var(--steel-200); border-radius: 999px; background: #fff; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-note { left: 16px; bottom: 48px; }
}
@media (max-width: 520px) {
  .hero-actions .btn { width: 100%; }
  .hero-proof { display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; }
  .hero-proof li { padding-right: 12px; margin-right: 0; }
  .hero-proof strong { font-size: 1.2rem; }
  .hero-proof span { font-size: .75rem; line-height: 1.3; }
  .hero-note { position: static; max-width: none; margin-top: 16px; }
}

/* ---------- Por que ---------- */
.why { background: #fff; border-top: 1px solid var(--steel-100); border-bottom: 1px solid var(--steel-100); }
.why .section-head { max-width: 860px; }
.story { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; counter-reset: s; border-top: 2px solid var(--ink); }
.story li { padding: 24px 28px 8px 0; position: relative; }
.story li + li { padding-left: 28px; border-left: 1px solid var(--steel-100); }
.story-step { display: block; color: var(--copper); margin-bottom: 10px; }
.story p { color: var(--muted); }
.story strong { color: var(--text); }
.pull { margin: clamp(32px, 5vw, 56px) 0 0; padding: clamp(24px, 4vw, 40px); background: var(--copper-soft); border-left: 4px solid var(--copper); border-radius: 0 var(--radius) var(--radius) 0; }
.pull p { font-family: var(--serif); font-size: clamp(1.3rem, 2.4vw, 1.75rem); line-height: 1.35; color: var(--ink); margin-bottom: 16px; }
.link-arrow { font-weight: 600; color: var(--copper); text-decoration: none; }
.link-arrow:hover { text-decoration: underline; }
@media (max-width: 760px) {
  .story { grid-template-columns: 1fr; }
  .story li, .story li + li { padding: 20px 0 4px; border-left: 0; }
  .story li + li { border-top: 1px solid var(--steel-100); }
}

/* ---------- Serviços ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: #fff; border: 1px solid var(--steel-100); border-radius: var(--radius); padding: 28px; transition: border-color .2s, box-shadow .2s, transform .2s; }
.card:hover { border-color: var(--steel-200); box-shadow: var(--shadow); transform: translateY(-2px); }
.card-icon { width: 40px; height: 40px; color: var(--copper); margin-bottom: 18px; padding: 8px; background: var(--copper-soft); border-radius: 10px; box-sizing: content-box; }
.card h3 { font-size: 1.2rem; margin-bottom: .45em; }
.card p { color: var(--muted); margin: 0; font-size: 1rem; }
.card-featured { background: var(--ink); border-color: var(--ink); }
.card-featured h3 { color: #fff; }
.card-featured p { color: #c9d4e0; }
.card-featured .card-icon { background: rgba(255, 255, 255, .08); color: var(--copper-2); }
@media (max-width: 960px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } }

/* ---------- Áreas ---------- */
.areas {
  background:
    linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px) 0 0 / 40px 40px,
    var(--ink);
  color: #fff;
}
.areas h2, .areas h3 { color: #fff; }
.areas .section-intro { color: #b8c5d3; }
.areas .section-label .mono { color: #8fa1b5; border-color: rgba(255, 255, 255, .15); }
.areas .section-label { color: var(--copper-2); }
.areas-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.areas .section-head { position: sticky; top: calc(var(--header-h) + 32px); margin-bottom: 0; }
.areas .section-head .btn { margin-top: 12px; }
.area-list { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid rgba(255, 255, 255, .14); }
.area-list li { display: flex; gap: 16px; padding: 24px 20px 24px 0; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.area-list li:nth-child(even) { padding-left: 20px; border-left: 1px solid rgba(255, 255, 255, .14); }
.area-list .mono { color: var(--copper-2); padding-top: 3px; flex: none; }
.area-list h3 { font-size: 1.05rem; margin-bottom: 4px; }
.area-list p { margin: 0; color: #b8c5d3; font-size: .95rem; line-height: 1.55; }
@media (max-width: 900px) {
  .areas-grid { grid-template-columns: 1fr; }
  .areas .section-head { position: static; }
}
@media (max-width: 600px) {
  .area-list { grid-template-columns: 1fr; }
  .area-list li:nth-child(even) { padding-left: 0; border-left: 0; }
}

/* ---------- Como funciona ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.steps::before { content: ""; position: absolute; top: 24px; left: 12%; right: 12%; border-top: 1.5px dashed var(--steel-200); }
.steps li { position: relative; text-align: center; padding: 0 8px; }
.step-num { position: relative; display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: #fff; border: 1.5px solid var(--copper); color: var(--copper); font-family: var(--serif); font-size: 1.35rem; font-weight: 600; margin-bottom: 18px; }
.steps h3 { margin-bottom: 6px; }
.steps p { color: var(--muted); font-size: 1rem; margin: 0; }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .steps::before { display: none; }
}
@media (max-width: 520px) {
  .steps { grid-template-columns: 1fr; row-gap: 28px; }
  .steps li { text-align: left; display: grid; grid-template-columns: 48px 1fr; column-gap: 16px; padding: 0; }
  .step-num { grid-row: span 2; margin: 0; }
}

/* ---------- Casos ---------- */
.cases { background: #fff; border-top: 1px solid var(--steel-100); }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.gallery li { display: flex; flex-direction: column; }
.gallery .g-wide { grid-column: span 2; }
.g-item { flex: 1; display: grid; place-items: center; padding: 16px; margin: 0; border: 1px solid var(--steel-100); border-radius: var(--radius); background: var(--steel-50); cursor: zoom-in; overflow: hidden; min-height: 240px; transition: border-color .2s, box-shadow .2s; }
.g-item:hover { border-color: var(--steel-200); box-shadow: var(--shadow); }
.g-item img { max-height: 380px; width: auto; object-fit: contain; border-radius: 4px; transition: transform .35s; }
.g-item:hover img { transform: scale(1.03); }
.gallery p { display: flex; gap: 10px; align-items: baseline; font-size: .92rem; color: var(--muted); margin: 12px 0 0; }
.gallery p .mono { color: var(--copper); }
@media (max-width: 860px) {
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery .g-wide { grid-column: span 2; }
}
@media (max-width: 560px) {
  .gallery { grid-template-columns: 1fr; }
  .gallery .g-wide { grid-column: auto; }
  .g-item { min-height: 0; }
}

.lightbox { border: 0; padding: 0; background: transparent; max-width: min(96vw, 1100px); max-height: 94vh; overflow: visible; }
.lightbox::backdrop { background: rgba(6, 16, 28, .88); }
.lightbox img { max-width: 100%; max-height: 82vh; margin: 0 auto; border-radius: 8px; background: #fff; }
.lightbox-caption { color: #dfe6ee; text-align: center; margin: 12px 0 0; font-size: .95rem; }
.lightbox-close { position: absolute; top: -48px; right: 0; width: 40px; height: 40px; border-radius: 50%; border: 0; background: #fff; color: var(--ink); font-size: 1.6rem; line-height: 1; cursor: pointer; }

/* ---------- Sobre ---------- */
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.about-figure { margin: 0; }
.about-figure .frame img { aspect-ratio: 4 / 4.2; }
.about-copy h2 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 6px; }
.about-role { font-family: var(--mono); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 24px; }
.about-copy > p { color: var(--muted); }
.about-copy strong { color: var(--text); }
.principles { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; margin: 28px 0; }
.principles li { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; font-size: .98rem; line-height: 1.4; }
.principles svg { flex: none; width: 20px; height: 20px; color: var(--wa); margin-top: 1px; }
.credentials { display: flex; flex-wrap: wrap; gap: 16px; }
.credentials > div { flex: 1 1 200px; padding: 16px 18px; border: 1px solid var(--steel-200); border-radius: var(--radius-sm); background: #fff; display: flex; flex-direction: column; gap: 4px; }
.credentials .mono { color: var(--muted); font-size: .7rem; }
.credentials a { font-weight: 600; }
@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-figure { max-width: 520px; }
}
@media (max-width: 520px) { .principles { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { background: var(--steel-50); border-top: 1px solid var(--steel-100); }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.faq-list { border-top: 1px solid var(--steel-200); }
.faq details { border-bottom: 1px solid var(--steel-200); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 0; font-weight: 600; font-size: 1.08rem; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--steel-200); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a85f2e' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--copper); }
.faq details p { color: var(--muted); padding-bottom: 22px; margin: 0; max-width: 680px; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } .faq .section-head { margin-bottom: 8px; } }

/* ---------- CTA ---------- */
.cta-band {
  position: relative;
  background: linear-gradient(100deg, rgba(11, 31, 53, .97) 35%, rgba(18, 56, 95, .88)), url("../img/engrenagens-textura.webp") center / cover;
  color: #fff;
  padding: clamp(48px, 7vw, 80px) 0;
}
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.5rem); margin-bottom: 8px; }
.cta-band p { color: #c3cfdc; margin: 0; font-size: 1.1rem; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 520px) { .cta-actions .btn { width: 100%; } }

/* ---------- Contato ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact-info h2 { font-size: clamp(2rem, 4vw, 2.8rem); }
.contact-list { margin-top: 32px; display: grid; gap: 4px; }
.contact-list li { display: flex; gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--steel-100); }
.contact-list svg { flex: none; width: 44px; height: 44px; padding: 11px; border-radius: 12px; background: #fff; border: 1px solid var(--steel-100); color: var(--copper); box-sizing: border-box; }
.contact-list div { display: flex; flex-direction: column; line-height: 1.35; min-width: 0; }
.contact-list .mono { color: var(--muted); font-size: .68rem; }
.contact-list a, .contact-list div > span:last-child { font-weight: 600; color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.contact-list a:hover { color: var(--copper); }

.contact-form { background: #fff; border: 1px solid var(--steel-100); border-radius: calc(var(--radius) + 4px); padding: clamp(22px, 4vw, 40px); box-shadow: var(--shadow); }
.form-row.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin: 0 0 18px; min-width: 0; }
fieldset.field { border: 0; padding: 0; }
.field label, .field legend { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 8px; color: var(--ink); padding: 0; }
.field label span, .field legend span[aria-hidden] { color: var(--copper); }
.optional { font-weight: 400; color: var(--muted); }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text);
  padding: 13px 14px; border: 1.5px solid var(--steel-200); border-radius: 10px; background: var(--steel-25);
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--navy-2); background: #fff; box-shadow: 0 0 0 4px rgba(29, 79, 128, .12); }
.field input::placeholder, .field textarea::placeholder { color: var(--steel-400); }
.field.invalid input, .field.invalid textarea { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: .85rem; margin: 6px 0 0; min-height: 0; }
.field-error:empty { display: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; margin: 0 !important; }
.chip input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border: 1.5px solid var(--steel-200); border-radius: 999px; font-size: .9rem; font-weight: 500; color: var(--text) !important; background: #fff; transition: all .15s; }
.chip span::before { content: ""; width: 14px; height: 14px; border-radius: 4px; border: 1.5px solid var(--steel-400); transition: all .15s; }
.chip:hover span { border-color: var(--navy-2); }
.chip input:checked + span { border-color: var(--ink); background: var(--ink); color: #fff !important; }
.chip input:checked + span::before { border-color: var(--copper-2); background: var(--copper-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 10px no-repeat; }
.chip input:focus-visible + span { outline: 3px solid var(--copper-2); outline-offset: 2px; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.contact-form .btn[disabled] { opacity: .7; cursor: wait; transform: none; }
.form-legal { font-size: .82rem; color: var(--muted); margin: 14px 0 0; text-align: center; }
.form-status:empty { display: none; }
.form-status { margin-top: 16px; padding: 14px 16px; border-radius: 10px; font-size: .95rem; }
.form-status.ok { background: #e8f5ed; color: #0f5a2e; border: 1px solid #b9e0c7; }
.form-status.err { background: #fbeceb; color: #7d1a14; border: 1px solid #f0c5c2; }
.form-success { text-align: center; padding: 24px 8px; }
.form-success svg { width: 56px; height: 56px; color: var(--wa); padding: 12px; border-radius: 50%; background: #e8f5ed; box-sizing: border-box; margin-bottom: 12px; }
.form-success h3 { font-family: var(--serif); font-weight: 500; font-size: 1.6rem; }
.form-success p { color: var(--muted); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .form-row.two { grid-template-columns: 1fr; gap: 0; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #b8c5d3; padding: 64px 0 0; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer-brand { display: flex; gap: 16px; align-items: flex-start; }
.footer-brand img { background: #f4f6f8; border-radius: 12px; padding: 6px; }
.footer-brand strong { color: #fff; }
.site-footer .mono { color: var(--copper-2); margin-bottom: 14px; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #dfe6ee; text-decoration: none; }
.site-footer a:hover { color: var(--copper-2); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 20px; padding-bottom: 24px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .85rem; }
.footer-bottom p { margin: 0; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- WhatsApp flutuante / barra mobile ---------- */
.wa-float {
  position: fixed; right: 24px; bottom: 24px; z-index: 40;
  width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center;
  background: #25d366; color: #fff; box-shadow: 0 8px 24px rgba(0, 0, 0, .22);
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.07); color: #fff; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.5); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .wa-float::before { animation: none; } }
.mobile-bar { display: none; }
@media (max-width: 760px) {
  .wa-float { display: none; }
  .mobile-bar {
    display: grid; grid-template-columns: 1.4fr 1fr; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .96); border-top: 1px solid var(--steel-100);
    box-shadow: 0 -6px 20px rgba(11, 31, 53, .08);
    transform: translateY(110%); transition: transform .3s;
  }
  .mobile-bar.show { transform: none; }
  .mobile-bar .btn { padding: .85em 1em; box-shadow: none; }
  body { padding-bottom: 76px; }
}

/* ---------- Animação de entrada ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Página interna (política) ---------- */
.page-simple { padding: clamp(48px, 7vw, 88px) 0; }
.page-simple .container { max-width: 780px; }
.page-simple h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); }
.page-simple h2 { font-size: 1.5rem; margin-top: 1.8em; }
.page-simple p, .page-simple li { color: var(--muted); }
.page-simple ul { list-style: disc; padding-left: 1.3em; margin-bottom: 1em; }
