/*
Theme Name: GeneratePress Child
Template: generatepress
Description: Thème enfant pour rachat-credit-urgent.fr
Version: 1.0
*/

/* ===== RESET & GLOBAL ===== */
body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  color: #1a1a2e;
  overflow-x: hidden;
}

/* ===== FULL WIDTH PAGE ===== */
.page-id-2 .site-content {
  padding: 0 !important;
}

.page-id-2 .inside-article {
  padding: 0 !important;
  margin: 0 !important;
  max-width: 100% !important;
}

.page-id-2 .entry-content {
  padding: 0 !important;
  margin: 0 !important;
  max-width: 100% !important;
}

.page-id-2 .container.grid-container {
  max-width: 100% !important;
  padding: 0 !important;
}

.page-id-2 #content {
  max-width: 100% !important;
}

/* ===== HEADER / NAVIGATION ===== */
.site-header {
  background: #fff !important;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}

.main-navigation {
  background: transparent !important;
}

.main-navigation .main-nav ul li a {
  color: #1a1a2e !important;
  font-weight: 500;
  font-size: 15px;
  transition: color 0.3s;
}

.main-navigation .main-nav ul li a:hover,
.main-navigation .main-nav ul li.current-menu-item a {
  color: #2563eb !important;
}

.main-navigation .main-nav ul li.current-menu-item a {
  font-weight: 700;
}

/* Remove default GP nav backgrounds */
.main-navigation .main-nav ul li a,
.main-navigation .main-nav ul li.sfHover > a {
  background: transparent !important;
}

/* ===== HERO SECTION ===== */
.hero-section {
  background: linear-gradient(135deg, #dbeafe 0%, #e0f2fe 40%, #f0fdfa 100%);
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
  width: 100%;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(37,99,235,0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-title {
  font-size: 42px !important;
  font-weight: 800 !important;
  color: #1a1a2e !important;
  text-align: center;
  margin-bottom: 20px !important;
  line-height: 1.2 !important;
}

.hero-subtitle {
  display: inline-block;
  background: #f4b942;
  color: #1a1a2e;
  font-weight: 700;
  font-size: 22px;
  padding: 10px 28px;
  border-radius: 6px;
  text-align: center;
  margin: 0 auto 50px;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  text-align: center;
}

/* ===== SERVICE CARDS ===== */
.services-grid {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.service-card {
  background: #fff;
  border-radius: 16px;
  padding: 32px 28px 52px;
  width: 220px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  transition: transform 0.3s, box-shadow 0.3s;
  text-decoration: none !important;
  color: #1a1a2e !important;
  position: relative;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
  color: #1a1a2e !important;
}

.service-card .card-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}

.service-card .card-icon.blue { background: #dbeafe; }
.service-card .card-icon.orange { background: #fed7aa; }
.service-card .card-icon.green { background: #d1fae5; }
.service-card .card-icon.pink { background: #fce7f3; }

.service-card .card-title {
  font-weight: 700;
  font-size: 16px;
  line-height: 1.3;
}

.service-card .card-arrow {
  position: absolute;
  bottom: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #6b7280;
  transition: background 0.3s, color 0.3s;
}

.service-card:hover .card-arrow {
  background: #2563eb;
  color: #fff;
}

/* ===== TRUSTPILOT SECTION ===== */
.trustpilot-section {
  text-align: center;
  padding: 40px 20px;
  background: #fff;
  width: 100%;
}

/* ===== SIMULATION FORM SECTION ===== */
.simulation-section {
  max-width: 500px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero-section {
    padding: 50px 0 40px;
  }
  .hero-title {
    font-size: 28px !important;
  }
  .hero-subtitle {
    font-size: 18px;
    padding: 8px 20px;
  }
  .services-grid {
    flex-direction: column;
    align-items: center;
  }
  .service-card {
    width: 100%;
    max-width: 300px;
  }
  .hero-content {
    padding: 0 20px;
  }
}
