/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  color: #222;
  background: #fff;
  line-height: 1.6;
}

/* HEADER */
header {
  background: #ffffff; /* bandeau blanc */
  height: 140px; /* hauteur fixe */
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid #ddd;
}

/* Conteneur interne du header */
.header-content {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* LOGO */
.logo-img {
  height: 120px;   /* taille du logo dans le bandeau */
  width: auto;
  display: block;
}

/* NAVIGATION */
nav {
  flex: 1;
  text-align: center;
}

nav a {
  color: #000; /* texte noir */
  margin: 0 15px;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: bold;
}

nav a:hover {
  color: #0056ff;
}

/* BOUTON TELEPHONE */
.call-btn {
  background: #0056ff; /* bleu roi */
  padding: 12px 22px;
  border-radius: 6px;
  color: #ffffff; /* texte blanc */
  text-decoration: none;
  font-weight: bold;
  border: 2px solid #0056ff;
  white-space: nowrap; /* éviter que le numéro passe sur deux lignes */
}

/* HERO – image de fond */
.hero {
  background: url('photo.jpg') center/cover no-repeat;
  height: 70vh;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* SUPERPOSITION FONCEE */
.overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.55);
}

/* TEXTE DU HERO */
.hero-text {
  position: relative;
  color: white;
  text-align: center;
}

.hero-text h2 {
  font-size: 2.8rem;
  margin-bottom: 10px;
}

.hero-btn {
  background: #3b82f6;
  padding: 12px 20px;
  border-radius: 6px;
  color: #fff;
  text-decoration: none;
  display: inline-block;
  margin-top: 10px;
}

/* SECTIONS */
.section {
  padding: 3rem 0;
}

.grey {
  background: #f6f6f6;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: auto;
}

h2 {
  text-align: center;
  margin-bottom: 1.5rem;
  font-size: 2rem;
}

/* SERVICES */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
}

.service-card {
  padding: 1.5rem;
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  text-align: center;
}

.service-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

/* PHOTO PRESENTATION */
.photo-presentation {
  width: 100%;
  max-width: 600px;
  display: block;
  margin: 20px auto;
  border-radius: 10px;
}

/* MAP */
.map iframe {
  width: 100%;
  height: 350px;
  margin-top: 1.5rem;
}

/* FOOTER */
footer {
  background: #1e293b;
  color: #cbd5e1;
  text-align: center;
  padding: 1rem;
  margin-top: 1rem;
}
/* --- CONTACT : CROIX CENTRÉE EN FILIGRANE --- */
#contact {
  position: relative;
  overflow: hidden;
}

#contact::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 350px;       /* taille de la croix */
  height: 350px;
  transform: translate(-50%, -50%);
  background: url('croix.png') center/contain no-repeat;
  opacity: 0.15;      /* discrète */
  pointer-events: none;
  z-index: 1;         /* derrière le texte */
}

/* contenu au-dessus de la croix */
#contact .container {
  position: relative;
  z-index: 2;
}

/* bloc centralisé */
.contact-block {
  text-align: center;
}

/* photo en dessous */
.contact-photo img {
  margin-top: 20px;
  max-width: 300px;
  width: 100%;
  border-radius: 10px;
}
/* --- Bandeau bleu pour la zone d'intervention --- */
#zone {
  background: #0056ff; /* bleu ambulance */
  color: white;        /* texte blanc */
  padding: 3rem 0;
}

#zone h2 {
  color: white;
}

#zone ul li {
  color: white;
  font-size: 1.1rem;
  margin: 8px 0;
}
/* BOUTON NOUS CONTACTER */
.mail-btn {
  background: #0056ff; /* bleu roi */
  padding: 12px 20px;
  border-radius: 6px;
  color: #ffffff; /* texte blanc */
  text-decoration: none;
  font-weight: bold;
  border: 2px solid #0056ff;
  margin-left: 10px; /* espace avec le bouton téléphone */
  white-space: nowrap;
}

.mail-btn:hover {
  background: #003ec7; /* bleu légèrement plus foncé au survol */
  border-color: #003ec7;
}
#about p {
  margin-bottom: 1.6rem;
  line-height: 1.75;
  font-size: 1.15rem;
  max-width: 750px;
  color: #333;     /* gris foncé agréable sur blanc */
}

.about-block {
  margin: 2.5rem auto;
  padding: 0 20px;
}

.about-block.left {
  text-align: left;
  margin-left: 0;
}

.about-block.right {
  text-align: left;
  margin-right: 0;
  transform: translateX(40px);
}

@media (max-width: 800px) {
  .about-block.right {
    transform: translateX(0);
  }
}
/* Empêche tout débordement horizontal */
body, html {
  overflow-x: hidden;
}

/* Correction complète du header sur mobile */
@media (max-width: 768px) {

  header {
    height: auto;              /* le header s'adapte */
    padding: 10px 0;
  }

  .header-content {
    flex-wrap: wrap;           /* autorise les éléments à passer à la ligne */
    justify-content: center;
    text-align: center;
    gap: 10px;
  }

  nav {
    width: 100%;
    margin-bottom: 10px;
  }

  .logo-img {
    height: 90px;              /* logo réduit sur mobile */
  }

  .call-btn,
  .mail-btn {
    width: 100%;               /* les boutons prennent toute la largeur */
    max-width: 260px;          /* largeur max élégante */
    text-align: center;
    margin: 5px auto;
    font-size: 1rem;
  }
}
