/* ==========================
   MADE Label - Estilos gerais
   Redesign inspirado em paleta e animacoes bounce/playful
   ========================== */

:root {
  --periwinkle: #9982de;
  --periwinkle-dark: #7a63c2;
  --yellow: #ffd24a;
  --pale-yellow: #faed8f;
  --bright-pink: #fd48f2;
  --magenta: #ff008c;
  --pale-pink: #feb6fa;
  --soft-pink: #ffe3fc;
  --soft-blue: #ddfcfc;
  --soft-grey: #f7f6fb;
  --wine: #4a1942;
  --ink: #221a2e;
  --ink-soft: #6b6478;
  --white: #fff;

  --radius-pill: 2em;
  --radius-card: 1.75em;
  --shadow: 0 16px 40px rgba(34, 26, 46, 0.12);

  --ease-bounce: cubic-bezier(0.34, 1.57, 0.64, 1);
  --ease-soft-bounce: cubic-bezier(0.34, 1.17, 0.64, 1);
  --ease-smooth: cubic-bezier(0.32, 0.72, 0, 1);

  --font-title: 'Fredoka', sans-serif;
  --font-body: 'Poppins', sans-serif;
}

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

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

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
h1, h2, h3 { font-family: var(--font-title); margin: 0; line-height: 1.15; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s var(--ease-soft-bounce), transform .7s var(--ease-soft-bounce);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.95em 1.8em;
  border-radius: var(--radius-pill);
  transition: transform .35s var(--ease-bounce), box-shadow .35s var(--ease-smooth), background-color .3s var(--ease-smooth);
  will-change: transform;
}
.btn:hover { transform: translateY(-3px) scale(1.03); }
.btn:active { transform: scale(0.955, 0.925); }

.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover { background: var(--wine); box-shadow: var(--shadow); }

.btn--outline { background: transparent; color: var(--ink); border: 2px solid var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--white); }

.btn--light { background: var(--white); color: var(--bright-pink); }
.btn--light:hover { background: var(--ink); color: var(--white); }

.btn--yellow { background: var(--yellow); color: var(--ink); }
.btn--yellow:hover { background: var(--white); }

.btn--block { width: 100%; justify-content: center; }
.btn--nav { font-size: 0.9rem; padding: 0.75em 1.4em; }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(34,26,46,0.06);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 24px;
}
.logo {
  font-family: var(--font-title);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--ink);
}
.logo span { color: var(--bright-pink); }
.logo--light { color: var(--white); }
.logo--light span { color: var(--yellow); }

.nav { display: flex; align-items: center; gap: 28px; }
.nav a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--ink);
  position: relative;
  transition: color .3s var(--ease-smooth);
}
.nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--bright-pink);
  transition: width .35s var(--ease-bounce);
}
.nav a:hover { color: var(--bright-pink); }
.nav a:hover::after { width: 100%; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--yellow);
  padding: 110px 0 90px;
}
.hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  animation: float 7s ease-in-out infinite;
}
.hero__blob--1 { width: 220px; height: 220px; background: var(--bright-pink); top: -60px; right: 8%; opacity: .85; animation-delay: 0s; }
.hero__blob--2 { width: 140px; height: 140px; background: var(--soft-blue); bottom: 10%; right: 20%; opacity: .9; animation-delay: 1.2s; }
.hero__blob--3 { width: 90px; height: 90px; background: var(--periwinkle); top: 30%; left: 6%; opacity: .8; animation-delay: 2.4s; }

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-22px) rotate(8deg); }
}

.hero__inner { position: relative; z-index: 1; max-width: 780px; }
.tag-badge {
  display: inline-block;
  background: var(--ink);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.5em 1.2em;
  border-radius: var(--radius-pill);
  margin-bottom: 24px;
}
.hero__title {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 22px;
}
.hero__highlight {
  color: var(--white);
  background: var(--bright-pink);
  padding: 0 0.2em;
  border-radius: 0.3em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.hero__text {
  font-size: 1.15rem;
  color: var(--ink);
  max-width: 560px;
  margin-bottom: 34px;
}
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 46px; }

.hero__stats { display: flex; gap: 16px; flex-wrap: wrap; }
.stat-chip {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 16px 22px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
  transition: transform .4s var(--ease-bounce);
}
.stat-chip:hover { transform: translateY(-6px) rotate(-2deg); }
.stat-chip strong { font-family: var(--font-title); font-size: 1.5rem; color: var(--ink); }
.stat-chip span { font-size: 0.85rem; color: var(--ink-soft); }
.stat-chip--pink { background: var(--pale-pink); }
.stat-chip--blue { background: var(--soft-blue); }

/* ---------- Sections ---------- */
.section { padding: 100px 0; }
.section--white { background: var(--white); }
.section--soft { background: var(--soft-pink); }
.section--pink { background: var(--bright-pink); }

.section-kicker {
  display: inline-block;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bright-pink);
  margin-bottom: 12px;
}
.section-kicker--light { color: var(--white); }

.section-title {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  font-weight: 600;
  color: var(--ink);
  max-width: 700px;
  margin-bottom: 16px;
}
.section-title--light { color: var(--white); }

.section-lead {
  font-size: 1.05rem;
  color: var(--ink-soft);
  max-width: 620px;
  margin-bottom: 50px;
}
.section-lead--light { color: rgba(255,255,255,0.9); }

/* ---------- Service cards ---------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--soft-grey);
  border-radius: var(--radius-card);
  padding: 34px 28px;
  transition: transform .4s var(--ease-bounce), box-shadow .4s var(--ease-smooth), background .3s var(--ease-smooth);
}
.service-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow);
  background: var(--white);
}
.service-card__icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  color: var(--ink);
  margin-bottom: 20px;
  transition: transform .4s var(--ease-bounce);
}
.service-card:hover .service-card__icon { transform: rotate(-8deg) scale(1.1); }
.service-card__icon--yellow { background: var(--yellow); }
.service-card__icon--pink { background: var(--pale-pink); }
.service-card__icon--blue { background: var(--soft-blue); }
.service-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.service-card p { color: var(--ink-soft); font-size: 0.95rem; }

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.step-card {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 30px 24px;
  box-shadow: var(--shadow);
  transition: transform .4s var(--ease-bounce);
}
.step-card:hover { transform: translateY(-8px) rotate(1deg); }
.step-number {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 40px; height: 40px;
  background: var(--periwinkle);
  color: var(--white);
  border-radius: 50%;
  font-family: var(--font-title);
  font-weight: 600;
  margin-bottom: 18px;
}
.step-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.step-card p { color: var(--ink-soft); font-size: 0.92rem; }

/* ---------- Tag grid (catalogo) ---------- */
.tag-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 44px;
}
.tag-pill {
  background: var(--white);
  color: var(--bright-pink);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.7em 1.4em;
  border-radius: var(--radius-pill);
  transition: transform .35s var(--ease-bounce), background .3s var(--ease-smooth), color .3s var(--ease-smooth);
}
.tag-pill:hover {
  transform: translateY(-4px) scale(1.06);
  background: var(--ink);
  color: var(--white);
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.about-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.about-card {
  background: var(--soft-grey);
  border-radius: var(--radius-card);
  padding: 26px;
  transition: transform .4s var(--ease-bounce), background .3s var(--ease-smooth);
}
.about-card:hover { transform: translateY(-6px); background: var(--soft-blue); }
.about-card i { font-size: 1.4rem; color: var(--bright-pink); margin-bottom: 14px; display: block; }
.about-card h3 { font-size: 1rem; margin-bottom: 8px; }
.about-card p { font-size: 0.88rem; color: var(--ink-soft); }

/* ---------- CTA banner ---------- */
.cta-banner {
  position: relative;
  overflow: hidden;
  background: var(--periwinkle);
  padding: 100px 0;
  text-align: center;
}
.cta-banner__blob {
  position: absolute;
  width: 480px; height: 480px;
  background: var(--periwinkle-dark);
  border-radius: 50%;
  top: -220px; left: 50%;
  transform: translateX(-50%);
  opacity: .5;
  animation: float 9s ease-in-out infinite;
}
.cta-banner__inner { position: relative; z-index: 1; }
.cta-banner h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  color: var(--white);
  margin-bottom: 16px;
}
.cta-banner p {
  color: rgba(255,255,255,0.9);
  font-size: 1.05rem;
  margin-bottom: 34px;
}

/* ---------- Footer ---------- */
.footer { background: var(--wine); color: rgba(255,255,255,0.85); padding: 70px 0 0; }
.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer__brand p { margin-top: 14px; font-size: 0.92rem; max-width: 320px; color: rgba(255,255,255,0.7); }
.footer__nav { display: flex; flex-direction: column; gap: 12px; }
.footer__nav a, .footer__contact a { font-size: 0.95rem; transition: color .3s var(--ease-smooth); }
.footer__nav a:hover, .footer__contact a:hover { color: var(--yellow); }
.footer__contact { display: flex; flex-direction: column; gap: 12px; }
.footer__contact a { display: flex; align-items: center; gap: 8px; }
.footer__bottom { text-align: center; padding: 22px 0; font-size: 0.85rem; color: rgba(255,255,255,0.6); }

/* ---------- Modal ---------- */
.modal {
  position: fixed; inset: 0;
  z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity .3s var(--ease-smooth), visibility .3s;
}
.modal.is-open { visibility: visible; opacity: 1; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(34,26,46,0.55); backdrop-filter: blur(3px); }
.modal__panel {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 40px;
  width: 92%;
  max-width: 440px;
  transform: scale(0.85);
  transition: transform .4s var(--ease-bounce);
  box-shadow: var(--shadow);
}
.modal.is-open .modal__panel { transform: scale(1); }
.modal__close {
  position: absolute; top: 18px; right: 18px;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: none;
  background: var(--soft-grey);
  font-size: 1.3rem;
  cursor: pointer;
  transition: transform .3s var(--ease-bounce), background .3s var(--ease-smooth);
}
.modal__close:hover { background: var(--pale-pink); transform: rotate(90deg); }
.modal__panel h3 { font-size: 1.5rem; margin: 10px 0 8px; }
.modal__panel > p { color: var(--ink-soft); font-size: 0.92rem; margin-bottom: 24px; }
.modal__panel form { display: flex; flex-direction: column; gap: 16px; }
.modal__panel label { font-size: 0.85rem; font-weight: 600; color: var(--ink); display: flex; flex-direction: column; gap: 6px; }
.modal__panel input {
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.85em 1.1em;
  border-radius: var(--radius-pill);
  border: 1.5px solid var(--soft-grey);
  background: var(--soft-grey);
  outline: none;
  transition: border-color .3s var(--ease-smooth), background .3s var(--ease-smooth);
}
.modal__panel input:focus { border-color: var(--bright-pink); background: var(--white); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 780px) {
  .nav { display: none; }
  .btn--nav { display: none; }
  .nav-toggle { display: flex; }
  .cards-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .about-cards { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .hero { padding: 90px 0 60px; }
  .section { padding: 70px 0; }
}
