/* =========================================================
   1 ponto de vista — folha de estilo
   Identidade: bege #fafaf9, quase-preto #1c1c1a, Inter,
   traço minimalista, tom oral e leve.
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

:root{
  --bg: #fafaf9;
  --ink: #1c1c1a;
  --muted: #8a8a85;
  --line: #e4e3df;
  --hover: #f0efec;
  --warm: 255, 196, 120; /* luz quente abat-jour (RGB) */
  --maxw: 720px;
  --maxw-wide: 980px;
}

*{ box-sizing:border-box; }

html{ scroll-behavior:smooth; }

body{
  margin:0;
  background:var(--bg);
  color:var(--ink);
  font-family:'Inter', system-ui, -apple-system, sans-serif;
  font-size:17px;
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *{ animation:none !important; transition:none !important; }
}

a{ color:inherit; text-decoration:none; }

img{ max-width:100%; display:block; }

.wrap{ max-width:var(--maxw); margin:0 auto; padding:0 24px; }
.wrap-wide{ max-width:var(--maxw-wide); margin:0 auto; padding:0 24px; }

/* ---------- Header ---------- */
.site-header{
  position:sticky; top:0; z-index:50;
  background:rgba(250,250,249,.85);
  backdrop-filter:saturate(180%) blur(8px);
  border-bottom:1px solid var(--line);
}
.site-header .bar{
  max-width:var(--maxw-wide); margin:0 auto; padding:14px 24px;
  display:flex; align-items:center; justify-content:space-between; gap:24px;
}
.brand{ display:flex; align-items:center; gap:10px; }
.brand img{ height:30px; width:64px; flex:0 0 64px; object-fit:contain; }
.brand .name{
  font-weight:600; font-size:15px; letter-spacing:.01em;
}
.nav{ display:flex; gap:26px; align-items:center; }
.nav a{
  font-size:14.5px; color:var(--muted); font-weight:500;
  transition:color .35s ease, text-shadow .35s ease;
}
.nav a:hover{ color:var(--ink); text-shadow:0 0 14px rgba(var(--warm), .55); }
.nav .pip{ position:relative; }
.nav .pip::after{
  content:""; position:absolute; left:50%; bottom:-5px;
  width:4px; height:4px; border-radius:50%; background:var(--ink);
  transform:translateX(-50%) scale(0); transition:transform .18s ease;
}
.nav .pip:hover::after{ transform:translateX(-50%) scale(1); }

.menu-btn{ display:none; background:none; border:0; cursor:pointer; padding:6px; }
.menu-btn span{ display:block; width:22px; height:2px; background:var(--ink); margin:5px 0; }

/* ---------- Hero ---------- */
.hero{ padding:96px 0 64px; }
.hero .eyebrow{
  font-size:13px; letter-spacing:.14em; text-transform:uppercase;
  color:var(--muted); margin-bottom:22px;
}
.eyebrow-avatar{
  display:flex; align-items:center; gap:10px; text-transform:none;
  letter-spacing:.02em; font-size:14px; font-weight:500; color:var(--ink);
}
.avatar-mini{
  width:26px; height:26px; border-radius:50%; object-fit:cover;
  border:1px solid var(--line); flex:0 0 26px;
}
.hero h1{
  font-size:clamp(34px, 6vw, 56px); line-height:1.08;
  font-weight:600; letter-spacing:-.02em; margin:0 0 24px;
}
.hero h1 .dot{ color:var(--ink); }
.hero .lede{
  font-size:clamp(18px,2.4vw,21px); color:#46453f; max-width:600px; margin:0 0 32px;
}
.cta-row{ display:flex; gap:14px; flex-wrap:wrap; }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; gap:8px;
  padding:12px 22px; border-radius:999px; font-size:15px; font-weight:500;
  border:1px solid var(--ink); transition:all .35s ease, box-shadow .35s ease; cursor:pointer;
}
.btn-solid{ background:var(--ink); color:var(--bg); }
.btn-solid:hover{ opacity:.92; box-shadow:0 0 24px 2px rgba(var(--warm), .45); }
.btn-ghost{ background:transparent; color:var(--ink); }
.btn-ghost:hover{ background:var(--hover); box-shadow:0 0 22px 1px rgba(var(--warm), .35); }

/* ---------- Section scaffolding ---------- */
.section{ padding:64px 0; border-top:1px solid var(--line); }
.section-label{
  font-size:13px; letter-spacing:.14em; text-transform:uppercase;
  color:var(--muted); margin-bottom:28px; display:flex; align-items:center; gap:10px;
}
.section-label::before{
  content:""; width:5px; height:5px; border-radius:50%; background:var(--ink);
}
.section h2{
  font-size:clamp(26px,4vw,34px); font-weight:600; letter-spacing:-.015em;
  margin:0 0 20px; line-height:1.15;
}
.section p{ color:#46453f; }

/* ---------- Tese / metáforas ---------- */
.thesis p{ font-size:19px; }
.thesis .pull{
  font-size:clamp(22px,3.4vw,28px); font-weight:500; line-height:1.4;
  letter-spacing:-.01em; color:var(--ink); margin:36px 0; padding-left:20px;
  border-left:2px solid var(--ink);
}
.figure-row{ display:grid; grid-template-columns:1fr 1fr; gap:28px; margin-top:36px; }
.figure-card{
  border:1px solid var(--line); border-radius:14px; padding:26px; background:#fff;
}
.figure-card svg{ height:48px; margin-bottom:16px; }
.figure-card h3{ font-size:17px; font-weight:600; margin:0 0 8px; }
.figure-card p{ font-size:15px; margin:0; color:#5a594f; }

/* ---------- Blog list ---------- */
.post-list{ display:flex; flex-direction:column; }
.post-item{
  display:block; padding:26px 18px; border-bottom:1px solid var(--line);
  border-radius:12px;
  transition:padding-left .35s ease, background .35s ease, box-shadow .35s ease;
}
.post-item:hover{
  padding-left:28px;
  background:radial-gradient(120% 120% at 0% 50%, rgba(var(--warm), .14), transparent 60%);
  box-shadow:0 0 30px -6px rgba(var(--warm), .3);
}
.post-item .kicker{
  font-size:12px; letter-spacing:.12em; text-transform:uppercase;
  color:var(--muted); margin-bottom:8px;
}
.post-item h3{ font-size:21px; font-weight:600; margin:0 0 6px; letter-spacing:-.01em; }
.post-item p{ margin:0; font-size:15.5px; color:#5a594f; }
.post-item .arrow{ color:var(--muted); }

/* ---------- Portfolio ---------- */
.logo-grid{
  display:grid; grid-template-columns:repeat(3, 1fr); gap:1px;
  background:var(--line); border:1px solid var(--line); border-radius:14px; overflow:hidden;
}
.logo-cell{
  background:var(--bg); aspect-ratio:16/9; display:flex; align-items:center; justify-content:center;
  padding:24px; transition:background .35s ease, box-shadow .35s ease;
}
.logo-cell:hover{ background:#fff; box-shadow:inset 0 0 40px -8px rgba(var(--warm), .4); }
.logo-cell span{
  font-weight:600; font-size:clamp(15px,2vw,19px); letter-spacing:-.01em;
  color:var(--ink); text-align:center;
}

/* ---------- About ---------- */
.about-grid{ display:grid; grid-template-columns:1fr; gap:8px; }
.about-grid p{ font-size:17.5px; }
.about-cols{ display:grid; grid-template-columns:1.3fr .9fr; gap:40px; align-items:start; margin-top:8px; }
.about-text p{ margin:0 0 18px; }
.about-photo{ margin:0; }
.about-photo img{
  width:100%; border-radius:14px; border:1px solid var(--line);
  aspect-ratio:4/5; object-fit:cover;
}
@media (max-width:680px){
  .about-cols{ grid-template-columns:1fr; gap:24px; }
  .about-photo{ max-width:280px; }
}

.about-wrap{
  display:grid; grid-template-columns:300px 1fr; gap:48px; align-items:start;
}
.about-photo{
  border-radius:16px; overflow:hidden; border:1px solid var(--line);
  background:#fff; aspect-ratio:1000/1346;
}
.about-photo img{
  width:100%; height:100%; object-fit:cover; display:block;
  filter:grayscale(100%) contrast(1.02);
}
.about-text .section-label{ margin-top:0; }
@media (max-width:680px){
  .about-wrap{ grid-template-columns:1fr; gap:28px; }
  .about-photo{ max-width:260px; }
}

/* ---------- Contact ---------- */
.contact-card{
  border:1px solid var(--line); border-radius:16px; padding:36px; background:#fff;
  text-align:center;
}
.contact-card h2{ margin-top:0; }
.contact-row{ display:flex; gap:14px; justify-content:center; flex-wrap:wrap; margin-top:24px; }

/* ---------- Footer ---------- */
.site-footer{
  border-top:1px solid var(--line); padding:40px 0; margin-top:32px;
  font-size:14px; color:var(--muted);
}
.site-footer .bar{
  max-width:var(--maxw-wide); margin:0 auto; padding:0 24px;
  display:flex; justify-content:space-between; align-items:center; gap:18px; flex-wrap:wrap;
}
.site-footer .social{ display:flex; gap:18px; flex-wrap:wrap; }
.site-footer a{ transition:color .35s ease, text-shadow .35s ease; }
.site-footer a:hover{ color:var(--ink); text-shadow:0 0 14px rgba(var(--warm), .5); }

/* ---------- Article (post page) ---------- */
.article{ padding:72px 0 40px; }
.article .back{
  font-size:14px; color:var(--muted); margin-bottom:32px; display:inline-flex; gap:6px;
}
.article .back:hover{ color:var(--ink); }
.article .kicker{
  font-size:13px; letter-spacing:.12em; text-transform:uppercase; color:var(--muted); margin-bottom:14px;
}
.article h1{
  font-size:clamp(30px,5vw,44px); font-weight:600; letter-spacing:-.02em;
  line-height:1.12; margin:0 0 16px;
}
.article .meta{ font-size:14px; color:var(--muted); margin-bottom:40px; }
.article-body{ font-size:18.5px; line-height:1.75; }
.article-body p{ margin:0 0 22px; color:#2c2b27; }
.article-body h2{ font-size:25px; font-weight:600; margin:44px 0 14px; letter-spacing:-.01em; }
.article-body blockquote{
  margin:30px 0; padding-left:22px; border-left:2px solid var(--ink);
  font-size:21px; font-weight:500; color:var(--ink);
}
.article-body em{ font-style:italic; }

/* ---------- Reveal animation ---------- */
.reveal{ opacity:0; transform:translateY(14px); transition:opacity .6s ease, transform .6s ease; }
.reveal.in{ opacity:1; transform:none; }

/* ---------- Responsive ---------- */
@media (max-width:680px){
  .nav{
    position:fixed; inset:57px 0 auto 0; background:var(--bg);
    flex-direction:column; gap:0; padding:8px 24px 20px;
    border-bottom:1px solid var(--line); display:none;
  }
  .nav.open{ display:flex; }
  .nav a{ padding:12px 0; width:100%; border-bottom:1px solid var(--line); font-size:16px; }
  .menu-btn{ display:block; }
  .figure-row{ grid-template-columns:1fr; }
  .logo-grid{ grid-template-columns:repeat(2,1fr); }
  .hero{ padding:64px 0 48px; }
}
