/* =============================================
   DECORA VINIL – DESIGN MODERNO · TEMA CLARO
   ============================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --blue: #2d8cf0;
  --blue-dark: #1a6ac4;
  --blue-light: #e8f3ff;
  --blue-soft: #f4f9ff;
  --dark: #0a1628;
  --dark-2: #152438;
  --text: #1e293b;
  --text-muted: #64748b;
  --white: #ffffff;
  --bg: #f9fbfd;
  --bg-2: #f2f5f9;
  --border: #e2e8f0;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, .03), 0 2px 4px -1px rgba(0, 0, 0, .04);
  --shadow: 0 10px 25px -5px rgba(0, 0, 0, .06), 0 8px 10px -6px rgba(0, 0, 0, .02);
  --shadow-lg: 0 25px 30px -12px rgba(0, 0, 0, .08);
  --font: 'Inter', system-ui, sans-serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
}

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

/* ── UTILITIES ── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  opacity: 1;
}

.highlight {
  color: var(--blue);
}

.highlight-light {
  color: #a0d1ff;
}

.section {
  padding: 80px 0;
}

.section__header {
  text-align: center;
  margin-bottom: 64px;
}

.section__label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-light);
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.section__label--light {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
}

.section__title {
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--dark);
  margin-bottom: 20px;
}

.section__title--light {
  color: var(--white);
}

.section__sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
}

.btn--primary {
  background: var(--blue);
  color: white;
  box-shadow: 0 6px 20px rgba(45, 140, 240, 0.35);
}

.btn--primary:hover {
  background: var(--blue-dark);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(45, 140, 240, 0.5);
}

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

.btn--outline:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.btn--white {
  background: white;
  color: var(--blue);
  font-weight: 700;
}

.btn--white:hover {
  background: var(--blue-light);
  transform: translateY(-3px);
}

.btn--sm {
  padding: 10px 22px;
  font-size: 0.9rem;
}

/* ── HEADER ── */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.03);
  transition: var(--transition);
}

.header__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo__img {
  height: 65px;
  width: auto;
}

/* Menu hamburguer */
.menu-btn {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.menu-btn span {
  width: 26px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: var(--transition);
}

.menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Navegação off‑canvas */
.nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100vh;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(30px);
  padding: 100px 30px 30px;
  transition: right 0.4s ease;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.05);
}

.nav.open {
  right: 0;
}

.nav__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.nav__link {
  display: block;
  padding: 12px 16px;
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  border-radius: 12px;
  transition: background 0.2s;
}

.nav__link:hover {
  background: var(--blue-light);
  color: var(--blue);
}

/* Desktop nav horizontal */
@media (min-width: 1024px) {
  .menu-btn {
    display: none;
  }

  .nav {
    position: static;
    width: auto;
    height: auto;
    background: transparent;
    backdrop-filter: none;
    padding: 0;
    box-shadow: none;
    transition: none;
  }

  .nav__list {
    flex-direction: row;
    align-items: center;
  }

  .nav__link {
    padding: 8px 16px;
  }
}

/* ── HERO ── */
.hero {
  position: relative;
  padding: 120px 0 80px;
  overflow: hidden;
  background-image: url('./hero.webp');
  background-size: cover;
  background-position: center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, .90);
  z-index: 1;
}

.hero__grid {
  display: flex;
  flex-direction: column;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

@media (min-width: 1024px) {
  .hero__grid {
    flex-direction: row;
    gap: 80px;
  }
}

.hero__content {
  flex: 1;
}

.badge {
  display: inline-block;
  background: var(--blue);
  color: white;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 8px 20px;
  border-radius: 50px;
  margin-bottom: 24px;
}

.hero__title {
  font-size: clamp(2.5rem, 8vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--dark);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero__text {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 500px;
  margin-bottom: 36px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero__stats {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat__num {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--blue);
  line-height: 1;
}

.stat__label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.stat__divider {
  width: 1px;
  height: 36px;
  background: var(--border);
}

/* Visual direito (mockup) */
.hero__visual {
  flex: 1;
  display: flex;
  justify-content: center;
  position: relative;
}

.hero__shape {
  position: absolute;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(45, 140, 240, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.hero__mockup {
  width: 280px;
  background: white;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  position: relative;
  z-index: 2;
}

.mockup__window {
  background: var(--bg-2);
  padding: 12px;
  border-radius: 24px 24px 0 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.mockup__dots span {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cbd5e1;
}

.mockup__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mockup__lines span {
  display: block;
  height: 8px;
  background: var(--border);
  border-radius: 4px;
  margin-bottom: 12px;
}

.mockup__lines span:nth-child(1) {
  width: 80%;
}

.mockup__lines span:nth-child(2) {
  width: 60%;
}

.mockup__lines span:nth-child(3) {
  width: 90%;
}

.mockup__lines span:nth-child(4) {
  width: 50%;
}

.mockup__icon {
  font-size: 3rem;
  margin-top: 16px;
}

/* ── SOBRE ── */
.sobre__grid {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

@media (min-width: 1024px) {
  .sobre__grid {
    flex-direction: row;
    align-items: center;
  }
}

.sobre__images {
  position: relative;
  display: flex;
  gap: 20px;
  min-height: 260px;
  flex: 1;
}

.image-card {
  flex: 1;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-weight: 600;
  color: white;
  padding: 32px 20px;
  transition: transform 0.3s;
}

.image-card:hover {
  transform: translateY(-6px);
}

.image-card--blue {
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
}

.image-card--dark {
  background: linear-gradient(135deg, var(--dark), var(--dark-2));
}

.image-card i {
  font-size: 2.2rem;
}

.experience-badge {
  position: absolute;
  bottom: -20px;
  right: 10px;
  background: white;
  border: 2px solid var(--blue-light);
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius);
  padding: 18px 24px;
  text-align: center;
}

.experience-badge strong {
  display: block;
  font-size: 2rem;
  color: var(--blue);
}

.experience-badge small {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 28px;
}

.checklist li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
}

.checklist i {
  color: var(--blue);
  font-size: 1.2rem;
}

/* ── SERVIÇOS ── */
.servicos {
  background: var(--bg);
}

.servicos__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 640px) {
  .servicos__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .servicos__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  background: white;
  border-radius: var(--radius);
  padding: 32px 28px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-light);
}

.service-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--blue-light);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  font-weight: 700;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ── PORTFÓLIO ── */
.portfolio__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 640px) {
  .portfolio__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .portfolio__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .portfolio-item.tall {
    grid-row: span 2;
  }

  .portfolio-item.wide {
    grid-column: span 2;
  }
}

.portfolio-item {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  min-height: 240px;
}

.portfolio-item__img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
}

.portfolio-item:hover .portfolio-item__img {
  transform: scale(1.05);
}

.portfolio-item__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 20px;
  background: linear-gradient(to top, rgba(10, 22, 40, 0.85) 0%, transparent 100%);
  color: white;
  transform: translateY(10px);
  transition: transform 0.3s ease;
}

.portfolio-item:hover .portfolio-item__overlay {
  transform: translateY(0);
}

.tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.15);
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 8px;
}

/* ── DIFERENCIAIS ── */
.diferenciais {
  background: var(--bg-2);
}

.diferenciais__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 640px) {
  .diferenciais__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .diferenciais__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.diferencial-item {
  background: white;
  border-radius: var(--radius);
  padding: 32px 28px;
  border: 1px solid var(--border);
  transition: var(--transition);
  text-align: center;
}

.diferencial-item:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}

.diferencial-item i {
  font-size: 2.5rem;
  color: var(--blue);
  margin-bottom: 16px;
}

/* ── CONTATO ── */
.contato {
  background: linear-gradient(135deg, var(--dark), var(--dark-2));
  color: white;
  position: relative;
  overflow: hidden;
}

.contato::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(45, 140, 240, 0.2) 0%, transparent 70%);
  top: -20%;
  left: -10%;
  border-radius: 50%;
}

.contato__grid {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 48px;
  z-index: 2;
}

@media (min-width: 1024px) {
  .contato__grid {
    flex-direction: row;
    align-items: center;
    gap: 80px;
  }
}

.contato__info {
  flex: 1;
}

.contato__details {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 28px 0;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
}

.contato__card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: var(--radius);
  padding: 36px 32px;
  color: var(--text);
  box-shadow: var(--shadow-lg);
  flex: 0 0 380px;
}

.whatsapp-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #25D366;
  color: white;
  font-weight: 700;
  padding: 14px;
  border-radius: 50px;
  text-decoration: none;
  margin: 20px 0;
  transition: var(--transition);
}

.whatsapp-btn:hover {
  background: #128C7E;
  transform: translateY(-2px);
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tags span {
  background: var(--bg);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
}

/* ── FOOTER ── */
.footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.7);
  padding-top: 64px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-bottom: 48px;
}

@media (min-width: 640px) {
  .footer__grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.footer__logo {
  height: 90px;
  filter: brightness(0) invert(1);
}

.footer__nav h4,
.footer__contact h4 {
  color: white;
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.footer__nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__nav a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.2s;
}

.footer__nav a:hover {
  color: var(--blue);
}

.footer__contact p {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.footer__whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25D366;
  color: white;
  padding: 10px 20px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  margin-top: 12px;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px 0;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ── WHATSAPP FLOAT ── */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.8rem;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  z-index: 9999;
  transition: var(--transition);
  text-decoration: none;
  animation: pulse 2.5s infinite;
}

.wa-float:hover {
  background: #128C7E;
  transform: scale(1.1);
  animation: none;
}

.wa-tooltip {
  position: absolute;
  right: 70px;
  background: var(--dark);
  color: white;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(10px);
  transition: var(--transition);
  pointer-events: none;
}

.wa-float:hover .wa-tooltip {
  opacity: 1;
  transform: translateX(0);
}

@keyframes pulse {

  0%,
  100% {
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  }

  50% {
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.7), 0 0 0 18px rgba(37, 211, 102, 0.08);
  }
}

/* ── REVEAL ANIMATIONS ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}