:root{
  --bg: #fff7f3;
  --card: #fdeee8;
  --ink: #2a2a2a;
  --muted: #7a7a7a;
  --brand: #f05d49;
  --card-white: #ffffff;
  --radius: 18px;
  --gap: 18px;
}

*{ box-sizing: border-box; }
body{
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height: 1.6;
}

/* ===== HERO ===== */
.hero{
  text-align: center;
  padding: 56px 16px 26px;
}
.hero__nome{
  margin: 0;
  font-weight: 800;
  color: var(--brand);
  font-size: 2rem;
  letter-spacing: .6px;
}
.hero__titulo{
  margin: 4px 0 0;
  font-weight: 800;
  color: var(--brand);
  font-size: 1.6rem;
}

/* ===== GRID PRINCIPAL ===== */
.grid{
  width: min(1100px, 92vw);
  margin: 6px auto 40px;
  display: grid;
  grid-template-columns: 360px 1fr 1fr;  /* esquerda maior */
  grid-auto-rows: minmax(60px, auto);
  gap: var(--gap);
}

/* ===== CARDS ===== */
.card{
  background: var(--card);
  border: 2px solid #fbd9cf;
  border-radius: var(--radius);
  padding: 18px;
}

/* ===== COLUNA ESQUERDA ===== */
.col-left{ grid-column: 1; grid-row: 1 / span 3; }

.foto{
  background: var(--brand);
  border-radius: 12px;
  aspect-ratio: 5/4;
  overflow: hidden;
  margin-bottom: 12px;
}
.foto img{ width: 100%; height: 100%; object-fit: cover; }

.sec-title{
  margin: 10px 0 8px;
  font-size: 1.4rem;
  text-transform: uppercase;
  color: var(--brand);
  font-weight: 700;
  letter-spacing: .6px;
}

.sobre{ color: var(--muted); margin-bottom: 16px; }

.contato{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 6px;
}
.contato a{ color: var(--ink); text-decoration: none; }
.contato a:hover{ text-decoration: underline; }

/* ===== SOFTWARES ===== */
.col-softwares{
  grid-column: 2 / 4;
  grid-row: 1;
  background: var(--card-white);
  border-color: #f6d3c9;
}

.softwares{
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
  display: grid;
  grid-template-columns: repeat(8, 75px);
  gap: 12px;
}
.softwares li{
  background: var(--brand);
  border-radius: 10px;
  aspect-ratio: 1/1;
  display: grid;
  place-items: center;
}
.softwares img{
  width: 50%;
  height: auto;
  display: block;
}

/* ===== FORMAÇÕES ===== */
.col-edu{ grid-column: 2; grid-row: 2 / span 2; }
.edu{
  font-size: 1.2rem;
  padding: 12px 0;
  border-bottom: 1px dashed #f0c3b8;
}
.edu:last-child{ border-bottom: 0; }
.edu__curso{
  margin: 0;
  font-weight: 700;
}
.edu__escola{
  margin: 2px 0 6px; /* agora logo abaixo do curso */
  font-size: 1.2rem;
  color: var(--muted);
}
.edu__data{
  display: block;
  font-size: 1rem;
  color: var(--muted);
}

/* ===== EXPERIÊNCIAS ===== */
.col-xp{ grid-column: 3; grid-row: 2 / span 2; }
.xp + .xp{ margin-top: 14px; }
.xp__cargo{
  margin: 0;
  font-weight: 700;
}
.xp__empresa{
  margin: 2px 0 6px; /* logo abaixo do cargo */
  font-size: .9rem;
  color: var(--muted);
}
.xp__meta{
  display: block;
  font-size: .85rem;
  color: var(--muted);
}
.xp__itens{
  margin: 8px 0 0 18px;
  color: #444;
}

.trabalhos__wrap {
  width: min(1100px, 92vw);
  margin: 0 auto;
}

.section-main-title {
  font-size: clamp(1.1rem, 2.2vw, 1.4rem);
  font-weight: 800;
  color: var(--brand);
  text-transform: uppercase;
  margin-bottom: 24px;
  text-align: center;
}

/* Grade com logo e mockup */
.trabalhos-grid {
  display: grid;
  grid-template-columns: 300px 1fr; /* Logo fixo | Mockup fluido */
  gap: 20px;
  align-items: start;
}

.trabalho {
  margin: 0 0 32px;
}

.trabalho__titulo {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--ink);
  text-align: center;
}

.trabalho__desc {
  font-size: .95rem;
  color: var(--muted);
  margin: 8px 0 0;
}

.trabalho__media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
}

/* Logo centralizado */
.logo-box {
  background: var(--card);
  border: 1px solid #f1d2cb;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
}
.logo-box img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

/* Mockup Sketchfab */
.sfb-box {
  background: transparent;
  border: none;
  aspect-ratio: 16 / 9;
}
.sfb-box iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: transparent;
}
.instagram-section {
  display: flex;
  flex-wrap: wrap;        /* quebra no mobile */
  gap: 150px;              /* espaço entre texto e vídeo */
  align-items: center; /* alinha pelo topo */
}

.instagram-texto {
  flex: 1 1 300px;         /* ocupa pelo menos 300px, cresce se puder */
}
.instagram-texto p {
    width: 550px;
}
.instagram-video iframe { 
  border-radius: 14px;
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;    /* mantém proporção de Reels */
}

/* ===== Skin & Body Organic ===== */
.skin-body__wrap {
  width: min(1100px, 92vw);
  margin: 0 auto;
  padding-top: 24px;
}
.skin-body__wrap p {
  text-align: center;
}
.section-subtitle {
  font-size: .95rem;
  color: var(--muted);
  margin-bottom: 20px;
}

.produtos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 18px;
}

.produto {
  background: var(--card-white);
  border: 1px solid #f1d2cb;
  border-radius: var(--radius);
  overflow: hidden;
  display: grid;
  grid-template-rows: auto auto;
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
  transition: transform .18s ease, box-shadow .18s ease;
}
.produto img {
  width: 100%;
  aspect-ratio: 3 / 4; /* mais próximo de rótulo vertical */
  object-fit: cover;
}
.produto__nome {
  padding: 8px;
  text-align: center;
  font-size: .95rem;
  font-weight: 700;
  color: var(--ink);
}
.produto__nome small {
  display: block;
  font-weight: 500;
  color: var(--muted);
  font-size: .82rem;
}
.produto:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.12);
}

.campanhas__wrap{
  width: min(1100px, 92vw);
  margin: 0 auto;
  padding: clamp(24px, 4vw, 40px) 0;
  display: grid;
  grid-template-columns: 1fr 420px; /* texto | imagens */
  gap: 24px;
  align-items: start;
}

.campanhas__texto{
  background: #fff;
  border: 1px solid #f1d2cb;
  border-radius: 18px;
  padding: clamp(16px, 3vw, 24px);
  box-shadow: 0 8px 24px rgba(0,0,0,.06);
}

.campanhas__texto .section-main-title{
  margin: 0 0 10px;
  font-size: clamp(1.1rem, 2.2vw, 1.4rem);
  color: var(--brand);
  text-transform: uppercase;
  font-weight: 800;
}

.campanhas__texto p{
  margin: 0 0 12px;
  color: var(--ink);
  line-height: 1.6;
  font-size: 1rem;
}

.campanhas__texto ul{
  margin: 0 0 14px 18px;
  padding: 0;
  color: var(--ink);
  line-height: 1.6;
}
.campanhas__texto li{ margin: 4px 0; }

/* Coluna de imagens */
.campanhas__imagens{
  display: grid;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.campanhas__imagens img{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
  border: 1px solid #f1d2cb;
  object-fit: cover;
  aspect-ratio: 16 / 10; /* ajuste a seu gosto */
}
/* mesma largura das outras seções centrais (ex.: trabalhos__wrap, rodape) */
.final__wrap{
  width: min(1100px, 92vw);
  margin: 40px auto;                 /* centraliza */
  background: linear-gradient(135deg, #ffe6df, #fff7f3);
  border: 1px solid #ffd0c5;
  border-radius: 24px;
  padding: clamp(24px, 3.5vw, 36px);
  text-align: center;
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
}

.final__wrap h2{
  margin: 0 0 12px;
  font-size: clamp(1.4rem, 4vw, 1.8rem);
  color: var(--brand);
  font-weight: 800;
}

.final__wrap p{
  margin: 0 0 20px;
  color: var(--muted);
  font-size: clamp(1rem, 2.6vw, 1.1rem);
  line-height: 1.5;
}

.final__botoes{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.final__botoes .btn{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--brand);
  color: var(--brand-ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 6px 18px rgba(240,93,73,.25);
  transition: transform .15s ease, box-shadow .15s ease;
}

.final__botoes .btn:hover{
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(240,93,73,.35);
}

@media (max-width: 480px){
  .final__botoes .btn{ flex: 1 1 100%; justify-content: center; }
}


/* ===== Rodapé ===== */
.rodape{
  width: min(1100px, 92vw);
  margin: 24px auto 26px;
  text-align: center;
  color: var(--muted);
  font-size: .95rem;
}