/* === BASE === */
body {
  margin: 10px auto 0;
  background-color: #B1E2E4;
  clear: both;
}

img {
  max-width: 100%;
  height: auto;
}
pre { white-space: pre-wrap; }

/* === TYPOGRAPHIE === */

@font-face {
    font-family: 'cinzeldecorative';
    src: url('../font//cinzeldecorative-regular.eot');
    src: url('../font/cinzeldecorative-regular.eot?#iefix') format('embedded-opentype'),
        url('../font/cinzeldecorative-regular.woff2') format('woff2'),
        url('../font/cinzeldecorative-regular.woff') format('woff'),
        url('../font/cinzeldecorative-regular.ttf') format('truetype'),
        url('../font/cinzeldecorative-regular.svg#cinzeldecorative-regular') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'quicksand';
    src: url('../font/quicksand-regular.eot');
    src: url('../font/quicksand-regular.eot?#iefix') format('embedded-opentype'),
        url('../font/quicksand-regular.woff2') format('woff2'),
        url('../font/quicksand-regular.woff') format('woff'),
        url('../font/quicksand-regular.ttf') format('truetype'),
        url('../font/quicksand-regular.svg#quicksand-regular') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
p, h2, h3, h4, h5, h6 {
	font-family: 'quicksand';
	}
p {
  font-size: 1rem;
  color: #000;
  line-height: 1.6;
}

a {
  text-decoration: underline;
  transition: background 0.3s, color 0.3s;
   color: #37687B;
}

a:hover {
  color: #FFF;
  background-color: #D0E8E8;
}

h1 {
  font-family: 'CinzelDecorative';
  font-size: 2rem;
  color: #37687B;
  text-align: center;
   padding: 10px 0;
}
h1, h2, h3, h4{
  text-align: center;
  margin: 5px 0;
}
h2 { font-size: 1.5rem; color: #336666; }
h3 { font-size: 1.25rem; color: #1B5252; padding: 10px 0; }
h4 { font-size: 1.125rem; color: #666; border-radius: 18px; padding: 5px; }
h5 { font-size: 1rem; color: #32ADC2; text-align: left; }
h6 { font-size: 0.95rem; color: #289199; }
}
li {
list-style: url(none) none;
}

/* === BOUTONS === */
.bouton {
  display: inline-block;
  color: #FFF;
  background-color: #888;
  border-radius: 5px;
  font-weight: bold;
  text-transform: uppercase;
  padding: 10px 20px;
  margin: 40px auto;
  border: thin solid #FFF;
  transition: background 0.3s, color 0.3s;
}

/* === STRUCTURE === */
#main {
  width: 1200px;
  margin: 0 auto;
  padding: 0;
  background-color: #FFF;
}

header {
  position: sticky;
  top: 0;
  height: 60px;
  width: 100%;
  background: #FFF;
}
section {
  margin: 0 auto;
  padding: 5px;
}
section[data-color="vert"] {
  background: #CEFFF1;
}
section[data-color="gris-clair"] {
  background: #E2E2E2;
}
section[data-color="gris"] {
  background: #CCCCCC;
}
section[data-color="gris-fonce"] {
  background: #BEBEBE;
}

article {
  max-width: 750px;
  margin: 20px auto;
  padding: 20px;
  background-color: #FFF;
  text-align: justify;
}
/* Colonnes */
.colonne {
    flex: 1;
    background: #FFFFFF;
    padding: 5px;
    text-align: center;
    transition: transform 0.3s ease;
}
.multi-colonnes {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	padding: 10px;
}

/* === NAVIGATION === */
nav {
  background-color: #FFF;
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
}

nav .main_pages {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

nav .main_pages a {
  flex: 1;
  text-align: center;
  height: 35px;
  color: #3C7777;
  font-size: 14px;
  font-weight: bold;
  line-height: 35px;
}

nav a:hover {
  background-color: #666;
  color: #FFF;
}

/* === BLOCS CONTENUS === */
.contenu   { background: #CEFFF1; }
.contenu1  { background: #E2E2E2; }
.contenu2  { background: #CCC; }
.contenu3  { background: #BEBEBE; }

#menucontenu {
  background-color: #FFF;
  width: 100%;
  margin: 0 auto;
}

.texte, .txt4, .txt5 {
  margin: 10px auto;
  padding: 10px;
  background-color: #FFF;
}
.texte {
  width: 360px;
  display: inline-block;
  text-align: center;
  box-shadow: 3px 9px 15px -3px rgba(255, 255, 255, 0.52);
  border: 0.5px solid #FFF;
}

.txt4 {
	background-color: #7EBEBE;
	width: 400px;
	margin: 10px;
	padding: 10px;

}

.txt5 {
  background-image: url(../images/fonda.jpg);
  background-repeat: no-repeat;
  background-position: center bottom;
  width: 500px;
  text-align: center;
  border: thin solid #CCC;
  padding-bottom: 80px;
}



/* === CONTENU === */
.imgsite {
  background-position: center;
  margin: 5px;
  border: 0.5px solid #999;
}






/* === CONTACT === */
#bloc-contact {
  height: 240px;
  background: #006699 url(../images/cynthia-contact.jpg) center center no-repeat;
  text-align: center;
  padding: 10px 0;
}

/* === FOOTER === */
footer {
  background-color: #eee;
  color: #333;
  font-size: 0.95rem;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

.footer-left, .footer-right {
  flex: 1;
  min-width: 280px;
}

.footer-menu {
  list-style: none;
  padding: 0;
  margin-bottom: 1.5rem;
}

.footer-menu li {
  margin-bottom: 0.5rem;
}

.footer-menu a {
  color: #5d473a;
  transition: color 0.3s;
}

.footer-menu a:hover {
  color: #7a5e48;
  text-decoration: underline;
}

.footer-right img {
  margin-right: 10px;
  vertical-align: middle;
}

.footer-logo {
  margin-top: 1.5rem;
}

.footer-bottom {
  background-color: #ddd;
  padding: 1rem;
  text-align: center;
  font-size: 0.85rem;
  color: #555;
}

/* === UTILITAIRES === */
label,
#toggle {
	display: none;

}

.centre {
  text-align: center;
}

.texteblanc,
.lien-blanc-centre {
  color: #FFF;
  text-align: center;
}

.fleche {
  font-family: Arial;
  font-size: 72px;
  font-weight: bold;
  color: #274249;
  text-align: center;
}

.inline {
  display: inline;
  margin: 5px;
}
/* === formulaire === */

.contact-form {
  max-width: 500px;
  margin: 0 auto;
  background-color: #f9f4ef;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
  font-family: Arial, sans-serif;
}

.contact-form label {
  font-weight: bold;
  color: #666666;
}

.contact-form input,
.contact-form textarea {
	width: 100%;
	padding: 10px;
	margin-top: 4px;
	border: 1px solid #ccc;
	border-radius: 5px;
	font-family: Arial, Helvetica, sans-serif;
	color: #666666;
}

.contact-form button {
  background-color: #289199;
  color: #000000;
  padding: 10px 15px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  margin-top: 10px;
}

.contact-form button:hover {
  background-color: #CCCCCC;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
.main_pages a,
  .footer-menu li {
    display: block;
    margin: 5px 0;
  }
  .responsive-banner {
    width: 100%;
    height: auto;
  }
  nav label img {
    width: 30px;
  }

  .main_pages {
    display: none;
  }

  #toggle:checked + .main_pages {
    display: block;
  }
    .texte, .txt4, .txt5, .presentation {
    width: 100%;
    padding: 5px;
  }

  .footer-container {
    flex-direction: column;
    text-align: center;
    gap: 3rem;
  }

  .footer-left, .footer-right {
    min-width: 100%;
  }

  .footer-right img {
    margin: 0 8px;
  }

  .footer-logo img {
    width: 140px;
    height: auto;
  }
}

@media (max-width: 1199px) {
  #main {
    width: 100%;
  }

  nav .main_pages {
    display: none;
    flex-direction: column;
    background: #BEBEBE;
    text-align: right;
    height: auto;
    width: 100%;
  }

  nav .main_pages a {
    width: 100%;
    color: #FFF;
    border-bottom: 1px solid #FFF;
    padding: 10px;
  }

  label {
    display: flex;
    justify-content: flex-end;
    margin: 20px;
    cursor: pointer;
  }

  #toggle:checked + .main_pages {
    display: flex;
  }

  p {
    font-size: 1em;
    text-align: left;
  }
}
