/*
  Feuille de styles pour le site Maison 105.
  Les variables de couleur correspondent à la palette fournie dans la charte graphique.
*/
:root {
  --color-beige-light: #f2e6ce; /* C0 M5 Y15 K5 */
  --color-beige: #e6b88a;       /* C0 M20 Y40 K10 */
  --color-ochre: #cca366;       /* C0 M20 Y50 K20 */
  --color-gray: #8a9999;        /* C10 M0 Y0 K40 */
  --color-green-gray: #7a8a7a;  /* C20 M10 Y20 K40 */
  --color-dark: #000f0d;        /* C100 M40 Y50 K90 */
  --font-family-base: 'Champagne Royale', 'Georgia', serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-family-base);
  color: var(--color-dark);
  background-color: var(--color-beige-light);
  line-height: 1.5;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Navigation */
.site-header {
  background-color: var(--color-beige-light);
  border-bottom: 1px solid var(--color-beige);
  position: sticky;
  top: 0;
  z-index: 999;
}

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

.logo {
  height: 60px;
  width: auto;
}

.main-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 2rem;
}

.main-nav a {
  text-decoration: none;
  color: var(--color-dark);
  font-size: 1rem;
  transition: color 0.3s ease;
}

.main-nav a:hover {
  color: var(--color-ochre);
}

/* Section hero */
.hero {
  position: relative;
  height: 60vh;
  min-height: 420px;
  background-image: url('assets/diffuser.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.35);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 0 1rem;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
}

.hero p {
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Sections */
.section {
  padding: 4rem 0;
}

.section h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--color-dark);
  border-bottom: 2px solid var(--color-ochre);
  display: inline-block;
  padding-bottom: 0.25rem;
}

.about p {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: var(--color-dark);
}

/* Timeline section */
.timeline {
  background-color: var(--color-beige);
}

.timeline-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.timeline-item {
  position: relative;
  padding-left: 2.5rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.4rem;
  width: 1rem;
  height: 1rem;
  background-color: var(--color-ochre);
  border-radius: 50%;
}

.timeline-date {
  font-weight: bold;
  color: var(--color-dark);
  margin-bottom: 0.25rem;
}

.timeline-item h3 {
  margin: 0;
  font-size: 1.3rem;
  color: var(--color-dark);
}

.timeline-item p {
  margin: 0.25rem 0 0;
  color: var(--color-dark);
}

/* Contact section */
.contact {
  background-color: var(--color-beige-light);
  text-align: center;
}

.newsletter-form {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.newsletter-form input[type="email"] {
  padding: 0.75rem;
  font-size: 1rem;
  border: 1px solid var(--color-gray);
  border-radius: 4px;
  width: 100%;
  max-width: 320px;
}

.newsletter-form button {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  border: none;
  color: #fff;
  background-color: var(--color-ochre);
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.newsletter-form button:hover {
  background-color: var(--color-beige);
}

/* Footer */
.site-footer {
  background-color: var(--color-dark);
  color: #fff;
  padding: 1rem 0;
  font-size: 0.9rem;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.ai-note {
  font-size: 0.75rem;
  opacity: 0.7;
}

/* Responsive adjustments */
@media (min-width: 768px) {
  .timeline-container {
    flex-direction: row;
    justify-content: space-between;
  }
  .timeline-item {
    flex: 1;
    padding-left: 0;
  }
  .timeline-item::before {
    left: 50%;
    transform: translateX(-50%);
    top: -1.5rem;
  }
  .timeline-item {
    text-align: center;
  }
}