/**
 * RESPONSIVE.CSS - Media Queries et Design Adaptatif
 * Agence Archimède - Architecture CSS Modulaire
 */

/* ===== CORRECTION SIMPLE DU FLOU LOGO MOBILE ===== */

@media screen and (max-width: 768px) {
  /* Correction ciblée uniquement pour le logo */
  .header__logo-img,
  img[src*="logo"],
  img[alt*="logo"] {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    filter: none !important;
    -webkit-filter: none !important;
  }
}

/* RÈGLES SPÉCIFIQUES IPHONE SAFARI */
@media screen and (max-width: 768px) and (-webkit-min-device-pixel-ratio: 2) {
  .header__logo-img,
  img[src*="logo"],
  img[alt*="logo"] {
    -webkit-backdrop-filter: none !important;
    -webkit-filter: none !important;
  }
}

/* RÈGLES SPÉCIFIQUES CHROME MOBILE */
@media screen and (max-width: 768px) and (min-resolution: 2dppx) {
  .header__logo-img,
  img[src*="logo"],
  img[alt*="logo"] {
    backdrop-filter: none !important;
    filter: none !important;
  }
}

/* ===== RESPONSIVE DESIGN ===== */

/* Tablettes */
@media (max-width: 480px) {
  /* Hero Section - Pages générales uniquement (pas les pages d'offres) */
  body:not([data-page*="offre"]) .hero__content {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  
  body:not([data-page*="offre"]) .hero__text {
    padding-right: 0;
    order: 1;
  }
  
  body:not([data-page*="offre"]) .hero__image {
    order: 2;
  }
  
  body:not([data-page*="offre"]) .hero__image-placeholder {
    height: 300px;
    max-width: 500px;
    margin: 0 auto;
  }
  
  body:not([data-page*="offre"]) .hero__title {
    font-size: clamp(2.2rem, 5vw, 3rem);
  }
  
  body:not([data-page*="offre"]) .hero__feature {
    justify-content: center;
    text-align: left;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.2rem;
  }
  
  /* Pages d'offres - Structure desktop conservée mais réduite */
  .offer-hero, .offer-hero-content {
    display: block;
    text-align: center;
    padding: 2rem 1rem;
  }
  
  /* Correctif spécifique pour .offer-hero-content */
  .offer-hero-content {
    max-width: 100% !important;
    padding: 0 1rem !important;
    display: block !important;
    text-align: center !important;
  }
  
  /* Pages d'offres - Réductions de taille uniquement */
  .offer-hero-title {
    font-size: 2rem;
  }
  
  .offer-hero-subtitle {
    font-size: 1rem;
  }
  
  .price-amount {
    font-size: 2.2rem;
  }
  
  .offer-hero-btn {
    width: 100%;
    max-width: 280px;
  }
  
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 700px;
  }
  
  .service-card {
    padding: 28px 20px;
  }
  
  .about__grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .about__content {
    text-align: center;
  }
  
  .timeline {
    flex-direction: column;
    gap: 3rem;
  }
  
  .timeline__line {
    display: none;
  }
  
  .footer__content {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (min-width: 768px) {
  .header__nav {
    display: flex;
  }
  
  .header__toggle {
    display: none;
  }
}

@media (min-width: 1024px) {
  .header__nav {
    position: static;
    background: transparent;
    box-shadow: none;
    padding: 0;
    flex-direction: row;
    gap: 2rem;
  }
}

/* ===== BREAKPOINTS TABLET ===== */
@media (max-width: 900px) {
  .footer__content {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

@media (max-width: 480px) {
  /* Masquer certains éléments sur mobile */
  .mobile-hidden {
    display: none !important;
  }
  
  /* Hero Section - Pages générales uniquement */
  body:not([data-page*="offre"]) .hero {
    padding: 4rem 1rem;
    min-height: auto;
  }
  
  body:not([data-page*="offre"]) .hero__content {
    gap: 2rem;
    min-height: auto;
  }
  
  body:not([data-page*="offre"]) .hero__title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
    margin-bottom: 1.5rem;
  }
  
  body:not([data-page*="offre"]) .hero__title::after {
    width: 40px;
    height: 3px;
    margin: 1rem auto 0;
  }
  
  body:not([data-page*="offre"]) .hero__features {
    margin-bottom: 2rem;
  }
  
  body:not([data-page*="offre"]) .hero__feature {
    font-size: 1rem;
    margin-bottom: 1rem;
    justify-content: flex-start;
    text-align: left;
  }
  
  body:not([data-page*="offre"]) .hero__image-placeholder {
    height: 350px;
  }
  
  body:not([data-page*="offre"]) .hero__cta-button {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    gap: 0.5rem;
  }
  
  /* Buttons */
  .btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
    padding: 0.8rem 1.5rem;
  }
  
  /* Services Section */
  .services {
    padding: 60px 0;
  }
  
  .services__grid {
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 400px;
    margin-top: 40px;
  }
  
  .service-card {
    padding: 24px 20px;
    margin: 0 10px;
  }
  
  .service-card__title {
    font-size: 1.125rem;
  }
  
  /* Page Services - Optimisations spécifiques mobile */
  body[data-page="services"] {
    overflow-x: hidden;
  }
  
  body[data-page="services"] .container {
    max-width: 100vw;
    padding: 0 8px;
  }
  
  body[data-page="services"] .section {
    padding-left: 5px;
    padding-right: 5px;
  }
  
  body[data-page="services"] .expertise__grid {
    gap: 15px;
    margin: 0 -2px;
  }
  
  body[data-page="services"] .timeline {
    margin: 0 -5px;
  }
  
  /* Section Process - Mobile épuré */
  .process {
    padding: 3rem 0;
  }
  
  .process .container {
    padding: 0 1rem;
    max-width: 100%;
  }
  
  .process .section__header {
    margin-bottom: 2rem;
  }
  
  .process .section__title {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
  }
  
  .process .section__subtitle {
    font-size: 1rem;
    color: #666;
  }
  
  /* Sections générales */
  .section__title {
    font-size: 2.2rem;
  }
  
  .offers,
  .about {
    padding: 4rem 1rem;
  }
  
  .offers__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .offer-card {
    transform: none !important;
  }
  
  .offer-card--featured {
    transform: none !important;
  }
  
  .offer-card--featured:hover {
    transform: translateY(-4px) !important;
  }
  
  .offer-card__header {
    padding: 1.5rem 1.5rem 1rem;
  }
  
  .offer-card__content {
    padding: 1.5rem;
  }
  
  .offer-card__footer {
    padding: 1rem 1.5rem 1.5rem;
  }
  
  /* Content Sections */
  .content-section {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  
  .content-section--reverse {
    direction: ltr;
  }
  
  .section-image {
    height: 250px;
  }
  
  /* About Section */
  .about__features {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  /* Why Choose Section */
  .new-why-choose__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  /* Concept Section */
  .concept-section {
    padding: 4rem 1rem;
  }
  
  .concept__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
  }
  
  .concept__item {
    padding: 2rem 1.5rem;
  }
  
  .concept__icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
  }
  
  .concept__item h3 {
    font-size: 1.25rem;
  }
  
  .concept__explanation {
    padding: 2rem 1.5rem;
  }
  
  .concept__text {
    font-size: 1rem;
  }
  
  /* Timeline - Styles génériques désactivés pour éviter les conflits */
  .timeline:not([data-page="services"]) {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 0;
    margin: 0;
  }
  
  .timeline__line {
    display: none;
  }
  
  /* Suppression des styles génériques qui interfèrent avec la page services */
  body:not([data-page="services"]) .timeline__step {
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
    position: relative;
    margin: 0;
  }
  
  body:not([data-page="services"]) .timeline__step.is-left,
  body:not([data-page="services"]) .timeline__step.is-right {
    flex-direction: column;
    align-items: stretch;
  }
  
  body:not([data-page="services"]) .timeline__dot {
    position: absolute;
    top: -8px;
    left: 1.5rem;
    width: 32px;
    height: 32px;
    background: #7c6cd6;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    z-index: 2;
    border: 3px solid white;
    box-shadow: 0 2px 6px rgba(124, 108, 214, 0.3);
  }
  
  body:not([data-page="services"]) .timeline__content {
    padding-top: 1rem;
  }
  
  body:not([data-page="services"]) .timeline__content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 0.8rem;
    line-height: 1.3;
  }
  
  body:not([data-page="services"]) .timeline__content > p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
    margin-bottom: 1rem;
  }
  
  body:not([data-page="services"]) .timeline__list {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem 0;
  }
  
  body:not([data-page="services"]) .timeline__list li {
    font-size: 0.9rem;
    color: #555;
    padding: 0.3rem 0;
    padding-left: 1.2rem;
    position: relative;
    line-height: 1.4;
  }
  
  body:not([data-page="services"]) .timeline__list li::before {
    content: '•';
    color: #7c6cd6;
    position: absolute;
    left: 0;
    font-weight: bold;
  }
  
  body:not([data-page="services"]) .timeline__content > p:last-child {
    font-size: 0.85rem;
    color: #7c6cd6;
    font-weight: 600;
    margin: 0;
    padding-top: 0.5rem;
    border-top: 1px solid #f0f0f0;
  }
  
  .timeline__spacer {
    display: none;
  }
  
  /* Footer */
  .footer {
    padding: 3rem 1rem 1.5rem;
  }
  
  .footer__content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  
  .footer__social {
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .about__features {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .about__feature {
    padding: 1.5rem;
  }
}

/* ===== BREAKPOINTS MOBILE ===== */
@media (max-width: 480px) {
  /* Services */
  .services {
    padding: 50px 0;
  }
  
  .services__container {
    padding: 0 15px;
  }
  
  .service-card {
    padding: 25px 15px;
    margin: 0 5px;
  }
  
  .section__title {
    font-size: 2rem;
  }
  
  .section__subtitle {
    font-size: 1rem;
  }
  
  /* Pages d'offres - Réductions de taille uniquement */
  .offer-hero-title {
    font-size: 2rem;
  }
  
  .offer-hero-subtitle {
    font-size: 1rem;
  }
  
  .price-amount {
    font-size: 2.2rem;
  }
  
  .offer-hero-btn {
    width: 100%;
    max-width: 280px;
  }
  
  .service-card__title {
    font-size: 1.3rem;
  }
  
  .feature-item {
    font-size: 0.9rem;
    padding: 10px 0;
  }
  
  .service-card__cta {
    padding: 14px 20px;
    font-size: 0.95rem;
  }
  
  /* Timeline */
  .timeline__circle {
    width: 50px;
    height: 50px;
  }
  
  body:not([data-page="services"]) .timeline__number {
    font-size: 1.2rem;
  }
  
  /* Masquer complètement les numéros violets sur la page services mobile */
  body[data-page="services"] .timeline__number {
    display: none !important;
  }
  
  .timeline__title {
    font-size: 1.1rem;
  }
  
  .timeline__description {
    font-size: 0.9rem;
  }
  
  /* Footer */
  .footer__bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .footer__legal {
    justify-content: center;
  }
}

/* ===== MODE SOMBRE ===== */
@media (prefers-color-scheme: dark) {
  :root {
    --bg-primary: #1a202c;
    --bg-secondary: #2d3748;
    --text-primary: #f7fafc;
    --text-secondary: #a0aec0;
    --border-color: #4a5568;
  }
  
  .services {
    background: #1a202c;
  }
  
  .service-card {
    background: #2d3748;
    border-color: #4a5568;
  }
  
  .service-card:hover {
    background: #374151;
  }
  
  .section__title {
    color: #f7fafc;
  }
  
  .section__subtitle {
    color: #a0aec0;
  }
  
  .service-card__title {
    color: #f7fafc;
  }
  
  .feature-item {
    color: #e2e8f0;
    border-bottom-color: #4a5568;
  }
  
  .service-card__cta {
    background: #374151;
    color: #e2e8f0;
    border-color: #4a5568;
  }
  
  .service-card__cta:hover {
    background: #4a5568;
    border-color: #6b7280;
  }
}

/* ===== PRÉFÉRENCES D'ACCESSIBILITÉ ===== */
@media (prefers-reduced-motion: no-preference) {
  .header__nav {
    transition: transform 0.3s ease;
  }
}

@media (prefers-contrast: high) {
  .btn {
    border: 2px solid currentColor;
  }
  
  .service-card {
    border: 2px solid var(--border-color);
  }
}

/* ===== MASQUER TEXTE SECTION EXPERTISE SUR MOBILE ===== */
@media (max-width: 768px) {
  /* Masquer tous les textes sous le titre principal de la section expertise sur mobile */
  .expertise .section__subtitle,
  .expertise .expertise__grid {
    display: none;
  }
  
  /* Page Services - Masquer uniquement le texte descriptif sous "Spécialiste des sites vitrines" */
  body[data-page="services"] .expertise .section__subtitle {
    display: none !important;
  }
  
  /* Pages d'offres - Réductions de taille uniquement */
  .offer-hero-title {
    font-size: 2rem;
  }
  
  .offer-hero-subtitle {
    font-size: 1rem;
  }
  
  .price-amount {
    font-size: 2.2rem;
  }
  
  .offer-hero-btn {
    width: 100%;
    max-width: 280px;
  }
}

/* ===== RESPONSIVE CONCEPT SECTION ===== */
@media (max-width: 768px) {
  .concept__storytelling {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 40px;
  }
  
  .concept__column {
    padding: 30px 20px;
  }
  
  .concept__column-title {
    font-size: 1.3rem;
    margin-bottom: 25px;
  }
  
  .concept__amount {
    font-size: 2.5rem;
  }
  
  .concept__cta {
    margin-top: 40px;
  }
  
  /* ===== CONTACT FORM MOBILE OPTIMIZATION ===== */
  /* Réduire la largeur du formulaire pour un design plus élégant */
  .contact-form {
    max-width: 85% !important;
    margin: 0 auto !important;
    padding: 25px 20px !important;
  }
  
  .contact-content__container {
    padding: 0 20px !important;
  }
  
  /* Optimiser l'espacement pour un design plus compact */
  .form-group {
    margin-bottom: 15px !important;
  }
  
  .form-group input,
  .form-group textarea {
    padding: 12px 15px !important;
    border-radius: 10px !important;
  }
  
  .form-submit {
    padding: 14px 28px !important;
    border-radius: 10px !important;
    margin-top: 20px !important;
  }
  
  /* Optimiser la disposition des cases de sélection du type de projet */
  .project-type-selection {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    grid-template-rows: auto auto !important;
    gap: 8px !important;
    margin-top: 8px !important;
  }
  
  /* "Site vitrine" et "Maintenance" sur la première ligne */
  .project-type-option:nth-child(1),
  .project-type-option:nth-child(2) {
    grid-row: 1 !important;
  }
  
  /* "Autre" sur la deuxième ligne, prend toute la largeur */
  .project-type-option:nth-child(3) {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
  }
  
  /* Ajuster la taille des labels pour qu'ils tiennent mieux */
  .project-type-label {
    padding: 10px 8px !important;
    font-size: 0.8rem !important;
    text-align: center !important;
    white-space: nowrap !important;
  }
  
  /* ===== CENTRAGE SECTION "NOS COORDONNÉES" SUR MOBILE ===== */
  /* Centrer le titre "Nos coordonnées" */
  .contact-info .contact-info__title {
    text-align: center !important;
    margin-bottom: 30px !important;
  }
  
  /* Centrer la section complète */
  .contact-info {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    padding: 0 20px !important;
  }
  
  /* Optimiser chaque carte de coordonnées */
  .contact-info__item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    max-width: 300px !important;
    width: 100% !important;
    margin: 0 auto 20px auto !important;
    padding: 20px 15px !important;
    background: #fafafa !important;
    border-radius: 12px !important;
    border: 1px solid #f0f0f0 !important;
    gap: 12px !important;
  }
  
  .contact-info__item:last-child {
    margin-bottom: 0 !important;
  }
  
  /* Centrer l'icône */
  .contact-info__item .icon {
    margin: 0 auto !important;
    display: block !important;
  }
  
  /* Centrer le contenu textuel */
  .contact-info__content {
    text-align: center !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }
  
  .contact-info__content h3 {
    text-align: center !important;
    margin: 0 0 8px 0 !important;
    font-weight: 600 !important;
    color: #333 !important;
  }
  
  .contact-info__content p {
    text-align: center !important;
    margin: 0 !important;
    color: #666 !important;
  }
  
  .contact-info__content a {
    color: #7C3AED !important;
    text-decoration: none !important;
  }
  
  .contact-info__content a:hover {
    text-decoration: underline !important;
  }
}

@media (max-width: 480px) {
  .concept-section {
    padding: 60px 0;
  }
  
  .concept__container {
    padding: 0 15px;
  }
  
  .concept__storytelling {
    gap: 25px;
    margin-top: 30px;
  }
  
  .concept__column {
    padding: 25px 15px;
  }
  
  .concept__column-title {
    font-size: 1.2rem;
    margin-bottom: 20px;
  }
  
  .concept__point {
    padding: 12px;
    gap: 10px;
  }
  
  .concept__point span:last-child {
    font-size: 0.9rem;
  }
  
  .concept__amount {
    font-size: 2.2rem;
  }
  
  .concept__period {
    font-size: 1rem;
  }
  
  .concept__result-text {
    font-size: 0.9rem;
  }
  
  .concept__cta-button {
    padding: 14px 24px;
    font-size: 1rem;
  }
}

/* Mobile: réduire légèrement le logo (< 768px) sans impacter le desktop */
@media (max-width: 768px) {
  .header .logo img,
  .logo img,
  .header__logo-img,
  .independent-header__logo-img {
    width: 145px;
    height: auto;
  }
  
  /* Pages d'offres - Structure desktop conservée mais réduite */
  .offer-hero, .offer-hero-content {
    display: block;
    text-align: center;
    padding: 2rem 1rem;
  }
  
  /* Pages d'offres - Réductions de taille uniquement */
  .offer-hero-title {
    font-size: 2rem;
  }
  
  .offer-hero-subtitle {
    font-size: 1rem;
  }
  
  .price-amount {
    font-size: 2.2rem;
  }
  
  .offer-hero-btn {
    width: 100%;
    max-width: 280px;
  }
  
  /* Pages générales uniquement - Exclure les pages d'offres */
  body:not([data-page*="offre"]) .hero__content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  
  body:not([data-page*="offre"]) .hero__text {
    padding-right: 0;
    order: 1;
  }
  
  body:not([data-page*="offre"]) .hero__image {
    order: 2;
  }
  
  body:not([data-page*="offre"]) .hero__image-placeholder {
    height: 240px;
    max-width: 480px;
    margin: 0 auto;
  }
  
  body:not([data-page*="offre"]) .hero__title {
    font-size: clamp(1.6rem, 6vw, 2.2rem);
  }
  
  body:not([data-page*="offre"]) .hero__title {
    font-size: clamp(1.6rem, 6vw, 2.2rem);
  }
  
}

/* CORRECTION URGENTE - Cadre blanc trop grand sur Premium */
@media (max-width: 768px) {
  /* Réduire drastiquement le conteneur principal */
  body[data-page="offre-premium"] .hero-section .hero-pricing {
    padding: 0 !important;
    margin: 0.5rem auto !important;
    max-width: 280px !important;
  }

  /* Bloc prix - Taille minimale */
  body[data-page="offre-premium"] .hero-section .hero-pricing .price-display {
    padding: 8px 12px !important;
    margin: 0 !important;
    border-radius: 8px !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1) !important;
    background: white !important;
    text-align: center !important;
    min-height: auto !important;
    height: auto !important;
  }

  /* Prix - Compact */
  body[data-page="offre-premium"] .hero-section .hero-pricing .price-amount {
    font-size: 1.6rem !important;
    font-weight: 700 !important;
    color: #a855f7 !important;
    margin: 0 !important;
    line-height: 1 !important;
    display: inline !important;
  }

  /* Période - Collée */
  body[data-page="offre-premium"] .hero-section .hero-pricing .price-period {
    font-size: 0.9rem !important;
    color: #666 !important;
    margin: 0 !important;
    line-height: 1 !important;
    display: inline !important;
  }

  /* Note propriété - Minuscule */
  body[data-page="offre-premium"] .hero-section .hero-pricing .price-note {
    font-size: 0.7rem !important;
    color: #888 !important;
    margin: 2px 0 0 0 !important;
    padding: 0 !important;
    line-height: 1.1 !important;
  }

  /* Texte violet - Collé */
  body[data-page="offre-premium"] .hero-section .hero-pricing > div[style*="margin-bottom"] {
    margin: 4px 0 !important;
    padding: 0 !important;
  }

  body[data-page="offre-premium"] .hero-section .hero-pricing > div[style*="margin-bottom"] span {
    font-size: 0.7rem !important;
    color: #a855f7 !important;
  }

  /* Avantages - Ultra-compacts */
  body[data-page="offre-premium"] .hero-section .hero-pricing .hero-benefits {
    margin: 0 !important;
    padding: 0 !important;
    gap: 3px !important;
  }

  /* Items - Minuscules */
  body[data-page="offre-premium"] .hero-section .hero-pricing .benefit-item {
    padding: 4px 8px !important;
    margin: 0 !important;
    background: #f8f9fa !important;
    border-radius: 4px !important;
    border: none !important;
    font-size: 0.75rem !important;
  }

  body[data-page="offre-premium"] .hero-section .hero-pricing .benefit-icon {
    font-size: 0.8rem !important;
    margin-right: 4px !important;
  }

  body[data-page="offre-premium"] .hero-section .hero-pricing .benefit-text {
    font-size: 0.75rem !important;
    color: #333 !important;
    margin: 0 !important;
    line-height: 1.2 !important;
  }

  /* CORRECTION URGENTE - Éliminer l'espace entre le texte violet et les avantages */
  body[data-page="offre-premium"] .hero-section .hero-pricing > div:has(span[style*="color"]) {
    margin: 2px 0 2px 0 !important;
    padding: 0 !important;
  }

  body[data-page="offre-premium"] .hero-section .hero-pricing .hero-benefits {
    margin: 2px 0 0 0 !important;
    padding: 0 !important;
    gap: 3px !important;
  }

  /* Forcer la suppression de tous les espaces entre les éléments */
  body[data-page="offre-premium"] .hero-section .hero-pricing > * {
    margin-bottom: 2px !important;
  }

  body[data-page="offre-premium"] .hero-section .hero-pricing > *:last-child {
    margin-bottom: 0 !important;
  }

  /* CORRECTION ULTRA-AGRESSIVE - Forcer la suppression du margin-bottom: 20px */
  body[data-page="offre-premium"] .hero-section .hero-pricing > div[style*="margin-bottom: 20px"] {
    margin-bottom: 2px !important;
    margin-top: 2px !important;
  }

  /* Cibler spécifiquement le div avec le texte violet */
  body[data-page="offre-premium"] .hero-section .hero-pricing > div[style*="text-align: center"] {
    margin: 2px 0 !important;
    padding: 0 !important;
  }

  /* Forcer TOUS les divs enfants à avoir un margin minimal */
  body[data-page="offre-premium"] .hero-section .hero-pricing > div {
    margin-bottom: 2px !important;
    margin-top: 2px !important;
  }

  /* Exception pour le premier élément (price-display) */
  body[data-page="offre-premium"] .hero-section .hero-pricing > div:first-child {
    margin-bottom: 2px !important;
    margin-top: 0 !important;
  }

  /* CORRECTION ULTRA-DRASTIQUE - Carte beaucoup trop grosse */
  body[data-page="offre-premium"] .hero-section .hero-pricing {
    max-width: 250px !important;
    width: 250px !important;
    padding: 0 !important;
    margin: 0.5rem auto !important;
  }

  /* Bloc prix - Taille MINIMALE */
  body[data-page="offre-premium"] .hero-section .hero-pricing .price-display {
    padding: 6px 10px !important;
    margin: 0 !important;
    min-height: auto !important;
    height: auto !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Avantages - ULTRA-compacts */
  body[data-page="offre-premium"] .hero-section .hero-pricing .hero-benefits {
    margin: 0 !important;
    padding: 0 !important;
    gap: 2px !important;
    width: 100% !important;
  }

  /* Items - MINUSCULES */
  body[data-page="offre-premium"] .hero-section .hero-pricing .benefit-item {
    padding: 3px 6px !important;
    margin: 0 !important;
    font-size: 0.7rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}