/* =========================================================
   LÍVIA CONDE ARQUITETURA — estilos
   Tokens no topo: para trocar fontes/cores, edite só :root.
   ========================================================= */
:root {
  --navy: #15304B;
  --navy-d: #0f2338;
  --terra: #A96A3F;
  --terra-d: #8E5532;
  --terra-l: #DDA67D;      /* terracota claro: textos sobre azul */
  --paper: #F7F3EE;
  --white: #FFFFFF;
  --ink: #141f2b;
  --muted: #3b4652;

  --f-title: "Bodoni Moda", "Didot", Georgia, serif;
  --f-label: "Barlow Condensed", "Arial Narrow", sans-serif;
  --f-body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-script: "Allura", cursive;

  --gutter: clamp(20px, 5vw, 64px);
  --sec: clamp(72px, 10vw, 150px);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --header-h: 84px;
  --r: 30px 30px 30px 6px;       /* canto "assinatura": cantos macios, um canto quase reto */
  --r-lg: 44px 44px 44px 8px;
  --arch: 999px 999px 0 0;       /* arco */
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html.lock, html.lock body { overflow: hidden; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 500 1.125rem/1.7 var(--f-body);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, p, ul, ol, dl, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--terra); outline-offset: 3px; }
.section--navy :focus-visible, .hero :focus-visible, .footer :focus-visible, .header:not(.scrolled) :focus-visible { outline-color: var(--terra-l); }

.sr-only, .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 300; background: var(--white); color: var(--navy); padding: 10px 16px; border-radius: 4px; transition: top .2s; }
.skip:focus { top: 12px; }

.wrap { width: min(1240px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.center { text-align: center; }

/* ---------- Tipografia ---------- */
h1, h2, h3, .h3-serif { font-family: var(--f-title); font-weight: 400; line-height: 1.12; color: var(--navy); }
h2 { font-size: clamp(2rem, 4.6vw, 3.6rem); }
h3, .h3-serif { font-size: clamp(1.25rem, 2vw, 1.55rem); }
em { font-style: italic; color: var(--terra); }
.eyebrow {
  font: 600 .95rem/1.3 var(--f-label); letter-spacing: .24em; text-transform: uppercase;
  color: var(--terra-d); margin-bottom: 1rem;
}
.eyebrow--light { color: var(--terra-l); }
.script { font-family: var(--f-script); font-size: 1.35em; color: var(--terra); font-weight: 400; line-height: 1; display: inline-block; margin-bottom: .1em; }
.lead { font-family: var(--f-title); font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.4; color: var(--navy); }
.lead-l { color: rgba(255, 255, 255, .92); max-width: 56ch; margin-top: 1.2rem; }
.section--navy h2, .section--navy h3 { color: var(--white); }
.section--navy em { color: var(--terra-l); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font: 600 1.15rem/1 var(--f-label); letter-spacing: .14em; text-transform: uppercase; text-decoration: none;
  padding: 1.05em 2em; border: 1.5px solid transparent; border-radius: 999px;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn:not(.btn--nav):not(.btn--line-l)::after {
  content: ""; width: 1.5em; height: .8em; background: currentColor; flex: none; transition: transform .35s var(--ease);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 12'%3E%3Cpath d='M0 6h22M17 1l5 5-5 5' fill='none' stroke='black' stroke-width='1.5'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 12'%3E%3Cpath d='M0 6h22M17 1l5 5-5 5' fill='none' stroke='black' stroke-width='1.5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.btn:hover::after { transform: translateX(5px); }
.btn--terra { background: var(--terra); color: var(--white); }
.btn--terra:hover { background: var(--terra-d); }
.btn--ghost { color: var(--white); border-color: rgba(255, 255, 255, .7); }
.btn--ghost:hover { background: var(--white); color: var(--navy); }
.btn--line { color: var(--navy); border-color: var(--navy); background: transparent; }
.btn--line:hover { background: var(--navy); color: var(--white); }
.btn--line-l { color: var(--navy); border-color: rgba(21, 48, 75, .35); background: transparent; }
.btn--line-l:hover { border-color: var(--navy); }
.btn--wa-s { background: var(--navy); color: var(--white); cursor: pointer; }
.btn--wa-s:hover { background: var(--terra-d); }
.btn--wa { background: var(--navy); color: var(--white); }
.btn--wa:hover { background: var(--navy-d); }
.btn--nav { padding: .85em 1.4em; font-size: 1.05rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.6rem; }

/* ---------- Header ---------- */
.header { position: fixed; inset: 0 0 auto; z-index: 100; transition: background .4s var(--ease), box-shadow .4s var(--ease), backdrop-filter .4s; }
.header-in { width: min(1400px, 100% - 2 * var(--gutter)); margin-inline: auto; height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; transition: height .4s var(--ease); }
.header.scrolled { background: rgba(247, 243, 238, .9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 1px 0 rgba(21, 48, 75, .08); }
.header.scrolled .header-in { height: 68px; }
.brand { position: relative; display: block; height: 52px; aspect-ratio: 900 / 429; flex: none; }
.header.scrolled .brand { height: 46px; }
.brand img { position: absolute; inset: 0; width: 100%; height: 100%; transition: opacity .4s; }
.brand-c { opacity: 0; }
.header.scrolled .brand-c, .header--solid .brand-c, .menu-open .brand-c { opacity: 1; }
.header.scrolled .brand-w, .header--solid .brand-w { opacity: 0; }
.menu-open .brand-w { opacity: 1; }
.menu-open .brand-c { opacity: 0; }

.nav { display: flex; align-items: center; gap: clamp(16px, 2vw, 34px); }
.nav a:not(.btn) {
  font: 600 1rem/1 var(--f-label); letter-spacing: .2em; text-transform: uppercase; text-decoration: none; color: var(--white);
  position: relative; padding: .4em 0; transition: color .3s;
}
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav a:not(.btn):hover::after { transform: scaleX(1); }
.header.scrolled .nav a:not(.btn), .header--solid .nav a:not(.btn) { color: var(--navy); }
.header.scrolled .btn--nav, .header--solid .btn--nav { background: var(--terra); color: var(--white); }
.btn--nav { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, .7); }
.btn--nav:hover { background: var(--terra); border-color: var(--terra); }

.burger { display: none; width: 44px; height: 44px; background: none; border: 0; position: relative; z-index: 2; }
.burger span { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--white); transition: transform .35s var(--ease), background .3s, top .35s var(--ease); }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 25px; }
.header.scrolled .burger span, .header--solid .burger span { background: var(--navy); }
.menu-open .burger span { background: var(--white) !important; }
.menu-open .burger span:first-child { top: 21px; transform: rotate(45deg); }
.menu-open .burger span:last-child { top: 21px; transform: rotate(-45deg); }

@media (max-width: 1100px) {
  .burger { display: block; }
  .nav {
    position: fixed; inset: 0; background: var(--navy); flex-direction: column; justify-content: center; align-items: flex-start;
    padding: 90px var(--gutter) 40px; gap: 6px; opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s;
  }
  .menu-open .nav { opacity: 1; visibility: visible; }
  .menu-open .header { background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .nav a:not(.btn), .header.scrolled .nav a:not(.btn) { font: 400 clamp(2rem, 8vw, 3rem)/1.25 var(--f-title); letter-spacing: 0; text-transform: none; color: var(--white); padding: .1em 0; }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn--nav, .header.scrolled .btn--nav { margin-top: 24px; background: var(--terra); border-color: var(--terra); }
  .header-in { position: relative; z-index: 1; }
}

/* ---------- Intro ---------- */
#intro { position: fixed; inset: 0; z-index: 500; background: var(--navy); display: none; place-items: center; cursor: pointer; }
.has-intro #intro { display: grid; }
.intro-mono { position: relative; width: min(34vw, 190px); min-width: 110px; aspect-ratio: 600 / 674; }
.intro-mono img { position: absolute; inset: 0; width: 100%; height: 100%; }
.intro-L { clip-path: inset(0 0 100% 0); animation: introL .9s .15s cubic-bezier(.65, 0, .35, 1) forwards; }
.intro-C { opacity: 0; animation: introC .5s 1s ease forwards; }
@keyframes introL { to { clip-path: inset(0 0 0 0); } }
@keyframes introC { to { opacity: 1; } }
#intro.out { transform: translateY(-100%); transition: transform .6s cubic-bezier(.76, 0, .24, 1); pointer-events: none; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; background: var(--navy); color: var(--white); overflow: hidden; }
.hero-slides, .hero-slide, .hero-shade { position: absolute; inset: 0; }
.hero-slide { opacity: 0; transition: opacity 1.8s ease; }
.hero-slide.active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1); transition: transform 9s linear; }
.hero-slide.active img { transform: scale(1.1); }
.hero-shade { background: linear-gradient(180deg, rgba(21, 48, 75, .55) 0%, rgba(21, 48, 75, .25) 40%, rgba(21, 48, 75, .85) 100%), linear-gradient(90deg, rgba(21, 48, 75, .55), transparent 70%); }
.hero-content { position: relative; padding: 140px 0 clamp(120px, 16vw, 210px); }
.hero h1 { color: var(--white); font-size: clamp(2.5rem, 7vw, 6rem); line-height: 1.04; max-width: 14ch; }
.hero h1 em { color: var(--terra-l); }
.hero-sub { max-width: 52ch; margin-top: 1.5rem; font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: rgba(255, 255, 255, .9); }
.hero .btn-row { margin-top: 2.2rem; }
.hero .eyebrow { margin-bottom: 1.4rem; }
.hero-a { opacity: 0; transform: translateY(26px); }
.hero-in .hero-a { animation: rise 1s var(--ease) forwards; }
.hero-in .hero-a:nth-child(2) { animation-delay: .12s; }
.hero-in .hero-a:nth-child(3) { animation-delay: .24s; }
.hero-in .hero-a:nth-child(4) { animation-delay: .36s; }
@keyframes rise { to { opacity: 1; transform: none; } }
html:not(.js) .hero-a { opacity: 1; transform: none; }

.scroll-ind { position: absolute; right: var(--gutter); bottom: clamp(110px, 14vw, 190px); display: flex; flex-direction: column; align-items: center; gap: 10px; text-decoration: none; font: 600 .85rem var(--f-label); letter-spacing: .3em; text-transform: uppercase; writing-mode: vertical-rl; color: rgba(255, 255, 255, .85); }
.scroll-ind i { width: 1px; height: 56px; background: rgba(255, 255, 255, .35); position: relative; overflow: hidden; }
.scroll-ind i::after { content: ""; position: absolute; left: 0; top: -50%; width: 1px; height: 50%; background: var(--white); animation: scrollLine 2.2s ease-in-out infinite; }
@keyframes scrollLine { to { top: 110%; } }
@media (max-width: 700px) { .scroll-ind { display: none; } }

/* ---------- Ondas ---------- */
.wave { display: block; width: 100%; height: clamp(46px, 8vw, 112px); --front: var(--paper); --back: var(--terra); }
.wave--hero { position: absolute; left: 0; bottom: -1px; }
.wave-box { background: var(--paper); line-height: 0; }
.wave-box .wave { margin-bottom: -1px; }
.wave-box--in .wave { --front: var(--navy); --back: var(--terra); }
.wave-box--in.wave-box--white { background: var(--white); }
.wave-box--out { background: var(--navy); }
.wave-box--out .wave { --front: var(--paper); --back: var(--terra); }
.wave-box--out-paper .wave { --front: var(--paper); }

/* ---------- Seções ---------- */
.section { padding-block: var(--sec); position: relative; }
.section--white { background: var(--white); }
.section--navy { background: var(--navy); color: var(--white); padding-block: calc(var(--sec) * .6); }
.sec-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head > p:not(.eyebrow):not(.script) { margin-top: 1.2rem; color: var(--muted); }
.sec-head--light > p:not(.eyebrow):not(.script) { color: rgba(255, 255, 255, .92); }
.sec-head > .script { display: block; font-size: clamp(2.3rem, 4.6vw, 3.4rem); margin-bottom: .05em; }
.sec-head--light > .script { color: var(--terra-l); }
.section[id], [id="topo"] { scroll-margin-top: 0; }
.section { scroll-margin-top: 20px; }

/* Revelação ao rolar */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }
.js .essence-img.reveal { opacity: 1; transform: none; clip-path: inset(100% 0 0 0); transition: clip-path 1.4s cubic-bezier(.76, 0, .24, 1); }
.js .essence-img.reveal.in { clip-path: inset(0); }

/* ---------- Essência ---------- */
.essence { overflow: hidden; }
.curve { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.curve ~ .wrap { position: relative; }
.curve path { fill: none; stroke: var(--terra); stroke-width: 1.4; opacity: .5; }
.essence .wrap { position: relative; }
.essence-top { display: grid; gap: clamp(32px, 6vw, 90px); align-items: center; }
.essence-text p + p { margin-top: 1.2rem; }
.essence-text h2 { margin-bottom: 1.6rem; }
.essence-text .lead { margin-bottom: 1.4rem; }
.essence-text p:last-child { font-family: var(--f-title); font-style: italic; color: var(--terra-d); font-size: 1.25rem; }
.essence-img { position: relative; overflow: hidden; aspect-ratio: 4 / 5; border-radius: var(--arch); box-shadow: 0 30px 60px -30px rgba(21, 48, 75, .45); }
.essence-img img { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: contain; will-change: transform; }
@media (min-width: 900px) { .essence-top { grid-template-columns: 1.1fr .9fr; } }

.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 28px 24px; margin-top: clamp(64px, 9vw, 120px); }
.pillars li { border-top: 1px solid rgba(21, 48, 75, .25); padding-top: 18px; }
.pillar-n { display: block; width: 20px; height: 28px; border: 1.5px solid var(--terra); border-bottom: 0; border-radius: 999px 999px 0 0; margin-bottom: 16px; }
.pillars h3, .diffs h3 { margin-bottom: .5rem; }
.pillars p { color: var(--muted); font-size: 1.0625rem; line-height: 1.6; }

.about { display: grid; gap: clamp(28px, 5vw, 72px); align-items: center; margin-top: clamp(64px, 9vw, 120px); }
.about-photo { position: relative; aspect-ratio: 4 / 5; max-width: 420px; width: 100%; overflow: hidden; border-radius: var(--arch); background: var(--navy); box-shadow: 0 30px 60px -30px rgba(21, 48, 75, .45); }
.about-photo img { position: relative; width: 100%; height: 100%; object-fit: contain; }
.about-text p + p { margin-top: 1rem; }
.about-text .h3-serif { margin-bottom: 1rem; font-size: clamp(1.6rem, 3vw, 2.3rem); }
.about-role { font: 600 1rem var(--f-label); letter-spacing: .16em; text-transform: uppercase; color: var(--terra-d); margin-bottom: 1.2rem; }
.about-role strong { color: var(--navy); font-weight: 600; }
.about-text { max-width: 60ch; }
@media (min-width: 800px) { .about { grid-template-columns: auto 1fr; } }

/* ---------- Acordeões ---------- */
.acc-item { border-bottom: 1px solid rgba(21, 48, 75, .18); }
.acc-item:first-child { border-top: 1px solid rgba(21, 48, 75, .18); }
.acc-item h3 { font: inherit; }
.acc-btn { width: 100%; display: flex; align-items: center; gap: clamp(14px, 3vw, 36px); text-align: left; background: none; border: 0; padding: clamp(20px, 2.6vw, 30px) 0; }
.acc-num { font: 600 1rem var(--f-label); letter-spacing: .2em; color: var(--terra-d); min-width: 2.2em; }
.acc-name { flex: 1; font-family: var(--f-title); font-size: clamp(1.3rem, 2.8vw, 2.1rem); line-height: 1.2; color: var(--navy); transition: color .3s, transform .4s var(--ease); }
.acc-btn:hover .acc-name { color: var(--terra-d); transform: translateX(6px); }
.acc-ico { position: relative; width: 40px; height: 40px; flex: none; border: 1px solid rgba(169, 106, 63, .55); border-radius: 50%; transition: background .3s, border-color .3s; }
.acc-btn:hover .acc-ico, .acc-btn[aria-expanded="true"] .acc-ico { background: rgba(169, 106, 63, .12); border-color: var(--terra); }
.acc-ico::before, .acc-ico::after { content: ""; position: absolute; left: 12px; right: 12px; top: 50%; height: 1.5px; background: var(--terra); transition: transform .4s var(--ease); }
.acc-ico::after { transform: rotate(90deg); }
.acc-btn[aria-expanded="true"] .acc-ico::after { transform: rotate(0); }
.acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.acc-panel > div { overflow: hidden; visibility: hidden; transition: visibility 0s .5s; }
.acc-btn[aria-expanded="true"] + * , .is-open > .acc-panel { grid-template-rows: 1fr; }
.is-open > .acc-panel > div { visibility: visible; transition-delay: 0s; }
.acc-panel p { color: var(--muted); max-width: 62ch; padding-bottom: 6px; }
.acc--faq .acc-name { font-size: clamp(1.15rem, 2.2vw, 1.5rem); }
.acc--faq .acc-panel p { padding-bottom: 26px; }
.faq-wrap { max-width: 900px; }

/* ---------- Obras ---------- */
.obras-head { display: grid; gap: clamp(24px, 5vw, 70px); align-items: center; margin-bottom: clamp(40px, 6vw, 80px); }
.obras-head img { width: min(380px, 80%); }
@media (min-width: 900px) { .obras-head { grid-template-columns: 380px 1fr; } }
.diffs { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 32px 28px; margin-bottom: clamp(40px, 6vw, 72px); }
.diffs li { border-top: 1px solid rgba(255, 255, 255, .25); padding-top: 18px; }
.diffs .pillar-n { border-color: var(--terra-l); }
.diffs p { color: rgba(255, 255, 255, .92); font-size: 1.0625rem; line-height: 1.6; }

/* ---------- Portfólio ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(28px, 4vw, 44px); }
.filter { background: none; border: 1px solid rgba(21, 48, 75, .3); padding: .75em 1.4em; border-radius: 99px; font: 600 1rem var(--f-label); letter-spacing: .18em; text-transform: uppercase; color: var(--navy); transition: background .3s, color .3s, border-color .3s; }
.filter:hover { border-color: var(--navy); }
.filter[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); }

.grid { display: grid; grid-template-columns: 1fr; gap: clamp(12px, 1.8vw, 22px); grid-auto-flow: dense; }
.card { position: relative; overflow: hidden; background: var(--navy); border-radius: var(--r); aspect-ratio: 4 / 5; }
.card.is-hidden { display: none; }
.card.show { animation: cardIn .6s var(--ease) both; }
@keyframes cardIn { from { opacity: 0; transform: scale(.97); } }
.card.reveal:not(.in) img { transform: scale(1.12); }
.card-btn { position: absolute; inset: 0; width: 100%; padding: 0; border: 0; background: none; text-align: left; display: block; }
.card-btn img { position: relative; width: 100%; height: 100%; object-fit: contain; transition: transform 1.4s var(--ease); }
/* foto inteira, sem corte: o que sobra do quadro é preenchido com a própria foto desfocada */
.bgblur { position: absolute; inset: 0; background: center / cover; filter: blur(22px) saturate(1.1); transform: scale(1.2); opacity: .9; }
.card-btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(15, 35, 56, .88)); }
.card-info { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: clamp(20px, 3vw, 44px); padding-right: 96px; color: var(--white); display: block; }
.card-cat { display: block; font: 600 .95rem var(--f-label); letter-spacing: .26em; text-transform: uppercase; color: var(--terra-l); margin-bottom: 8px; }
.card-title { display: block; font-family: var(--f-title); font-size: clamp(1.7rem, 4vw, 2.4rem); line-height: 1.08; }
.card-go { position: absolute; right: clamp(18px, 2.6vw, 40px); bottom: clamp(20px, 3vw, 44px); z-index: 1; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .7); display: grid; place-items: center; transition: background .4s, border-color .4s, transform .4s var(--ease); }
.card-go::after { content: ""; width: 20px; height: 10px; background: var(--white); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 12'%3E%3Cpath d='M0 6h22M17 1l5 5-5 5' fill='none' stroke='black' stroke-width='1.5'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 12'%3E%3Cpath d='M0 6h22M17 1l5 5-5 5' fill='none' stroke='black' stroke-width='1.5'/%3E%3C/svg%3E") center / contain no-repeat; }
.card-btn:hover .card-go, .card-btn:focus-visible .card-go { background: var(--terra); border-color: var(--terra); transform: scale(1.08); }
@media (hover: hover) { .card-btn:hover img { transform: scale(1.05); } }
@media (min-width: 700px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .card { aspect-ratio: 4 / 3; }
  .card--big { grid-column: span 2; aspect-ratio: 16 / 9; max-height: 90vh; }
  .card--big .card-title { font-size: clamp(2.2rem, 5vw, 4.2rem); }
  .card-title { font-size: clamp(1.6rem, 2.8vw, 2.4rem); }
}

/* ---------- Processo ---------- */
.process-grid { display: grid; gap: clamp(32px, 6vw, 90px); }
@media (min-width: 900px) { .process-grid { grid-template-columns: .8fr 1.2fr; align-items: start; } .process-head { position: sticky; top: 120px; } }
.timeline { position: relative; padding-left: 44px; --p: 0; }
.timeline::before, .timeline::after { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 1.5px; }
.timeline::before { background: rgba(21, 48, 75, .18); }
.timeline::after { background: var(--terra); transform-origin: top; transform: scaleY(var(--p)); }
.timeline li { position: relative; padding-bottom: clamp(28px, 4vw, 52px); }
.timeline li:last-child { padding-bottom: 0; }
.t-dot { position: absolute; left: -44px; top: 8px; width: 16px; height: 16px; border-radius: 50%; background: var(--white); border: 1.5px solid rgba(21, 48, 75, .3); transition: background .5s, border-color .5s, transform .5s var(--ease); }
.timeline li.in .t-dot { background: var(--terra); border-color: var(--terra); transform: scale(1.1); }
.t-n { font: italic 400 clamp(2.4rem, 4.4vw, 3.4rem)/1 var(--f-title); color: var(--terra); display: block; margin-bottom: 4px; }
.timeline h3 { margin-bottom: .4rem; }
.timeline p { color: var(--muted); max-width: 48ch; }

/* ---------- Instagram ---------- */
.insta-handle { display: inline-block; margin-top: 1rem; font: 600 1.3rem var(--f-label); letter-spacing: .2em; color: var(--terra-d); text-decoration: none; border-bottom: 1px solid currentColor; }
.insta-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(6px, 1.2vw, 14px); }
.insta-grid a { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; background: var(--navy); border-radius: var(--arch); }
.insta-grid img { position: relative; width: 100%; height: 100%; object-fit: contain; transition: transform .9s var(--ease), opacity .4s; }
.insta-grid a:hover img, .insta-grid a:focus-visible img { transform: scale(1.07); opacity: .8; }
@media (min-width: 800px) { .insta-grid { grid-template-columns: repeat(6, 1fr); } }

/* ---------- Briefing ---------- */
.briefing { padding-block: clamp(56px, 8vw, 110px); }
.briefing-wrap { max-width: 920px; }
.form-card { background: var(--white); color: var(--ink); border-radius: var(--r-lg); padding: clamp(24px, 5vw, 56px); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .5); }
.progress { height: 3px; background: rgba(21, 48, 75, .12); border-radius: 3px; overflow: hidden; }
.progress i { display: block; height: 100%; width: 25%; background: var(--terra); transition: width .5s var(--ease); }
.progress-label { font: 600 .95rem var(--f-label); letter-spacing: .22em; text-transform: uppercase; color: var(--terra-d); margin: 12px 0 26px; }
.step { border: 0; padding: 0; margin: 0; min-width: 0; animation: stepIn .5s var(--ease); }
@keyframes stepIn { from { opacity: 0; transform: translateX(16px); } }
.step legend { font-family: var(--f-title); font-size: clamp(1.5rem, 3vw, 2.1rem); color: var(--navy); padding: 0; margin-bottom: 1.4rem; float: left; width: 100%; }
.step legend + * { clear: both; }
.svc-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; }
.svc-card { position: relative; cursor: pointer; }
.svc-card input { position: absolute; opacity: 0; inset: 0; }
.svc-card span { display: flex; align-items: center; min-height: 64px; padding: 14px 20px; border: 1px solid rgba(21, 48, 75, .22); border-radius: 22px 22px 22px 4px; font-weight: 500; line-height: 1.3; color: var(--navy); transition: border-color .3s, background .3s, box-shadow .3s; }
.svc-card:hover span { border-color: var(--navy); }
.svc-card input:checked + span { border-color: var(--terra); background: rgba(169, 106, 63, .08); box-shadow: inset 0 0 0 1px var(--terra); }
.svc-card input:focus-visible + span { outline: 2px solid var(--terra); outline-offset: 2px; }
.fields { display: grid; gap: 18px 20px; }
@media (min-width: 640px) { .fields { grid-template-columns: 1fr 1fr; } .field--full { grid-column: 1 / -1; } }
.field { display: flex; flex-direction: column; gap: 6px; font-size: .95rem; }
.field > span { font: 600 .95rem var(--f-label); letter-spacing: .16em; text-transform: uppercase; color: var(--navy); }
.field input:not([type="radio"]):not([type="checkbox"]), .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1.05rem; padding: .7em 0; border: 0; border-bottom: 1px solid rgba(21, 48, 75, .35); border-radius: 0; background: transparent; color: var(--ink); transition: border-color .25s, box-shadow .25s;
}
.field textarea { resize: vertical; min-height: 120px; padding: .9em 1em; border: 1px solid rgba(21, 48, 75, .3); border-radius: 20px 20px 20px 4px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--terra); box-shadow: 0 1px 0 var(--terra); }
.field [aria-invalid="true"] { border-color: #b3261e !important; }
.field small { color: var(--muted); font-size: .85rem; }
.radios { display: flex; flex-wrap: wrap; gap: 8px 22px; padding-top: 6px; }
.radios label { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.radios input, .check input { accent-color: var(--terra); width: 18px; height: 18px; flex: none; }
.check { display: flex; align-items: flex-start; gap: 12px; font-size: .95rem; line-height: 1.5; cursor: pointer; }
.check a { color: var(--terra-d); }
.step-err { min-height: 1.4em; margin-top: 14px; color: #b3261e; font-size: .95rem; }
.step-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 10px; flex-wrap: wrap; }
.step-nav--send { justify-content: flex-start; }
.step-nav--send .btn--line-l { margin-right: auto; }
.hint { margin-top: 16px; font-size: .88rem; color: var(--muted); }
@media (max-width: 640px) {
  .step-nav .btn { flex: 1 1 100%; }
  .step-nav--send .btn--line-l { order: 3; margin-right: 0; }
}
.success { text-align: center; padding: 20px 0; }
.success svg { width: 84px; height: 84px; margin: 0 auto 20px; fill: none; stroke: var(--terra); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.success circle { stroke-dasharray: 151; stroke-dashoffset: 151; animation: draw 1s .1s ease forwards; }
.success path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .6s .9s ease forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.success h3 { margin-bottom: .6rem; }
.success p { color: var(--muted); max-width: 44ch; margin: 0 auto 1.6rem; }

/* ---------- Contato ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.contact-grid .c-val--copy, .footer .c-copy { user-select: all; -webkit-user-select: all; cursor: text; }
.contact-grid a, .contact-grid .copy { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 30px 26px; background: var(--white); border: 1px solid rgba(21, 48, 75, .12); text-decoration: none; border-radius: var(--r); transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s; }
.contact-grid a:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -24px rgba(21, 48, 75, .35); border-color: var(--terra); }
.contact-grid svg { width: 30px; height: 30px; fill: none; stroke: var(--terra); stroke-width: 1.5; stroke-linejoin: round; stroke-linecap: round; margin-bottom: 14px; }
.contact-grid svg .f { fill: var(--terra); stroke: none; }
.c-label { font: 600 .9rem var(--f-label); letter-spacing: .24em; text-transform: uppercase; color: var(--terra-d); }
.c-val { font-family: var(--f-title); font-size: 1.2rem; color: var(--navy); overflow-wrap: anywhere; }

/* ---------- Rodapé ---------- */
.footer { background: var(--navy); color: rgba(255, 255, 255, .8); padding-top: clamp(40px, 6vw, 70px); }
.footer-grid { display: grid; gap: 36px; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1.2fr; } }
.footer-brand img { width: 84px; margin-bottom: 16px; }
.footer-brand p { font-size: .9rem; letter-spacing: .08em; }
.f-title { font: 600 .95rem var(--f-label); letter-spacing: .26em; text-transform: uppercase; color: var(--terra-l); margin-bottom: 14px; }
.footer nav, .footer-grid > div { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.footer a { text-decoration: none; transition: color .3s; }
.footer a:hover { color: var(--white); text-decoration: underline; }
.f-note { font-size: .9rem; margin-top: 6px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: clamp(36px, 5vw, 60px); padding-block: 22px; border-top: 1px solid rgba(255, 255, 255, .15); font-size: .9rem; }

/* ---------- WhatsApp flutuante ---------- */
.fab { position: fixed; right: clamp(16px, 3vw, 32px); bottom: clamp(16px, 3vw, 32px); z-index: 90; width: 60px; height: 60px; border-radius: 50%; background: var(--terra); color: var(--white); display: grid; place-items: center; box-shadow: 0 12px 28px -8px rgba(21, 48, 75, .55); transition: transform .35s var(--ease), background .3s, opacity .3s, visibility .3s; }
.fab:hover { background: var(--terra-d); transform: scale(1.06); }
.fab svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; }
.fab svg .f { fill: currentColor; stroke: none; }
.fab.away { opacity: 0; visibility: hidden; transform: scale(.8); }
.fab::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--terra); animation: pulse 2.6s ease-out infinite; }
@keyframes pulse { from { transform: scale(1); opacity: .6; } to { transform: scale(1.5); opacity: 0; } }

/* ---------- Visualizador ---------- */
.viewer { position: fixed; inset: 0; z-index: 400; background: var(--paper); display: flex; flex-direction: column; overflow-y: auto; opacity: 0; transition: opacity .4s var(--ease); }
.viewer.open { opacity: 1; }
.v-close { position: fixed; top: 14px; right: 16px; z-index: 5; width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(21, 48, 75, .85); color: var(--white); font-size: 2rem; line-height: 1; display: grid; place-items: center; padding-bottom: 4px; transition: background .3s; }
.v-close:hover { background: var(--terra); }
.v-stage-col { background: var(--navy-d); display: flex; flex-direction: column; min-width: 0; min-height: 0; flex: none; }
.v-stage { position: relative; height: 62vh; height: 62svh; display: grid; place-items: center; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.v-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; animation: vIn .5s var(--ease); }
@keyframes vIn { from { opacity: 0; transform: scale(.985); } }
.v-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .14); color: var(--white); font-size: 2rem; line-height: 1; padding-bottom: 4px; transition: background .3s; }
.v-arrow:hover { background: var(--terra); }
.v-prev { left: 12px; } .v-next { right: 12px; }
.v-count { position: absolute; left: 16px; bottom: 12px; color: rgba(255, 255, 255, .8); font: 600 .9rem var(--f-label); letter-spacing: .2em; }
.v-thumbs { display: flex; gap: 8px; padding: 10px 12px; overflow-x: auto; justify-content: center; }
.v-thumbs button { flex: none; width: 76px; height: 54px; padding: 0; border: 2px solid transparent; border-radius: 12px 12px 12px 3px; overflow: hidden; opacity: .55; background: none; transition: opacity .3s, border-color .3s; }
.v-thumbs button[aria-current="true"] { opacity: 1; border-color: var(--terra); }
.v-thumbs img { width: 100%; height: 100%; object-fit: contain; background: var(--navy); }
.v-info { padding: clamp(24px, 4vw, 48px); display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.v-info h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.v-info .eyebrow { margin: 0; }
.v-spec { display: grid; grid-template-columns: auto 1fr; gap: 6px 22px; width: 100%; padding-block: 14px; border-block: 1px solid rgba(21, 48, 75, .16); font-size: .98rem; }
.v-spec dt { font: 600 .9rem var(--f-label); letter-spacing: .2em; text-transform: uppercase; color: var(--terra-d); padding-top: 2px; }
.v-spec dd { margin: 0; }
.v-text { color: var(--muted); }
#v-compare { width: 100%; }
.cmp-title { font: 600 .9rem var(--f-label); letter-spacing: .22em; text-transform: uppercase; color: var(--terra-d); margin-bottom: 10px; }
.cmp { --pos: 50%; position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 22px 22px 22px 4px; background: var(--navy); user-select: none; -webkit-user-select: none; }
.cmp img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; pointer-events: none; }
.cmp .cmp-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.cmp-label { position: absolute; top: 10px; z-index: 1; background: rgba(21, 48, 75, .8); color: var(--white); padding: 4px 10px; font: 600 .8rem var(--f-label); letter-spacing: .18em; text-transform: uppercase; }
.cmp-label.l { left: 10px; } .cmp-label.r { right: 10px; }
.cmp-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; background: var(--white); transform: translateX(-1px); z-index: 1; pointer-events: none; }
.cmp-handle::after { content: "\2194"; position: absolute; top: 50%; left: 50%; width: 38px; height: 38px; transform: translate(-50%, -50%); border-radius: 50%; background: var(--white); color: var(--navy); display: grid; place-items: center; font-size: 1.1rem; box-shadow: 0 4px 14px rgba(0, 0, 0, .3); }
.cmp input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; z-index: 2; }
.cmp:focus-within { outline: 2px solid var(--terra); outline-offset: 3px; }
@media (min-width: 1000px) {
  .viewer { flex-direction: row; overflow: hidden; }
  .v-stage-col { flex: 1; }
  .v-stage { flex: 1; height: auto; min-height: 0; }
  .v-info { width: min(420px, 36vw); flex: none; overflow-y: auto; padding-top: 72px; }
}

/* ---------- Páginas auxiliares ---------- */
.page-head { background: var(--navy); }
.page-head .header-in { height: 76px; }
.doc { padding: calc(var(--header-h) + 40px) 0 var(--sec); }
.doc .wrap { max-width: 780px; }
.doc h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin-bottom: 1.2rem; }
.doc h2 { font-size: 1.5rem; margin: 2.2rem 0 .6rem; }
.doc p, .doc li { color: var(--muted); }
.doc ul { list-style: disc; padding-left: 1.3rem; margin: .6rem 0; }
.doc a { color: var(--terra-d); }
.doc .btn { margin-top: 1.6rem; }
.tag-prov { display: inline-block; font: 600 .85rem var(--f-label); letter-spacing: .2em; text-transform: uppercase; background: rgba(169, 106, 63, .14); color: var(--terra-d); padding: .3em .8em; margin-bottom: 1rem; }

/* ---------- Movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js .reveal, .hero-a { opacity: 1; transform: none; }
  .js .essence-img.reveal { clip-path: none; }
  .hero-slide.active img { transform: none; }
}

/* ---------- Serviços (abas) ---------- */
.svc { display: grid; gap: clamp(24px, 5vw, 80px); }
.svc-tabs { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x proximity; margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter) 10px; scrollbar-width: none; }
.svc-tabs::-webkit-scrollbar { display: none; }
.svc-tab { flex: none; scroll-snap-align: center; background: none; border: 1px solid rgba(21, 48, 75, .28); border-radius: 999px; padding: .65em 1.2em; font: 500 1rem/1.2 var(--f-body); color: var(--navy); white-space: nowrap; transition: background .3s, color .3s, border-color .3s; }
.svc-tab[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); }
.svc-pane { animation: paneIn .6s var(--ease); }
@keyframes paneIn { from { opacity: 0; transform: translateY(14px); } }
.svc-fig { position: relative; aspect-ratio: 5 / 4; overflow: hidden; border-radius: var(--arch); background: var(--navy); margin-bottom: 1.6rem; }
.svc-fig img { position: relative; width: 100%; height: 100%; object-fit: contain; }
.svc-pane h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: .6rem; }
.svc-pane p { color: var(--muted); max-width: 46ch; font-size: 1.1875rem; }
@media (min-width: 900px) {
  .svc { grid-template-columns: minmax(280px, .85fr) 1.15fr; align-items: start; }
  .svc-tabs { flex-direction: column; gap: 0; overflow: visible; margin: 0; padding: 0; }
  .svc-tab { position: relative; text-align: left; white-space: normal; border: 0; border-radius: 0; background: none; padding: .5em 0 .5em 0; font: 400 clamp(1.4rem, 2.5vw, 2.1rem)/1.2 var(--f-title); color: rgba(21, 48, 75, .45); transition: color .35s, padding-left .45s var(--ease); }
  .svc-tab::before { content: ""; position: absolute; left: 0; top: 50%; width: 0; height: 1.5px; background: var(--terra); transition: width .45s var(--ease); }
  .svc-tab:hover { color: var(--navy); }
  .svc-tab[aria-selected="true"] { background: none; color: var(--navy); padding-left: 40px; }
  .svc-tab[aria-selected="true"]::before { width: 28px; }
  .svc-stage { position: sticky; top: 110px; }
}

/* ---------- Equipe ---------- */
.team { display: grid; gap: clamp(24px, 5vw, 72px); align-items: center; margin-top: clamp(64px, 9vw, 120px); }
.team-text { max-width: 46ch; }
.team-text .h3-serif { margin-bottom: 1rem; font-size: clamp(1.6rem, 3vw, 2.3rem); }
.team-photo { position: relative; overflow: hidden; border-radius: var(--r-lg); aspect-ratio: 4 / 5; max-width: 460px; width: 100%; background: var(--navy); box-shadow: 0 30px 60px -30px rgba(21, 48, 75, .45); }
.team-photo img { position: relative; width: 100%; height: 100%; object-fit: contain; }
@media (min-width: 800px) { .team { grid-template-columns: 1fr auto; } .team-photo { justify-self: end; } }

/* ---------- Páginas (troca de conteúdo, sem rolar até a seção) ---------- */
.js .page { display: none; }
.js .page.is-active { display: block; }
.js .page.is-active:not(.page--home) { display: flex; flex-direction: column; min-height: 100vh; min-height: 100svh; padding-top: 68px; }
.page > section:last-child { flex: 1; }
.nav a[aria-current="page"]:not(.btn)::after { transform: scaleX(1); }
.js .page.is-active .hero-slides { animation: pageFade .9s ease both; }
@keyframes pageFade { from { opacity: 0; } }

/* ---------- Transição entre páginas: painel + monograma, 5 variações ---------- */
#pt { position: fixed; inset: 0; z-index: 400; visibility: hidden; pointer-events: none; display: grid; place-items: center; }
#pt.on { visibility: visible; pointer-events: auto; }
#pt:not(.on) * { transition: none !important; animation: none !important; }
.pt-p, .pt-b { position: absolute; inset: 0; clip-path: var(--a); transition: clip-path .45s cubic-bezier(.76, 0, .24, 1); }
.pt-p { background: var(--paper); transition-delay: .05s; }
.pt-b { background: var(--terra); }
#pt.cover .pt-p, #pt.cover .pt-b { clip-path: inset(0); }
#pt.leave .pt-p, #pt.leave .pt-b { clip-path: var(--z); }
#pt.leave .pt-p { transition-delay: 0s; }
#pt.leave .pt-b { transition-delay: .05s; }
#pt[data-v="0"] { --a: inset(100% 0 0 0); --z: inset(0 0 100% 0); }
#pt[data-v="1"] { --a: inset(0 0 0 100%); --z: inset(0 100% 0 0); }
#pt[data-v="2"] { --a: circle(0% at 50% 50%); --z: circle(0% at 50% 50%); }
#pt[data-v="2"].cover .pt-p, #pt[data-v="2"].cover .pt-b { clip-path: circle(150% at 50% 50%); }
#pt[data-v="3"] { --a: inset(0 50% 0 50%); --z: inset(50% 0 50% 0); }
#pt[data-v="4"] { --a: inset(0 100% 0 0); --z: inset(0 0 0 100%); }

.pt-mono { position: relative; width: min(58vw, 340px); min-width: 210px; opacity: 0; overflow: visible; }
#pt.cover .pt-mono { opacity: 1; transition: opacity .15s .15s; }
#pt.leave .pt-mono { opacity: 0; transition: opacity .25s; }
/* assinatura "Lívia Conde" escrita: traço do L, depois "ivia", depois "Conde"; por fim a máscara abre para garantir o logo completo */
.pt-s { fill: none; stroke: #fff; stroke-width: 44; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.pt-w { fill: #fff; transform-box: fill-box; transform-origin: 0 50%; transform: scaleX(0); }
.pt-a, .pt-f { fill: #fff; opacity: 0; }
#pt.cover .pt-s { animation: ptWrite .55s .2s cubic-bezier(.45, .05, .35, 1) forwards; }
#pt.cover .pt-w1 { animation: ptSweep .32s .62s cubic-bezier(.4, 0, .3, 1) forwards; }
#pt.cover .pt-w2 { animation: ptSweep .55s .88s cubic-bezier(.4, 0, .3, 1) forwards; }
#pt.cover .pt-a { animation: ptShow .25s 1.32s forwards; }
#pt.cover .pt-f { animation: ptShow .1s 1.55s forwards; }
@keyframes ptWrite { to { stroke-dashoffset: 0; } }
@keyframes ptSweep { to { transform: scaleX(1); } }
@keyframes ptShow { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { #pt { display: none; } }
