/* ===================================================== */
/* ==================== PAGE ACCUEIL ==================== */
/* ===================================================== */

/* ===== HERO ===== */

.hero-agence {
  position: relative;
  background-image: url("../images/agences-grihon-courtage.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  min-height: 420px;
  padding: 0 20px;
  margin-bottom: 40px;

  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

/* Overlay premium */
.hero-agence::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    rgba(59, 47, 47, 0.65),
    rgba(59, 47, 47, 0.45)
  );
}

/* Contenu */
.hero-agence-contenu {
  position: relative;
  max-width: 800px;
  animation: fadeInUp 0.9s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-agence-contenu a {
  margin-top: 20px;
  display: inline-block;
}

/* Titre */
.hero-agence h1 {
  font-size: 2.8em;
  color: #ffffff;
  font-family: verdana;
  text-shadow: 0 3px 12px rgba(0,0,0,0.6);
}

/* Texte */
.hero-agence p {
  font-size: 1.2em;
  color: #f5f1eb;
  text-shadow: 0 2px 6px rgba(0,0,0,0.6);
}


/* ===== CONTENU ===== */

section p {
  max-width: 850px;
}

/* Bloc carte Google */
.alt {
  background-color: #e6dccf;
  border-radius: 14px;
}

/* ===== SECTION AGENCE ===== */

.agence-section {
  margin-top: 60px;
  padding: 40px 20px;
  background: linear-gradient(
    #f5f1eb,
    #ebe3d7
  );
  border-radius: 14px;
}

.agence-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 35px;
  align-items: center;
}

/* Bloc info */

.agence-info {
  background: white;
  border-left: 2px solid #3b2f2f;
  padding: 30px;
}


/* Carte Google */

.agence-map iframe {
  width: 100%;
  height: 320px;
  border: 0;
  border-radius: 12px;
}


.agence-info h2 {
  position: relative;
  padding-bottom: 10px;
  font-weight: 600;
}

.agence-info h2::after {
  content: "";
  width: 50px;
  height: 3px;
  background: #cbbba5;
  position: absolute;
  bottom: 0;
  left: 0;
}

.agence-info p {
  margin-bottom: 15px;
}


/* ===== IFRAME GOOGLE ===== */

iframe {
  margin-top: 20px;
  border-radius: 12px;
}

.btn-map {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 16px;
  border-radius: 6px;
  font-weight: 600;
  background-color: #3b2f2f;
  color: #f5f1eb;
  transition: 0.2s ease;
}

.btn-map:hover {
  background-color: #2a2222;
}


/* ===================================================== */
/* ======================== MOBILE ====================== */
/* ===================================================== */

@media (max-width: 768px) {

  /* HERO */
  .hero-agence {
    padding: 0px 20px;
    min-height: 300px;
  }

  .hero-agence-contenu {
    padding-top: 10px;
  }

  .hero-agence h1 {
    font-size: 1.9em;
  }

  .hero-agence p {
    font-size: 1em;
  }

  .agence-grid {
    grid-template-columns: 1fr;
  }

  .agence-map iframe {
    height: 250px;
  }

}

}