/* Montserrat alojada no próprio site (sem pedidos ao Google: RGPD) */
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 300 800; font-display: swap; src: url(../assets/fonts/montserrat-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 300 800; font-display: swap; src: url(../assets/fonts/montserrat-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* =========================================================
   Rodrigues & Cardoso — estilos
   Identidade própria: preto, dourado e prateado · Montserrat
   Base partilhada com os sites Montiel (Facility, Business, Group).
   ========================================================= */

:root {
  --black: #0a0a09;
  --black-2: #121110;
  --black-3: #1b1a17;
  --ivory: #f5f1e8;
  --paper: #fbf9f4;
  --ink: #17150f;
  --text: #36322a;
  --muted: #6f685a;
  --line: #e4dccb;
  --line-dark: rgba(255,255,255,.1);
  --on-dark: #e9e5dc;
  --on-dark-muted: #a29a8a;

  --gold: #d2ac57;
  --gold-hi: #f0d68e;
  --gold-lo: #94702a;
  --gold-ink: #85651e;         /* dourado legível sobre fundo claro */
  --silver: #c9ccd1;
  --grad-gold: linear-gradient(135deg, var(--gold-hi) 0%, var(--gold) 45%, var(--gold-lo) 100%);

  --ease: cubic-bezier(.22,.8,.24,1);
  --spring: cubic-bezier(.34,1.56,.64,1);
  --container: 1200px;
  --gutter: 24px;
  --header: 84px;
  --radius: 18px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header); }
body {
  margin: 0;
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--text);
  background: var(--black);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin: 0; font-weight: 600; letter-spacing: -.02em; }
p { margin: 0; }
button { font: inherit; cursor: pointer; }
.ico { width: 1.1em; height: 1.1em; flex: none; display: inline-block; vertical-align: -.18em; }

.container {
  width: 100%; max-width: var(--container); margin: 0 auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--black); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; border-radius: 4px; }

.gold-text {
  font-style: normal; background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  font-weight: 600; font-size: 14.5px; letter-spacing: .02em; text-decoration: none; border-radius: 999px; border: 1px solid transparent;
  padding: 14px 28px; line-height: 1.2; white-space: nowrap;
  transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease), filter .25s;
}
.btn-sm { padding: 10px 20px; font-size: 13.5px; }
.btn-lg { padding: 17px 32px; font-size: 15px; }
.btn-block { width: 100%; }
.btn-gold { background: var(--grad-gold); color: #1b1505; box-shadow: 0 10px 30px -14px rgba(210,172,87,.65); }
.btn-gold:hover { transform: translateY(-1px); filter: brightness(1.06); }
.btn-line { border-color: rgba(255,255,255,.28); color: #fff; }
.btn-line:hover { border-color: var(--gold); color: var(--gold-hi); }
.btn-dark { background: var(--black); color: #fff; }
.btn-dark .ico { color: var(--gold); }
.btn-dark:hover { background: var(--black-3); transform: translateY(-1px); }

/* ---------- Tipografia auxiliar ---------- */
.kicker {
  display: inline-flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold-ink); margin-bottom: 18px;
}
.kicker::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.kicker.light { color: var(--gold); }
.section-head { margin-bottom: 64px; max-width: 760px; }
.section-head h2, .about-copy h2, .zones h2, .contact-copy h2 { font-size: clamp(30px, 3.8vw, 46px); }
.sub { font-size: 18px; color: var(--muted); margin-top: 18px; }

/* ---------- Reveal (só com JS; o conteúdo nunca fica invisível) ---------- */
.js .reveal { transform: translateY(22px); transition: transform .9s var(--ease); }
.js .reveal.is-in { transform: none; }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(10,10,9,.86);
  -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid transparent; transition: border-color .4s, background .4s;
}
.site-header.scrolled { border-bottom-color: rgba(210,172,87,.22); background: rgba(10,10,9,.94); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header); gap: 20px; }
.brand img { width: 196px; height: auto; transition: opacity .5s var(--ease), transform .5s var(--ease); }
/* A logo do cabeçalho só aparece quando a logo grande da abertura sai do ecrã */
.js .site-header:not(.show-brand) .brand img { opacity: 0; transform: translateY(-6px); }
.nav { display: flex; align-items: center; gap: 30px; }
.nav > a:not(.btn) { text-decoration: none; font-weight: 500; font-size: 14px; letter-spacing: .02em; color: var(--on-dark); position: relative; }
.nav > a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -6px; height: 1px; background: var(--gold); transition: right .35s var(--ease); }
.nav > a:not(.btn):hover::after { right: 0; }
.lang { display: inline-flex; align-items: center; gap: 2px; font-size: 12px; font-weight: 600; letter-spacing: .08em; }
.lang-opt { padding: 2px 4px; color: #6b665c; cursor: default; }
.lang-opt.is-on { color: var(--gold); }
.lang-opt + .lang-opt::before { content: "/"; margin-right: 6px; color: #3a3832; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; position: relative; }
.nav-toggle span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: #fff; border-radius: 2px; transition: transform .3s var(--ease), top .3s; }
.nav-toggle span:first-child { top: 17px; }
.nav-toggle span:last-child { top: 25px; }
.nav-toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* =========================================================
   ABERTURA
   ========================================================= */
.hero { position: relative; background: var(--black); color: var(--on-dark); padding: 56px 0 120px; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 50% at 20% 20%, rgba(210,172,87,.10), transparent 70%),
    radial-gradient(40% 40% at 90% 90%, rgba(201,204,209,.06), transparent 70%);
}
/* linhas finas de arquitetura ao fundo */
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 80px 80px;
  -webkit-mask-image: radial-gradient(70% 70% at 30% 40%, #000, transparent 75%); mask-image: radial-gradient(70% 70% at 30% 40%, #000, transparent 75%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 72px; align-items: center; }

/* Logo: sobe e recebe um brilho dourado */
.hero-logo { position: relative; width: min(330px, 70vw); aspect-ratio: 760 / 718; margin-bottom: 44px; }
.hero-logo img { width: 100%; height: 100%; }
.hero-logo::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(110deg, transparent 35%, rgba(255,250,230,.85) 50%, transparent 65%) no-repeat;
  background-size: 250% 100%; background-position: 130% 0;
  -webkit-mask: url(../assets/img/rc-logo-v.png) center / 100% 100% no-repeat; mask: url(../assets/img/rc-logo-v.png) center / 100% 100% no-repeat;
  mix-blend-mode: overlay; opacity: 0;
}
.js .hero-logo img { clip-path: inset(100% 0 0 0); animation: rise 1.3s var(--ease) .15s forwards; }
.js .hero-logo::after { animation: sheen 1.8s var(--ease) 1.3s forwards; }
.hero-logo:hover::after { animation: sheen 1.4s var(--ease) forwards; }
@keyframes rise { to { clip-path: inset(0 0 0 0); } }
@keyframes sheen { 0% { opacity: 1; background-position: 130% 0; } 100% { opacity: 1; background-position: -30% 0; } }

.hero-title { color: #fff; font-size: clamp(40px, 5.6vw, 72px); font-weight: 600; letter-spacing: -.035em; line-height: 1.04; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-title .line > span { display: inline-block; }
.js .hero-title .line > span { transform: translateY(110%); animation: lineUp 1s var(--ease) forwards; }
.js .hero-title .line:nth-child(1) > span { animation-delay: .7s; }
.js .hero-title .line:nth-child(2) > span { animation-delay: .85s; }
@keyframes lineUp { to { transform: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.hero-lead { font-size: 18px; color: var(--on-dark-muted); max-width: 500px; margin-top: 26px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.js .hero-lead { opacity: 0; animation: fadeUp 1s var(--ease) 1.1s forwards; }
.js .hero-ctas { opacity: 0; animation: fadeUp 1s var(--ease) 1.25s forwards; }

/* Fotografia real com moldura dourada que se desenha */
.hero-photo { position: relative; margin: 0; }
.hp-frame { position: relative; border-radius: 4px; overflow: hidden; aspect-ratio: 4 / 5; background: var(--black-3); }
.hp-frame img { width: 100%; height: 100%; object-fit: cover; }
.js .hp-frame { clip-path: inset(100% 0 0 0); animation: rise 1.4s var(--ease) .35s forwards; }
.js .hp-frame img { transform: scale(1.14); animation: settle 2.2s var(--ease) .35s forwards; }
@keyframes settle { to { transform: scale(1); } }
.hero-photo::before, .hero-photo::after { content: ""; position: absolute; background: var(--grad-gold); pointer-events: none; }
.hero-photo::before { top: 22px; bottom: -22px; right: -22px; width: 1px; transform-origin: top; }
.hero-photo::after { left: 22px; right: -22px; bottom: -22px; height: 1px; transform-origin: right; }
.js .hero-photo::before { transform: scaleY(0); animation: drawY 1s var(--ease) 1.3s forwards; }
.js .hero-photo::after { transform: scaleX(0); animation: drawX 1s var(--ease) 1.8s forwards; }
@keyframes drawY { to { transform: scaleY(1); } }
@keyframes drawX { to { transform: scaleX(1); } }
.hero-photo figcaption {
  position: absolute; left: 18px; bottom: 18px; display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px; border-radius: 999px; background: rgba(10,10,9,.72); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font-size: 12.5px; font-weight: 600; color: #fff;
}
.hero-photo figcaption span { color: var(--gold); font-weight: 500; }
.hero-photo figcaption span::after { content: "·"; margin-left: 10px; color: #6b665c; }
.js .hero-photo figcaption { opacity: 0; animation: fadeUp .8s var(--ease) 1.9s forwards; }

.scroll-cue { position: absolute; left: 50%; bottom: 30px; width: 1px; height: 48px; background: rgba(255,255,255,.14); overflow: hidden; transform: translateX(-50%); }
.scroll-cue span { position: absolute; left: 0; top: -50%; width: 1px; height: 50%; background: var(--gold); animation: cue 2.4s var(--ease) 2.4s infinite; }
@keyframes cue { to { top: 110%; } }

/* =========================================================
   SOBRE
   ========================================================= */
.about { background: var(--ivory); padding: 140px 0; }
.about-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 100px; align-items: start; }
.about-copy h2 { margin-bottom: 30px; }
.about-copy p { font-size: 17.5px; color: var(--text); max-width: 600px; }
.about-copy p + p { margin-top: 18px; }
.teams { background: var(--black); color: var(--on-dark); border-radius: var(--radius); padding: 40px 40px 30px; position: relative; overflow: hidden; }
.teams::before { content: ""; position: absolute; left: 40px; right: 40px; top: 0; height: 2px; background: var(--grad-gold); }
.teams-h { color: #fff; font-size: 13px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 18px; }
.teams-list { list-style: none; padding: 0; margin: 0; }
.teams-list li { display: flex; align-items: center; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line-dark); font-weight: 500; }
.teams-list .ico { width: 20px; height: 20px; color: var(--gold); }
.teams.is-in .teams-list li { animation: rowIn .6s var(--ease) both; }
.teams.is-in .teams-list li:nth-child(2) { animation-delay: .06s; }
.teams.is-in .teams-list li:nth-child(3) { animation-delay: .12s; }
.teams.is-in .teams-list li:nth-child(4) { animation-delay: .18s; }
.teams.is-in .teams-list li:nth-child(5) { animation-delay: .24s; }
.teams.is-in .teams-list li:nth-child(6) { animation-delay: .30s; }
.teams.is-in .teams-list li:nth-child(7) { animation-delay: .36s; }
@keyframes rowIn { from { opacity: 0; transform: translateX(-10px); } to { opacity: 1; transform: none; } }

/* =========================================================
   SERVIÇOS
   ========================================================= */
.services { background: var(--black); padding: 140px 0; color: var(--on-dark); }
.services h2 { color: #fff; }
.srv-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-dark); }
.srv { position: relative; padding: 48px 40px 44px; display: flex; flex-direction: column; transition: background .5s var(--ease); }
.srv + .srv { border-left: 1px solid var(--line-dark); }
.srv::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--grad-gold); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); }
.srv:hover { background: var(--black-2); }
.srv:hover::before, .srv.is-in::before { transform: scaleX(1); }
.srv.is-in::before { transition-delay: .3s; }
.srv:hover::before { transition-delay: 0s; }
.srv-n { font-size: 13px; font-weight: 600; letter-spacing: .2em; color: var(--gold); }
.srv h3 { color: #fff; font-size: 28px; margin: 22px 0 14px; }
.srv > p { color: var(--on-dark-muted); }
.srv ul { list-style: none; padding: 0; margin: 28px 0 34px; }
.srv li { padding: 11px 0 11px 22px; border-top: 1px solid var(--line-dark); position: relative; font-size: 15.5px; }
.srv li::before { content: ""; position: absolute; left: 0; top: 24px; width: 8px; height: 1px; background: var(--gold); }
.srv-link { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14px; color: var(--gold); text-decoration: none; }
.srv-link .ico { transition: transform .3s var(--ease); }
.srv-link:hover .ico { transform: translateX(4px); }

/* =========================================================
   PARA QUEM
   ========================================================= */
.audience { background: var(--ivory); padding: 140px 0; }
.aud-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.aud { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 40px 36px; transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s; }
.aud:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -30px rgba(23,21,15,.35); border-color: #d8ccb0; }
.aud-ico { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--black); color: var(--gold); margin-bottom: 28px; }
.aud-ico .ico { width: 24px; height: 24px; }
.aud h3 { font-size: 22px; margin-bottom: 12px; }
.aud p { color: var(--muted); }

/* =========================================================
   COMO TRABALHAMOS
   ========================================================= */
.process { background: var(--black-2); padding: 140px 0; color: var(--on-dark); }
.process h2 { color: #fff; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; position: relative; }
/* linha dourada que se desenha entre os passos */
.steps::before { content: ""; position: absolute; left: 22px; right: 22px; top: 22px; height: 1px; background: rgba(255,255,255,.12); }
.steps::after { content: ""; position: absolute; left: 22px; right: 22px; top: 22px; height: 1px; background: var(--grad-gold); transform: scaleX(0); transform-origin: left; transition: transform 2.2s var(--ease) .2s; }
.steps.is-in::after { transform: scaleX(1); }
.step { position: relative; }
.step-dot {
  position: relative; z-index: 1; width: 45px; height: 45px; border-radius: 50%; display: grid; place-items: center;
  background: var(--black-2); border: 1px solid rgba(255,255,255,.2); color: var(--on-dark-muted); font-weight: 600; font-size: 15px;
  transition: border-color .5s, color .5s, background .5s;
}
.steps.is-in .step-dot { border-color: var(--gold); color: var(--gold); }
.steps.is-in .step:nth-child(1) .step-dot { transition-delay: .2s; }
.steps.is-in .step:nth-child(2) .step-dot { transition-delay: .7s; }
.steps.is-in .step:nth-child(3) .step-dot { transition-delay: 1.2s; }
.steps.is-in .step:nth-child(4) .step-dot { transition-delay: 1.7s; }
.steps.is-in .step:nth-child(5) .step-dot { transition-delay: 2.2s; background: var(--gold); color: var(--black); }
.step h3 { color: #fff; font-size: 19px; margin: 26px 0 10px; }
.step p { color: var(--on-dark-muted); font-size: 15px; }
.js .step { transform: translateY(14px); transition: transform .8s var(--ease); }
.steps.is-in .step { transform: none; }
.steps.is-in .step:nth-child(2) { transition-delay: .5s; }
.steps.is-in .step:nth-child(3) { transition-delay: 1s; }
.steps.is-in .step:nth-child(4) { transition-delay: 1.5s; }
.steps.is-in .step:nth-child(5) { transition-delay: 2s; }

/* =========================================================
   TRABALHOS
   ========================================================= */
.work { background: var(--ivory); padding: 140px 0; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 210px; gap: 18px; }
.g-item { margin: 0; position: relative; grid-row: span 2; border-radius: 6px; overflow: hidden; background: var(--black-3); }
.g-item.g-wide { grid-column: span 2; }
.g-item button { all: unset; display: block; width: 100%; height: 100%; cursor: zoom-in; position: relative; }
.g-item button:focus-visible { outline: 2px solid var(--gold); outline-offset: -4px; }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.g-item:hover img { transform: scale(1.05); }
.g-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(10,10,9,.78)); pointer-events: none; }
.g-item figcaption { position: absolute; left: 22px; right: 22px; bottom: 18px; z-index: 1; color: #fff; display: grid; gap: 2px; pointer-events: none; }
.g-item figcaption b { font-weight: 600; font-size: 16px; }
.g-item figcaption span { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-hi); }
.g-zoom { position: absolute; right: 16px; top: 16px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(10,10,9,.6); color: #fff; opacity: 0; transform: scale(.8); transition: opacity .3s, transform .3s var(--ease); z-index: 1; }
.g-item:hover .g-zoom, .g-item button:focus-visible .g-zoom { opacity: 1; transform: none; }
/* Bloco "mais obras" (Instagram) */
.g-more {
  grid-row: span 2; border-radius: 6px; background: var(--black); color: #fff; text-decoration: none;
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 14px; padding: 32px; text-align: center;
  position: relative; overflow: hidden;
}
.g-more::before { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(210,172,87,.28); border-radius: 3px; transition: inset .5s var(--ease), border-color .5s; pointer-events: none; }
.g-more:hover::before { inset: 8px; border-color: var(--gold); }
.g-more img { width: 150px; margin-bottom: 10px; transition: transform .8s var(--ease); }
.g-more:hover img { transform: translateY(-4px); }
.g-more-t { font-size: 20px; font-weight: 600; }
.g-more-h { display: inline-flex; align-items: center; gap: 8px; color: var(--gold); font-weight: 500; font-size: 14px; }
.g-more-h .ico:last-child { transition: transform .3s var(--ease); }
.g-more:hover .g-more-h .ico:last-child { transform: translateX(4px); }

/* Ampliação */
.lightbox { border: 0; padding: 0; margin: 0; width: 100vw; height: 100vh; max-width: none; max-height: none; background: rgba(6,6,5,.94); color: #fff; }
.lightbox[open] { display: grid; place-items: center; animation: lbIn .35s var(--ease); }
.lightbox::backdrop { background: transparent; }
.lightbox figure { margin: 0; display: grid; gap: 14px; justify-items: center; padding: 64px 72px; }
.lightbox img { max-width: min(1100px, 100%); max-height: calc(100vh - 170px); width: auto; height: auto; border-radius: 4px; }
.lightbox figcaption { font-size: 14px; color: var(--on-dark); }
.lightbox figcaption span { color: var(--gold); margin-left: 8px; }
.lb-btn { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); background: transparent; color: #fff; display: grid; place-items: center; transition: border-color .25s, color .25s; }
.lb-btn:hover { border-color: var(--gold); color: var(--gold); }
.lb-btn .ico { width: 22px; height: 22px; }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 18px; top: 50%; transform: translateY(-50%); }
@keyframes lbIn { from { opacity: 0; } to { opacity: 1; } }

/* =========================================================
   ZONAS
   ========================================================= */
.zones { background: var(--paper); padding: 130px 0; border-top: 1px solid var(--line); }
.zones-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: center; }
.zones .sub { margin-bottom: 32px; }
.map { border-radius: var(--radius); background: linear-gradient(180deg, #efe7d6, #e6dbc3); padding: 24px 16px 10px; box-shadow: inset 0 0 0 1px var(--line); }
.map-svg { width: 100%; height: auto; overflow: visible; }
.map-land { fill: url(#land); stroke: none; }
.map-coast { fill: none; stroke: var(--gold-lo); stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 900; stroke-dashoffset: 900; transition: stroke-dashoffset 2.4s var(--ease) .2s; }
.map.is-in .map-coast { stroke-dashoffset: 0; }
.map-sea { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; fill: #a8977a; }
.pin { opacity: 0; transition: opacity .5s var(--ease); transition-delay: calc(.8s + var(--d)); }
.map.is-in .pin { opacity: 1; }
.pin .dot { fill: var(--black); stroke: var(--gold); stroke-width: 2.5; }
.pin .pulse { fill: rgba(148,112,42,.35); transform-box: fill-box; transform-origin: center; animation: pinPulse 2.6s ease-out infinite; animation-delay: var(--d); }
.pin text { font-size: 12.5px; font-weight: 700; fill: var(--ink); text-anchor: middle; paint-order: stroke; stroke: #fbf6ea; stroke-width: 4px; stroke-linejoin: round; }
@keyframes pinPulse { from { transform: scale(1); opacity: .9; } to { transform: scale(3); opacity: 0; } }

/* =========================================================
   CONTACTO
   ========================================================= */
.contact { background: var(--black); padding: 140px 0; color: var(--on-dark); position: relative; overflow: hidden; }
.contact::before { content: ""; position: absolute; right: -10%; top: -30%; width: 60%; height: 120%; background: radial-gradient(closest-side, rgba(210,172,87,.08), transparent); pointer-events: none; }
.contact-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 88px; align-items: center; }
.contact-copy h2 { color: #fff; }
.contact-copy > p { color: var(--on-dark-muted); font-size: 17px; margin: 22px 0 36px; max-width: 440px; }
.c-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.c-list a { display: flex; align-items: center; gap: 18px; padding: 14px 0; text-decoration: none; color: #fff; font-weight: 500; font-size: 17px; border-bottom: 1px solid var(--line-dark); transition: color .25s; }
.c-list a:hover { color: var(--gold-hi); }
.c-list .ico { width: 22px; height: 22px; color: var(--gold); }
.c-list span { display: grid; line-height: 1.35; }
.c-list small { font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--on-dark-muted); }

.quote { display: grid; gap: 22px; background: var(--black-2); border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 40px; }
.quote h3 { color: #fff; font-size: 20px; }
.q-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.q-field { display: grid; gap: 4px; }
.q-field span { font-size: 11.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--on-dark-muted); }
.q-field select, .q-field input, .q-field textarea {
  width: 100%; font: inherit; font-size: 16px; color: #fff; background: transparent; border: 0; border-bottom: 1px solid rgba(255,255,255,.2);
  border-radius: 0; padding: 10px 0 12px; transition: border-color .25s; resize: vertical;
}
.q-field ::placeholder { color: #6b665c; }
.q-field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23d2ac57' stroke-width='2' stroke-linecap='round' d='m7 10 5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0 center; background-size: 18px; padding-right: 28px; }
.q-field select option { color: var(--ink); }
.q-field select:focus, .q-field input:focus, .q-field textarea:focus { outline: none; border-bottom-color: var(--gold); }
.q-field.invalid select, .q-field.invalid input, .q-field.invalid textarea { border-bottom-color: #e2765f; }
.q-error { font-size: 13.5px; color: #e2765f; font-weight: 500; }
.q-error:empty { display: none; }
.quote .btn { margin-top: 8px; }
.q-mail { justify-self: center; display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--on-dark-muted); text-decoration: none; transition: color .25s; }
.q-mail:hover { color: var(--gold-hi); }
.q-fine { text-align: center; font-size: 13px; color: #7d7667; margin-top: -8px; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { background: #070706; color: var(--on-dark-muted); border-top: 1px solid rgba(210,172,87,.18); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1fr; gap: 48px; padding-top: 80px; padding-bottom: 56px; }
.f-brand img { width: 230px; margin-bottom: 20px; }
.f-slogan { color: var(--gold); font-weight: 600; margin-bottom: 8px; }
.f-brand p:not(.f-slogan) { font-size: 14.5px; max-width: 340px; }
.f-col { display: flex; flex-direction: column; gap: 10px; font-size: 14.5px; }
.f-col h4 { color: #fff; font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 8px; }
.f-col a { text-decoration: none; transition: color .25s; }
.f-col a:hover { color: var(--gold-hi); }
.socials { display: flex; flex-wrap: wrap; gap: 8px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-dark); color: var(--on-dark); transition: background .25s, color .25s, border-color .25s; }
.socials a:hover { background: var(--gold); border-color: var(--gold); color: var(--black); }
.f-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; padding-top: 24px; padding-bottom: 28px; border-top: 1px solid var(--line-dark); font-size: 12.5px; }
.f-bottom a { text-decoration: none; }
.f-bottom a:hover { color: var(--gold-hi); }
/* Powered by Montiel */
.powered { display: inline-flex; align-items: center; gap: 10px; opacity: .7; transition: opacity .3s; }
.powered:hover { opacity: 1; }
.powered span { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.powered img { width: 82px; height: auto; }

/* WhatsApp flutuante */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 40; width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; background: var(--black); color: var(--gold); border: 1px solid rgba(210,172,87,.6);
  box-shadow: 0 14px 30px -12px rgba(0,0,0,.6); transition: transform .3s var(--spring), background .3s, color .3s;
}
.wa-float .ico { width: 28px; height: 28px; }
.wa-float::before { content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 1px solid var(--gold); animation: ring 2.6s ease-out 3s infinite; }
.wa-float:hover { transform: scale(1.08); background: var(--gold); color: var(--black); }
@keyframes ring { from { transform: scale(1); opacity: .8; } to { transform: scale(1.6); opacity: 0; } }

/* =========================================================
   RESPONSIVO
   ========================================================= */
@media (max-width: 1100px) {
  .nav { gap: 22px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1060px) {
  .nav { position: fixed; inset: var(--header) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--black); padding: 10px 20px 24px; border-bottom: 1px solid rgba(210,172,87,.22); transform: translateY(-12px); opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s var(--ease); max-height: calc(100vh - var(--header)); overflow-y: auto; }
  .nav.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav > a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid var(--line-dark); font-size: 16px; }
  .nav > a:not(.btn)::after { display: none; }
  .nav .lang { align-self: flex-start; margin-top: 16px; }
  .nav .btn { margin-top: 16px; }
  .nav-toggle { display: block; }
}
@media (max-width: 980px) {
  :root { --gutter: 20px; }
  .hero-grid, .about-grid, .zones-grid, .contact-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero { padding-top: 40px; }
  .hero-photo { max-width: 520px; margin-right: 22px; }
  .srv-grid { grid-template-columns: 1fr; }
  .srv + .srv { border-left: 0; border-top: 1px solid var(--line-dark); }
  .aud-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps::before, .steps::after { left: 22px; right: auto; top: 22px; bottom: 22px; width: 1px; height: auto; }
  .steps::after { transform: scaleY(0); transform-origin: top; }
  .steps.is-in::after { transform: scaleY(1); }
  .step { display: grid; grid-template-columns: 45px 1fr; column-gap: 24px; padding-bottom: 36px; }
  .step:last-child { padding-bottom: 0; }
  .step-dot { grid-row: span 2; }
  .step h3 { margin: 8px 0 6px; }
}
@media (max-width: 760px) {
  :root { --header: 70px; }
  body { font-size: 16px; }
  .brand img { width: 160px; }
  .hero { padding-bottom: 96px; }
  .hero-logo { width: min(260px, 66vw); margin-bottom: 36px; }
  .hero-lead { font-size: 17px; }
  .hero-ctas .btn { flex: 1 1 auto; }
  .about, .services, .audience, .process, .work, .contact { padding: 96px 0; }
  .zones { padding: 96px 0; }
  .section-head { margin-bottom: 44px; }
  .teams { padding: 32px 26px 22px; }
  .teams::before { left: 26px; right: 26px; }
  .srv { padding: 40px 0 36px; }
  .srv:hover { background: transparent; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; gap: 12px; }
  .g-item.g-wide { grid-column: span 2; }
  .g-item figcaption { left: 14px; right: 14px; bottom: 12px; }
  .g-item figcaption b { font-size: 14px; }
  .g-item figcaption span { font-size: 10.5px; }
  .g-zoom { opacity: 1; transform: none; width: 32px; height: 32px; right: 10px; top: 10px; }
  .lightbox figure { padding: 72px 12px; }
  .lb-prev, .lb-next { top: auto; bottom: 18px; transform: none; }
  .lb-prev { left: calc(50% - 60px); }
  .lb-next { right: calc(50% - 60px); }
  .quote { padding: 30px 22px; }
  .q-row { grid-template-columns: 1fr; }
  .c-list a { font-size: 15.5px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; padding-top: 64px; }
  .f-bottom { flex-direction: column; align-items: flex-start; padding-bottom: 96px; }
  .wa-float { right: 16px; bottom: 16px; width: 54px; height: 54px; }
}
@media (max-width: 420px) {
  .gallery { grid-template-columns: 1fr; grid-auto-rows: 170px; }
  .g-item.g-wide { grid-column: auto; }
}

/* Movimento reduzido */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .js .reveal, .js .step { opacity: 1; transform: none; }
  .js .hero-logo img, .js .hp-frame { clip-path: none; }
  .js .hp-frame img { transform: none; }
  .js .hero-title .line > span { transform: none; }
  .js .hero-lead, .js .hero-ctas, .js .hero-photo figcaption { opacity: 1; }
  .hero-logo::after, .scroll-cue span, .wa-float::before, .pin .pulse { display: none; }
  .map-coast { stroke-dashoffset: 0; }
  .pin { opacity: 1; }
  .steps::after { transform: none; }
}

/* =========================================================
   Seletor de idioma e páginas de serviço (ferramentas/gerar_paginas_seo.py)
   ========================================================= */
a.lang-opt { color: #a29a8a; cursor: pointer; text-decoration: none; }
a.lang-opt:hover { color: var(--gold-hi); }
.srv li a { color: inherit; text-decoration: none; }
.srv li a::after { content: " ›"; color: var(--gold); }
.srv li a:hover { color: var(--gold-hi); }

.svc-hero { background: var(--black); color: var(--on-dark); padding: 56px 0 110px; }
.svc-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.svc-hero-grid > *, .svc-detail-grid > *, .svc-faq-grid > * { min-width: 0; }
.svc-hero .kicker { color: var(--gold); }
.svc-hero h1 { color: #fff; font-size: clamp(34px, 5vw, 56px); margin: 14px 0 20px; }
.crumbs { font-size: 13px; color: var(--on-dark-muted); margin-bottom: 24px; }
.crumbs a { color: inherit; text-decoration: none; }
.crumbs a:hover { color: var(--gold-hi); }
.svc-lead { font-size: 18px; color: var(--on-dark-muted); max-width: 560px; margin: 0; }
.svc-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.svc-img img { display: block; width: 100%; height: auto; max-height: 560px; object-fit: cover; border-radius: var(--radius); }

.svc-detail { background: var(--paper); padding: 110px 0; }
.svc-detail-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 56px; align-items: start; }
.svc-detail h2, .svc-faq h2, .svc-related h2 { font-size: clamp(26px, 3vw, 38px); margin-bottom: 28px; }
.svc-checks { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.svc-checks li { display: flex; gap: 12px; align-items: flex-start; padding: 14px 0; border-top: 1px solid var(--line); }
.svc-checks .ico { color: var(--gold-ink); flex: none; margin-top: 3px; }
.svc-aside { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.svc-aside h3 { font-size: 16px; margin: 0 0 8px; }
.svc-aside p { margin: 0 0 22px; color: var(--muted); }

.svc-faq { background: #fff; padding: 110px 0; }
.svc-faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; }
.faq-list details { border-top: 1px solid var(--line); padding: 20px 0; }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { cursor: pointer; font-weight: 600; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--gold-ink); font-size: 22px; line-height: 1; }
.faq-list details[open] summary::after { content: "–"; }
.faq-a p { margin: 12px 0 0; color: var(--muted); }

.svc-related { background: var(--paper); padding: 90px 0; }
.svc-related-grid { display: flex; flex-wrap: wrap; gap: 12px; }
.svc-related-grid a { display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--ink); background: #fff; }
.svc-related-grid a:hover { border-color: var(--gold); }

@media (max-width: 900px) {
  .svc-hero-grid, .svc-detail-grid, .svc-faq-grid { grid-template-columns: 1fr; gap: 36px; }
  .svc-checks { grid-template-columns: 1fr; }
  .svc-img img { max-height: 360px; }
}

/* ============ Página de privacidade e informação legal ============ */
.legal { padding: 48px 0 96px; }
.legal .container { max-width: 760px; }
.legal .crumbs { font-size: 13px; color: var(--muted); margin-bottom: 22px; }
.legal .crumbs a { color: inherit; text-decoration: none; }
.legal h1 { font-size: clamp(28px, 4vw, 40px); line-height: 1.15; color: var(--ink); margin: 0 0 28px; }
.legal h2 { font-size: 19px; color: var(--ink); margin: 36px 0 10px; }
.legal p, .legal li { color: var(--text); line-height: 1.7; }
.legal p { margin: 0 0 12px; }
.legal ul { margin: 0 0 12px; padding-left: 20px; }
.legal li { margin-bottom: 8px; }
.legal a { color: var(--gold-ink); }
.legal .legal-date { margin-top: 40px; font-size: 14px; color: var(--muted); }

.legal { background: var(--paper); }
