/* ============================================================
   Phinix — style.css
   ============================================================ */
:root {
  --pink: #e4507b;
  --pink-dark: #c93a65;
  --pink-soft: #fde4ec;
  --pink-line: #f6d3de;
  --ink: #1a0b12;
  --text: #4b3a42;
  --muted: #8a7880;
  --bg: #fffafc;
  --tint: #fdf2f6;
  --white: #ffffff;
  --radius: 22px;
  --shadow: 0 20px 50px -20px rgba(201, 58, 101, .25);
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'DM Sans', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { font-family: var(--sans); color: var(--text); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; border: 0; background: none; }

.container { width: min(1200px, 100% - 40px); margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 16px 32px; border-radius: 999px; font-weight: 700; font-size: 16px;
  transition: transform .25s, box-shadow .25s, background .25s, color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--pink); color: #fff; box-shadow: 0 12px 28px -10px rgba(228, 80, 123, .7); }
.btn--primary:hover { background: var(--pink-dark); }
.btn--outline { border: 2px solid var(--pink); color: var(--pink); background: transparent; }
.btn--outline:hover { background: var(--pink); color: #fff; }
.btn--soft { background: var(--pink-soft); color: var(--pink); }
.btn--soft:hover { background: var(--pink); color: #fff; }
.btn--sm { padding: 11px 26px; font-size: 15px; }
.btn--block { width: 100%; }
.btn.is-loading { opacity: .7; pointer-events: none; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .85); backdrop-filter: blur(14px);
  border-bottom: 1px solid #f4e6eb; transition: box-shadow .3s;
}
.header.is-scrolled { box-shadow: 0 8px 30px -18px rgba(0, 0, 0, .2); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 78px; gap: 24px; }

.logo { font-family: var(--serif); font-weight: 800; font-size: 28px; color: var(--pink); letter-spacing: -.5px; }
.logo span { color: var(--ink); }
.logo--light span { color: #fff; }

.nav { display: flex; gap: 32px; }
.nav a { font-weight: 500; font-size: 15px; color: var(--text); position: relative; padding: 4px 0; }
.nav a::after { content: ''; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px; background: var(--pink); transition: width .3s; }
.nav a:hover, .nav a.is-active { color: var(--pink); }
.nav a:hover::after, .nav a.is-active::after { width: 100%; }

.header__actions { display: flex; align-items: center; gap: 14px; }
.lang { display: flex; gap: 8px; }
.lang__btn { width: 44px; height: 28px; border-radius: 999px; border: 1px solid var(--pink-line); font-size: 12px; font-weight: 700; color: var(--ink); transition: .2s; }
.lang__btn:hover { border-color: var(--pink); }
.lang__btn.is-active { background: var(--pink); border-color: var(--pink); color: #fff; }

.burger { display: none; width: 40px; height: 40px; flex-direction: column; justify-content: center; gap: 5px; align-items: center; }
.burger span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s; }
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; padding: 64px 0 100px;
  background:
    radial-gradient(800px 500px at 85% 20%, #fbd9e5 0%, transparent 60%),
    radial-gradient(600px 400px at 10% 90%, #fde7ee 0%, transparent 60%),
    linear-gradient(180deg, #fff7fa 0%, #fdeef3 100%);
}
/* Coloque a sua imagem da fénix em img/phoenix.png — fica como marca d'água */
.hero__bg {
  position: absolute; left: 22%; top: 50%; width: 520px; height: 520px; transform: translate(-50%, -50%);
  background: url('img/phoenix.png') center/contain no-repeat; opacity: .08; pointer-events: none;
}
.hero__inner { position: relative; display: grid; grid-template-columns: 1.15fr 1fr; gap: 60px; align-items: center; }

.badge {
  display: inline-flex; gap: 8px; align-items: center; padding: 7px 16px; border-radius: 999px;
  border: 1px solid #f2b7c9; background: rgba(255, 255, 255, .6);
  color: var(--pink-dark); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
}
.hero__title {
  font-family: var(--serif); font-weight: 900; color: var(--ink);
  font-size: clamp(42px, 6.2vw, 80px); line-height: 1.02; letter-spacing: -1.5px; margin: 28px 0 26px;
}
.hero__title span, .hero__title em { display: block; }
.hero__title em { color: var(--pink); font-style: italic; font-weight: 800; }
.hero__sub { font-size: 18px; max-width: 500px; color: var(--text); line-height: 1.7; }
.hero__btns { display: flex; gap: 16px; margin-top: 40px; flex-wrap: wrap; }

.hero__visual { position: relative; padding: 50px 0; }
.agency-card { background: #fff; border-radius: 26px; padding: 32px; box-shadow: var(--shadow); max-width: 450px; margin-left: auto; }
.agency-card__head { display: flex; align-items: center; gap: 16px; padding-bottom: 22px; border-bottom: 1px solid #f4e6eb; margin-bottom: 24px; }
.agency-card__head strong { display: block; color: var(--ink); font-size: 16px; }
.agency-card__head small { color: var(--pink); font-size: 13px; }
.agency-card__logo {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--pink), var(--pink-dark)); color: #fff; font-family: var(--serif); font-weight: 800; font-size: 20px;
}
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat { border: 1px solid #f6e5eb; border-radius: 16px; padding: 22px 12px; text-align: center; background: #fffcfd; transition: transform .3s; }
.stat:hover { transform: translateY(-4px); }
.stat b { display: block; font-family: var(--serif); font-size: 32px; color: var(--pink); font-weight: 700; line-height: 1.1; }
.stat span { font-size: 12px; color: var(--muted); letter-spacing: .02em; }

.float {
  position: absolute; display: flex; align-items: center; gap: 14px; background: #fff;
  border-radius: 16px; padding: 16px 22px; box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .18); z-index: 2;
  animation: floaty 5s ease-in-out infinite;
}
.float strong { display: block; color: var(--ink); font-size: 14px; }
.float small { color: var(--muted); font-size: 12px; }
.float__icon { font-size: 24px; }
.float--top { top: 0; right: -20px; }
.float--bottom { bottom: 10px; left: -10px; animation-delay: -2.5s; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- Sections ---------- */
.section { padding: 110px 0; }
.section--tint { background: var(--tint); }
.section__head { text-align: center; max-width: 680px; margin: 0 auto 60px; }
.eyebrow { display: inline-block; color: var(--pink); font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 12px; }
.section__title { font-family: var(--serif); font-size: clamp(32px, 4vw, 50px); line-height: 1.12; color: var(--ink); font-weight: 800; }
.section__title em { color: var(--pink); font-style: italic; }
.section__sub { margin-top: 16px; font-size: 17px; color: var(--muted); }

.grid { display: grid; gap: 26px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }

.card { background: #fff; border: 1px solid #f6e5eb; border-radius: var(--radius); padding: 34px; transition: transform .3s, box-shadow .3s, border-color .3s; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--pink-line); }
.card__icon { width: 56px; height: 56px; border-radius: 16px; background: var(--pink-soft); display: grid; place-items: center; font-size: 26px; margin-bottom: 22px; }
.card h3 { font-family: var(--serif); color: var(--ink); font-size: 22px; margin-bottom: 8px; }
.card p { font-size: 15px; color: var(--muted); }

/* Portfolio */
.work { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid #f6e5eb; transition: transform .3s, box-shadow .3s; }
.work:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.work__img { height: 220px; display: flex; align-items: flex-end; padding: 18px; }
.work__img span { background: rgba(255, 255, 255, .9); padding: 5px 14px; border-radius: 999px; font-size: 12px; font-weight: 700; color: var(--pink-dark); }
.work__img--1 { background: linear-gradient(135deg, #f9c5d5, #e4507b); }
.work__img--2 { background: linear-gradient(135deg, #2a1420, #8d2a4b); }
.work__img--3 { background: linear-gradient(135deg, #7dd3fc, #2563eb); }
.work__body { padding: 22px 26px; }
.work__body h3 { font-family: var(--serif); color: var(--ink); font-size: 20px; }
.work__body p { color: var(--muted); font-size: 14px; }

/* Why */
.why { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.why__text p { margin-top: 20px; font-size: 17px; }
.why__list { list-style: none; display: grid; gap: 18px; }
.why__list li { display: flex; gap: 20px; background: #fff; border: 1px solid #f6e5eb; border-radius: 18px; padding: 22px 26px; transition: .3s; }
.why__list li:hover { border-color: var(--pink); transform: translateX(6px); }
.why__list b { font-family: var(--serif); color: var(--pink); font-size: 26px; line-height: 1; }
.why__list h4 { color: var(--ink); font-size: 17px; }
.why__list p { color: var(--muted); font-size: 14px; }

/* ---------- Plans ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column; background: #fff;
  border: 1px solid #f6e5eb; border-radius: 26px; padding: 38px 32px; transition: transform .3s, box-shadow .3s;
}
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.plan__tag { color: var(--pink); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.plan__name { font-family: var(--serif); font-size: 28px; color: var(--ink); margin: 10px 0 14px; }
.plan__price { font-family: var(--serif); font-size: 52px; font-weight: 700; color: var(--pink); line-height: 1; }
.plan__price sup { font-size: 22px; vertical-align: top; position: relative; top: 4px; }
.plan__price small { font-family: var(--sans); font-size: 15px; font-weight: 500; color: var(--pink); opacity: .8; }
.plan__desc { color: var(--muted); font-size: 15px; margin: 14px 0 24px; }
.plan__list { list-style: none; margin-bottom: 32px; flex: 1; }
.plan__list li { position: relative; padding: 11px 0 11px 26px; border-bottom: 1px solid #f9e8ee; font-size: 15px; color: var(--ink); }
.plan__list li::before { content: '✦'; position: absolute; left: 2px; color: var(--pink); font-size: 12px; top: 13px; }

.plan--featured { background: linear-gradient(170deg, #2a0f1c 0%, #1a0b12 100%); border: none; transform: scale(1.04); box-shadow: 0 30px 60px -25px rgba(201, 58, 101, .55); }
.plan--featured:hover { transform: scale(1.04) translateY(-6px); }
.plan--featured .plan__name, .plan--featured .plan__list li { color: #fff; }
.plan--featured .plan__desc { color: #d6bcc6; }
.plan--featured .plan__list li { border-color: rgba(255, 255, 255, .08); }
.plan--featured .plan__price, .plan--featured .plan__price small { color: #ff7fa3; }
.plan__ribbon { position: absolute; top: -14px; right: 28px; background: var(--pink); color: #fff; font-size: 12px; font-weight: 700; padding: 6px 16px; border-radius: 999px; }

.secure { text-align: center; margin-top: 44px; color: var(--muted); font-size: 14px; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 70px; align-items: start; }
.contact__info p { margin-top: 18px; font-size: 17px; }
.contact__list { list-style: none; margin-top: 28px; display: grid; gap: 12px; font-weight: 600; color: var(--ink); }
.contact__list a:hover { color: var(--pink); }
.form { background: #fff; border: 1px solid #f6e5eb; border-radius: 26px; padding: 36px; box-shadow: var(--shadow); display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label span { display: block; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.form input, .form textarea {
  width: 100%; padding: 14px 16px; border-radius: 14px; border: 1px solid #f0dbe3; background: #fffbfc;
  font: inherit; color: var(--ink); transition: border-color .2s, box-shadow .2s; resize: vertical;
}
.form input:focus, .form textarea:focus { outline: none; border-color: var(--pink); box-shadow: 0 0 0 4px rgba(228, 80, 123, .12); }
.form__ok { color: #16a34a; font-weight: 600; text-align: center; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #c9b4bd; padding: 72px 0 0; font-size: 14px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.footer h4 { color: #fff; font-size: 15px; font-weight: 700; margin-bottom: 16px; }
.footer ul { list-style: none; display: grid; gap: 10px; }
.footer a:hover { color: #ff7fa3; }
.footer__about { margin: 16px 0 20px; max-width: 330px; }
.footer__data li span { color: #8f7a83; }
.footer__data strong { color: #fff; font-weight: 600; }
.footer__note { margin-top: 14px; font-size: 12px; color: #8f7a83; line-height: 1.6; }
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, .08); padding: 22px 0;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13px; color: #8f7a83;
}
.footer__bottom a { text-decoration: underline; }

.plan-terms { text-align: center; margin: 10px auto 0; max-width: 640px; color: var(--muted); font-size: 13px; }
.plan-terms a { color: var(--pink); text-decoration: underline; }

/* ---------- Páginas legais ---------- */
.legal { max-width: 800px; padding: 64px 0 100px; }
.legal h1 { font-family: var(--serif); font-size: clamp(34px, 5vw, 52px); color: var(--ink); line-height: 1.1; margin: 8px 0 10px; }
.legal__date { color: var(--muted); margin-bottom: 36px; }
.legal h2 { font-family: var(--serif); color: var(--ink); font-size: 24px; margin: 40px 0 12px; }
.legal p, .legal li { margin-bottom: 10px; }
.legal ul { padding-left: 22px; }
.legal a { color: var(--pink); text-decoration: underline; }
.legal__box { background: var(--tint); border: 1px solid var(--pink-line); border-radius: 16px; padding: 20px 24px; margin: 20px 0; }
.legal__box p { margin: 0; }
.legal table { width: 100%; border-collapse: collapse; margin: 12px 0 20px; font-size: 15px; }
.legal th, .legal td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--pink-line); }
.legal th { color: var(--ink); background: var(--tint); }

/* ---------- WhatsApp + Toast ---------- */
.whatsapp {
  position: fixed; right: 24px; bottom: 24px; z-index: 60; width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; display: grid; place-items: center; box-shadow: 0 10px 25px -8px rgba(37, 211, 102, .7); transition: transform .25s;
}
.whatsapp:hover { transform: scale(1.08); }
.toast {
  position: fixed; left: 50%; bottom: 30px; transform: translate(-50%, 120px); z-index: 70;
  background: var(--ink); color: #fff; padding: 14px 24px; border-radius: 14px; font-size: 14px; max-width: 90vw;
  transition: transform .35s; box-shadow: 0 15px 35px -12px rgba(0, 0, 0, .4);
}
.toast.is-show { transform: translate(-50%, 0); }

/* ---------- Checkout modal ---------- */
.checkout-modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; }
.checkout-modal[hidden] { display: none; }
.checkout-modal__backdrop { position: absolute; inset: 0; background: rgba(26, 11, 18, .55); backdrop-filter: blur(4px); }
.checkout-modal__box {
  position: relative; width: min(560px, 100%); max-height: calc(100vh - 40px); overflow: auto;
  background: #fff; border-radius: 24px; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .45);
  animation: popIn .3s ease;
}
.checkout-modal__head {
  position: sticky; top: 0; z-index: 2; display: flex; justify-content: space-between; align-items: center;
  padding: 18px 24px; background: #fff; border-bottom: 1px solid #f4e6eb; color: var(--ink);
}
.checkout-modal__close { width: 36px; height: 36px; border-radius: 50%; background: var(--pink-soft); color: var(--pink); font-weight: 700; }
.checkout-modal__close:hover { background: var(--pink); color: #fff; }
.checkout-modal__body { padding: 16px 8px 24px; min-height: 300px; }
@keyframes popIn { from { opacity: 0; transform: translateY(20px) scale(.97); } to { opacity: 1; transform: none; } }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .float { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav {
    position: fixed; top: 78px; left: 0; right: 0; flex-direction: column; gap: 0; background: #fff;
    padding: 10px 20px 20px; border-bottom: 1px solid #f4e6eb; transform: translateY(-120%); transition: transform .35s; z-index: -1;
  }
  .nav.is-open { transform: none; }
  .nav a { padding: 14px 0; border-bottom: 1px solid #f9edf1; }
  .burger { display: flex; }
  .header__actions .btn--sm { display: none; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { max-width: 480px; margin: 0 auto; width: 100%; }
  .agency-card { margin: 0 auto; }
  .grid--3, .plans { grid-template-columns: 1fr 1fr; }
  .plan--featured { transform: none; }
  .plan--featured:hover { transform: translateY(-6px); }
  .why, .contact { grid-template-columns: 1fr; gap: 40px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .section { padding: 80px 0; }
  .hero { padding: 40px 0 70px; }
  .grid--3, .plans, .form__row { grid-template-columns: 1fr; }
  .lang__btn { width: 38px; }
  .float--top { right: 0; }
  .float--bottom { left: 0; }
  .float { padding: 12px 16px; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; text-align: center; align-items: center; }
}

.footer--slim { padding-top: 0; }
.footer--slim .footer__bottom { border-top: 0; }
