/* ============================================
   Isabella de Paula · Portfólio
   styles.css — completo
   ============================================ */

:root {
  --bg:           #FAF6F2;
  --bg-2:         #F7F1EC;
  --rose:         #E8A5B8;
  --rose-2:       #EFB4C4;
  --rose-deep:    #D4849A;
  --gold:         #E6C9A8;
  --ink:          #2B2422;
  --ink-soft:     #4A3F3B;
  --muted:        #8C7E78;

  --font-serif:   'Fraunces', 'Playfair Display', Georgia, serif;
  --font-sans:    'Inter', 'Manrope', system-ui, -apple-system, sans-serif;

  --radius-sm:    10px;
  --radius-md:    18px;
  --radius-lg:    32px;

  --shadow-soft:  0 30px 60px -30px rgba(43, 36, 34, 0.18);
  --shadow-rose:  0 30px 80px -40px rgba(212, 132, 154, 0.55);

  --ease:         cubic-bezier(0.6, 0.05, 0.2, 1);
  --container:    1280px;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { font-size: 16px; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.55;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
em { font-style: italic; color: var(--rose-deep); font-weight: 400; }

/* ---------- Cursor customizado ---------- */
.cursor, .cursor-dot {
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9999;
  transform: translate3d(-100px, -100px, 0);
  will-change: transform;
}
.cursor {
  width: 36px; height: 36px;
  border: 1.5px solid var(--rose-deep);
  border-radius: 50%;
  transition: width 0.25s var(--ease), height 0.25s var(--ease), background 0.25s var(--ease);
  margin-left: -18px; margin-top: -18px;
}
.cursor-dot {
  width: 6px; height: 6px;
  background: var(--rose-deep); border-radius: 50%;
  margin-left: -3px; margin-top: -3px;
}
.cursor.is-hover {
  width: 60px; height: 60px;
  background: rgba(232, 165, 184, 0.18);
  margin-left: -30px; margin-top: -30px;
}
@media (hover: none), (max-width: 900px) {
  .cursor, .cursor-dot { display: none; }
}

/* ---------- Utilitários ---------- */
.container {
  width: 100%; max-width: var(--container);
  padding: 0 clamp(20px, 5vw, 64px);
  margin: 0 auto;
}
.eyebrow, .hero__eyebrow {
  font-family: var(--font-sans);
  font-size: 0.78rem; letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rose-deep); font-weight: 500;
  margin: 0 0 1.2rem;
}
.section { padding: clamp(80px, 12vh, 160px) 0; position: relative; }
.section__title {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(2rem, 5vw, 3.6rem);
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.5em;
  padding: 0.95em 1.8em; border-radius: 999px;
  font-size: 0.92rem; font-weight: 500; letter-spacing: 0.04em;
  transition: transform 0.4s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease), box-shadow 0.4s var(--ease);
  border: 1px solid transparent; white-space: nowrap;
}
.btn--primary { background: var(--rose); color: #fff; box-shadow: var(--shadow-rose); }
.btn--primary:hover { background: var(--rose-deep); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: rgba(43, 36, 34, 0.18); }
.btn--ghost:hover { border-color: var(--ink); transform: translateY(-2px); }

/* ---------- Navbar ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.3rem clamp(20px, 5vw, 64px);
  transition: background 0.4s var(--ease), backdrop-filter 0.4s var(--ease), padding 0.4s var(--ease);
}
.nav.is-scrolled {
  background: rgba(250, 246, 242, 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.9rem clamp(20px, 5vw, 64px);
}
.nav__brand { font-family: var(--font-serif); font-size: 1.35rem; font-weight: 500; letter-spacing: -0.01em; }
.nav__brand span { color: var(--rose-deep); }
.nav__links { display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 2.2rem); font-size: 0.92rem; }
.nav__links a { position: relative; transition: color 0.25s var(--ease); }
.nav__links a:not(.nav__cta)::after {
  content: ''; position: absolute; left: 0; bottom: -4px;
  width: 0; height: 1px; background: var(--rose-deep);
  transition: width 0.35s var(--ease);
}
.nav__links a:hover::after { width: 100%; }
.nav__cta {
  background: var(--ink); color: var(--bg);
  padding: 0.65em 1.4em; border-radius: 999px;
  transition: background 0.3s var(--ease);
}
.nav__cta:hover { background: var(--rose-deep); }
@media (max-width: 720px) {
  .nav__links a:not(.nav__cta) { display: none; }
}

/* ============================================ HERO ============================================ */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  padding: 140px clamp(20px, 5vw, 64px) 80px;
  overflow: hidden;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(232, 165, 184, 0.12), transparent 70%), var(--bg);
}
.hero__inner {
  position: relative; z-index: 2; width: 100%;
  max-width: var(--container); margin: 0 auto;
  display: grid; grid-template-columns: 1.2fr 1fr;
  align-items: center; gap: clamp(2rem, 5vw, 5rem);
}
@media (max-width: 900px) { .hero__inner { grid-template-columns: 1fr; text-align: left; } }

/* Blobs decorativos */
.blob {
  position: absolute; border-radius: 50%;
  filter: blur(60px); opacity: 0.55;
  z-index: 1; pointer-events: none; will-change: transform;
}
.blob--1 { width: 520px; height: 520px; background: var(--rose); top: -120px; right: -120px; }
.blob--2 { width: 380px; height: 380px; background: var(--gold); bottom: -100px; left: -80px; opacity: 0.4; }
.blob--3 { width: 280px; height: 280px; background: var(--rose-2); top: 40%; left: 35%; opacity: 0.35; }
.blob--contact { width: 460px; height: 460px; background: var(--rose-2); top: -100px; right: -120px; opacity: 0.45; }

.hero__title {
  font-family: var(--font-serif); font-weight: 300;
  font-size: clamp(3.2rem, 9vw, 8rem);
  line-height: 0.95; letter-spacing: -0.035em;
  margin: 0 0 1.8rem; color: var(--ink);
}
.hero__title .line { display: block; overflow: hidden; }
.hero__title .line > span { display: inline-block; transform: translateY(110%); will-change: transform; }
.hero__title .line--italic { font-style: italic; font-weight: 400; color: var(--rose-deep); padding-left: clamp(2rem, 8vw, 6rem); }

.hero__sub {
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  color: var(--ink-soft); max-width: 480px;
  margin: 0 0 2.4rem; line-height: 1.65;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.9rem; }

.hero__photo {
  position: relative; justify-self: end;
  width: 100%; max-width: 460px;
  aspect-ratio: 4 / 5; will-change: transform;
}
@media (max-width: 900px) { .hero__photo { justify-self: start; max-width: 320px; margin-top: 2rem; } }
.hero__photo-frame {
  position: relative; width: 100%; height: 100%;
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: linear-gradient(135deg, var(--rose-2), var(--gold));
}
.hero__photo-frame img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.hero__photo-tag {
  position: absolute; bottom: -14px; left: -14px;
  background: var(--ink); color: var(--bg);
  font-family: var(--font-serif); font-style: italic;
  font-size: 0.85rem; padding: 0.55em 1.2em;
  border-radius: 999px; letter-spacing: 0.04em;
}

.hero__scroll-hint {
  position: absolute; bottom: 32px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.7rem;
  font-size: 0.72rem; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--muted); z-index: 3;
}
.hero__scroll-line {
  width: 1px; height: 50px; position: relative; overflow: hidden;
  background: linear-gradient(to bottom, var(--rose-deep), transparent);
}
.hero__scroll-line::after {
  content: ''; position: absolute; top: -20px; left: 0;
  width: 100%; height: 20px; background: var(--rose-deep);
  animation: scroll-down 2s var(--ease) infinite;
}
@keyframes scroll-down { 0% { transform: translateY(0); } 100% { transform: translateY(70px); } }

/* Reveal */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: translateY(0); }

/* ============================================ SOBRE ============================================ */
.about { background: var(--bg); }
.about__grid {
  display: grid; grid-template-columns: 1fr 1.2fr;
  gap: clamp(2.5rem, 6vw, 6rem); align-items: center;
}
@media (max-width: 900px) { .about__grid { grid-template-columns: 1fr; } }

.about__media {
  position: relative; aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-soft); will-change: transform;
}
.about__media img { width: 100%; height: 100%; object-fit: cover; }
.about__media-deco {
  position: absolute; inset: auto -40px -40px auto;
  width: 180px; height: 180px;
  border-radius: 50%; background: var(--rose);
  opacity: 0.35; filter: blur(40px); z-index: -1;
}

.about__title { margin-bottom: 1.5rem; white-space: pre-line; }
.about__bio {
  font-size: 1.05rem; color: var(--ink-soft);
  max-width: 540px; line-height: 1.75; margin: 0 0 2.5rem;
}

.about__stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem; padding-top: 2rem;
  border-top: 1px solid rgba(43, 36, 34, 0.1);
}
@media (max-width: 560px) { .about__stats { grid-template-columns: 1fr; } }
.about__stat-value {
  display: block; font-family: var(--font-serif);
  font-size: 2.2rem; font-weight: 400; color: var(--rose-deep);
  letter-spacing: -0.02em; line-height: 1;
}
.about__stat-label {
  display: block; font-size: 0.82rem; color: var(--muted);
  letter-spacing: 0.04em; margin-top: 0.5rem; line-height: 1.4;
}

/* ============================================ SERVIÇOS (sticky horizontal) ============================================ */
.services { background: var(--bg-2); position: relative; }
.services__sticky {
  position: relative;
  padding: clamp(80px, 12vh, 160px) 0 clamp(80px, 12vh, 140px);
}
.services__head { margin-bottom: 4rem; max-width: 760px; }
.services__lead { margin-top: 1.2rem; color: var(--ink-soft); font-size: 1.05rem; max-width: 560px; }

.services__track {
  display: flex; gap: 1.5rem;
  padding: 0 clamp(20px, 5vw, 64px);
  will-change: transform;
}
.service-card {
  flex: 0 0 clamp(280px, 32vw, 380px);
  background: var(--bg);
  border-radius: var(--radius-md);
  padding: 2.2rem 1.8rem;
  box-shadow: var(--shadow-soft);
  display: flex; flex-direction: column;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
  border: 1px solid rgba(43, 36, 34, 0.04);
  min-height: 320px;
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 40px 80px -40px rgba(212, 132, 154, 0.4); }
.service-card__icon {
  font-family: var(--font-serif); font-size: 2.2rem;
  color: var(--rose-deep); margin-bottom: 1.4rem;
}
.service-card__category {
  font-size: 0.72rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--muted);
  margin-bottom: 0.8rem;
}
.service-card__title {
  font-family: var(--font-serif); font-size: 1.5rem;
  font-weight: 400; margin: 0 0 0.9rem;
  letter-spacing: -0.01em; line-height: 1.15;
}
.service-card__desc { color: var(--ink-soft); font-size: 0.95rem; line-height: 1.6; margin: 0; }

.services__progress {
  margin: 3rem clamp(20px, 5vw, 64px) 0;
  height: 2px; background: rgba(43, 36, 34, 0.08); border-radius: 2px;
}
.services__progress-bar { height: 100%; width: 0%; background: var(--rose-deep); border-radius: 2px; transition: width 0.1s linear; }

@media (max-width: 720px) {
  .services__track { flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
  .service-card { scroll-snap-align: start; }
  .services__progress { display: none; }
}

/* ============================================ PORTFÓLIO ============================================ */
.portfolio { background: var(--bg); }
.portfolio__head { margin-bottom: 4rem; max-width: 760px; }

.portfolio__grid {
  display: grid; grid-template-columns: repeat(12, 1fr);
  gap: 1.5rem;
}
.portfolio-card {
  position: relative; cursor: pointer;
  border-radius: var(--radius-md); overflow: hidden;
  background: linear-gradient(135deg, var(--rose-2), var(--gold));
  aspect-ratio: 4 / 5;
  will-change: transform;
  transition: transform 0.6s var(--ease);
}
.portfolio-card:nth-child(4n + 1) { grid-column: span 7; aspect-ratio: 16 / 11; }
.portfolio-card:nth-child(4n + 2) { grid-column: span 5; }
.portfolio-card:nth-child(4n + 3) { grid-column: span 5; }
.portfolio-card:nth-child(4n + 4) { grid-column: span 7; aspect-ratio: 16 / 11; }
@media (max-width: 900px) {
  .portfolio-card,
  .portfolio-card:nth-child(4n + 1),
  .portfolio-card:nth-child(4n + 2),
  .portfolio-card:nth-child(4n + 3),
  .portfolio-card:nth-child(4n + 4) { grid-column: span 12; aspect-ratio: 4 / 3; }
}
.portfolio-card__media { position: absolute; inset: 0; will-change: transform; }
.portfolio-card__media img,
.portfolio-card__media .video-placeholder {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.portfolio-card__media .video-placeholder {
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #2B2422, #4A3F3B);
  color: var(--bg-2); font-family: var(--font-serif);
  font-style: italic; font-size: 1.05rem; gap: 0.5rem;
}
.portfolio-card__media .video-placeholder::before {
  content: '▶'; font-size: 1.2rem; color: var(--rose-2);
}
.portfolio-card__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(43, 36, 34, 0.78), transparent 55%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1.8rem; color: var(--bg-2);
  opacity: 0; transition: opacity 0.4s var(--ease);
}
.portfolio-card:hover .portfolio-card__overlay { opacity: 1; }
.portfolio-card:hover { transform: translateY(-4px); }
.portfolio-card__cat {
  font-size: 0.72rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--rose-2);
  margin-bottom: 0.5rem;
}
.portfolio-card__title {
  font-family: var(--font-serif); font-size: 1.4rem;
  font-weight: 400; margin: 0; letter-spacing: -0.01em; line-height: 1.2;
}

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(43, 36, 34, 0.85);
  backdrop-filter: blur(12px);
  display: none; align-items: center; justify-content: center;
  padding: clamp(20px, 5vw, 60px);
  opacity: 0; transition: opacity 0.35s var(--ease);
}
.lightbox.is-open { display: flex; opacity: 1; }
.lightbox__inner {
  display: grid; grid-template-columns: 1.4fr 1fr;
  gap: 2rem; max-width: 1100px; width: 100%;
  background: var(--bg); border-radius: var(--radius-md);
  overflow: hidden; max-height: 88vh;
}
@media (max-width: 800px) { .lightbox__inner { grid-template-columns: 1fr; max-height: 92vh; overflow-y: auto; } }
.lightbox__media { background: #000; aspect-ratio: 16 / 10; position: relative; }
.lightbox__media img,
.lightbox__media iframe { width: 100%; height: 100%; object-fit: cover; border: 0; display: block; }
.lightbox__info { padding: 2.5rem; display: flex; flex-direction: column; justify-content: center; }
.lightbox__category {
  font-size: 0.72rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--rose-deep); margin: 0 0 0.8rem;
}
.lightbox__title { font-family: var(--font-serif); font-size: 2rem; font-weight: 400; margin: 0 0 1rem; line-height: 1.15; }
.lightbox__description { color: var(--ink-soft); line-height: 1.7; margin: 0; }
.lightbox__close {
  position: absolute; top: 24px; right: 24px;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--bg); color: var(--ink);
  border: 0; font-size: 1.6rem; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-soft); transition: transform 0.3s var(--ease);
}
.lightbox__close:hover { transform: rotate(90deg); }

/* ============================================ DEPOIMENTOS ============================================ */
.testimonials { background: var(--bg-2); }
.testimonials__carousel {
  position: relative; margin-top: 4rem;
  display: grid; grid-template-columns: auto 1fr auto;
  gap: 1.5rem; align-items: center;
}
.testimonials__viewport { overflow: hidden; }
.testimonials__track { display: flex; transition: transform 0.7s var(--ease); }
.testimonial-card {
  flex: 0 0 100%;
  padding: 0 clamp(0.5rem, 3vw, 2rem);
  text-align: center;
}
.testimonial-card__quote {
  font-family: var(--font-serif); font-style: italic;
  font-size: clamp(1.2rem, 2.4vw, 1.7rem);
  font-weight: 300; line-height: 1.45;
  color: var(--ink); margin: 0 auto 2rem;
  max-width: 720px; letter-spacing: -0.01em;
  position: relative;
}
.testimonial-card__quote::before {
  content: '“'; display: block;
  font-size: 4rem; color: var(--rose-deep); line-height: 0.5;
  margin-bottom: 1rem;
}
.testimonial-card__author { font-weight: 500; color: var(--ink); margin: 0; font-size: 1rem; }
.testimonial-card__role { font-size: 0.85rem; color: var(--muted); margin: 0.3rem 0 0; letter-spacing: 0.03em; }

.testimonials__btn {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--bg); color: var(--ink); border: 0;
  font-size: 1.4rem; box-shadow: var(--shadow-soft);
  transition: background 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease);
}
.testimonials__btn:hover { background: var(--rose-deep); color: #fff; transform: scale(1.08); }

.testimonials__dots {
  display: flex; justify-content: center; gap: 0.5rem;
  margin-top: 2.5rem;
}
.testimonials__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(43, 36, 34, 0.18);
  border: 0; padding: 0; transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}
.testimonials__dot.is-active { background: var(--rose-deep); transform: scale(1.4); }

/* ============================================ CONTATO ============================================ */
.contact { background: var(--bg); position: relative; overflow: hidden; padding-bottom: clamp(80px, 12vh, 140px); }
.contact__grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem); align-items: start;
  padding-top: clamp(80px, 12vh, 160px);
  position: relative; z-index: 2;
}
@media (max-width: 900px) { .contact__grid { grid-template-columns: 1fr; } }

.contact__sub {
  color: var(--ink-soft); font-size: 1.05rem;
  max-width: 460px; margin: 1.5rem 0 2.5rem;
}
.section__title[data-contact-title] { white-space: pre-line; }

.contact__channels { display: flex; flex-direction: column; gap: 0.5rem; }
.contact__channel {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.1rem 0; border-bottom: 1px solid rgba(43, 36, 34, 0.1);
  transition: padding 0.35s var(--ease), border-color 0.35s var(--ease);
}
.contact__channel:hover { padding-left: 0.8rem; border-color: var(--rose-deep); }
.contact__channel-label {
  font-size: 0.78rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--muted);
}
.contact__channel-value { font-family: var(--font-serif); font-size: 1.1rem; }

.contact__form {
  background: var(--bg-2); padding: clamp(1.8rem, 3vw, 2.6rem);
  border-radius: var(--radius-md);
  display: flex; flex-direction: column; gap: 1.2rem;
  box-shadow: var(--shadow-soft);
}
.field { display: flex; flex-direction: column; gap: 0.5rem; }
.field span { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.field input, .field textarea {
  font-family: inherit; font-size: 1rem; color: var(--ink);
  padding: 0.85rem 1rem; border-radius: var(--radius-sm);
  background: var(--bg); border: 1px solid rgba(43, 36, 34, 0.12);
  outline: none; transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
  resize: vertical;
}
.field input:focus, .field textarea:focus {
  border-color: var(--rose-deep);
  box-shadow: 0 0 0 4px rgba(232, 165, 184, 0.18);
}
.contact__form button { align-self: flex-start; margin-top: 0.4rem; }
.contact__form-note { font-size: 0.78rem; color: var(--muted); margin: 0; }

/* ============================================ FOOTER ============================================ */
.footer {
  padding: 3rem clamp(20px, 5vw, 64px);
  text-align: center; color: var(--muted); font-size: 0.85rem;
  border-top: 1px solid rgba(43, 36, 34, 0.08);
  display: flex; flex-direction: column; gap: 0.4rem;
}
.footer a { color: var(--muted); opacity: 0.6; transition: opacity 0.25s var(--ease); }
.footer a:hover { opacity: 1; color: var(--rose-deep); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  .hero__title .line > span { transform: none !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}
