/* 
  Valmor Ademicon - Landing Page Styles
  Clean & Professional Design Refinement
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&display=swap');

:root {
  --ademicon-red: #ED1C24;
  --ademicon-dark: #FFFFFF;
  /* Inverted to White for Dark Mode */
  --text-main: #FFFFFF;
  /* Inverted to White */
  --text-light: #CCCCCC;
  /* Light Gray */
  --white: #FFFFFF;
  --bg-light: #FFFFFF;
  --font-main: 'Inter', sans-serif;
  --transition: all 0.3s ease;
  --container-width: 960px;
  /* STRICT 960px */
  --header-height: 72px;
}

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

html {
  scrollbar-gutter: stable;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-main);
  color: var(--text-main);
  line-height: 1.6;
  /* Premium Dark Gradient: Deep Black -> Dark Blue -> Subtle Dark Red */
  background: linear-gradient(135deg, #0a0a0a 0%, #0f172a 50%, #2a0a0e 100%);
  background-attachment: fixed;
  /* Parallax-like effect */
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  padding-top: var(--header-height);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  /* Soft corners for all images */
  margin: 0 auto;
  /* Global image centering */
}

a {
  text-decoration: none;
}

ul {
  list-style: none;
}

/* Utilities */
.container {
  width: 90%;
  max-width: var(--container-width);
  /* Uses 960px */
  margin: 0 auto;
  padding: 40px;
  /* Increased internal padding */
  text-align: center;
  /* Card Styling - Now Transparent as requested */
  background-color: transparent;
  border-radius: 16px;
  box-shadow: none;
  /* Remove shadow to blend with background */
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--ademicon-red);
  color: var(--white);
  padding: 14px 28px;
  /* Normal size */
  border-radius: 6px;
  /* Slightly rounded, professional */
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
  box-shadow: 0 2px 4px rgba(237, 28, 36, 0.2);
  width: auto;
  /* Allow natural width */
  min-width: 200px;
  cursor: pointer;
  border: none;
}

.btn:hover {
  background-color: #c41219;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(237, 28, 36, 0.3);
}

.section-title {
  font-size: 1.75rem;
  /* Medium title */
  font-weight: 600;
  color: var(--ademicon-red);
  /* Red highlight */
  margin-bottom: 0.5rem;
  text-align: center;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.1rem;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--text-light);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Sections General */
/* Sections General */
section {
  padding: 40px 0;
  /* Reduced vertical padding since cards have padding */
  background-color: transparent;
  /* Reveal gradient */
}

/* Hero Section */
/* Hero Section */
.hero {
  padding-top: 40px;
  padding-bottom: 40px;
  text-align: center;
  /* STRICT Center */
}

.hero-content {
  display: flex;
  flex-direction: column;
  /* Center stack mobile and desktop preferred for strict centering */
  gap: 30px;
  align-items: center;
  justify-content: center;
}

.hero-text {
  flex: 1;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 0;
  /* Remove any padding */
}

.hero-logo-img {
  max-width: 160px;
  margin: 0 auto 30px;
}

.hero h1 {
  font-size: 2.5rem;
  line-height: 1.25;
  margin-bottom: 1.2rem;
  font-weight: 700;
  color: var(--ademicon-dark);
}

.hero p {
  font-size: 1.15rem;
  color: var(--text-light);
  margin-bottom: 2rem;
}

.hero-visual {
  flex: 1;
  display: flex;
  justify-content: center;
  width: 100%;
}

.hero-visual img {
  max-width: 480px;
  /* Max width constraint */
  width: 100%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* Comparativo Section */
.comparative-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.comparative-img {
  max-width: 500px !important;
  /* Targeted ~500px range */
  width: 100%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid #eee;
}

/* Vehicles & Real Estate Section */
.cards-grid,
.real-estate-grid {
  display: flex;
  /* Flex is easier for centering if items are few, or centered grid */
  flex-direction: column;
  align-items: center;
  gap: 30px;
  max-width: 900px;
  margin: 0 auto;
}

.card {
  background: rgba(255, 255, 255, 0.05);
  /* Glassmorphism */
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0;
  width: 100%;
  max-width: 500px;
  /* Constrain card width */
}

.card:hover {
  border-color: #ddd;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.card-img {
  width: 100%;
  max-width: 400px;
  height: auto;
  margin-top: 20px;
  object-fit: contain;
}

.real-estate-img {
  width: 100%;
  max-width: 400px;
  height: auto;
  margin: 0 auto;
  border-radius: 8px;
}

.card-body {
  padding: 20px;
  text-align: center;
  width: 100%;
}

.card-text {
  font-weight: 500;
  color: var(--text-main);
}

/* Investors Section */
/* Investors Section */
.investors {
  background-color: transparent;
}

.investors-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}

.investors-img img {
  max-width: 400px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
  margin: 0 auto;
}

.investors-list {
  background: rgba(255, 255, 255, 0.05);
  /* Glassmorphism */
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 8px;
  display: inline-block;
  /* Keep list compact */
  text-align: left;
  /* List items left aligned looks better */
}

.investors-list li {
  margin-bottom: 18px;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  color: var(--text-light);
}

.investors-list li::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: var(--primary-color);
  border-radius: 50%;
  /* Bullet style */
  margin-right: 15px;
  flex-shrink: 0;
}

/* About Section */
.about-profile {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.about h3 {
  color: var(--ademicon-dark);
  margin-bottom: 10px;
}

.about p {
  color: var(--text-light);
}

/* Final CTA */
/* Final CTA */
.final-cta {
  background-color: transparent;
  /* Very subtle grey distinctions allowed, or white */
  border-top: 1px solid #eee;
  text-align: center;
}

.final-cta h2 {
  font-size: 1.6rem;
  margin-bottom: 30px;
  color: var(--text-main);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Footer */
/* Footer */
footer {
  background-color: transparent;
  /* Keep transparent or specific styling? */
  /* If transparent, footer text might need to be white. 
     Let's keep the container card loop, so footer content is inside a card? 
     Or simpler: Footer text on the dark background. */
  border-top: none;
  color: rgba(255, 255, 255, 0.7);
  /* Light text on dark footer */
  padding: 40px 0;
  text-align: center;
  font-size: 0.85rem;
}

/* Footer Container Override (Optional: if we want footer in a card, leave as is. 
   If we want footer text directly on gradient, we override .container for footer) */
footer .container {
  background-color: transparent;
  box-shadow: none;
  padding: 0;
}

/* Desktop Media Queries */
@media (min-width: 768px) {
  /* Enforcing consistent centered layout across devices */
  /* User requested "Center the hero section horizontally... Center headline... Remove any left padding" */
  /* So we keep the centered stack for Hero even on desktop to ensure perfect symmetry as requested. */
  /* Or we do a very balanced centered row. Let's stick to Centered Stack for safety and strict adherence to "Center... horizontally". */

  .hero h1 {
    font-size: 3rem;
  }

  .hero-text {
    max-width: 800px;
    /* Allow wider text on desktop */
  }

  /* We can allow side-by-side if perfectly centered, but the user complained about alignment.
     A vertical stack is the safest "Center" alignment. 
     If they want side-by-side they usually say "Image right, text left". 
     They said "Center the image, headline, text and CTA vertically and horizontally".
     This implies a column layout.
  */

  /* For other sections, grid can be used */
  .cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    justify-items: center;
    /* Center items in grid cells */
  }

  .card {
    height: 100%;
    /* Equal height */
  }
}

/* Floating WhatsApp Button - Global */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 25px;
  right: 25px;
  background-color: #25d366;
  color: #FFF;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
  z-index: 10000;
  /* High z-index */
  display: flex !important;
  /* Force flex */
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  opacity: 1 !important;
  visibility: visible !important;
}

.whatsapp-float:hover {
  background-color: #1ebe57;
  transform: scale(1.1);
  box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.3);
}

.whatsapp-float svg {
  width: 35px;
  height: 35px;
  fill: white;
}

/* Header Components */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  height: var(--header-height);
  display: flex;
  align-items: center;
}

.header-container {
  display: flex !important;
  justify-content: center;
  align-items: center;
  padding: 0 16px;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

.site-nav {
  display: flex;
  justify-content: center;
  width: 100%;
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
  justify-content: center;
}

.site-nav a {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.06);
  color: #222;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s ease;
}

.site-nav a:hover {
  background: rgba(0, 0, 0, 0.10);
  color: #000;
}

.site-nav a[aria-current="page"] {
  background: rgba(237, 28, 36, 0.1);
  /* Ademicon Red hint */
  color: #c41219;
}

/* Mobile Responsive Fixes */
@media (max-width: 768px) {

  /* Header Navigation */
  .site-header {
    height: auto;
    /* Allow auto height for wrapping */
    padding: 10px 0;
  }

  .header-container {
    padding: 0 10px;
  }

  .site-nav ul {
    gap: 8px;
    /* Slightly tighter gap */
  }

  .site-nav a {
    font-size: 0.9rem;
    padding: 6px 10px;
  }

  /* Hero & Process Section */
  .hero {
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .hero h1 {
    font-size: 1.8rem;
    line-height: 1.3;
  }

  .hero-text {
    width: 100%;
  }

  /* Process Steps vertical stack */
  .steps-grid {
    flex-direction: column;
    align-items: center;
    gap: 25px !important;
  }

  .step-item {
    width: 100%;
    min-width: 0;
    max-width: 300px;
  }

  .process-container {
    padding: 20px !important;
    margin-top: 10px !important;
  }

  /* General Section Spacing */
  section {
    padding: 30px 0;
  }

  .container {
    padding: 20px;
    width: 94%;
  }

  .section-title {
    font-size: 1.5rem;
  }
}

@media (max-width: 600px) {
  :root {
    --header-height: auto;
  }

  body {
    padding-top: 140px;
    /* Increased to visual clear the 2-row grid */
  }

  .site-nav ul {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .site-nav a {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
    height: 100%;
    font-size: 0.8rem;
    padding: 8px 4px;
    white-space: normal;
    /* Allow text wrap if needed */
    line-height: 1.1;
  }
}

/* Deep Linking Scroll Offset */
#imoveis,
#veiculos,
#servicos {
  scroll-margin-top: 100px;
  /* Default desktop offset */
}

@media (max-width: 600px) {

  #imoveis,
  #veiculos,
  #servicos {
    scroll-margin-top: 160px;
    /* Increased for larger mobile header */
  }
}

/* --- Responsive Card System --- */

/* 1. Main Content Panel (Glassmorphism container) */
.content-panel {
  background: rgba(255, 255, 255, 0.05);
  padding: 40px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #dedede;
  max-width: 100%;
  overflow: hidden;
  /* Prevent overflow */
}

/* 2. Comparison Grid (The "Faz sentido" container) */
.comparison-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  width: 100%;
}

/* 3. Info Card (The individual items inside grid) */
.info-card {
  flex: 1;
  min-width: 250px;
  background: rgba(255, 255, 255, 0.05);
  padding: 20px;
  border-radius: 6px;
  overflow-wrap: break-word;
  word-break: normal;
  /* Prevent overflow */
}

/* Mobile Overrides (Small Screens) */
@media (max-width: 520px) {

  /* Reduce panel padding */
  .content-panel {
    padding: 24px 16px !important;
  }

  /* Force stack for grid */
  .comparison-grid {
    flex-direction: column !important;
    gap: 20px !important;
  }

  /* Ensure cards take full width but don't overflow */
  .info-card {
    min-width: 0 !important;
    width: 100% !important;
    flex: none !important;
  }
}

/* --- Form Styles (Feedback & Fallback) --- */
.form-error {
  background-color: rgba(220, 53, 69, 0.2);
  color: #ff6b6b;
  padding: 15px;
  border-radius: 6px;
  margin-top: 20px;
  font-size: 0.9rem;
  border: 1px solid rgba(220, 53, 69, 0.3);
}

.form-success {
  background-color: rgba(40, 167, 69, 0.2);
  color: #75b798;
  padding: 15px;
  border-radius: 6px;
  margin-top: 20px;
  font-size: 0.9rem;
  border: 1px solid rgba(40, 167, 69, 0.3);
}

.form-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 15px;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.1);
  color: #ddd;
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-decoration: none;
  cursor: pointer;
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}