@font-face {
  font-family: 'cerapro-black';
  src: url('../asset/font/cera-pro-black\ 2.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'cerapro-medium';
  src: url('../asset/font/cera-pro-medium\ 2.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
a {
  text-decoration: none;
  color: black;
}

html,
body {
  height: 100%;
  font-family: 'cerapro-black', sans-serif;
}

.container {
  display: flex;
  flex-direction: column;
  height: 100vh;
}

header, footer {
  height: 10vh;
  background-color: #333;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
}

main {
  flex: 1;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

header {
  height: 8vh;
  background-color: #fff;
  color: #000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  border-bottom: #000 solid 1px;
}

.header-left {
  display: flex;
  align-items: center;
}

.logo {
  height: 40px;
  margin-right: 1rem;
}

.site-title {
  font-size: 1.5rem;
  font-weight: bold;
}

.header-right a {
  margin-right: 3vh;
  color: #000;
  text-decoration: none;
  margin-left: 2rem;
  font-size: 1rem;
  transition: color 0.2s;
}

.header-right .actual {
  color: #FFA600;
  text-decoration: underline;
}

.header-right a:hover {
  color: #FFA600;
}

footer {
  height: 8vh;
  background-color: #fff;
  color: #000;
  display: flex;
  align-items: center; /* Centre verticalement */
  justify-content: space-between;
  padding: 0 2rem;
  font-size: 1rem;
  border-top: #000 solid 1px;
  position: relative;
}

.footer-center {
  text-align: center;
  flex: 1;
}
.footer-left {
  text-align: left;
}

.footer-right {
  text-align: right;
}

.accueil-main {
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  padding: 2rem 0;
}

.recherche-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.select-row {
  display: flex;
  gap: 2rem;
  margin-bottom: 0.5rem;
  width: 100%;
  justify-content: center;
  max-width: 700px;
}

.select-row select,
.select-row .cta-button {
  flex: 1 1 0;
  min-width: 0;
  max-width: 220px;
  height: 44px; /* Hauteur identique */
  box-sizing: border-box;
  font-size: 1rem;
}

.select-row select {
  padding: 0.7rem 1.2rem;
  border-radius: 10px;
  border: 1px solid #000;
  background: #fff;
  transition: border 0.2s;
}

select {
  cursor: pointer;
}


.select-row .cta-button {
  background: #FFD602;
  color: #000;
  text-decoration: none;
  border-radius: 10px;
  font-weight: bold;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0; /* Pour que le texte soit parfaitement centré */
}

.select-row .cta-button:hover {
  background: #FFC400;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 214, 0, 0.4);
}

/* Responsive : sur mobile, on passe en colonne */
@media (max-width: 700px) {
  .select-row {
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
    max-width: 350px;
  }
  .select-row select,
  .select-row .cta-button {
    max-width: 100%;
  }
}

#map {
  width: 100%;
  max-width: 700px;
  height: 350px;
  margin: 2rem auto 0 auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

/* Responsive */
@media (max-width: 700px) {
  #map {
    max-width: 100%;
    height: 250px;
  }
}

#map {
        width: 100%;
        height: 500px;
        margin-top: 2rem;
        border-radius: 12px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
      }
      @media (max-width: 700px) {
        #map { height: 300px; }
      }