/* ---------- Base ---------- */
:root {
  --fundo: #faf8f5;
  --fundo-alt: #f1ece5;
  --texto: #2b2724;
  --texto-suave: #6f675f;
  --linha: #e2dbd2;
  --verde: #2f6f4e;
  --verde-escuro: #24543c;
  --verde-claro: #edf4e9;
  --roxo: #7b4a9e;
  --roxo-claro: #f4eef9;
  --amarelo: #e3ad2f;
  --amarelo-claro: #fbf4e0;
  --destaque: var(--roxo);
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --largura: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: clip; }

body {
  margin: 0;
  background: var(--fundo);
  color: var(--texto);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

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

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.15;
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(2.8rem, 7vw, 5.2rem); letter-spacing: 0.01em; }
h2 { font-size: clamp(2rem, 4vw, 2.9rem); }
h3 { font-size: 1.55rem; }

p { margin: 0 0 1.1em; }

.container { width: min(var(--largura), 90%); margin: 0 auto; }

.rotulo {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--destaque);
  margin-bottom: 1rem;
}

.secao { padding: clamp(4.5rem, 10vw, 8rem) 0; }
.secao--alt { background: var(--verde-claro); }
.secao--lilas { background: var(--roxo-claro); }
.centro { text-align: center; }
.estreito { max-width: 680px; margin-left: auto; margin-right: auto; }
.suave { color: var(--texto-suave); }

/* ---------- Botões ---------- */
.botao {
  display: inline-block;
  padding: 0.95rem 2.2rem;
  border: 1px solid var(--verde-escuro);
  background: var(--verde-escuro);
  color: #fff;
  font-family: var(--sans);
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
}
.botao:hover { background: var(--roxo); border-color: var(--roxo); color: #fff; }
.botao--claro { background: transparent; color: var(--verde-escuro); }
.botao--claro:hover { background: var(--verde-escuro); border-color: var(--verde-escuro); color: #fff; }

.link-sublinhado {
  text-decoration: none;
  border-bottom: 2px solid var(--amarelo);
  padding-bottom: 2px;
  color: var(--verde-escuro);
}

/* ---------- Cabeçalho ---------- */
.topo {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(250, 248, 245, 0.92);
  backdrop-filter: blur(8px);
}
.topo::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--verde), var(--roxo), var(--amarelo));
}
.topo .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--serif);
  font-size: 1.7rem;
  text-decoration: none;
  letter-spacing: 0.04em;
}
.nav ul {
  list-style: none;
  display: flex;
  gap: 2.4rem;
  margin: 0;
  padding: 0;
  align-items: center;
}
.nav a {
  text-decoration: none;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
.nav a:hover,
.nav a[aria-current="page"] { border-color: var(--amarelo); color: var(--verde-escuro); }
.nav .icone-instagram:hover { color: var(--roxo); }
.nav .icone-instagram { display: inline-flex; border: 0; }

.menu-botao {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}
.menu-botao span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--texto);
  margin: 6px 0;
}

/* ---------- Ícones ---------- */
.icone { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; }

/* ---------- Fotos ---------- */
.foto {
  position: relative;
  overflow: hidden;
  background: var(--linha);
}
.foto img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.foto--vazia::after {
  content: "Foto: " attr(data-arquivo);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--texto-suave);
}

/* ---------- Página inicial ---------- */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - 76px);
}
.hero-texto {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 8% 4rem max(5%, calc((100vw - var(--largura)) / 2));
}
.hero-texto p { max-width: 430px; color: var(--texto-suave); font-size: 1.1rem; }
.hero-acoes { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.4rem; }
.hero .foto { min-height: 520px; }

.sobre {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: clamp(2.5rem, 7vw, 6rem);
  align-items: center;
}
.sobre .foto { aspect-ratio: 4 / 5; }

.servicos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-top: 3.5rem;
}
.servico { border-top: 3px solid var(--verde); padding-top: 1.8rem; }
.servico:nth-child(2) { border-color: var(--roxo); }
.servico:nth-child(3) { border-color: var(--amarelo); }
.servico h3 { color: var(--verde-escuro); }
.servico p { color: var(--texto-suave); }
.servico ul { list-style: none; padding: 0; margin: 0; color: var(--texto-suave); font-size: 0.95rem; }
.servico li { padding: 0.35rem 0; border-bottom: 1px solid var(--linha); }

.valores {
  position: relative;
  border: 1px solid #ddcfe8;
  padding: clamp(2.5rem, 6vw, 4rem);
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
  background: #fff;
  box-shadow: 0 18px 50px -30px rgba(123, 74, 158, 0.45);
}

.fotos-apresentacao {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 14px;
  padding: 0 0 3rem;
}
.fotos-apresentacao .foto { height: clamp(260px, 32vw, 440px); }
.fotos-apresentacao .foto:last-child img { object-position: center 25%; }

/* ---------- Currículo ---------- */
.cabecalho-pagina { padding: clamp(4rem, 9vw, 7rem) 0 clamp(2rem, 4vw, 3rem); }
.cabecalho-pagina p { max-width: 620px; color: var(--texto-suave); font-size: 1.1rem; }

.curriculo-intro {
  display: grid;
  grid-template-columns: 4fr 7fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
.curriculo-intro .foto { aspect-ratio: 3 / 4; }

.bloco {
  display: grid;
  grid-template-columns: 3fr 8fr;
  gap: 2rem;
  padding: 3rem 0;
  border-top: 1px solid var(--linha);
}
.bloco:last-child { border-bottom: 1px solid var(--linha); }
.bloco h2 { font-size: 1.9rem; }

.linha-tempo { list-style: none; margin: 0; padding: 0; }
.linha-tempo li {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1.5rem;
  padding: 0.9rem 0;
}
.linha-tempo li + li { border-top: 1px dashed var(--linha); }
.linha-tempo .ano { font-family: var(--serif); font-size: 1.25rem; color: var(--verde); }
.linha-tempo strong { font-weight: 400; display: block; }
.linha-tempo span.suave { font-size: 0.95rem; }

.etiquetas { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 0; padding: 0; list-style: none; }
.etiquetas li {
  border: 1px solid #cfe0c8;
  padding: 0.4rem 1rem;
  font-size: 0.9rem;
  background: var(--verde-claro);
}
.etiquetas li:nth-child(3n+2) { background: var(--roxo-claro); border-color: #ddcfe8; }
.etiquetas li:nth-child(3n) { background: var(--amarelo-claro); border-color: #f0dfaa; }

/* ---------- Contato ---------- */
.contato {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(3rem, 7vw, 6rem);
}
.contato-item { padding: 1.2rem 0; border-bottom: 1px solid var(--linha); }
.contato-item:first-of-type { border-top: 1px solid var(--linha); }
.contato-item .rotulo { margin-bottom: 0.2rem; }
.contato-item a { text-decoration: none; font-size: 1.1rem; }
.contato-item a:hover { color: var(--roxo); }

.formulario { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem 1.6rem; }
.campo { display: flex; flex-direction: column; }
.campo--inteiro { grid-column: 1 / -1; }
.campo label {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--texto-suave);
  margin-bottom: 0.4rem;
}
.campo input,
.campo select,
.campo textarea {
  font: inherit;
  color: var(--texto);
  background: transparent;
  border: 0;
  border-bottom: 1px solid #cfc6bb;
  padding: 0.6rem 0;
  border-radius: 0;
  outline: none;
  transition: border-color 0.3s;
}
.campo textarea { resize: vertical; min-height: 110px; }
.campo input:focus,
.campo select:focus,
.campo textarea:focus { border-color: var(--roxo); }
.formulario .nota { grid-column: 1 / -1; font-size: 0.88rem; color: var(--texto-suave); margin: 0; }

/* ---------- Faixa Instagram ---------- */
.faixa-instagram { text-align: center; }
.faixa-instagram a.usuario {
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 3.2rem);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
}
.faixa-instagram a.usuario:hover { color: var(--destaque); }
.faixa-instagram .icone { width: 34px; height: 34px; stroke-width: 1.2; }

/* ---------- Rodapé ---------- */
.rodape { background: var(--verde-escuro); padding: 3rem 0; font-size: 0.85rem; color: #d7e6d9; }
.rodape .marca { display: inline-flex; align-items: center; gap: 0.6rem; }
.rodape .container { display: flex; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; align-items: center; }
.rodape ul { list-style: none; display: flex; gap: 1.8rem; margin: 0; padding: 0; }
.rodape a { text-decoration: none; }
.rodape a:hover { color: var(--amarelo); }

/* ---------- Ornamentos: beija-flor, folhas e flores ---------- */
.ornamento { position: absolute; pointer-events: none; user-select: none; }
.beija-flor { animation: pairar 4.5s ease-in-out infinite; filter: drop-shadow(0 10px 14px rgba(36, 84, 60, 0.18)); }
.beija-flor--b { animation-duration: 5.5s; animation-delay: -2s; }
@keyframes pairar {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  30% { transform: translate(6px, -10px) rotate(-2deg); }
  60% { transform: translate(-4px, -4px) rotate(1.5deg); }
}
.logo-passaro { width: 34px; height: auto; }
.divisor { display: block; width: 170px; height: auto; margin: 0.2rem auto 1.2rem; }
.divisor--esq { margin-left: 0; }

.hero-texto { position: relative; }
.hero-passaro { width: 190px; top: 9%; right: 5%; z-index: 2; }
.hero-ramo { width: 250px; left: max(0px, calc((100vw - var(--largura)) / 2 - 90px)); bottom: 18px; opacity: 0.9; }

.moldura { position: relative; isolation: isolate; }
.moldura::before {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 1px solid var(--amarelo);
  z-index: -1;
}
.moldura-ramo { width: 210px; right: -70px; bottom: -50px; z-index: 1; }

.valores-ramo { width: 170px; top: -36px; left: -60px; transform: scaleX(-1) rotate(-12deg); }
.valores-passaro { width: 120px; top: -64px; right: -40px; }

.secao-titulo-passaro { position: static; display: block; width: 120px; margin: 0 auto 0.6rem; }

.cabecalho-pagina { position: relative; }
.cabecalho-passaro { width: 200px; right: max(4%, calc((100vw - var(--largura)) / 2)); top: 30%; }
.cabecalho-ramo { width: 240px; right: max(0%, calc((100vw - var(--largura)) / 2 - 120px)); top: 8%; opacity: 0.55; transform: rotate(8deg); }

/* ---------- Animação ---------- */
.surgir { opacity: 0; transform: translateY(18px); transition: opacity 0.9s ease, transform 0.9s ease; }
.surgir.visivel { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .surgir { opacity: 1; transform: none; transition: none; }
  .beija-flor { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsivo ---------- */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero .foto { order: -1; min-height: 0; aspect-ratio: 4 / 5; max-height: 72vh; }
  .hero-texto { padding: 3rem 5%; }
  .sobre, .curriculo-intro, .contato { grid-template-columns: 1fr; }
  .curriculo-intro .foto { max-width: 420px; }
  .servicos { grid-template-columns: 1fr; gap: 2.5rem; }
  .bloco { grid-template-columns: 1fr; gap: 0.5rem; }
  .fotos-apresentacao { grid-template-columns: 1fr; }
  .fotos-apresentacao .foto { height: auto; aspect-ratio: 3 / 2; }
  .fotos-apresentacao .foto:last-child { aspect-ratio: 1 / 1; }
  .hero-passaro { width: 130px; top: -70px; right: 4%; }
  .hero-ramo { display: none; }
  .moldura-ramo { width: 150px; right: -20px; bottom: -40px; }
  .moldura::before { inset: 12px -12px -12px 12px; }
  .cabecalho-passaro { width: 120px; top: 20px; right: 4%; }
  .cabecalho-ramo { display: none; }
  .valores-passaro { width: 90px; top: -50px; right: -10px; }
  .valores-ramo { width: 120px; left: -30px; }
}

@media (max-width: 760px) {
  .menu-botao { display: block; }
  .nav {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--fundo);
    border-bottom: 1px solid var(--linha);
    display: none;
  }
  .nav.aberto { display: block; }
  .nav ul { flex-direction: column; gap: 0; padding: 1rem 0 1.5rem; }
  .nav li { width: 100%; text-align: center; }
  .nav a { display: inline-block; padding: 0.8rem 0; }
  .formulario { grid-template-columns: 1fr; }
  .linha-tempo li { grid-template-columns: 1fr; gap: 0.1rem; }
}
