:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --text: #e6edf3;
  --muted: #9fb0c3;
  --brand: #7c5cff;
  --brand-600: #6844ff;
  --danger: #ff5470;
  --card-bg: #ffffff;
  --card-text: #0b0f14;
  --input-bg: #eaf2ff; /* light blue */
  --input-border: #c7d7ff;
  --button-blue: #1e66ff;
  --button-blue-600: #1453d6;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Lexend, sans-serif;
  height: 100%;
}

/* Light theme for simple subpages */
.light-page {
  background: #ffffff;
  color: #0b0f14;
}
.light-page a { color: #1e66ff; }

body { display: flex; flex-direction: column; min-height: 100vh; }

/* Header Styles */
.site-header {
  background: rgb(28, 28, 30);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 100%;
  margin: 0 auto;
  padding: 16px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.header-logo img {
  height: 64px;
  width: auto;
  display: block;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.header-nav a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  transition: color 0.2s ease;
}

.header-nav a:hover {
  color: var(--button-blue);
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-menu-toggle span {
  width: 24px;
  height: 2px;
  background: #ffffff;
  transition: all 0.3s ease;
}

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

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

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .header-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgb(28, 28, 30);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    flex-direction: column;
    padding: 16px 24px;
    gap: 16px;
  }
  
  .header-nav.active {
    display: flex;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  .header-inner {
    padding: 12px 16px;
  }
  
  .header-logo {
    margin-left: 0;
    padding-left: 0;
  }
  
  .header-logo img {
    height: 56px;
  }
}

/* Hero Section */
.hero-section {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('./public/autenticaparts-3d-uk-jander-barbosa-min.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
  padding: 80px 24px;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero-content h1 {
  font-size: 48px;
  font-weight: 600;
  margin: 0 0 24px 0;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 20px;
  line-height: 1.6;
  margin: 0 0 32px 0;
  opacity: 0.9;
}

.hero-cta {
  margin-top: 32px;
}

.hero-cta .btn {
  font-size: 18px;
  padding: 16px 32px;
  border-radius: 12px;
}

/* Mobile Responsive for Hero */
@media (max-width: 768px) {
  .hero-section {
    min-height: 50vh;
    padding: 60px 16px;
  }
  
  .hero-content h1 {
    font-size: 36px;
  }
  
  .hero-subtitle {
    font-size: 18px;
  }
  
  .hero-cta .btn {
    font-size: 16px;
    padding: 14px 28px;
  }
}

/* Features Section */
.features-section {
  background: #f8f9fa;
  padding: 80px 24px;
}

.features-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.features-container h2 {
  font-size: 36px;
  font-weight: 600;
  color: var(--card-text);
  margin: 0 0 48px 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.feature-card {
  background: #ffffff;
  padding: 32px 24px;
  border-radius: 16px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}


.feature-card h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--card-text);
  margin: 0 0 12px 0;
}

.feature-card p {
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

/* Mobile Responsive for Features */
@media (max-width: 768px) {
  .features-section {
    padding: 60px 16px;
  }
  
  .features-container h2 {
    font-size: 28px;
    margin-bottom: 32px;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 32px;
  }
  
  .feature-card {
    padding: 24px 20px;
  }
  
}

/* Info Section */
.info-section {
  background: #ffffff;
  padding: 80px 24px;
}

.info-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.info-image-card {
  background: #f8f9fa;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.info-image-card img {
  width: 100%;
  height: 750px;
  object-fit: cover;
  display: block;
}

.info-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.info-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.info-item-image {
  width: 60px;
  height: 60px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 8px;
}

.info-item h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--card-text);
  margin: 0 0 8px 0;
}

.info-item p {
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
  font-size: 14px;
}

/* Mobile Responsive for Info Section */
@media (max-width: 768px) {
  .info-section {
    padding: 60px 16px;
  }
  
  .info-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .info-image-card img {
    height: 390px;
  }
  
  .info-content {
    gap: 24px;
  }
  
  .info-item {
    gap: 12px;
  }
  
  .info-item-image {
    width: 50px;
    height: 50px;
  }
}

/* Discover Section */
.discover-section {
  background: #f8f9fa;
  padding: 80px 24px;
}

.discover-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.discover-container h2 {
  font-size: 36px;
  font-weight: 600;
  color: var(--card-text);
  margin: 0 0 60px 0;
  line-height: 1.3;
}

.discover-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-top: 40px;
}

.discover-item {
  background: #ffffff;
  padding: 60px 30px;
  border-radius: 16px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

/* Animation for desktop only */
@media (min-width: 769px) {
  .discover-item:nth-child(1) {
    animation-delay: 0.1s;
  }
  
  .discover-item:nth-child(2) {
    animation-delay: 0.3s;
  }
  
  .discover-item:nth-child(3) {
    animation-delay: 0.5s;
  }
  
  .discover-item:nth-child(4) {
    animation-delay: 0.7s;
  }
}

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

.discover-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.discover-number {
  font-size: 48px;
  font-weight: 700;
  color: var(--button-blue);
  margin-bottom: 20px;
  display: block;
}

.discover-item h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--card-text);
  margin: 0 0 12px 0;
  line-height: 1.4;
}

.discover-item p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

/* Mobile Responsive for Discover Section */
@media (max-width: 768px) {
  .discover-section {
    padding: 60px 16px;
  }
  
  .discover-container h2 {
    font-size: 28px;
    margin-bottom: 40px;
  }
  
  .discover-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 32px;
  }
  
  .discover-item {
    padding: 45px 20px;
    opacity: 1;
    transform: none;
    animation: none;
  }
  
  .discover-number {
    font-size: 40px;
    margin-bottom: 16px;
  }
  
  .discover-item h3 {
    font-size: 16px;
  }
}

/* About Us Section */
.about-us-section {
  background: #ffffff;
  padding: 80px 24px;
}

.about-us-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.about-us-container h2 {
  font-size: 36px;
  font-weight: 600;
  color: var(--card-text);
  margin: 0 0 40px 0;
  line-height: 1.3;
}

.about-us-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

.about-us-content p {
  font-size: 16px;
  color: var(--card-text);
  line-height: 1.7;
  margin: 0 0 20px 0;
  font-weight: 400 !important;
}

.about-us-content p:last-child {
  margin-bottom: 0;
}

.about-us-link {
  color: var(--button-blue);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.about-us-link:hover {
  color: var(--button-blue-600);
  text-decoration: underline;
}

/* Mobile Responsive for About Us Section */
@media (max-width: 768px) {
  .about-us-section {
    padding: 60px 16px;
  }
  
  .about-us-container h2 {
    font-size: 28px;
    margin-bottom: 32px;
  }
  
  .about-us-content {
    text-align: center;
  }
  
  .about-us-content p {
    font-size: 15px;
    margin-bottom: 18px;
  }
}

/* Latest Blog Section */
.latest-blog-section {
  background: #f8f9fa;
  padding: 80px 24px;
}

.latest-blog-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.latest-blog-container h2 {
  font-size: 36px;
  font-weight: 600;
  color: var(--card-text);
  margin: 0 0 60px 0;
  line-height: 1.3;
}

.latest-blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
}

.latest-blog-post {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: left;
}

.latest-blog-post:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.latest-blog-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.latest-blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.latest-blog-post:hover .latest-blog-image img {
  transform: scale(1.05);
}

.latest-blog-content {
  padding: 30px;
}

.latest-blog-content h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--card-text);
  margin: 0 0 16px 0;
  line-height: 1.4;
}

.latest-blog-content p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 20px 0;
}

.latest-blog-link {
  color: var(--button-blue);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: color 0.3s ease;
}

.latest-blog-link:hover {
  color: var(--button-blue-600);
}

/* Mobile Responsive for Latest Blog Section */
@media (max-width: 768px) {
  .latest-blog-section {
    padding: 60px 16px;
  }
  
  .latest-blog-container h2 {
    font-size: 28px;
    margin-bottom: 40px;
  }
  
  .latest-blog-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .latest-blog-image {
    height: 180px;
  }
  
  .latest-blog-content {
    padding: 24px;
  }
  
  .latest-blog-content h3 {
    font-size: 18px;
  }
  
  .latest-blog-content p {
    font-size: 13px;
  }
}

.container {
  display: grid;
  grid-template-columns: 2fr 3fr; /* left ~40%, right ~60% */
  min-height: 0;
  flex: 1 0 auto;
}

.left-pane {
  position: relative;
  height: 100%;
  overflow: hidden;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.right-pane {
  display: grid;
  place-items: center;
  padding: 48px 24px;
  background: var(--card-bg);
}

.content-card {
  width: 100%;
  max-width: 624px;
  background: var(--card-bg);
  color: var(--card-text);
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 32px 32px 10px 32px;
  backdrop-filter: none;
}

.form-logo {
  display: block;
  margin: 0 auto -20px auto;
  max-width: 80%;
}
.form-logo img {
  display: block;
  margin: -50px auto 0px auto;
  height: 150px;
  width: auto;
}

h1 {
  margin: 0 0 8px 0;
  font-size: 32px;
}

.subheading {
  margin: 0 0 24px 0;
  color: var(--muted);
}

.label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  padding-left: 8px;
}

.form-grid { display: grid; gap: 16px; }
.field { display: grid; gap: 8px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

.radio-group { display: grid; gap: 8px; }
.radio-group label { display: flex; align-items: center; gap: 8px; color: #0b0f14; }
.radio-group input[type="radio"] { accent-color: var(--button-blue); }

input[type="email"],
input[type="text"],
input[type="number"],
select,
textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid var(--input-border);
  background: var(--input-bg);
  color: #0b0f14;
  font-family: inherit;
}

/* Hide number input spinners */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type="number"] {
  -moz-appearance: textfield;
  appearance: textfield;
}

input[type="email"]::placeholder,
input[type="text"]::placeholder,
input[type="number"]::placeholder,
textarea::placeholder {
  color: #6b7280;
}

/* Allow only vertical resize for the comment box */
textarea {
  resize: vertical;
  max-width: 100%;
}

button[type="submit"] {
  padding: 14px 18px;
  border-radius: 10px;
  border: 0;
  background: var(--button-blue);
  color: #ffffff;
  font-weight: 600;
  cursor: pointer;
}

/* Make submit button span full width like the comment field */
.actions button[type="submit"] { width: 100%; }

/* Button-like links (e.g., Back links on subpages) */
.btn {
  display: inline-block;
  padding: 14px 18px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  margin-bottom: 20px;
}
.btn-primary {
  background: var(--button-blue);
  color: #ffffff;
}
.btn-primary:visited { color: #ffffff; }
.light-page .btn-primary { color: #ffffff; }
.light-page .btn-primary:visited { color: #ffffff; }
.btn-primary:hover {
  background: var(--button-blue-600);
}

button[type="submit"]:hover {
  background: var(--button-blue-600);
}

.help {
  margin: 8px 0 0 0;
  color: var(--muted);
  font-size: 12px;
}

.message {
  min-height: 15px;
  margin-top: 10px;
  font-size: 14px;
}

.message.error {
  color: var(--danger);
}

.site-footer {
  border-top: 1px solid rgba(255,255,255,0.08);
  background: #1e1e21;
  min-height: 60px;
}

.footer-inner {
  max-width: 100%;
  margin: 0 auto;
  padding: 5px 10px;
  padding-left: 50px; /* ensure logo is fully left-aligned */
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 100%;
  min-height: 60px;
}

.footer-inner > span { margin-left: 0; }
.footer-inner > span { text-align: left; display: inline-block; }
.footer-inner .footer-links { margin-right: 50px; }

.footer-logo {
  height: 40px;
  width: auto;
  display: block;
}

.footer-links a {
  color: var(--text);
  text-decoration: none;
  margin-left: 16px;
}

.footer-links a:hover {
  color: var(--text);
}

.footer-links a i {
  font-size: 16px;
  vertical-align: baseline;
  line-height: 1;
}

.footer-links a:hover i {
  color: var(--brand);
}

@media (max-width: 960px) {
  .container {
    grid-template-columns: 1fr;
  }
  .hero-image {
    height: 40vh;
  }
}


