/* ===== MOBILE RESPONSIVE - HOME PAGE ===== */

/* Tablettes et écrans intermédiaires (768px - 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
  .container {
    padding: 2rem 1.5rem;
  }

  .nav {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .logo {
    width: 2.8rem;
  }

  .nav__links {
    gap: 1.2rem;
    font-size: 0.95rem;
  }

  .btn--primary {
    padding: 0.7rem 1.2rem;
    font-size: 0.95rem;
  }

  .hero {
    padding: 2.5rem 0 4rem 0;
  }

  .hero h1 {
    font-size: 2rem;
    line-height: 1.35;
  }

  .hero p {
    font-size: 0.95rem;
    margin: 1.5rem 0;
    line-height: 1.6;
  }

  .models {
    max-width: 85%;
  }

  .models h2 {
    font-size: 1.6rem;
    line-height: 1.3;
  }

  .models p {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .interactive__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .interactive__grid h2 {
    font-size: 1.6rem;
  }

  .interactive__grid p {
    font-size: 0.95rem;
  }

  .pillars__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .pillars h2 {
    font-size: 1.6rem;
  }

  .card {
    padding: 1.5rem;
  }

  .card h3 {
    font-size: 1.1rem;
  }

  .slogant h2 {
    font-size: 1.6rem;
  }

  .pricing h2 {
    font-size: 1.6rem;
  }

  .pricing__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .pricing__card {
    padding: 1.5rem;
  }

  .pricing__amount {
    font-size: 2rem;
  }
}

/* Petits écrans et tablettes (max 767px) */
@media (max-width: 767px) {
  .container {
    padding: 1.5rem 1rem;
  }

  /* Navigation */
  .nav {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .logo {
    width: 2.5rem;
  }

  .nav__links {
    gap: 0.8rem;
    font-size: 0.9rem;
    padding-right: 0;
  }

  .nav__links li {
    white-space: nowrap;
  }

  .btn--primary {
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
    white-space: nowrap;
  }

  /* Hero Section */
  .hero {
    padding: 1.5rem 0 3rem 0;
  }

  .hero h1 {
    font-size: 1.5rem;
    line-height: 1.4;
    margin-bottom: 1rem;
  }

  .hero hr {
    margin: 1rem 0;
  }

  .hero p {
    font-size: 1.1rem;
    margin: 1.5rem 0;
    line-height: 1.6;
    font-weight: 300;
  }

  .hero .btn {
    margin-top: 1rem;
    font-size: 0.85rem;
    padding: 0.6rem 1rem;
  }

  /* Models Section */
  .models {
    max-width: 100%;
    padding: 1.5rem 0;
  }

  .models h2 {
    font-size: 1.3rem;
    line-height: 1.4;
    margin-bottom: 0.8rem;
  }

  .models p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-weight: 300;
  }

  .models br {
    display: none;
  }

  /* Carousel - Mobile */
  .splide {
    margin-top: 1rem;
    padding: 0;
    max-width: 100%;
  }

  .splide__track {
    border-radius: var(--radius);
    overflow: hidden;
  }

  .splide__slide img {
    width: 100%;
    height: auto;
    display: block;
  }

  .splide__arrow {
    padding: 0.5rem;
    font-size: 0.8rem;
  }

  .splide__pagination__page {
    width: 8px;
    height: 8px;
    margin: 0 0.4rem;
  }

  /* Interactive Section */
  .interactive {
    padding: 2rem 0;
  }

  .interactive__grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .interactive__grid img {
    max-width: 100%;
    height: auto;
    margin-bottom: 0.5rem;
  }

  .interactive__grid h2 {
    font-size: 1.3rem;
    line-height: 1.4;
    margin-bottom: 0.8rem;
  }

  .interactive__grid hr {
    margin: 0.8rem 0;
  }

  .interactive__grid p {
    font-size: 1rem;
    line-height: 1.6;
    text-align: left;
    margin-bottom: 1rem;
    font-weight: 300;
  }

  .list {
    padding-left: 1rem;
  }

  .list li {
    font-size: 1rem;
    margin-bottom: 0.6rem;
    line-height: 1.6;
    font-weight: 400;
  }

  /* Pillars Section */
  .pillars {
    padding: 2rem 0;
    margin-left: 2.3rem;
    margin-right: 2.3rem;
  }

  .pillars h2 {
    font-size: 1.3rem;
    line-height: 1.4;
    margin-bottom: 1.5rem;
    text-align: center;
  }

  .pillars__grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .card {
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-radius: 8px;
    background: #fff;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }

  .card:active {
    transform: translateY(-2px);
  }

  .card img {
    max-width: 4rem;
    margin-bottom: 0.8rem;
  }

  .card h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    line-height: 1.3;
  }

  .card p {
    font-size: 0.95rem;
    line-height: 1.6;
    font-weight: 300;
  }

  /* Slogan Section */
  .slogant {
    padding: 2rem 0;
    text-align: center;
  }

  .slogant h2 {
    font-size: 1.3rem;
    line-height: 1.4;
    margin-bottom: 1rem;
  }

  .slogant p {
    font-size: 1rem;
    line-height: 1.6;
    padding: 0 0.5rem;
    font-weight: 300;
  }

  /* Pricing Section */
  .pricing {
    padding: 2rem 0;
  }

  .pricing h2 {
    font-size: 1.3rem;
    line-height: 1.4;
    margin-bottom: 1.5rem;
    text-align: center;
  }

  .pricing__grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
    margin-bottom: 1.5rem;
  }

  .pricing__card {
    padding: 1.5rem;
    border-radius: 12px;
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }

  .pricing__card:active {
    transform: translateY(-2px);
  }

  .pricing__badge {
    position: absolute;
    top: -8px;
    left: 15px;
    padding: 0.4rem 0.8rem;
    font-size: 0.7rem;
    border-radius: 4px;
    font-weight: 600;
  }

  .pricing__header h3 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    line-height: 1.3;
  }

  .pricing__subtitle {
    font-size: 0.8rem;
    margin-bottom: 0.8rem;
    line-height: 1.4;
  }

  .pricing__price {
    margin: 1rem 0;
    padding: 1rem 0;
    text-align: center;
  }

  .pricing__amount {
    font-size: 1.8rem;
    font-weight: 700;
  }

  .pricing__period {
    font-size: 0.8rem;
    display: block;
    margin-top: 0.3rem;
  }

  .pricing__description {
    font-size: 0.95rem;
    margin: 0.8rem 0;
    line-height: 1.6;
    min-height: 40px;
    font-weight: 300;
  }

  .pricing__features {
    padding: 1rem 0;
    margin: 1rem 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  }

  .pricing__features li {
    padding: 0.5rem 0;
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 300;
  }

  .pricing__card .btn {
    width: 100%;
    padding: 0.7rem 1rem;
    font-size: 0.85rem;
    margin-top: 0.5rem;
  }

  /* Footer */
  .footer {
    padding: 1.5rem 1rem;
  }

  .footer__grid {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .footer p {
    font-size: 0.9rem;
    line-height: 1.6;
    font-weight: 300;
  }

  section {
    padding: 1.5rem 0;
  }
}

/* Très petits écrans (max 480px) */
@media (max-width: 480px) {
  .container {
    padding: 1rem 0.75rem;
    max-width: 100%;
  }

  /* Header */
  .header {
    padding: 0;
  }

  .nav {
    padding: 0.5rem 0.75rem;
    gap: 0.6rem;
    align-items: center;
  }

  .logo {
    width: 2.2rem;
  }

  .nav__links {
    display: flex;
    gap: 0.6rem;
    font-size: 0.75rem;
    flex-wrap: wrap;
    order: 3;
    width: 100%;
    margin-top: 0.5rem;
  }

  .nav__links li {
    font-size: 0.75rem;
    white-space: nowrap;
  }

  .btn--primary {
    order: 2;
    padding: 0.5rem 0.75rem;
    font-size: 0.7rem;
    flex-shrink: 0;
  }

  /* Hero Section */
  .hero {
    padding: 1rem 0.75rem 2rem 0.75rem;
  }

  .hero h1 {
    font-size: 2.5rem;
    line-height: 1.35;
    margin-bottom: 0.8rem;
  }

  .hero hr {
    margin: 0.6rem 0;
  }

  .hero p {
    font-size: 1rem;
    margin: 0.8rem 0;
    line-height: 1.5;
    font-weight: 300;
  }

  .hero .btn {
    font-size: 0.75rem;
    padding: 0.5rem 0.8rem;
    margin-top: 0.8rem;
  }

  /* Sections */
  section {
    padding: 1.2rem 0;
  }

  .models {
    padding: 1rem 0.75rem;
  }

  .models h2 {
    font-size: 1.2rem;
    line-height: 1.35;
    margin-bottom: 0.6rem;
  }

  .models p {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 0.8rem;
    font-weight: 300;
  }

  .splide {
    margin-top: 0.8rem;
  }

  .splide__slide img {
    width: 100%;
    height: auto;
  }

  .splide__arrow {
    padding: 0.4rem;
    font-size: 0.7rem;
  }

  .splide__pagination__page {
    width: 6px;
    height: 6px;
    margin: 0 0.3rem;
  }

  /* Interactive */
  .interactive {
    padding: 1.2rem 0;
  }

  .interactive__grid {
    gap: 1rem;
    padding: 0.75rem;
  }

  .interactive__grid img {
    max-width: 100%;
    height: auto;
  }

  .interactive__grid h2 {
    font-size: 1.2rem;
    line-height: 1.35;
    margin-bottom: 0.6rem;
  }

  .interactive__grid hr {
    margin: 0.6rem 0;
  }

  .interactive__grid p {
    font-size: 0.95rem;
    line-height: 1.5;
    font-weight: 300;
  }

  .list {
    padding-left: 0.8rem;
  }

  .list li {
    font-size: 0.95rem;
    margin-bottom: 0.4rem;
    line-height: 1.5;
    font-weight: 400;
  }

  /* Pillars */
  .pillars {
    padding: 1.2rem 0;
  }

  .pillars h2 {
    font-size: 1.5rem;
    line-height: 1.35;
    margin-bottom: 1rem;
  }

  .pillars__grid {
    gap: 1rem;
    padding: 0 0.5rem;
  }

  .card {
    padding: 1rem;
    gap: 0.6rem;
  }

  .card img {
    max-width: 3.5rem;
    margin-bottom: 0.4rem;
  }

  .card h3 {
    font-size: 0.95rem;
    margin-bottom: 0.3rem;
  }

  .card p {
    font-size: 0.85rem;
    font-weight: 300;
  }

  /* Slogan */
  .slogant {
    padding: 1.2rem 0;
  }

  .slogant h2 {
    font-size: 1.2rem;
    line-height: 1.35;
    margin-bottom: 0.8rem;
  }

  .slogant p {
    font-size: 0.95rem;
    line-height: 1.5;
    padding: 0 0.5rem;
    font-weight: 300;
  }

  /* Pricing */
  .pricing {
    padding: 1.2rem 0;
  }

  .pricing h2 {
    font-size: 1.5rem;
    line-height: 1.35;
    margin-bottom: 1.3rem;
  }

  .pricing__grid {
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 0 0.5rem;
  }

  .pricing__card {
    padding: 1.2rem;
    border-radius: 10px;
  }

  .pricing__badge {
    top: -6px;
    left: 12px;
    padding: 0.3rem 0.6rem;
    font-size: 0.65rem;
  }

  .pricing__header h3 {
    font-size: 1.3rem;
    line-height: 1.3;
  }

  .pricing__subtitle {
    font-size: 0.75rem;
    margin-bottom: 0.6rem;
  }

  .pricing__amount {
    font-size: 2rem;
    font-weight: 700;
  }

  .pricing__period {
    font-size: 0.75rem;
    margin-top: 0.2rem;
  }

  .pricing__description {
    font-size: 0.9rem;
    margin: 0.6rem 0;
    font-weight: 300;
  }

  .pricing__features li {
    padding: 0.3rem 0;
    font-size: 0.9rem;
    font-weight: 300;
  }

  .pricing__card .btn {
    padding: 0.6rem 0.8rem;
    font-size: 0.75rem;
    margin-top: 0.6rem;
  }

  /* Footer */
  .footer {
    padding: 1rem 0.75rem;
  }

  .footer__grid {
    gap: 0.8rem;
  }

  .footer p {
    font-size: 0.85rem;
    font-weight: 300;
  }
}