* {
  box-sizing: border-box;
  margin: 0;
  scroll-behavior: smooth;
}

.sora-<uniquifier> {
         font-family: "Sora", sans-serif;
         font-optical-sizing: auto;
         font-weight: <weight>;
         font-style: normal;
       }


body {
  font-family: "Sora", sans-serif;
}


a {
  text-decoration: none;
}


body {
  background-color: #03022C ;
}

.logo{
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 3rem;
}

.logo svg{
width: 10%;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 16px 24px;
  background-color: #E0B04D;
  width: fit-content;
  font-family: "Sora", sans-serif;
  font-weight: 600;
  color: #03022C  ;
  font-size: 18px;
}

.button:hover {
  background-color: #a37312;
}

.hero {
  display: flex;
  flex-direction: column;
  gap: 48px;
  padding: 30px 15vw;
}

.contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

h1 {
  font-family: "Sora", sans-serif;
  font-weight: 600;
  font-size: 40px;
  color: white;
  margin-top: 80px;
}

h2 {
  font-family: "Sora", sans-serif;
  font-weight: 300;
  font-size: 18px;
  color: white;
  line-height: 1.5;
}

h2 {
  font-family: "Sora", sans-serif;
  font-weight: 600;
  font-size: 20px;
  color: white;
  line-height: 1.5;
}

strong{
  font-weight: 600;
}

.hero::before {
  content: "";
  position: absolute;
  top: 15;
  left: 0;
  width: 35%;
  height: 35%;
  background-image: url("./images/Dijon_connect__embleme_blanc_full.png");
  background-repeat: no-repeat;
  background-position: 35% 25%;
  background-size: contain;
  opacity: 0.2;
  pointer-events: none;
}

.cta{
  display: flex;
  flex-direction: column;
  gap: 20px;
}

@media (max-width: 1024px) {
  .hero {
  padding: 30px 50px;
}
  h1 {
  font-size: 30px;
}
p {
  font-size: 16px;
}
h2 {
    font-size: 18px;
  }
.button {
  font-size: 16px;
}
.logo svg{
  width: 20%;
}
}

@media (max-width: 767px) {
  .hero {
    padding: 30px 20px;
  }
  h1 {
    font-size: 25px;
  }
  .logo svg{
    width: 30%;
  }
  .hero::before {
    width: 25%;
    height: 25%;
    margin-left: 20px;
  }
}

/* SEARCH */
.search-container {
  display: flex;
  justify-content: center;
  padding: 20px;
}

.search-bar {
  width: 320px;
  padding: 12px 18px;
  border-radius: 50px;
  border: none;
  outline: none;
  transition: 0.3s;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.search-bar:focus {
  transform: scale(1.05);
}

/* GRID */
.container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

@media (max-width: 900px) {
  .container {
	grid-template-columns: 1fr;
  }
}

/* CARD */
.card {
  background: #eaf2ff;
  border: 2px solid #0b1b63;
  border-radius: 14px;
  padding: 18px;
  position: relative;
  transition: 0.2s;
  min-height: 160px;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.2);
}

.card-title {
  font-weight: bold;
  font-size: 20px;
  color: #0b1b63;
  margin-bottom: 8px;
}

.card-sub {
  font-size: 15px;
}

/* ⋮ */
.more-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  border: none;
  background: #0b1b63;
  color: white;
  cursor: pointer;
}

/* ACTIONS */
.actions {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.btn {
  flex: 1;
  text-align: center;
  padding: 8px;
  border-radius: 12px;
  font-size: 13px;
  text-decoration: none;
  font-weight: bold;
}

.btn.call {
  background: #0b1b63;
  color: white;
}

.btn.mail {
  background: white;
  border: 2px solid #0b1b63;
  color: #0b1b63;
}

/* MODAL */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(12px);
  display: none;
  align-items: center;
  justify-content: center;
}

.modal.show {
  display: flex;
}

.modal-box {
  background: #eaf2ff;
  border: 2px solid #0b1b63;
  border-radius: 20px;
  padding: 20px;
  width: 90%;
  max-width: 650px;
}

.close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #0b1b63;
  color: white;
  border: none;
  width: 35px;
  height: 35px;
  border-radius: 10px;
  cursor: pointer;
}

.modal-actions {
  margin-top: 15px;
  display: flex;
  gap: 10px;
}

@media (max-width: 600px) {
  .modal-actions {
    flex-direction: column;
  }

  .modal-actions .btn {
    width: 100%;
    text-align: center;
    box-sizing: border-box;
  }
}

.card-person,
.card-job,
.card-address {
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

.card-job {
  color: #c62828;
  /*font-weight: 600;*/
}

.card-address {
  margin-top: 12px;
  font-size: 0.9rem;
  line-height: 1.4;
}

.card-icon {
  flex-shrink: 0;
}