/* CSS Reset & Variables */
:root {
  --primary: #3A4032;
  /* Dark Olive Green */
  --primary-light: #6B705C;
  /* Soft Olive */
  --primary-dark: #2C3026;
  --secondary: #DDBEA9;
  /* Warm earthy tone */
  --accent: #CB997E;
  /* Soft terracotta accent */
  --bg-color: #F9F8F6;
  /* Off-white warm background */
  --surface: #FFFFFF;
  --surface-glass: rgba(255, 255, 255, 0.85);

  --text-main: #1C1E1A;
  --text-muted: #5A5E54;
  /* Darkened for better a11y contrast */
  --text-light: #F9F8F6;

  --font-heading: 'Playfair Display', serif;
  --font-body: 'Outfit', sans-serif;

  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --border-radius: 20px;
  --border-radius-lg: 32px;

  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-color);
}
::-webkit-scrollbar-thumb {
  background: var(--primary-light);
  border-radius: 5px;
  border: 2px solid var(--bg-color);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

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

html {
  font-size: 16px;
  overflow-x: hidden;
}

html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow: hidden;
}

.lenis.lenis-smooth iframe {
  pointer-events: none;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Subtle Editorial Noise Texture */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.08;
  /* Even more subtle */
  mix-blend-mode: multiply;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.5' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

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

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

ul {
  list-style: none;
}

.container {
  max-width: 1536px;
  margin: 0 auto;
  padding: 0 2.5%;
}

/* Accessibility - Focus States */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 4px;
}

/* Typography */
h1,
h2,
h3,
h4,
.logo-text {
  font-family: var(--font-heading);
  font-weight: 400;
  color: var(--primary);
  line-height: 1.2;
}

h2 span,
h1 span {
  font-style: italic;
  color: var(--primary-light);
}

.section-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 1.5rem;
}

.section-desc {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 2rem;
}

.center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary);
  color: var(--text-light);
  padding: 1rem 2rem;
  border-radius: 100px;
  font-size: 1rem;
  font-weight: 500;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.4s, box-shadow 0.4s, border-color 0.4s;
  border: 1px solid var(--primary);
  cursor: pointer;
  transform: translateY(0);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--text-light);
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(58, 64, 80, 0.15), 0 4px 8px rgba(58, 64, 80, 0.05);
}

.btn-primary:active {
  transform: translateY(-1px) scale(0.98);
  box-shadow: 0 6px 12px rgba(58, 64, 80, 0.1);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  color: var(--primary);
  padding: 1rem 2rem;
  border-radius: 100px;
  font-size: 1rem;
  font-weight: 500;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.4s, color 0.4s, box-shadow 0.4s, border-color 0.4s;
  border: 1px solid var(--primary);
  cursor: pointer;
  transform: translateY(0);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: var(--text-light);
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(58, 64, 80, 0.12);
}

.btn-outline:active {
  transform: translateY(-1px) scale(0.98);
  box-shadow: 0 6px 12px rgba(58, 64, 80, 0.08);
}

.hero .btn-outline {
  color: var(--surface);
  border-color: var(--surface);
}

.hero .btn-outline:hover {
  background-color: var(--surface);
  color: var(--primary-dark);
}

.link-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  font-weight: 500;
  font-size: 1.125rem;
  border-bottom: 1px solid var(--primary);
  padding-bottom: 0.25rem;
  transition: var(--transition);
}

.link-btn:hover {
  gap: 1rem;
  color: var(--primary-light);
  border-color: var(--primary-light);
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 0;
  z-index: 1000;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.4s, padding 0.4s;
}

/* Light theme navbar (for pages with dark header backgrounds, e.g., pages with dark headers or overlays) */
.navbar.nav-light-theme:not(.scrolled) .nav-links a {
  color: var(--text-light);
  opacity: 0.85;
}

.navbar.nav-light-theme:not(.scrolled) .nav-links a:hover {
  opacity: 1;
}

.navbar.nav-light-theme:not(.scrolled) .nav-links a::after {
  background-color: var(--text-light);
}

.navbar.nav-light-theme:not(.scrolled) .logo-img {
  filter: brightness(0) invert(1);
}

.navbar.nav-light-theme:not(.scrolled) .mobile-menu-btn {
  color: var(--text-light);
}

.navbar.nav-light-theme:not(.scrolled) .btn-primary.nav-btn {
  background-color: var(--surface);
  color: var(--primary);
  border-color: var(--surface);
}

.navbar.nav-light-theme:not(.scrolled) .btn-primary.nav-btn:hover {
  background-color: rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.navbar.nav-hidden {
  transform: translateY(-100%);
}

.floating-menu-btn {
  position: fixed;
  top: 1.5rem;
  right: 2.5%;
  background: var(--primary);
  color: var(--surface);
  border: none;
  border-radius: 100px;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  z-index: 1001;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-20px) scale(0.95);
  transition: var(--transition);
}

.floating-menu-btn.visible {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0) scale(1);
}

.floating-menu-btn:hover {
  background: var(--primary-dark);
  transform: scale(1.05);
}

.navbar.scrolled {
  background: var(--surface-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 1rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.navbar.menu-open {
  background-color: var(--bg-color) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.nav-container {
  max-width: 1536px;
  margin: 0 auto;
  padding: 0 2.5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-text {
  font-size: 1.75rem;
  font-weight: 500;
  letter-spacing: -0.5px;
  color: var(--primary);
}

.logo-img {
  height: 36px;
  width: auto;
  display: block;
  transition: var(--transition);
}

.navbar.scrolled .logo-text,
.navbar.scrolled .nav-links a {
  color: var(--primary);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
}

.nav-links .mobile-only-action {
  display: none;
}

.nav-links .btn-primary {
  color: var(--text-light);
}

.nav-links .btn-primary:hover {
  color: var(--text-light);
}

.nav-links a {
  color: var(--primary);
  font-size: 1rem;
  font-weight: 400;
  transition: var(--transition);
  opacity: 0.9;
  padding: 0.5rem;
  /* Minimum touch target spacing */
  display: inline-block;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--accent);
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1), left 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-links a:hover {
  opacity: 1;
}

.nav-links a:hover::after {
  width: 100%;
  left: 0;
}

.nav-links a.nav-active {
  color: var(--accent);
  opacity: 1;
}

.nav-links a.nav-active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--accent);
}

.navbar.nav-light-theme:not(.scrolled) .nav-links a.nav-active {
  color: var(--secondary);
}

.navbar.nav-light-theme:not(.scrolled) .nav-links a.nav-active::after {
  background-color: var(--secondary);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--primary);
  font-size: 1.5rem;
  cursor: pointer;
}

.navbar.scrolled .mobile-menu-btn {
  color: var(--primary);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  padding: 160px 0 60px;
}

.hero-bg {
  position: absolute;
  top: 100px;
  left: 50%;
  transform: translateX(-50%);
  width: 98%;
  max-width: 1600px;
  height: calc(100% - 100px);
  z-index: -1;
  border-radius: 40px;
  overflow: hidden;
}

/* Hero Frame Cutouts */
.hero-frame-card {
  position: absolute;
  bottom: 0;
  left: 0;
  background-color: var(--bg-color);
  padding: 1.5rem 2rem 1.5rem 1.5rem;
  border-top-right-radius: 32px;
  z-index: 5;
  width: 520px;
  max-width: 80vw;
  display: flex;
  align-items: center;
}

.hero-marquee-container {
  overflow: hidden;
  width: 100%;
  position: relative;
  /* Soft fade on the right edge so the scrolling text fades out smoothly */
  mask-image: linear-gradient(to right, black 85%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, black 85%, transparent 100%);
  border-radius: inherit;
}

.hero-marquee-track {
  display: flex;
  width: max-content;
  animation: heroCardMarquee 15s linear infinite;
}

.hero-marquee-group {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-right: 1.5rem;
  white-space: nowrap;
}

@keyframes heroCardMarquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.hero-frame-card::before {
  content: "";
  position: absolute;
  top: -32px;
  left: 0;
  width: 32px;
  height: 32px;
  background: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMiIgaGVpZ2h0PSIzMiIgdmlld0JveD0iMCAwIDMyIDMyIj48cGF0aCBkPSJNMCwwIEwwLDMyIEwzMiwzMiBBMzIgMzIgMCAwIDEgMCAwIFoiIGZpbGw9IiNGOUY4RjYiLz48L3N2Zz4=") no-repeat;
}

.hero-frame-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: -32px;
  width: 32px;
  height: 32px;
  background: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMiIgaGVpZ2h0PSIzMiIgdmlld0JveD0iMCAwIDMyIDMyIj48cGF0aCBkPSJNMCwwIEwwLDMyIEwzMiwzMiBBMzIgMzIgMCAwIDEgMCAwIFoiIGZpbGw9IiNGOUY4RjYiLz48L3N2Zz4=") no-repeat;
}

.brand-text {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--primary);
}

.frame-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--primary);
}

.frame-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(221, 190, 169, 0.3);
  /* Based on --secondary */
}

.frame-item:last-child .frame-icon-wrapper {
  background: rgba(203, 153, 126, 0.2);
  /* Based on --accent */
}

.frame-icon-wrapper i {
  font-size: 1.25rem;
  color: var(--accent);
}


.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  animation: zoomBg 20s infinite alternate linear;
}

@keyframes zoomBg {
  from {
    transform: scale(1.05);
  }

  to {
    transform: scale(1.15);
  }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.2) 100%);
  z-index: 1;
}

.hero-content {
  max-width: 800px;
  z-index: 2;
  position: relative;
  color: var(--text-light);
  padding-left: 4%;
  padding-bottom: 3%;
}

.hero-content > * {
  opacity: 0;
  transform: translateY(20px);
}

.hero-content.loaded > * {
  animation: heroFadeUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-content .badge {
  animation-delay: 0.2s;
}

.hero-content .hero-title {
  animation-delay: 0.45s;
}

.hero-content .hero-subtitle {
  animation-delay: 0.7s;
}

.hero-content .hero-actions {
  animation-delay: 0.95s;
}

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

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

.badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(4px);
}

.badge.badge-dark {
  border-color: rgba(0, 0, 0, 0.15);
  color: var(--primary);
  background-color: rgba(0, 0, 0, 0.03);
  font-weight: 500;
}

.hero-title {
  font-size: clamp(3rem, 4.2vw, 4rem);
  color: var(--text-light);
  margin-bottom: 1.25rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.hero-title span {
  color: var(--secondary);
  white-space: nowrap;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 1.2vw, 1.125rem);
  max-width: 560px;
  margin-bottom: 2.25rem;
  opacity: 0.9;
  font-weight: 300;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Sections General */
.section {
  padding: 120px 0;
}

/* Professional Profile Section */
.professional-profile {
  background-color: var(--bg-color);
  padding: 100px 0;
  position: relative;
}

.profile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.profile-content {
  display: flex;
  flex-direction: column;
}

.profile-content p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

.profile-image-wrapper {
  position: relative;
  max-width: 480px;
  margin: 0 auto;
}

.profile-img-frame {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 48px -12px rgba(58, 64, 50, 0.2); /* Deep tinted premium shadow */
  position: relative;
  aspect-ratio: 4/5;
  background-color: var(--surface);
}

.profile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.profile-img-frame:hover .profile-img {
  transform: scale(1.05);
}

.profile-img-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--border-radius-lg);
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.03);
}

.profile-lead {
  font-size: 1.25rem;
  color: var(--primary);
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 1.5rem;
  border-left: 3px solid var(--accent);
  padding-left: 1.25rem;
}

.profile-quote {
  border-left: 3px solid var(--accent);
  padding: 0.5rem 0 0.5rem 1.5rem;
  margin: 2rem 0;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
}

.profile-quote p {
  font-family: var(--font-body);
  font-weight: 300;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--text-muted) !important;
  line-height: 1.65;
}

.profile-quote-mari {
  border-left-color: var(--primary-light);
}

.profile-signature {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 2.5rem;
  color: var(--primary-light);
  margin-top: 1.5rem;
  opacity: 0.9;
}



.profile-floating-card-mari {
  left: auto !important;
  right: -30px !important;
}

/* Profile Tab Switcher */
.profile-switcher {
  display: flex;
  width: fit-content;
  position: relative;
  background: rgba(58, 64, 50, 0.05); /* very light primary */
  padding: 6px;
  border-radius: 100px;
  margin: 0 auto 5rem;
  z-index: 1;
}

.switcher-btn {
  background: transparent;
  border: none;
  padding: 0.85rem 2rem;
  border-radius: 100px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  z-index: 2;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.switcher-btn i {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.switcher-btn:hover {
  color: var(--primary-dark);
  transform: none;
  box-shadow: none;
}

.switcher-btn.active {
  background: transparent;
  color: var(--text-light);
}

.switcher-btn.active i {
  color: var(--secondary);
}

.switcher-bg-pill {
  position: absolute;
  top: 6px;
  left: 6px;
  height: calc(100% - 12px);
  background: var(--primary);
  border-radius: 100px;
  z-index: 1;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 15px rgba(58, 64, 50, 0.2);
}

.profile-tab-content {
  display: none;
}

.profile-tab-content.active {
  display: block;
  animation: fadeInTab 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeInTab {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.profile-img-frame {
  z-index: 1; /* Elevate above decoration */
}

.profile-floating-card {
  position: absolute;
  bottom: -20px;
  left: -30px;
  width: max-content;
  max-width: calc(100% - 20px);
  background: var(--surface-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 1rem 1.5rem;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 1rem;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.5);
  animation: floatCard 6s ease-in-out infinite;
}

.profile-floating-card .icon-box {
  background: var(--accent);
  color: var(--surface);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.profile-floating-card .floating-text {
  display: flex;
  flex-direction: column;
}

.profile-floating-card .floating-text strong {
  color: var(--primary);
  font-size: 0.95rem;
  line-height: 1.2;
}

.profile-floating-card .floating-text span {
  color: var(--text-muted);
  font-size: 0.85rem;
}

@keyframes floatCard {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

@keyframes floatCardMobile {
  0% { transform: translateX(-50%) translateY(0px); }
  50% { transform: translateX(-50%) translateY(-10px); }
  100% { transform: translateX(-50%) translateY(0px); }
}

.profile-conquest-card {
  position: absolute;
  top: 40px;
  right: -20px;
  background: var(--surface-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0.85rem 1.25rem;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.5);
  animation: floatCardReverse 7s ease-in-out infinite;
}

.profile-conquest-card.profile-conquest-card-mari {
  right: auto;
  left: -25px;
  top: 40px;
}

.profile-conquest-card .conquest-badge-icon {
  background: rgba(203, 153, 126, 0.15); /* light terracotta */
  color: var(--accent);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
}

.profile-conquest-card.profile-conquest-card-mari .conquest-badge-icon {
  background: rgba(107, 112, 92, 0.15); /* light sage */
  color: var(--primary-light);
}

.profile-conquest-card .conquest-text {
  display: flex;
  flex-direction: column;
}

.profile-conquest-card .conquest-text strong {
  color: var(--primary);
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.1;
}

.profile-conquest-card .conquest-text span {
  color: var(--text-muted);
  font-size: 0.8rem;
}

@keyframes floatCardReverse {
  0% { transform: translateY(0px); }
  50% { transform: translateY(8px); }
  100% { transform: translateY(0px); }
}

@media (max-width: 900px) {
  .profile-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .profile-grid .profile-image-wrapper {
    grid-row: 1; /* Move image to top on mobile */
  }
  
  /* Center floating cards on mobile to prevent stretching and horizontal overflow */
  .profile-floating-card {
    left: 50% !important;
    right: auto !important;
    bottom: -15px !important;
    width: max-content !important;
    animation: floatCardMobile 6s ease-in-out infinite !important;
  }
}

/* About Section */
.about {
  padding: 100px 0;
  background-color: var(--bg-color);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.about-image-wrapper {
  position: relative;
  max-width: 480px;
  margin: 0 auto;
}

.about-img {
  border-radius: var(--border-radius-lg);
  aspect-ratio: 4/5;
  object-fit: cover;
  box-shadow: var(--shadow-md);
}

.experience-badge {
  position: absolute;
  bottom: -40px;
  right: -40px;
  background: var(--surface-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  padding: 0;
  border-radius: 50%;
  width: 180px;
  height: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s ease;
  z-index: 5;
}

.experience-badge:hover {
  transform: scale(1.05) rotate(5deg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.circular-badge {
  display: flex;
  align-items: center;
  justify-content: center;
}

.badge-center-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: auto;
  z-index: 2;
}

.badge-spinning-text {
  width: 100%;
  height: 100%;
  animation: spinText 20s linear infinite;
  transform-origin: center center;
}

.badge-spinning-text text {
  font-size: 7.5px;
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: 3.5px;
  fill: var(--primary);
  text-transform: uppercase;
}

@keyframes spinText {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.about-features {
  margin: 2.5rem 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.about-features li {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.05rem;
  color: var(--primary);
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(107, 112, 92, 0.08);
  padding: 1rem 1.25rem;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-features li:hover {
  background: rgba(255, 255, 255, 0.85);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(203, 153, 126, 0.25); /* Terracota border hover */
}

.about-features i {
  font-size: 1.25rem;
  color: var(--accent);
  background: rgba(203, 153, 126, 0.1);
  padding: 0.65rem;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Specialties Bento Grid */
.specialties {
  position: relative;
  background-color: var(--surface);
}

/* Soft modern gradient transition between sections */
.specialties::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 180px;
  background: linear-gradient(
    to bottom,
    rgba(249, 248, 246, 1) 0%,
    rgba(249, 248, 246, 0.95) 20%,
    rgba(249, 248, 246, 0.7) 50%,
    rgba(249, 248, 246, 0.3) 80%,
    rgba(249, 248, 246, 0) 100%
  );
  pointer-events: none;
  z-index: 1;
}

.specialties .section-title {
  color: var(--text-main);
}

.specialties .section-title span {
  color: var(--primary);
}

.specialties .section-desc {
  color: var(--text-muted);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 4rem;
}

/* Bento Box Layout for Services */
.services-grid>*:nth-child(1) {
  grid-column: span 2;
}

.services-grid>*:nth-child(2) {
  grid-column: span 1;
}

.services-grid>*:nth-child(3) {
  grid-column: span 1;
}

.services-grid>*:nth-child(4) {
  grid-column: span 2;
}

@media (max-width: 900px) {
  .services-grid>* {
    grid-column: span 1 !important;
  }
}

.service-card {
  background: var(--card-bg, rgba(255, 255, 255, 0.25)) !important;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 24px;
  padding: 2.5rem 2.25rem 4.5rem 2.25rem;
  position: relative;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  box-shadow: var(--shadow-sm), inset 0 1px 1px rgba(255, 255, 255, 0.6);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
}

.service-card:hover {
  transform: translateY(-8px) scale(1.01);
  border-color: rgba(203, 153, 126, 0.4); /* Soft accent highlight */
  box-shadow: var(--shadow-md), inset 0 1px 1px rgba(255, 255, 255, 0.8);
}

/* Backlight glow effect on bento card */
.service-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(203, 153, 126, 0.04) 0%, rgba(255, 255, 255, 0) 70%);
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
  z-index: 1;
}

.service-card:hover::after {
  opacity: 1;
}

.service-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 2;
}

.service-tag {
  font-size: 0.725rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary);
  background: rgba(255, 255, 255, 0.6);
  padding: 0.4rem 0.85rem;
  border-radius: 100px;
  font-weight: 500;
  border: 1px solid rgba(107, 112, 92, 0.15);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.service-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background-color: var(--icon-bg, #000);
  color: var(--icon-color, currentColor);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.85rem;
  margin-bottom: 0;
  box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.4), 0 12px 24px rgba(0, 0, 0, 0.06);
  position: relative;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s;
}

.service-card:hover .service-icon {
  transform: scale(1.1) translateY(-4px) rotate(-3deg);
  box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.4), 0 18px 36px rgba(0, 0, 0, 0.1);
}

.service-card-content {
  flex-grow: 1;
  width: 100%;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 2;
}

.service-card h3 {
  font-size: 1.35rem;
  color: var(--primary);
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.service-card p {
  color: var(--text-muted);
  font-size: 1.025rem;
  line-height: 1.6;
  margin-bottom: 0;
  font-weight: 300;
}

/* Pill link with cutout effect */
.service-link {
  position: absolute;
  bottom: -1px;
  right: -1px;
  background-color: var(--surface);
  padding: 1.15rem 1.65rem;
  border-top-left-radius: 24px;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
  z-index: 2;
  text-decoration: none;
}

.service-link i {
  transition: transform 0.3s ease;
}

.service-link:hover {
  color: var(--accent);
}

.service-link:hover i {
  transform: translateX(4px);
}

/* Experience Section */
.experience {
  background-color: var(--surface);
  color: var(--text-main);
  padding: 100px 0;
}

.experience-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.experience .section-title {
  color: var(--text-main);
}

.experience .section-title span {
  color: var(--primary);
}

.experience p {
  font-size: 1.125rem;
  opacity: 0.8;
  margin-bottom: 2rem;
}

.experience-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
}

.stat-item {
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(107, 112, 92, 0.08);
  padding: 2.25rem 1.75rem;
  border-radius: 24px;
  box-shadow: var(--shadow-sm), inset 0 1px 1px rgba(255, 255, 255, 0.8);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.stat-item:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: var(--shadow-md), 0 12px 30px rgba(58, 64, 50, 0.05);
  border-color: rgba(203, 153, 126, 0.25);
  background: #ffffff;
}

.stat-item:nth-child(2) {
  grid-row: span 2;
  justify-content: center;
}

@media (max-width: 900px) {
  .stat-item:nth-child(2) {
    grid-row: auto;
  }
}

.stat-number {
  font-size: 3rem;
  color: var(--secondary);
  font-family: var(--font-heading);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0;
}

.mt-4 {
  margin-top: 1rem;
}

/* Gallery Section - Cinematic Slider */
.gallery {
  background-color: var(--surface);
  overflow: hidden;
}

.cinematic-slider-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 1rem 0;
  margin-top: 3rem;
}

.cinematic-slider-track {
  display: flex;
  align-items: center;
  will-change: transform;
}

.cinematic-slider-track.transitioning {
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.cinematic-slide {
  flex: 0 0 30%;
  margin: 0 1.5rem;
  height: 480px;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  position: relative;
  opacity: 0.3;
  filter: blur(4px);
  scale: 0.92;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
              opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
              filter 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              scale 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  box-shadow: var(--shadow-md);
}

@media (max-width: 900px) {
  .cinematic-slide {
    flex: 0 0 82%;
    margin: 0 0.75rem;
    height: 340px;
  }
}

.cinematic-slide.active {
  opacity: 1;
  filter: blur(0);
  scale: 1.03;
  cursor: zoom-in;
}

.cinematic-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.cinematic-slide.active:hover img {
  transform: scale(1.04);
}

/* Modern luxury overlay for active slide */
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(58, 64, 50, 0.85) 0%, rgba(58, 64, 50, 0.2) 60%, rgba(58, 64, 50, 0) 100%);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 2.5rem;
  opacity: 0;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 2;
  pointer-events: none;
}

.cinematic-slide.active .gallery-overlay {
  opacity: 1;
}

.gallery-text {
  color: var(--text-light);
  transform: translateY(15px);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.cinematic-slide.active .gallery-text {
  transform: translateY(0);
}

.gallery-text span {
  font-size: 0.8rem;
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 2px;
  opacity: 0.8;
  display: block;
  margin-bottom: 0.25rem;
}

.gallery-text h3 {
  color: var(--text-light);
  font-size: 1.35rem;
  font-family: var(--font-heading);
  font-style: italic;
  margin: 0;
}

.gallery-overlay i {
  color: var(--text-light);
  font-size: 1.5rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(15px);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s;
  opacity: 0.9;
}

.cinematic-slide.active .gallery-overlay i {
  transform: translateY(0);
}

/* Slider Controls */
.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-top: 3.5rem;
}

.slider-nav-btn {
  background: var(--surface);
  border: 1px solid rgba(0, 0, 0, 0.05);
  color: var(--primary);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.slider-nav-btn:hover {
  background: var(--primary);
  color: var(--text-light);
  transform: scale(1.05);
}

.slider-counter {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1.1rem;
  color: var(--primary-light);
  letter-spacing: 2px;
}

/* Location Section */
.location {
  background-color: var(--primary);
  color: var(--text-light);
}

.location .section-title {
  color: var(--text-light);
}

.location .section-title span {
  color: var(--secondary);
}

.location .section-desc {
  color: rgba(255, 255, 255, 0.8);
}

.location .btn-primary {
  background-color: var(--surface);
  color: var(--primary-dark);
  border-color: var(--surface);
  font-weight: 600;
}

.location .btn-primary:hover {
  background-color: var(--primary-light);
  color: var(--surface);
  border-color: var(--primary-light);
}

.location-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: stretch;
}

.location-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin: 2rem 0;
}

.contact-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateX(5px);
}

.contact-card-icon {
  background: rgba(255, 255, 255, 0.1);
  color: var(--secondary);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.contact-card-info {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.contact-card-info h4 {
  color: var(--text-light);
  font-size: 1.1rem;
  font-family: var(--font-body);
  font-weight: 500;
  margin-bottom: 0.35rem;
}

.contact-card-info p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  line-height: 1.4;
  margin: 0;
}

.contact-card-action {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--secondary);
  font-size: 0.85rem;
  font-weight: 500;
  margin-top: 0.5rem;
  transition: var(--transition);
}

.contact-card-action:hover {
  color: white;
  text-decoration: underline;
}

.contact-card-action-btn {
  background: transparent;
  border: none;
  color: var(--secondary);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  margin-top: 0.5rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0;
  transition: var(--transition);
  width: max-content;
}

.contact-card-action-btn:hover {
  color: white;
}

.contact-status {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  color: #25D366;
  margin-top: 0.5rem;
}

.contact-status i {
  font-size: 0.4rem;
}

.location-map {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  min-height: 400px;
  border: 6px solid rgba(255, 255, 255, 0.05);
  box-shadow: var(--shadow-md), 0 20px 40px rgba(0, 0, 0, 0.15);
  transition: border-color 0.4s;
}

.location-map:hover {
  border-color: rgba(255, 255, 255, 0.15);
}

/* Comparison Slider */
.results {
  background-color: var(--primary);
  color: var(--text-light);
}

.results .section-title {
  color: var(--text-light);
}

.results .section-title span {
  color: var(--secondary);
}

.results .section-desc {
  color: rgba(255, 255, 255, 0.8);
}

.results .btn-primary {
  background-color: var(--surface);
  color: var(--primary-dark);
  border-color: var(--surface);
  font-weight: 600;
}

.results .btn-primary:hover {
  background-color: var(--primary-light);
  color: var(--surface);
  border-color: var(--primary-light);
}

.results .badge-dark {
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--surface);
  background-color: rgba(255, 255, 255, 0.1);
}

.comparison-container {
  max-width: 900px;
  margin: 0 auto;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: relative;
}

.comparison-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.comparison-slider img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.comparison-container.fade-out .comparison-slider img {
  opacity: 0;
}

.img-after {
  z-index: 1;
}

.img-before {
  z-index: 2;
  clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
}

.slider {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  z-index: 4;
}

.slider-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--primary);
  border: 1px solid rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  z-index: 3;
  pointer-events: none;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s, box-shadow 0.3s;
}

.slider:hover ~ .slider-button {
  background-color: #ffffff;
  transform: translate(-50%, -50%) scale(1.08);
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.22);
}

.slider:active ~ .slider-button {
  transform: translate(-50%, -50%) scale(0.95);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
}

.slider-button::before {
  content: '';
  position: absolute;
  top: -1000px;
  bottom: -1000px;
  left: 50%;
  width: 2px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.8) 20%, rgba(255, 255, 255, 0.8) 80%, rgba(255, 255, 255, 0) 100%);
  transform: translateX(-50%);
  z-index: -1;
  pointer-events: none;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.15);
}

.comparison-slider::before,
.comparison-slider::after {
  position: absolute;
  bottom: 2rem;
  padding: 0.5rem 1.5rem;
  border-radius: 100px;
  background: #ffffff;
  color: var(--primary-dark);
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  z-index: 5;
  pointer-events: none;
}

.comparison-slider::before {
  content: "Antes";
  left: 2rem;
}

.comparison-slider::after {
  content: "Depois";
  right: 2rem;
}

/* Slide Controls */
.comparison-controls {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.slide-btn {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
}

.slide-btn:hover {
  background-color: rgba(255, 255, 255, 0.7);
}

.slide-btn.active {
  background-color: var(--surface);
  transform: scale(1.3);
}



/* Floating WhatsApp */
.floating-whatsapp {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: var(--shadow-md);
  z-index: 999;
  transition: transform 0.3s ease;
}

.floating-whatsapp:hover {
  transform: scale(1.1);
  color: white;
}

/* Footer */
.footer {
  background-color: var(--primary-dark);
  color: var(--text-light);
  padding: 80px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-desc {
  color: rgba(255, 255, 255, 0.6);
  margin: 1.5rem 0;
  max-width: 300px;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--surface);
  color: var(--primary);
}

.footer h4 {
  color: var(--surface);
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  font-family: var(--font-body);
  font-weight: 500;
}

.footer ul {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer ul a {
  color: rgba(255, 255, 255, 0.6);
  transition: var(--transition);
}

.footer ul a:hover {
  color: var(--surface);
}

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-contact i {
  color: var(--secondary);
  font-size: 1.25rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
}

/* Newsletter Banner */
.newsletter-banner {
  background-color: var(--surface);
  padding: 80px 0;
}

.newsletter-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
  background-color: var(--primary);
  padding: 4rem 5rem;
  border-radius: var(--border-radius-lg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.newsletter-content {
  flex: 1;
}

.newsletter-form {
  display: flex;
  gap: 1rem;
  flex: 1;
  max-width: 500px;
}

.newsletter-form input {
  flex: 1;
  padding: 1rem 1.5rem;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-light);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition);
  outline: none;
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.newsletter-form input:focus {
  border-color: var(--surface);
  background: rgba(255, 255, 255, 0.15);
}

@media (max-width: 900px) {
  .newsletter-wrapper {
    flex-direction: column;
    text-align: center;
    padding: 3rem 2rem;
    gap: 2.5rem;
  }

  .newsletter-form {
    width: 100%;
    flex-direction: column;
  }

  .newsletter-form button {
    width: 100%;
  }
}

/* Floating WhatsApp */
.floating-whatsapp {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #25D366;
  color: #FFF;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 4px 10px rgba(37, 211, 102, 0.4);
  z-index: 100;
  animation: pulse-whatsapp 2s infinite;
  transition: transform 0.3s ease;
}

.floating-whatsapp:hover {
  transform: scale(1.1);
}

@keyframes pulse-whatsapp {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }

  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }

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

/* Responsive */
@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .experience-wrapper {
    grid-template-columns: 1fr;
  }

  .location-wrapper {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-frame-card {
    padding: 1rem 1.5rem 1rem 1rem;
    gap: 1rem;
  }

}

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

  .contact-cards-grid .contact-card:nth-child(3) {
    grid-column: span 2;
  }
}

@media (max-width: 900px) {
  .section,
  .about,
  .professional-profile,
  .testimonials,
  .results {
    padding: 60px 0 !important;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--bg-color);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    text-align: center;
    z-index: 100;
  }

  .nav-links.active {
    display: flex;
    animation: slideDownMenu 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }

  .nav-links .mobile-only-action {
    display: block;
    margin-top: 1rem;
    width: 100%;
  }

  .nav-links .mobile-only-action .btn-primary {
    width: 100%;
    justify-content: center;
  }

  @keyframes slideDownMenu {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .nav-btn {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .hero {
    padding: 120px 0 0;
  }

  .hero-bg {
    top: 80px;
    left: 0;
    width: 100%;
    transform: none;
    border-radius: 0;
    height: calc(100% - 80px);
  }

  .hero-frame-card {
    display: flex;
    position: absolute;
    bottom: 1.5rem;
    left: 5%;
    right: 5%;
    width: 90%;
    max-width: 100%;
    padding: 1rem;
    background-color: var(--surface-glass);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    z-index: 5;
  }
  .hero-frame-card::before,
  .hero-frame-card::after {
    display: none;
  }

  .hero-title {
    font-size: clamp(2rem, 8vw, 2.5rem);
  }
  
  .hero-content {
    padding-bottom: 140px; /* Prevent overlap with bottom floating card */
  }

  .services-grid {
    grid-template-columns: 1fr;
  }



  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .experience-badge {
    right: -15px;
    bottom: -15px;
    width: 110px;
    height: 110px;
    padding: 0;
  }

  .experience-badge .badge-center-logo {
    width: 32px;
  }

  .comparison-slider {
    aspect-ratio: 4/3;
    height: auto;
    min-height: auto;
  }
}

/* Accessibility - Reduced Motion */
@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;
  }
}

/* Modern Animations Inspired by Calmlyss */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-up.in-view {
  opacity: 1;
  transform: translateY(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-scale.in-view {
  opacity: 1;
  transform: scale(1);
}

.stagger-group>* {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.stagger-group>*.in-view {
  opacity: 1;
  transform: translateY(0);
}

.stagger-group>*:nth-child(1) {
  transition-delay: 0.05s;
}

.stagger-group>*:nth-child(2) {
  transition-delay: 0.15s;
}

.stagger-group>*:nth-child(3) {
  transition-delay: 0.25s;
}

.stagger-group>*:nth-child(4) {
  transition-delay: 0.35s;
}

.stagger-group>*:nth-child(5) {
  transition-delay: 0.45s;
}

.stagger-group>*:nth-child(6) {
  transition-delay: 0.55s;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.lightbox.active {
  opacity: 1;
  pointer-events: all;
}

.lightbox-img {
  max-width: 80%;
  max-height: 80vh;
  border-radius: 12px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6);
  transform: scale(0.95);
  opacity: 0;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  object-fit: contain;
}

.lightbox.active .lightbox-img {
  transform: scale(1);
  opacity: 1;
}

.lightbox-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  transition: transform 0.3s ease, background-color 0.3s;
  z-index: 10000;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}

.lightbox-close:hover {
  transform: scale(1.1) rotate(90deg);
  background: rgba(255, 255, 255, 0.2);
}

/* Lightbox Navigation Buttons */
.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: white;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10000;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.lightbox-nav-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  color: white;
  transform: translateY(-50%) scale(1.08);
}

.lightbox-nav-btn.prev {
  left: 2rem;
}

.lightbox-nav-btn.next {
  right: 2rem;
}

@media (max-width: 768px) {
  .lightbox-img {
    max-width: 95%;
    max-height: 70vh;
  }
  .lightbox-nav-btn {
    width: 44px;
    height: 44px;
    font-size: 1.25rem;
  }
  .lightbox-nav-btn.prev {
    left: 1rem;
  }
  .lightbox-nav-btn.next {
    right: 1rem;
  }
}

.gallery-item {
  cursor: zoom-in;
}

/* Testimonials Section */
.testimonials {
  background-color: var(--bg-color);
  padding: 100px 0;
  position: relative;
}

.testimonials-grid {
  display: flex;
  gap: 80px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 2rem 40px 4rem 40px;
  margin: 1rem -40px 0 -40px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
}

.testimonials-grid::-webkit-scrollbar {
  display: none; /* Chrome/Safari/Edge */
}

.testimonial-split-card {
  flex: 0 0 100%;
  scroll-snap-align: center;
  background: var(--surface);
  border-radius: 28px;
  padding: 1.5rem;
  box-shadow: 0 10px 24px -5px rgba(58, 64, 50, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.03);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  position: relative;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s;
}

@media (max-width: 768px) {
  .testimonial-split-card {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.25rem;
  }
}

.testimonial-split-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 30px -8px rgba(58, 64, 50, 0.10);
}

.testimonial-content-side {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 0;
}

.testimonial-content-side i.ph-quotes {
  font-size: 2.5rem;
  color: var(--secondary);
  opacity: 0.6;
}

.testimonial-text {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--text-main);
  line-height: 1.6;
  word-wrap: break-word;
}

.testimonial-author {
  margin-top: 0.5rem;
  display: flex;
  flex-direction: column;
}

.testimonial-author strong {
  color: var(--primary);
  font-weight: 600;
  font-size: 1.05rem;
}

.testimonial-author span {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.testimonial-image-side {
  height: 400px;
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: var(--bg-color);
  min-width: 0;
}

@media (max-width: 768px) {
  .testimonial-image-side {
    height: 300px;
  }
}

.testimonial-image-side .card-inner {
  height: 100%;
  width: 100%;
  position: relative;
}

.testimonial-image-side .card-inner::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: linear-gradient(
    to top,
    var(--bg-color) 0%,
    rgba(249, 248, 246, 0.95) 15%,
    rgba(249, 248, 246, 0.6) 45%,
    rgba(249, 248, 246, 0.15) 75%,
    rgba(249, 248, 246, 0) 100%
  );
  pointer-events: none;
  z-index: 2;
  transition: opacity 0.4s ease;
}

.testimonial-split-card:hover .testimonial-image-side .card-inner::after {
  opacity: 0.8;
}

@media (max-width: 768px) {
  .testimonial-image-side .zoom-hint {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    background: rgba(58, 64, 50, 0.85);
    backdrop-filter: blur(4px);
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
    bottom: 1rem;
  }
  
  .testimonial-image-side .card-inner::after {
    opacity: 0.8;
  }
}

.testimonial-image-side img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
}

.testimonial-split-card:hover .testimonial-image-side img {
  transform: scale(1.03);
}

.testimonial-image-side .zoom-hint {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--primary);
  color: var(--text-light);
  padding: 0.75rem 1.5rem;
  border-radius: 100px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  font-weight: 500;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  z-index: 10;
  pointer-events: none;
  white-space: nowrap;
}

.testimonial-split-card:hover .zoom-hint {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Toast Notification System */
.toast-container {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: rgba(44, 48, 38, 0.95); /* Deep olive */
  color: var(--text-light);
  padding: 0.85rem 1.75rem;
  border-radius: 100px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  z-index: 10000;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  pointer-events: none;
  opacity: 0;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
  border: 1px solid rgba(255, 255, 255, 0.15);
  max-width: 90vw;
  text-align: center;
}

.toast-container.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.toast-icon {
  color: var(--secondary);
  font-size: 1.2rem;
}

@media (max-width: 600px) {
  .switcher-btn {
    padding: 0.6rem 1rem;
    font-size: 0.95rem;
  }
  
  .hero-actions {
    flex-direction: column;
  }
  
  .hero-actions .btn-primary, 
  .hero-actions .btn-outline {
    width: max-content;
    min-width: 180px;
    max-width: 100%;
    justify-content: center;
  }
  
  .section-desc {
    font-size: 1rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    padding: 2rem 1.5rem 4rem 1.5rem;
  }
}

/* Marquee Animated Ribbon */
.marquee-section {
  background-color: rgba(255, 255, 255, 0.5); /* Glass effect base */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, 0.8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  color: var(--primary-light);
  padding: 0.6rem 0;
  overflow: hidden;
  position: relative;
  display: flex;
  transform: rotate(-1.5deg) scale(1.02);
  z-index: 10;
  margin: 1rem 0;
}

.marquee-track {
  display: flex;
  white-space: nowrap;
  animation: marqueeLoop 40s linear infinite;
  width: max-content;
}

.marquee-track:hover {
  animation-play-state: paused;
}

.marquee-content {
  display: flex;
  align-items: center;
  gap: 3rem;
  padding-right: 3rem;
}

.marquee-content span {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 2px;
  display: flex;
  align-items: center;
  gap: 3rem;
  opacity: 0.65;
}

.marquee-content i {
  color: var(--primary-light);
  font-size: 0.6rem;
  opacity: 0.5;
}

@keyframes marqueeLoop {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (max-width: 600px) {
  .hero-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-left: 0 !important;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }
  
  .hero-actions .btn-primary, 
  .hero-actions .btn-outline {
    width: max-content;
    min-width: 180px;
    max-width: 100%;
    justify-content: center;
    margin: 0 auto;
  }
  
  .section-desc {
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  /* 1. Header & Legibilidade (UX) */
  .hero {
    padding: 140px 0 160px; /* Espaço adequado para evitar colisões com navbar/card flutuante */
    min-height: 85vh;
    display: flex;
    align-items: center;
  }

  .hero-overlay {
    /* Gradiente escuro otimizado para garantir contraste perfeito com o texto branco */
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.6) 60%, rgba(0, 0, 0, 0.8) 100%);
  }

  .hero-title {
    font-size: clamp(2.6rem, 9.5vw, 3.2rem); /* Aumentada para maior destaque tipográfico no mobile */
    line-height: 1.15;
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
  }

  .hero-title span {
    white-space: normal; /* Evita quebra de layout em telas estreitas */
  }

  .hero-subtitle {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    opacity: 0.85;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-outline {
    min-height: 40px; /* Tamanho de toque reduzido para um visual mais delicado e compacto */
    padding: 0.55rem 1.15rem;
    font-size: 0.85rem;
  }

  .hero-frame-card {
    padding: 1rem;
    max-width: 90vw; /* Usa melhor o espaço horizontal no card inferior */
  }

  /* 2. Espaçamento Geral (Sections) */
  .section {
    padding: 70px 0; /* Respiro vertical menor para evitar rolagem excessiva no mobile */
  }

  .section-title {
    font-size: 2rem;
    line-height: 1.25;
  }

  /* 3. Touch Targets (Regras de UX da Apple/Google) */
  .btn-primary, .btn-outline {
    min-height: 48px; /* Área de toque mínima de 48px recomendada por guidelines de UX */
    padding: 0.875rem 1.5rem; 
    font-size: 1rem;
    border-radius: 100px;
  }

  /* 4. Navbar */
  .navbar {
    padding: 1rem 0; /* Navbar mais compacta no mobile */
  }
  
  .navbar .logo-img {
    height: 32px;
  }

  /* 5. Melhor enquadramento para o antes e depois */
  .comparison-slider {
    aspect-ratio: 4/3;
  }

  /* 6. Mobile Typographic Hierarchy (UX/UI refinement) */
  .service-card h3 {
    font-size: 1.25rem;
  }

  .service-card p {
    font-size: 1rem;
    line-height: 1.5;
  }

  .testimonial-text {
    font-size: 1.05rem;
    line-height: 1.5;
  }

  .testimonial-author strong {
    font-size: 1rem;
  }

  .contact-card-info h4 {
    font-size: 1.15rem;
  }

  .contact-card-info p {
    font-size: 1rem;
    line-height: 1.5;
  }

  .footer h4 {
    font-size: 1.15rem;
    margin-bottom: 1rem;
  }

  .footer-desc, 
  .footer ul a, 
  .footer-contact li,
  .footer-bottom p {
    font-size: 0.95rem;
  }

  .badge {
    font-size: 0.75rem;
    padding: 0.35rem 0.75rem;
    margin-bottom: 1rem;
    letter-spacing: 1.5px;
  }
}