:root {
  --coral-50: #FAECE7;
  --coral-100: #F5C4B3;
  --coral-200: #F0997B;
  --coral-400: #D85A30;
  --coral-600: #993C1D;
  --coral-800: #712B13;
  --coral-900: #4A1B0C;
  --teal-50: #E1F5EE;
  --teal-100: #9FE1CB;
  --teal-200: #5DCAA5;
  --teal-900: #04342C;
  --amber-200: #FAC775;
  --gray-50: #F1EFE8;
  --gray-200: #B4B2A9;
  --gray-600: #5F5E5A;
  --gray-900: #2C2C2A;
  --white: #FFFFFF;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--gray-900);
  background: var(--white);
  overflow-x: hidden;
}

a { color: inherit; }

.logo {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 400;
  text-decoration: none;
}

/* ---------- SKIP LINK ---------- */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--coral-400);
  color: var(--white);
  padding: 10px 18px;
  border-radius: 8px;
  z-index: 1000;
  text-decoration: none;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 1rem; }

/* ---------- NAV ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(8px);
}
.site-header nav {
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}
.site-header .logo { font-size: 24px; color: var(--gray-900); }
.nav-links { display: flex; gap: 28px; font-size: 14px; color: var(--gray-600); list-style: none; }
.nav-links a { text-decoration: none; transition: color 0.2s ease; cursor: pointer; }
.nav-links a:hover, .nav-links a:focus-visible { color: var(--coral-400); }

/* ---------- HERO ---------- */
.hero-wrap {
  position: relative;
  overflow: hidden;
}
.hero-blob-1 {
  position: absolute;
  top: -100px; right: -150px;
  width: 700px; height: 700px;
  z-index: 0;
  animation: float1 14s ease-in-out infinite;
}
.hero-blob-2 {
  position: absolute;
  top: 200px; left: -120px;
  width: 320px; height: 320px;
  z-index: 0;
  animation: float2 11s ease-in-out infinite;
}
@keyframes float1 {
  0%, 100% { transform: translate(0,0) rotate(0deg); }
  50% { transform: translate(-20px, 30px) rotate(6deg); }
}
@keyframes float2 {
  0%, 100% { transform: translate(0,0) rotate(0deg); }
  50% { transform: translate(15px, -20px) rotate(-5deg); }
}

.hero {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 1.5rem 5rem;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.hero h1 {
  font-size: 46px;
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}
.hero p {
  font-size: 16px;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 440px;
}

.btn-primary {
  display: inline-block;
  background: var(--coral-400);
  color: var(--coral-50);
  border: none;
  border-radius: 8px;
  padding: 13px 28px;
  font-size: 14px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 14px rgba(216,90,48,0.25);
}
.btn-primary:hover, .btn-primary:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(216,90,48,0.35);
}

.hero-illustration-wrap {
  position: relative;
  height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-illustration-wrap svg.deco {
  position: absolute;
  width: 380px; height: 380px;
}
.hero-illustration-wrap svg.main {
  position: relative;
  width: 320px; height: 290px;
  animation: gentle-float 6s ease-in-out infinite;
}
@keyframes gentle-float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}

/* ---------- SECTION REVEAL ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }
.reveal-delay-5 { transition-delay: 0.4s; }
.reveal-delay-6 { transition-delay: 0.48s; }

/* ---------- SOBRE ---------- */
.about-wrap {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1.5rem 6rem;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 3.5rem;
  align-items: center;
}
.about-illustration {
  position: relative;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-illustration svg.deco {
  position: absolute;
  width: 330px; height: 330px;
  animation: rotate-slow 30s linear infinite;
  transform-origin: center;
}
@keyframes rotate-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.about-illustration svg.main {
  position: relative;
  width: 280px; height: 280px;
}
.about-text h2 {
  font-size: 30px;
  font-weight: 600;
  margin-bottom: 18px;
}
.about-text p {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.85;
  margin-bottom: 14px;
  max-width: 460px;
}

/* ---------- SERVICOS ---------- */
.services-wrap {
  position: relative;
  background: var(--gray-50);
  padding: 5.5rem 1.5rem;
  overflow: hidden;
}
.services-blob {
  position: absolute;
  top: -80px; right: -60px;
  width: 420px; height: 420px;
  z-index: 0;
  animation: float1 16s ease-in-out infinite;
}
.services-inner {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
}
.section-head {
  text-align: center;
  margin-bottom: 3rem;
}
.section-head h2 {
  font-size: 30px;
  font-weight: 600;
  margin-bottom: 10px;
}
.section-head p {
  font-size: 15px;
  color: var(--gray-600);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  list-style: none;
}
.service-card {
  background: var(--white);
  border-radius: 14px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
  border: 1px solid transparent;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(44,44,42,0.08);
  border-color: var(--coral-50);
}
.service-icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--coral-50);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
  transition: background 0.3s ease, transform 0.3s ease;
}
.service-card:hover .service-icon {
  background: var(--coral-400);
  transform: scale(1.08) rotate(-6deg);
}
.service-icon i {
  font-size: 24px;
  color: var(--coral-600);
  transition: color 0.3s ease;
}
.service-card:hover .service-icon i {
  color: var(--coral-50);
}
.service-card h3 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
}
.service-card p {
  font-size: 13px;
  color: var(--gray-600);
  line-height: 1.65;
}

/* ---------- PROCESSO ---------- */
.process-wrap {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: 6rem 1.5rem;
  overflow: hidden;
}
.process-blob {
  position: absolute;
  bottom: -60px; left: -100px;
  width: 360px; height: 360px;
  z-index: 0;
  animation: float2 13s ease-in-out infinite;
}
.process-inner { position: relative; z-index: 1; }

.process-grid-wrap {
  position: relative;
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  list-style: none;
}
.process-line {
  position: absolute;
  top: 18px;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(to right, var(--coral-100), var(--coral-400), var(--coral-100));
  z-index: 0;
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.process-line.visible { transform: scaleX(1); }

.process-step { position: relative; z-index: 1; }
.process-num {
  display: inline-flex;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--coral-400);
  color: var(--coral-50);
  font-size: 14px;
  font-weight: 600;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  box-shadow: 0 0 0 6px var(--white);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.process-step.visible .process-num {
  transform: scale(1.1);
}
.process-step h3 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
}
.process-step p {
  font-size: 13px;
  color: var(--gray-600);
  line-height: 1.65;
}

/* ---------- FOOTER ---------- */
.footer-wrap {
  position: relative;
  background: var(--gray-900);
  overflow: hidden;
  padding: 5rem 1.5rem;
}
.footer-blob {
  position: absolute;
  bottom: -80px; right: -60px;
  width: 560px; height: 380px;
  z-index: 0;
  animation: float1 18s ease-in-out infinite;
}
.footer-inner {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 3rem;
  align-items: end;
}
.footer-tag {
  font-size: 13px;
  color: var(--coral-200);
  letter-spacing: 0.6px;
  text-transform: uppercase;
  margin-bottom: 12px;
  font-weight: 500;
}
.footer-inner h2 {
  font-size: 34px;
  font-weight: 600;
  color: var(--white);
  line-height: 1.3;
  max-width: 420px;
  margin-bottom: 24px;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-end;
  text-align: right;
  padding-bottom: 6px;
}
.footer-contact .logo {
  font-size: 22px;
  color: var(--white);
}
.footer-contact address {
  font-style: normal;
  font-size: 13px;
  color: var(--gray-200);
  line-height: 1.9;
}
.footer-contact address a {
  text-decoration: none;
  color: inherit;
}
.footer-contact address a:hover, .footer-contact address a:focus-visible {
  color: var(--coral-200);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 800px) {
  .hero, .about-wrap, .footer-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-wrap { padding-top: 0; }
  .about-illustration { order: -1; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .process-line { display: none; }
  .footer-contact { align-items: flex-start; text-align: left; }
  .hero h1 { font-size: 34px; }
  .nav-links { gap: 16px; font-size: 13px; }
}
@media (max-width: 520px) {
  .services-grid, .process-grid { grid-template-columns: 1fr; }
  .hero-illustration-wrap, .about-illustration { height: 220px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-blob-1, .hero-blob-2, .services-blob, .process-blob, .footer-blob,
  .hero-illustration-wrap svg.main, .about-illustration svg.deco {
    animation: none;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
