/* ==========================================================================
   Alice Pimenta — Design tokens (fonte: MIV - Alice Pimenta.pdf)
   ========================================================================== */

@font-face {
  font-family: 'Bricolage Grotesque';
  src: url('../assets/fonts/BricolageGrotesque-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Bricolage Grotesque';
  src: url('../assets/fonts/BricolageGrotesque-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Bricolage Grotesque';
  src: url('../assets/fonts/BricolageGrotesque-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Bricolage Grotesque';
  src: url('../assets/fonts/BricolageGrotesque-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Bricolage Grotesque';
  src: url('../assets/fonts/BricolageGrotesque-ExtraBold.ttf') format('truetype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Neutro quente — 60% da paleta */
  --creme-50: #FBF7F0;
  --creme-100: #F5EDDF;
  --creme-200: #EBE2D1;
  --creme-300: #D9CFBC;
  --neutral-400: #BCB2A0;
  --neutral-500: #988F7E;
  --neutral-600: #736B5E;
  --neutral-700: #524C42;
  --neutral-800: #393530;
  --grafite-900: #262320;

  /* Vinho — accent principal (30%) */
  --wine-50: #FBEAEC;
  --wine-100: #F3C3CB;
  --wine-200: #E597A3;
  --wine-300: #D26B7A;
  --wine-500: #A8293E;
  --wine-600: #8C2032;
  --wine-700: #6E1827;
  --wine-900: #350A12;

  /* Cores vivas — uso pontual (10%) */
  --rosa-100: #F6C5D2;
  --rosa-500: #C9536A;
  --rosa-600: #A84256;
  --orange-100: #F6CBAE;
  --orange-500: #C04A1E;
  --orange-600: #9F3C17;
  --purple-100: #D2C6E8;
  --purple-500: #583C8C;
  --purple-600: #473072;
  --blue-100: #C0D0E8;
  --blue-500: #1E3D6B;
  --blue-600: #183257;
  --green-100: #C2D8C7;
  --green-500: #2E5C44;
  --green-600: #254A37;

  --bg: var(--creme-50);
  --surface: #ffffff;
  --text: var(--grafite-900);
  --text-soft: var(--neutral-700);
  --border: var(--creme-300);

  --font: 'Bricolage Grotesque', 'Helvetica Neue', Arial, sans-serif;

  --container: 1160px;
  --radius-s: 12px;
  --radius-m: 20px;
  --radius-l: 32px;
  --shadow: 0 12px 32px -16px rgba(38, 35, 32, 0.18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  overflow-x: hidden;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  font-family: var(--font);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 600; }

p { margin: 0 0 1em; color: var(--text-soft); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.98rem;
  padding: 14px 28px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--wine-600); color: var(--creme-50); }
.btn-primary:hover { background: var(--wine-700); }
.btn-outline { background: transparent; border-color: var(--grafite-900); color: var(--grafite-900); }
.btn-outline:hover { background: var(--grafite-900); color: var(--creme-50); }
.btn-ghost { background: var(--creme-100); color: var(--grafite-900); }
.btn-ghost:hover { background: var(--creme-200); }
.btn-sm { padding: 10px 16px; font-size: 0.88rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(#254A37, #254A37) top center / 100% 68px no-repeat;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.header-wave {
  height: 32px;
  line-height: 0;
  overflow: hidden;
  pointer-events: none;
}
.header-wave svg { width: 100%; height: 100%; display: block; }
.brand img { height: 46px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.nav-links a {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--green-100);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.nav-links a:hover,
.nav-links a.active { color: var(--creme-50); border-color: var(--creme-50); }

.header-actions { display: flex; align-items: center; gap: 16px; }
.header-actions .btn-primary { background: var(--creme-50); color: var(--grafite-900); }
.header-actions .btn-primary:hover { background: var(--creme-100); }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--creme-50);
  margin: 5px 0;
  transition: 0.2s ease;
}

/* ---------- Grafismos orgânicos ---------- */
.blob-host { position: relative; }
.blob {
  position: absolute;
  z-index: 0;
  opacity: 0.5;
  pointer-events: none;
}
.blob-a { border-radius: 38% 62% 63% 37% / 41% 74% 56% 59%; }
.blob-b { border-radius: 66% 34% 47% 53% / 53% 62% 38% 47%; }
.blob-c { border-radius: 46% 54% 34% 66% / 72% 38% 62% 28%; }
.blob-d { border-radius: 58% 42% 70% 30% / 35% 65% 45% 55%; }
.blob-e { border-radius: 30% 70% 55% 45% / 60% 35% 65% 40%; }
.blob-wine { background: var(--wine-100); }
.blob-green { background: var(--green-100); }
.blob-blue { background: var(--blue-100); }
.blob-purple { background: var(--purple-100); }
.blob-orange { background: var(--orange-100); }
.blob-rosa { background: var(--rosa-100); }

.blob-hero-1 { width: 340px; height: 260px; top: -110px; right: -110px; transform: rotate(8deg); }
.blob-hero-2 { width: 200px; height: 170px; bottom: -90px; left: -90px; transform: rotate(-12deg); }
.blob-cta { width: 250px; height: 190px; bottom: -90px; left: 50%; transform: translateX(-50%) rotate(-4deg); }
.blob-page-hero { width: 240px; height: 190px; top: -50px; right: -90px; transform: rotate(-8deg); }

/* Quebra de seção — divisor ondulado */
.section-tint { background: var(--blue-600); position: relative; }
.section-tint h2, .section-tint h1 { color: var(--creme-50); }
.section-tint p { color: var(--blue-100); }
.wave-top, .wave-bottom {
  position: absolute;
  left: 0;
  width: 100%;
  height: 60px;
  line-height: 0;
  pointer-events: none;
}
.wave-top { top: 0; }
.wave-bottom { bottom: 0; }
.wave-top svg, .wave-bottom svg { width: 100%; height: 100%; display: block; }

.hero {
  padding: 90px 0 70px;
}
.hero .container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}
.hero-copy p.lead { font-size: 1.15rem; color: var(--text-soft); max-width: 46ch; }
.hero-actions { display: flex; gap: 16px; margin-top: 30px; flex-wrap: wrap; }

.hero-photo {
  position: relative;
  justify-self: center;
}
.hero-photo .photo-frame {
  width: min(360px, 80vw);
  aspect-ratio: 1/1;
  border-radius: 46% 54% 58% 42% / 48% 42% 58% 52%;
  overflow: hidden;
  border: 6px solid var(--surface);
  box-shadow: var(--shadow);
  background: var(--creme-200);
}
.hero-photo .photo-frame img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Contact page ---------- */
.contact-hero {
  min-height: calc(100vh - 100px);
  display: flex;
  align-items: center;
}
.contact-hero .container { max-width: 960px; text-align: center; }
.contact-hero h1 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); max-width: 780px; margin-left: auto; margin-right: auto; }
.contact-hero .lead { font-size: 1.2rem; margin: 0 auto 44px; max-width: 46ch; text-wrap: balance; }
.contact-channels {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.contact-channel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  padding: 26px 16px;
  height: 100%;
  min-height: 170px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: transform 0.18s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.contact-channel:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--wine-300); }
.contact-channel .channel-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--creme-100);
  color: var(--wine-600);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
}
.contact-channel .channel-icon svg { width: 24px; height: 24px; }
.contact-channel .channel-label { font-weight: 700; font-size: 1rem; color: var(--grafite-900); }
.contact-channel .channel-value {
  font-size: 0.85rem;
  color: var(--text-soft);
  word-break: break-word;
}
.contact-channels-secondary { grid-template-columns: repeat(3, 1fr); }
.contact-channel-featured {
  background: var(--wine-600);
  border-color: transparent;
  padding: 32px;
  margin-top: 20px;
}
.contact-channel-featured:hover { background: var(--wine-700); border-color: transparent; }
.contact-channel-featured .channel-icon { background: var(--creme-50); color: var(--wine-600); }
.contact-channel-featured .channel-label { color: var(--creme-50); font-size: 1.15rem; }
.contact-channel-featured .channel-value { color: var(--wine-100); }

/* ---------- Sections ---------- */
section { padding: 64px 0; }
.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Services (O que eu faço) ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service-thumb { aspect-ratio: 4 / 3; position: relative; overflow: hidden; }
.service-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.service-card .card-body {
  padding: 26px 26px 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.service-card h3 { margin-bottom: 0; }
.service-card .more {
  margin-top: auto;
  font-weight: 700;
  color: var(--wine-600);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.service-card .more svg { transition: transform 0.18s ease; }
.service-card:hover .more svg { transform: translateX(4px); }

/* ---------- Stats / Prova social ---------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.stat-card {
  display: block;
  background: var(--surface);
  border-radius: var(--radius-m);
  padding: 28px 24px;
  border: 1px solid var(--border);
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.stat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.stat-number {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--wine-600);
  display: block;
  margin-bottom: 6px;
}
.stat-label { display: block; font-size: 0.92rem; color: var(--text-soft); margin-bottom: 10px; }
.stat-client { display: block; font-weight: 700; font-size: 0.95rem; color: var(--grafite-900); }
.stat-category { display: block; font-weight: 300; font-size: 0.82rem; color: var(--neutral-600); }

/* ---------- Client logos ---------- */
.logo-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
}
.logo-strip img {
  height: 48px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.7;
  transition: 0.2s ease;
}
.logo-strip img:hover { filter: none; opacity: 1; }

/* ---------- Depoimentos ---------- */
.testimonials { padding-bottom: 28px; }
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  padding: 28px;
  margin: 0;
}
.testimonial-card .quote-mark {
  font-family: Georgia, serif;
  font-size: 3rem;
  line-height: 1;
  color: var(--wine-300);
  display: block;
  margin-bottom: 4px;
}
.testimonial-card p {
  font-size: 1rem;
  color: var(--grafite-900);
  margin-bottom: 20px;
}
.testimonial-card footer strong { display: block; font-size: 0.95rem; }
.testimonial-card footer span { font-size: 0.85rem; color: var(--neutral-600); }

/* ---------- CTA banner ---------- */
.cta-banner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}
.cta-banner h2 { margin-bottom: 14px; }
.cta-banner p { margin-bottom: 0; }

.cta-fullfold {
  min-height: 72vh;
  display: flex;
  align-items: center;
}

/* ---------- Footer ---------- */
.site-footer { position: relative; z-index: 2; background: var(--grafite-900); color: var(--neutral-400); padding: 64px 0 28px; }
.footer-grid p { color: var(--neutral-400); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--neutral-800);
}
.footer-grid img { height: 34px; margin-bottom: 16px; }
.footer-grid h4 { color: var(--creme-100); font-size: 0.92rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 16px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-grid a { color: var(--neutral-400); transition: color 0.15s ease; }
.footer-grid a:hover { color: var(--creme-50); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 0.82rem;
  color: var(--neutral-400);
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Case page ---------- */
.breadcrumb { font-size: 0.88rem; color: var(--neutral-600); margin-bottom: 18px; }
.breadcrumb a { color: var(--wine-600); font-weight: 600; }

.case-hero { padding-top: 56px; padding-bottom: 40px; }
.case-hero p.lead { font-size: 1.15rem; max-width: 70ch; }

.client-block {
  padding: 48px 0;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
}
.client-block:first-of-type { border-top: none; }
.client-meta .period {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--neutral-600);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
  display: block;
}
.client-results {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 20px 0;
}
.result-pill {
  background: var(--wine-50);
  color: var(--wine-700);
  border-radius: var(--radius-s);
  padding: 12px 18px;
  font-weight: 700;
  font-size: 0.95rem;
}
.result-pill-pending { background: var(--blue-100); color: var(--blue-600); }
.metric-pills { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.metric-pills .result-pill { padding: 6px 12px; font-size: 0.82rem; }

.ig-inline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-soft);
  margin-bottom: 16px;
  transition: color 0.15s ease;
}
.ig-inline svg { width: 16px; height: 16px; flex-shrink: 0; }
.ig-inline:hover { color: var(--wine-600); }

.proof-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  padding: 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 12px;
}
.proof-card .proof-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.3rem;
}
.proof-card .proof-icon.ig { background: linear-gradient(135deg, var(--wine-100), var(--orange-100)); color: var(--wine-700); }
.proof-card .proof-icon.yt { background: var(--wine-50); color: var(--wine-600); }
.proof-card .proof-icon.link { background: var(--blue-100); color: var(--blue-600); }
.proof-card .proof-title { font-weight: 700; font-size: 0.95rem; margin-bottom: 2px; }
.proof-card .proof-sub { font-size: 0.84rem; color: var(--neutral-600); }
.proof-card .btn { margin-left: auto; flex-shrink: 0; }

.media-section { padding: 40px 0; border-top: 1px solid var(--border); }
.media-section:first-of-type { border-top: none; }
.media-section h2 { font-size: 1.3rem; margin-bottom: 4px; }
.media-section .media-lead { margin-bottom: 22px; max-width: 65ch; }
.media-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.media-grid .proof-card { margin-top: 0; }

.media-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  overflow: hidden;
}
.media-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
}
.thumb-wine { background: linear-gradient(135deg, var(--wine-100), var(--wine-300)); }
.thumb-blue { background: linear-gradient(135deg, var(--blue-100), var(--blue-500)); }
.thumb-green { background: linear-gradient(135deg, var(--green-100), var(--green-500)); }
.thumb-purple { background: linear-gradient(135deg, var(--purple-100), var(--purple-500)); }
.thumb-orange { background: linear-gradient(135deg, var(--orange-100), var(--orange-500)); }
.thumb-rosa { background: linear-gradient(135deg, var(--rosa-100), var(--rosa-500)); }
.play-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(251, 247, 240, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--grafite-900);
  font-size: 1.05rem;
  padding-left: 4px;
}
.thumb-note {
  position: absolute;
  bottom: 10px;
  right: 14px;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(38, 35, 32, 0.55);
}
.media-body {
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.media-body .btn { margin-left: auto; flex-shrink: 0; }

.case-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 40px 0;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 16px;
}
.case-nav .btn-outline { }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .hero .container { grid-template-columns: 1fr; }
  .hero-photo { order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .client-block { grid-template-columns: 1fr; }
  .contact-channels { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .nav-links, .header-actions .btn { display: none; }
  .nav-toggle { display: block; }
  .services-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .media-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  section { padding: 48px 0; }
  .proof-card { flex-wrap: wrap; }
  .proof-card .btn { margin-left: 0; width: 100%; }
  .media-body { flex-wrap: wrap; }
  .media-body .btn { margin-left: 0; width: 100%; }
  .contact-channels { grid-template-columns: 1fr; }
  .contact-hero { min-height: auto; padding: 48px 0; }
  .blob { transform: scale(0.6); opacity: 0.4; }
}

/* mobile nav drawer */
body.nav-open .nav-links {
  display: flex;
  position: fixed;
  top: 100px;
  left: 0;
  right: 0;
  height: calc(100vh - 100px);
  background: var(--creme-50);
  flex-direction: column;
  align-items: flex-start;
  padding: 32px 24px;
  gap: 22px;
  overflow-y: auto;
}
body.nav-open .nav-links a { color: var(--text-soft); }
body.nav-open .nav-links a:hover,
body.nav-open .nav-links a.active { color: var(--grafite-900); border-color: var(--wine-600); }
body.nav-open .header-actions .btn { display: inline-flex; }
