:root {
  --primary-blue: #2563eb;
  --primary-green: #10b981;
  --dark: #1f2937;
  --text: #4b5563;
  --white: #ffffff;
  --light-bg: #f8fafc;
  --border: #e5e7eb;
  --shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--dark);
  background-color: var(--white);
}

.custom-navbar {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.05);
}

.brand-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.header-logo {
  width: 100px;
  height: auto;
  object-fit: contain;
  display: block;
}

.lead-form-card {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(6px);
  border-radius: 20px;
  padding: 30px;
  color: #ffffff;
}

.lead-form-card h3 {
  color: #ffffff;
  font-weight: 700;
}

.lead-form-card p {
  color: white;
}

.custom-input {
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  color: white;
}

.custom-input::placeholder {
  color: rgba(255,255,255,0.7);
}

.custom-input:focus {
  background: rgba(255,255,255,0.2);
  border-color: #10b981;
  box-shadow: none;
  color: white;
}

.form-check-label {
  color: rgba(255,255,255,0.85);
}

.brand-text {
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--primary-blue);
  line-height: 1.1;
}

.brand-wrap:hover .brand-text {
  color: var(--primary-green);
}

.navbar .nav-link {
  color: var(--dark);
  font-weight: 500;
}

.navbar .nav-link:hover {
  color: var(--primary-blue);
}

.btn-main {
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-green));
  border: none;
  color: var(--white);
  border-radius: 12px;
  padding: 14px 24px;
  font-weight: 700;
  transition: 0.3s ease;
}

.btn-main:hover {
  color: var(--white);
  transform: translateY(-2px);
  opacity: 0.96;
}

.hero-section {
  background:
    linear-gradient(rgba(20, 84, 136, 1), rgba(20, 40, 70, 0.5)),
    url('hero.jpeg') center/cover no-repeat;
    opacity: 100%;
  padding:  10px 0 90px;
  color: var(--white);
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: var(--white);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 18px;
}

.hero-content h1 {
  font-size: 3rem;
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 20px;
  max-width: 700px;
}

.hero-text {
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.92);
  max-width: 620px;
  margin-bottom: 26px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 25px;
}

.custom-outline-btn {
  border-radius: 12px;
  font-weight: 700;
}

.hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 0.95rem;
}

.hero-feature-item i {
  color: #86efac;
}

.hero-info-card {
  background: rgba(255, 255, 255, 0.98);
  color: var(--dark);
  border-radius: 22px;
  padding: 30px;
  box-shadow: var(--shadow);
}

.hero-info-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #dbeafe, #d1fae5);
  color: var(--primary-blue);
  font-size: 28px;
  margin-bottom: 18px;
}

.hero-info-card h3 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.hero-info-card p {
  color: var(--text);
  margin-bottom: 22px;
}

.section-block {
  padding: 80px 0;
}

.section-light {
  background: var(--light-bg);
}

.section-heading h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.section-heading p {
  color: var(--text);
  max-width: 700px;
  margin: 0 auto 40px;
}

.section-heading.text-start p {
  margin-left: 0;
  margin-right: 0;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  height: 100%;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
  transition: 0.3s ease;
}

.service-card:hover {
  transform: translateY(-4px);
}

.icon-box {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #dbeafe, #d1fae5);
  color: var(--primary-blue);
  font-size: 24px;
  margin-bottom: 18px;
}

.service-card h5 {
  font-weight: 800;
  margin-bottom: 10px;
}

.service-card p {
  color: var(--text);
  margin-bottom: 0;
}

.image-box {
  min-height: 480px;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow);
  background:
        url('photo.jpeg') center/cover no-repeat;
}

.image-overlay {
  position: absolute;
  left: 20px;
  bottom: 20px;
  max-width: 320px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 18px;
  padding: 18px;
  box-shadow: var(--shadow);
}

.image-overlay h5 {
  font-weight: 800;
  margin-bottom: 8px;
}

.image-overlay p {
  margin-bottom: 0;
  color: var(--text);
}

.custom-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.custom-list li {
  margin-bottom: 12px;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
}

.custom-list i {
  color: var(--primary-green);
}

.stat-box {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 22px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
  height: 100%;
}

.stat-box h3 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-blue);
  margin-bottom: 6px;
}

.stat-box p {
  margin-bottom: 0;
  color: var(--text);
}

.cta-box {
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-green));
  color: var(--white);
  border-radius: 28px;
  padding: 60px 30px;
  box-shadow: var(--shadow);
}

.cta-box h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 14px;
}

.cta-box p {
  max-width: 720px;
  margin: 0 auto 24px;
  color: rgba(255, 255, 255, 0.94);
}

.cta-btn {
  font-weight: 700;
  border-radius: 12px;
}

.custom-footer {
  background: #111827;
  color: #d1d5db;
  padding: 28px 0;
}

.custom-footer a {
  color: var(--white);
  text-decoration: none;
}

.custom-footer a:hover {
  text-decoration: underline;
}

/* Modal */
.custom-modal {
  border: none;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
}

.custom-modal-header {
  border-bottom: 1px solid var(--border);
  padding: 24px 24px 18px;
}

.modal-title {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--dark);
}

.modal-subtitle {
  color: var(--text);
  margin-top: 6px;
}

.modal-body {
  padding: 24px;
}

.custom-input {
  border-radius: 12px;
  padding: 14px 16px;
  border: 1px solid #cbd5e1;
  min-height: 52px;
}

.custom-input:focus {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.12);
}

.quick-note {
  margin-top: 4px;
  font-size: 0.92rem;
  color: white;
}

@media (max-width: 991px) {
  .hero-section {
    padding: 80px 0 60px;
  }

  .hero-content h1 {
    font-size: 2.3rem;
  }

  .hero-info-card {
    margin-top: 10px;
  }

  .header-logo {
    width: 46px;
    height: 46px;
  }

  .brand-text {
    font-size: 1rem;
  }
}

@media (max-width: 767px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .section-heading h2,
  .cta-box h2 {
    font-size: 1.8rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn,
  .hero-info-card .btn {
    width: 100%;
  }

  .brand-wrap {
    gap: 10px;
  }

  .brand-text {
    font-size: 0.95rem;
  }

  .modal-title {
    font-size: 1.4rem;
  }
}

/* ===== Responsive complet ===== */

/* Grands laptops / tablettes paysage */
@media (max-width: 1199.98px) {
  .header-logo {
    width: 82px;
  }

  .hero-section {
    padding: 30px 0 70px;
  }

  .hero-content h1 {
    font-size: 2.6rem;
    max-width: 100%;
  }

  .hero-text {
    max-width: 100%;
  }

  .lead-form-card {
    padding: 24px;
  }

  .section-heading h2,
  .cta-box h2 {
    font-size: 2rem;
  }
}

/* Tablettes */
@media (max-width: 991.98px) {
  .custom-navbar .container {
    align-items: center;
  }

  .navbar-collapse {
    margin-top: 12px;
    background: rgba(255, 255, 255, 0.98);
    padding: 14px;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  }

  .navbar-nav {
    gap: 6px;
  }

  .navbar .btn-main {
    width: 100%;
    margin-top: 10px;
  }

  .header-logo {
    width: 72px;
  }

  .hero-section {
    padding: 25px 0 55px;
    text-align: center;
  }

  .hero-content {
    margin-bottom: 10px;
  }

  .hero-content h1 {
    font-size: 2.3rem;
    max-width: 100%;
  }

  .hero-text {
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-features {
    justify-content: center;
  }

  .lead-form-card {
    margin-top: 18px;
    padding: 24px;
  }

  .section-block {
    padding: 65px 0;
  }

  .section-heading h2,
  .cta-box h2 {
    font-size: 1.9rem;
  }

  .image-box {
    min-height: 380px;
  }
}

/* Mobiles larges */
@media (max-width: 767.98px) {
  .brand-wrap {
    gap: 8px;
  }

  .header-logo {
    width: 62px;
  }

  .hero-section {
    padding: 20px 0 45px;
  }

  .hero-badge {
    font-size: 12px;
    padding: 7px 12px;
    margin-bottom: 14px;
  }

  .hero-content h1 {
    font-size: 1.95rem;
    line-height: 1.2;
    margin-bottom: 16px;
  }

  .hero-text {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .hero-actions {
    flex-direction: column;
    gap: 12px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-features {
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
  }

  .hero-feature-item {
    justify-content: center;
    text-align: center;
    border-radius: 14px;
  }

  .lead-form-card {
    padding: 20px;
    border-radius: 18px;
  }

  .lead-form-card h3 {
    font-size: 1.35rem;
  }

  .form-badge {
    font-size: 12px;
  }

  .custom-input {
    font-size: 16px;
  }

  .section-block {
    padding: 55px 0;
  }

  .section-heading h2,
  .cta-box h2 {
    font-size: 1.65rem;
  }

  .section-heading p {
    margin-bottom: 30px;
  }

  .service-card,
  .stat-box {
    padding: 22px;
  }

  .icon-box {
    width: 54px;
    height: 54px;
    font-size: 22px;
  }

  .image-box {
    min-height: 300px;
  }

  .image-overlay {
    left: 14px;
    right: 14px;
    bottom: 14px;
    max-width: none;
    padding: 14px;
  }

  .custom-list li {
    align-items: flex-start;
  }

  .cta-box {
    padding: 42px 20px;
    border-radius: 22px;
  }

  .cta-btn {
    width: 100%;
  }

  .custom-footer {
    text-align: center;
  }
}

/* Petits mobiles */
@media (max-width: 575.98px) {
  .navbar-brand {
    max-width: 75%;
  }

  .header-logo {
    width: 54px;
  }

  .hero-section {
    padding: 16px 0 40px;
  }

  .hero-content h1 {
    font-size: 1.7rem;
  }

  .hero-text {
    font-size: 0.95rem;
  }

  .hero-feature-item {
    font-size: 0.9rem;
    padding: 9px 12px;
  }

  .lead-form-card {
    padding: 18px 16px;
  }

  .lead-form-card h3 {
    font-size: 1.2rem;
  }

  .section-heading h2,
  .cta-box h2 {
    font-size: 1.45rem;
  }

  .section-heading p,
  .service-card p,
  .cta-box p,
  .quick-note {
    font-size: 0.95rem;
  }

  .service-card,
  .stat-box {
    padding: 18px;
    border-radius: 16px;
  }

  .icon-box {
    width: 50px;
    height: 50px;
    font-size: 20px;
    margin-bottom: 14px;
  }

  .image-box {
    min-height: 240px;
    border-radius: 18px;
  }

  .cta-box {
    padding: 34px 16px;
  }

  .custom-footer {
    padding: 22px 0;
    font-size: 0.92rem;
  }
}
