/*
Theme Name: Andreia Isabella
Theme URI: https://andreiamotiondesigner.com/
Author: Andréia Rodrigues
Author URI: https://andreiamotiondesigner.com/
Description: Tema de portfólio para Andréia Rodrigues, baseado no wireframe de referência estilo Isabella: fundo branco, cores contrastantes (ameixa, rosa e amarelo pálido), portfólio em quadradinhos e CTA "Vamos conversar?". Textos em pt-BR, alinhados à bio e ao posicionamento "identidade visual para quem está começando do zero".
Version: 1.1.4
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: andreia-isabella
Tags: portfolio, white, pink, purple, grid, custom-logo, custom-menu, featured-images
*/

/* ============================================================
   Andreia Isabella — paleta exata da Page 2 do Figma "frutas"
   (amostrada dos pixels renderizados do canvas)
   --plum:    #500043  roxo escuro / ameixa
   --pink:    #FDB8FF  rosa claro
   --pink-mid:#A75CA1  malva
   --lavender:#D1ABFF  lavanda
   --yellow:  #FEFFB0  amarelo pálido
   --cream:   #F9D6FA  rosa claríssimo
   --bg:      #FFFFFF  branco
   --ink:     #1A1A1A  quase preto
   ============================================================ */

:root {
  --plum: #500043;
  --pink: #FDB8FF;
  --pink-mid: #A75CA1;
  --lavender: #D1ABFF;
  --yellow: #FEFFB0;
  --cream: #F9D6FA;
  --bg: #FFFFFF;
  --ink: #1A1A1A;
  --muted: #5b5b5b;
  --radius: 18px;
  --max: 1180px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-optical-sizing: auto;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--plum); }
a:hover { color: var(--pink-mid); }

h1, h2, h3 {
  font-family: "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  text-transform: uppercase;
}

.serif-accent {
  font-family: "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  font-style: italic;
  font-weight: 800;
  text-transform: none;
  letter-spacing: 0;
  color: var(--plum);
}

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  font-size: 13px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--plum);
}
.eyebrow::before { content: "01 / "; color: var(--pink-mid); }

/* ---------- Header / nav ---------- */
.site-header {
  background: var(--bg);
  border-bottom: 1px solid #f0e6ee;
  position: sticky; top: 0; z-index: 50;
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 16px; padding-bottom: 16px; gap: 16px;
}
.site-logo {
  font-weight: 900; font-size: 22px; letter-spacing: 0.04em;
  color: var(--ink); text-decoration: none; text-transform: uppercase;
}
.site-logo span { color: var(--plum); }
.site-logo--image { display: flex; align-items: center; }
.site-logo-img { height: 52px; width: auto; display: block; }
.custom-logo { height: 52px; width: auto; display: block; }
.main-nav ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; gap: 28px; flex-wrap: wrap;
}
.main-nav a {
  color: var(--ink); text-decoration: none;
  font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
}
.main-nav a:hover { color: var(--plum); text-decoration: underline; text-decoration-color: var(--pink); text-decoration-thickness: 3px; }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 48px; position: relative; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(40px, 6vw, 76px); }
.hero h1 .serif-accent { display: block; font-size: 1.15em; }
.hero-headline {
  font-size: clamp(20px, 2.6vw, 30px); font-weight: 800; line-height: 1.15;
  text-transform: uppercase; margin: 8px 0 16px; color: var(--ink);
}
.hero-headline em {
  font-family: "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", Arial, sans-serif; font-style: italic; font-weight: 800;
  text-transform: none; color: var(--plum);
}
.hero-sub { font-size: 19px; color: var(--muted); margin: 0 0 16px; }
.hero-sub strong { color: var(--plum); }
.hero-intro { max-width: 560px; }
.hero-photo {
  aspect-ratio: 4 / 5; border-radius: 24px;
  background: linear-gradient(135deg, var(--pink) 0%, var(--lavender) 100%);
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 24px; position: relative; overflow: visible;
  box-shadow: 8px 8px 0 var(--yellow);
}
.hero-photo .flower { font-size: 96px; line-height: 1; color: var(--plum); }
.hero-photo p { font-weight: 800; text-transform: uppercase; color: var(--plum); margin: 12px 0 0; }
/* Foto da Andréia no hero (assets/photo-hero.png): tamanho médio dentro do quadrado. */
.hero-photo-img {
  width: 72%; max-width: 340px; height: auto; display: block;
}
/* Selo circular (assets/stamp.png): pequeno, no cantinho inferior da foto do hero. */
.hero-stamp {
  position: absolute; left: -16px; bottom: -16px; z-index: 2;
  width: 72px; height: 72px; border-radius: 50%;
  background: #fff; box-shadow: 0 8px 20px rgba(80, 0, 67, 0.25);
}
.btn {
  display: inline-block; background: var(--plum); color: #fff;
  padding: 14px 26px; border-radius: 999px; text-decoration: none;
  font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; font-size: 14px;
  border: 2px solid var(--plum);
}
.btn:hover { background: var(--pink-mid); border-color: var(--pink-mid); color: #fff; }
.btn-light { background: #fff; color: var(--plum); border-color: #fff; }
.btn-light:hover { background: var(--yellow); border-color: var(--yellow); color: var(--plum); }
.hero-cta { margin-top: 24px; display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }

/* ---------- Sections ---------- */
.section { padding: 64px 0; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 28px; }
.section-head h2 { font-size: clamp(28px, 4vw, 46px); margin: 0; }
.section-head h2 .serif-accent { font-size: 0.9em; }
.section-head p { color: var(--muted); margin: 0; max-width: 420px; }

/* ---------- Portfolio grid: square tiles ---------- */
.work-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  list-style: none; margin: 0; padding: 0;
}
.work-tile {
  position: relative; aspect-ratio: 1 / 1; border-radius: var(--radius);
  overflow: hidden; display: block; padding: 0; text-decoration: none; color: #fff;
  background: var(--plum);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.work-tile:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(80, 0, 67, 0.18); }
.work-tile:hover .tile-img { transform: scale(1.05); }
.tile-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  transition: transform 0.35s ease;
}
.tile-caption {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 44px 20px 20px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0) 100%);
  color: #fff;
}
.work-tile h3 { font-size: 21px; margin: 0; text-transform: uppercase; color: #fff; }
.work-tile p { margin: 6px 0 0; font-size: 14px; color: rgba(255, 255, 255, 0.9); }
.work-tile .tile-tag {
  position: absolute; top: 16px; left: 16px; z-index: 2;
  background: rgba(255, 255, 255, 0.9); color: var(--plum);
  font-size: 11px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 6px 10px; border-radius: 999px;
}

/* ---------- About ---------- */
.about { background: var(--cream); border-radius: 28px; }
.about .wrap { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 40px; align-items: center; }
.about h2 { font-size: clamp(28px, 4vw, 44px); }
/* Foto da Andréia (assets/photo-about.png): polaroid — moldura branca,
   mais grossa embaixo, sombra suave e leve rotação. */
.about-photo {
  margin: 0; background: #fff; padding: 14px 14px 48px;
  box-shadow: 0 10px 28px rgba(80, 0, 67, 0.22);
  transform: rotate(-2deg);
}
.about-photo img { width: 100%; height: auto; display: block; }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.service-card {
  border: 2px solid var(--pink); border-radius: var(--radius); padding: 28px;
  background: #fff;
}
.service-card:nth-child(2) { border-color: var(--plum); background: var(--yellow); }
.service-card h3 { font-size: 22px; color: var(--plum); }
.service-card p { margin: 0; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--pink); border-radius: 28px;
  padding: 56px 40px; text-align: left;
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
.cta-band h2 { font-size: clamp(30px, 4.5vw, 52px); margin: 0; }
.cta-band h2 .serif-accent { display: block; }
.cta-band .cta-actions { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid #f0e6ee; padding: 28px 0 40px; color: var(--muted); font-size: 14px; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; }
.site-footer a { color: var(--plum); }
.footer-copy { display: flex; align-items: center; gap: 10px; }
.footer-stamp { width: 40px; height: 40px; border-radius: 50%; background: #fff; flex: none; }

/* ---------- Blog / default loop ---------- */
.post-card { border-bottom: 1px solid #f0e6ee; padding: 28px 0; }
.post-card h2 a { color: var(--ink); text-decoration: none; }
.post-card h2 a:hover { color: var(--plum); }
.post-card-img { border-radius: var(--radius); margin-bottom: 20px; }

/* ---------- Projetos: arquivo e página individual ---------- */
.archive-back { margin-top: 32px; }
.single-projeto { padding: 64px 0; }
.single-projeto h1 { font-size: clamp(30px, 4.5vw, 52px); }
.single-projeto-image { margin: 28px 0; }
.single-projeto-image img { width: 100%; border-radius: var(--radius); }
.single-projeto-content { max-width: 720px; }
.single-projeto-nav { margin-top: 40px; display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }

/* ---------- Página não encontrada (404) ---------- */
.not-found { text-align: left; }
.not-found h1 { font-size: clamp(32px, 5vw, 56px); }
.not-found p { max-width: 560px; }
.not-found-actions { margin-top: 28px; display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero .wrap, .about .wrap { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-photo { aspect-ratio: 16 / 9; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .work-grid, .services-grid { grid-template-columns: 1fr; }
  .section { padding: 44px 0; }
  .cta-band { padding: 36px 24px; }
  .main-nav ul { gap: 16px; }
  .hero-stamp { width: 56px; height: 56px; left: -8px; bottom: -8px; }
  .footer-stamp { width: 32px; height: 32px; }
}
