/* Carina Pajola — Arquitetura Capilar
   Identidade lida no @carinapajola em 11/11/2026: café escuro com champanhe e bronze,
   versão clara nude-rosada, serifa fina com itálico, versalete espaçado e assinatura. */
:root {
  --cafe: #15100d;
  --cafe2: #1e1713;
  --cafe3: #2a201b;
  --champ: #eadfce;
  --champ2: #bfae99;
  --bronze: #c6a27e;
  --nude: #f5ede8;
  --nude2: #ece0d8;
  --cacau: #3a2a24;
  --cacau2: #6e5a50;
  --rose: #87584d;
  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --sans: 'Jost', 'Helvetica Neue', Arial, sans-serif;
  --script: 'Allura', 'Brush Script MT', cursive;
  --gut: clamp(20px, 5vw, 64px);
  --ease: cubic-bezier(.22, .61, .36, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cafe); color: var(--champ); font-family: var(--sans); font-weight: 300; font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video, iframe { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; letter-spacing: -.005em; }
h1 em, h2 em { font-style: italic; font-weight: 300; }
p { margin: 0 0 1em; }

.dark { background: var(--cafe); color: var(--champ); --acc: var(--bronze); --mut: var(--champ2); --line: rgba(234, 223, 206, .14); }
.light { background: var(--nude); color: var(--cacau); --acc: var(--rose); --mut: var(--cacau2); --line: rgba(58, 42, 36, .14); }
.nude { background: var(--nude2); color: var(--cacau); --acc: var(--rose); --mut: var(--cacau2); --line: rgba(58, 42, 36, .16); }
.light h2 em, .nude h2 em { color: var(--rose); }
.dark h2 em, .dark h1 em { color: var(--bronze); }

.wrap { width: min(1180px, 100%); margin: 0 auto; padding: 0 var(--gut); }
.narrow { width: min(760px, 100%); text-align: center; }
section { padding: clamp(80px, 11vw, 150px) 0; position: relative; }

.caps { font-family: var(--sans); font-size: 12px; font-weight: 400; letter-spacing: .32em; text-transform: uppercase; color: var(--acc); margin: 0 0 22px; }
.caps.small { font-size: 10.5px; letter-spacing: .34em; color: var(--mut); margin: 0; }
.rule { display: block; width: 46px; height: 1px; background: var(--acc); margin: 30px 0; opacity: .8; }
.sign { font-family: var(--script); font-size: 46px; line-height: 1; color: var(--acc); margin: 34px 0 6px; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 32px; border: 1px solid var(--acc); background: var(--acc); color: var(--cafe); font: 400 12.5px/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; text-decoration: none; transition: background .35s var(--ease), color .35s var(--ease); }
.light .btn, .nude .btn { color: var(--nude); }
.btn:hover { background: transparent; color: var(--acc); }
.btn-sm { min-height: 40px; padding: 0 20px; font-size: 11px; }
.link { font-size: 12.5px; letter-spacing: .24em; text-transform: uppercase; text-decoration: none; color: var(--acc); border-bottom: 1px solid currentColor; padding-bottom: 4px; }
.link.center { display: table; margin: 56px auto 0; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px 30px; margin-top: 38px; }

/* topo */
.top { position: fixed; inset: 0 0 auto; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px var(--gut); color: var(--champ); --acc: var(--bronze); transition: background .4s var(--ease), padding .4s var(--ease); }
.top.solid { background: rgba(21, 16, 13, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); padding-top: 12px; padding-bottom: 12px; border-bottom: 1px solid rgba(234, 223, 206, .08); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-family: var(--sans); font-size: 12px; letter-spacing: .34em; text-transform: uppercase; }
.rings { width: 28px; height: 17px; fill: none; stroke: var(--bronze); stroke-width: 1.1; }
.nav { display: flex; gap: 34px; }
.nav a { font-size: 11.5px; letter-spacing: .26em; text-transform: uppercase; text-decoration: none; color: var(--champ2); transition: color .3s; }
.nav a:hover { color: var(--champ); }

/* capa */
.hero { min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); align-items: center; gap: 40px; padding: 120px var(--gut) 90px; overflow: hidden; background: radial-gradient(ellipse 70% 60% at 72% 40%, #2b201a 0%, var(--cafe) 70%); }
.hero-copy { position: relative; z-index: 2; max-width: 540px; justify-self: end; }
.hero h1 { font-size: clamp(58px, 8.4vw, 124px); line-height: .96; font-weight: 300; }
.lead { font-size: clamp(17px, 1.5vw, 19px); color: var(--champ2); max-width: 440px; }
.hero-photo { position: relative; margin: 0; align-self: stretch; display: flex; align-items: center; }
.hero-photo img { width: 100%; height: auto; max-height: 82svh; object-fit: cover; object-position: 50% 20%; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 22%, #000 88%, transparent 100%), linear-gradient(0deg, transparent 0%, #000 22%); -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent 0%, #000 22%, #000 88%, transparent 100%), linear-gradient(0deg, transparent 0%, #000 22%); mask-composite: intersect; }
.arc { position: absolute; left: 50%; top: 50%; width: min(64%, 520px); aspect-ratio: 1; border: 1px solid rgba(198, 162, 126, .35); border-radius: 50%; transform: translate(-46%, -58%); pointer-events: none; }
.hero-foot { position: absolute; left: var(--gut); bottom: 34px; margin: 0; color: var(--champ2); }

/* manifesto */
.manifesto h2, .closing h2 { font-size: clamp(34px, 4.6vw, 58px); line-height: 1.08; margin-bottom: 30px; }
.manifesto p:not(.caps):not(.sign) { font-size: 18.5px; color: var(--mut); max-width: 600px; margin-left: auto; margin-right: auto; }

/* cabeçalhos */
.sec-head { max-width: 760px; margin-bottom: clamp(48px, 6vw, 80px); }
.sec-head h2 { font-size: clamp(34px, 4.4vw, 56px); line-height: 1.08; }
.hint { margin: 18px 0 0; font-size: 14px; color: var(--mut); }

/* pilares */
.pillar-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.clip { aspect-ratio: 4 / 5; overflow: hidden; background: var(--cafe3); margin-bottom: 26px; }
.clip video { width: 100%; height: 100%; object-fit: cover; }
.num { display: block; font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--bronze); margin-bottom: 4px; }
.pillar h3 { font-size: 34px; margin-bottom: 12px; }
.pillar p { color: var(--champ2); font-size: 16px; }

/* especialidades */
.svc-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.svc-list li { padding: 34px 30px 30px 0; border-bottom: 1px solid var(--line); }
.svc-list li:not(:nth-child(3n + 1)) { padding-left: 30px; border-left: 1px solid var(--line); }
.svc-list h3 { font-size: 28px; margin-bottom: 10px; }
.svc-list p { color: var(--mut); font-size: 15.5px; margin: 0; }

/* trabalhos */
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(150px, 15vw, 210px); gap: 14px; }
.tile { position: relative; margin: 0; padding: 0; border: 0; overflow: hidden; background: var(--cafe3); grid-row: span 2; cursor: default; color: inherit; font: inherit; }
.tile.tall { grid-row: span 3; cursor: pointer; }
.tile img, .tile video { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.tile:hover img, .tile:hover video { transform: scale(1.04); }
.tag { position: absolute; left: 14px; bottom: 14px; padding: 7px 12px; background: rgba(21, 16, 13, .72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); font-size: 10.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--champ); }
.tile.tall::after { content: ''; position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(234, 223, 206, .6); background: rgba(21, 16, 13, .35) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 7l8 5-8 5z' fill='%23eadfce'/%3E%3C/svg%3E") center / 16px no-repeat; }

/* atendimento */
.step-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 34px; counter-reset: s; }
.step-list li { border-top: 1px solid var(--rose); padding-top: 24px; }
.step-list span { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--rose); }
.step-list h3 { font-size: 30px; margin: 6px 0 10px; }
.step-list p { color: var(--mut); font-size: 15.5px; margin: 0; }

/* sobre */
.about-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.about-photo { margin: 0; position: relative; }
.about-photo img { width: 100%; aspect-ratio: 11 / 16; object-fit: cover; object-position: 60% 30%; }
.about-photo::after { content: ''; position: absolute; inset: 18px -18px -18px 18px; border: 1px solid rgba(176, 127, 114, .45); z-index: -1; }
.about-copy h2 { font-size: clamp(36px, 4.4vw, 56px); line-height: 1.06; margin-bottom: 28px; }
.about-copy p:not(.caps):not(.sign) { color: var(--mut); font-size: 17.5px; }
.about { isolation: isolate; }

/* onde */
.place-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 80px); align-items: center; }
.place h2 { font-size: clamp(42px, 5vw, 64px); line-height: 1.02; margin-bottom: 24px; }
address { font-style: normal; color: var(--champ2); font-size: 18px; line-height: 1.7; }
.map { aspect-ratio: 4 / 3; border: 1px solid var(--line); overflow: hidden; background: var(--cafe2); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) sepia(.35) brightness(.78) contrast(1.05); }

/* fecho */
.closing .rings.big { width: 54px; height: 32px; margin: 0 auto 34px; stroke: var(--rose); }
.closing .btn { margin-top: 10px; }

.foot { padding: 46px 0 110px; border-top: 1px solid rgba(234, 223, 206, .08); }
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px 40px; font-size: 14px; color: var(--champ2); }
.foot-row p { margin: 0; display: flex; flex-direction: column; gap: 4px; }
.foot-name { font-family: var(--serif); font-size: 26px; color: var(--champ); }
.foot a { text-decoration: none; color: var(--champ); }
.by a { border-bottom: 1px solid rgba(234, 223, 206, .3); }

/* botão flutuante */
.float { position: fixed; right: 18px; bottom: 18px; z-index: 50; display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 22px 0 18px; background: var(--bronze); color: var(--cafe); text-decoration: none; font-size: 11.5px; letter-spacing: .24em; text-transform: uppercase; box-shadow: 0 14px 34px -12px rgba(0, 0, 0, .55); transform: translateY(140%); transition: transform .5s var(--ease); }
.float svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linejoin: round; }
.float.on { transform: none; }

/* vídeo com som */
.lightbox { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; background: rgba(10, 8, 6, .94); padding: 24px; }
.lightbox[hidden] { display: none; }
.lightbox video { max-height: 88svh; width: auto; max-width: 100%; aspect-ratio: 9 / 16; background: #000; }
.lb-close { position: absolute; top: 14px; right: 18px; width: 48px; height: 48px; border: 0; background: none; color: var(--champ); font: 300 40px/1 var(--serif); cursor: pointer; }

/* entrada suave */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .tile img, .tile video { transition: none; }
}

@media (max-width: 980px) {
  .nav { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 96px; gap: 0; align-content: start; }
  .hero-photo { order: -1; margin: 0 calc(var(--gut) * -1); }
  .hero-photo img { max-height: 62svh; -webkit-mask-image: linear-gradient(0deg, transparent 0%, #000 30%); mask-image: linear-gradient(0deg, transparent 0%, #000 30%); -webkit-mask-composite: source-over; mask-composite: add; }
  .arc { width: 70%; }
  .hero-copy { justify-self: start; margin-top: -70px; }
  .hero-foot { position: static; margin-top: 44px; }
  .pillar-grid { grid-template-columns: 1fr; gap: 56px; }
  .clip { aspect-ratio: 4 / 4.4; }
  .svc-list { grid-template-columns: 1fr 1fr; }
  .svc-list li, .svc-list li:not(:nth-child(3n + 1)) { padding: 28px 20px 24px 0; border-left: 0; }
  .svc-list li:nth-child(2n) { padding-left: 20px; border-left: 1px solid var(--line); }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: clamp(120px, 34vw, 200px); gap: 10px; }
  .step-list { grid-template-columns: 1fr 1fr; gap: 34px 24px; }
  .about-grid, .place-grid { grid-template-columns: 1fr; }
  .about-photo { width: 86%; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .brand span { font-size: 11px; letter-spacing: .28em; }
  .svc-list { grid-template-columns: 1fr; }
  .svc-list li:nth-child(2n) { padding-left: 0; border-left: 0; }
  .step-list { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .actions { gap: 22px; }
  .tag { left: 8px; bottom: 8px; padding: 5px 8px; font-size: 9px; letter-spacing: .16em; }
  .tile.tall::after { width: 28px; height: 28px; top: 8px; right: 8px; }
  .sign { font-size: 40px; }
}

/* capa entra sozinha, sem depender da rolagem */
.rise { animation: rise 1.2s var(--ease) both; }
.rise.late { animation-delay: .15s; animation-duration: 1.6s; }
@keyframes rise { from { transform: translateY(18px); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) { .rise { animation: none; } }
.top .btn { width: auto; }
.brand span { white-space: nowrap; }
@media (max-width: 980px) {
  .hero-photo img { width: 100%; height: 56svh; max-height: none; object-fit: cover; object-position: 42% 20%; }
}

/* rodapé (11/11/2026) */
.foot { padding: clamp(70px, 9vw, 110px) 0 120px; border-top: 1px solid rgba(234, 223, 206, .08); background: radial-gradient(ellipse 60% 50% at 50% 0%, #241b16 0%, var(--cafe) 70%); }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 40px; padding-bottom: clamp(44px, 6vw, 70px); border-bottom: 1px solid rgba(234, 223, 206, .12); }
.foot-quote { margin: 0; max-width: 760px; font-family: var(--serif); font-weight: 300; font-size: clamp(32px, 4vw, 52px); line-height: 1.05; color: var(--champ); }
.foot-quote em { font-style: italic; color: var(--bronze); }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px clamp(28px, 4vw, 60px); padding: clamp(44px, 6vw, 70px) 0; }
.foot-brand .rings { width: 34px; height: 20px; margin-bottom: 18px; }
.foot-name { margin: 0 0 6px; font-family: var(--serif); font-size: 34px; line-height: 1; color: var(--champ); }
.foot-bio { margin: 18px 0 0; max-width: 300px; font-size: 15px; color: var(--champ2); }
.foot-col h3 { margin: 0 0 18px; color: var(--bronze); }
.foot-col li { padding: 5px 0; font-size: 15px; color: var(--champ2); }
.foot-col a { text-decoration: none; color: var(--champ2); transition: color .3s; }
.foot-col a:hover { color: var(--champ); }
.foot address { font-style: normal; font-size: 15px; line-height: 1.7; color: var(--champ2); margin-bottom: 14px; }
.foot-links a { color: var(--bronze); }
.foot-links .ic { width: 16px; height: 16px; margin-right: 10px; }

.foot-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 30px; padding-top: 26px; border-top: 1px solid rgba(234, 223, 206, .12); font-size: 13px; color: var(--champ2); }
.foot-bar p { margin: 0; }
.foot-bar a { text-decoration: none; color: var(--champ); }
.foot-bar .by a { border-bottom: 1px solid rgba(234, 223, 206, .3); }
.to-top { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; }
@media (max-width: 980px) {
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .foot-top .btn { width: 100%; }
  .foot-grid { gap: 36px 20px; }
  .foot-bar { flex-direction: column; align-items: flex-start; }
}

/* ícones, Instagram e WhatsApp (11/11/2026) */
.t-wa { display: none; }
.has-wa .t-wa { display: inline; }
.has-wa .t-ig { display: none; }
.btn { gap: 0; }
.ig-btn { display: inline-flex; align-items: center; gap: 14px; margin-top: 26px; min-height: 56px; padding: 10px 18px 10px 14px; border: 1px solid rgba(198, 162, 126, .45); color: var(--champ); text-decoration: none; transition: background .4s var(--ease), border-color .4s; }
.ig-btn > .ic:first-child { width: 26px; height: 26px; color: var(--bronze); }
.ig-btn span { display: flex; flex-direction: column; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; line-height: 1.35; }
.ig-btn small { font-family: var(--serif); font-size: 20px; letter-spacing: 0; text-transform: none; color: var(--champ2); }
.ig-btn .ic-arrow { width: 16px; height: 16px; margin-left: 6px; color: var(--bronze); transition: transform .4s var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .ig-btn:hover { background: rgba(198, 162, 126, .1); border-color: var(--bronze); }
  .ig-btn:hover .ic-arrow { transform: translateX(4px); }
}
.place .link { display: inline-flex; align-items: center; gap: 8px; }
.place .link .ic { width: 15px; height: 15px; }
.to-top { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; }
.to-top .ic { width: 14px; height: 14px; }
.float .ic { width: 19px; height: 19px; stroke-width: 1.5; }

/* toque: sem hover grudado depois do toque */
@media (hover: none) {
  .btn:hover { background: var(--acc); color: var(--cafe); }
  .light .btn:hover, .nude .btn:hover { color: var(--nude); }
}

/* celular */
.float { bottom: max(18px, calc(env(safe-area-inset-bottom) + 10px)); right: max(16px, env(safe-area-inset-right)); }
.lb-close { top: max(14px, env(safe-area-inset-top)); }
@media (max-width: 980px) {
  .hero { padding-top: max(84px, calc(env(safe-area-inset-top) + 72px)); }
  .hero-photo { margin-top: 0; }
  .works .gallery { gap: 8px; }
  .tag { font-size: 10px; letter-spacing: .14em; }
  .pillar h3 { font-size: 32px; }
  .foot-quote { font-size: clamp(30px, 8vw, 40px); }
}
@media (max-width: 560px) {
  .top { gap: 12px; padding-left: 16px; padding-right: 12px; }
  .brand { gap: 9px; font-size: 11px; letter-spacing: .24em; }
  .rings { width: 24px; height: 15px; }
  .top .btn-sm { padding: 0 14px; letter-spacing: .18em; }
  .hero h1 { font-size: clamp(52px, 15vw, 64px); }
  .lead { font-size: 16.5px; }
  .actions { flex-direction: column; align-items: stretch; }
  .actions .link { align-self: flex-start; }
  .sec-head { margin-bottom: 40px; }
  .ig-btn { width: 100%; }
  .float { height: 54px; padding: 0 20px 0 16px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-col:last-child { grid-column: 1 / -1; }
}
