/* Reset simple */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  color: #222;
  background-color: #f5f5f5;
}

/* Conteneur principal */
.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

/* En-tête */
header {
  background-color: #0e2740; /* bleu foncé */
  color: #d4af37;            /* doré */
  padding: 10px 0 0 0;
  border-bottom: 8px solid #d4af37;
}

header .brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  text-align: center;
}

/* Logo version bureau */
header .brand img {
  height: 200px;
  margin-bottom: 0;
  padding-bottom: 0;
}

/* Texte sous le logo (masqué) */
header .brand h1,
header .brand span {
  display: none;
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Navigation */
nav {
  margin-top: 4px;
}

nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

nav a {
  text-decoration: none;
  color: #d4af37;
  padding: 6px 12px;
  border-radius: 3px;
  font-size: 0.9rem;
  border: 2px solid transparent;
}

nav a:hover,
nav a.active {
  border-color: #d4af37;
  background-color: rgba(212, 175, 55, 0.1);
}

/* Hero */
.hero {
  background-color: #0e2740;
  color: white;
  padding: 60px 0;
  margin-bottom: 30px;
}

.hero .container {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.hero h2 {
  font-size: 2rem;
  margin-bottom: 5px;
}

.hero p {
  max-width: 700px;
}

/* Boutons */
.btn {
  display: inline-block;
  padding: 10px 18px;
  margin-top: 10px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 0.95rem;
}

.btn-primary {
  background-color: #d4af37;
  color: #0e2740;
}

.btn-primary:hover {
  opacity: 0.9;
}

/* Sections */
main {
  padding: 30px 0 50px;
}

section {
  margin-bottom: 30px;
}

section h2 {
  margin-bottom: 10px;
  font-size: 1.5rem;
  color: #0e2740;
}

section p {
  margin-bottom: 10px;
}

/* Cartes */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 10px;
}

.card {
  background-color: white;
  border-radius: 6px;
  padding: 18px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.08);
}

.card h3 {
  margin-bottom: 8px;
  font-size: 1.1rem;
}

/* Encadré info */
.info-box {
  background-color: white;
  border-left: 4px solid #d4af37;
  padding: 15px;
  margin-top: 15px;
}

/* Contact / coordonnées */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

/* Pied de page */
footer {
  background-color: #0e2740;
  color: #d4af37;
  padding: 15px 0;
  font-size: 0.85rem;
  margin-top: 30px;
}

footer .container {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

footer a {
  color: #d4af37;
  text-decoration: none;
}

/* Section 6 : texte blanc */
.section6 h2,
.section6 p {
  color: #ffffff;
}

/* Responsive mobile */
@media (max-width: 700px) {
  header .brand {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  header .brand img {
    height: 370px;
  }

  nav ul {
    gap: 6px;
  }

  nav a {
    font-size: 0.85rem;
    padding: 5px 10px;
  }

  .hero {
    padding: 40px 0;
  }

  .hero h2 {
    font-size: 1.6rem;
  }
}

/* SECTION PHOTO FULL WIDTH — PUSH-BOUTON 1 */
.fullwidth-image {
  width: 100%;
  margin: 20px 0;
}

.fullwidth-image img {
  width: 30%;
  height: auto;
  max-height: 200px;
  object-fit: cover;
  display: block;
  border-radius: 8px;
  cursor: pointer;
  transition: opacity 0.25s ease;
}

.fullwidth-image img:hover {
  opacity: 0.85;
}

/* STYLE DÉDIÉ #photo-push (optionnel) */
#photo-push img {
  width: 100%;
  max-width: 1200px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 12px;
}

/* PUSH-BOUTON 2 — VERSION PLUS PETITE */
.push-small img {
  width: 100%;
  max-width: 150px;
  height: auto;
  display: block;
  margin: 20px auto;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.push-small img:hover {
  transform: scale(1.03);
  opacity: 0.9;
}

/* Responsive pour le petit bouton */
@media screen and (max-width: 768px) {
  .push-small img {
    max-width: 90%;
  }
}
