/*=====page contact=====*/

.hero-banner {
  height: 40vh;
  min-height: 300px;
  background-image: url('images/img.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin-top: 0 !important;
  position: relative;
  z-index: 1;                 /* sous la carte */
}

.contact-hero {
  display: flex;
  flex-direction: column;
  overflow: visible;          /* important pour le chevauchement */
  align-items: center;
  gap: .5rem;
  justify-content: center;
  font-size: 30px;
  text-align: center;
  padding: 2.5rem 0 1rem;
  margin-top: 0;
  padding-top: 30px;

}

.contact-hero p {
  gap: 1rem;
  font-size: 30px;
  text-align: center;
}



/* Carte d’infos */
/*couleur et style de la carte avec infos entreprise*/
:root {
  --ink: #00314c;
  --muted: #6b7280;
  --brand: #4a8dcb;
  --accent: #ff7427;
  --sheet: #ffffff;
  --stroke: #e6e9f2;
}



/* ============ Carte contact ============ */

.contact-card{
  position: relative;
  width: min(1100px, 92vw);
  padding: clamp(28px, 4vw, 56px);
  border-radius: 24px;
  background: linear-gradient(180deg,#fff 0%,#f8fbff 100%);
  border: 1px solid rgba(14,23,38,.08);
  transform: translateY(20px);   
  margin: 0 auto 90px auto;   
}

/* Barre d’accent à gauche de la carte */
.contact-card::after{
  content:"";
  position:absolute;
  left:0; top:0; bottom:0;
  width:20px;
  background: var(--accent, #ff7427);
  border-radius: 24px 0 0 24px;
}

/* Titre centré, propre et respirant */
.contact-card h1{
  margin: 0 auto 1.5rem;
  text-align: center;
  font-size: clamp(32px, 6vw, 60px);
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  color: var(--ink, #0e1726);
  letter-spacing: .3px;
  font-weight: 800;
}

.contact-intro-p {
  text-align: center;
  font-family: 'Courier New', Courier, monospace;
  font-size: 20px;
}

/* Liste : grille + séparateurs fins entre les blocs */
.contact-list{
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 18px;
}

.contact-list li{
  display: grid;
  grid-template-columns: 64px 1fr;   /* colonne icône + contenu */
  align-items: start;
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid rgba(14,23,38,.06);
}

.contact-list li:first-child{ border-top: 0; }

/* Pastille icône + couleur de marque */
.contact-list svg{
  width: 56px; 
  height: 56px;
  display: grid; 
  place-items: center;
  padding: 10px;
  border-radius: 50%;
  background: rgba(18, 112, 201, .15);  
  fill: #4a8dcb;
}

/* Styles des libellés & sous-lignes */
.contact-list .label{
  font-size: 35px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: .35rem;
  line-height: 1.2;
  margin-left: 30px;
}

.contact-list .subtext {
  margin-left: 30px;   
  font-size: 20px;     
  color: #222;        
  font-weight: 400;   
  line-height: 1.4;
}

/* ===== Google Maps section ===== */


.map-wrap {
  text-align: center;
}

.map-wrap h3 {
  font-size: 1.4rem;
  margin: 0 0 .5rem;
  color: var(--ink);
}

/* Section Google Maps */
.map-section {
  padding: 40px 0;  /* espace blanc contrôlé */
  background: #ffffff;
  display: flex;
  justify-content: center;
}

.map-container iframe {
  display: block;
  width: 100%;
  height: 600px;
  border: 0;
  margin: 0;
  padding: 0;
}


.map-container{
margin-bottom: 0px !important;
padding-bottom: 0px;
}


.map-section h2 {
  margin: 0 0 .5rem;
  font-size: 55px;
  padding-top: 0;
}


.map-note {
  color: var(--muted);
  margin: 0 0 1rem;
}


/* Conteneur interne */
.map-embed {
  width: 100%;
  max-width: 1400px;
  height: clamp(300px, 50vh, 600px);
  margin: 0 auto;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.10);
  background: #fff;
}


/* Iframe Google Maps */
.map-embed iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}






@media (max-width: 680px) {
  :root {
    --card-w: 94vw;
  }

  .map-container iframe {
    height: 250px;
  }
}


/* ====== Taille de la MAP ====== */


.map-embed iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  display: block;
}


/* ===== Phrase Ouvrir dans Google ===*/

.btn.outline {
  background: transparent;
  color: #174F82;
  border: 2px solid #174F82;
  font-size: 30px;
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}

.btn.outline:hover {
  background: #174F82;
  color: #fff;
}


/* ===== Séparateur ===*/

.separator {
  border: none;
  height: 2px;
  width: 80%;
  margin: 40px auto; /* espace autour */
  background: linear-gradient(to right, transparent, #174F82, transparent);
}

/* ========================= */
/*   CONTACT - VERSION TEL   */
/* ========================= */
@media (max-width: 600px) {

  .contact-card{
    width: 92vw;              
    margin: 16px auto 24px;  
    padding: 18px 14px 20px 34px;
    border-radius: 20px;
  }


  /* titre "Contact" */
  .contact-card h2{
    font-size: 30px;
    margin-bottom: 14px;
    text-align: center;
  }

  /* liste des items */
  .contact-list{
    margin: 0;
    padding: 0;
  }

  .contact-list li{
    padding: 10px 0;
  }

  .contact-list svg{
    width: 30px;
    height: 30px;
  }

  .contact-list .label{
    font-size: 20px;
    margin-bottom: 2px;
    font-weight: 200;  
}

  .contact-list .subtext{
    font-size: 14px;
    line-height: 1.4;
    }
}
