/* ============================================================
   GBECHI BONIFACE — MOBILE.CSS v3  "Responsive Propre"
   Règle : Conserver la composition → Réduire → Préserver
   Breakpoints : ≤768 · ≤600 · ≤480 · ≤430 · ≤390 · ≤360 · ≤320
   Aucun !important sauf pour écraser des valeurs fixes héritées.
   ============================================================ */

/* ============================================================
   0. GLOBAL — Évite tout débordement horizontal
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

html {
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  overflow-x: hidden;
}

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

/* ============================================================
   1. TABLET — ≤768px
   ============================================================ */
@media (max-width: 768px) {

  /* ── Container & Sections ── */
  .container { padding: 0 18px !important; }
  section    { padding: 52px 0 !important; }
  .section-header   { margin-bottom: 28px !important; }
  .section-title    { font-size: clamp(1.35rem, 5.5vw, 1.8rem) !important; line-height: 1.25 !important; }
  .section-subtitle { font-size: 0.84rem !important; }
  .section-tag      { font-size: 0.64rem !important; padding: 3px 12px !important; }

  /* ── Boutons — touch target min 44px ── */
  .btn-primary, .btn-outline, .btn-whatsapp,
  .btn-cta-wa, .btn-cta-white, .btn-outline-white {
    min-height: 44px;
    font-size: 0.84rem;
    padding: 11px 20px;
  }
  .btn-nav { min-height: 38px; font-size: 0.78rem; }

  /* ── Prevent iOS zoom on inputs ── */
  input, textarea, select { font-size: 16px !important; }

  /* ── HERO — Passe en 1 colonne, photo cachée ── */
  .hero {
    min-height: auto !important;
    height: auto !important;
    padding-top: var(--nav-h) !important;
    padding-bottom: 40px !important;
    align-items: flex-start !important;
  }
  .hero-container {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    padding: 28px 20px 0 !important;
    gap: 0 !important;
    min-height: auto !important;
  }
  .hero-visual     { display: none !important; }
  .hero-float-card { display: none !important; }

  /* Hero texte */
  .hero-badge {
    font-size: 0.74rem !important;
    padding: 6px 16px !important;
    margin-bottom: 20px !important;
  }
  .hero-title {
    font-size: 1.9rem !important;
    line-height: 1.12 !important;
    margin-bottom: 12px !important;
  }
  .hero-subtitle {
    font-size: 0.84rem !important;
    line-height: 1.75 !important;
    max-width: 360px !important;
    margin: 0 auto 24px !important;
  }
  .hero-role {
    justify-content: center !important;
    gap: 6px !important;
    margin-bottom: 14px !important;
    flex-wrap: wrap !important;
  }
  .role-tag { font-size: 0.75rem !important; }

  /* Hero boutons — grille 2 colonnes + WhatsApp pleine largeur */
  .hero-buttons {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
    width: 100% !important;
    max-width: 360px !important;
    margin: 0 auto 22px !important;
  }
  .hero-buttons .btn-primary,
  .hero-buttons .btn-outline-white {
    justify-content: center !important;
    padding: 13px 10px !important;
    font-size: 0.8rem !important;
    border-radius: 10px !important;
    width: 100% !important;
  }
  .hero-buttons .btn-whatsapp {
    grid-column: 1 / -1 !important;
    justify-content: center !important;
    padding: 13px 10px !important;
    font-size: 0.82rem !important;
    border-radius: 10px !important;
  }

  /* Hero stats */
  .hero-stats {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0 !important;
    margin: 0 auto 20px !important;
    background: rgba(255,255,255,.05) !important;
    border: 1px solid rgba(255,255,255,.08) !important;
    border-radius: 12px !important;
    padding: 12px 8px !important;
    width: 100% !important;
    max-width: 360px !important;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .hero-stats::-webkit-scrollbar { display: none; }
  .hero-stat        { padding: 0 10px !important; }
  .hero-stat-num    { font-size: 1.2rem !important; font-weight: 800 !important; }
  .hero-stat-lbl    { font-size: 0.62rem !important; }
  .hero-stat-divider{ width: 1px !important; height: 24px !important; }

  /* Hero socials */
  .hero-socials { display: flex !important; justify-content: center !important; gap: 8px !important; margin-bottom: 0 !important; }
  .social-icon-btn  { width: 36px !important; height: 36px !important; font-size: 0.78rem !important; }

  /* ── ABOUT ── */
  .about { padding: 50px 0 40px !important; }
  .about-grid {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
    text-align: center !important;
  }
  .about-photo-col  { display: flex !important; justify-content: center !important; }
  .about-photo {
    width: 100% !important;
    max-width: 320px !important;
    height: 340px !important;
    margin: 0 auto !important;
    border-radius: 18px !important;
  }
  .about-photo-badge { display: none !important; }
  .about-content { padding: 16px 0 0 !important; text-align: center !important; }
  .about-id-row {
    justify-content: center !important;
    flex-wrap: wrap !important;
    font-size: 0.88rem !important;
    gap: 6px !important;
    margin-bottom: 10px !important;
  }
  .about-text {
    font-size: 0.88rem !important;
    line-height: 1.75 !important;
    text-align: center !important;
    margin: 14px 0 !important;
  }
  .about-quote {
    border-left: none !important;
    border-top: 3px solid var(--blue) !important;
    border-radius: var(--radius-md) !important;
    padding: 14px 16px !important;
    margin: 16px 0 !important;
    text-align: center !important;
  }
  .about-skills { justify-content: center !important; gap: 8px !important; margin: 14px 0 18px !important; }
  .skill-tag    { font-size: 0.74rem !important; min-height: 32px; }
  .about-cta {
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
  }
  .about-cta .btn-primary,
  .about-cta .btn-outline {
    width: 100% !important;
    justify-content: center !important;
    max-width: 320px;
  }

  /* ── SERVICES ── */
  .services-grid { grid-template-columns: 1fr 1fr !important; gap: 14px !important; }
  .service-img   { height: 150px !important; }
  .service-body  { padding: 16px !important; }
  .service-card h3 { font-size: 0.9rem !important; }
  .service-card > .service-body > p { font-size: 0.8rem !important; }
  .service-list li { font-size: 0.78rem !important; gap: 6px; }
  .service-icon  { width: 44px !important; height: 44px !important; font-size: 1.1rem !important; margin-bottom: 10px !important; }
  .service-cta   { font-size: 0.78rem !important; }
  .featured-badge { font-size: 0.66rem !important; padding: 3px 10px !important; }

  /* ── WHY ME / STATS ── */
  .stats-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 14px !important; }
  .stat-card  { padding: 24px 16px !important; }
  .stat-num   { font-size: 2rem !important; }
  .stat-unit  { font-size: 1.2rem !important; }
  .stat-card p { font-size: 0.78rem !important; }
  .stat-icon  { font-size: 1.4rem !important; }
  .why-bottom { grid-template-columns: 1fr !important; gap: 28px !important; }
  .why-photo img { height: 260px !important; }
  .values-block h3 { font-size: 1.1rem !important; margin-bottom: 16px !important; }
  .values-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 10px !important; }
  .value-item  { padding: 14px 10px !important; }
  .value-item span { font-size: 0.74rem !important; }

  /* ── PORTFOLIO ── */
  .portfolio-grid { grid-template-columns: 1fr 1fr !important; gap: 14px !important; }
  .portfolio-img  { height: 180px !important; }
  .portfolio-info { padding: 14px !important; }
  .portfolio-info h3 { font-size: 0.9rem !important; }
  .portfolio-info > p { font-size: 0.78rem !important; }
  .portfolio-tech span { font-size: 0.68rem !important; }
  .portfolio-cta-link  { font-size: 0.78rem !important; }
  .pf-btn { font-size: 0.78rem !important; padding: 6px 14px !important; }
  .portfolio-filters { gap: 6px !important; margin-bottom: 24px !important; }

  /* ── TESTIMONIALS ── */
  .rating-overview {
    flex-direction: column !important;
    gap: 14px !important;
    padding: 20px 16px !important;
    text-align: center !important;
  }
  .rating-big   { font-size: 2.4rem !important; }
  .rating-bars  { width: 100% !important; }
  .rbar-row     { font-size: 0.76rem !important; }
  .testimonials-grid { grid-template-columns: 1fr 1fr !important; gap: 14px !important; }
  .testi-card   { padding: 18px !important; }
  .testi-card blockquote { font-size: 0.83rem !important; }
  .testi-author div strong { font-size: 0.82rem !important; }
  .testi-author div span   { font-size: 0.72rem !important; }
  .clients-logos { gap: 8px !important; justify-content: center !important; }
  .client-item   { padding: 7px 12px !important; font-size: 0.76rem !important; }

  /* ── TARIFS ── */
  .tarifs-toggle { gap: 10px !important; flex-wrap: wrap !important; justify-content: center !important; }
  .tarifs-grid {
    grid-template-columns: 1fr !important;
    max-width: 400px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    gap: 16px !important;
  }
  .tarif-featured       { transform: none !important; }
  .tarif-featured:hover { transform: translateY(-6px) !important; }
  .tarif-header  { padding: 18px 16px 14px !important; }
  .tarif-body    { padding: 16px !important; }
  .tarif-icon    { width: 48px !important; height: 48px !important; font-size: 1.2rem !important; }
  .tarif-amount  { font-size: 1.7rem !important; }
  .tarif-badge-label { font-size: 0.82rem !important; }
  .tarif-features li { font-size: 0.82rem !important; }
  .tarif-desc    { font-size: 0.82rem !important; }

  /* ── BLOG ── */
  .blog-grid   { grid-template-columns: 1fr 1fr !important; gap: 14px !important; }
  .blog-img    { aspect-ratio: 16/9; }
  .blog-content { padding: 14px !important; }
  .blog-content h3 { font-size: 0.88rem !important; line-height: 1.4 !important; }
  .blog-content p  { font-size: 0.8rem !important; }
  .blog-meta span  { font-size: 0.7rem !important; }
  .blog-category   { font-size: 0.66rem !important; }
  .blog-footer {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
    padding-top: 10px !important;
  }
  .blog-read-more { font-size: 0.8rem !important; }

  /* ── BÉNI CAVANO ── */
  .cavanno-hero { grid-template-columns: 1fr !important; gap: 24px !important; }
  .cavanno-right { display: flex !important; justify-content: center !important; margin-top: 20px !important; }
  .cavanno-photo-card { width: 100% !important; max-width: 360px !important; border-radius: 18px !important; }
  .cavanno-photo-card img { height: 420px !important; object-fit: cover !important; object-position: top center !important; }
  .cavanno-stats { justify-content: center !important; flex-wrap: wrap !important; }
  .cavanno-stat  { padding: 0 12px !important; }
  .cavanno-stat-num { font-size: 1.1rem !important; }
  .cavanno-left p { font-size: 0.86rem !important; }
  .cavanno-cta {
    flex-direction: column !important;
    align-items: center !important;
    gap: 10px !important;
  }
  .cavanno-cta > a {
    width: 100% !important;
    max-width: 300px !important;
    justify-content: center !important;
    min-height: 44px !important;
  }
  .cavanno-social-grid { grid-template-columns: 1fr 1fr !important; gap: 10px !important; }

  /* ── CTA BANNER ── */
  .cta-banner  { padding: 44px 0 !important; }
  .cta-inner {
    flex-direction: column !important;
    text-align: center !important;
    gap: 20px !important;
  }
  .cta-text h2 { font-size: clamp(1.2rem, 5vw, 1.6rem) !important; }
  .cta-text p  { font-size: 0.86rem !important; }
  .cta-actions {
    justify-content: center !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 10px !important;
    width: 100% !important;
  }
  .cta-actions > a {
    width: 100% !important;
    max-width: 260px !important;
    justify-content: center !important;
    min-height: 48px !important;
  }

  /* ── CONTACT ── */
  .contact-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }
  .contact-info h3 { font-size: 1rem !important; margin-bottom: 16px !important; }
  .contact-items   { gap: 8px !important; }
  .contact-item    { padding: 11px 13px !important; gap: 10px !important; min-height: 54px !important; }
  .contact-item-icon { width: 36px !important; height: 36px !important; font-size: 0.88rem !important; }
  .contact-item div strong { font-size: 0.78rem !important; }
  .contact-item div span   { font-size: 0.72rem !important; word-break: break-all; }
  .contact-socials { grid-template-columns: 1fr 1fr !important; gap: 8px !important; }
  .contact-form-wrap {
    padding: 22px 16px !important;
    border-radius: var(--radius-lg) !important;
  }
  .form-row { grid-template-columns: 1fr !important; gap: 0 !important; }
  .form-group label { font-size: 0.68rem !important; }
  .form-group input,
  .form-group textarea,
  .form-group select {
    padding: 10px 12px !important;
    font-size: 16px !important;
    -webkit-appearance: none;
    border-radius: var(--radius-sm) !important;
  }
  .form-group textarea { min-height: 110px !important; }

  /* Contact pro (version EN) */
  .contact-pro-grid { grid-template-columns: 1fr !important; gap: 22px !important; }
  .contact-pro-right { display: none !important; }
  .contact-pro-form  { padding: 22px 16px !important; }

  /* ── FOOTER ── */
  .footer { display: none !important; }

  /* ── BOUTONS FLOTTANTS ── */
  .whatsapp-float, .whatsapp-btn {
    bottom: 80px !important;
    right: 14px !important;
    width: 50px !important;
    height: 50px !important;
    font-size: 1.3rem !important;
  }
  .wa-tooltip, .whatsapp-tooltip { display: none !important; }
  .scroll-top, .scroll-top-btn {
    bottom: 18px !important;
    right: 14px !important;
    width: 40px !important;
    height: 40px !important;
    font-size: 0.82rem !important;
  }

  /* ── COOKIE BANNER ── */
  .cookie-inner {
    flex-direction: column !important;
    padding: 12px 16px !important;
    gap: 10px !important;
    text-align: center !important;
    align-items: center !important;
  }
  .cookie-inner p, .cookie-text { font-size: 0.8rem !important; width: 100% !important; }
  .cookie-actions { justify-content: center !important; width: 100% !important; gap: 8px !important; }
  .btn-cookie-accept, .cookie-btn-accept,
  .btn-cookie-decline, .cookie-btn-decline {
    flex: 1 !important;
    max-width: 140px !important;
    text-align: center !important;
    min-height: 40px !important;
    padding: 9px 12px !important;
  }

  /* ── ANTI-OVERFLOW UNIVERSEL ── */
  .hero, .about, .services, .why-me, .portfolio,
  .testimonials, .tarifs, .blog, .beni-cavanno,
  .cta-banner, .contact {
    overflow-x: hidden !important;
  }
  h1, h2, h3, h4, p, span, a, li, blockquote {
    overflow-wrap: break-word;
    word-break: break-word;
  }

  /* ── PROGRESS + CURSOR ── */
  #scroll-progress { height: 2px !important; }
  #glow-cursor     { display: none !important; }

  /* ── PARTICLES ── */
  #particles-canvas { opacity: 0.25 !important; }

  /* ── ANIMATIONS ALLÉGÉES ── */
  .tarif-featured { animation: none !important; }
  .hero-orb.orb-1,
  .hero-orb.orb-2 { width: 300px !important; height: 300px !important; filter: blur(50px) !important; }

  /* ── ACCESSIBILITÉ ── */
  a:focus-visible, button:focus-visible,
  input:focus-visible, select:focus-visible,
  textarea:focus-visible {
    outline: 3px solid var(--orange);
    outline-offset: 2px;
    border-radius: 4px;
  }

  /* ── BODY LOCK menu ouvert ── */
  body.nav-open {
    overflow: hidden;
    touch-action: none;
  }
  body.nav-open::after {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(6,10,24,0.65);
    z-index: 998;
    pointer-events: none;
  }

  /* ── DARK MODE corrections ── */
  [data-theme="dark"] .testi-card,
  [data-theme="dark"] .tarif-card,
  [data-theme="dark"] .blog-card,
  [data-theme="dark"] .service-card,
  [data-theme="dark"] .portfolio-card {
    background: rgba(255,255,255,.04) !important;
  }
  [data-theme="dark"] .skill-tag { background: rgba(255,255,255,.06) !important; }
  [data-theme="dark"] .contact-form-wrap { background: var(--bg-dark2) !important; }

  /* ── PAGES LÉGALES ── */
  .legal-hero { padding: calc(var(--nav-h) + 20px) 0 28px !important; margin-bottom: 32px; }
  .legal-hero h1 { font-size: clamp(1.3rem, 5.5vw, 1.8rem) !important; }
  .legal-hero p  { font-size: 0.84rem !important; }
  .legal-back    { font-size: 0.82rem !important; margin-bottom: 24px !important; min-height: 44px !important; }
  .legal-section { margin-bottom: 32px !important; }
  .legal-section h2 { font-size: 1rem !important; padding-bottom: 8px !important; flex-wrap: wrap !important; }
  .legal-section p, .legal-section li { font-size: 0.86rem !important; line-height: 1.8 !important; }
  .rights-grid { grid-template-columns: 1fr !important; gap: 10px !important; }
  .right-item  { padding: 12px !important; gap: 10px !important; }
  .right-item strong { font-size: 0.82rem !important; }
  .right-item span   { font-size: 0.76rem !important; }

  /* ── NAVBAR MOBILE — nom centré ── */
  .nav-logo-name { display: none !important; }
  .navbar-title-mobile .nt-first,
  .navbar-title-mobile .nt-last { font-size: 1.5rem !important; }

  /* ── BÉNI CAVANO dans nav mobile ── */
  .nav-link-benitech {
    color: rgba(255,255,255,0.82) !important;
    font-weight: 600 !important;
    border-top: 1px solid rgba(255,255,255,0.1) !important;
    margin-top: 6px !important;
    padding-top: 18px !important;
  }

  /* ── FORMULAIRE — fix select arrow Safari ── */
  select {
    background-position: right 12px center !important;
    padding-right: 36px !important;
  }
}

/* ============================================================
   2. ≤600px — Tablet portrait serré
   ============================================================ */
@media (max-width: 600px) {
  .services-grid     { grid-template-columns: 1fr !important; }
  .portfolio-grid    { grid-template-columns: 1fr !important; }
  .testimonials-grid { grid-template-columns: 1fr !important; }
  .blog-grid         { grid-template-columns: 1fr !important; }
  .cavanno-social-grid { grid-template-columns: 1fr !important; }
  .contact-socials   { grid-template-columns: 1fr !important; }
  .contact-form-wrap { padding: 18px 14px !important; }
  .values-grid       { grid-template-columns: 1fr 1fr !important; }
  .cta-actions > a   { max-width: 100% !important; }
}

/* ============================================================
   3. ≤480px — Mobile standard
   ============================================================ */
@media (max-width: 480px) {
  .container { padding: 0 16px !important; }

  /* Hero */
  .hero-title    { font-size: 1.65rem !important; }
  .hero-subtitle { font-size: 0.8rem !important; max-width: 320px !important; }
  .hero-stat-num { font-size: 1.1rem !important; }
  .hero-buttons  { max-width: 320px !important; }
  .hero-stats    { max-width: 320px !important; }

  /* About */
  .about-photo   { max-width: 280px !important; height: 300px !important; }

  /* Tarifs */
  .tarifs-grid   { max-width: 100% !important; }
  .tarif-amount  { font-size: 1.5rem !important; }

  /* Blog */
  .blog-img      { aspect-ratio: 16/8; }
  .blog-content h3 { font-size: 0.92rem !important; }
  .blog-footer   { flex-direction: row !important; align-items: center !important; flex-wrap: wrap !important; }

  /* Contact */
  .contact-form-wrap { padding: 18px 14px !important; }
  .contact-pro-form  { padding: 18px 14px !important; }

  /* Stats */
  .stats-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 10px !important; }
  .stat-num   { font-size: 1.8rem !important; }

  /* Legal */
  .legal-hero h1 { font-size: clamp(1.1rem, 6vw, 1.5rem) !important; }
  .legal-section h2 { font-size: 0.92rem !important; }
  .legal-section p, .legal-section li { font-size: 0.82rem !important; }

  /* Cavanno */
  .cavanno-photo-card img { height: 380px !important; }

  /* Particles */
  #particles-canvas { opacity: 0.15 !important; }

  /* Nav */
  .navbar-title-mobile .nt-first,
  .navbar-title-mobile .nt-last { font-size: 1.2rem !important; }
}

/* ============================================================
   4. ≤430px — iPhone Pro Max / grands Android
   ============================================================ */
@media (max-width: 430px) {
  .cavanno-social-grid { grid-template-columns: 1fr !important; }
  .cavanno-stat        { padding: 0 8px !important; }
  .hero-title          { font-size: 1.55rem !important; }
  .hero-buttons        { max-width: 300px !important; }
  .hero-stats          { max-width: 300px !important; }
  .stat-num            { font-size: 1.6rem !important; }
}

/* ============================================================
   5. ≤390px — iPhone 14 / Pixel standard
   ============================================================ */
@media (max-width: 390px) {
  .container { padding: 0 14px !important; }
  .hero-title { font-size: 1.45rem !important; }
  .hero-subtitle { font-size: 0.78rem !important; max-width: 280px !important; }
  .hero-buttons { max-width: 280px !important; gap: 8px !important; }
  .hero-stats   { max-width: 280px !important; }
  .section-title { font-size: clamp(1.2rem, 5vw, 1.55rem) !important; }
  .testi-card blockquote { font-size: 0.8rem !important; }
  .about-photo   { max-width: 260px !important; height: 280px !important; }
  .stat-card     { padding: 20px 12px !important; }
  .stat-num      { font-size: 1.5rem !important; }
  .blog-content h3 { font-size: 0.84rem !important; }
  .client-item   { font-size: 0.72rem !important; padding: 6px 10px !important; }
}

/* ============================================================
   6. ≤360px — Petits Android
   ============================================================ */
@media (max-width: 360px) {
  .container { padding: 0 12px !important; }
  .hero-title  { font-size: 1.35rem !important; }
  .hero-subtitle { font-size: 0.76rem !important; }
  .hero-buttons { max-width: 260px !important; }
  .hero-stats   { max-width: 260px !important; }
  .section-title { font-size: clamp(1.1rem, 5vw, 1.4rem) !important; }

  .skill-tag   { font-size: 0.7rem !important; padding: 4px 9px !important; }
  .tarif-features li { font-size: 0.76rem !important; }
  .tarif-desc  { font-size: 0.78rem !important; }
  .cavanno-stats { flex-wrap: wrap !important; justify-content: center !important; gap: 8px !important; }
  .cavanno-stat-sep { display: none !important; }
  .stat-num    { font-size: 1.4rem !important; }
  .legal-section h2 { font-size: 0.88rem !important; }
  .legal-section p, .legal-section li { font-size: 0.78rem !important; }

  /* Particles off */
  #particles-canvas { display: none !important; }

  /* Nav */
  .navbar-title-mobile .nt-first,
  .navbar-title-mobile .nt-last { font-size: 1.05rem !important; }
}

/* ============================================================
   7. ≤320px — Très petits écrans
   ============================================================ */
@media (max-width: 320px) {
  .container  { padding: 0 10px !important; }
  .hero-title { font-size: 1.2rem !important; }
  .hero-buttons { grid-template-columns: 1fr !important; }
  .section-title { font-size: 1.1rem !important; }
  .hero-socials .social-icon-btn { width: 30px !important; height: 30px !important; }
}

/* ============================================================
   8. TABLET SPÉCIFIQUE — 601px–768px (tablette paysage)
   ============================================================ */
@media (min-width: 601px) and (max-width: 768px) {
  .services-grid     { grid-template-columns: 1fr 1fr !important; }
  .blog-grid         { grid-template-columns: 1fr 1fr !important; }
  .portfolio-grid    { grid-template-columns: 1fr 1fr !important; }
  .testimonials-grid { grid-template-columns: 1fr 1fr !important; }
  .tarifs-grid       { grid-template-columns: 1fr !important; max-width: 480px !important; margin: 0 auto 24px !important; }
}

/* ============================================================
   9. PRINT
   ============================================================ */
@media print {
  .navbar, .whatsapp-float, .whatsapp-btn,
  .scroll-top, .scroll-top-btn, .cookie-banner,
  #particles-canvas, #scroll-progress, #glow-cursor,
  .hero-float-card, .hero-bg { display: none !important; }
  section { padding: 20px 0 !important; }
  .container { padding: 0 16px !important; }
  body { font-size: 12pt !important; }
}

/* ============================================================
   10. PREFERS-REDUCED-MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .whatsapp-float, .whatsapp-btn,
  .hero-photo-ring, .badge-dot, .hero-orb { animation: none !important; }
}

/* ============================================================
   11. HIGH CONTRAST
   ============================================================ */
@media (prefers-contrast: high) {
  .btn-primary { background: #000 !important; color: #fff !important; }
  .btn-outline { border-color: #000 !important; color: #000 !important; }
  .section-tag { border-color: currentColor !important; }
}

/* ============================================================
   12. ABOUT FULL GRID (version EN)
   ============================================================ */
@media (max-width: 768px) {
  .about-full-grid {
    grid-template-columns: 1fr !important;
  }
  .about-id-block { position: static !important; }
  .about-skills-block { display: none !important; }
  .about-id-infos .about-id-row { font-size: 0.78rem !important; gap: 7px !important; }
  .about-id-socials a { width: 30px !important; height: 30px !important; font-size: 0.74rem !important; }
  .about-role-big { font-size: 0.88rem !important; text-align: center !important; }
  .about-desc-block .about-cta {
    flex-direction: column !important;
    align-items: center !important;
  }
  .about-desc-block .about-cta > * {
    width: 100% !important;
    max-width: 280px !important;
    justify-content: center !important;
    min-height: 44px !important;
  }
}

/* ============================================================
   13. IA SERVICE (version EN)
   ============================================================ */
@media (max-width: 768px) {
  .ia-service-grid { grid-template-columns: 1fr !important; gap: 24px !important; }
  .ia-service-content h3 { font-size: 1.1rem !important; }
  .ia-features    { gap: 8px !important; }
  .ia-feature-item { font-size: 0.84rem !important; }
}

/* ============================================================
   14. INPUTS — prevent iOS zoom (tous les breakpoints)
   ============================================================ */
@media (max-width: 768px) {
  input[type="text"], input[type="email"], input[type="tel"],
  input[type="number"], input[type="search"], input[type="password"],
  textarea, select {
    font-size: 16px !important;
    -webkit-appearance: none;
  }
}
