* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Avenir, sans-serif;
}



html, body {
    width: 100%;
    min-height: 100%;
    background-color: white;
    color: #495277;
    font-size: 1.2rem; /* taille relative pour s'adapter */
    height: 100%;
    margin: 0;
}

body{
    display: flex;
    flex-direction: column;
}


/* Header */
header {
    position: relative;
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    background-color: white;
}


.site-logo img {
    width: 7.5rem; /* équivalent à 140px, mais scalable */
    height: auto;
    cursor: pointer;
    transition: transform 0.3s ease, filter 0.3s ease;
    

}

.site-logo img:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.devise{
    text-align: center;       /* centre le texte ligne par ligne */
    flex: 1;                  /* prend tout l’espace entre logo et menu */
    margin: 0 1rem;    
}


/* CTA Stack (boutons verticaux) */
.cta-stack {
    position: absolute;
    right: 0rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    z-index: 10;
}

/* bouton téléphone */
.cta-phone {
    background: #103B5D;
    color: #BCBA14;
    padding: 0.8rem 1rem;
    border-radius: 0.4rem 0 0 0.4rem;
    text-decoration: none;
    font-weight: 900;
    text-align: center;
    white-space: nowrap;
    box-shadow: 0 0.375rem 0.75rem rgba(0,0,0,0.12);
    transition: transform .18s ease, box-shadow .18s ease;
    font-size: 1.75rem;
}

/* grande étiquette verticale */
.cta-tab {
    background: #c62828;
    color: #fff;
    height: 3.5rem;
    width: 20rem;
    border-radius: 0.4rem 0 0 0.4rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 0.375rem 0.75rem rgba(0,0,0,0.12);
}

.cta-tab-text {
    display: inline-block;
    transform: rotate(0deg);
    transform-origin: center;
    letter-spacing: 0.1rem;
    font-weight: 700;
    font-size: 1.23rem;
}

.cta-phone:hover,
.cta-tab:hover {
    transform: translateX(-0.375rem);
    box-shadow: 0 0.625rem 1.25rem rgba(0,0,0,0.18);
    cursor: pointer;
}


/* Menu */
nav {
    width: 100%;
    background-color: #103B5D;
    position: sticky;
    top: 0;
    z-index: 100;
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap; /* pour que ça passe sur mobile */
}

nav ul li {
    position: relative;
    text-align: center;
}

nav a {
    display: block;
    text-decoration: none;
    color: #BCBA14;
    font-size: 1.5rem;
    font-weight: bold;
    border-bottom: 2px solid transparent;
    padding: 0.75rem 0.25rem;
}

nav a:hover {
    color: silver;
    border-bottom: 2px solid silver;
}

/* Sous-menu */
.sous {
    display: none;
    box-shadow: 0 0.0625rem 0.125rem #CCC;
    background-color: #4f80b2;
    position: absolute;
    width: 100%;
    z-index: 1000;
}

nav > ul li:hover .sous {
    display: block;
}

.sous li {
    width: 100%;
    text-align: left;
}

.sous a {
    padding: 0.625rem;
}

.sous a:hover {
    background-color: #4f80b2;
}


/* Hero image */

.hero-image img {
  display: block;
  margin: auto;
}

/* Conteneur général */
.conteneur {
    padding: 1rem 2rem;
}

/* Titres */
h1 {
    padding: 1rem 2rem;
    text-align: center;
    margin: 0; /* on enlève les marges globales */
  }
  
 

h2, h3, h4 {
    text-align: center;
    margin-bottom: 1.5rem;
    border: 0.3rem solid #4b629d;
    border-radius: 0.5rem ;
}

/* Supprimer tout espace entre les deux h1 uniquement dans la page propositions */
.proposals-content h1 {
    margin-top: 1rem;
    padding: 0rem 2rem; /* garde un peu de marge à gauche/droite si tu veux */
    line-height: 1;
    text-align: center;
  }
  
  .proposals-content h1 + h1 {
    margin-top: 0rem;
    padding-top: 0.7rem;
    margin-bottom: 1rem;
  }
  

/* Carte / image zone intervention */
#carte {
    text-align: center;
    margin: 2rem 0;
}

.carte-image {
    width: 40%;
    max-width: 30rem;
    height: auto;
    display: block;
    margin: 1rem auto;
    border-radius: 0.625rem;
    box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.1);
}


p{
    margin-bottom: 0.7rem;
    font-size: 1.3rem;
    text-align: justify;
}

.liste-jsp{
    margin-bottom: 0.7rem;
    font-size: 1.3rem;
    margin-left: 1.5rem;
}

.accroche{
    text-align: center;
}

footer{
    margin-top: auto;
    position: relative;
    padding: 2.5rem 7rem;
    display: flex;
    flex-direction: column; /* 👈 LA CLÉ */
    align-items: center;
    justify-content: center;
    background-color: #103B5D;
}
footer a{
    margin-top: 0.7rem;
    align-items: center;
    font-weight:  bold;
    color: #BCBA14;
}

.info-legal{
    font-size: 0.7rem;
    color:#BCBA14;

}