/* =========================
   BASE / RESET
========================= */

*,
*::before,
*::after {
  box-sizing: border-box;
  color: #293583;
}

:root {
  --container: 1100px;
  --gutter: 1rem;
  --section-gap: 2rem;
}

body {
  margin: 0;
  font-family: system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  background: #fbfbfc;

  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

p {
  margin: 0;
}
/* =========================
   HERO
========================= */

.hero {
  position: relative;
  height: 70vh;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.logo img {
  mix-blend-mode: multiply;
  margin: 1rem;
  height: 3rem;
}
/* =========================
   MAIN LAYOUT
========================= */

main {
  flex: 1;
  width: 100%;
  padding: var(--section-gap) var(--gutter);
}

.content-layout {
  margin: 0 auto;
  width: fit-content;
}

/* colonne gauche */
.content-main {
  display: flex;
  flex-direction: column;
  gap: var(--section-gap);
}

/* colonne droite */
.content-side {
  display: flex;
  justify-content: flex-end;
  margin-top: var(--section-gap);
}

/* =========================
   INTRO + FORM
========================= */

.intro {
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.25;
  max-width: 32rem;
}

.form-section {
  max-width: 32rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

label {
  font-weight: 600;
}

input {
  padding: 0.6rem;
  font-size: 1rem;
  border: 1px solid #293583;
  border-radius: 2rem;
  background: #fbfbfc;
}

button {
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  font-size: 1rem;
  font-weight: 600;
  border: 1px solid #293583;
  border-radius: 2rem;
  cursor: pointer;
  background: #fbfbfc;
  transition: 0.3s ease-in;
}

button:hover {
  background: #293583;
  color: #fff;

}

/* focus */
a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid #293583;
  outline-offset: 3px;
}

/* =========================
   MAP CARD
========================= */

.map-card {
  display: inline-flex;
  flex-direction: column;
  gap: 0.5rem;

  padding: 1.25rem 1.5rem;
  border: 1px solid #293583;
  border-radius: 2rem;

  background: #fff;
  text-decoration: none;

  transition: scale 0.2s ease;
}
.map-card:hover {
  scale: 1.05;
}

.map-card__label {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.6;
}

.map-card__address {
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.4;
}


/* =========================
   FOOTER
========================= */
.footer {
  padding: var(--gutter);

  display: flex;
  flex-direction: column;
  gap: 1rem;

  align-items: end;
}

/* adresse */
.map-card {
  text-decoration: none;
  color: inherit;
}

.map-card__address {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.3;
}

/* icons */
.footer-icons {
  display: flex;
  gap: 0.75rem;
}

/* boutons icons */
.icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background-color: #fbfbfc;
  text-decoration: none;
  transition: scale 0.2s ease-in;
}

.mail img{
  width: 56px;
  height: 56px;
  margin-top: -6px;
  position: relative;
  left: -6px;
  
}   
.insta img{
  width: 46px;
  height: 46px;
  position: relative;
  left: -1px;
  top: -1px;
}
.icon-btn:hover {
  scale: 1.25;
}

/* =========================
   DESKTOP
========================= */

@media (min-width: 900px) {
  .footer {
    flex-direction: row;
    justify-content: space-between;
    align-items: end;
    
  }
}
@media (min-width: 1200px) {
  
  .content-layout {
    display: grid;
    grid-template-columns: 32rem 1fr;
    gap: 6rem;
    align-items: start;
    margin: auto;
  }

  .content-side {
    justify-content: flex-start;
    margin-top: 0;
  }
  
}

/* =========================
   ACCESSIBILITY
========================= */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}