/* Palette de couleurs officielle */
:root {
 --primary: #347F66; /* Deep Forest */
 --secondary: #91B8AA; /* Sage Green */
 --accent1: #B0D9CB; /* Pale Aqua */
 --accent2: #D3E7DE; /* Light Mint */
 --text-main: #333333;
 --bg-light: #fcfcfc;
}

* {
 margin: 0;
 padding: 0;
 box-sizing: border-box;
}

body {
 font-family: 'Open Sans', sans-serif;
 color: var(--text-main);
 background-color: var(--bg-light);
 line-height: 1.6;
 overflow-x: hidden;
}

h1, h2, h3, .nav-links a, .logo-title, .btn {
 font-family: 'Montserrat', sans-serif;
 font-weight: 700;
}

/* Barre de navigation commune */
nav {
 display: flex;
 justify-content: space-between;
 align-items: center;
 padding: 20px 50px;
 background-color: #ffffff;
 box-shadow: 0 2px 10px rgba(0,0,0,0.05);
 min-height: 80px;
 position: sticky;
 top: 0;
 z-index: 1000;
 width: 100%;
 box-sizing: border-box;
}

.logo-container {
 display: flex;
 align-items: center;
 gap: 15px;
 min-width: 0;
 flex: 1;
}

.logo {
 display: flex;
 flex-direction: column;
 min-width: 0;
}

.logo-title {
 color: var(--primary);
 font-size: 1.4rem;
 letter-spacing: 0.5px;
 overflow: visible;
}

.logo-subtitle {
 color: var(--secondary);
 font-size: 0.8rem;
 letter-spacing: 1px;
 text-transform: uppercase;
 overflow: visible;
}

.nav-links {
 display: flex;
 gap: 20px;
 list-style: none;
}

.nav-links a {
 display: inline-flex;
 text-decoration: none;
 color: var(--primary);
 font-size: 0.9rem;
 text-transform: uppercase;
 transition: color 0.3s;
 white-space: nowrap;
 padding: 5px 10px;
}

.nav-links a:hover,
.nav-links a.active {
 color: var(--secondary);
}

/* Boutons */
.btn {
 display: inline-block;
 background-color: var(--primary);
 color: #ffffff;
 padding: 15px 30px;
 text-decoration: none;
 border-radius: 5px;
 text-transform: uppercase;
 font-size: 0.9rem;
 transition: background-color 0.3s;
 border: none;
 cursor: pointer;
}

.btn:hover {
 background-color: var(--secondary);
}

/* Mise en page standard des sections internes */
.page-header {
 background-color: var(--accent1);
 padding: 60px 20px;
 text-align: center;
 width: 100%;
 box-sizing: border-box;
}

.page-header h1 {
 color: var(--primary);
 font-size: 2.5rem;
 margin-bottom: 10px;
 word-break: break-word;
}

.content-section {
 padding: 60px 50px;
 max-width: 1200px;
 margin: 0 auto;
 width: 100%;
 box-sizing: border-box;
}

/* Footer commun */
footer {
 background-color: #ffffff;
 text-align: center;
 padding: 30px;
 color: var(--secondary);
 font-size: 0.85rem;
 border-top: 1px solid var(--accent2);
 margin-top: 40px;
 width: 100%;
 box-sizing: border-box;
}

/* Correctif mobile natif pour les petits écrans */
@media (max-width: 768px) {
 nav {
   flex-direction: column;
   padding: 15px 20px;
   gap: 15px;
   height: auto;
 }

 .logo-container {
   width: 100%;
   justify-content: center;
   text-align: center;
 }

 .logo {
   align-items: center;
 }

 .logo-title {
   font-size: 1.1rem; /* Titre légèrement réduit pour tenir parfaitement */
 }

 .nav-links {
   width: 100%;
   justify-content: center;
   flex-wrap: wrap;
   gap: 10px;
 }

 .content-section {
   padding: 30px 20px;
 }

 .page-header h1 {
   font-size: 1.8rem;
 }
}