/* ==========================================================================
   TOM SAX — RESPONSIVE ADAPTATIONS (1280px, 1024px, 768px, 390px)
   ========================================================================== */

/* Laptop / Desktop intermédiaire (max-width: 1280px) */
@media (max-width: 1280px) {
  .container {
    padding-inline: 48px;
  }
  .header-container {
    padding-inline: 48px;
  }
  .desktop-nav {
    gap: 28px;
  }
  .service-grid {
    gap: 16px;
  }
  .about-grid {
    grid-template-columns: 300px 1fr 300px;
    gap: 36px;
  }
  .repertoire-layout {
    gap: 48px;
  }
}

/* Tablette Paysage / Petit Laptop (max-width: 1024px) */
@media (max-width: 1024px) {
  .container {
    padding-inline: 40px;
  }
  .header-container {
    padding-inline: 40px;
  }
  .desktop-nav {
    gap: 20px;
  }
  .desktop-nav a {
    font-size: 11px;
  }
  .header-cta {
    padding: 11px 18px;
    font-size: 11px;
  }
  .benefits {
    grid-template-columns: repeat(2, 1fr);
  }
  .benefit:nth-child(2) {
    border-right: 0;
  }
  .benefit:nth-child(1), .benefit:nth-child(2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .service-card {
    height: 420px;
  }
  .live-gallery {
    grid-template-columns: 1fr 1fr;
  }
  .gallery-tall {
    height: 420px;
  }
  .gallery-stack {
    height: 420px;
  }
  .gallery-medium {
    height: 200px;
  }
  .gallery-wide {
    grid-column: 1 / -1;
    height: 320px;
  }
  .gallery-standard {
    grid-column: 1 / -1;
    height: 320px;
  }
  .about-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
  .about-photo:last-child {
    display: none;
  }
  .music-list {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

/* Tablette Portrait (max-width: 768px) */
@media (max-width: 768px) {
  .container {
    padding-inline: 28px;
  }
  .header-container {
    padding-inline: 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .site-header {
    height: 72px;
  }
  .desktop-nav, .header-cta {
    display: none;
  }
  .menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    padding: 10px 16px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    cursor: pointer;
    flex-shrink: 0;
    margin-left: auto;
  }
  .mobile-nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100;
    background: #0b0c0c;
    color: #fff;
    display: flex;
    flex-direction: column;
    padding: 32px 28px;
    gap: 16px;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s ease;
    overflow-y: auto;
    visibility: hidden;
    pointer-events: none;
  }
  .mobile-nav.open {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
  }
  .mobile-nav a {
    font-family: var(--serif);
    font-size: 32px;
    line-height: 1.2;
    padding-block: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .mobile-nav a:last-child {
    color: var(--gold);
    border-bottom: none;
    margin-top: 16px;
    font-family: var(--sans);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }
  .hero {
    height: 720px;
    min-height: 680px;
  }
  .hero-image {
    object-position: 70% 15%;
  }
  .hero-overlay {
    background:
      linear-gradient(0deg, rgba(9, 10, 10, 0.96) 0%, rgba(9, 10, 10, 0.72) 45%, rgba(9, 10, 10, 0.35) 80%, rgba(9, 10, 10, 0.5) 100%),
      linear-gradient(90deg, rgba(9, 10, 10, 0.8) 0%, transparent 60%);
  }
  .hero-inner {
    padding-inline: 28px;
    align-items: flex-end;
    padding-bottom: 54px;
  }
  .hero-copy {
    width: 100%;
  }
  .hero h1 {
    font-size: 56px;
  }
  .services, .live, .about, .repertoire {
    padding: 80px 0;
  }
  .site-header.scrolled {
    height: 58px;
  }
  .site-header.scrolled ~ .mobile-nav {
    top: 58px;
  }
  #prestations,
  #live,
  #apropos,
  #repertoire,
  #contact {
    scroll-margin-top: 68px;
  }
  .modal-card {
    padding: 36px 28px 32px;
  }
  .modal-form-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .section-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 36px;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .about-photo {
    height: 440px;
  }
  .footer-content {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .contact {
    padding: 60px 0 70px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .contact-visual {
    position: relative;
    top: 0;
    height: 380px;
  }
  .contact-panel-inner {
    max-width: 100%;
  }
  .form-row {
    grid-template-columns: 1fr;
    row-gap: 14px;
  }
  .booking-form .btn-submit {
    width: 100%;
    justify-content: center;
  }
}

/* Mobile (max-width: 560px / 390px) */
@media (max-width: 560px) {
  .container {
    padding-inline: 20px;
  }
  .header-container {
    padding-inline: 20px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .menu-btn {
    flex-shrink: 0;
    display: inline-flex;
    padding: 8px 14px;
    font-size: 11px;
    margin-left: auto;
  }
  .site-header {
    height: 68px;
    width: 100%;
  }
  .site-header.scrolled {
    height: 56px;
  }
  #prestations,
  #live,
  #apropos,
  #repertoire,
  #contact {
    scroll-margin-top: 64px;
  }
  .modal-overlay {
    padding: 14px;
  }
  .modal-card {
    padding: 30px 20px 24px;
  }
  .modal-close {
    top: 14px;
    right: 14px;
    width: 34px;
    height: 34px;
    font-size: 13px;
  }
  .brand-line {
    font-size: 26px;
  }
  .brand small {
    font-size: 8px;
  }
  .mobile-nav {
    top: 68px;
    padding: 24px 20px;
  }
  .site-header.scrolled ~ .mobile-nav {
    top: 56px;
  }
  .hero {
    height: 680px;
    min-height: 640px;
  }
  .hero-image {
    object-position: 68% 12%;
  }
  .hero-inner {
    padding-inline: 20px;
    padding-bottom: 40px;
  }
  .eyebrow {
    font-size: 10px;
    letter-spacing: 0.14em;
    margin-bottom: 14px;
    line-height: 1.4;
  }
  .hero h1 {
    font-size: 46px;
  }
  .hero-lead {
    font-size: 14px;
    margin-top: 16px;
  }
  .hero-actions {
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
  }
  .btn {
    width: 100%;
    min-height: 48px;
    font-size: 12px;
  }
  .benefits {
    grid-template-columns: 1fr;
  }
  .benefit {
    padding: 20px 20px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .services, .live, .about, .repertoire {
    padding: 70px 0;
  }
  .service-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .service-card {
    height: 420px;
  }
  .live-gallery {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .gallery-tall {
    height: 380px;
  }
  .gallery-stack {
    height: auto;
    gap: 16px;
  }
  .gallery-medium {
    height: 260px;
  }
  .gallery-wide, .gallery-standard {
    height: 280px;
  }
  .about-photo {
    height: 360px;
  }
  .about-center {
    padding: 0;
  }
  .about-center h2 {
    font-size: 38px;
  }
  .about-text p {
    font-size: 14px;
  }
  .music-filters {
    gap: 8px;
  }
  .filter-btn {
    padding: 0 12px;
    height: 36px;
    min-height: 36px;
    font-size: 11px;
  }
  .music-list {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .music-row {
    grid-template-columns: 1fr auto;
    gap: 12px;
    padding: 12px 0;
  }
  .music-category {
    font-size: 10px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .contact-visual {
    position: relative;
    top: 0;
    height: 380px;
    min-height: auto;
  }
  .contact-visual-copy {
    left: 20px;
    right: 20px;
    bottom: 20px;
  }
  .contact-visual-copy h2 {
    font-size: 32px;
  }
  .contact-panel {
    padding: 0;
  }
  .form-row {
    grid-template-columns: 1fr;
    row-gap: 14px;
  }
  .booking-form .btn-submit {
    width: 100%;
    justify-content: center;
  }
  .footer {
    padding: 50px 0 30px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }
}
