/* =========================================================
   MAXXSIS — Marketing Digital | Site oficial
   Paleta:
   --marrom: #6f3013
   --nude:   #cda891
   --areia:  #edd8c9
   --gelo:   #ffeddd
   ========================================================= */

:root {
  --marrom: #6f3013;
  --marrom-dark: #4a1f0a;
  --nude: #cda891;
  --areia: #edd8c9;
  --gelo: #ffeddd;
  --branco: #fbf7f3;
  --texto: #2b1a10;
  --texto-mid: #5e4837;

  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --container: 1200px;
  --radius: 4px;
  --transition: 0.4s cubic-bezier(.4,.2,.2,1);
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.6;
  color: var(--texto);
  background: var(--branco);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: opacity var(--transition); }
a:hover { opacity: 0.7; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
em { font-style: italic; color: var(--marrom); }

/* CONTAINER */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* TYPOGRAPHY */
.display {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--marrom-dark);
}
.display--md { font-size: clamp(2rem, 4vw, 3.25rem); }
.display.light { color: var(--gelo); }
.lead {
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  line-height: 1.7;
  color: var(--texto-mid);
  font-weight: 300;
  max-width: 60ch;
}
.lead + .lead { margin-top: 1.25rem; }
.lead.center { margin-left: auto; margin-right: auto; }
.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--marrom);
  font-weight: 500;
  margin-bottom: 1.5rem;
}
.eyebrow--light { color: var(--nude); }
.center { text-align: center; }
.prose p + p { margin-top: 1.25rem; }

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.75rem;
  background: var(--marrom);
  color: var(--gelo);
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: var(--radius);
  transition: all var(--transition);
  border: 1px solid var(--marrom);
  white-space: nowrap;
}
.btn:hover {
  background: var(--marrom-dark);
  border-color: var(--marrom-dark);
  opacity: 1;
  transform: translateY(-2px);
}
.btn--ghost {
  background: transparent;
  color: var(--marrom);
}
.btn--ghost:hover {
  background: var(--marrom);
  color: var(--gelo);
}
.btn--small { padding: 0.7rem 1.25rem; font-size: 0.85rem; }
.btn--large { padding: 1.2rem 2.5rem; font-size: 1rem; }

/* HEADER */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 247, 243, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(111, 48, 19, 0.08);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1rem 24px;
}
.header__logo img { height: 48px; width: auto; }
.nav { display: flex; gap: 2rem; }
.nav a {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--texto-mid);
  position: relative;
}
.nav a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--marrom);
  transition: width var(--transition);
}
.nav a:hover { color: var(--marrom); opacity: 1; }
.nav a:hover::after { width: 100%; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
  padding: 0;
}
.nav-toggle span {
  display: block;
  height: 1.5px;
  background: var(--marrom);
  transition: all var(--transition);
}
.nav-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* HERO */
.hero {
  position: relative;
  padding: 6rem 0 7rem;
  background:
    radial-gradient(circle at 80% 20%, rgba(205, 168, 145, 0.25), transparent 50%),
    linear-gradient(180deg, var(--branco) 0%, var(--gelo) 100%);
  overflow: hidden;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero__content { max-width: 640px; }
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.5rem;
}
.hero h1 { margin-bottom: 1.75rem; }
.hero__visual {
  position: relative;
  height: 100%;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__shape {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--nude), var(--areia));
  border-radius: 50%;
  position: relative;
  box-shadow:
    inset 0 0 80px rgba(111, 48, 19, 0.08),
    0 30px 80px rgba(111, 48, 19, 0.12);
  animation: breathe 6s ease-in-out infinite;
}
.hero__shape::before {
  content: '';
  position: absolute;
  inset: -40px;
  border: 1px solid rgba(111, 48, 19, 0.15);
  border-radius: 50%;
  animation: breathe-ring 6s ease-in-out infinite;
}
.hero__shape::after {
  content: '';
  position: absolute;
  inset: -80px;
  border: 1px solid rgba(111, 48, 19, 0.08);
  border-radius: 50%;
  animation: breathe-ring 6s ease-in-out infinite reverse;
}
.hero__symbol {
  position: absolute;
  top: 50%;
  left: 50%;
  height: 60%;
  width: auto;
  opacity: 0.28;
  pointer-events: none;
  animation: floatSymbol 5.5s ease-in-out infinite;
  filter: drop-shadow(0 4px 16px rgba(255, 237, 221, 0.3));
}

@keyframes floatSymbol {
  0%, 100% { transform: translate(-50%, -50%) translateY(0) rotate(0deg); }
  50% { transform: translate(-50%, -50%) translateY(-10px) rotate(1.5deg); }
}

@keyframes breathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}
@keyframes breathe-ring {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.05); opacity: 0.6; }
}

/* HERO TEXT FADE-IN SEQUENCE */
.hero__content > * {
  opacity: 0;
  transform: translateY(16px);
  animation: heroIn 0.9s cubic-bezier(.4,.2,.2,1) forwards;
}
.hero__content > .eyebrow { animation-delay: 0.1s; }
.hero__content > h1 { animation-delay: 0.25s; }
.hero__content > p:nth-of-type(1) { animation-delay: 0.45s; }
.hero__content > p:nth-of-type(2) { animation-delay: 0.6s; }
.hero__content > .hero__cta { animation-delay: 0.8s; }

@keyframes heroIn {
  to { opacity: 1; transform: translateY(0); }
}

/* SECTION GENERIC */
.section {
  padding: 7rem 0;
}
.section--cream { background: var(--gelo); }
.section--dark {
  background: var(--marrom-dark);
  color: var(--gelo);
}
.section--dark .lead { color: var(--areia); }
.section--dark em { color: var(--areia); }
.section__head {
  margin-bottom: 4rem;
  max-width: 800px;
}
.section__head.center {
  margin-left: auto;
  margin-right: auto;
}

/* GRID 2 */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

/* STATS */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 5rem;
  padding-top: 4rem;
  border-top: 1px solid rgba(111, 48, 19, 0.15);
}
.stat {
  position: relative;
  transition: transform 0.5s cubic-bezier(.4,.2,.2,1);
  cursor: default;
}
.stat:hover { transform: translateY(-6px); }
.stat__num {
  display: inline-block;
  font-family: var(--serif);
  font-size: clamp(2.5rem, 4vw, 3.75rem);
  font-weight: 400;
  color: var(--marrom);
  line-height: 1;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  position: relative;
  padding-bottom: 0.6rem;
}
.stat__num::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--marrom) 0%, var(--nude) 70%, transparent 100%);
  transition: width 1.4s cubic-bezier(.4,.2,.2,1);
}
.stat.is-counted .stat__num::after { width: 70%; }
.stat:hover .stat__num::after { width: 100%; }
.stat__label {
  font-size: 0.95rem;
  color: var(--texto-mid);
  line-height: 1.5;
  display: block;
  max-width: 28ch;
}

/* CARDS (PARA QUEM) */
.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.card {
  padding: 2.5rem 2rem;
  background: var(--gelo);
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: all var(--transition);
}
.card:hover {
  border-color: var(--nude);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(111, 48, 19, 0.08);
}
.card h3 {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--marrom);
  margin-bottom: 0.75rem;
}
.card p {
  color: var(--texto-mid);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* PILLARS (COMO ENXERGAMOS) */
.pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem 4rem;
}
.pillar { position: relative; padding-left: 0; }
.pillar__num {
  font-family: var(--serif);
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--nude);
  display: block;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}
.pillar h3 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--gelo);
  margin-bottom: 0.75rem;
}
.pillar p {
  color: var(--areia);
  font-size: 0.95rem;
  line-height: 1.7;
  opacity: 0.85;
}

/* SERVICES (ECOSSISTEMA — 8 serviços) */
.services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.service {
  padding: 2rem 1.75rem;
  background: var(--branco);
  border: 1px solid var(--areia);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  transition: transform 0.5s cubic-bezier(.4,.2,.2,1), border-color var(--transition), box-shadow var(--transition);
}
.service::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--marrom);
  transition: width 0.6s cubic-bezier(.4,.2,.2,1);
}
.service:hover {
  border-color: var(--marrom);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(111, 48, 19, 0.1);
}
.service:hover::before { width: 100%; }
.service:hover h3 { transform: translateY(-2px); }
.service h3 {
  transition: transform 0.4s cubic-bezier(.4,.2,.2,1);
}
.service h3 {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--marrom);
  margin-bottom: 0.75rem;
  line-height: 1.2;
}
.service p {
  color: var(--texto-mid);
  font-size: 0.9rem;
  line-height: 1.6;
}
.service--highlight {
  background: var(--marrom);
  border-color: var(--marrom);
}
.service--highlight h3,
.service--highlight p { color: var(--gelo); }
.service--highlight p { opacity: 0.92; }
.service--highlight h3 { padding-right: 0; }
.service--highlight::before { background: var(--gelo); }

a.service {
  display: block;
  text-decoration: none;
  color: inherit;
}
a.service:hover { opacity: 1; }
.service__cta {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  font-weight: 500;
  color: var(--areia);
  border-bottom: 1px solid rgba(255, 237, 221, 0.3);
  padding-bottom: 2px;
  transition: all var(--transition);
}
a.service:hover .service__cta {
  color: var(--gelo);
  border-bottom-color: var(--gelo);
  transform: translateX(2px);
}
.badge {
  display: inline-block;
  font-size: 0.55rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: rgba(255, 237, 221, 0.18);
  color: var(--gelo);
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  font-weight: 500;
  margin-bottom: 0.85rem;
  border: 1px solid rgba(255, 237, 221, 0.25);
}

/* MÉTODO */
.method {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
}
.method::before {
  content: '';
  position: absolute;
  top: 1.5rem;
  left: 5%;
  right: 5%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--nude), transparent);
}
.method__step {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}
.method__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  background: var(--gelo);
  border: 1px solid var(--nude);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--marrom);
  font-weight: 500;
}
.method__step h3 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--marrom);
  margin-bottom: 0.5rem;
}
.method__step p {
  color: var(--texto-mid);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* FOUNDER */
.founder {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: center;
}
.founder__img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(111, 48, 19, 0.15);
  aspect-ratio: 4/5;
  background: var(--areia);
}
.founder__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.founder__credential {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--marrom);
  font-weight: 500;
  margin-top: 0.75rem;
  margin-bottom: 1.75rem;
  display: inline-block;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--nude);
}
.founder__bio {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--texto-mid);
  font-weight: 300;
  margin-bottom: 1.75rem;
  max-width: 56ch;
}
.founder__quote {
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.6vw, 1.4rem);
  font-style: italic;
  font-weight: 300;
  color: var(--marrom-dark);
  line-height: 1.55;
  position: relative;
  padding-left: 1.5rem;
  border-left: 2px solid var(--nude);
  max-width: 56ch;
}

/* CASES */
.cases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.cases--two {
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}
.case {
  padding: 3rem 2.5rem;
  background: var(--branco);
  border: 1px solid var(--areia);
  border-radius: var(--radius);
  transition: all var(--transition);
}
.case:hover {
  border-color: var(--marrom);
  transform: translateY(-4px);
}
.case__tag {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--marrom);
  font-weight: 500;
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--nude);
}
.case h3 {
  font-family: var(--serif);
  font-size: 1.75rem;
  font-weight: 500;
  color: var(--marrom);
  margin-bottom: 1rem;
}
.case p {
  color: var(--texto-mid);
  font-size: 0.97rem;
  line-height: 1.7;
}
.cases__more {
  text-align: center;
  margin-top: 2.5rem;
  font-size: 0.95rem;
}
.cases__more a {
  color: var(--marrom);
  font-weight: 500;
  border-bottom: 1px solid var(--nude);
  padding-bottom: 2px;
  transition: all var(--transition);
}
.cases__more a:hover {
  border-bottom-color: var(--marrom);
  opacity: 1;
}

/* CTA FINAL */
.cta-final {
  background: linear-gradient(135deg, var(--marrom) 0%, var(--marrom-dark) 100%);
  color: var(--gelo);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-final::before {
  content: '';
  position: absolute;
  top: -50%; left: -10%;
  width: 60%; height: 200%;
  background: radial-gradient(circle, rgba(205, 168, 145, 0.15), transparent 60%);
  pointer-events: none;
}
.cta-final::after {
  content: '';
  position: absolute;
  bottom: -50%; right: -10%;
  width: 60%; height: 200%;
  background: radial-gradient(circle, rgba(255, 237, 221, 0.08), transparent 60%);
  pointer-events: none;
}
.cta-final .container { position: relative; z-index: 1; }
.cta-final .display { color: var(--gelo); margin-bottom: 1.5rem; }
.cta-final .display em { color: var(--areia); }
.cta-final .lead {
  color: var(--areia);
  margin: 0 auto 2.5rem;
}
.cta-final .btn {
  background: var(--gelo);
  color: var(--marrom-dark);
  border-color: var(--gelo);
}
.cta-final .btn:hover {
  background: var(--branco);
  border-color: var(--branco);
}

/* FOOTER */
.footer {
  background: var(--marrom-dark);
  color: var(--areia);
  padding: 4rem 0 2rem;
}
.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 237, 221, 0.1);
}
.footer__brand img { height: 56px; margin-bottom: 1.5rem; }
.footer__brand p {
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 36ch;
  opacity: 0.75;
}
.footer__links h4 {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--gelo);
  margin-bottom: 1rem;
}
.footer__links a {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.6rem;
  opacity: 0.75;
}
.footer__links a:hover { opacity: 1; }
.footer__bottom {
  padding-top: 2rem;
  font-size: 0.8rem;
  opacity: 0.6;
  text-align: center;
}

/* WHATSAPP FLOAT */
.wpp-float {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 56px; height: 56px;
  background: #25d366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  z-index: 50;
  transition: all var(--transition);
}
.wpp-float:hover {
  transform: scale(1.08);
  opacity: 1;
}
.wpp-float svg { width: 28px; height: 28px; }

/* REVEAL ANIMATION */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSIVE */
@media (max-width: 960px) {
  .hero { padding: 4rem 0 5rem; }
  .hero__inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero__visual { min-height: 280px; order: -1; }
  .hero__shape { max-width: 240px; }

  .section { padding: 4.5rem 0; }
  .section__head { margin-bottom: 3rem; }

  .grid-2 { grid-template-columns: 1fr; gap: 2rem; }
  .stats { grid-template-columns: 1fr; gap: 2.5rem; margin-top: 3rem; padding-top: 2.5rem; }

  .cards { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; gap: 2.5rem; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .method { grid-template-columns: 1fr; gap: 2rem; }
  .method::before { display: none; }

  .founder { grid-template-columns: 1fr; gap: 2.5rem; }
  .founder__img { max-width: 320px; margin: 0 auto; }
  .cases, .cases--two { grid-template-columns: 1fr; }
  .case { padding: 2.5rem 2rem; }

  .footer__inner { grid-template-columns: 1fr; gap: 2rem; }

  .nav { display: none; }
  .header .btn--small { display: none; }
  .nav-toggle { display: flex; }

  .nav.is-open {
    display: flex;
    position: fixed;
    top: 72px; left: 0; right: 0; bottom: 0;
    background: var(--branco);
    flex-direction: column;
    padding: 2.5rem 24px;
    gap: 1.5rem;
  }
  .nav.is-open a { font-size: 1.1rem; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .container { padding: 0 20px; }
  .header__inner { padding: 0.75rem 20px; }
  .header__logo img { height: 40px; }
  .services { grid-template-columns: 1fr; }
  .hero__cta .btn { width: 100%; }
  .wpp-float { bottom: 16px; right: 16px; width: 52px; height: 52px; }
  .wpp-float svg { width: 26px; height: 26px; }
}
