:root {
  --bg-color: #FDF9F4;
  --text-dark: #122A44;
  --text-muted: #4B5563;
  --accent-blue: #122A44;
  --primary-dark: #122A44;
  --accent-terracotta: #C67C65;
  --card-bg: rgba(255, 255, 255, 0.85);
  
  --font-main: 'Inter', sans-serif;
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-color);
  color: var(--text-dark);
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
  max-width: 100vw;
}

/* Background Shapes */
.background-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: -1;
  overflow: hidden;
}

.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.6;
  z-index: -1;
}

.shape-top-right {
  width: 600px;
  height: 600px;
  background: #F4E2D8;
  top: -150px;
  right: -200px;
}

.shape-bottom-left {
  width: 500px;
  height: 500px;
  background: #EFE4DD;
  bottom: 0;
  left: -200px;
}

.shape-center-right {
  width: 400px;
  height: 400px;
  background: #C67C65;
  opacity: 0.15;
  top: 40%;
  right: 10%;
}

/* Utilities */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.text-center { text-align: center; }
.inline-block { display: inline-block; }

h1, h2, h3, h4 {
  color: var(--text-dark);
  line-height: 1.2;
}

h1 {
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: -1.5px;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  font-size: 0.95rem;
}

.btn-nav {
  background-color: var(--accent-terracotta);
  color: white;
  padding: 0.6rem 1.5rem;
}

.btn-nav:hover {
  background-color: #a8624e;
  transform: translateY(-2px);
}

.btn-primary {
  background-color: var(--accent-blue);
  color: white;
}

.btn-primary:hover {
  background-color: #0b1a2a;
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  color: var(--accent-blue);
  border-color: var(--accent-blue);
}

.btn-outline:hover {
  background-color: rgba(18, 42, 68, 0.05);
  transform: translateY(-2px);
}

/* Header */
.header {
  padding: 1.5rem 0;
  position: relative;
  z-index: 100;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-dark);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo span {
  font-weight: 600;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-menu a:not(.btn) {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
}

.nav-menu a:not(.btn):hover {
  color: var(--accent-terracotta);
}

.hamburger {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0.5rem;
  z-index: 1000;
}

.hamburger .bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  background-color: var(--text-dark);
  transition: all 0.3s ease;
}

@media (min-width: 769px) {
  .mobile-only-tabs {
    display: none !important;
  }
}

/* Hero Section */
.hero {
  padding: 4rem 0 6rem;
}

.hero-content {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
}

.hero-text p {
  max-width: 90%;
  font-size: 1.05rem;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2.5rem;
}

/* Portrait Card */
.hero-image-wrapper {
  display: flex;
  justify-content: center;
  position: relative;
}

.portrait-card {
  position: relative;
  width: 380px;
  height: 500px;
  border-radius: 16px;
  background: white;
  padding: 8px; /* For the white border effect */
  box-shadow: 0 20px 40px rgba(18, 42, 68, 0.1);
  overflow: visible; /* To allow badge to float outside */
}

.portrait-placeholder {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  background: linear-gradient(180deg, #d4d4d4 0%, #a3a3a3 100%);
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  position: relative;
}

.portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.emoji-face {
  font-size: 8rem;
}

.portrait-info {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  color: white;
  text-align: center;
  z-index: 10;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.portrait-info strong {
  display: block;
  font-size: 1.2rem;
  font-weight: 600;
}

.portrait-info span {
  font-size: 0.9rem;
  font-weight: 400;
  opacity: 0.9;
}

.floating-badge {
  position: absolute;
  top: 55%;
  left: -80px;
  background: rgba(255, 255, 255, 0.90);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 1.5rem;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  border: 1px solid rgba(255,255,255,1);
  color: var(--text-dark);
  max-width: 250px;
}

.floating-badge strong {
  color: var(--accent-terracotta);
  font-weight: 800;
  font-size: 1rem;
  margin-top: 0.5rem;
  margin-bottom: 0;
  display: block;
}

.floating-badge .quote {
  color: var(--text-dark);
  font-size: 0.9rem;
  font-weight: 500;
  font-style: italic;
  display: block;
  line-height: 1.4;
  margin-bottom: 0.5rem;
}

/* Features Grid */
.features-section {
  padding: 0 0 3rem;
  position: relative;
  z-index: 10;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.feature-card {
  background: white;
  border-radius: 20px;
  padding: 2.5rem 2rem;
  box-shadow: 0 15px 35px rgba(0,0,0,0.03);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.06);
}

.feature-icon {
  width: 50px;
  height: 50px;
  background: rgba(198, 124, 101, 0.1);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1.5rem;
  color: var(--accent-terracotta);
}

.feature-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0;
}

.feature-card p {
  margin-bottom: 0;
}

/* Product Entry & Retainer */
.product-entry, .product-retainer {
  padding: 6rem 0;
}

.main-card {
  background: white;
  border-radius: 24px;
  padding: 4rem;
  box-shadow: 0 15px 40px rgba(0,0,0,0.04);
  max-width: 800px;
  margin: 0 auto;
}

.deliverables-list {
  list-style: none;
  margin: 2rem 0;
}

.deliverables-list li {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  font-weight: 500;
}

.product-price {
  margin: 2rem 0;
  padding: 2rem 0;
  border-top: 1px solid rgba(0,0,0,0.05);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.price-value {
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent-blue);
}

.footer {
  background-color: var(--accent-blue);
  color: white;
  padding: 2.5rem 0 1.5rem;
}

.footer p, .footer a {
  color: rgba(255,255,255,0.7);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.footer-brand {
  max-width: 600px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  text-align: center;
}

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Tabs Navigation */
.services-nav-section {
  padding: 2rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  margin-bottom: 4rem;
}

.tabs-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.tab-btn {
  background: white;
  border: 2px solid rgba(0,0,0,0.05);
  padding: 1rem 2rem;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}

.tab-btn:hover {
  border-color: var(--accent-terracotta);
  color: var(--accent-terracotta);
}

.tab-btn.active {
  background: var(--accent-terracotta);
  border-color: var(--accent-terracotta);
  color: white;
  box-shadow: 0 4px 15px rgba(198, 124, 101, 0.3);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* Delivery Blocks */
.delivery-blocks {
  display: flex;
  flex-direction: column;
  gap: 6rem;
  margin-bottom: 4rem;
}

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

.delivery-block.reverse {
  direction: rtl;
}

.delivery-block.reverse > * {
  direction: ltr;
}

.delivery-content h3 {
  font-size: 2rem;
  color: var(--accent-blue);
  margin-bottom: 1rem;
}

.delivery-content p {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* New Grid Class for Services */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

/* Responsive */
@media (max-width: 992px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-image-wrapper {
    margin-top: 3rem;
  }
  
  .features-grid, .solutions-grid {
    grid-template-columns: 1fr;
  }
  
  .delivery-block {
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 1rem;
  }
  .delivery-block.reverse {
    direction: ltr;
  }
  .delivery-image {
    grid-column: 1 / -1;
    grid-row: 2;
    margin: 1rem 0;
  }
  
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.8rem; }
  
  .floating-badge {
    left: auto !important;
    right: -25px !important;
    top: auto !important;
    bottom: -15px !important;
    padding: 0.6rem 0.8rem !important;
    width: 200px !important;
  }
  
  .floating-badge .quote {
    font-size: 0.7rem !important;
  }
  
  .floating-badge strong {
    font-size: 0.8rem !important;
  }
  
  .price-value {
    font-size: 2.2rem;
  }
  .pricing-action > div[style*="font-size: 2.8rem"] {
    font-size: 2.2rem !important;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 1.2rem;
  }

  .header {
    padding: 1rem 0 1rem 0 !important;
  }

  h1 {
    font-size: 1.5rem !important;
    line-height: 1.2 !important;
  }
  
  h2 {
    font-size: 1.6rem !important;
  }
  
  .hero {
    padding: 1rem 0 2rem 0 !important;
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    gap: 0 !important;
  }

  .hero-text {
    display: contents;
  }

  .hero-text h1 {
    order: 1;
    margin-bottom: 2rem !important;
  }

  .hero-image-wrapper {
    order: 2;
    margin: 0 0 2rem 0 !important;
    display: flex;
    justify-content: center;
  }
  
  .portrait-card {
    width: 260px !important;
    height: 350px !important;
  }
  
  .portrait-card img {
    object-position: center top !important;
  }

  .portrait-info {
    right: 0 !important;
    left: 0 !important;
    bottom: 5px !important;
    text-align: center !important;
  }

  .portrait-info strong {
    font-size: 0.9rem !important;
  }

  .portrait-info span {
    font-size: 0.75rem !important;
  }
  
  .floating-badge {
    left: -40px !important;
    right: auto !important;
    top: 68% !important;
    bottom: auto !important;
    transform: translateY(-50%) !important;
    padding: 0.8rem 1rem !important;
    width: 220px !important;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15) !important;
  }

  .hero-text p {
    order: 3;
    font-size: 0.85rem !important;
    line-height: 1.5 !important;
    margin-top: 0 !important;
    margin-bottom: 2rem !important;
  }

  .hero-actions {
    order: 4;
    gap: 0.5rem !important;
    flex-wrap: nowrap !important;
    margin-top: 0 !important;
  }

  .hero-actions .btn {
    padding: 0.8rem 1.2rem !important;
    font-size: 0.9rem !important;
    white-space: nowrap;
  }

  .hamburger {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background-color: white;
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    transition: right 0.3s ease;
    z-index: 999;
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .hamburger.active .bar:nth-child(2) { opacity: 0; }
  .hamburger.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .hamburger.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  
  .services-nav-section {
    display: none !important;
  }
  
  .mobile-only-tabs {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    padding: 1.5rem 0;
    margin: 1.5rem 0;
  }
  
  .mobile-only-tabs .tab-btn, .mobile-only-tabs .menu-link-tab {
    background: none;
    border: none;
    font-size: 1.1rem;
    color: var(--text-muted);
    padding: 0.8rem;
    margin: 0;
    cursor: pointer;
    text-decoration: none;
    display: block;
    width: 100%;
    text-align: center;
  }
  
  .mobile-only-tabs .tab-btn.active {
    color: var(--accent-terracotta);
    font-weight: 700;
  }
  
  .tabs-container {
    gap: 0.5rem;
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 0.5rem;
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
  
  .tabs-container::-webkit-scrollbar {
    display: none;
  }
  
  .tab-btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
    white-space: nowrap;
    flex-shrink: 0;
  }
  
  .lp-header {
    margin-top: 2rem !important;
    margin-bottom: 3rem !important;
  }

  .lp-header h2 {
    font-size: 1.8rem !important;
    margin-bottom: 1rem !important;
  }

  .lp-header p {
    font-size: 1rem !important;
    margin-bottom: 2rem !important;
  }

  .desktop-servicos {
    display: none !important;
  }

  .founder-guarantee {
    flex-direction: column !important;
    text-align: left !important;
    padding: 1rem !important;
    border-radius: 20px !important;
    align-items: stretch !important;
  }
  
  .features-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.8rem;
    padding-bottom: 0.5rem;
  }

  .solutions-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 1rem;
    overflow-x: hidden;
  }
  
  .feature-card {
    width: 100% !important;
    min-width: auto !important;
    max-width: none !important;
    padding: 1.2rem 1rem !important;
  }
  
  .feature-card p {
    margin-bottom: 0 !important;
  }
  
  .delivery-blocks {
    gap: 2.5rem;
    margin-bottom: 2.5rem;
  }

  .founder-guarantee img {
    width: 60px !important;
    height: 60px !important;
    flex-shrink: 0;
  }

  .founder-guarantee p {
    font-size: 0.85rem !important;
    line-height: 1.4 !important;
    margin: 0 !important;
  }

  .founder-guarantee span {
    font-size: 0.75rem !important;
  }
  
  .delivery-blocks {
    gap: 2.5rem;
    margin-bottom: 2.5rem;
  }

  .main-card {
    padding: 1.5rem;
  }
  
  .g7-pricing {
    padding: 2rem 1.5rem !important;
  }
  
  .delivery-content {
    display: contents;
  }
  .delivery-icon {
    grid-column: 1;
    grid-row: 1;
    margin-bottom: 0 !important;
  }
  .delivery-content h3 {
    grid-column: 2;
    grid-row: 1;
    font-size: 1.4rem !important;
    margin-bottom: 0 !important;
    text-align: left;
    line-height: 1.3;
  }
  .delivery-content p {
    grid-column: 1 / -1;
    grid-row: 3;
    margin-top: 0;
  }
  .delivery-content > div:last-child {
    grid-column: 1 / -1;
    grid-row: 4;
  }
  
  .pricing-info h3, .g7-pricing h3 {
    font-size: 1.6rem !important;
  }
  
  .pricing-info > div {
    gap: 0.4rem !important;
  }
  .pricing-info > div > span:not(:first-child) {
    padding: 0.4rem 0.6rem !important;
    font-size: 0.75rem !important;
    gap: 0.3rem !important;
  }
  .pricing-info > div > span:not(:first-child) svg {
    width: 14px !important;
    height: 14px !important;
  }
  .pricing-info > div > span:first-child {
    font-size: 0.75rem !important;
    margin-bottom: 0.3rem;
  }
  
  .pricing-action {
    padding: 1.5rem !important;
  }
  
  .pricing-action a.btn, .g7-pricing a.btn {
    font-size: 0.95rem !important;
    padding: 1rem !important;
    white-space: nowrap !important;
  }

  .product-entry, .product-retainer {
    padding: 3.5rem 0;
  }

  .features-section {
    padding: 2rem 0 1.5rem;
  }

  .hero {
    padding: 2rem 0 4rem;
  }
}

/* Hidden state for JS logic */
.hidden-card { display: none !important; }
