/* =========================================================
   IALO — sistema de tokens
   ========================================================= */
:root{
  --paper:      #FAFBFC;
  --paper-2:    #F1F3F6;
  --ink:        #1F2430;
  --ink-soft:   #565D6D;
  --line:       #E4E7EC;

  --blue:       #4285F4;
  --red:        #EA4335;
  --yellow:     #FBBC05;
  --green:      #34A853;

  --radius:     18px;
  --max:        860px;

  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;
}

*{ box-sizing: border-box; }

html{ scroll-behavior: smooth; }

body{
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a{ color: inherit; }

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

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

/* ---------- header ---------- */
header.site{
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(250,251,252,0.88);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.site-nav{
  max-width: var(--max);
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand{
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand img{ height: 56px; width: auto; }

.brand-name{
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.nav-links{
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a{
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-soft);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color .15s ease, border-color .15s ease;
}

.nav-links a:hover,
.nav-links a.active{
  color: var(--ink);
  border-bottom-color: var(--blue);
}

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

/* ---------- hero ---------- */
.hero{
  padding: 88px 0 56px;
}

.hero-solo{
  padding: 140px 0 220px;
}

@media (max-width: 760px){
  .hero-solo{ padding: 90px 0 120px; }
}

.dot-rail{
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
}
.dot-rail span{
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}
.dot-rail span:nth-child(1){ background: var(--blue); }
.dot-rail span:nth-child(2){ background: var(--red); }
.dot-rail span:nth-child(3){ background: var(--yellow); }
.dot-rail span:nth-child(4){ background: var(--green); }

.hero h1{
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 5vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
}

.hero p.lead{
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 560px;
  margin: 0;
}

/* ---------- apresentação ---------- */
.section{
  padding: 64px 0;
  border-top: 1px solid var(--line);
}

.section-head{
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 28px;
}

.section-head .tag{
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
}

.section-head h2{
  font-family: var(--font-display);
  font-size: 1.6rem;
  margin: 0;
  letter-spacing: -0.01em;
}

.about-grid{
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: start;
}

.about-grid p{
  margin: 0 0 16px;
  color: var(--ink-soft);
}
.about-grid p:last-child{ margin-bottom: 0; }
.about-grid strong{ color: var(--ink); font-weight: 600; }

.about-card{
  background: var(--paper-2);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--line);
}
.about-card ul{
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.about-card li{
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.about-card .swatch{
  width: 9px;
  height: 9px;
  border-radius: 50%;
  margin-top: 7px;
  flex: none;
}

/* ---------- pensamentos ---------- */
.thoughts{
  display: flex;
  flex-direction: column;
}

.thought{
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 20px;
  padding: 32px 0;
  border-top: 1px solid var(--line);
}
.thought:first-child{ border-top: none; padding-top: 0; }

.thought .marker{
  display: flex;
  justify-content: center;
  padding-top: 8px;
}
.thought .marker span{
  width: 11px;
  height: 11px;
  border-radius: 50%;
  display: block;
}

.thought time{
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 8px;
}

.thought h3{
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}

.thought p{
  margin: 0;
  color: var(--ink-soft);
}

/* ---------- contato ---------- */
.contact-shell{
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 56px;
  align-items: start;
}

.contact-note h2{
  font-family: var(--font-display);
  font-size: 1.9rem;
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}
.contact-note p{ color: var(--ink-soft); margin: 0 0 14px; }

form.contact-form{
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.field label{
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.field input,
.field textarea{
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  padding: 13px 14px;
  font-family: var(--font-body);
  font-size: 0.98rem;
  color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea{ min-height: 140px; resize: vertical; }

.field input:focus,
.field textarea:focus{
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(66,133,244,0.15);
}

.submit-btn{
  align-self: flex-start;
  border: none;
  cursor: pointer;
  padding: 13px 28px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: #fff;
  background: linear-gradient(90deg, var(--blue), var(--green));
  transition: transform .15s ease, box-shadow .15s ease;
}
.submit-btn:hover{ transform: translateY(-1px); box-shadow: 0 8px 20px rgba(66,133,244,0.28); }
.submit-btn:disabled{ opacity: 0.6; cursor: not-allowed; transform:none; box-shadow:none; }

.form-status{
  font-size: 0.9rem;
  margin-top: 4px;
  min-height: 1.2em;
}
.form-status.ok{ color: var(--green); }
.form-status.err{ color: var(--red); }

/* ---------- footer ---------- */
footer.site{
  border-top: 1px solid var(--line);
  padding: 32px 0 48px;
}
footer.site .wrap{
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
footer.site p{
  margin: 0;
  font-size: 0.85rem;
  color: var(--ink-soft);
}
footer .foot-dots{ display:flex; gap:6px; }
footer .foot-dots span{ width:7px; height:7px; border-radius:50%; }
footer .foot-dots span:nth-child(1){ background: var(--blue); }
footer .foot-dots span:nth-child(2){ background: var(--red); }
footer .foot-dots span:nth-child(3){ background: var(--yellow); }
footer .foot-dots span:nth-child(4){ background: var(--green); }

/* ---------- responsive ---------- */
@media (max-width: 760px){
  .about-grid,
  .contact-shell{
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .nav-links{
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    padding: 16px 24px 20px;
    gap: 14px;
    display: none;
  }
  .nav-links.open{ display: flex; }
  .nav-toggle{ display: block; }
  .hero{ padding: 56px 0 40px; }
}

/* respeita usuários que preferem menos movimento */
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *{ transition: none !important; }
}

:focus-visible{
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}
