/* 
  Cap Intérieur – CSS Minimaliste & Éthique
  Palette : 
    - Primaire : #4A6F85 (bleu ancré)
    - Texte : #1A1A1A / #222222
    - Secondaire : #6B7E7A (vert-gris), #8C7B6B (terre)
    - Fond : #FFFFFF
    - Cartes : #F8F9FA
*/

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: #222222;
  background: #FBFAFA;
  margin: 0;
  padding: 0;
}

/* Typographie */
h1, h2{
  color: #1a1a1a;
  margin-top: 1.25em;
  margin-bottom:0.25em;
  font-weight: 600;
}
h3, h4 {
  color: #1a1a1a;
  margin-top: 0.25em;
  margin-bottom:0.25em;
  font-weight: 600;
}

h1 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

h2 {
  font-size: 1.4rem;
}

h3 {
  font-size: 1.2rem;
}

p {
  margin-bottom: 1em;
}

ul, ol {
  padding-left: 1.5em;
  margin-bottom: 1.2em;
}

/* Liens */
a {
  color: #6B7E7A;
  font-weight: bold;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Header */
header {
  padding: 1.5rem 0;
  border-bottom: 1px solid #eee;
  font-size: 0.95rem;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px 40px;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
}

header .logo {
  font-size: 1.3rem;
  font-weight: 700;
  color: #1a1a1a;
  text-decoration: none;
}

/* Sur la page d'accueil, si tu utilises <h1 class="logo"> */
h1.logo {
  margin: 0;
  font-size: 1.4rem;
}

header nav a {
  margin-left: 1.5rem;
}

/* Contenu principal */
main {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px 40px;
}

/* Cards / Blocs thématiques */
.card, .tool-box {
  background: #E0E4DD;
  padding: 20px;
  border-radius: 8px;
  margin: 25px 0;
  border-left: 4px solid #4A6F85;
}
.newsletter-box {
  background: #F5EEE0;
  padding: 20px;
  border-radius: 8px;
  margin: 25px 0;
  border-left: 4px solid #8C7B6B;
}
.card h3, .tool-box h3, .newsletter-box h3 {
  margin-top: 0;
  color: #2c3e50;
}

/* Formulaire */
form label {
  display: block;
}

input[type="email"], input[type="text"] {
  width: 100%;
  padding: 8px;
  margin: 5px 0 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: inherit;
}

button, .btn {
  background: #8C7B6B;
  color: white;
  border: none;
  padding: 12px 24px;              /* Légèrement augmenté pour + de confort */
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;                 /* Plus léger que bold (700) */
  font-size: 0.95rem;               /* Taille de police standardisée */
  text-decoration: none;
  display: inline-block;
  font-family: inherit;
  min-width: 120px;                 /* Largeur minimale garantie */
  min-height: 44px;                 /* Hauteur minimale (touch-friendly) */
  text-align: center;               /* Centre le texte */
  line-height: 1.4;                 /* Espacement vertical harmonieux */
  transition: background 0.2s ease; /* Animation douce au survol */
}

button:hover, .btn:hover {
  background: #D8BFAB;
  text-decoration: none;
}

small {
  color: #666;
  font-size: 0.85rem;
}
.input--hidden {
  position: absolute !important;
  left: -9999px !important;
  max-height: 0 !important;
  overflow: hidden !important;
}

/* Footer */
footer {
  padding: 2rem 0 1.5rem;
  border-top: 1px solid #eee;
  font-size: 0.9rem;
  color: #666;
  text-align: center;
}

footer a {
  color: #666;
  margin: 0 0.5rem;
}

/* Responsive */
@media (max-width: 600px) {
  header .container {
    flex-direction: column;
    text-align: center;
  }

  header nav a {
    margin: 8px 0 0;
    display: block;
  }

  h1 {
    font-size: 1.6rem;
  }

  main {
    padding: 0 15px 30px;
  }
}

/* Style pour les outils interactifs */
#outil-mode-fonctionnement,
#outil-style-relationnel {
  margin-top: 30px;
  padding: 20px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #F5EEE0;
}

/* Citation */
blockquote, .citation {
  font-style: italic;
  color: #6B7E7A;
  margin: 1.5em 0;
  padding-left: 1em;
  border-left: 2px solid #4A6F85;
}

/* FAQ (pour les pages avec questions) */
.faq-item {
  margin-bottom: 1.2em;
}

.faq-item h4 {
  font-size: 1.1rem;
}