/* CSS Custom Properties & Reset */
:root {
  /* Colors */
  --color-primary-dark: #002255;
  --color-primary-base: #003A8F;
  --color-primary-light: #0057B8;
  --color-accent: #F39200;
  --color-accent-hover: #D87E00;
  
  --color-bg: #040A18;
  --color-bg-alt: #081228;
  --color-text-main: #F8FAFC;
  --color-text-muted: #94A3B8;
  
  --color-glass-bg: rgba(255, 255, 255, 0.03);
  --color-glass-border: rgba(255, 255, 255, 0.08);
  --color-glass-highlight: rgba(255, 255, 255, 0.15);
  
  /* Typography */
  --font-main: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  /* Spacing & Layout */
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 2rem;
  --spacing-xl: 4rem;
  
  --container-width: 1200px;
  --border-radius: 12px;
  --border-radius-lg: 24px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background-color: var(--color-bg);
  background-image: radial-gradient(circle at top right, var(--color-primary-dark) 0%, var(--color-bg) 60%);
  color: var(--color-text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

/* Layout Utilities */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-spacing {
  padding: 5rem 0;
}

.text-center {
  text-align: center;
}

.bg-darker {
  background-color: var(--color-bg-alt);
}

.relative {
  position: relative;
}

.z-10 {
  z-index: 10;
}

.mt-2 { margin-top: 1.5rem; }
.mt-4 { margin-top: 3rem; }

/* Typography */
h1, h2, h3, h4 {
  line-height: 1.2;
  font-weight: 600;
}

h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 1rem;
}

.highlight-text {
  color: var(--color-accent);
  background: linear-gradient(90deg, var(--color-accent) 0%, #FFB042 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-header {
  margin-bottom: 3.5rem;
}

.section-header p {
  color: var(--color-text-muted);
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Buttons */
.btn-primary, .btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  font-size: 1.125rem;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.btn-primary {
  background: var(--color-accent);
  color: #fff;
  border: none;
  box-shadow: 0 4px 15px rgba(243, 146, 0, 0.3);
}

.btn-primary:hover {
  background: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(243, 146, 0, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--color-text-main);
  border: 1px solid var(--color-glass-highlight);
}

.btn-outline:hover {
  background: var(--color-glass-bg);
  border-color: var(--color-primary-light);
}

.btn-large {
  padding: 1.25rem 2.5rem;
  font-size: 1.25rem;
}

/* Glass Cards */
.glass-card {
  background: var(--color-glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--color-glass-border);
  border-radius: var(--border-radius-lg);
  padding: 2.5rem 2rem;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.glass-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-glass-highlight);
}

/* Navbar & Logo */
.navbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding-top: 2rem;
  z-index: 100;
}

.logo {
  font-family: var(--font-main);
  font-size: 1.5rem;
  color: var(--color-text-main);
  letter-spacing: -0.02em;
  display: inline-flex;
}

.logo-light {
  font-weight: 300;
}

.logo-medium {
  font-weight: 500;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 6rem;
  padding-bottom: 4rem;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 87, 184, 0.15);
  color: #60A5FA;
  padding: 0.5rem 1rem;
  border-radius: 100px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(96, 165, 250, 0.2);
}

.hero-title {
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--color-text-muted);
  margin-bottom: 2.5rem;
  max-width: 90%;
}

.hero-proof {
  margin-top: 2.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--border-radius-lg);
}

.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  background: var(--color-primary-base);
  filter: blur(100px);
  opacity: 0.2;
  z-index: -1;
}

.hero-img {
  border-radius: var(--border-radius-lg);
  object-fit: cover;
  width: 100%;
  height: auto;
  border: 1px solid var(--color-glass-border);
}

.glass-float-card {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: rgba(4, 10, 24, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--color-glass-border);
  border-radius: var(--border-radius);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  animation: float 6s ease-in-out infinite;
}

.glass-float-card.card-top-right {
  bottom: auto;
  top: -20px;
  left: auto;
  right: -20px;
  animation-delay: 2s;
}

.glass-float-card i {
  font-size: 2rem;
  color: var(--color-primary-light);
}

.float-title {
  display: block;
  font-weight: 600;
  font-size: 0.875rem;
}

.float-desc {
  display: block;
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

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

@media (min-width: 992px) {
  .hero .container {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

/* Benefits Section */
.grid-benefits {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.grid-benefits .icon-wrapper {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(0, 87, 184, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.grid-benefits .icon-wrapper i {
  font-size: 1.8rem;
  color: #60A5FA;
}

.grid-benefits h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.grid-benefits p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

@media (min-width: 768px) {
  .grid-benefits {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .grid-benefits {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* About Section */
.about-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image img {
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--color-glass-border);
}

.experience-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--color-accent);
  color: white;
  padding: 1.5rem;
  border-radius: var(--border-radius);
  text-align: center;
  box-shadow: 0 10px 30px rgba(243, 146, 0, 0.2);
}

.experience-badge .years {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
}

.experience-badge .text {
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.about-content .eyebrow {
  color: var(--color-primary-light);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.875rem;
}

.about-content h2 {
  margin-top: 0.5rem;
  margin-bottom: 1.5rem;
}

.about-content p {
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

.about-content .subtitle {
  color: var(--color-text-main);
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.signature {
  margin-top: 2.5rem;
  border-top: 1px solid var(--color-glass-border);
  padding-top: 1.5rem;
}

.signature p {
  font-family: 'Outfit', serif;
  font-size: 1.5rem;
  color: var(--color-text-main);
  font-weight: 300;
  margin-bottom: 0;
  font-style: italic;
}

.signature span {
  font-size: 0.875rem;
  color: var(--color-primary-light);
  font-weight: 500;
}

@media (min-width: 992px) {
  .about-container {
    grid-template-columns: 1fr 1fr;
  }
}

/* Services */
.grid-services {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.service-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
  border: 1px solid var(--color-glass-border);
  padding: 2rem;
  border-radius: var(--border-radius);
  transition: all 0.3s ease;
}

.service-card:hover {
  background: rgba(0, 87, 184, 0.1);
  border-color: rgba(96, 165, 250, 0.3);
  transform: translateY(-3px);
}

.service-card i {
  font-size: 2.2rem;
  color: var(--color-accent);
  margin-bottom: 1.25rem;
}

.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.service-card p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

@media (min-width: 768px) {
  .grid-services {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .grid-services {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Process Section */
.process-steps {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.step {
  display: flex;
  gap: 1.5rem;
  background: var(--color-glass-bg);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  border: 1px solid var(--color-glass-border);
}

.step-num {
  font-size: 2.5rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.1);
  line-height: 1;
}

.step-content h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--color-primary-light);
}

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

@media (min-width: 768px) {
  .step {
    padding: 2rem;
    align-items: center;
  }
  .step-num {
    font-size: 4rem;
  }
}

/* Testimonials - WhatsApp Design */
.grid-testimonials {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.whatsapp-card {
  background: #0B141A;
  border: 1px solid var(--color-glass-border);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.wa-header {
  background: #202C33;
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.wa-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #00A884;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.9rem;
}

.wa-contact h4 {
  font-size: 1rem;
  color: #E9EDEF;
  line-height: 1.1;
  margin-bottom: 0.2rem;
}

.wa-contact span {
  font-size: 0.8rem;
  color: #8696A0;
}

.wa-header i {
  margin-left: auto;
  color: #8696A0;
  font-size: 1.2rem;
}

.wa-body {
  padding: 1.5rem;
  background-image: url('data:image/svg+xml;utf8,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><g fill="rgba(255,255,255,0.03)"><path d="M0 0h100v100H0z"/></g></svg>');
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex-grow: 1;
}

.wa-bubble {
  max-width: 85%;
  padding: 0.75rem;
  border-radius: 8px;
  font-size: 0.95rem;
  line-height: 1.4;
  position: relative;
  color: #E9EDEF;
}

.wa-bubble.received {
  align-self: flex-start;
  background: #202C33;
  border-top-left-radius: 0;
}

.wa-bubble.sent {
  align-self: flex-end;
  background: #005C4B;
  border-top-right-radius: 0;
}

.wa-name {
  font-size: 0.8rem;
  color: #53bdeb; /* Light blue name */
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.wa-meta {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.7rem;
  color: #8696A0;
  margin-top: 0.25rem;
  margin-bottom: -0.25rem;
}

.wa-bubble.sent .wa-meta i {
  color: #53bdeb; /* Blue checkmarks */
  font-size: 1rem;
}

@media (min-width: 768px) {
  .grid-testimonials {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* CTA Section */
.cta-section {
  position: relative;
  overflow: hidden;
}

.cta-section .container {
  background: rgba(0, 58, 143, 0.2);
  border: 1px solid rgba(0, 87, 184, 0.4);
  border-radius: var(--border-radius-lg);
  padding: 4rem 2rem;
  backdrop-filter: blur(10px);
}

.cta-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60%;
  height: 60%;
  background: var(--color-primary-base);
  filter: blur(120px);
  opacity: 0.4;
  z-index: 0;
}

.cta-section h2 {
  margin-bottom: 1rem;
}

.cta-section p {
  color: var(--color-text-main);
  opacity: 0.9;
  font-size: 1.125rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Footer & Links */
.footer {
  border-top: 1px solid var(--color-glass-border);
  padding: 4rem 0 2rem;
  background: #020712;
}

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

.footer-brand h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.footer-brand p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.creci {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-text-muted);
}

.footer h4 {
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
}

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

.footer ul li, .footer a {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer a:hover {
  color: var(--color-primary-light);
}

.footer-bottom {
  border-top: 1px solid var(--color-glass-border);
  padding-top: 2rem;
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.875rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

/* Fixed WhatsApp FAB */
.whatsapp-fab {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: #25D366; /* Cor oficial WA pra familiaridade, ou manter accent */
  color: white;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem 0.75rem 1rem;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.whatsapp-fab i {
  font-size: 1.8rem;
}

.whatsapp-fab:hover {
  transform: scale(1.05);
  background: #20BD5A;
}

.fab-text {
  display: none;
}

@media (min-width: 768px) {
  .fab-text {
    display: block;
    font-size: 1rem;
  }
  
  .whatsapp-fab {
    background: var(--color-accent);
    box-shadow: 0 10px 30px rgba(243, 146, 0, 0.4);
  }
  
  .whatsapp-fab:hover {
    background: var(--color-accent-hover);
  }
}

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

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