/* ============================================
   LANDING PAGE IMPROVEMENTS
   ============================================ */

/* ---- VARIÁVEIS E DESIGN SYSTEM ---- */

:root {
  /* Cores */
  --primary: #0066cc;
  --primary-dark: #004a99;
  --accent: #ff9800;
  --accent-light: #ffc107;
  --bg-light: #f5f8fb;
  --bg-white: #ffffff;
  --text-dark: #1a1a1a;
  --text-gray: #666666;
  --text-light: #999999;
  --border: #e0e0e0;

  /* Spacing Scale */
  --sp-xs: 8px;
  --sp-sm: 16px;
  --sp-md: 24px;
  --sp-lg: 32px;
  --sp-xl: 48px;
  --sp-xxl: 64px;
  --sp-section: 100px;

  /* Typography */
  --font-primary: "Josefin Sans", "Lato", sans-serif;
  --font-size-xxl: 60px;
  --font-size-xl: 42px;
  --font-size-lg: 32px;
  --font-size-md: 24px;
  --font-size-base: 16px;
  --font-size-sm: 14px;

  /* Line Heights */
  --lh-tight: 1.2;
  --lh-normal: 1.5;
  --lh-relaxed: 1.8;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.2);

  /* Border Radius */
  --br-sm: 4px;
  --br-md: 8px;
  --br-lg: 12px;
  --br-full: 50px;
}

/* ---- RESET & GLOBAL STYLES ---- */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  font-size: var(--font-size-base);
  line-height: var(--lh-normal);
  color: var(--text-dark);
  background: var(--bg-white);
}

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

/* ---- TYPOGRAPHY SYSTEM ---- */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: var(--lh-tight);
  margin-bottom: var(--sp-md);
}

h1 {
  font-size: var(--font-size-xxl);
}

h2 {
  font-size: var(--font-size-xl);
}

h3 {
  font-size: var(--font-size-lg);
}

h4 {
  font-size: var(--font-size-md);
}

p {
  margin-bottom: var(--sp-md);
  line-height: var(--lh-relaxed);
  color: var(--text-gray);
}

/* ---- SPACING UTILITIES ---- */

.mt-sp-xs {
  margin-top: var(--sp-xs) !important;
}
.mt-sp-sm {
  margin-top: var(--sp-sm) !important;
}
.mt-sp-md {
  margin-top: var(--sp-md) !important;
}
.mt-sp-lg {
  margin-top: var(--sp-lg) !important;
}
.mt-sp-xl {
  margin-top: var(--sp-xl) !important;
}

.mb-sp-xs {
  margin-bottom: var(--sp-xs) !important;
}
.mb-sp-sm {
  margin-bottom: var(--sp-sm) !important;
}
.mb-sp-md {
  margin-bottom: var(--sp-md) !important;
}
.mb-sp-lg {
  margin-bottom: var(--sp-lg) !important;
}
.mb-sp-xl {
  margin-bottom: var(--sp-xl) !important;
}

.pt-sp-sm {
  padding-top: var(--sp-sm) !important;
}
.pt-sp-md {
  padding-top: var(--sp-md) !important;
}
.pt-sp-lg {
  padding-top: var(--sp-lg) !important;
}

.pb-sp-sm {
  padding-bottom: var(--sp-sm) !important;
}
.pb-sp-md {
  padding-bottom: var(--sp-md) !important;
}
.pb-sp-lg {
  padding-bottom: var(--sp-lg) !important;
}

.gap-md {
  gap: var(--sp-md) !important;
}
.gap-lg {
  gap: var(--sp-lg) !important;
}

/* ---- SECTION STYLES ---- */

section {
  position: relative;
}

.section-base {
  padding: var(--sp-section) 0;
  overflow: hidden;
}

.section-thin {
  padding: 60px 0;
}

.section-light {
  background: var(--bg-light);
}

.section-primary {
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-dark) 100%
  );
  color: var(--bg-white);
}

.section-white {
  background: var(--bg-white);
}

/* ---- BANNERS ---- */

.banner-slider {
  width: 100%;
  position: relative;
  overflow: hidden;
  background: #f0f0f0;
}

.banner-slider figure {
  margin: 0;
  overflow: hidden;
}

.banner-slider img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* ---- CONTAINER ---- */

.container-fluid-custom {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--sp-lg);
}

/* ---- HEADER/TITLE SECTIONS ---- */

.section-header {
  text-align: center;
  margin-bottom: var(--sp-xl);
}

.section-title {
  font-size: var(--font-size-xl);
  font-weight: 700;
  margin-bottom: var(--sp-md);
  color: var(--text-dark);
}

.section-header.white .section-title {
  color: var(--bg-white);
}

.section-subtitle {
  font-size: var(--font-size-base);
  color: var(--text-gray);
  max-width: 600px;
  margin: 0 auto;
  line-height: var(--lh-relaxed);
}

.section-header.white .section-subtitle {
  color: rgba(255, 255, 255, 0.85);
}

.title-underline {
  width: 60px;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--accent-light) 0%,
    var(--accent) 100%
  );
  margin: var(--sp-md) auto;
  border-radius: 2px;
}

.title-underline.white {
  background: var(--bg-white);
}

/* ---- BUTTONS ---- */

.btn {
  display: inline-block;
  padding: 12px 32px;
  font-size: var(--font-size-sm);
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--br-full);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn:hover {
  text-decoration: none;
}

/* Button Primary */
.btn-primary,
.btn-theme {
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-dark) 100%
  );
  color: var(--bg-white) !important;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover,
.btn-theme:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  color: var(--bg-white) !important;
}

/* Button Accent */
.btn-accent {
  background: linear-gradient(
    135deg,
    var(--accent-light) 0%,
    var(--accent) 100%
  );
  color: var(--bg-white) !important;
  box-shadow: var(--shadow-md);
}

.btn-accent:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(255, 152, 0, 0.4);
}

/* Button Large */
.btn-lg {
  padding: 16px 48px;
  font-size: var(--font-size-base);
}

/* Button Secondary */
.btn-secondary {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary) !important;
}

.btn-secondary:hover {
  background: var(--primary);
  color: var(--bg-white) !important;
}

/* ---- CARDS & BOXES ---- */

.card-base {
  background: var(--bg-white);
  border-radius: var(--br-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.card-base:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.card-p {
  padding: var(--sp-lg);
}

/* ---- IMAGES & MEDIA ---- */

.img-responsive {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--br-lg);
}

.img-shadow {
  box-shadow: var(--shadow-lg);
  border-radius: var(--br-lg);
}

.img-overlay {
  position: relative;
  overflow: hidden;
  border-radius: var(--br-lg);
}

.img-overlay::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.img-overlay:hover::after {
  opacity: 1;
}

/* ---- ABOUT/WHY US SECTION ---- */

.about-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-xl);
  align-items: center;
}

.about-image {
  position: relative;
}

.about-content h2 {
  color: var(--primary);
  margin-bottom: var(--sp-lg);
}

.about-content p {
  margin-bottom: var(--sp-md);
}

.about-content ul {
  list-style: none;
  margin-bottom: var(--sp-lg);
}

.about-content ul li {
  padding-left: 24px;
  margin-bottom: var(--sp-sm);
  position: relative;
}

.about-content ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
}

/* ---- FEATURES SECTION ---- */

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

.feature-card {
  padding: var(--sp-lg);
  text-align: center;
  border-radius: var(--br-lg);
  background: var(--bg-white);
  box-shadow: var(--shadow-sm);
  transition: all 0.4s ease;
}

.feature-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(
    135deg,
    var(--accent-light) 0%,
    var(--accent) 100%
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--sp-md);
  font-size: 32px;
  color: var(--bg-white);
}

.feature-card h4 {
  color: var(--primary);
  margin-bottom: var(--sp-sm);
}

.feature-card p {
  font-size: var(--font-size-sm);
  color: var(--text-light);
}

/* ---- TESTIMONIALS SECTION ---- */

.testimonial-card {
  background: var(--bg-white);
  padding: var(--sp-lg);
  border-radius: var(--br-lg);
  box-shadow: var(--shadow-md);
  text-align: center;
  margin: var(--sp-md);
}

.testimonial-text {
  font-style: italic;
  margin-bottom: var(--sp-md);
  color: var(--text-gray);
  line-height: var(--lh-relaxed);
}

.testimonial-author {
  font-weight: 700;
  color: var(--primary);
}

.testimonial-role {
  font-size: var(--font-size-sm);
  color: var(--text-light);
}

/* ---- FAQ SECTION ---- */

.faq-section {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: var(--sp-lg);
  border-radius: var(--br-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: var(--shadow-md);
}

.faq-header {
  background: var(--primary);
  color: var(--bg-white);
  padding: var(--sp-md);
  cursor: pointer;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s ease;
}

.faq-header:hover {
  background: var(--primary-dark);
}

.faq-header.active {
  background: var(--accent);
  color: var(--bg-white);
}

.faq-header h4 {
  color: white;
}

.faq-content {
  background: var(--bg-white);
  padding: var(--sp-lg);
  display: none;
  color: var(--text-gray);
  line-height: var(--lh-relaxed);
}

.faq-content.show {
  display: block;
}

.faq-icon {
  font-size: 20px;
  transition: transform 0.3s ease;
}

.faq-header.active .faq-icon {
  transform: rotate(180deg);
}

/* ---- CONTACT SECTION ---- */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--sp-lg);
}

.contact-card {
  text-align: center;
  padding: 10px;
  border-radius: var(--br-lg);
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  color: var(--bg-white);
}

.contact-card:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: var(--accent);
  transform: translateY(-5px);
}

.contact-icon {
  font-size: 32px;
  margin-bottom: var(--sp-md);
  color: var(--accent);
}

.contact-card h4 {
  color: var(--bg-white);
  margin-bottom: var(--sp-sm);
}

.contact-card a {
  color: var(--bg-white);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-card a:hover {
  color: var(--accent);
}

/* ---- FORM STYLES ---- */

.form-group {
  margin-bottom: var(--sp-md);
}

.form-control {
  width: 100%;
  padding: var(--sp-sm) var(--sp-md);
  border: 2px solid var(--border);
  border-radius: var(--br-md);
  font-size: var(--font-size-base);
  transition: all 0.3s ease;
  font-family: var(--font-primary);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.form-control::placeholder {
  color: var(--text-light);
}

textarea.form-control {
  resize: vertical;
  min-height: 150px;
}

/* ---- RESPONSIVE DESIGN ---- */

@media (max-width: 1024px) {
  .about-section {
    grid-template-columns: 1fr;
    gap: var(--sp-lg);
  }

  h1 {
    font-size: 48px;
  }

  h2 {
    font-size: 36px;
  }

  .section-title {
    font-size: 32px;
  }
}

@media (max-width: 768px) {
  :root {
    --sp-section: 60px;
    --font-size-xxl: 42px;
    --font-size-xl: 32px;
  }

  .section-base {
    padding: 60px 0;
  }

  .section-header {
    margin-bottom: var(--sp-lg);
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-md);
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-md);
  }

  h1,
  h2,
  h3 {
    margin-bottom: var(--sp-md);
  }

  p {
    margin-bottom: var(--sp-sm);
  }
}

@media (max-width: 480px) {
  :root {
    --sp-section: 40px;
    --sp-lg: 24px;
    --font-size-lg: 24px;
  }

  .section-base {
    padding: 40px 0;
  }

  .btn {
    padding: 10px 24px;
    font-size: 12px;
  }

  .btn-lg {
    padding: 12px 32px;
  }

  .card-p {
    padding: var(--sp-md);
  }
}

/* ---- UTILITY CLASSES ---- */

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

.text-white {
  color: var(--bg-white);
}

.text-primary {
  color: var(--primary);
}

.text-accent {
  color: var(--accent);
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.w-100 {
  width: 100% !important;
}

.h-100 {
  height: 100% !important;
}

.overflow-hidden {
  overflow: hidden;
}

.rounded {
  border-radius: var(--br-lg);
}

.rounded-full {
  border-radius: 50%;
}
