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

/* =========================
   GLOBAL
========================= */
body {
  font-family: "Helvetica Neue", Arial, sans-serif;
  color: #111;
  background-color: #f5f5f5;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

/* =========================
   HEADER
========================= */


.header {
  background: #000;
  color: #fff;
  padding: 20px 0;
}

.header-content {
  width: 90%;
  max-width: 1100px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.6rem;
  letter-spacing: 1px;
}

nav a {
  margin-left: 25px;
  font-size: 0.95rem;
  opacity: 0.7;
  transition: opacity 0.2s;
}

nav a:hover,
nav a.active {
  opacity: 1;
}

.header-content {
  width: 90%;
  max-width: 1100px;
  margin: auto;
  display: flex;
  align-items: center;
}

/* Bloc droite */
.header-right {
  margin-left: auto;
  display: flex;
  align-items: center;
}

/* Icône Instagram */
.instagram-link {
  margin-left: 25px;
  display: flex;
  align-items: center;
}

.instagram-link img {
  width: 40px;
  height: 40px;
  opacity: 0.7;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.instagram-link:hover img {
  opacity: 1;
  transform: scale(1.1);
}

/*----LOGO---- */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;              /* espace entre logo et texte */
  font-size: 1.6rem;
  letter-spacing: 1px;
  color: #fff;
}

/* Image du logo */
.logo img {
  height: 120px;           /* ajuste selon ton logo */
  width: auto;
  display: block;
}

/* =========================
   PAGE HERO (PERSONNALISATION)
========================= */
.page-hero {
  background: #000;
  color: #fff;
  padding: 20px 0 40px;
}

.page-hero-content {
  width: 90%;
  max-width: 900px;
  margin: auto;
}

.page-hero h2 {
  font-size: 2.4rem;
  font-weight: 500;
  margin-bottom: 15px;
}

.page-hero p {
  opacity: 0.85;
  max-width: 750px;
  font-size: 1.05rem;
}

/* =========================
   PAGE CONTENT
========================= */
.page-content {
  width: 90%;
  max-width: 1100px;
  margin: 50px auto 80px;
}

.card {
  background: #fff;
  border: 1px solid #e8e8e8;
  padding: 30px;
  margin-bottom: 25px;
}

.card h3 {
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 15px;
}

.card h4 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.card p {
  font-size: 1rem;
  color: #222;
}

.muted {
  color: #555;
}

.small {
  font-size: 0.85rem;
}

/* =========================
   SPLIT (2 colonnes)
========================= */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  margin-top: 10px;
}

.split-item p {
  margin-top: 8px;
}

/* =========================
   LIST
========================= */
.list {
  margin-left: 18px;
  margin-top: 10px;
}

.list li {
  margin-bottom: 12px;
  color: #222;
}

/* =========================
   FORM
========================= */
.form {
  margin-top: 15px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.form-field {
  margin-bottom: 15px;
}

.form label {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 8px;
  color: #111;
}

.form input,
.form select,
.form textarea {
  width: 100%;
  padding: 12px 12px;
  border: 1px solid #ddd;
  background: #fff;
  font-size: 0.95rem;
  outline: none;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  border-color: #999;
}

.form textarea {
  resize: vertical;
}

.help {
  margin-top: 8px;
  font-size: 0.85rem;
  color: #666;
}

/* =========================
   BUTTONS
========================= */
.btn {
  display: inline-block;
  padding: 12px 30px;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  border-radius: 2px;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
}

.btn.primary {
  background: #000;
  color: #fff;
}

.btn.primary:hover {
  background: #222;
}

.btn.secondary {
  border: 1px solid #000;
  color: #000;
  background: transparent;
}

.btn.secondary:hover {
  background: #000;
  color: #fff;
}

/* =========================
   NOTICE (INFO IMPORTANTE)
========================= */
.notice {
  background: #111;
  color: #fff;
  padding: 25px;
  margin-top: 30px;
}

.notice h4 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.notice p {
  opacity: 0.9;
}

/* =========================
   FOOTER
========================= */
footer {
  background: #000;
  color: #aaa;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 30px 0;
  font-size: 0.8rem;
}

/* =========================
   RESPONSIVE (MOBILE)
========================= */
@media (max-width: 900px) {

  /* HEADER */
  .header-content {
    flex-direction: column;
    gap: 12px;
    align-items: center;
  }

  .header-right {
    margin-left: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }

  nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }

  nav a {
    margin-left: 0;
  }

  .instagram-link {
    margin-left: 0;
  }

  .logo {
    text-align: center;
  }

  /* LAYOUT */
  .split {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .card {
    padding: 22px;
  }

  /* HERO */
  .page-hero {
    padding: 55px 0 30px;
  }

  .page-hero h2 {
    font-size: 2rem;
  }

  /* Lisibilité (optionnel mais conseillé sur mobile) */
  p {
    text-align: left;
  }
}
