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

/* VARIABLES */
:root {
  --primary-color: #7c3aed;
  --secondary-color: #111827;
  --light-color: #f5f3ff;
  --text-color: #374151;
  --white: #ffffff;
  --border-color: #ddd6fe;
  --shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

@font-face {
  font-family: 'MoreSugar';
  src: url('fonts/MoreSugar-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

/* BASE */
html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text-color);
  background-color: var(--white);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* CONTAINER */
.container {
  width: 90%;
  max-width: 1100px;
  margin: auto;
}

/* HEADER */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  overflow: hidden;
  background: linear-gradient(180deg, #faf7f0 0%, #f3efe6 100%);
  border-bottom: 1px solid rgba(17, 24, 39, 0.08);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;

  background-image:
    linear-gradient(rgba(17, 24, 39, 0.18), rgba(17, 24, 39, 0.18)),
    linear-gradient(rgba(17, 24, 39, 0.18), rgba(17, 24, 39, 0.18)),
    linear-gradient(rgba(17, 24, 39, 0.18), rgba(17, 24, 39, 0.18)),
    linear-gradient(rgba(17, 24, 39, 0.18), rgba(17, 24, 39, 0.18)),
    linear-gradient(rgba(17, 24, 39, 0.18), rgba(17, 24, 39, 0.18));
  background-repeat: no-repeat;
  background-size:
    100% 2px,
    100% 2px,
    100% 2px,
    100% 2px,
    100% 2px;
  background-position:
    0 18px,
    0 30px,
    0 42px,
    0 54px,
    0 66px;
}

.header::after {
  content: "♪ ♫ ♩ ♪ ♬";
  position: absolute;
  right: 40px;
  top: 10px;
  z-index: 1;
  font-size: 1.4rem;
  letter-spacing: 20px;
  color: rgba(0, 0, 0, 0.35);
  pointer-events: none;
}

.navbar {
  position: relative;
  z-index: 2;
  width: 90%;
  max-width: 1200px;
  height: 85px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.site-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.9rem;
  font-weight: bold;
  color: var(--primary-color);
  white-space: nowrap;
  position: relative;
  z-index: 3;

  font-family: 'MoreSugar', cursive;
}


.header-logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-logo img {
  width: 60px;
  height: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 25px;
  align-items: center;
}

.nav-links a {
  font-weight: 500;
  color: var(--secondary-color);
  transition: color 0.3s ease;
}

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

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
}

/* HERO */
.hero {
  min-height: 100vh;
  padding: 130px 20px 80px;
  background-image: 
    url("images/fond.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-content {
  max-width: 850px;
}

.subtitle,
.section-subtitle {
  color: var(--primary-color);
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.hero h1 {
  font-size: 3rem;
  line-height: 1.2;
  color: var(--secondary-color);
  margin-bottom: 20px;
}

.hero-text {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-logo {
  width: 340px;
  max-width: 80%;
  height: auto;
  display: block;
  margin: 0 auto 25px;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.35));
}

.hero-text .hero-highlight {
  color: #7c3aed;
  font-weight: normal;
  text-transform: none;
  letter-spacing: 1px;
  margin-bottom: 5px;

}



/* BOUTONS */
.btn {
  display: inline-block;
  padding: 13px 24px;
  border-radius: 8px;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--white);
}

.btn-primary:hover {
  background-color: #1d4ed8;
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: var(--white);
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
}

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

/* SECTIONS */
.section {
  padding: 90px 0;
}

.section h2 {
  font-size: 2.3rem;
  color: var(--secondary-color);
  margin-bottom: 30px;
}

/* SERVICES */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.card {
  background-color: var(--white);
  padding: 30px;
  border-radius: 15px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-8px);
}

.card h3 {
  color: var(--secondary-color);
  margin-bottom: 15px;
}

/* RESSOURCES */

.resources-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  margin-bottom: 30px;
}

.resources-header h2 {
  margin-bottom: 0;
}

.resources-header .btn {
  white-space: nowrap;
}

.resources {
  background-color: var(--white);
}

.resources-intro {
  max-width: 750px;
  margin-bottom: 35px;
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.resource-card {
  background-color: var(--light-color);
  border: 1px solid var(--border-color);
  border-radius: 15px;
  padding: 25px;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}

.resource-card:hover {
  transform: translateY(-6px);
}

.resource-tag {
  display: inline-block;
  margin-bottom: 15px;
  padding: 6px 12px;
  border-radius: 999px;
  background-color: var(--primary-color);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: bold;
}

.resource-card h3 {
  color: var(--secondary-color);
  margin-bottom: 12px;
}

.resource-card p {
  margin-bottom: 18px;
}

.resource-link {
  color: var(--primary-color);
  font-weight: bold;
}

.resource-link:hover {
  text-decoration: underline;
}

/* BLOG */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.blog-card {
  background-color: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.blog-image {
  height: 180px;
}

.placeholder-image {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--white);
  font-size: 2rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-content {
  padding: 25px;
}

.blog-content h3 {
  color: var(--secondary-color);
  margin-bottom: 12px;
}

.blog-content p {
  margin-bottom: 18px;
}

/* À PROPOS */
.about {
  background-color: var(--light-color);
}

.about-content {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  align-items: center;
}

.about-content p {
  margin-bottom: 15px;
}

.about-box {
  background-color: var(--white);
  padding: 30px;
  border-radius: 15px;
  box-shadow: var(--shadow);
}

.about-box h3 {
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.about-box li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
}

.about-box li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

/* PARCOURS */
.qui-suis-je {
  background-color: var(--white);
}

.qui-suis-je-intro {
  max-width: 800px;
  margin-bottom: 45px;
}

/* QUI SUIS-JE */
.qui-suis-je {
  background-color: var(--white);
}

.qui-suis-je-content {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 50px;
  align-items: center;
}

.qui-suis-je-text p {
  margin-bottom: 16px;
}

.qui-suis-je-photo-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.qui-suis-je-photo {
  width: 280px;
  height: 280px;
  object-fit: cover;
  border-radius: 50%;
  border: 6px solid var(--white);
  box-shadow: var(--shadow);
}

.timeline-content span {
  display: inline-block;
  color: var(--primary-color);
  font-weight: bold;
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.timeline-content h3 {
  color: var(--secondary-color);
  margin-bottom: 10px;
}

/* STATISTIQUES */
.stats {
  background-color: var(--secondary-color);
  color: var(--white);
  padding: 50px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  text-align: center;
  gap: 20px;
}

.stats strong {
  display: block;
  font-size: 2rem;
  margin-bottom: 5px;
}

.stats span {
  color: #cbd5e1;
}
/* TARIFS */
.tarifs {
  background-color: var(--light-color);
}

.tarifs-intro {
  max-width: 800px;
  margin-bottom: 40px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.pricing-card {
  position: relative;
  background-color: var(--white);
  padding: 30px;
  border-radius: 15px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.pricing-card.featured {
  border: 2px solid var(--primary-color);
  transform: translateY(-10px);
}

.featured-label {
  position: absolute;
  top: -15px;
  right: 25px;
  background-color: var(--primary-color);
  color: var(--white);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: bold;
}

.pricing-card h3 {
  color: var(--secondary-color);
  margin-bottom: 12px;
}

.pricing-description {
  margin-bottom: 20px;
}

.price {
  margin: 20px 0;
  padding: 20px;
  border-radius: 12px;
  background-color: var(--light-color);
  text-align: center;
}

.price span {
  display: block;
  font-size: 0.9rem;
}

.price strong {
  display: block;
  font-size: 2.2rem;
  color: var(--primary-color);
  margin: 5px 0;
}

.pricing-card ul {
  margin: 20px 0;
}

.pricing-card li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
}

.pricing-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

.pricing-card .btn {
  margin-top: auto;
  text-align: center;
}

.tarifs-note {
  margin-top: 30px;
  font-size: 0.95rem;
  color: var(--text-color);
}

/* TÉMOIGNAGES */
.testimonials {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
}

.testimonial {
  background-color: var(--light-color);
  padding: 30px;
  border-radius: 15px;
  border: 1px solid var(--border-color);
}

.testimonial p {
  margin-bottom: 15px;
  font-style: italic;
}

.testimonial h4 {
  color: var(--secondary-color);
}

/* CONTACT */
.contact {
  background-color: var(--light-color);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 45px;
  align-items: start;
}

.contact-info {
  margin-top: 25px;
}

.contact-info p {
  margin-bottom: 10px;
}

.contact-form {
  background-color: var(--white);
  padding: 30px;
  border-radius: 15px;
  box-shadow: var(--shadow);
}

.contact-form input,
.contact-form textarea, 
.contact-form select {
  width: 100%;
  padding: 14px;
  margin-bottom: 15px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus  {
  outline: none;
  border-color: var(--primary-color);
}

.contact-form button {
  width: 100%;
}

.form-message {
  margin-top: 15px;
  font-weight: bold;
}

/* FOOTER */
.footer {
  background-color: var(--secondary-color);
  color: var(--white);
  text-align: center;
  padding: 30px 20px;
}

.footer-links {
  margin-top: 10px;
}

.footer-links a {
  margin: 0 10px;
  color: #cbd5e1;
}

.footer-links a:hover {
  color: var(--white);
}

/* PAGE MENTIONS LÉGALES */
.legal-page {
  padding: 150px 0 80px;
  background-color: var(--light-color);
}

.legal-container {
  background-color: var(--white);
  padding: 45px;
  border-radius: 18px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow);
}

.legal-container h1 {
  font-size: 2.6rem;
  color: var(--secondary-color);
  margin-bottom: 20px;
}

.legal-intro {
  max-width: 850px;
  margin-bottom: 40px;
}

.legal-section {
  margin-bottom: 35px;
}

.legal-section h2 {
  font-size: 1.5rem;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.legal-section p {
  margin-bottom: 12px;
}

.legal-section ul {
  margin: 15px 0;
  padding-left: 0;
}

.legal-section li {
  margin-bottom: 10px;
  padding-left: 22px;
  position: relative;
}

.legal-section li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

.legal-update {
  margin-top: 40px;
  font-size: 0.95rem;
  color: var(--text-color);
  font-style: italic;
}

/* RESPONSIVE MENTIONS LÉGALES */
@media (max-width: 700px) {
  .legal-page {
    padding: 130px 0 60px;
  }

  .legal-container {
    padding: 28px 22px;
  }

  .legal-container h1 {
    font-size: 2rem;
  }
}

/* RESPONSIVE TABLETTE */
@media (max-width: 900px) {
  .cards,
  .about-content,
  .qui-suis-je-content,
  .stats-grid,
  .testimonials,
  .contact-content,
  .resources-grid {
    grid-template-columns: 1fr;
  }

.qui-suis-je-photo {
    width: 220px;
    height: 220px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .pricing-card.featured {
    transform: none;
  }

  .hero h1 {
    font-size: 2.4rem;
  }
}

/* CORRECTION RESSOURCES : 3 CARTES EN LIGNE SUR ORDINATEUR */
#ressources .blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

/* RESPONSIVE MOBILE */
@media (max-width: 700px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 85px;
    right: 0;
    width: 100%;
    background-color: var(--white);
    flex-direction: column;
    align-items: center;
    padding: 25px 0;
    display: none;
    box-shadow: var(--shadow);
  }

  .nav-links.active {
    display: flex;
  }

  .qui-suis-je-photo {
  width: 190px;
  height: 190px;
}

  .site-title {
    font-size: 0.95rem;
    gap: 6px;
  }

  .treble-clef {
    font-size: 1.6rem;
  }

  .header-logo img {
    width: 48px;
  }

  .hero {
    padding-top: 120px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .section h2 {
    font-size: 1.8rem;
  }

  .resources-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .resources-header .btn {
    width: 100%;
    text-align: center;
  }

  #ressources .blog-grid {
    grid-template-columns: 1fr;
  }
}


/* PAGE BLOG */
.blog-page {
  padding: 150px 0 80px;
  background-color: var(--light-color);
}

.blog-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 35px;
  align-items: start;
}

.blog-main h1 {
  font-size: 2.8rem;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.blog-intro {
  max-width: 760px;
  margin-bottom: 35px;
}

/* COMPOSER */
.post-composer {
  background-color: var(--white);
  padding: 28px;
  border-radius: 18px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow);
  margin-bottom: 30px;
}

.composer-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 22px;
}

.composer-header h2 {
  font-size: 1.4rem;
  color: var(--secondary-color);
  margin-bottom: 3px;
}

.composer-avatar {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: bold;
}

.post-composer input,
.post-composer textarea,
.post-composer select {
  width: 100%;
  padding: 14px;
  margin-bottom: 15px;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  font-family: inherit;
  font-size: 1rem;
  background-color: var(--white);
}

.post-composer input:focus,
.post-composer textarea:focus,
.post-composer select:focus {
  outline: none;
  border-color: var(--primary-color);
}

/* FILTRES */
.blog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.filter-btn {
  border: 1px solid var(--border-color);
  background-color: var(--white);
  color: var(--secondary-color);
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background-color: var(--primary-color);
  color: var(--white);
  border-color: var(--primary-color);
}

/* FEED */
.feed {
  display: grid;
  gap: 22px;
}

.feed-post {
  background-color: var(--white);
  padding: 28px;
  border-radius: 18px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow);
}

.post-top {
  display: flex;
  gap: 15px;
  align-items: center;
  margin-bottom: 18px;
}

.post-top h3 {
  color: var(--secondary-color);
  font-size: 1.3rem;
  margin-bottom: 3px;
}

.post-meta {
  font-size: 0.95rem;
  color: #64748b;
}

.feed-post > p {
  margin-bottom: 18px;
}

.post-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.post-actions span {
  background-color: var(--light-color);
  color: var(--secondary-color);
  border: 1px solid var(--border-color);
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 0.9rem;
}

.video-placeholder,
.photo-placeholder {
  height: 240px;
  border-radius: 15px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  margin-bottom: 18px;
}

/* SIDEBAR */
.blog-sidebar {
  position: sticky;
  top: 115px;
  display: grid;
  gap: 22px;
}

.sidebar-card {
  background-color: var(--white);
  padding: 24px;
  border-radius: 18px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow);
}

.sidebar-card h2 {
  color: var(--secondary-color);
  font-size: 1.3rem;
  margin-bottom: 15px;
}

.sidebar-card p {
  margin-bottom: 18px;
}

.sidebar-card ul {
  padding-left: 0;
}

.sidebar-card li {
  margin-bottom: 10px;
  padding-left: 22px;
  position: relative;
}

.sidebar-card li::before {
  content: "♪";
  position: absolute;
  left: 0;
  color: var(--primary-color);
}

.sidebar-btn {
  width: 100%;
  text-align: center;
}

/* RESPONSIVE BLOG */
@media (max-width: 1000px) {
  .blog-layout {
    grid-template-columns: 1fr;
  }

  .blog-sidebar {
    position: static;
  }
}

@media (max-width: 700px) {
  .blog-page {
    padding: 130px 0 60px;
  }

  .blog-main h1 {
    font-size: 2.1rem;
  }

  .post-composer,
  .feed-post,
  .sidebar-card {
    padding: 22px;
  }

  .video-placeholder,
  .photo-placeholder {
    height: 180px;
  }

.hidden-section {
  display: none;
}

.hero .subtitle {
  font-size: 4rem;
  font-weight: 1000;
  margin-bottom: 18px;
}

}

