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

  body {
    font-size: 16px;
    line-height: 1.6;
    padding-bottom: env(safe-area-inset-bottom);
  }

  .container,
  .nav-inner {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: calc(20px + env(safe-area-inset-left)) !important;
    padding-right: calc(20px + env(safe-area-inset-right)) !important;
  }

  section,
  .container,
  .nav-inner,
  .hero-title,
  .hero-subtitle,
  .hero-tag {
    max-width: 100%;
    overflow-x: clip;
  }

  section {
    padding: 68px 0 !important;
  }

  h1 {
    font-size: clamp(1.78rem, 7vw, 2.02rem) !important;
    line-height: 1.08 !important;
    letter-spacing: -0.04em !important;
  }

  h2 {
    font-size: clamp(1.5rem, 6.3vw, 1.75rem) !important;
    line-height: 1.12 !important;
  }

  h3 {
    font-size: clamp(1.125rem, 4.8vw, 1.25rem) !important;
    line-height: 1.24 !important;
  }

  p,
  li {
    font-size: 1rem !important;
    line-height: 1.6 !important;
  }

  img,
  video,
  iframe,
  svg {
    max-width: 100%;
    height: auto;
  }

  nav {
    padding: calc(14px + env(safe-area-inset-top)) 0 14px !important;
  }

  .nav-inner {
    position: relative;
    align-items: center !important;
    gap: 14px !important;
    flex-wrap: wrap;
  }

  .menu-toggle[hidden] {
    display: inline-flex !important;
    visibility: visible !important;
  }

  .menu-toggle {
    display: inline-flex !important;
    order: 4;
    position: static;
    margin: 2px auto 0 0;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(15, 25, 35, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 16px 30px -26px rgba(15, 25, 35, 0.24);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    z-index: 120;
  }

  .menu-toggle span {
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: #0F1923;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  body.menu-open .menu-toggle {
    position: fixed;
    top: calc(18px + env(safe-area-inset-top));
    right: calc(20px + env(safe-area-inset-right));
  }

  body.menu-open .menu-toggle span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  body.menu-open .menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  body.menu-open .menu-toggle span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .nav .nav-links {
    display: flex !important;
    order: 2;
    width: auto;
    margin-left: auto;
    margin-top: 0;
    align-items: center !important;
    justify-content: flex-end;
    gap: 0 !important;
    flex-wrap: nowrap !important;
  }

  .nav .nav-links > li:not(.lang-switch) {
    display: none;
  }

  .nav .nav-links .lang-switch {
    display: inline-flex;
    width: auto;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 4px;
    gap: 4px;
    border-radius: 999px;
  }

  .nav .nav-links .lang-link {
    width: auto;
    min-width: 0;
    min-height: 32px;
    min-width: 38px;
    padding: 0 10px !important;
    font-size: 0.68rem !important;
    letter-spacing: 0.08em !important;
    border-radius: 999px !important;
  }

  body.menu-open {
    overflow: hidden;
  }

  body.menu-open::before {
    content: "";
    position: fixed;
    inset: 0;
    background: #f5f0eb;
    z-index: 190;
  }

  body.menu-open > *:not(nav) {
    display: none !important;
  }

  body.menu-open nav {
    position: fixed !important;
    inset: 0;
    z-index: 210 !important;
    min-height: 100dvh;
    padding-bottom: 0 !important;
    background: #f5f0eb !important;
    border-bottom: none !important;
  }

  body.menu-open .nav-inner {
    position: relative;
    z-index: 211;
  }

  body.menu-open .nav .nav-links {
    position: fixed;
    inset: 0;
    z-index: 212;
    margin: 0;
    padding:
      calc(88px + env(safe-area-inset-top))
      calc(20px + env(safe-area-inset-right))
      calc(28px + env(safe-area-inset-bottom))
      calc(20px + env(safe-area-inset-left));
    flex-direction: column;
    align-items: stretch !important;
    justify-content: flex-start;
    gap: 10px !important;
    overflow-y: auto;
    background: #f5f0eb !important;
    backdrop-filter: none !important;
    min-height: 100dvh;
  }

  body.menu-open .nav .nav-links > li:not(.lang-switch) {
    display: block;
    width: 100%;
  }

  body.menu-open .nav .nav-links > li:not(.lang-switch) a {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 52px;
    padding: 14px 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(15, 25, 35, 0.08);
    color: #0F1923 !important;
    font-size: 1rem !important;
  }

  body.menu-open .nav .nav-links .lang-switch {
    width: auto;
    justify-content: center;
    margin-top: 8px;
    padding-top: 14px;
    border-top: 1px solid rgba(15, 25, 35, 0.08);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  body.menu-open .menu-toggle {
    z-index: 213;
  }

  .hero-tag {
    display: block !important;
    width: 100% !important;
    white-space: normal !important;
    max-width: 100%;
    min-height: auto !important;
    line-height: 1.28 !important;
    font-size: 0.68rem !important;
    letter-spacing: 0.08em !important;
    padding: 12px 16px !important;
  }

  .fmh-badge {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 16px 18px !important;
    border-radius: 28px !important;
    font-size: 0.96rem !important;
    line-height: 1.48 !important;
    white-space: normal !important;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .fmh-badge strong {
    font-weight: 700 !important;
  }

  .hero-title {
    width: 100% !important;
    max-width: none !important;
    margin-bottom: 18px !important;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: manual;
  }

  .hero-subtitle {
    max-width: none !important;
    font-size: 1rem !important;
    line-height: 1.58 !important;
    margin-bottom: 18px !important;
  }

  .hero-cta-group {
    width: 100% !important;
  }

  .btn-primary,
  .form-submit {
    display: flex !important;
    width: 100%;
    min-height: 54px;
    padding: 16px 18px !important;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 1rem !important;
  }

  .situations-grid,
  .methode-steps,
  .medical-grid,
  .temoignages-grid,
  .contact-layout {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }

  .situation-card,
  .step-card,
  .medical-card,
  .temoignage-card,
  .contact-form,
  .faq-item {
    padding: 24px 20px !important;
  }

  .faq-list {
    gap: 12px !important;
  }

  .faq-item {
    overflow: hidden;
  }

  html.js-ready .faq-item {
    padding: 0 !important;
  }

  html.js-ready .faq-item h3 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 52px;
    margin: 0 !important;
    padding: 20px 22px !important;
    cursor: pointer;
  }

  html.js-ready .faq-item h3::after {
    content: "+";
    flex-shrink: 0;
    margin-left: 12px;
    color: #B01C2E;
    font-size: 1.25rem;
    line-height: 1;
  }

  html.js-ready .faq-item.is-open h3::after {
    content: "−";
  }

  html.js-ready .faq-item p {
    display: none;
    padding: 0 22px 20px !important;
  }

  html.js-ready .faq-item.is-open p {
    display: block;
  }

  .form-group {
    margin-bottom: 16px !important;
  }

  .form-group label {
    font-size: 0.92rem !important;
    margin-bottom: 8px !important;
  }

  .form-group input,
  .form-group textarea {
    font-size: 16px !important;
    min-height: 52px;
    padding: 14px 16px !important;
  }

  .form-group textarea {
    min-height: 136px !important;
  }

  .form-note,
  .form-feedback {
    font-size: 0.95rem !important;
    line-height: 1.5 !important;
  }

  .contact-infos {
    display: grid;
    gap: 6px;
  }

  .contact-info-item,
  .contact-info-item a,
  .footer-contact a,
  .footer-links ul a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }

  .footer-inner {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }

  .footer-bottom {
    display: grid !important;
    gap: 8px;
  }

  a:focus-visible,
  button:focus-visible,
  input:focus-visible,
  textarea:focus-visible,
  .faq-item h3:focus-visible {
    outline: 3px solid rgba(176, 28, 46, 0.28);
    outline-offset: 3px;
  }

  * {
    scroll-margin-top: 88px;
  }
}

@media (max-width: 768px) and (orientation: landscape) {
  h1 {
    font-size: clamp(1.8rem, 5vw, 2rem) !important;
  }

  .hero-subtitle {
    font-size: 0.98rem !important;
  }
}
