/* ===== RESPONSIVE.CSS — Mobile-first, breakpoints, queries média =====*/

/* ===== MOBILE: 320px — Default (base styles in main.css) === */

/* ===== BURGER MENU INNOVANT === */
@media (max-width: 767px) {
  /* Réduire la <nav> à zéro dans le flex du header sur mobile.
     Le .nav__menu est position:fixed, donc visible indépendamment.
     Sans cela, le min-width:auto par défaut du flex-child empêche
     la nav de se réduire, provoquant un débordement horizontal. */
  header nav {
    flex: 0 0 0;
    min-width: 0;
    overflow: hidden;
  }

  .menu-toggle {
    display: flex;
    z-index: 1001;
  }

  /* Animation burger -> X */
  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
  }

  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  /* Désactiver backdrop-filter quand le menu est ouvert — sinon
     il crée un nouveau containing block et position:fixed du menu
     se retrouve limité à la hauteur du header */
  header:has(.nav__menu.active) {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  /* Menu fullscreen */
  .nav__menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    background: white;
    padding: var(--space-6);
    padding-top: 140px;
    gap: var(--space-1);
    opacity: 0;
    visibility: hidden;
    transform: scale(0.95);
    transition: all 400ms cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    overflow-y: auto;
  }

  .nav__menu.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
  }

  .nav__menu li {
    width: 100%;
    max-width: 320px;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 300ms ease-out;
  }

  .nav__menu.active li {
    opacity: 1;
    transform: translateY(0);
  }

  /* Animation décalée pour chaque item */
  .nav__menu.active li:nth-child(1) { transition-delay: 100ms; }
  .nav__menu.active li:nth-child(2) { transition-delay: 150ms; }
  .nav__menu.active li:nth-child(3) { transition-delay: 200ms; }
  .nav__menu.active li:nth-child(4) { transition-delay: 250ms; }
  .nav__menu.active li:nth-child(5) { transition-delay: 300ms; }
  .nav__menu.active li:nth-child(6) { transition-delay: 350ms; }
  .nav__menu.active li:nth-child(7) { transition-delay: 400ms; }

  .nav__link {
    display: flex;
    justify-content: center;
    width: 100%;
    padding: var(--space-3) var(--space-4);
    color: var(--c-navy);
    font-size: var(--text-lg);
    font-weight: 600;
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
  }

  .nav__link:hover {
    background: var(--c-navy-pale);
    color: var(--c-magenta);
  }

  .nav__link::after,
  .nav__link--active::after,
  .nav__link.active::after {
    display: none;
    content: none;
  }

  .nav__link--active,
  .nav__link.active {
    background: var(--gradient-doit);
    color: white;
  }

  /* Dropdown icon — visible uniquement en mobile */
  .nav__dropdown-icon {
    display: block;
    stroke: var(--c-navy);
    transition: transform var(--transition-base);
  }

  /* Sous-menus mobile */
  .nav__submenu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: var(--c-navy-pale);
    border-radius: var(--radius-lg);
    margin: var(--space-2) 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 300ms ease-in-out, padding 300ms ease-in-out;
  }

  .nav__menu > li.submenu-open > .nav__submenu {
    max-height: 500px;
    padding: var(--space-2);
  }

  .nav__dropdown {
    justify-content: center;
    gap: var(--space-2);
  }

  .nav__menu > li.submenu-open .nav__dropdown-icon {
    transform: rotate(180deg);
  }

  .nav__submenu-link {
    padding: var(--space-2) var(--space-3);
    border-radius: var(--radius-md);
    color: var(--c-text);
    font-size: var(--text-base);
    transition: all var(--transition-base);
  }

  .nav__submenu-link:hover {
    background: white;
    color: var(--c-magenta);
  }

  /* Logo en haut du menu */
  .nav__menu::before {
    content: '';
    position: absolute;
    top: var(--space-12);
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 60px;
    background: url('/assets/images/logo-doit-group.svg') center/contain no-repeat;
  }

  /* Pas de barre décorative en bas du menu mobile */
  .nav__menu::after {
    display: none;
  }

  .hero__headline {
    font-size: var(--text-4xl);
  }

  .hero__subheadline {
    font-size: var(--text-lg);
  }

  .hero__actions {
    flex-direction: column;
    gap: var(--space-4);
  }

  .hero__actions .btn {
    width: 100%;
  }

  .grid--2,
  .grid--3,
  .grid--4,
  .grid--sectors {
    grid-template-columns: 1fr;
  }

  .grid--sectors > * {
    grid-column: auto;
  }

  .grid--sectors > :nth-child(4),
  .grid--sectors > :nth-child(5) {
    grid-column: auto;
  }

  /* === Cartes équipe — empilées en mobile === */
  .card--team {
    flex-direction: column;
  }

  .card--team__photo {
    width: 100%;
    min-height: 0;
    height: 240px;
  }

  .card--team .card__body::before {
    top: 0;
    bottom: auto;
    left: var(--space-6);
    right: var(--space-6);
    width: auto;
    height: 3px;
  }

  .footer__content {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .footer__info {
    flex-direction: column;
    gap: var(--space-6);
  }

  .footer__info-block {
    flex-direction: row;
    align-items: flex-start;
    gap: var(--space-3);
  }

  .footer__info-icon {
    width: 18px;
    height: 18px;
    margin-top: 1px;
  }

  .footer__info-block p {
    word-break: break-word;
  }

  .footer__subsidiaries {
    justify-content: flex-start;
  }

  /* Liens légaux visibles en mobile (masqués dans le mini-footer) */
  .footer__legal-mobile {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
    margin-top: var(--space-6);
    padding-top: var(--space-6);
    border-top: 1px solid rgba(var(--c-white-rgb), 0.1);
  }

  .footer__legal-mobile .footer__link {
    font-size: var(--text-sm);
    color: rgba(var(--c-white-rgb), 0.7);
  }

  /* Mini-footer mobile — allégé, une seule ligne */
  .mini-footer__container {
    gap: var(--space-2);
  }

  .mini-footer__logos {
    gap: var(--space-2);
  }

  .mini-footer__logo {
    height: 14px;
  }

  .mini-footer__logo--pmv {
    height: 14px;
  }

  .mini-footer__copyright {
    font-size: 11px;
  }

  /* Masquer "All rights reserved" en mobile */
  .mini-footer__rights {
    display: none;
  }

  /* Masquer les séparateurs verticaux en mobile */
  .mini-footer__separator {
    display: none;
  }

  /* Masquer les liens légaux sauf Mentions légales */
  .mini-footer__legal-extra {
    display: none;
  }

  /* Language switcher mobile — forcer les mêmes proportions que desktop */
  .language-switcher {
    padding: 3px;
    gap: 2px;
    height: auto;
    min-height: 0;
  }

  .language-switcher a {
    font-size: 11px;
    padding: 4px 10px;
    min-width: 0;
    min-height: 0;
    height: auto;
    width: auto;
    aspect-ratio: unset;
  }

  .language-switcher a.active {
    box-shadow: 0 2px 6px rgba(var(--c-magenta-rgb), 0.3);
  }

  .section {
    padding: var(--space-12) 0;
  }

  h1 {
    font-size: var(--text-4xl);
  }

  h2 {
    font-size: var(--text-3xl);
  }

  h3 {
    font-size: var(--text-2xl);
  }

  .section__headline {
    font-size: var(--text-3xl);
  }

  .section__subheadline {
    font-size: var(--text-lg);
  }

  .card {
    margin: 0;
  }

  .cookie-banner {
    flex-direction: column;
    padding: var(--space-4);
    border-radius: var(--radius-lg);
    margin: var(--space-4);
  }

  .cookie-banner__actions {
    flex-direction: column;
  }

  .cookie-banner__btn {
    width: 100%;
  }

  .form {
    max-width: 100%;
  }

  .hero {
    padding: var(--space-12) 0;
    min-height: auto;
  }

  .hero__content {
    max-width: 100%;
  }

  /* Hero bento — mobile : grille 2 colonnes, CTA visible */
  .hero--bento {
    min-height: auto;
    padding: 0;
  }

  .hero__bento-container {
    gap: var(--space-4);
    padding-top: var(--space-6);
    padding-bottom: var(--space-4);
  }

  .hero__bento-headline {
    font-size: var(--text-2xl);
    white-space: normal;
  }

  .hero__bento-subheadline {
    font-size: var(--text-base);
  }

  .hero__bento-grid {
    gap: var(--space-3);
  }

  .hero__bento-tile {
    flex: 0 1 calc((100% - var(--space-3)) / 2);
  }

  /* Variante 4 tuiles — 1 par ligne en mobile */
  .hero__bento-grid--4 .hero__bento-tile {
    flex: 0 1 100%;
    aspect-ratio: 1 / 1;
  }

  .hero__bento-tile-name {
    font-size: var(--text-lg);
  }

  .hero__bento-tile-desc {
    font-size: var(--text-lg);
  }

  /* .hero__bento-tile-overlay {
    padding: var(--space-3) var(--space-4) var(--space-1);
  } */

  .hero__bento-tile-desc {
    padding-right: 38px;
    font-size: var(--text-xs);
  }

  /* CTA masqué sur mobile — taille réduite pour quand il apparaît au focus */
  .hero__bento-tile-cta {
    width: 32px;
    height: 32px;
    bottom: var(--space-1);
    right: var(--space-3);
  }

  /* === Timeline mobile — layout vertical === */
  .timeline__heading {
    font-size: var(--text-xl);
    margin-bottom: var(--space-8);
  }

  .timeline__items {
    grid-template-columns: 1fr;
    gap: 0;
    padding-left: var(--space-10);
  }

  /* Ligne verticale gauche */
  .timeline__items::after {
    bottom: auto;
    top: 0;
    left: 23px;
    right: auto;
    width: 3px;
    height: 100%;
  }

  /* Jalon mobile — grille nommée : placement fiable quel que soit le badge */
  .timeline__item {
    display: grid;
    grid-template-columns: 48px 1fr;
    grid-template-areas:
      "icon badge"
      "icon text"
      "icon year"
      "icon loc";
    column-gap: var(--space-3);
    row-gap: 0;
    align-items: start;
    text-align: left;
    padding-bottom: var(--space-8);
    position: relative;
  }

  /* Badge — zone badge */
  .timeline__badge {
    grid-area: badge;
    position: static;
    justify-self: start;
    margin-bottom: var(--space-1);
    margin-left: 0;
    font-size: 0.65rem;
  }

  /* Items sans badge : réduire la zone badge à 0 */
  .timeline__badge--empty {
    grid-area: badge;
    display: block;
    visibility: hidden;
    padding: 0;
    margin: 0;
    min-height: 0;
    height: 0;
    line-height: 0;
    font-size: 0;
    overflow: hidden;
  }

  /* Icône — zone icon, alignée en haut */
  .timeline__icon {
    grid-area: icon;
    align-self: start;
    margin-top: var(--space-1);
    margin-bottom: 0;
    margin-right: 0;
  }

  /* Texte — zone text */
  .timeline__content {
    grid-area: text;
    max-width: none;
    margin-bottom: 0;
    padding-top: 0;
  }

  /* Masquer le connecteur en mobile — hors du flux grille */
  .timeline__connector {
    display: none;
  }

  /* Dot sur la ligne verticale gauche — absolu, hors flux grille */
  .timeline__dot {
    position: absolute;
    left: calc(-1 * var(--space-10) + 17px);
    top: 20px;
  }

  /* Année — zone year */
  .timeline__year {
    grid-area: year;
    position: static;
    margin-top: var(--space-2);
    margin-left: 0;
    font-size: var(--text-sm);
    font-weight: 700;
    width: auto;
  }

  /* Localisation inline visible sur mobile */
  .timeline__loc {
    grid-area: loc;
    display: flex;
    align-items: center;
    gap: var(--space-1);
    font-size: var(--text-xs);
    color: var(--c-text-secondary);
    margin-top: var(--space-1);
  }

  .timeline__loc svg {
    width: 14px;
    height: 14px;
    color: var(--c-magenta);
    flex-shrink: 0;
  }

  /* Masquer la section séparée des localisations sur mobile */
  .timeline__locations {
    display: none;
  }
}

/* ===== TABLET: 768px+ === */
@media (min-width: 768px) {
  .container {
    padding: 0 var(--space-6);
  }

  .grid--2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid--sectors {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid--sectors > *,
  .grid--sectors > :nth-child(4),
  .grid--sectors > :nth-child(5) {
    grid-column: auto;
  }

  .grid--sectors > :last-child {
    grid-column: 1 / -1;
    max-width: 50%;
    margin: 0 auto;
  }

  .hero {
    min-height: 100vh;
  }

  .hero__headline {
    font-size: var(--text-5xl);
  }

  .hero__actions {
    flex-direction: row;
  }

  .hero__actions .btn {
    width: auto;
  }

  .footer__content {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }

  .form__group {
    margin-bottom: var(--space-6);
  }

  .section {
    padding: var(--space-16) 0;
  }

  .intro-text {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
  }

  .card__body {
    padding: var(--space-8);
  }

  .hero__scroll-indicator {
    display: block;
  }

  /* Hero bento tablette — ajustements */
  .hero__bento-headline {
    font-size: var(--text-3xl);
  }

  .hero__bento-grid {
    gap: var(--space-4);
  }

  /* Variante 4 tuiles — 2×2 en tablette */
  .hero__bento-grid--4 .hero__bento-tile {
    flex: 0 1 calc((100% - var(--space-4)) / 2);
    aspect-ratio: 1 / 1;
  }

  .hero__bento-tile-name {
    font-size: var(--text-lg);
  }

  /* CTA masqué par défaut, visible au hover (desktop) */
  .hero__bento-tile-cta {
    opacity: 0;
    transform: translateX(8px);
  }

  /* Hero Split — tablette : grille 2 colonnes */
  .hero__split-cards {
    grid-template-columns: 1fr 1fr;
  }

  .hero__offer-card {
    aspect-ratio: 1 / 1;
  }

  /* Titre carte — taille tablette */
  .hero__offer-card-title {
    font-size: var(--text-lg);
  }
  .hero__offer-card-subtitle {
    font-size: var(--text-base);
  }
  /* CTA masqué par défaut, visible au hover (desktop) */
  .hero__offer-card-cta {
    opacity: 0;
    transform: translateX(8px);
  }

  /* === Timeline tablette — grille 3×2, reset du layout mobile === */
  .timeline__items {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
    padding-left: 0;
  }

  .timeline__items::after {
    display: none;
  }

  .timeline__item {
    display: flex;
    grid-template-columns: none;
    grid-template-areas: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0;
    padding-bottom: var(--space-8);
  }

  .timeline__badge {
    grid-area: auto;
    position: static;
    justify-self: auto;
    margin-left: 0;
    margin-bottom: var(--space-3);
    font-size: var(--text-xs);
  }

  .timeline__badge--empty {
    display: inline-block;
    visibility: hidden;
    padding: var(--space-1) var(--space-3);
    min-height: 24px;
    height: auto;
    line-height: normal;
    font-size: var(--text-xs);
    overflow: visible;
  }

  .timeline__icon {
    grid-area: auto;
    align-self: auto;
    margin-top: 0;
    margin-right: 0;
  }

  .timeline__content {
    grid-area: auto;
    padding-top: 0;
  }

  .timeline__connector {
    display: none;
  }

  .timeline__dot {
    position: static;
    display: none;
  }

  .timeline__year {
    grid-area: auto;
    position: static;
    margin-top: var(--space-2);
    margin-left: 0;
    width: auto;
  }

  /* Masquer les localisations inline sur tablette */
  .timeline__loc {
    display: none;
  }

  /* Réafficher la section séparée des localisations */
  .timeline__locations {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding-left: 0;
    position: static;
    margin-top: var(--space-6);
  }

  .timeline__locations::before {
    display: none;
  }

  .timeline__location--empty {
    display: none;
  }
}

/* ===== MINI-FOOTER INTERMÉDIAIRE : 768–1100px === */
@media (min-width: 768px) and (max-width: 1100px) {
  /* Masquer "Manage cookies" sur écrans intermédiaires */
  .mini-footer__legal li:last-child {
    display: none;
  }

  .mini-footer__logo {
    height: 16px;
  }

  .mini-footer__logo--pmv {
    height: 16px;
  }

  .mini-footer__copyright {
    font-size: 11px;
  }

  .mini-footer__link {
    font-size: 11px;
  }

  .mini-footer__container {
    gap: var(--space-3);
  }

  /* Afficher les liens légaux dans le footer principal
     pour compenser ceux masqués dans le mini-footer */
  .footer__legal-mobile {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
    margin-top: var(--space-6);
    padding-top: var(--space-6);
    border-top: 1px solid rgba(var(--c-white-rgb), 0.1);
  }

  .footer__legal-mobile .footer__link {
    font-size: var(--text-sm);
    color: rgba(var(--c-white-rgb), 0.5);
  }

  .footer__legal-mobile .footer__link:hover {
    color: rgba(var(--c-white-rgb), 0.8);
  }
}

/* ===== DESKTOP: 1024px+ === */
@media (min-width: 1024px) {
  .container {
    padding: 0 var(--space-8);
  }

  .grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .grid--4 {
    grid-template-columns: repeat(4, 1fr);
  }

  .grid--sectors {
    grid-template-columns: repeat(6, 1fr);
  }

  .grid--sectors > * {
    grid-column: span 2;
  }

  .grid--sectors > :nth-child(4) {
    grid-column: 2 / 4;
  }

  .grid--sectors > :nth-child(5) {
    grid-column: 4 / 6;
  }

  .grid--sectors > :last-child {
    max-width: none;
    margin: 0;
  }

  .section {
    padding: var(--space-20) 0;
  }

  .hero__headline {
    font-size: var(--text-6xl);
  }

  .intro-text {
    font-size: var(--text-lg);
  }

  .footer__content {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }

  /* Variante 4 tuiles — 4 colonnes sur desktop */
  .hero__bento-grid--4 .hero__bento-tile {
    flex: 1 1 calc((100% - 3 * var(--space-4)) / 4);
    aspect-ratio: 1 / 1;
  }

  /* === Hero Split — layout texte + cartes desktop === */
  .hero__split {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: var(--space-12);
    align-items: center;
  }

  .hero__split-text {
    text-align: left;
  }

  /* Logo — centré horizontalement dans le bloc texte, plus grand en desktop */
  .hero__split-logo {
    width: 260px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero__split-text .hero__bento-subheadline {
    margin-left: 0;
    margin-right: 0;
  }

  /* Desktop : wrapper cartes + orbital prend la colonne droite du grid */
  .hero__split-cards-wrapper {
    grid-column: 2;
    grid-row: 1;
  }

  /* Desktop : gap plus large pour voir les orbites entre les cartes */
  .hero__split-cards {
    gap: var(--space-8);
  }

  /* Titre carte — taille desktop */
  .hero__offer-card-title {
    font-size: var(--text-xl);
  }
  .hero__offer-card-subtitle {
    font-size: var(--text-lg);
  }

  /* Orbites — inset plus large en desktop pour déborder davantage */
  .hero__orbital {
    inset: calc(-1 * var(--space-10));
  }

  /* Hero bento desktop — tailles plein format */
  .hero__bento-headline {
    font-size: var(--text-4xl);
  }

  /* .hero__bento-tile-overlay {
    padding: var(--space-6);
  } */

  .hero__bento-tile-name {
    font-size: var(--text-xl);
  }

  /* === Timeline desktop — horizontal 6 colonnes, reset complet === */
  .timeline__items {
    grid-template-columns: repeat(6, 1fr);
    gap: var(--space-4);
    padding-left: 0;
  }

  .timeline__items::after {
    display: block;
  }

  .timeline__item {
    display: flex;
    grid-template-columns: none;
    grid-template-areas: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-bottom: var(--space-16);
  }

  .timeline__connector {
    display: block;
  }

  .timeline__dot {
    position: relative;
    display: block;
  }

  .timeline__year {
    grid-area: auto;
    position: absolute;
    bottom: 0;
    margin-top: 0;
  }

  .timeline__locations {
    grid-template-columns: repeat(6, 1fr);
    padding-left: 0;
  }

  /* Réactiver la cellule vide pour conserver l'espacement dans la grille 6 col */
  .timeline__location--empty {
    display: flex;
  }

  /* Sticky header ombre au scroll */
  header.scrolled {
    box-shadow: var(--shadow-md);
  }

  .nav__menu {
    gap: var(--space-2);
  }
}

/* ===== LARGE DESKTOP: 1280px+ === */
@media (min-width: 1280px) {
  .container {
    max-width: 1280px;
    padding: 0 var(--space-12);
  }

  .section {
    padding: var(--space-24) 0;
  }

  .card {
    transition: all var(--transition-slow);
  }

  .hero {
    padding: var(--space-24) 0;
  }
}

/* ===== TRÈS GRAND ÉCRAN: 1536px+ === */
@media (min-width: 1536px) {
  .container {
    max-width: 1400px;
  }

  .grid--2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .grid--4 {
    grid-template-columns: repeat(4, 1fr);
  }

  .grid--sectors {
    grid-template-columns: repeat(6, 1fr);
  }
}

/* ===== ÉCRANS COURTS (hauteur < 600px) === */
@media (max-height: 600px) {
  .hero {
    min-height: auto;
    padding: var(--space-12) 0;
  }

  .hero__scroll-indicator {
    display: none;
  }
}

/* ===== IMPRESSION === */
@media print {
  header,
  footer,
  .cookie-banner,
  .menu-toggle,
  .language-switcher,
  .btn {
    display: none;
  }

  body {
    background: white;
    color: black;
  }

  a {
    color: black;
    text-decoration: underline;
  }

  .container {
    max-width: 100%;
  }
}

/* Dark mode désactivé — site toujours en mode clair */

/* ===== CONTRASTE ÉLEVÉ === */
@media (prefers-contrast: more) {
  :root {
    --c-text: #000000;
    --c-navy: #000000;
    --c-magenta: #ee0066;
  }

  a {
    text-decoration: underline;
  }

  .btn {
    border: 2px solid;
  }

  input:focus,
  textarea:focus,
  select:focus {
    outline: 3px solid var(--c-magenta);
  }
}

/* ===== MOUVEMENT RÉDUIT === */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto !important;
  }

  .hero__scroll-indicator {
    animation: none;
  }

  /* Désactiver toutes les animations SVG du hero bento */
  .hero__bento-tile-img {
    transition: none !important;
  }

  /* Désactiver les animations orbitales */
  .hero__orbital-dot,
  .hero__orbital-path {
    animation: none !important;
  }

  .hero__orbital-dot {
    display: none;
  }
}

/* ===== ÉCRANS TACTILES — Pas de dimming sur tactile === */
@media (hover: none) {
  .hero__bento-grid:hover .hero__bento-tile:not(:hover) {
    opacity: 1;
  }
}

/* ===== ÉCRANS TACTILES === */
@media (hover: none) and (pointer: coarse) {
  a,
  button,
  .btn {
    min-height: 44px;
    min-width: 44px;
  }

  /* Exclure le language switcher des contraintes tactiles */
  .language-switcher a {
    min-height: 0;
    min-width: 0;
  }

  .nav__link,
  .footer__link {
    padding: var(--space-3) var(--space-3);
  }

  .card {
    cursor: pointer;
  }
}

/* ===== AFFICHAGES PETITES RÉSOLUTIONS (max-width: 360px) === */
@media (max-width: 360px) {
  .container {
    padding: 0 var(--space-3);
  }

  .header__container {
    padding: var(--space-3) 0;
    height: 60px;
  }

  .header__logo {
    width: 100px;
    height: 40px;
  }

  h1 {
    font-size: var(--text-3xl);
  }

  h2 {
    font-size: var(--text-2xl);
  }

  h3 {
    font-size: var(--text-xl);
  }

  .hero__headline {
    font-size: var(--text-3xl);
  }

  .hero__subheadline {
    font-size: var(--text-base);
  }

  /* Hero bento — très petit écran : 1 colonne, 16:9 */
  .hero__bento-tile {
    flex: 0 1 100%;
    aspect-ratio: 16 / 9;
  }

  .btn {
    padding: var(--space-2) var(--space-4);
  }

  .section {
    padding: var(--space-8) 0;
  }

  .footer__section-title {
    font-size: var(--text-xs);
  }

  .grid {
    gap: var(--space-4);
  }

  .nav__menu {
    gap: 0;
  }

  /* Mini-footer très petit écran */
  .mini-footer__logo {
    height: 12px;
  }

  .mini-footer__logo--pmv {
    height: 12px;
  }

  .mini-footer__copyright {
    font-size: 10px;
  }

  .mini-footer__legal .mini-footer__link {
    font-size: 10px;
  }
}

/* ===== FORMULAIRE CONTACT RESPONSIVE === */
@media (max-width: 1024px) {
  /* Passer en une colonne sur tablette/mobile */
  .contact-layout {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  /* Réordonner : carte d'abord, formulaire ensuite sur mobile */
  .contact-form-wrapper {
    order: 2;
    height: auto;
  }

  .contact-layout__right {
    order: 1;
  }

  /* Carte ne prend plus toute la hauteur sur mobile */
  .contact-layout__right .contact-map {
    flex: none;
  }

  .contact-map iframe {
    height: 250px;
    min-height: 250px;
  }
}

@media (max-width: 767px) {
  .contact-form-wrapper {
    padding: var(--space-6);
  }

  .contact-form__header {
    margin-bottom: var(--space-6);
  }

  .contact-form__title {
    font-size: var(--text-xl);
  }

  .contact-form__row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .form-group {
    margin-bottom: var(--space-4);
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: var(--space-3);
  }

  .form-group.checkbox-group {
    padding: var(--space-3);
  }

  .contact-form__submit {
    padding: var(--space-3) var(--space-6);
    font-size: var(--text-sm);
  }

  /* Carte mobile */
  .contact-map iframe {
    min-height: 200px;
  }

  /* Info cards mobile - empilées */
  .contact-info-cards {
    grid-template-columns: 1fr;
    gap: var(--space-3);
  }

  .contact-info-card {
    padding: 14px;
    padding-top: 18px;
    padding-left: 16px;
    gap: 12px;
  }

  .contact-info-card__icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
  }

  .contact-info-card__icon svg {
    width: 20px;
    height: 20px;
  }

  .contact-info-card__content h4 {
    font-size: 11px;
    margin-bottom: var(--space-1);
  }

  .contact-info-card__content p {
    font-size: var(--text-sm);
  }

  .contact-info-card__content a.contact-link {
    font-size: var(--text-sm);
    white-space: normal;
    word-break: break-word;
  }

  /* Carte adresse overlay — ajustements mobile */
  .contact-info-card--overlay {
    min-height: 140px;
  }

  .contact-info-card__overlay-content {
    padding: 16px;
    gap: 12px;
  }
}

