:root {
  --background: 210 40% 98%;
  --foreground: 215 40% 12%;
  --primary: 201 100% 54%;
  --primary-foreground: 0 0% 100%;
  --accent: 201 100% 96%;
  --muted: 210 20% 94%;
  --muted-foreground: 215 20% 45%;
  --border: 210 20% 90%;
  --destructive: 0 84.2% 60.2%;
  --green: 34 197 94;
  --chart-2: 160 60% 45%;
  --chart-3: 260 50% 55%;
  --chart-4: 35 90% 55%;
  --chart-5: 340 70% 55%;
  --container: 80rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-3xl: 2rem;
}

*, *::before, *::after { box-sizing: border-box; }

* { border-color: hsl(var(--border)); }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  letter-spacing: -0.02em;
  margin: 0;
}

p { margin: 0; }

a { color: inherit; text-decoration: none; }

img, svg { display: block; max-width: 100%; }

ul { list-style: none; margin: 0; padding: 0; }

/* Layout */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

@media (min-width: 1024px) {
  .container { padding-inline: 3rem; }
}

.section {
  position: relative;
  padding-block: 6rem;
}

@media (min-width: 1024px) {
  .section { padding-block: 8rem; }
}

.grid-2 {
  display: grid;
  gap: 4rem;
  align-items: center;
}

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

/* Typography */
.text-balance { text-wrap: balance; }

.text-muted { color: hsl(var(--muted-foreground)); }

.text-primary { color: hsl(var(--primary)); }

.text-foreground { color: hsl(var(--foreground)); }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  background: hsl(var(--primary) / 0.1);
  color: hsl(var(--primary));
}

.badge--sm {
  display: inline-block;
  padding: 0.375rem 1rem;
  font-weight: 600;
}

.section-title {
  font-size: clamp(1.875rem, 4vw, 3rem);
  font-weight: 700;
}

.section-lead {
  margin-top: 1rem;
  font-size: 1.125rem;
  line-height: 1.7;
}

.section-header {
  text-align: center;
  max-width: 42rem;
  margin-inline: auto;
  margin-bottom: 5rem;
}

.section-header .badge--sm { margin-bottom: 1.5rem; }

/* Glass */
.glass {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.glass-strong {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: var(--radius-2xl);
  font-size: 1.125rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: box-shadow 0.2s, transform 0.2s, background-color 0.2s;
}

.btn-primary {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  box-shadow: 0 10px 30px hsl(var(--primary) / 0.25);
}

.btn-primary:hover { box-shadow: 0 14px 40px hsl(var(--primary) / 0.35); }

.btn-secondary {
  color: hsl(var(--foreground));
}

.btn-secondary:hover { background: rgba(255, 255, 255, 0.8); }

.btn-full { width: 100%; }

.btn-actions {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 640px) {
  .btn-actions { flex-direction: row; }
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(to bottom right, hsl(var(--accent)), hsl(var(--background)), hsl(var(--background)));
}

.hero__blobs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(64px);
}

.hero__blob--1 {
  top: -8rem;
  right: -8rem;
  width: 600px;
  height: 600px;
  background: hsl(var(--primary) / 0.1);
}

.hero__blob--2 {
  top: 50%;
  left: -5rem;
  width: 400px;
  height: 400px;
  background: hsl(var(--primary) / 0.08);
}

.hero__blob--3 {
  bottom: -5rem;
  right: 25%;
  width: 350px;
  height: 350px;
  background: hsl(var(--chart-3) / 0.1);
}

.hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-block: 5rem;
}

@media (min-width: 1024px) {
  .hero__content { padding-block: 8rem; }
}

.hero__badge { margin-bottom: 2rem; }

.hero__title {
  font-size: clamp(2.25rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.05;
}

.hero__subtitle {
  margin-top: 1.5rem;
  font-size: clamp(1.125rem, 2vw, 1.25rem);
  max-width: 32rem;
  line-height: 1.7;
}

.hero__visual {
  display: none;
  justify-content: center;
}

@media (min-width: 1024px) {
  .hero__visual { display: flex; }
}

.hero__card-frame {
  width: 420px;
  height: 420px;
  border-radius: 2.5rem;
  padding: 3px;
  background: linear-gradient(to bottom right, hsl(var(--primary) / 0.2), hsl(var(--primary) / 0.1), hsl(var(--accent)));
}

.hero__card-inner {
  width: 100%;
  height: 100%;
  border-radius: 2.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(to bottom right, white, hsl(var(--accent) / 0.3), white);
}

.hero__card-content { text-align: center; padding: 3rem; }

.hero__avatar {
  width: 8rem;
  height: 8rem;
  margin-inline: auto;
  margin-bottom: 1.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: hsl(var(--primary) / 0.15);
}

.hero__avatar i {
  font-size: 4rem;
  color: hsl(var(--primary));
}

.hero__name { font-size: 1.5rem; font-weight: 700; }

.hero__role { margin-top: 0.5rem; color: hsl(var(--muted-foreground)); }

.hero__tags {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.hero__tag {
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
}

.hero__status {
  position: absolute;
  top: -1rem;
  right: -1rem;
  border-radius: var(--radius-2xl);
  padding: 0.75rem 1.25rem;
}

.hero__status-inner {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero__status-dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: #22c55e;
}

.hero__wave {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

.hero__wave svg {
  width: 100%;
  height: 4rem;
}

@media (min-width: 1024px) {
  .hero__wave svg { height: 6rem; }
}

.hero__wave path { fill: hsl(var(--background)); }

/* Services */
.services-grid {
  display: grid;
  gap: 1.5rem;
}

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

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

.card {
  height: 100%;
  border-radius: var(--radius-3xl);
  padding: 2rem;
  transition: transform 0.25s ease, background-color 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.9);
}

.card__icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: var(--radius-2xl);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease;
}

.card:hover .card__icon { transform: scale(1.1); }

.card__icon svg { width: 1.75rem; height: 1.75rem; color: hsl(var(--primary)); }

.card__icon--blue { background: linear-gradient(to bottom right, hsl(var(--primary) / 0.15), hsl(var(--primary) / 0.05)); }
.card__icon--green { background: linear-gradient(to bottom right, hsl(var(--chart-2) / 0.15), hsl(var(--chart-2) / 0.05)); }
.card__icon--purple { background: linear-gradient(to bottom right, hsl(var(--chart-3) / 0.15), hsl(var(--chart-3) / 0.05)); }
.card__icon--pink { background: linear-gradient(to bottom right, hsl(var(--chart-5) / 0.15), hsl(var(--chart-5) / 0.05)); }
.card__icon--mixed { background: linear-gradient(to bottom right, hsl(var(--primary) / 0.15), hsl(var(--chart-3) / 0.05)); }

.card__title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.card__text { line-height: 1.7; color: hsl(var(--muted-foreground)); }

/* About */
.about {
  background: linear-gradient(to bottom, hsl(var(--accent) / 0.4), hsl(var(--background)));
}

.about__visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.about__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(32px);
}

.about__glow--1 {
  top: -1.5rem;
  left: -1.5rem;
  width: 6rem;
  height: 6rem;
  background: hsl(var(--primary) / 0.2);
}

.about__glow--2 {
  bottom: -2rem;
  right: -2rem;
  width: 8rem;
  height: 8rem;
  background: hsl(var(--chart-3) / 0.2);
}

.about__photo {
  width: 20rem;
  height: 24rem;
  border-radius: 3rem;
  position: relative;
  overflow: hidden;
  background: linear-gradient(to bottom right, hsl(var(--primary) / 0.3), hsl(var(--primary) / 0.1), white);
  box-shadow: 0 25px 50px hsl(var(--primary) / 0.1);
}

@media (min-width: 1024px) {
  .about__photo { width: 380px; height: 440px; }
}

.about__photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, hsl(var(--primary) / 0.2), transparent);
}

.about__photo-card {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem;
}

.about__photo-card .glass {
  border-radius: var(--radius-2xl);
  padding: 1.25rem;
}

.about__features {
  margin-top: 2.5rem;
  display: grid;
  gap: 1.5rem;
}

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

.feature {
  display: flex;
  gap: 1rem;
}

.feature__icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.125rem;
  background: hsl(var(--primary) / 0.1);
}

.feature__icon svg { width: 1.25rem; height: 1.25rem; color: hsl(var(--primary)); }

.feature__title { font-weight: 600; }

.feature__text {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

/* Contact */
.contact__wave {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  transform: rotate(180deg);
}

.contact__wave svg {
  width: 100%;
  height: 4rem;
}

@media (min-width: 1024px) {
  .contact__wave svg { height: 6rem; }
}

.contact__wave path { fill: hsl(var(--accent) / 0.4); }

.contact__inner {
  position: relative;
  max-width: 56rem;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

@media (min-width: 1024px) {
  .contact__inner { padding-inline: 3rem; }
}

.form {
  border-radius: var(--radius-3xl);
  padding: 2rem;
}

@media (min-width: 1024px) {
  .form { padding: 3rem; }
}

.form__grid {
  display: grid;
  gap: 1.5rem;
}

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

.form__field--full { grid-column: 1 / -1; }

.form__label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.form__required { color: hsl(var(--destructive)); }

.input-field {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid hsl(var(--border));
  outline: none;
  font: inherit;
  color: hsl(var(--foreground));
  transition: border-color 0.2s, box-shadow 0.2s;
}

.input-field::placeholder { color: hsl(var(--muted-foreground) / 0.6); }

.input-field:focus {
  border-color: hsl(var(--primary));
  box-shadow: 0 0 0 4px hsl(var(--primary) / 0.2);
}

textarea.input-field { resize: none; }

.form__submit {
  margin-top: 1.5rem;
  box-shadow: 0 10px 30px hsl(var(--primary) / 0.2);
}

.form__note {
  margin-top: 1.5rem;
  text-align: center;
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground));
}

.form__field--hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.form__error {
  display: none;
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-lg);
  background: hsl(var(--destructive) / 0.1);
  color: hsl(var(--destructive));
  font-size: 0.875rem;
  text-align: center;
}

.success-msg {
  display: none;
  border-radius: var(--radius-3xl);
  padding: 4rem;
  text-align: center;
}

.success-msg__icon {
  width: 5rem;
  height: 5rem;
  margin-inline: auto;
  margin-bottom: 1.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #dcfce7;
}

.success-msg__icon svg { width: 2.5rem; height: 2.5rem; color: #16a34a; }

.success-msg__title { font-size: 1.5rem; font-weight: 700; }

.success-msg__text {
  margin-top: 0.75rem;
  font-size: 1.125rem;
  color: hsl(var(--muted-foreground));
}

/* Footer */
.footer {
  padding-block: 4rem;
  background: hsl(var(--foreground));
  color: white;
}

@media (min-width: 1024px) {
  .footer { padding-block: 5rem; }
}

.footer__grid {
  display: grid;
  gap: 3rem;
}

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

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

.footer__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer__logo {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  background: hsl(var(--primary));
}

.footer__logo svg { width: 1.25rem; height: 1.25rem; color: white; }

.footer__name { font-size: 1.25rem; font-weight: 700; }

.footer__desc {
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.6);
}

.footer__heading {
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer__links { font-size: 0.875rem; color: rgba(255, 255, 255, 0.6); }

.footer__links li + li { margin-top: 0.5rem; }

.footer__links a {
  transition: color 0.2s;
}

.footer__links a:hover { color: hsl(var(--primary)); }

.footer__contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.footer__contact li + li { margin-top: 0.75rem; }

.footer__contact svg {
  width: 1rem;
  height: 1rem;
  margin-top: 0.125rem;
  flex-shrink: 0;
  color: hsl(var(--primary));
}

.footer__bottom {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.4);
}

@media (min-width: 640px) {
  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* WhatsApp */
.whatsapp-btn {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 50;
  width: 4rem;
  height: 4rem;
  background: #22c55e;
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(34, 197, 94, 0.3);
  transition: box-shadow 0.3s, transform 0.2s;
  animation: fadeInScale 0.5s ease-out 1s forwards;
  opacity: 0;
}

.whatsapp-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 14px 40px rgba(34, 197, 94, 0.4);
}

.whatsapp-btn:active { transform: scale(0.95); }

.whatsapp-btn svg {
  width: 2rem;
  height: 2rem;
  fill: white;
  position: relative;
  z-index: 1;
}

.whatsapp-btn .ping-ring {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  background: #22c55e;
  animation: ping 1.8s cubic-bezier(0, 0, 0.2, 1) infinite;
  opacity: 0.2;
}

.relative { position: relative; }

.icon-sm { width: 1rem; height: 1rem; }
.icon-md { width: 1.25rem; height: 1.25rem; }
.icon-lg { width: 1.25rem; height: 1.25rem; }
.icon-xl { width: 2rem; height: 2rem; }
.icon-whatsapp { fill: #22c55e; }

.text-sm-semibold {
  font-size: 0.875rem;
  font-weight: 600;
}

.about__card-name {
  font-size: 1.25rem;
  margin-top: 0.25rem;
}

.about__card-role {
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.section-title--spaced { margin-top: 1.5rem; }

/* Animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInScale {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes pulseScale {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}

@keyframes ping {
  75%, 100% { transform: scale(2); opacity: 0; }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.animate-hero-text { animation: fadeInUp 0.8s ease-out forwards; }
.animate-hero-badge { animation: fadeInScale 0.6s ease-out 0.2s forwards; opacity: 0; }
.animate-hero-visual { animation: fadeInScale 0.8s ease-out 0.3s forwards; opacity: 0; }
.animate-float { animation: float 3s ease-in-out infinite; }
.animate-pulse-scale { animation: pulseScale 2s ease-in-out infinite; }
.animate-spin { animation: spin 1s linear infinite; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
