/* Fonts loaded from Google Fonts CDN. */

:root {
  --orange: #ff6a16;
  --orange-dark: #d94f00;
  --orange-20: rgba(255, 106, 22, 0.15);
  --orange-10: rgba(255, 106, 22, 0.07);
  --violet: #b139d4;
  --violet-dark: #8a27aa;
  --violet-20: rgba(177, 57, 212, 0.15);
  --violet-10: rgba(177, 57, 212, 0.07);
  --cream: #fffbf8;
  --warm-gray: #f5f2ef;
  --border: #ede8e4;
  --text: #1c1410;
  --text-mid: #6b5f58;
  --text-light: #afa39b;
  --white: #ffffff;
  /* Bagel Fat One UNIQUEMENT pour le hero h1 — partout ailleurs Nunito */
  --font-display: "Nunito", "Arial Rounded MT Bold", sans-serif;
  --font-hero: "Bagel Fat One", cursive;
  --font-body: "Lora", Georgia, serif;
  --font-ui: "Nunito", sans-serif;
  --nav-h: 72px;
  --max-w: 1160px;
  --gap: 100px;
  --r: 20px;
  --r-sm: 12px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--text);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
ul {
  list-style: none;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--orange);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: var(--r-sm);
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 0.85rem;
  z-index: 999;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 1rem;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ─── Typo ───────────────────────────────────────────── */
h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 1.15;
}
h1 {
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
}
h2 {
  font-size: clamp(1.8rem, 3.8vw, 2.9rem);
}
h3 {
  font-size: clamp(1.2rem, 2.5vw, 1.7rem);
}
h1 em,
h2 em,
h3 em {
  font-style: italic;
  color: var(--orange);
}
p {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.8;
  text-align: justify;
}
p strong {
  color: var(--text);
  font-weight: 700;
  font-family: var(--font-ui);
}
.label {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
}

/* ─── Alignments and resets for justified text ───────── */
.hero-sub,
.section-head p,
.cta-band p,
.pq-cta-mid__inner p,
.temo-placeholder__inner p,
.ait-video-placeholder p,
.ait-video-placeholder span,
.contact-modal__dialog p {
  text-align: center;
}
.footer-brand p,
.faq-sidebar-cta p {
  text-align: left;
}

/* ─── Layout ─────────────────────────────────────────── */
.container {
  width: min(var(--max-w), 100% - 3rem);
  margin-inline: auto;
}
section {
  padding-block: var(--gap);
}

/* ─── Nav ────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(255, 251, 248, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 32px rgba(242, 154, 62, 0.1);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(var(--max-w), 100% - 3rem);
  margin-inline: auto;
}
.nav-logo img {
  height: 36px;
  width: auto;
  display: block;
}
.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}
.nav-links > li {
  position: relative;
  display: flex;
  align-items: center;
}
.nav-links a {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text-mid);
  transition: color 0.2s;
  white-space: nowrap;
  min-height: 40px;
  line-height: 1;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--orange);
}
.nav-links a:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
  border-radius: 4px;
}

.nav-has-dropdown > a {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  justify-content: center;
  min-height: 40px;
}
.nav-has-dropdown > a::after {
  content: "▾";
  font-size: 0.92rem;
  opacity: 0.75;
  line-height: 1;
}
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 220px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  padding: 0.5rem 0;
  padding-top: calc(0.5rem + 8px);
  margin-top: -8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.nav-has-dropdown:hover .nav-dropdown,
.nav-has-dropdown:focus-within .nav-dropdown {
  opacity: 1;
  pointer-events: auto;
}
.nav-dropdown a {
  display: block;
  padding: 0.65rem 1.25rem;
  font-size: 0.82rem;
  color: var(--text-mid);
  letter-spacing: 0.04em;
  transition:
    background 0.15s,
    color 0.15s;
}
.nav-dropdown a:hover {
  background: var(--orange-10);
  color: var(--orange);
}
.nav-dropdown hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0.25rem 0;
}
.nav-cta {
  background: var(--orange) !important;
  color: var(--white) !important;
  padding: 0.6rem 1.4rem !important;
  border-radius: 50px !important;
  font-size: 0.78rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.04em !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.28) !important;
  transition: all 0.2s !important;
}
.nav-cta:hover {
  background: var(--orange-dark) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(242, 154, 62, 0.4) !important;
}
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.burger span {
  width: 24px;
  height: 2px;
  background: var(--text);
  display: block;
  border-radius: 2px;
  transition: all 0.3s;
}
.burger:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 4px;
  border-radius: 4px;
}

/* ─── Boutons ────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 0.85rem 1.8rem;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.25s;
  border: none;
  white-space: normal;
  word-break: break-word;
  text-align: center;
  text-decoration: none;
  line-height: 1.3;
  width: fit-content;
  text-align: center;
}
.btn:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}
.btn-primary {
  background: var(--violet);
  color: var(--white);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}
.btn-primary:hover {
  background: var(--violet-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(255, 106, 22, 0.35);
}
.btn-outline {
  background: transparent;
  color: var(--orange);
  border: 2px solid var(--orange);
}
.btn-outline:hover {
  background: var(--orange-10);
  transform: translateY(-2px);
}
.btn-ghost {
  background: transparent;
  color: var(--text-mid);
  border: 2px solid var(--border);
}
.btn-ghost:hover {
  border-color: var(--orange);
  color: var(--orange);
}
.btn-ghost-white {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.45);
}
.btn-ghost-white:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.12);
}

/* ─── Modale calendrier ──────────────────────────────── */
.contact-modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 2000;
  padding: 1.25rem;
}
.contact-modal[hidden] {
  display: none !important;
}
.contact-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 45, 99, 0.45);
}
.contact-modal__dialog {
  position: relative;
  width: min(520px, 100%);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 2rem;
  box-shadow: 0 18px 60px rgba(20, 45, 99, 0.2);
}
.contact-modal__dialog h2 {
  margin: 0 0 0.75rem;
  font-size: 1.4rem;
}
.contact-modal__dialog p {
  margin: 0;
  font-family: var(--font-ui);
  color: var(--text-mid);
}
.contact-modal__close {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

/* ─── Pill ───────────────────────────────────────────── */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-ui);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.28rem 0.82rem;
  border-radius: 50px;
  background: var(--orange-10);
  color: var(--orange);
  border: 1px solid var(--orange-20);
  width: fit-content;
}

/* ─── Badge ──────────────────────────────────────────── */
.badge {
  display: inline-flex;
  font-family: var(--font-ui);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.28rem 0.82rem;
  border-radius: 50px;
  width: fit-content;
}
.badge-orange {
  background: var(--orange-10);
  color: var(--orange);
  border: 1px solid var(--orange-20);
}
.badge-violet {
  background: var(--violet-10);
  color: var(--violet);
  border: 1px solid var(--violet-20);
}

/* ─── Cards génériques ───────────────────────────────── */
.card-orange {
  background: linear-gradient(135deg, var(--orange-10), var(--cream));
  border: 1px solid var(--orange-20);
  border-radius: var(--r);
  padding: 1.75rem 2rem;
}
.card-violet {
  background: linear-gradient(135deg, var(--violet-10), var(--cream));
  border: 1px solid var(--violet-20);
  border-radius: var(--r);
  padding: 1.75rem 2rem;
}
.card-orange h3,
.card-violet h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}
.card-orange p,
.card-violet p {
  font-size: 0.9rem;
  margin: 0;
}

/* ─── Section header ─────────────────────────────────── */
.section-head {
  text-align: center;
  margin-bottom: 3.5rem;
}
.section-head .label {
  display: block;
  margin-bottom: 0.6rem;
}
.section-head h2 {
  margin-bottom: 0.9rem;
}
.section-head p {
  max-width: 520px;
  margin-inline: auto;
}

/* ─── Divider ────────────────────────────────────────── */
.divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-block: 2rem;
}
.divider::before,
.divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, var(--orange-20), var(--violet-20));
}

/* ─── Accordion FAQ ──────────────────────────────────── */
.faq {
  display: flex;
  flex-direction: column;
}
.faq__item {
  border-bottom: 1px solid var(--border);
}
.faq__item:first-child {
  border-top: 1px solid var(--border);
}
.faq__q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding: 1.2rem 0;
  cursor: pointer;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
  transition: color 0.2s;
  user-select: none;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
}
.faq__q:hover {
  color: var(--orange);
}
.faq__q:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
  border-radius: 4px;
}
.faq__q[aria-expanded="true"] {
  color: var(--orange);
}
.faq__icon {
  width: 22px;
  height: 22px;
  border: 2px solid var(--orange-20);
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
  transition:
    background 0.2s,
    border-color 0.2s;
}
.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  background: var(--orange);
  border-radius: 1px;
  top: 50%;
  left: 50%;
  transition:
    transform 0.3s,
    opacity 0.3s;
}
.faq__icon::before {
  width: 8px;
  height: 1.5px;
  transform: translate(-50%, -50%);
}
.faq__icon::after {
  width: 1.5px;
  height: 8px;
  transform: translate(-50%, -50%);
}
.faq__q[aria-expanded="true"] .faq__icon {
  background: var(--orange);
  border-color: var(--orange);
}
.faq__q[aria-expanded="true"] .faq__icon::before {
  background: var(--white);
}
.faq__q[aria-expanded="true"] .faq__icon::after {
  background: var(--white);
  transform: translate(-50%, -50%) scaleY(0);
  opacity: 0;
}
.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.faq__a p {
  padding-bottom: 1.4rem;
  font-size: 0.95rem;
}

/* ─── CTA band ───────────────────────────────────────── */
.cta-band {
  padding: 4rem 0;
  border-top: 1px solid var(--border);
}
.cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  background: linear-gradient(
    135deg,
    var(--orange) 0%,
    #c4621f 50%,
    var(--violet) 100%
  );
  border-radius: var(--r);
  padding: 2.5rem 3rem;
}
.cta-band h2 {
  color: var(--white);
  margin-bottom: 0.5rem;
}
.cta-band h2 em {
  color: rgba(255, 255, 255, 0.85);
  font-style: italic;
}
.cta-band p {
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
}
.cta-band__actions {
  display: flex;
  gap: 1rem;
  flex-shrink: 0;
  flex-wrap: wrap;
}
.cta-band .btn-primary {
  background: var(--white);
  color: var(--orange);
  border-color: var(--white);
  text-shadow: none;
}
.cta-band .btn-primary:hover {
  background: var(--cream);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}
.cta-band .btn-ghost-white:hover {
  transform: translateY(-2px);
}

/* ─── Footer ─────────────────────────────────────────── */
footer {
  background: var(--text);
  padding: 5rem 0 2.5rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}
.footer-logo {
  height: 30px;
  width: auto;
  opacity: 0.8;
  margin-bottom: 1.2rem;
}
.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.4);
  font-family: var(--font-ui);
}
.footer-col h3 {
  font-family: var(--font-ui);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1.2rem;
}
.footer-col a {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 0.55rem;
  transition: color 0.2s;
}
.footer-col a:hover {
  color: var(--white);
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-ui);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.25);
}
.footer-bottom a {
  color: rgba(255, 255, 255, 0.25);
  margin-left: 1.5rem;
  transition: color 0.2s;
}
.footer-bottom a:hover {
  color: rgba(255, 255, 255, 0.6);
}

/* ─── Animations ─────────────────────────────────────── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.fade-up {
  opacity: 0;
  animation: fadeUp 0.8s cubic-bezier(0.22, 0.68, 0, 1.2) forwards;
}
.delay-1 {
  animation-delay: 0.14s;
}
.delay-2 {
  animation-delay: 0.28s;
}
.delay-3 {
  animation-delay: 0.42s;
}
.delay-4 {
  animation-delay: 0.56s;
}
.delay-5 {
  animation-delay: 0.7s;
}

/* ─── Responsive ─────────────────────────────────────── */
@media (max-width: 1024px) {
  .nav-links {
    display: none;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--border);
    padding: 0 2rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links > li {
    width: 100%;
    display: block;
  }
  .nav-links > li > a {
    display: block;
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.95rem;
    width: 100%;
  }
  .nav-has-dropdown > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
  }
  .nav-links > li:last-child > a {
    border-bottom: none;
    margin-top: 0.75rem;
    margin-bottom: 0.75rem;
    text-align: center;
    border-radius: 50px;
  }
  .nav-links > li:last-child > .nav-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    line-height: 1;
  }
  .nav-has-dropdown > a::after {
    content: "▾";
    display: inline-block;
    font-size: 1.05rem;
    opacity: 0.8;
  }
  .nav-has-dropdown.open > a::after {
    content: "▴";
  }
  .nav-dropdown {
    position: static;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    box-shadow: none;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 0;
    background: transparent;
    min-width: auto;
    display: none;
    margin: 0.35rem 0 0.85rem;
    overflow: hidden;
  }
  .nav-has-dropdown.open .nav-dropdown {
    display: block;
  }
  .nav-dropdown a {
    padding: 0.85rem 1rem;
    font-size: 0.92rem;
    font-weight: 700;
    border-bottom: 1px solid var(--border);
    background: var(--white);
    border-radius: 0;
  }
  .nav-dropdown li:last-child a {
    border-bottom: none;
  }
  .nav-dropdown hr {
    display: none;
  }
  .burger {
    display: flex;
  }
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  :root {
    --gap: 72px;
  }
  .cta-band__inner {
    flex-direction: column;
    padding: 2rem;
  }
  .cta-band__actions {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .cta-band__inner,
  em {
    text-align: center !important;
  }
}

/* ─── Instagram button ───────────────────────────────── */
.btn-insta {
  background: linear-gradient(
    135deg,
    #f09433 0%,
    #e6683c 25%,
    #dc2743 50%,
    #cc2366 75%,
    #bc1888 100%
  );
  color: var(--white) !important;
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  transition:
    opacity 0.2s,
    transform 0.2s;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  text-shadow: none;
}
.btn-insta:hover {
  opacity: 0.88;
  transform: translateY(-2px);
}

/* ─── Instagram icon in nav ──────────────────────────── */
.nav-insta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: var(--text-mid) !important;
  /* border: 1.5px solid var(--border); */
  transition: all 0.2s;
  min-height: unset !important;
  padding: 0.5rem !important;
}
.nav-insta:hover {
  color: var(--white) !important;
  background: linear-gradient(135deg, #f09433, #dc2743, #bc1888);
  border-color: transparent;
  border-radius: 100%;
}

/* ─── CTA actions empilées (communauté) ──────────────── */
.cta-band__actions--col {
  flex-direction: column;
  align-items: stretch;
  min-width: 240px;
}
.cta-band__actions--col .btn {
  justify-content: center;
  text-align: center;
}

/* ─── Instagram blanc (sur fond gradient) ────────────── */
.btn-insta-white {
  background: rgba(255, 255, 255, 0.18);
  color: var(--white) !important;
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-decoration: none;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition:
    background 0.2s,
    transform 0.2s;
  white-space: nowrap;
}
.btn-insta-white:hover {
  background: rgba(255, 255, 255, 0.28);
  transform: translateY(-2px);
}

@media (max-width: 560px) {
  .nav-insta {
    padding-left: 0 !important;
  }
  .nav-insta:hover {
    background: none;
  }
}
