/* ============================================
   CABINET LEMAIRE — Responsive
   ============================================ */

/* --- Tablet (max 1024px) --- */
@media (max-width: 1024px) {
  :root {
    --section-padding: 60px;
  }

  h1 { font-size: 2.8rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.5rem; }

  .grid--4 { grid-template-columns: repeat(2, 1fr); }

  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .counter-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .soin-section {
    gap: 40px;
  }

  .equipment-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .flow__arrow {
    display: none;
  }

  .flow {
    gap: 16px;
  }

  .flow__step {
    min-width: calc(50% - 16px);
  }
}

/* --- Tablet small (max 768px) --- */
@media (max-width: 768px) {
  :root {
    --section-padding: 50px;
  }

  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.75rem; }

  .hamburger {
    display: flex;
  }

  .navbar__links {
    display: none;
  }

  .navbar__cta {
    display: none;
  }

  .hero {
    min-height: 90vh;
  }

  .hero--compact {
    min-height: 250px;
    padding-top: 80px;
  }

  .hero--compact .hero__content h1 {
    font-size: 2rem;
  }

  .hero__content p {
    font-size: 1rem;
  }

  .grid--2,
  .grid--3 {
    grid-template-columns: 1fr;
  }

  .soin-section {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .soin-section--reverse .soin-section__image {
    order: 0;
  }

  .soin-section__image img {
    height: 280px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-item:nth-child(1) {
    grid-row: span 1;
  }

  .gallery-item img {
    height: 200px;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .table th,
  .table td {
    padding: 12px 16px;
    font-size: 0.85rem;
  }

  .testimonial-card {
    padding: 32px 24px;
  }

  .slider__arrow {
    width: 40px;
    height: 40px;
  }

  .section__header {
    margin-bottom: 40px;
  }

  .equipment-grid {
    grid-template-columns: 1fr;
  }

  .flow__step {
    min-width: 100%;
  }
}

/* --- Mobile (max 480px) --- */
@media (max-width: 480px) {
  :root {
    --section-padding: 40px;
  }

  h1 { font-size: 1.9rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.25rem; }

  .container {
    padding: 0 16px;
  }

  .hero {
    min-height: 85vh;
  }

  .hero__buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero__buttons .btn {
    width: 100%;
    max-width: 300px;
  }

  .hero__badge {
    font-size: 0.8rem;
    padding: 8px 16px;
  }

  .btn {
    padding: 12px 24px;
    font-size: 0.9rem;
  }

  .card__body {
    padding: 24px;
  }

  .counter-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .counter-item__number {
    font-size: 2.2rem;
  }

  .testimonial-card__text {
    font-size: 1rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item img {
    height: 220px;
  }

  .map-container iframe {
    height: 300px;
  }

  .contact-info {
    padding: 24px;
  }

  .floating-btns {
    bottom: 16px;
    right: 16px;
  }

  .floating-btn {
    width: 48px;
    height: 48px;
  }

  .floating-btn svg {
    width: 20px;
    height: 20px;
  }

  .soin-section__meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .breadcrumb {
    font-size: 0.8rem;
  }
}
