/* ============================================
   3CN Participações - Faithful Clone
   Based on Figma Make original design
   ============================================ */

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

:root {
  --bg-dark: #0f1419;
  --bg-darker: #0a0e14;
  --bg-teal: #162a2a;
  --white: #ffffff;
  --white-90: rgba(255,255,255,0.9);
  --white-70: rgba(255,255,255,0.7);
  --white-50: rgba(255,255,255,0.5);
  --white-30: rgba(255,255,255,0.3);
  --white-10: rgba(255,255,255,0.1);
  --white-05: rgba(255,255,255,0.05);
  --black: #111111;
  --gray-100: #f5f5f5;
  --gray-200: #e5e5e5;
  --gray-400: #a3a3a3;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --accent: #c8d530;
  --font-heading: 'Playfair Display', 'Cormorant Garamond', serif;
  --font-body: 'Inter', 'Outfit', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100; transition: all 0.3s;
}
.navbar.scrolled {
  background: rgba(15,20,25,0.95);
  backdrop-filter: blur(12px);
}
.navbar-inner {
  display: flex; align-items: center; justify-content: space-between; height: 70px;
}
.navbar-logo img { height: 36px; width: auto; }
.navbar-links { display: flex; align-items: center; gap: 4px; list-style: none; }
.navbar-links a {
  padding: 8px 16px; border-radius: 50px; font-size: 0.875rem;
  font-weight: 400; color: var(--white-70); transition: all 0.2s;
}
.navbar-links a:hover,
.navbar-links a.active { color: var(--white); background: var(--white-10); }
.navbar-right { display: flex; align-items: center; gap: 12px; }
.navbar-lang { display: flex; align-items: center; gap: 4px; }
.navbar-lang button {
  padding: 5px 10px; border: none; border-radius: 4px;
  background: transparent; color: var(--white-50); cursor: pointer;
  font-family: var(--font-body); font-size: 0.8rem; font-weight: 500; transition: all 0.2s;
}
.navbar-lang button.active {
  background: var(--accent); color: var(--black); font-weight: 600;
}
.globe-icon { width: 20px; height: 20px; color: var(--white-50); }
.mobile-toggle {
  display: none; background: none; border: none;
  color: var(--white); cursor: pointer; padding: 8px;
}
.mobile-toggle svg { width: 24px; height: 24px; }
.mobile-menu {
  display: none; background: rgba(15,20,25,0.98);
  backdrop-filter: blur(16px); padding: 1.5rem 1rem;
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block; padding: 12px 16px; border-radius: 8px;
  font-size: 1rem; color: var(--white-70); transition: all 0.2s;
}
.mobile-menu a:hover, .mobile-menu a.active { color: var(--white); background: var(--white-10); }

@media (max-width: 768px) {
  .navbar-links, .navbar-right { display: none; }
  .mobile-toggle { display: block; }
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative; height: 100vh; min-height: 600px;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  filter: blur(12px) brightness(0.5); transform: scale(1.15);
}
.hero-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.4); }
.hero-content {
  position: relative; z-index: 10; text-align: center; padding: 0 24px; max-width: 800px;
}
.hero h1 {
  font-family: var(--font-heading); font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 400; color: var(--white); line-height: 1.15; margin-bottom: 1.5rem;
}
.hero p {
  color: var(--white-70); font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  font-weight: 300; max-width: 640px; margin: 0 auto 2rem; line-height: 1.7;
}
.hero-sub { height: 70vh; min-height: 500px; }

.btn-hero {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border: 1px solid var(--white-50);
  border-radius: 50px; color: var(--white); font-size: 0.875rem;
  font-weight: 400; transition: all 0.3s;
}
.btn-hero:hover { background: var(--white-10); border-color: var(--white); }

.scroll-indicator {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); z-index: 10;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.scroll-mouse {
  width: 24px; height: 38px; border: 2px solid var(--white-30);
  border-radius: 50px; display: flex; align-items: flex-start;
  justify-content: center; padding-top: 8px;
}
.scroll-mouse span {
  width: 4px; height: 8px; background: var(--white-50);
  border-radius: 4px; animation: scrollBounce 2s infinite;
}
.scroll-text {
  font-size: 0.6rem; letter-spacing: 2px; text-transform: uppercase; color: var(--white-50);
}
@keyframes scrollBounce { 0%,100%{transform:translateY(0)} 50%{transform:translateY(6px)} }

/* ============================================
   SECTIONS
   ============================================ */
.section { padding: 80px 0; }
.section-lg { padding: 100px 0; }
.section-light { background: var(--white); color: var(--black); }
.section-dark { background: var(--bg-dark); color: var(--white); }
.section-teal { background: var(--bg-teal); color: var(--white); }
.text-center { text-align: center; }

/* ============================================
   ABOUT - Quote Section (Light bg)
   ============================================ */
.about-quote {
  position: relative; max-width: 800px; margin: 0 auto;
  padding: 60px 40px; text-align: center;
}
.about-quote p {
  font-size: 1rem; line-height: 1.9; color: var(--gray-600);
}
.about-quote strong { color: var(--black); font-weight: 600; }
.quote-circle {
  position: absolute; width: 60px; height: 60px;
  border-radius: 50%; background: var(--gray-200);
}
.quote-circle-tl { top: 0; left: 0; }
.quote-circle-br { bottom: 0; right: 0; }

/* ============================================
   PRINCIPLES (Light bg)
   ============================================ */
.principles-header { text-align: center; margin-bottom: 48px; }
.principles-header h2 {
  font-family: var(--font-heading); font-size: 2rem; font-weight: 600; color: var(--black); margin-bottom: 12px;
}
.principles-header p { color: var(--gray-500); font-size: 0.95rem; max-width: 600px; margin: 0 auto; line-height: 1.6; }

.principles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.principle-card {
  background: var(--white); border-radius: 16px; padding: 36px 24px;
  text-align: center; box-shadow: 0 2px 16px rgba(0,0,0,0.06); border: 1px solid #f0f0f0;
}
.principle-icon {
  width: 52px; height: 52px; border-radius: 12px; background: var(--gray-100);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 16px;
}
.principle-icon svg { width: 24px; height: 24px; stroke: var(--gray-600); fill: none; stroke-width: 1.5; }
.principle-card h3 { font-size: 1rem; font-weight: 600; color: var(--black); margin-bottom: 10px; }
.principle-card p { font-size: 0.85rem; color: var(--gray-500); line-height: 1.6; }

/* ============================================
   PURPOSE (Teal bg)
   ============================================ */
.purpose-section { position: relative; padding: 80px 0; text-align: center; }
.purpose-section h2 {
  font-family: var(--font-heading); font-size: 2rem; font-weight: 600;
  color: var(--white); margin-bottom: 20px;
}
.purpose-section p { color: var(--white-70); font-size: 0.95rem; line-height: 1.8; max-width: 700px; margin: 0 auto; }
.purpose-dot {
  position: absolute; width: 10px; height: 10px; border-radius: 50%; background: var(--white-30);
}
.purpose-dot-tl { top: 40px; left: 40px; }
.purpose-dot-br { bottom: 40px; right: 40px; }

/* ============================================
   VISION (Dark bg)
   ============================================ */
.vision-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.vision-text h2 {
  font-family: var(--font-heading); font-size: 2rem; font-weight: 600;
  color: var(--white); margin-bottom: 24px;
}
.vision-text p { color: var(--white-70); line-height: 1.8; margin-bottom: 20px; font-size: 0.95rem; }
.vision-card {
  background: var(--white-05); border: 1px solid var(--white-10);
  border-radius: 20px; padding: 60px 40px; text-align: center;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.vision-card h3 { font-family: var(--font-heading); font-size: 3rem; color: var(--white); margin-bottom: 8px; }
.vision-card p { color: var(--white-70); font-size: 1rem; }

/* ============================================
   SOLUTIONS
   ============================================ */
.solution-item {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
  align-items: center; padding: 48px 0;
}
.solution-item + .solution-item { border-top: 1px solid var(--white-05); }
.solution-item.reverse { direction: rtl; }
.solution-item.reverse > * { direction: ltr; }

.solution-image {
  position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 4/3;
}
.solution-image img { width: 100%; height: 100%; object-fit: cover; }
.solution-logo {
  position: absolute; top: 16px; left: 16px; background: var(--white);
  padding: 6px 12px; border-radius: 6px; font-size: 0.7rem; font-weight: 700; color: var(--black);
}
.solution-explore {
  position: absolute; bottom: 16px; left: 16px; color: var(--white);
  font-size: 0.85rem; display: flex; align-items: center; gap: 6px;
}

.solution-text h2 {
  font-family: var(--font-heading); font-size: 2rem; font-weight: 400; margin-bottom: 6px;
}
.solution-category {
  font-size: 0.65rem; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--white-50); margin-bottom: 16px;
}
.solution-text p { color: var(--white-70); line-height: 1.7; margin-bottom: 24px; font-size: 0.9rem; }

.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; border: 1px solid var(--white-30); border-radius: 50px;
  color: var(--white); font-size: 0.875rem; transition: all 0.3s;
}
.btn-outline:hover { border-color: var(--white-70); background: var(--white-05); }

/* ============================================
   TEAM (Light bg)
   ============================================ */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.team-member { text-align: center; }
.team-photo {
  width: 100%; aspect-ratio: 3/4; border-radius: 12px 12px 12px 12px;
  overflow: hidden; margin-bottom: 16px; background: #e5e5e5;
}
.team-photo img {
  width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%);
}
.team-member h3 { font-size: 1rem; font-weight: 600; color: var(--black); margin-bottom: 4px; }
.team-role {
  font-size: 0.65rem; letter-spacing: 1px; text-transform: uppercase;
  color: var(--gray-400); margin-bottom: 12px;
}
.team-member .team-desc { font-size: 0.8rem; color: var(--gray-500); line-height: 1.6; }

/* ============================================
   CONTACT (Dark bg)
   ============================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.contact-info h2 {
  font-family: var(--font-heading); font-size: 1.75rem; font-weight: 400; margin-bottom: 32px;
}
.contact-item { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 24px; }
.contact-item-icon {
  width: 40px; height: 40px; border-radius: 50%; background: var(--white-05);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-item-icon svg { width: 18px; height: 18px; stroke: var(--white-70); fill: none; stroke-width: 1.5; }
.contact-item h4 { font-size: 0.85rem; font-weight: 500; color: var(--white); margin-bottom: 4px; }
.contact-item p, .contact-item a { font-size: 0.85rem; color: var(--white-70); line-height: 1.4; }
.contact-item a:hover { color: var(--accent); }

.contact-map { margin-top: 16px; border-radius: 12px; overflow: hidden; height: 180px; }
.contact-map iframe { width: 100%; height: 100%; border: 0; }
.map-link {
  display: inline-flex; align-items: center; gap: 4px;
  margin-top: 8px; font-size: 0.8rem; color: var(--accent);
}

.contact-form h2 {
  font-family: var(--font-heading); font-size: 1.75rem; font-weight: 400; margin-bottom: 32px;
}
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.8rem; color: var(--white-70); margin-bottom: 8px; }
.form-group input, .form-group textarea {
  width: 100%; padding: 14px 16px; background: var(--white-05);
  border: 1px solid var(--white-10); border-radius: 10px;
  color: var(--white); font-size: 0.9rem; font-family: var(--font-body); transition: border-color 0.3s;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--white-30); }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--accent); }
.form-group textarea { min-height: 120px; resize: vertical; }

.btn-submit {
  width: 100%; padding: 14px; background: var(--white-05); border: 1px solid var(--white-10);
  border-radius: 10px; color: var(--white); font-size: 0.9rem; font-weight: 500;
  cursor: pointer; transition: all 0.3s; font-family: var(--font-body);
}
.btn-submit:hover { background: var(--white-10); }

/* ============================================
   FOOTER
   ============================================ */
.footer { background: var(--bg-darker); border-top: 1px solid var(--white-05); padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 48px; padding-bottom: 48px; }
.footer-logo img { height: 40px; width: auto; margin-bottom: 16px; }
.footer-line { width: 40px; height: 2px; background: var(--accent); margin-bottom: 16px; }
.footer-desc { color: var(--white-70); font-size: 0.85rem; line-height: 1.6; margin-bottom: 16px; }
.footer-brand { display: flex; align-items: center; gap: 8px; font-size: 0.8rem; color: var(--white-70); }
.footer-brand-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--white-30); }
.footer h4 { font-size: 1rem; font-weight: 500; color: var(--white); margin-bottom: 16px; }
.footer-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.footer-nav a {
  display: block; padding: 10px 14px; background: var(--white-05);
  border-radius: 8px; font-size: 0.85rem; color: var(--white-70); transition: all 0.2s;
}
.footer-nav a:hover { color: var(--white); background: var(--white-10); }
.footer-contact-item { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-contact-icon {
  width: 32px; height: 32px; border-radius: 50%; background: var(--white-05);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.footer-contact-icon svg { width: 14px; height: 14px; stroke: var(--white-70); fill: none; stroke-width: 1.5; }
.footer-contact-text a, .footer-contact-text p { font-size: 0.85rem; color: var(--white-90); }
.footer-contact-text small { font-size: 0.7rem; color: var(--white-50); display: block; margin-top: 2px; }
.footer-bottom {
  border-top: 1px solid var(--white-05); padding: 20px 0;
  display: flex; justify-content: space-between; align-items: center;
}
.footer-bottom p { font-size: 0.75rem; color: var(--white-50); }
.made-with { display: flex; align-items: center; gap: 4px; font-size: 0.75rem; color: var(--white-50); }
.made-with .heart { color: #e74c3c; }

/* ============================================
   ANIMATIONS
   ============================================ */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s, transform 0.7s; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* Toast */
.toast {
  position: fixed; bottom: 2rem; right: 2rem; background: var(--accent);
  color: var(--black); padding: 1rem 1.5rem; border-radius: 10px;
  font-weight: 600; font-size: 0.875rem; z-index: 1000;
  transform: translateY(100px); opacity: 0; transition: all 0.3s;
}
.toast.show { transform: translateY(0); opacity: 1; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .principles-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .vision-grid { grid-template-columns: 1fr; gap: 40px; }
  .solution-item { grid-template-columns: 1fr; gap: 24px; }
  .solution-item.reverse { direction: ltr; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 768px) {
  .principles-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

/* ============================================
   HOME - Section Header
   ============================================ */
.section-header { text-align: center; margin-bottom: 48px; }
.section-header h2 {
  font-family: var(--font-heading); font-size: 2rem; font-weight: 600;
  color: var(--black); margin-bottom: 12px;
}
.section-header p {
  color: var(--gray-500); font-size: 0.95rem; max-width: 600px; margin: 0 auto; line-height: 1.6;
}

/* ============================================
   HOME - Feature Cards Grid
   ============================================ */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card-feature {
  background: var(--white); border-radius: 16px; padding: 36px 24px;
  text-align: center; box-shadow: 0 2px 16px rgba(0,0,0,0.06); border: 1px solid #f0f0f0;
}
.card-feature .card-icon {
  width: 52px; height: 52px; border-radius: 12px; background: var(--gray-100);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 16px;
}
.card-feature .card-icon svg { width: 24px; height: 24px; stroke: var(--gray-600); fill: none; stroke-width: 1.5; }
.card-feature h3 { font-size: 1rem; font-weight: 600; color: var(--black); margin-bottom: 10px; }
.card-feature p { font-size: 0.85rem; color: var(--gray-500); line-height: 1.6; }

/* ============================================
   HOME - Solution Cards
   ============================================ */
.solutions-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.solution-card {
  display: block; border-radius: 16px; overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06); border: 1px solid #f0f0f0;
  transition: transform 0.3s, box-shadow 0.3s;
}
.solution-card:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(0,0,0,0.1); }
.solution-card-img { height: 200px; overflow: hidden; }
.solution-card-img img { width: 100%; height: 100%; object-fit: cover; }
.solution-card-body { padding: 24px; }
.solution-card-body h3 { font-size: 1.1rem; font-weight: 600; color: var(--black); margin-bottom: 10px; }
.solution-card-body p { font-size: 0.85rem; color: var(--gray-500); line-height: 1.6; margin-bottom: 16px; }
.solution-link { font-size: 0.85rem; font-weight: 500; color: var(--black); }

/* ============================================
   HOME - CTA Section
   ============================================ */
.section-cta {
  background: var(--bg-teal); padding: 80px 0; text-align: center;
}
.cta-content h2 {
  font-family: var(--font-heading); font-size: 2rem; font-weight: 600;
  color: var(--white); margin-bottom: 16px;
}
.cta-content p { color: var(--white-70); font-size: 0.95rem; margin-bottom: 32px; max-width: 500px; margin-left: auto; margin-right: auto; }

/* ============================================
   ABOUT - Quote Text (new style for Home reuse)
   ============================================ */
.about-text { max-width: 800px; margin: 0 auto; padding: 60px 40px; text-align: center; position: relative; }
.about-text p { font-size: 1rem; line-height: 1.9; color: var(--gray-600); }
.about-text .quote-mark { font-size: 4rem; color: var(--gray-200); line-height: 1; font-family: serif; }
.about-text .quote-close { text-align: right; }

/* ============================================
   ABOUT - Purpose Section
   ============================================ */
.section-purpose { background: var(--bg-teal); padding: 80px 0; text-align: center; }
.purpose-content p { color: var(--white-70); font-size: 0.95rem; line-height: 1.8; max-width: 700px; margin: 0 auto; }

/* ============================================
   ABOUT - Vision Logo
   ============================================ */
.vision-card .vision-logo { height: 60px; width: auto; margin-bottom: 12px; }
.vision-card-inner { text-align: center; }

/* ============================================
   SOLUTIONS - Block Layout (Soluções page)
   ============================================ */
.solutions-section { padding: 80px 0; }
.solution-block {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
  align-items: center; padding: 48px 0;
}
.solution-block + .solution-block { border-top: 1px solid #e5e5e5; }
.solution-block-reverse { direction: rtl; }
.solution-block-reverse > * { direction: ltr; }
.solution-block-text .solution-category {
  display: block; font-size: 0.65rem; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--gray-400); margin-bottom: 12px;
}
.solution-block-text h2 {
  font-family: var(--font-heading); font-size: 2rem; font-weight: 400;
  color: var(--black); margin-bottom: 16px;
}
.solution-block-text p { color: var(--gray-500); line-height: 1.7; margin-bottom: 24px; font-size: 0.9rem; }
.solution-block-text .btn-outline {
  border-color: var(--gray-200); color: var(--black);
}
.solution-block-text .btn-outline:hover { border-color: var(--black); background: var(--gray-100); }

.solution-img-card {
  position: relative; border-radius: 16px; overflow: hidden;
  aspect-ratio: 4/3; background-size: cover; background-position: center;
}
.solution-img-badge {
  position: absolute; top: 16px; left: 16px; background: var(--white);
  padding: 8px 12px; border-radius: 8px; font-size: 0.7rem; font-weight: 700; color: var(--black);
  display: flex; align-items: center; gap: 6px;
}
.solution-img-link {
  position: absolute; bottom: 16px; left: 16px; color: var(--white);
  font-size: 0.85rem; display: flex; align-items: center; gap: 6px;
}

/* ============================================
   SOLUTIONS - Light bg text colors
   ============================================ */
.solutions-section .solution-item { border-color: #e5e5e5; }
.solutions-section .solution-text h2 { color: var(--black); }
.solutions-section .solution-category { color: var(--gray-400); }
.solutions-section .solution-text p { color: var(--gray-500); }
.solutions-section .btn-outline { border-color: var(--gray-200); color: var(--black); }
.solutions-section .btn-outline:hover { border-color: var(--black); background: var(--gray-100); }

/* ============================================
   RESPONSIVE - New components
   ============================================ */
@media (max-width: 1024px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .solutions-cards { grid-template-columns: 1fr; }
  .solution-block { grid-template-columns: 1fr; gap: 24px; }
  .solution-block-reverse { direction: ltr; }
}
@media (max-width: 768px) {
  .cards-grid { grid-template-columns: 1fr; }
}
