/* ==========================================================================
   DESIGN SYSTEM & VARIABLES (COSIM CONSULTORIA)
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Color Palette */
  --primary-obsidian: #091c1b;      /* Verde escuro obsessivo, quase preto */
  --primary-obsidian-rgb: 9, 28, 27;
  --secondary-champagne: #dfb15b;   /* Dourado champanhe refinado */
  --secondary-hover: #cda04b;
  --accent-emerald: #143e35;        /* Verde esmeralda de suporte */
  --accent-emerald-light: #1c574b;
  
  /* Neutral Palette */
  --bg-light: #f3f6f5;              /* Fundo claro sutil com toque de verde */
  --bg-white: #ffffff;
  --text-dark: #121c1b;             /* Texto principal quase preto */
  --text-muted: #4e5e5c;            /* Texto secundário/suave */
  --text-light: #ffffff;
  --border-light: rgba(20, 62, 53, 0.1);
  --border-glass: rgba(255, 255, 255, 0.15);
  
  /* Status */
  --whatsapp: #25d366;
  --whatsapp-hover: #20bd5a;
  
  /* Typography */
  --font-title: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  
  /* Effects */
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
  --shadow-premium: 0 20px 40px rgba(9, 28, 27, 0.06);
  --shadow-glass: 0 8px 32px 0 rgba(9, 28, 27, 0.08);
  --border-radius-lg: 16px;
  --border-radius-md: 8px;
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

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

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  font-weight: 700;
  color: var(--primary-obsidian);
  line-height: 1.25;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  position: relative;
  margin-bottom: 3.5rem;
  text-align: center;
  font-weight: 800;
}

h2::after {
  content: '';
  position: absolute;
  bottom: -0.75rem;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-emerald), var(--secondary-champagne));
  border-radius: 2px;
}

h3 {
  font-size: clamp(1.3rem, 2vw, 1.6rem);
}

p {
  color: var(--text-muted);
}

/* ==========================================================================
   COMPONENTS
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Premium Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.1rem 2.2rem;
  border-radius: var(--border-radius-md);
  font-weight: 600;
  font-family: var(--font-title);
  letter-spacing: 0.5px;
  cursor: pointer;
  border: none;
  transition: var(--transition-smooth);
}

.btn-primary {
  background: linear-gradient(135deg, var(--secondary-champagne), #cca04b);
  color: var(--primary-obsidian);
  box-shadow: 0 10px 20px rgba(223, 177, 91, 0.2);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #cca04b, var(--secondary-champagne));
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(223, 177, 91, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--text-light);
  border: 1.5px solid var(--secondary-champagne);
}

.btn-outline:hover {
  background: var(--secondary-champagne);
  color: var(--primary-obsidian);
  transform: translateY(-3px);
}

.btn-dark {
  background-color: var(--accent-emerald);
  color: var(--text-light);
  box-shadow: 0 10px 20px rgba(20, 62, 53, 0.15);
}

.btn-dark:hover {
  background-color: var(--accent-emerald-light);
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(20, 62, 53, 0.25);
}

.btn-whatsapp {
  background-color: var(--whatsapp);
  color: var(--text-light);
  box-shadow: 0 10px 20px rgba(37, 211, 102, 0.2);
}

.btn-whatsapp:hover {
  background-color: var(--whatsapp-hover);
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(37, 211, 102, 0.3);
}

/* Glass Cards */
.glass-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-glass);
}

.glass-card-dark {
  background: rgba(20, 62, 53, 0.45);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--border-radius-lg);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.2);
}

/* ==========================================================================
   HEADER / NAVIGATION
   ========================================================================== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 0;
  z-index: 1000;
  transition: var(--transition-smooth);
}

header.scrolled {
  background: rgba(9, 28, 27, 0.95);
  backdrop-filter: blur(8px);
  padding: 1rem 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--text-light);
  letter-spacing: 1px;
}

.logo span {
  color: var(--secondary-champagne);
}

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

.nav-links a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--secondary-champagne);
}

/* Mobile Toggle */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 1.8rem;
  cursor: pointer;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  padding-top: 140px;
  display: flex;
  align-items: center;
  background: radial-gradient(circle at 80% 20%, rgba(20, 62, 53, 0.85) 0%, rgba(9, 28, 27, 0.98) 70%),
              url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover;
  color: var(--text-light);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(9, 28, 27, 0.2) 0%, rgba(9, 28, 27, 1) 100%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 10;
}

.hero-content h1 {
  color: var(--text-light);
  margin-bottom: 1.8rem;
  line-height: 1.15;
}

.hero-content h1 span {
  background: linear-gradient(135deg, var(--secondary-champagne), #ffffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.2rem;
  max-width: 620px;
  margin-bottom: 3rem;
}

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

.hero-visual {
  position: relative;
}

.hero-visual .glass-card-dark {
  padding: 2.5rem;
  border-left: 4px solid var(--secondary-champagne);
}

.hero-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(223, 177, 91, 0.15);
  border: 1px solid var(--secondary-champagne);
  color: var(--secondary-champagne);
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
}

/* ==========================================================================
   SERVICES (SOLUTIONS) SECTION
   ========================================================================== */
.services {
  padding: 8rem 0;
  background-color: var(--bg-white);
  position: relative;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 3rem;
}

.service-card {
  padding: 4rem 3rem;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-10px);
  border-color: rgba(223, 177, 91, 0.4);
  box-shadow: 0 30px 60px rgba(9, 28, 27, 0.08);
}

.service-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, rgba(20, 62, 53, 0.1), rgba(223, 177, 91, 0.15));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--accent-emerald);
}

.service-card h3 {
  margin-bottom: 1.2rem;
  color: var(--primary-obsidian);
}

.service-card p {
  font-size: 1.05rem;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.service-list {
  list-style: none;
  margin-bottom: 2.5rem;
}

.service-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1rem;
  font-weight: 500;
  color: var(--text-dark);
}

.service-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--secondary-champagne);
  font-weight: 900;
  font-size: 1.1rem;
}

/* ==========================================================================
   ABOUT (SOBRE) SECTION
   ========================================================================== */
.about {
  padding: 8rem 0;
  background: var(--bg-light);
  position: relative;
  overflow: hidden;
}

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

.about-image {
  position: relative;
}

.about-image img {
  border-radius: var(--border-radius-lg);
  box-shadow: 0 30px 60px rgba(9, 28, 27, 0.12);
  width: 100%;
}

.about-experience-badge {
  position: absolute;
  bottom: -2rem;
  right: -2rem;
  background: var(--primary-obsidian);
  color: var(--text-light);
  padding: 2.5rem;
  border-radius: var(--border-radius-lg);
  border-left: 5px solid var(--secondary-champagne);
  box-shadow: var(--shadow-premium);
}

.about-experience-badge h4 {
  font-size: 2.5rem;
  color: var(--secondary-champagne);
  line-height: 1;
}

.about-experience-badge p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 0.25rem;
}

.about-content h2 {
  text-align: left;
}

.about-content h2::after {
  left: 30px;
  transform: none;
}

.about-content p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

.stat-item {
  border-left: 3px solid var(--secondary-champagne);
  padding-left: 1.5rem;
}

.stat-number {
  font-family: var(--font-title);
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent-emerald);
}

.stat-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* ==========================================================================
   PROCESS (TIMELINE) SECTION
   ========================================================================== */
.process {
  padding: 8rem 0;
  background-color: var(--bg-white);
}

.timeline {
  position: relative;
  max-width: 900px;
  margin: 4rem auto 0;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  background: var(--border-light);
}

.timeline-item {
  position: relative;
  margin-bottom: 5rem;
  width: 50%;
}

.timeline-item:nth-child(odd) {
  left: 0;
  padding-right: 3rem;
  text-align: right;
}

.timeline-item:nth-child(even) {
  left: 50%;
  padding-left: 3rem;
}

.timeline-badge {
  position: absolute;
  top: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-emerald);
  border: 4px solid var(--bg-white);
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  z-index: 10;
}

.timeline-item:nth-child(odd) .timeline-badge {
  right: -20px;
}

.timeline-item:nth-child(even) .timeline-badge {
  left: -20px;
}

.timeline-content {
  padding: 2rem;
  transition: var(--transition-smooth);
}

.timeline-content h3 {
  margin-bottom: 0.75rem;
  color: var(--primary-obsidian);
}

/* ==========================================================================
   FAQ SECTION
   ========================================================================== */
.faq {
  padding: 8rem 0;
  background: var(--bg-light);
}

.faq-wrapper {
  max-width: 800px;
  margin: 4rem auto 0;
}

.faq-item {
  margin-bottom: 1.5rem;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  border: 1px solid rgba(20, 62, 53, 0.08);
}

.faq-question {
  width: 100%;
  padding: 1.8rem 2rem;
  background: var(--bg-white);
  border: none;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-title);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--primary-obsidian);
  cursor: pointer;
  transition: var(--transition-fast);
}

.faq-question:hover {
  background: rgba(255, 255, 255, 0.85);
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--accent-emerald);
  font-weight: 300;
  transition: var(--transition-fast);
}

.faq-item.active .faq-question::after {
  content: '−';
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  background: var(--bg-white);
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-answer p {
  padding: 0 2rem 1.8rem;
  font-size: 1.05rem;
  border-top: 1px solid rgba(20, 62, 53, 0.05);
}

/* ==========================================================================
   CONTACT (CONTATO) SECTION
   ========================================================================== */
.contact {
  padding: 8rem 0;
  background-color: var(--bg-white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 5rem;
}

.contact-info h2 {
  text-align: left;
  margin-bottom: 2.5rem;
}

.contact-info h2::after {
  left: 30px;
  transform: none;
}

.contact-intro {
  font-size: 1.15rem;
  margin-bottom: 3rem;
}

.info-cards {
  display: grid;
  gap: 1.5rem;
}

.info-card {
  display: flex;
  gap: 1.5rem;
  padding: 2rem;
  border: 1px solid rgba(20, 62, 53, 0.08);
}

.info-icon {
  font-size: 1.8rem;
  color: var(--accent-emerald);
}

.info-details h4 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.info-details p {
  font-size: 0.95rem;
}

/* Contact Form */
.contact-form-wrapper {
  padding: 3.5rem;
}

.contact-form-wrapper h3 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.contact-form-wrapper p {
  margin-bottom: 2.5rem;
}

.form-group {
  margin-bottom: 1.8rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.6rem;
  font-size: 0.95rem;
  color: var(--primary-obsidian);
}

.form-control {
  width: 100%;
  padding: 1.1rem 1.3rem;
  border: 1.5px solid rgba(20, 62, 53, 0.12);
  border-radius: var(--border-radius-md);
  background: var(--bg-light);
  font-family: inherit;
  font-size: 1rem;
  color: var(--text-dark);
  transition: var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--secondary-champagne);
  background: var(--bg-white);
  box-shadow: 0 0 0 4px rgba(223, 177, 91, 0.1);
}

.form-terms {
  font-size: 0.85rem;
  text-align: center;
  margin-top: 1.25rem;
  color: var(--text-muted);
}

.form-terms a {
  text-decoration: underline;
  color: var(--accent-emerald);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer {
  background-color: var(--primary-obsidian);
  color: var(--text-light);
  padding: 6rem 0 2rem;
  border-top: 4px solid var(--secondary-champagne);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-col h4 {
  color: var(--secondary-champagne);
  font-size: 1.2rem;
  margin-bottom: 1.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-col p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.footer-col a {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.footer-col a:hover {
  color: var(--secondary-champagne);
  padding-left: 5px;
}

.footer-logo {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1.8rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.footer-logo span {
  color: var(--secondary-champagne);
}

.footer-disclaimer {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.75rem;
  line-height: 1.5;
  margin-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  text-align: center;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
}

/* ==========================================================================
   COOKIE CONSENT BANNER
   ========================================================================== */
.cookie-banner {
  position: fixed;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(200%);
  width: 90%;
  max-width: 580px;
  padding: 2.2rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  border-left: 4px solid var(--secondary-champagne);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-banner.show {
  transform: translateX(-50%) translateY(0);
}

.cookie-banner-content h4 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--primary-obsidian);
}

.cookie-banner-content p {
  font-size: 0.9rem;
}

.cookie-banner-content a {
  text-decoration: underline;
  color: var(--accent-emerald);
  font-weight: 600;
}

.cookie-banner-actions {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
}

.cookie-banner-actions .btn {
  padding: 0.75rem 1.8rem;
  font-size: 0.9rem;
}

/* ==========================================================================
   SCROLL REVEAL ANIMATIONS
   ========================================================================== */
.reveal {
  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.active {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  
  .hero-content p {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-visual {
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  
  .about-image {
    max-width: 550px;
    margin: 0 auto;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
}

@media (max-width: 768px) {
  /* Navigation */
  .mobile-menu-btn {
    display: block;
  }
  
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--primary-obsidian);
    flex-direction: column;
    justify-content: center;
    gap: 2.5rem;
    transition: var(--transition-smooth);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
    padding: 2rem;
  }
  
  .nav-links.active {
    right: 0;
  }
  
  /* Timeline */
  .timeline::before {
    left: 40px;
  }
  
  .timeline-item {
    width: 100%;
    margin-bottom: 4rem;
    padding-left: 80px !important;
    padding-right: 0 !important;
    text-align: left !important;
  }
  
  .timeline-badge {
    left: 20px !important;
    right: auto !important;
  }
  
  /* Footer */
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .contact-form-wrapper {
    padding: 2rem 1.5rem;
  }
}
