
/* =================== FONTS =================== */

@font-face {
  font-family: 'Noto Sans';
  src: url('../fonts/NotoSans-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Noto Sans';
  src: url('../fonts/NotoSans-Italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Noto Sans';
  src: url('../fonts/NotoSans-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Noto Sans';
  src: url('../fonts/NotoSans-BoldItalic.woff2') format('woff2');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

/* =================== BASE =================== */

body {
  font-family: 'Noto Sans', sans-serif;
  background-color: white;
  margin: 0;
}

/* Texte */
p, ul li, table {
  font-family: 'Open Sans', sans-serif;
  font-size: 1.2rem;
  line-height: 1.6;
}

/* Titres */
h1 {
  font-family: 'Noto Sans', sans-serif;
  font-weight: 700;
  font-size: 2.5rem;
  color: #C2892F;
}

h2 {
  font-family: 'Noto Sans', sans-serif;
  font-weight: 700;
  font-size: 2.2rem;
  color: #C2892F;
}

h3 {
  font-family: 'Noto Sans', sans-serif;
  font-weight: 700;
}

.soustitre {
  font-size: 1.5rem;
  color: #C2892F;
}

/* =================== LAYOUT =================== */

#bloc_page {
  max-width: 900px;
  margin: auto;
  padding: 0 15px;
}

/* =================== MENU (STABLE + COMPATIBLE TON CODE) =================== */

nav ul {
  font-size: 1.2rem;
  list-style-type: none;

  display: flex;
  justify-content: center;
  align-items: center;

  flex-wrap: nowrap;

  padding: 0;
  margin: 0 auto; /* 👈 important pour centrage réel */
  width: 100%;
}

nav ul li {
  white-space: nowrap;
  display: flex;
  align-items: center;
}

.nav-link {
  color: #ddbe97;
  font-family: 'Bebas Neue', cursive;
  font-size: 1.5rem;
  padding: 8px 12px;
}

.navbar {
  text-align: center;
}

.nav-link:hover {
  color: #C2892F;
}

/* liens généraux */

a {
  text-decoration: none;
  color: #3a1c0b;
}

nav a:hover {
  color: #C2892F;
}

/* =================== LIENS DES TITRES PRESSE =================== */
/* Permet aux titres h3 cliquables de garder la charte graphique
   du site : marron au repos, doré au survol, sans soulignement */

h3 a,
h3 a:link,
h3 a:visited,
h3 a:hover,
h3 a:active {
  color: #3a1c0b;
  text-decoration: none;
}

h3 a:hover {
  color: #C2892F;
}

/* =================== FIN DES LIENS DES TITRES PRESSE =================== */



.link-card {
  display: inline-block;
  padding: 14px 20px;
  margin-top: 10px;

  background-color: #f9f6f1;
  border: 1px solid #eee;
  border-radius: 12px;

  color: #3a1c0b;
  font-weight: 600;

  transition: all 0.25s ease;
}

/* Hover moderne */
.link-card:hover {
  background-color: #C2892F;
  color: white;

  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}



/* =================== IMAGES =================== */

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.vignette {
  border-radius: 20px;
}

/* =================== CARTE =================== */

.map-container {
  width: 100%;
  max-width: 100%;
  margin: 20px auto;
}

.map-container iframe {
  width: 100%;
  height: 350px;   /* hauteur fixe propre */
  border: 1px solid black;
  display: block;
}

/* =================== VIDÉOS =================== */

.video-responsive {
  width: 100%;
  height: auto;
  display: block;
  margin: 20px auto;
}

/* =================== FORMULAIRES =================== */

input[type=text],
input[type=number],
select,
textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 25px;
  box-sizing: border-box;
  margin-top: 6px;
  margin-bottom: 16px;
  resize: vertical;
}


button,
input[type=submit] {

  background-color: #C2892F;
  color: white;

  padding: 12px 22px;

  border: none;
  border-radius: 25px;

  cursor: pointer;

  font-family: 'Noto Sans', sans-serif;
  font-size: 1rem;
  font-weight: 700;

  transition: 0.25s;
}

button:hover,
input[type=submit]:hover {

  background-color: #A97422;

}

.container {
  border-radius: 5px;
  background-color: #f2f2f2;
  padding: 20px;
}


/* =================== TABLEAUX =================== */

table {
  border-collapse: separate;
  border-spacing: 0;

  width: 100%;
  margin: 30px auto;

  font-size: 1.1rem;
  background-color: #fff;

  border-radius: 10px;
  border: 2px solid #C2892F;
}

td, th {
  padding: 15px;
  text-align: left;
}

td {
  border-bottom: 1px solid #eee;
}

tr:nth-child(even) {
  background-color: #f9f9f9;
}

tr:hover {
  background-color: #f1f1f1;
}

td:first-child {
  font-weight: bold;
  color: #C2892F;
}

th {
  background-color: #C2892F;
  color: white;
  font-weight: 700;
}


/* =================== FOOTER =================== */
/* =================== ICÔNES RÉSEAUX SOCIAUX FOOTER =================== */

.logoMemeLigne {
  display: flex;
  align-items: center;
}

.logoMemeLigne li {
  display: flex;
  align-items: center;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.logoMemeLigne img {
  width: 32px;
  height: auto;
  display: block;
}

/* optionnel : petit effet propre */
.logoMemeLigne a {
  display: inline-flex;
  align-items: center;
}


/* =================== RESPONSIVE =================== */

.map-responsive {
    width: 100%;
    aspect-ratio: 16 / 7;
    margin: 20px 0;
}

.map-responsive iframe {
    width: 100%;
    height: 100%;
    border: 1px solid black;
    display: block;
}

#map {
    width: 100%;
    height: 350px;
    border: 1px solid black;
}


@media all and (max-width: 700px) {

 
  #bloc_page {
    width: auto;
    padding: 0 10px;
  }

  nav ul {
    flex-wrap: wrap; /* évite cassage brutal */
  }

  h1 {
    font-size: 1.8rem;
    text-align: center;
  }

  h2 {
    font-size: 1.4rem;
    text-align: center;
  }

  table {
    display: block;
    overflow-x: auto;
  }

  .vignette {
    width: 100%;
    height: auto;
  }

  header img {
    width: 100%;
    height: auto;
  }

  .map-responsive {
    aspect-ratio: 4 / 3; /* Plus haute sur mobile */
  }

}

/* =================== FAQ =================== */

.faq {
    margin: 30px 0;
}

.faq-item {
    margin-bottom: 12px;
}

.faq-question {

    width: 100%;
    text-align: left;

    background: #f9f6f1;
    color: #3a1c0b;

    border: 1px solid #ddd;
    border-radius: 12px;

    padding: 15px 20px;

    font-family: 'Noto Sans', sans-serif;
    font-size: 1.1rem;
    font-weight: bold;

    cursor: pointer;

    transition: .25s;
}

.faq-question:hover {
    background: #C2892F;
    color: white;
}

.faq-question:focus {
    outline: none;
}

.faq-answer {

    background: white;

    border: 1px solid #ddd;
    border-top: none;

    border-radius: 0 0 12px 12px;

    padding: 18px;

    line-height: 1.6;
}


/* =================== ANZAN =================== */

.anzan-box{

    background:#f9f6f1;

    border:2px solid #C2892F;

    border-radius:18px;

    padding:25px;

    margin:30px 0;

}

.form-row{

    margin-bottom:20px;

}

.form-row label{

    display:block;

    margin-bottom:8px;

    font-weight:bold;

    color:#3a1c0b;

}

#display{

    background:#222;

    color:white;

    border-radius:15px;

    padding:40px;

    margin:40px auto;

    text-align:center;

    font-size:5rem;

    font-weight:bold;

    min-height:120px;

    letter-spacing:2px;

    box-shadow:0 8px 20px rgba(0,0,0,.15);

}

#answerBox{

    text-align:center;

}

#answer{
    max-width:250px;
    margin:0 auto 20px;
    display:block;
    text-align:center;
    font-size:1.4rem;

    padding:12px;
    border:1px solid #ccc;
    border-radius:25px;
}

#result{

    text-align:center;

    font-size:1.4rem;

    font-weight:bold;

    min-height:40px;

}

/* =========== CRÉNEAU COMPLET =========== */

form label.complet {

    color:#9b8d79 !important;
    text-decoration:line-through !important;
    font-style:italic;
    opacity:.8;
    cursor:not-allowed;

}



@media(max-width:700px){

#display{

    font-size:3rem;

    padding:30px;

}

}

