/* =========================================================
   Mobile responsive styles — Qui sommes-nous ?
   Loaded after style.css and qui-sommes-nous.css
   ========================================================= */

@media screen and (max-width: 900px) {
  html,
  body {
    width: 100%;
    overflow-x: hidden;
  }

  body {
    background: var(--cream, #fffaf2);
  }

  .page-shell {
    width: 100%;
    max-width: none;
    border-radius: 0;
    box-shadow: none;
  }

  .site-header {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    min-height: auto;
    padding: 16px 18px 14px;
  }

  .brand {
    width: 100%;
  }

  .brand img {
    width: 150px;
    max-width: 56vw;
    height: auto;
    margin: 0 auto;
  }

  .main-nav {
    order: 2;
    width: 100%;
    margin: 0;
    padding: 6px 0 8px;
    justify-content: center;
    gap: 18px;
    overflow-x: visible;
    font-size: 0.84rem;
  }

  .main-nav a {
    flex: 0 0 auto;
  }

  .site-header .header-cta {
    display: none;
  }

  .section-padded {
    padding: 30px 20px;
  }

  /* HERO */

  .about-hero-page {
    height: 255px;
  }

  .about-hero-page img {
    object-position: center center;
  }

  .about-hero-overlay {
    left: 24px;
    right: 24px;
    bottom: 28px;
  }

  .about-hero-overlay h1,
  .who-main-title {
    font-size: clamp(3.2rem, 12vw, 4.2rem) !important;
    transform: none !important;
  }

  .who-hero-line-heart {
    width: 270px !important;
    height: 52px !important;
    margin: 0 0 0 16px;
  }

  /* STORY + MOTTO */

  .about-story-section {
    padding-top: 32px;
    padding-bottom: 26px;
  }

  .about-story-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    max-width: 720px;
  }

  .about-story-text {
    padding-left: 0;
  }

  .about-story-decor {
    display: none;
  }

  .about-story-text h2 {
    text-align: center;
    font-size: clamp(2.6rem, 10vw, 3.6rem);
  }

  .about-story-text p {
    font-size: 1rem;
    line-height: 1.55;
  }

  .about-motto-card {
    max-width: 620px;
    height: auto;
    margin: 8px auto 0;
    padding: 28px 24px 30px;
  }

  .about-motto-header {
    flex-direction: column;
    gap: 6px;
    margin: 0 auto 8px;
    transform: none;
  }

  .about-motto-header h2 {
    font-size: clamp(2.4rem, 10vw, 3.4rem);
  }

  .about-motto-top-decor {
    position: static;
    width: 160px;
    max-width: 70%;
    transform: none;
  }

  .about-motto-title-visual {
    margin: 12px auto 18px;
    transform: none;
  }

  .about-motto-title-visual img {
    width: 100%;
    max-width: 380px;
  }

  .about-motto-card p {
    max-width: 100%;
    font-size: 1rem;
    line-height: 1.5;
  }

  .about-motto-illustration img {
    width: 220px;
    max-width: 78%;
    margin: 18px auto 0;
  }

  /* IDEA TIMELINE */

  .idea-section {
    padding-top: 26px;
    padding-bottom: 30px;
  }

  .idea-section h2 {
    max-width: 100%;
    font-size: clamp(2.5rem, 10vw, 3.5rem);
  }

  .idea-section h2::before,
  .idea-section h2::after,
  .about-page .idea-timeline.about-idea-steps::before {
    display: none;
    content: none;
  }

  .idea-timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px 24px;
    max-width: 640px;
    margin-top: 30px;
  }

  .idea-icon {
    width: 112px;
    height: 112px;
    margin-bottom: 12px;
  }

  .idea-icon img {
    width: 70px;
    height: 70px;
  }

  .idea-number {
    left: calc(50% - 50px);
  }

  .idea-step h3 {
    font-size: 1.8rem;
  }

  .idea-step p {
    max-width: 240px;
    font-size: 0.95rem;
  }

  /* SUMMARY */

  .about-summary {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 28px 20px;
  }

  .about-quick-card {
    min-height: 0;
    padding: 30px 24px 34px;
  }

  .about-quick-card h2,
  .about-warm-card h2 {
    text-align: center;
    font-size: clamp(2.4rem, 10vw, 3.3rem);
  }

  .about-quick-content {
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    margin-top: 24px;
  }

  .about-quick-content li {
  font-size: 0.98rem;
}

  .about-quick-content ul:nth-child(2) li:last-child {
    transform: translateY(-28px);
  }
  .about-quick-visual {
    opacity: 1;
    right: 8px;
    bottom: 0;
  }

  .about-photo-row {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .about-photo-row img {
    height: 150px;
  }

  .about-warm-card p {
    max-width: 520px;
    margin: 18px auto 0;
    font-size: 1rem;
    line-height: 1.45;
  }

  /* CTA */

  .about-cta {
    padding: 20px;
  }

  .about-cta-inner {
    grid-template-columns: 1fr;
    gap: 14px;
    min-height: 0;
    padding: 28px 22px;
    text-align: center;
  }

  .who-contact-icon {
    width: 58px;
    margin: 0 auto;
  }

  .about-cta h2 {
    font-size: clamp(2.3rem, 10vw, 3.2rem);
  }

  .about-cta p {
    max-width: 460px;
    margin: 8px auto 0;
    font-size: 1rem;
    line-height: 1.45;
  }

  .about-page .about-contact-btn {
    width: 100%;
    max-width: 320px;
    margin: 12px auto 0 !important;
    transform: none !important;
  }

  .about-page .about-contact-leaf-decor {
    display: none;
  }

  /* FOOTER */

  .site-footer {
    grid-template-columns: 1fr;
    gap: 18px;
    min-height: 0;
    padding: 26px 20px;
    text-align: center;
  }

  .footer-links {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 0;
  }

  .footer-brand img {
    width: 170px;
    margin: 0 auto;
  }

  .footer-village {
    justify-content: center;
  }

  .footer-village img {
    width: 180px;
    margin: 0 auto;
  }
}

@media screen and (max-width: 520px) {
  .site-header {
    padding-inline: 14px;
  }

  .brand img {
    width: 132px;
  }

  .main-nav {
    justify-content: flex-start;
    gap: 16px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    font-size: 0.8rem;
  }

  .about-hero-page {
    height: 220px;
  }

  .about-hero-overlay {
    left: 18px;
    right: 18px;
    bottom: 24px;
  }

  .about-hero-overlay h1,
  .who-main-title {
    font-size: 3.35rem !important;
  }

  .who-hero-line-heart {
    width: 230px !important;
    height: 44px !important;
    margin-left: 10px;
  }

  .about-story-section,
  .idea-section,
  .about-summary,
  .about-cta {
    padding-inline: 16px;
  }

  .about-story-text h2,
  .idea-section h2,
  .about-quick-card h2,
  .about-warm-card h2,
  .about-cta h2 {
    font-size: 2.55rem;
  }

  .about-motto-card {
    padding: 26px 20px 28px;
  }

  .idea-timeline {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .about-quick-content {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .about-quick-card {
    padding-bottom: 110px;
  }

  .about-quick-visual {
    right: 50%;
    width: 150px;
    opacity: 1;
    transform: translateX(50%);
  }

  .about-quick-content ul:nth-child(2) {
    gap: 14px;
    margin-top: 0;
  }

  .about-quick-content ul:nth-child(2) li:last-child {
    transform: none;
  }

  .about-photo-row {
    grid-template-columns: 1fr;
  }

  .about-photo-row img {
    height: 190px;
  }

  .about-cta-inner {
    padding-inline: 20px;
  }

  .footer-links {
    font-size: 0.94rem;
  }
}