/* FAQ Anniversaire (section 9) */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@font-face {
  font-family: "Book-Regular";
  src: url("fonts/HomepageBaukasten-Book.woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --section-title-font-size: 26px;
  --inner-section-title-font-size: 20px;
  --primary-color: #eb595f;
  --secondary-color: #333333;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
div,
span,
a,
li {
  font-family: "Book-Regular";
  letter-spacing: 0;
}

body {
  font-family: "Book-Regular", Helvetica, Arial, Lucida, sans-serif;
  line-height: 1.6;
  color: #333;
  background: #fff;
  font-size: 16px;
  font-weight: 300;
}

.faq-list-anniv {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 36px 0 24px 0;
  justify-items: stretch;
}
.faq-item-anniv {
  border-radius: 18px;
  box-shadow: 0 2px 16px #e7bfc233;
  border: 1.5px solid #fff5f0;
  padding: 28px 24px 22px 24px;
  display: flex;
  flex-direction: column;
  margin-bottom: 0;
  min-width: 0;
  max-width: 100%;
}
.faq-item-anniv h4 {
  font-size: 16px;
  color: #222;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.faq-item-anniv .faq-svg {
  width: 24px;
  height: 24px;
  margin-right: 6px;
  flex-shrink: 0;
  color: #dd545d;
  display: inline-block;
  vertical-align: middle;
}
.title-icon {
  width: 24px;
  height: 24px;
  color: #dd545d;
  margin-right: 10px;
  vertical-align: middle;
  display: none;
}
.faq-item-anniv p,
.faq-item-anniv ul,
.faq-item-anniv li {
  font-size: 16px;
  color: #444;
  margin-bottom: 0.5em;
  font-weight: 400;
}
.faq-item-anniv ul, .faq-item-anniv ol {
  margin: 0 0 0 18px;
  padding: 0 0 0 12px;
}
@media (max-width: 900px) {
  .faq-list-anniv {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .faq-item-anniv {
    padding: 16px 8px 12px 10px;
  }
  .faq-item-anniv h4 {
    font-size: 16px;
    gap: 8px;
  }
}
/* Nouveau design carte FAQ v2 (icône à gauche, titre gras, fond blanc, ombre douce) */
.faq-list-v2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin: 36px 0 24px 0;
  justify-items: center;
}
.faq-item-v2 {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 16px #dd545d11;
  border: none;
  padding: 32px 36px 28px 36px;
  max-width: 900px;
  width: 100%;
  display: flex;
  flex-direction: column;
  margin-bottom: 0;
}
.faq-item-v2 h2 {
  font-size: 1.6rem;
  color: #222;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.faq-item-v2 h2 .faq-icon {
  color: #dd545d;
  font-size: 1.5rem;
  flex-shrink: 0;
  display: inline-block;
}
.faq-item-v2 p,
.faq-item-v2 ul,
.faq-item-v2 li {
  font-size: 1.18rem;
  color: #444;
  margin-bottom: 0.5em;
  font-weight: 400;
}
.faq-item-v2 ul {
  margin: 0 0 0 18px;
  padding: 0 0 0 12px;
}
@media (max-width: 900px) {
  .faq-list-v2 {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .faq-item-v2 {
    max-width: 99vw;
    padding: 18px 10px 14px 14px;
  }
  .faq-item-v2 h2 {
    font-size: 1.15rem;
    gap: 10px;
  }
}
/* Conteneur de section pour largeur uniforme */
.section-container {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  box-sizing: border-box;
  padding-left: 12px;
  padding-right: 12px;
}
/* Cartes FAQ inspirées du design anniversaire.emotionbox.ma */
.faq-list {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: center;
  margin: 36px 0 24px 0;
}
.faq-item {
  background: #fff6f6;
  border-radius: 16px;
  box-shadow: 0 2px 12px #dd545d11;
  border: 1.5px solid #fff5f0;
  padding: 22px 28px 18px 28px;
  max-width: 420px;
  min-width: 270px;
  flex: 1 1 340px;
  display: flex;
  flex-direction: column;
  margin-bottom: 0;
}
.faq-item h2 {
  font-size: 1.13rem;
  color: #dd545d;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}
.faq-item h2::before {
  content: "\f059";
  font-family: "Font Awesome 5 Free", "Segoe UI Symbol", Arial, sans-serif;
  font-weight: 900;
  color: #dd545d;
  font-size: 1.1em;
  margin-right: 10px;
  display: inline-block;
}
.faq-item ul {
  margin: 0 0 0 18px;
  padding: 0 0 0 12px;
}
.faq-item p,
.faq-item ul,
.faq-item li {
  font-size: 1rem;
  color: #333;
  margin-bottom: 0.5em;
}
.category-detail > h1 {
  text-align: center;
  font-size: 1.6rem;
  margin-top: 36px;
  margin-bottom: 0;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.back-link {
  text-align: center;
  margin: 32px 0 0 0;
}
.back-link a {
  color: #dd545d;
  text-decoration: underline;
  font-weight: 600;
  font-size: 1.05rem;
}
@media (max-width: 900px) {
  .faq-list {
    flex-direction: column;
    align-items: center;
    gap: 18px;
  }
  .faq-item {
    max-width: 98vw;
    min-width: 0;
    padding: 18px 10px 14px 14px;
  }
}
html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
}
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: "Segoe UI", Arial, sans-serif;
  background: #fff;
  color: #222;
}
main {
  flex: 1 0 auto;
}
.main-header {
  background: #fff;
  border-bottom: 1px solid #eee;
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 10;
}
.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}
.logo-img {
  height: 48px;
  width: auto;
}
nav .nav-link {
  color: #222222;
  text-decoration: none;
  font-weight: 600;
  margin-left: 32px;
  font-size: 1.1rem;
  transition: color 0.2s;
}
nav .nav-link:hover {
  color: #dd545d;
}
.container {
  width: 92%;
  max-width: 1100px;
  margin: 0 auto;
}
.hero-anniv {
  background: url("images/faq-hero-image.webp") center/cover no-repeat;
  text-align: center;
  padding: 96px 16px 80px 16px;
  position: relative;
}

.hero-anniv h1 {
  color: #fff;
  font-size: 2.2rem;
  margin-bottom: 10px;
  letter-spacing: 1px;
}
.hero-anniv .subtitle {
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 24px;
}

.categories {
  margin: 48px 0 36px 0;
  width: 100%;
}
.categories.section-container {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.categories h2 {
  font-size: 1.5rem;
  margin-bottom: 28px;
  text-transform: uppercase;
}
/* Grille 3 par ligne sur desktop */
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 44px;
  justify-items: center;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.category-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 340px;
  height: 90px;
  background: #fff;
  border: 2px solid #222;
  border-radius: 18px;
  color: #222;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 2px 12px #dd545d11;
  transition:
    background 0.2s,
    color 0.2s,
    box-shadow 0.2s;
  text-align: center;
  padding: 0 10px;
}
.category-icon {
  width: 20px;
  height: 20px;
  color: currentColor;
  flex-shrink: 0;
  display: inline-block;
  color: #dd545d;
  fill: #dd545d;
  transition: all 0.2s;
  display: none;
}
.category-card:hover {
  background: #dd545d;
  color: #fff;
  border-color: #dd545d;
  box-shadow: 0 4px 24px #dd545d33;
  transition: all 0.2s;
}
.category-card:hover .category-icon {
  color: #fff;
  fill: #fff;
  transition: all 0.2s;
}
@media (max-width: 1100px) {
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .category-card {
    width: 98vw;
    max-width: 320px;
    height: 70px;
    font-size: 1rem;
  }
}
@media (max-width: 700px) {
  .category-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .category-card {
    width: 98vw;
    max-width: 320px;
    height: 60px;
  }
}
.btn-main {
  display: inline-block;
  background: #dd545d;
  color: #fff;
  padding: 14px 38px;
  border-radius: 24px;
  text-decoration: none;
  font-weight: 700;
  margin-top: 18px;
  font-size: 1.1rem;
  box-shadow: 0 2px 8px #dd545d22;
  transition:
    background 0.2s,
    box-shadow 0.2s;
  border: none;
  cursor: pointer;
}
.btn-main:hover {
  background: #b93c44;
  box-shadow: 0 4px 16px #dd545d33;
}
.contact-anniv {
  text-align: center;
  margin: 10px 0 36px 0;
  background: transparent;
  padding: 36px 12px 32px 12px;
  border-radius: 18px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: none;
}
.contact-anniv h2 {
  color: #111;
  font-size: 1.3rem;
  margin-bottom: 8px;
}
.contact-anniv p {
  color: #111;
}
.contact-info {
  list-style: none;
  padding: 0;
  margin: 12px 0 22px 0;
  color: #111;
  font-size: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  white-space: nowrap;
}
.contact-info li {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  border-radius: 0;
  background: transparent;
}
.contact-info li a {
  color: #111;
  text-decoration: none;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}
.contact-icon {
  width: 18px;
  height: 18px;
  color: #111;
  flex-shrink: 0;
  display: inline-block;
}
#site-footer {
  padding: 0 20px;
}
@media (max-width: 700px) {
  .contact-info {
    flex-direction: column;
    white-space: normal;
  }
}
.footer-anniv {
  border-top: 1px solid #eee;
  text-align: center;
  padding: 26px 0 16px 0;
  color: #111;
  font-size: 1rem;
  flex-shrink: 0;
}
.footer-stamp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 10px;
}
.footer-line {
  height: 1px;
  background: #111;
  flex: 1;
  max-width: 90%;
  opacity: 0.6;
}
.footer-stamp-img {
  height: 92px;
  width: auto;
  display: block;
  margin-bottom: 30px;
}
@media (max-width: 900px) {
  .category-grid {
    gap: 16px;
  }
  .category-card {
    width: 98vw;
    max-width: 320px;
    height: 70px;
  }
  .container {
    width: 98%;
  }
  .hero-anniv {
    padding: 32px 8px 24px 8px;
  }
  .hero-img-bg {
    height: 110px;
  }
}
