
/* La Note Bleue Design System */
:root {
  --blue-deep: #1e3a5f;
  --blue-mid: #2c4a6e;
  --blue-soft: #4a7ca8;
  --blue-mist: #c5d8ec;
  --blue-pale: #eaf2f8;
  --cream: #faf8f5;
  --warm-white: #f5f2ee;
  --gold: #c4955a;
  --gold-light: #e8c99a;
  --text-dark: #1a2e42;
  --text-mid: #3d5a72;
  --text-light: #7a9ab5;
  --border: #dce8f0;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Mulish', sans-serif;
  font-weight: 300;
  color: var(--text-dark);
  background: var(--cream);
  line-height: 1.6;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 500;
  color: var(--blue-deep);
  margin: 0 0 1.5rem 0;
}

h3 {
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--blue-deep);
  margin: 1.5rem 0 1rem 0;
}

p {
  margin-bottom: 1rem;
  line-height: 1.85;
}

a {
  color: var(--blue-soft);
  text-decoration: none;
  transition: color 0.3s;
}

a:hover {
  color: var(--gold);
}

/* Emergency Banner */
.emergency-banner {
  background: var(--blue-deep);
  color: white;
  font-size: 0.75rem;
  position: relative;
  z-index: 1000;
}

.banner-inner {
  display: flex;
  align-items: stretch;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
}

.banner-crisis {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1.2rem;
  background: rgba(0,0,0,0.15);
  white-space: nowrap;
}

.banner-crisis a {
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
}

.banner-crisis a:hover {
  text-decoration: underline;
}

.banner-crisis-detail {
  opacity: 0.7;
  font-size: 0.7rem;
}

.banner-contacts {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.banner-contact {
  white-space: nowrap;
}

.banner-contact-city {
  font-weight: 600;
  opacity: 0.8;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.banner-separator {
  opacity: 0.4;
}

.emergency-banner a {
  color: var(--gold-light);
  text-decoration: none;
}

.emergency-banner a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .banner-inner {
    flex-direction: column;
  }
  .banner-crisis {
    justify-content: center;
    padding: 0.4rem 1rem;
  }
  .banner-contacts {
    padding: 0.4rem 1rem;
    gap: 0.3rem 0.5rem;
  }
}

/* Navigation */
nav {
  position: sticky;
  top: 0;
  background: rgba(250, 248, 245, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  z-index: 500;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 500;
  color: var(--blue-deep);
}

.nav-logo-note {
  width: 28px;
  height: 28px;
  background: var(--blue-deep);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-dark);
  text-transform: capitalize;
  letter-spacing: 0.05em;
}

.nav-links a:hover {
  color: var(--blue-soft);
}

.nav-contact {
  background: var(--blue-deep);
  color: white;
  padding: 0.6rem 1.3rem;
  border-radius: 30px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.3s;
}

.nav-contact:hover {
  background: var(--blue-soft);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(42, 74, 110, 0.2);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 0.4rem;
  cursor: pointer;
}

.nav-hamburger span {
  width: 24px;
  height: 2px;
  background: var(--blue-deep);
  transition: all 0.3s;
}

/* Footer */
footer {
  background: var(--blue-deep);
  color: white;
  padding: 4rem 2rem 2rem;
  margin-top: 6rem;
}

.footer-content {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-section h3 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.2rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section li {
  margin-bottom: 0.7rem;
  font-size: 0.85rem;
  line-height: 1.7;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.8);
}

.footer-section a:hover {
  color: var(--gold-light);
}

.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
}

/* Sections */
section {
  padding: 6rem 2rem;
}

section.bg-cream {
  background: var(--cream);
}

section.bg-warm-white {
  background: var(--warm-white);
}

section.bg-blue-deep {
  background: var(--blue-deep);
  color: white;
}

.inner {
  max-width: 1100px;
  margin: 0 auto;
}

.inner-narrow {
  max-width: 780px;
  margin: 0 auto;
}

/* Section Labels & Titles */
.section-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.section-label::before {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: var(--gold);
  flex-shrink: 0;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 500;
  color: var(--blue-deep);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.section-title em {
  font-style: italic;
  color: var(--blue-soft);
}

section.bg-blue-deep .section-title {
  color: white;
}

section.bg-blue-deep .section-title em {
  color: var(--gold-light);
}

.section-lead {
  font-size: 1rem;
  font-weight: 300;
  color: var(--text-mid);
  line-height: 1.85;
  max-width: 580px;
  margin-bottom: 2rem;
}

section.bg-blue-deep .section-lead {
  color: rgba(255, 255, 255, 0.9);
}

/* Cards */
.card {
  background: white;
  border-radius: 12px;
  border: 1px solid var(--border);
  padding: 2rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(30, 58, 95, 0.12);
}

.card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--blue-deep);
  margin-bottom: 1rem;
}

.card-text {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.8;
  flex-grow: 1;
}

/* TCA Cards */
.tca-card {
  position: relative;
  overflow: hidden;
}

.tca-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gold);
}

.tca-card.anorexie::before {
  background: #e74c3c;
}

.tca-card.boulimie::before {
  background: #3498db;
}

.tca-card.hyperphagie::before {
  background: #f39c12;
}

/* Blog Cards */
.blog-card {
  background: white;
  border-radius: 12px;
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all 0.4s;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(30, 58, 95, 0.12);
}

.blog-card-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.blog-category {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: white;
  background: var(--gold);
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
  margin-bottom: 0.8rem;
}

.blog-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--blue-deep);
  line-height: 1.3;
}

.blog-card-body {
  padding: 1.5rem;
  flex-grow: 1;
}

.blog-excerpt {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.blog-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-light);
}

.blog-link {
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.05em;
}

.blog-link:hover {
  color: var(--blue-soft);
}

/* Contact Cards */
.contact-card {
  background: white;
  border-radius: 12px;
  border: 1px solid var(--border);
  padding: 2.5rem;
  text-align: center;
}

.contact-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: var(--blue-deep);
  margin-bottom: 1.5rem;
}

.contact-item {
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.contact-label {
  font-weight: 600;
  color: var(--blue-soft);
  display: block;
  margin-bottom: 0.3rem;
}

.contact-value {
  color: var(--text-mid);
}

.contact-value a {
  color: var(--blue-soft);
}

/* Buttons */
.btn-primary {
  background: var(--blue-deep);
  color: white;
  border: none;
  border-radius: 30px;
  padding: 0.85rem 1.8rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: all 0.3s;
  display: inline-block;
  text-decoration: none;
  text-transform: uppercase;
}

.btn-primary:hover {
  background: var(--blue-soft);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(42, 74, 110, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--blue-deep);
  border: 1.5px solid var(--blue-mist);
  border-radius: 30px;
  padding: 0.85rem 1.8rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: all 0.3s;
  display: inline-block;
  text-decoration: none;
  text-transform: uppercase;
}

.btn-secondary:hover {
  border-color: var(--blue-soft);
  color: var(--blue-soft);
}

/* Category Pills */
.cat-pills {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.cat-pill {
  padding: 0.6rem 1.4rem;
  border-radius: 30px;
  border: 1.5px solid var(--border);
  background: white;
  color: var(--text-mid);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  text-transform: capitalize;
}

.cat-pill:hover,
.cat-pill.active {
  background: var(--gold);
  color: white;
  border-color: var(--gold);
}

/* Grids */
.grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* Reveal Animations */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* FAQ Accordion */
.faq-item {
  background: white;
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 1.5rem;
  overflow: hidden;
}

.faq-question {
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: var(--blue-deep);
  user-select: none;
  background: var(--blue-pale);
  transition: all 0.3s;
}

.faq-question:hover {
  background: var(--blue-mist);
}

.faq-toggle {
  font-size: 1.2rem;
  transition: transform 0.3s;
  flex-shrink: 0;
}

.faq-item.open .faq-toggle {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s;
}

.faq-item.open .faq-answer {
  max-height: 500px;
}

.faq-answer-content {
  padding: 1.5rem;
  color: var(--text-mid);
  line-height: 1.8;
}

/* Activity Cards with Glassmorphism */
.activity-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 2rem;
  color: white;
  text-align: center;
  transition: all 0.4s;
  height: 100%;
}

.activity-card:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-3px);
}

.activity-card-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.activity-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 0.8rem;
  color: var(--gold-light);
}

.activity-card-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--blue-deep) 0%, var(--blue-mid) 100%);
  color: white;
  padding: 6rem 2rem;
  text-align: center;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 500;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-lead {
  font-size: 1.1rem;
  font-weight: 300;
  max-width: 700px;
  margin: 0 auto 2rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.95);
}

/* Team Cards */
.team-card {
  background: white;
  border-radius: 12px;
  border: 1px solid var(--border);
  padding: 1.8rem;
  text-align: center;
}

.team-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--blue-deep);
  margin-bottom: 0.3rem;
}

.team-role {
  font-size: 0.85rem;
  color: var(--gold);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.8rem;
}

.team-bio {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.6;
}

/* Book Cards */
.book-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 200px 1fr;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.book-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(30, 58, 95, 0.12);
}

.book-card.featured {
  border: 2px solid var(--gold);
  grid-template-columns: 240px 1fr;
}

.book-cover {
  background: var(--blue-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  overflow: hidden;
}

.book-card.featured .book-cover {
  min-height: 340px;
}

.book-cover img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.book-cover-placeholder {
  font-size: 3rem;
  color: var(--blue-mist);
}

.book-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.book-card.featured .book-body {
  padding: 2.5rem;
}

.book-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.8rem;
}

.book-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--blue-deep);
  margin-bottom: 0.4rem;
  line-height: 1.3;
}

.book-card.featured .book-title {
  font-size: 1.5rem;
}

.book-subtitle {
  font-size: 0.9rem;
  color: var(--blue-soft);
  font-style: italic;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.book-author {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.3rem;
}

.book-publisher {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 1rem;
}

.book-description {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.book-isbn {
  font-size: 0.75rem;
  color: var(--text-light);
  font-weight: 500;
}

.books-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2.5rem;
}

.book-card.small {
  grid-template-columns: 140px 1fr;
}

.book-card.small .book-cover {
  min-height: 200px;
}

.book-card.small .book-body {
  padding: 1.5rem;
}

.book-card.small .book-title {
  font-size: 1.05rem;
}

a.book-card-link {
  text-decoration: none;
  color: inherit;
  display: grid;
}

a.book-card-link:hover {
  color: inherit;
}

.books-section-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--blue-deep);
  margin: 3rem 0 0.5rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--border);
}

@media (max-width: 768px) {
  .book-card,
  .book-card.featured,
  .book-card.small {
    grid-template-columns: 1fr;
  }
  .book-cover,
  .book-card.featured .book-cover,
  .book-card.small .book-cover {
    min-height: 200px;
    max-height: 250px;
  }
  .books-grid {
    grid-template-columns: 1fr;
  }
}

/* Responsive */
@media (max-width: 1024px) {
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  nav {
    padding: 0 1.5rem;
  }

  .nav-links {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--warm-white);
    padding: 2rem;
    gap: 1.5rem;
  }

  section {
    padding: 4rem 1.5rem;
  }

  .section-lead {
    max-width: 100%;
  }

  .grid {
    gap: 1.5rem;
  }

  .hero {
    padding: 4rem 1.5rem;
  }

  .hero-title {
    font-size: 1.8rem;
  }

  .hero-lead {
    font-size: 1rem;
  }
}

