/* =========================
   RESET
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* =========================
   BASE
========================= */
html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  background: #0f172a;
  color: #f8fafc;
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: #60a5fa;
  text-decoration: none;
  transition: 0.3s ease;
}

a:hover {
  color: #93c5fd;
}

/* =========================
   CONTAINER
========================= */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* =========================
   HEADER
========================= */
header {
  background: linear-gradient(135deg, #111827, #1e293b);
  border-bottom: 1px solid #334155;
  padding: 50px 20px 40px;
  text-align: center;
}

header h1 {
  font-size: 2.4rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

header p {
  font-size: 1.05rem;
  color: #cbd5e1;
  max-width: 800px;
  margin: 0 auto;
}

/* =========================
   NAVIGATION
========================= */
nav {
  background: #111827;
  border-bottom: 1px solid #1f2937;
  position: sticky;
  top: 0;
  z-index: 1000;
}

nav .container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 14px;
  padding-bottom: 14px;
}

nav a {
  color: #e5e7eb;
  font-size: 0.96rem;
  font-weight: 500;
  padding: 10px 14px;
  border-radius: 10px;
  white-space: nowrap;
}

nav a:hover {
  background: rgba(96, 165, 250, 0.12);
  color: #ffffff;
}

/* =========================
   HERO
========================= */
.hero {
  padding: 70px 20px;
  background: radial-gradient(circle at top, rgba(96, 165, 250, 0.14), transparent 45%),
              linear-gradient(180deg, #0f172a, #111827);
  text-align: center;
}

.hero h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 16px;
}

.hero p {
  max-width: 850px;
  margin: 0 auto 28px;
  color: #cbd5e1;
  font-size: 1.05rem;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 13px 22px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.98rem;
  transition: 0.3s ease;
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(90deg, #2563eb, #7c3aed);
  color: #ffffff;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.28);
}

.btn-secondary {
  background: transparent;
  color: #e5e7eb;
  border-color: #475569;
}

.btn-secondary:hover {
  background: #1e293b;
  color: #ffffff;
}

/* =========================
   SECTIONS
========================= */
section {
  padding: 65px 20px;
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
}

.section-title h2 {
  font-size: 1.9rem;
  color: #ffffff;
  margin-bottom: 10px;
}

.section-title p {
  color: #94a3b8;
  max-width: 760px;
  margin: 0 auto;
}

/* =========================
   CARDS / SERVICES
========================= */
.grid {
  display: grid;
  gap: 24px;
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  background: #111827;
  border: 1px solid #1f2937;
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
  transition: 0.3s ease;
}

.card:hover {
  transform: translateY(-3px);
  border-color: #334155;
}

.card h3 {
  color: #ffffff;
  font-size: 1.18rem;
  margin-bottom: 12px;
}

.card p {
  color: #cbd5e1;
  font-size: 0.97rem;
}

.card-icon {
  font-size: 2rem;
  margin-bottom: 14px;
  line-height: 1;
}

/* =========================
   LISTS
========================= */
ul.clean-list {
  list-style: none;
  padding-left: 0;
}

ul.clean-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  color: #cbd5e1;
}

ul.clean-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: #60a5fa;
  font-size: 1.2rem;
  line-height: 1;
}

/* =========================
   FORMULAIRE
========================= */
.form-section {
  background: #0b1220;
}

form {
  max-width: 760px;
  margin: 0 auto;
  background: #111827;
  border: 1px solid #1f2937;
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.form-group {
  margin-bottom: 18px;
}

label {
  display: block;
  margin-bottom: 8px;
  color: #e5e7eb;
  font-weight: 600;
  font-size: 0.95rem;
}

input,
select,
textarea {
  width: 100%;
  padding: 14px 14px;
  border-radius: 12px;
  border: 1px solid #334155;
  background: #0f172a;
  color: #f8fafc;
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  font-size: 1rem;
  outline: none;
  transition: 0.25s ease;
}

input::placeholder,
textarea::placeholder {
  color: #94a3b8;
}

input:focus,
select:focus,
textarea:focus {
  border-color: #60a5fa;
  box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.16);
}

textarea {
  min-height: 150px;
  resize: vertical;
}

/* =========================
   DATE / HEURE / CALENDRIER
========================= */
input[type="date"],
input[type="time"],
input[type="datetime-local"] {
  appearance: none;
  -webkit-appearance: none;
  min-height: 48px;
}

input[type="date"]::-webkit-calendar-picker-indicator,
input[type="datetime-local"]::-webkit-calendar-picker-indicator,
input[type="time"]::-webkit-calendar-picker-indicator {
  opacity: 1;
  cursor: pointer;
  filter: invert(1);
}

input[type="date"]::-webkit-date-and-time-value {
  text-align: left;
}

input[type="date"]::-webkit-datetime-edit,
input[type="date"]::-webkit-datetime-edit-fields-wrapper,
input[type="date"]::-webkit-datetime-edit-text,
input[type="date"]::-webkit-datetime-edit-month-field,
input[type="date"]::-webkit-datetime-edit-day-field,
input[type="date"]::-webkit-datetime-edit-year-field {
  color: #f8fafc;
}

/* =========================
   BOUTON FORM
========================= */
form button,
input[type="submit"],
button.btn-submit {
  width: 100%;
  padding: 15px 20px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(90deg, #2563eb, #7c3aed);
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: 0.3s ease;
}

form button:hover,
input[type="submit"]:hover,
button.btn-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.28);
}

/* =========================
   INFOS / CONTACT
========================= */
.contact-info {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.info-box {
  background: #111827;
  border: 1px solid #1f2937;
  border-radius: 18px;
  padding: 22px;
  text-align: center;
}

.info-box h3 {
  color: #ffffff;
  margin-bottom: 10px;
  font-size: 1.08rem;
}

.info-box p,
.info-box a {
  color: #cbd5e1;
  font-size: 0.96rem;
  word-break: break-word;
}

/* =========================
   FOOTER
========================= */
footer {
  background: #0b1120;
  border-top: 1px solid #1f2937;
  padding: 28px 20px;
  text-align: center;
}

footer p {
  color: #94a3b8;
  font-size: 0.95rem;
}

/* =========================
   UTILITAIRES
========================= */
.text-center {
  text-align: center;
}

.mt-20 {
  margin-top: 20px;
}

.mb-20 {
  margin-bottom: 20px;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 992px) {
  .grid-3,
  .contact-info {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  header {
    padding: 40px 16px 32px;
  }

  header h1 {
    font-size: 2rem;
  }

  .hero {
    padding: 55px 16px;
  }

  .hero h2 {
    font-size: 1.6rem;
  }

  .section-title h2 {
    font-size: 1.55rem;
  }

  .form-row,
  .grid-2,
  .grid-3,
  .contact-info {
    grid-template-columns: 1fr;
  }

  nav .container {
    justify-content: center;
    gap: 8px;
  }

  nav a {
    font-size: 0.92rem;
    padding: 9px 12px;
  }

  form {
    padding: 22px 18px;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 15px;
  }

  .container {
    padding: 0 14px;
  }

  header h1 {
    font-size: 1.7rem;
    line-height: 1.2;
  }

  header p,
  .hero p,
  .section-title p,
  .card p,
  .info-box p {
    font-size: 0.95rem;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  input,
  select,
  textarea,
  form button,
  input[type="submit"] {
    font-size: 16px;
  }
}