/* Reset et base */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --brand-primary: #0451b3;
  --color-primary: var(--brand-primary);
  --color-heading: #3f3d56;
  --color-text-primary: #2f2e41;
  --color-text-secondary: #525257;
  --bg-light: #f5f5f5;
  --white: #ffffff;
  --border-color: #e5e7eb;
  --button-primary-border: light-dark(var(--color-primary), var(--color-primary));
  --button-primary-bg: light-dark(var(--color-primary), var(--color-primary));
  --button-primary-text: light-dark(var(--color-neutral-0), var(--color-neutral-0));
  --color-neutral-0: #ffffff;
  --color-primary-600: oklch(from var(--color-primary) 40% c h);
}

body {
  background-color: var(--bg-light);
  min-height: 100vh;
  color: var(--color-text-primary);
  line-height: 1.6;
  font-family:
    'Open Sans',
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--color-heading);
  font-weight: 700;
  font-family: 'Roboto', sans-serif;
}

/* Container principal */
.container {
  margin: 0 auto;
  padding: 0 1rem;
  max-width: 1200px;
}

/* Header */
.header {
  padding: 0 0 2rem;
  text-align: center;
}

.logo {
  width: 200px;
}

.site-title {
  color: var(--color-heading);
  font-size: clamp(2rem, 5vw, 2.5rem);
  line-height: 1.3;
}

.baseline {
  color: var(--brand-primary);
  font-weight: 600;
  font-size: clamp(1.125rem, 3vw, 1.375rem);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
  margin-bottom: 1rem;
  color: var(--brand-primary);
  font-weight: 500;
  font-size: 0.9375rem;
  text-decoration: none;
}

.back-link:hover,
.back-link:focus {
  gap: 0.75rem;
  text-decoration: underline;
}

/* Section vœux - Style hero */
.voeux-hero {
  position: relative;
  margin-bottom: 2rem;
  box-shadow: 0 10px 30px rgba(4, 81, 179, 0.2);
  border-radius: 1rem;
  background-color: #023d8f;
  background: linear-gradient(135deg, var(--brand-primary) 0%, #023d8f 100%);
  padding: 3rem 2rem;
  overflow: hidden;
  color: var(--white);
  text-align: center;
}

/* Petite touche festive subtile */
/*
.voeux-hero::before {
  position: absolute;
  top: 10%;
  left: 5%;
  animation: float 12s infinite ease-in-out;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
  width: 120px;
  height: 120px;
  content: '';
}

.voeux-hero::after {
  position: absolute;
  right: 8%;
  bottom: 15%;
  animation: float 15s infinite ease-in-out reverse;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  width: 80px;
  height: 80px;
  content: '';
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-20px) rotate(10deg);
  }
}*/

.voeux-hero h2 {
  position: relative;
  margin-bottom: 1.2rem;
  color: var(--white);
  font-weight: 700;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}

.voeux-hero h2 .sparkles {
  display: inline-block;
  vertical-align: middle;
  margin-right: 0.5rem;
}

.voeux-hero p {
  opacity: 0.95;
  margin: 1.5rem auto 0;
  max-width: 800px;
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  line-height: 1.8;
}

.voeux-pillars {
  opacity: 1;
  margin-top: 1.5rem;
  font-weight: 600;
  font-size: clamp(1.125rem, 2.5vw, 1.375rem);
  letter-spacing: 0.5px;
}

/* Section services */
.services-section {
  margin-bottom: 2rem;
  text-align: center;
}

.section-title {
  margin-bottom: 1rem;
  color: var(--color-heading);
  font-weight: 700;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
}

.services-intro {
  margin: 0 auto 2rem;
  max-width: 750px;
  color: var(--color-text-primary);
  font-size: clamp(1.125rem, 2.5vw, 1.375rem);
  line-height: 1.8;
}

.services-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin: 0 auto;
  max-width: 900px;
}

.service-item {
  display: flex;
  align-items: start;
  gap: 1.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(4, 81, 179, 0.12);
  border-radius: 1rem;
  background: var(--white);
  padding: 2rem;
}

/*
.service-item:hover {
  box-shadow: 0 8px 20px rgba(4, 81, 179, 0.12);
}*/

.service-icon {
  flex-shrink: 0;
  stroke-width: 1.5;
  width: 40px;
  height: 40px;
  color: var(--brand-primary);
}

.service-content {
  flex: 1;
  text-align: left;
}

.service-title {
  margin-bottom: 0.5rem;
  color: var(--color-heading);
  font-weight: 600;
  font-size: clamp(1.125rem, 2.5vw, 1.25rem);
  font-family: 'Roboto', sans-serif;
}

.service-description {
  color: var(--color-text-secondary);
  font-size: clamp(0.9375rem, 2vw, 1rem);
  line-height: 1.6;
}

.service-prestations {
  color: var(--color-text-secondary);
  font-size: clamp(0.9375rem, 2vw, 1rem);
  line-height: 1.6;
}

.service-detail-icon {
  flex-shrink: 0;
  opacity: 0.7;
  width: 28px;
  height: 28px;
  color: var(--brand-primary);
}
/* Liste de détails des services */
.service-details {
  margin-top: 0.75rem;
  padding: 0;
  color: var(--color-text-secondary);
  font-size: clamp(0.9375rem, 2vw, 1rem);
  list-style: none;
}

/* Mode mobile : liste verticale */
.service-details li {
  position: relative;
  margin-bottom: 0.5rem;
  padding-left: 1.25rem;
}

/* Puce pour tous les items en mobile */
.service-details li::before {
  position: absolute;
  left: 0;
  content: '•';
  color: var(--brand-primary);
  font-weight: bold;
}

/* Mode desktop : liste horizontale */
@media (min-width: 768px) {
  .service-details {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0;
  }

  .service-details li {
    display: inline-flex;
    align-items: center;
    margin-bottom: 0;
    padding-left: 0;
  }

  /* Premier item : pas de puce, pas de séparateur */
  .service-details li:first-child::before {
    content: none;
  }

  /* Items suivants : point comme séparateur */
  .service-details li:not(:first-child)::before {
    position: static;
    margin: 0 0.3rem;
    content: '•';
    color: var(--brand-primary);
  }
}

/* Section contact */
.contact-section {
  margin-bottom: 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border-radius: 0.75rem;
  background: var(--white);
  padding: 3rem 2rem;
  text-align: center;
}

.contact-section h3 {
  margin-bottom: 0.5rem;
  color: var(--color-heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.contact-subtitle {
  margin-bottom: 2rem;
  color: var(--color-text-secondary);
  font-size: clamp(1rem, 2.5vw, 1.125rem);
}

.contact-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: background 0.2s ease;
  border-color: var(--button-primary-border);
  border-radius: 0.5rem;
  background-color: var(--button-primary-bg);
  padding: 1rem 1.5rem;
}

.contact-item:hover {
  border-color: var(--color-primary-600);
  background-color: var(--color-primary-600);
}

.contact-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: var(--button-primary-text);
}

.contact-item a {
  transition: color 0.2s ease;

  color: var(--button-primary-text);
  font-weight: 500;
  font-size: clamp(1rem, 2.5vw, 1.125rem);
  text-decoration: none;
}

/* Mentiions légales */
.legal-content {
  /* margin-bottom: 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border-radius: 1rem;
  background: var(--white);
  padding: 3rem 2rem; */
}

.page-title {
  margin-bottom: 1rem;
  color: var(--color-heading);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  text-align: center;
}

.last-update {
  margin-bottom: 3rem;
  color: var(--color-text-secondary);
  font-style: italic;
  font-size: 0.875rem;
  text-align: center;
}

/* Sections de contenu */
.legal-section {
  margin-bottom: 2.5rem;
  box-shadow: 0 8px 20px rgba(4, 81, 179, 0.12);
  border-radius: 1rem;
  /* border-left: 4px solid var(--brand-primary); */
  /* border-radius: 0.5rem; */
  background: var(--bg-light);
  background: var(--white);
  padding: 3rem 2rem;
}

.legal-section:last-child {
  margin-bottom: 0;
}

.legal-content.section-title {
  margin-bottom: 1rem;
  border-bottom: 2px solid var(--brand-primary);
  padding-bottom: 0.5rem;
  color: var(--color-heading);
  font-size: clamp(1.25rem, 3vw, 1.5rem);
}

.subsection-title {
  margin-top: 1.2rem;
  color: var(--color-heading);
  font-weight: 600;
  font-size: clamp(1.125rem, 2.5vw, 1.25rem);
}

.legal-section p {
  line-height: 1.8;
}

.info-block {
  padding: 0.5rem 1.25rem;
  /* background: var(--white); */
}

.info-label {
  color: var(--color-heading);
  font-weight: 600;
}

.placeholder {
  color: var(--brand-primary);
  font-style: italic;
}
.info-data,
.info-data a {
  color: var(--brand-primary);
}

/* Footer */
.footer {
  border-top: 1px solid var(--border-color);
  padding: 2rem 0;
  text-align: center;
}

.footer p {
  color: var(--color-text-secondary);
  font-size: 0.9375rem;
  line-height: 1.8;
}

.footer a {
  display: inline-block;
  transition: color 0.2s ease;
  margin-top: 0.5rem;
  color: var(--brand-primary);
  font-size: 0.875rem;
  text-decoration: underline;
}

.footer a:hover,
.footer a:focus {
  color: var(--brand-primary);
  text-decoration: underline;
}

/* Responsive */
@media (min-width: 768px) {
  .container {
    padding: 0rem 2rem;
  }

  .header {
    padding: 0 0 3rem;
  }

  .logo {
    width: 300px;
  }

  .voeux-hero {
    padding: 4rem 3rem;
  }

  .contact-grid {
    gap: 3rem;
  }
  .legal-section {
    padding: 4rem 3rem;
  }
}

@media (max-width: 767px) {
  .contact-grid {
    flex-direction: column;
  }

  .contact-item {
    justify-content: center;
    width: 100%;
  }
}

/* Accessibilité */
:focus-visible {
  outline: 3px solid var(--brand-primary);
  outline-offset: 3px;
  border-radius: 0.25rem;
}

/* Animation au chargement */
@keyframes fadeInUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.header,
.voeux-hero,
.services-section,
.contact-section {
  animation: fadeInUp 0.6s ease-out;
}

.service-item {
  animation: fadeInUp 0.6s ease-out;
}

.service-item:nth-child(1) {
  animation-delay: 0.1s;
}

.service-item:nth-child(2) {
  animation-delay: 0.2s;
}

.service-item:nth-child(3) {
  animation-delay: 0.3s;
}

.sr-only {
  position: absolute;
  margin: -1px;
  padding: 0;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border-width: 0;
  white-space: nowrap;
}

.baseline-inline {
  display: block;
}
