/* ========================================
   STYLES GLOBAUX - Busato Service
   Theme pastel / beige organique
   ======================================== */

body {
  font-family: var(--font-body);
  font-size: var(--text-body);
  color: var(--color-dark);
  background-color: var(--color-beige-light);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.32'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px 200px;
}

/* Conteneur */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* Sections */
.section {
  padding: var(--space-section) 0;
  position: relative;
}

.section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.32'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px 200px;
  pointer-events: none;
  z-index: 0;
}

.section > * {
  position: relative;
  z-index: 1;
}

.section--beige {
  background-color: #F0E8E0;
}

.section--rose {
  background-color: #F5EAEA;
}

.section--gray {
  background-color: var(--color-gray-100);
}

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

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

.section__header {
  text-align: center;
  margin-bottom: var(--space-md);
}

.section__title {
  font-family: var(--font-heading);
  font-size: var(--text-h2);
  font-weight: 700;
  color: var(--color-orange);
  margin-bottom: var(--space-sm);
}

.section--dark .section__title {
  color: var(--color-white);
}

.section__subtitle {
  font-size: var(--text-body-lg);
  color: var(--color-gray-700);
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.8;
}

.section--dark .section__subtitle {
  color: var(--color-gray-300);
}

/* Typographie */
h1 { font-family: var(--font-heading); font-size: var(--text-h1); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-family: var(--font-heading); font-size: var(--text-h2); font-weight: 700; letter-spacing: -0.01em; }
h3 { font-family: var(--font-heading); font-size: var(--text-h3); font-weight: 600; }
h4 { font-family: var(--font-heading); font-size: var(--text-h4); font-weight: 600; }

/* Liens */
a:hover {
  color: var(--color-orange);
}

/* Boutons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 2.2rem;
  font-family: var(--font-body);
  font-size: var(--text-small);
  font-weight: 600;
  letter-spacing: 0.5px;
  border-radius: var(--radius-xl);
  transition: all var(--transition-base);
  white-space: nowrap;
  text-transform: uppercase;
}

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

.btn--accent:hover {
  background-color: var(--color-orange-dark);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--outline {
  border: 2px solid var(--color-white);
  color: var(--color-white);
  background: transparent;
}

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

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

.btn--primary:hover {
  background-color: var(--color-beige-dark);
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn--lg {
  padding: 1.1rem 2.8rem;
  font-size: var(--text-body);
}

/* Utilitaires */
.text-center { text-align: center; }
.text-accent { color: var(--color-orange); }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Mobile — réduction espacements et typographie */
@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .section {
    padding: 2.5rem 0;
  }

  .section__subtitle {
    font-size: var(--text-body);
  }

  .btn--lg {
    padding: 0.9rem 1.8rem;
    font-size: var(--text-small);
  }
}

/* Breadcrumbs (inside header) */
.header__breadcrumb {
  display: none;
  background: rgba(245, 237, 230, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(0,0,0,0.05);
  padding: 0.35rem 0;
  font-size: 0.8rem;
}
.header--scrolled .header__breadcrumb {
  display: block;
}
.header__breadcrumb .breadcrumb__list {
  list-style: none;
  display: flex;
  flex-wrap: nowrap;
  gap: 0.4rem;
  align-items: center;
  margin: 0;
  padding: 0;
}
.header__breadcrumb .breadcrumb__item {
  display: inline;
  color: var(--color-gray-500, #8A8A8A);
  white-space: nowrap;
}
.header__breadcrumb .breadcrumb__item a {
  color: var(--color-gray-500, #8A8A8A);
  text-decoration: none;
}
.header__breadcrumb .breadcrumb__item a:hover {
  color: var(--color-accent, #E8922B);
}
.header__breadcrumb .breadcrumb__item:last-child {
  color: var(--color-text, #1A1A1A);
  font-weight: 600;
}
.header__breadcrumb .breadcrumb__separator {
  display: inline;
  color: var(--color-gray-400, #AAAAAA);
}
