/* ==========================================================================
   COMPONENTS HOME - STYLES DESKTOP UNIQUEMENT
   Les styles mobiles sont maintenant INLINE dans le template
   ========================================================================== */

/* ==================== FIXES iOS & ANDROID ==================== */
* {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
}

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

body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
}

input, textarea, button {
    -webkit-appearance: none;
    appearance: none;
}

/* ==================== DESKTOP - Cacher éléments mobiles ==================== */
.ib-topbar__logo-mobile {
    display: none;
}

.ib-mobile-pills {
    display: none;
}

.ib-help-menu {
    display: none;
}

.ib-disclaimer {
    display: none !important;
}



@media screen and (-webkit-min-device-pixel-ratio: 2) and (min-width: 1025px) {
    /* Cible uniquement Mac Retina en DESKTOP */
    
    .ib-hero__title {
        font-size: 36px !important;
        margin-bottom: 50px !important;
    }
    
    .ib-comparison-grid {
        gap: 20px !important;
        margin-bottom: 70px !important;
        margin-top: 80px !important;
    }
    
    .ib-comparison-card {
        padding: 16px 20px !important;
        border-radius: 14px !important;
    }
    
    .ib-comparison-card__title {
        font-size: 14px !important;
        margin-bottom: 3px !important;
    }
    
    .ib-comparison-card__description {
        font-size: 11px !important;
    }
    
    .ib-comparison-card__icon-wrapper {
        width: 40px !important;
        height: 40px !important;
    }
    
    .ib-comparison-card__icon {
        width: 20px !important;
        height: 20px !important;
    }
    
    .ib-comparison-card__arrow {
        width: 18px !important;
        height: 18px !important;
    }
    
    .ib-search-input {
        font-size: 15px !important;
        height: 56px !important;
        padding: 18px 65px 18px 18px !important;
        border-radius: 26px !important;
    }
    
    .ib-search-section {
        max-width: 850px !important;
        padding: 0 40px 55px !important;
    }
    
    .ib-search-submit {
        width: 38px !important;
        height: 38px !important;
    }
    
    .ib-topbar {
        padding: 20px 42px !important;
        margin-bottom: 50px !important;
    }
    
    .ib-topbar__btn {
        font-size: 14px !important;
        padding: 7px 22px !important;
    }
    
    .ib-hero {
        max-width: 1100px !important;
        padding: 0 40px 55px !important;
    }
}
/* ==========================================================================
   STYLES DESKTOP UNIQUEMENT
   ========================================================================== */

/* Ajuster les espacements */
.ib-hero {
    padding: 40px 40px 40px !important;
}

.ib-hero__title {
    margin-bottom: 40px !important;
}

.ib-comparison-grid {
    margin-bottom: 50px !important;
    margin-top: 90px !important;
}

/* Top Bar - Business à DROITE */
.ib-topbar {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 24px 48px;
    margin-bottom: 60px;
}

.ib-topbar__btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 26px;
    color: #374151;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid #e5e7eb;
    border-radius: 9999px;
    background: white;  
    transition: all 0.2s ease;
}

.ib-topbar__btn:hover {
    background: #f9fafb;
    border-color: #d1d5db;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    color: #111827;
}

/* Hero Section */
.ib-hero {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px 60px;
}

.ib-hero__title {
    font-size: 40px;
    font-weight: 700;
    text-align: center;
    color: #111827;
    margin-bottom: 60px;
    line-height: 1.2;
}

/* Cartes de Comparaison - HORIZONTAL */
.ib-comparison-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 80px;
}

.ib-comparison-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 20px 24px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 16px;
}

.ib-comparison-card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

/* Icône à gauche */
.ib-comparison-card__icon-wrapper {
    width: 48px;
    height: 48px;
    background: #6b7280;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ib-comparison-card__icon {
    width: 24px;
    height: 24px;
    color: white;
}

/* Contenu au milieu */
.ib-comparison-card__content {
    flex: 1;
}

.ib-comparison-card__title {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 4px;
    line-height: 1.2;
}

.ib-comparison-card__description {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.3;
}

/* Flèche à droite */
.ib-comparison-card__arrow {
    width: 20px;
    height: 20px;
    color: #111827;
    flex-shrink: 0;
    transition: transform 0.3s;
}

.ib-comparison-card:hover .ib-comparison-card__arrow {
    transform: translateX(4px);
}

/* Search Section */
.ib-search-section {
    max-width: 900px !important;
    margin: 0 auto !important;
    padding: 0 40px 60px !important;
}

.ib-search-wrapper {
    position: relative !important;
    width: 100% !important;
}

.ib-search-input {
    width: 100% !important;
    padding: 20px 70px 20px 20px !important;
    border: 1px solid #d9d9e3 !important;
    border-radius: 28px !important;
    font-size: 16px !important;
    background: #ffffff !important;
    color: #111827 !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.03) !important;
    height: 60px !important;
    line-height: 1.5 !important;
}

.ib-search-input:hover {
    border-color: #b4b4b4 !important;
}

.ib-search-input:focus {
    outline: none !important;
    border: 1px solid #6b7280 !important;
    background: #ffffff !important;
    color: #111827 !important;
    box-shadow: 0 0 0 3px rgba(107, 114, 128, 0.1) !important;
}

.ib-search-input::placeholder {
    color: #8e8ea0 !important;
}

.ib-search-submit {
    position: absolute !important;
    right: 10px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 40px !important;
    height: 40px !important;
    background: #000000 !important;
    border: none !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.2s ease !important;
    padding: 3px !important;
}

.ib-search-submit:hover {
    background: #2d2d2d !important;
    transform: translateY(-50%) scale(1.05) !important;
}

.ib-search-submit:disabled {
    background: #d1d5db !important;
    cursor: not-allowed !important;
}

.ib-search-submit__icon {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
}

/* ==================== FIX CENTRAGE DESKTOP ==================== */
@media (min-width: 1025px) {
    .ib-content-area {
        width: 100%;
        max-width: 1400px;
        margin: 0 auto;
    }
}