@import "../template.css?v=20260612-home-spacing-identical2";

/* ========================================
   HERO SECTION AVEC FOND
======================================== */
.hero-hosting-full {
    position: relative;
    isolation: isolate;
    background-image: url('../../img/cloud-hosting/hero-bg.webp');
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    overflow: hidden;
    margin-top: 0;
    margin-bottom: 70px;
    min-height: calc(100svh - var(--hero-navbar-height));
    padding: clamp(48px, 7vw, 92px) 0;
    border-radius: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background:
        linear-gradient(90deg, rgba(3, 6, 18, 0.95) 0%, rgba(6, 10, 28, 0.88) 42%, rgba(13, 18, 45, 0.64) 68%, rgba(13, 18, 45, 0.28) 100%),
        linear-gradient(180deg, rgba(10, 16, 36, 0.2) 0%, rgba(8, 12, 28, 0.88) 100%);
}

body.dark-theme .hero-overlay {
    background:
        linear-gradient(90deg, rgba(3, 6, 18, 0.96) 0%, rgba(6, 10, 28, 0.9) 44%, rgba(13, 18, 45, 0.66) 70%, rgba(13, 18, 45, 0.3) 100%),
        linear-gradient(180deg, rgba(10, 16, 36, 0.24) 0%, rgba(8, 12, 28, 0.9) 100%);
}

.hero-hosting-full::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.hero-hosting-full::before {
    background:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.75), transparent 75%);
    -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.75), transparent 75%);
}

.hero-hosting-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(360px, 0.72fr);
    align-items: center;
    gap: clamp(42px, 6vw, 96px);
    min-height: calc(100svh - var(--hero-navbar-height) - clamp(96px, 14vw, 184px));
}

.hero-hosting-copy {
    color: white;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    max-width: 850px;
    animation: heroCopyIn 720ms ease both;
}

.hero-hosting-copy .hero-title {
    font-size: clamp(2rem, 3vw, 2.5rem);
    font-weight: 800;
    color: white;
    max-width: 980px;
    margin: 0 0 24px;
    line-height: 1.08;
    text-wrap: balance;
}

.hero-hosting-copy .hero-subtitle {
    font-size: clamp(1.05rem, 1.35vw, 1.24rem);
    color: rgba(237, 244, 255, 0.9);
    font-style: normal;
    margin: 0 0 30px;
    font-weight: 400;
    max-width: 740px;
    line-height: 1.72;
}

.hero-description {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    margin-bottom: 35px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 26px;
}

.btn-primary-hosting {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--brand-sapphire);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 15px 26px;
    font-size: 1.05rem;
    font-weight: 700;
    border-radius: var(--ui-radius-button);
    cursor: pointer;
    transition: background-color var(--ui-transition), border-color var(--ui-transition), transform var(--ui-transition), box-shadow var(--ui-transition);
    box-shadow: 0 10px 30px rgba(30, 30, 226, 0.4);
    text-decoration: none;
}

.btn-primary-hosting i {
    font-size: 1.35rem;
    line-height: 1;
}

.btn-primary-hosting:hover {
    background: var(--brand-blue-circuit);
    color: white;
    transform: var(--ui-hover-lift);
    box-shadow: var(--ui-shadow-brand);
}

.btn-secondary-hosting {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    padding: 14px 22px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: var(--ui-radius-button);
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    transition: background-color var(--ui-transition), border-color var(--ui-transition), transform var(--ui-transition);
}

.btn-secondary-hosting:hover {
    color: #ffffff;
    border-color: rgba(161, 208, 255, 0.8);
    background: rgba(39, 153, 255, 0.16);
    transform: var(--ui-hover-lift);
}

.btn-primary-hosting--disabled,
.btn-primary-hosting--disabled:hover {
    cursor: not-allowed;
    opacity: 0.68;
    filter: grayscale(0.2);
    transform: none;
    box-shadow: none;
}

.hero-hosting-visual {
    position: relative;
    min-width: 0;
    animation: heroPanelIn 780ms ease 120ms both;
}

.hosting-guarantee-pop {
    position: relative;
    max-width: 520px;
    margin-left: auto;
    border: 1px solid rgba(161, 208, 255, 0.22);
    border-radius: 28px;
    background:
        radial-gradient(circle at 78% 28%, rgba(33, 216, 89, 0.16) 0%, transparent 32%),
        linear-gradient(145deg, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.66) 100%),
        rgba(255, 255, 255, 0.08);
    box-shadow: 0 34px 100px rgba(0, 0, 0, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(22px);
    overflow: hidden;
    transform: rotate(0.7deg);
}

.hosting-guarantee-pop::before {
    content: '';
    position: absolute;
    inset: 14px;
    border: 1px dashed rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    pointer-events: none;
}

.guarantee-pop-shine {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 78% 28%, rgba(33, 216, 89, 0.2) 0%, transparent 38%),
        radial-gradient(circle at 22% 78%, rgba(30, 30, 226, 0.18) 0%, transparent 34%);
    pointer-events: none;
}

.guarantee-window-bar {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 9px;
    height: 52px;
    padding: 0 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(15, 23, 42, 0.45);
}

.window-dot {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.14);
}

.window-dot-red {
    background: #ff5f57;
}

.window-dot-yellow {
    background: #ffbd2e;
}

.window-dot-green {
    background: #28c840;
}

.guarantee-pop-content {
    position: relative;
    z-index: 1;
    padding: clamp(24px, 3vw, 34px) clamp(26px, 3.2vw, 38px) 22px;
}

.guarantee-pop-eyebrow,
.guarantee-pop-main,
.guarantee-pop-badge,
.hosting-guarantee-pop h2,
.hosting-guarantee-pop p,
.guarantee-pop-proof {
    position: relative;
    z-index: 1;
}

.guarantee-pop-eyebrow {
    display: block;
    color: var(--brand-cloud-byte);
    font-size: 0.8rem;
    font-weight: 900;
    letter-spacing: 0.1em;
    line-height: 1.2;
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.guarantee-pop-main {
    display: grid;
    grid-template-columns: 124px minmax(0, 1fr);
    align-items: center;
    gap: 26px;
    text-align: left;
}

.guarantee-pop-badge {
    width: 118px;
    height: 118px;
    display: grid;
    place-items: center;
    align-content: center;
    margin: 0;
    border-radius: 999px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--brand-green) 0%, var(--brand-sapphire) 100%);
    box-shadow: 0 24px 60px rgba(30, 30, 226, 0.34), 0 0 0 10px rgba(255, 255, 255, 0.06);
}

.guarantee-pop-badge span {
    display: block;
    font-family: 'Chakra Petch', sans-serif;
    font-size: 3.35rem;
    font-weight: 800;
    line-height: 0.86;
}

.guarantee-pop-badge {
    font-size: 0.92rem;
    font-weight: 800;
}

.hosting-guarantee-pop h2 {
    color: #ffffff;
    font-size: clamp(2.05rem, 3.1vw, 3.1rem);
    font-weight: 900;
    line-height: 1;
    max-width: 320px;
    margin: 0 0 12px;
    font-family: 'Chakra Petch', sans-serif;
}

.hosting-guarantee-pop p {
    color: rgba(237, 244, 255, 0.88);
    font-size: 0.98rem;
    line-height: 1.6;
    margin: 0;
}

.guarantee-pop-proof {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 42px;
    padding: 10px 14px;
    margin: 0 clamp(26px, 3.2vw, 38px) clamp(24px, 3vw, 34px);
    color: #bbf7d0;
    background: rgba(33, 216, 89, 0.12);
    border: 1px solid rgba(33, 216, 89, 0.24);
    border-radius: 999px;
    font-weight: 800;
    text-align: center;
}

.guarantee-pop-proof i {
    color: var(--brand-green);
    font-size: 1.1rem;
}

.hero-scroll-cue {
    position: absolute;
    left: 50%;
    bottom: clamp(18px, 3vw, 30px);
    z-index: 3;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    transform: translateX(-50%);
    animation: scrollCueFloat 1.8s ease-in-out infinite;
}

.hero-scroll-cue:hover {
    color: #ffffff;
}

.hero-scroll-cue i {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
}

@keyframes livePulse {
    0% { box-shadow: 0 0 0 0 rgba(33, 216, 89, 0.62); }
    100% { box-shadow: 0 0 0 12px rgba(33, 216, 89, 0); }
}

@keyframes serverFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

@keyframes heroCopyIn {
    from { opacity: 0; transform: translateY(22px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes heroPanelIn {
    from { opacity: 0; transform: translateY(24px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes scrollCueFloat {
    0%, 100% { transform: translate(-50%, 0); opacity: 0.72; }
    50% { transform: translate(-50%, 8px); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
    .hero-hosting-copy,
    .hero-hosting-visual,
    .hero-scroll-cue {
        animation: none !important;
    }
}

/* ========================================
   SECTION FEATURES - BENTO BOX iOS STYLE
======================================== */
.features-section {
    padding: var(--section-padding-y-compact) var(--layout-gutter);
    background: var(--section-bg);
    border-radius: 24px;
    margin-bottom: var(--section-spacing-y);
}

.pricing-section + .features-section {
    margin-top: var(--section-spacing-y);
}

/* Bento Grid Layout - 5 colonnes x 3 rows */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: auto auto auto auto;
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Cards de base */
.bento-card {
    background: var(--background-box);
    border: none;
    border-radius: 24px;
    padding: 30px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.bento-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

body.dark-theme .bento-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* LIGNE 1 - Cards top */
/* Card Infrastructure (col 1-2, row 1-2) avec image datacenter à droite */
.infra-image-card {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
    background: linear-gradient(135deg, var(--brand-blue-circuit) 0%, var(--brand-sapphire) 100%);
    color: white;
    border: none;
    position: relative;
    overflow: hidden;
    display: flex;
    padding: 30px;
}

/* Card aaPanel (col 3-4, row 1) - LARGE et MAIGRE */
.card-aapanel {
    grid-column: 3 / 5;
    grid-row: 1;
}

/* Card Migration gratuite (col 5, row 1-2) - CUBE */
.migration-card {
    grid-column: 5;
    grid-row: 1 / 3;
    background: linear-gradient(135deg, var(--brand-cloud-byte) 0%, var(--brand-blue-circuit) 100%);
    color: white;
    border: none;
}

/* Card Stack Technique avec logos (col 1-2, row 4) */
.card-stack {
    grid-column: 1 / 3;
    grid-row: 4;
}

/* Card Email & FTP (col 3, row 3) */
.card-email {
    grid-column: 5;
    grid-row: 3;
}

/* Card Sécurité (col 3-4, row 2) - LARGE et MAIGRE */
.card-security {
    grid-column: 3 / 5;
    grid-row: 2;
}

.infra-image-card::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 50%;
    background-image: url('../../img/cloud-hosting/cloud-hosting.webp');
    background-size: cover;
    background-position: center left;
    opacity: 0.3;
    mask-image: linear-gradient(to left, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
    -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
}

.infra-image-card .bento-card-content {
    flex: 1;
    z-index: 2;
    padding-right: 20px;
}

.infra-image-card .feature-icon-badge {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.infra-image-card .feature-icon-badge i {
    color: white;
}

.infra-image-card h3 {
    color: white !important;
    font-size: 1.4rem;
}

.infra-image-card p {
    color: rgba(255, 255, 255, 0.95) !important;
    font-size: 0.95rem;
    line-height: 1.8;
}

/* Liste verticale infrastructure */
.infra-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.infra-list li {
    color: white !important;
    font-size: 0.95rem;
    line-height: 1.6;
    position: relative;
    padding-left: 20px;
}

.infra-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: rgba(255, 255, 255, 0.8) !important;
    font-weight: 700;
}

/* LIGNE 2 - HERO CENTRALE */
/* Card Support (col 1-2, row 2) avec image businessman à droite */
.support-card {
    grid-column: 1 / 3;
    grid-row: 3;
    background: linear-gradient(135deg, var(--brand-blue-circuit) 0%, var(--brand-sapphire) 56%, var(--brand-navy) 100%);
    color: white;
    position: relative;
    overflow: hidden;
    display: flex;
    padding: 30px;
}

body.dark-theme .support-card {
    background: linear-gradient(135deg, var(--brand-sapphire) 0%, var(--brand-navy) 100%);
}

.support-card .bento-card-content {
    flex: 1;
    z-index: 2;
    padding-right: 20px;
}

.support-card::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 45%;
    background-image: url('../../img/cloud-hosting/support-business.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center right;
    opacity: 0.95;
}

.support-card h3,
.support-card p {
    color: white !important;
}

.support-list li {
    color: white !important;
    font-size: 0.95rem;
    line-height: 1.6;
    position: relative;
    padding-left: 20px;
}

.support-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: rgba(255, 255, 255, 0.8) !important;
    font-weight: 700;
}

/* CARD HERO CENTRALE - SFAIT Cloud Hosting (col 3-4, row 2) */
.hero-card {
    grid-column: 3 / 5;
    grid-row: 3;
    background: linear-gradient(135deg, var(--brand-navy) 0%, var(--brand-sapphire) 58%, var(--brand-blue-circuit) 100%);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 30px;
    position: relative;
    overflow: hidden;
}

/* Container pour les blobs */
.blob-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* Animation blob de couleurs - BEAUCOUP plus visible */
.hero-card::before {
    content: '';
    position: absolute;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(39, 153, 255, 0.9) 0%, rgba(39, 153, 255, 0.6) 30%, transparent 60%);
    border-radius: 50%;
    top: -200px;
    right: -200px;
    animation: blob1 5s ease-in-out infinite;
    z-index: 0;
    filter: blur(60px);
}

.hero-card::after {
    content: '';
    position: absolute;
    width: 650px;
    height: 650px;
    background: radial-gradient(circle, rgba(30, 30, 226, 0.9) 0%, rgba(30, 30, 226, 0.6) 30%, transparent 60%);
    border-radius: 50%;
    bottom: -150px;
    left: -150px;
    animation: blob2 6s ease-in-out infinite;
    z-index: 0;
    filter: blur(60px);
}

/* 3ème blob pour plus de mouvement */
.blob-3 {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(39, 153, 255, 0.9) 0%, rgba(30, 30, 226, 0.6) 30%, transparent 60%);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: blob3 7s ease-in-out infinite;
    z-index: 0;
    filter: blur(60px);
}

.hero-card .hero-card-content {
    position: relative;
    z-index: 1;
}

@keyframes blob1 {
    0%, 100% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }
    25% {
        transform: translate(150px, -100px) scale(1.5) rotate(90deg);
    }
    50% {
        transform: translate(100px, 120px) scale(1.2) rotate(180deg);
    }
    75% {
        transform: translate(-100px, 50px) scale(0.8) rotate(270deg);
    }
}

@keyframes blob2 {
    0%, 100% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }
    25% {
        transform: translate(-150px, 120px) scale(1.6) rotate(-90deg);
    }
    50% {
        transform: translate(120px, -100px) scale(0.9) rotate(-180deg);
    }
    75% {
        transform: translate(80px, 80px) scale(1.3) rotate(-270deg);
    }
}

@keyframes blob3 {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1) rotate(0deg);
    }
    25% {
        transform: translate(-30%, -70%) scale(1.4) rotate(120deg);
    }
    50% {
        transform: translate(-70%, -30%) scale(0.7) rotate(240deg);
    }
    75% {
        transform: translate(-60%, -60%) scale(1.1) rotate(360deg);
    }
}

.hero-card-content h2 {
    font-size: 3rem;
    font-weight: 800;
    color: white !important;
    margin-bottom: 20px;
    line-height: 1.1;
    font-family: 'Poppins', sans-serif;
}

.hero-card-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.95) !important;
    line-height: 1.6;
    margin: 0;
}

/* Card Migration (col 5, row 2) */
.migration-card .feature-icon-badge {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.migration-card .feature-icon-badge i {
    color: white !important;
}

.migration-card h3 {
    color: white !important;
}

.migration-card p {
    color: rgba(255, 255, 255, 0.95) !important;
}

/* LIGNE 3 - Cards bottom */
/* Card Stack Technique avec logos (col 1-2, row 4) */
.card-stack {
    grid-column: 1 / 3;
    grid-row: 4;
}

/* Card CMS avec logos (col 3-4, row 4) - 2 colonnes comme Stack */
.card-cms {
    grid-column: 3 / 5;
    grid-row: 4;
}

/* Card Email & FTP (col 5, row 3) */
.card-email {
    grid-column: 5;
    grid-row: 3;
}

/* Card Disponibilité (col 5, row 4) - CUBE */
.wide-card {
    grid-column: span 1;
    grid-row: span 1;
}

.availability-card {
    grid-column: 5;
    grid-row: 4;
    background: linear-gradient(135deg, var(--brand-sky-byte) 0%, var(--brand-cloud-byte) 100%);
}

body.dark-theme .availability-card {
    background: linear-gradient(135deg, var(--brand-navy) 0%, var(--brand-sapphire) 100%);
}

/* Card Stack Technique */
.stack-card {
    background: linear-gradient(135deg, var(--brand-sky-byte) 0%, var(--brand-cloud-byte) 50%, var(--brand-blue-circuit) 100%);
}

body.dark-theme .stack-card {
    background: linear-gradient(135deg, var(--brand-blue-circuit) 0%, var(--brand-sapphire) 100%);
}

.support-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 15px;
    width: fit-content;
}

/* Liste verticale support */
.support-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.support-list li {
    color: white;
    font-size: 0.95rem;
    line-height: 1.6;
    position: relative;
    padding-left: 20px;
}

.support-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 700;
}

.support-card h3 {
    color: white;
}

/* Icônes badges */
.feature-icon-badge {
    width: 60px;
    height: 60px;
    background: var(--brand-gradient-primary);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

body.dark-theme .feature-icon-badge {
    background: linear-gradient(135deg, var(--brand-blue-circuit) 0%, var(--brand-sapphire) 100%);
}

.feature-icon-badge i {
    font-size: 1.8rem;
    color: white;
}

.feature-icon-badge #aaPanel {
    width: 80%;
}

/* Header horizontal global : icône + titre côte à côte */
.card-header-horizontal {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.card-header-horizontal .feature-icon-badge {
    flex-shrink: 0;
    margin-bottom: 0;
}

.card-header-horizontal h3 {
    margin: 0 !important;
    line-height: 1;
    display: flex;
    align-items: center;
}

/* Cards slim (maigres) - Juste badge + titre, pas de contenu */
.card-slim {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 30px !important;
}

.card-slim .bento-card-content {
    width: 100%;
    flex: 0 0 auto;
}

.card-slim .card-header-horizontal {
    margin-bottom: 0;
    gap: 15px;
}

.card-slim .feature-icon-badge {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
}

.card-slim .feature-icon-badge i {
    font-size: 1.5rem;
}

.card-slim .feature-icon-badge img {
    width: 75%;
}

.card-slim .card-text-content {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.card-slim h3 {
    font-size: 1.1rem !important;
    margin: 0 !important;
}

.card-slim p {
    font-size: 0.9rem;
    margin: 0;
    opacity: 0.9;
}

/* Header Support avec badge + titre */
.support-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.support-header .feature-icon-badge {
    flex-shrink: 0;
    margin-bottom: 0;
}

.support-header h3 {
    margin: 0 !important;
    line-height: 1;
}

body.dark-theme .highlight {
    color: var(--brand-blue-circuit);
}

/* Contenu des cards */
.bento-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.bento-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--hero-title);
    margin-bottom: 12px;
    line-height: 1.3;
}

.bento-card p {
    font-size: 0.95rem;
    color: var(--hero-subtitle);
    line-height: 1.6;
    margin: 0;
}

/* Cards avec couleurs spécifiques */
.card-aapanel {
    background: linear-gradient(135deg, var(--brand-sky-byte) 0%, var(--brand-cloud-byte) 100%);
}

body.dark-theme .card-aapanel {
    background: linear-gradient(135deg, var(--brand-navy) 0%, var(--brand-sapphire) 100%);
}

.card-security {
    background: linear-gradient(135deg, var(--brand-sky-byte) 0%, var(--brand-blue-circuit) 100%);
}

body.dark-theme .card-security {
    background: linear-gradient(135deg, var(--brand-blue-circuit) 0%, var(--brand-sapphire) 100%);
}

.card-cms {
    background: linear-gradient(135deg, var(--brand-blue-circuit) 0%, var(--brand-sapphire) 100%);
    color: white;
}

body.dark-theme .card-cms {
    background: linear-gradient(135deg, var(--brand-navy) 0%, var(--brand-sapphire) 100%);
}

.card-cms h3,
.card-cms p {
    color: white !important;
}

.card-cms .feature-icon-badge {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.card-cms .feature-icon-badge i {
    color: white !important;
}

/* Header horizontal : icône + titre côte à côte */
.cms-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.cms-header .feature-icon-badge {
    flex-shrink: 0;
    margin-bottom: 0;
}

.cms-header h3 {
    margin: 0 !important;
    line-height: 1;
    display: flex;
    align-items: center;
}

/* Grid de logos CMS */
.cms-logos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.cms-logo-item {
    position: relative;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cms-logo-item img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.cms-logo-item:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* Tooltip */
.cms-logo-item::before {
    content: attr(data-name);
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease;
    z-index: 10;
}

.cms-logo-item::after {
    content: '';
    position: absolute;
    bottom: calc(92% + 2px);
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: rgba(0, 0, 0, 0.9);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.cms-logo-item:hover::before,
.cms-logo-item:hover::after {
    opacity: 1;
    transform: translateX(-50%);
}

/* ========================================
   THÈME CLAIR - CORRECTIONS CONTRASTE
======================================== */

/* Logos : noir sur thème clair (cohérent SVG + PNG) */
body:not(.dark-theme) .stack-logo-item img,
body:not(.dark-theme) .cms-logo-item img {
    filter: brightness(0);
}

/* Fond des items logo plus visible sur thème clair */
body:not(.dark-theme) .stack-logo-item,
body:not(.dark-theme) .cms-logo-item {
    background: rgba(255, 255, 255, 0.55);
}

body:not(.dark-theme) .stack-logo-item:hover,
body:not(.dark-theme) .cms-logo-item:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* Textes des cards colorées forcés en foncé sur thème clair */
body:not(.dark-theme) .card-aapanel h3,
body:not(.dark-theme) .card-aapanel p,
body:not(.dark-theme) .card-security h3,
body:not(.dark-theme) .card-security p,
body:not(.dark-theme) .stack-card h3,
body:not(.dark-theme) .stack-card p,
body:not(.dark-theme) .card-email h3,
body:not(.dark-theme) .card-email p {
    color: #0b0c2a !important;
}

/* Badge icône card-cms : fond opaque sur thème clair */
body:not(.dark-theme) .card-cms .feature-icon-badge {
    background: var(--brand-gradient-primary);
}

/* Icônes des cards colorées : visibles sur thème clair */
body:not(.dark-theme) .card-aapanel .feature-icon-badge,
body:not(.dark-theme) .card-security .feature-icon-badge,
body:not(.dark-theme) .stack-card .feature-icon-badge,
body:not(.dark-theme) .card-email .feature-icon-badge {
    background: var(--brand-gradient-primary);
}

/* ========================================
   Stack Technique - Même style que CMS
======================================== */
.stack-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.stack-header .feature-icon-badge {
    flex-shrink: 0;
    margin-bottom: 0;
}

.stack-header h3 {
    margin: 0 !important;
    line-height: 1;
    display: flex;
    align-items: center;
}

.stack-logos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.stack-logo-item {
    position: relative;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.stack-logo-item img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.stack-logo-item:hover {
    background: rgba(255, 255, 255, 0.25);
}

.stack-logo-item::before {
    content: attr(data-name);
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease;
    z-index: 10;
}

.stack-logo-item::after {
    content: '';
    position: absolute;
    bottom: calc(92% + 2px);
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: rgba(0, 0, 0, 0.9);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.stack-logo-item:hover::before,
.stack-logo-item:hover::after {
    opacity: 1;
    transform: translateX(-50%);
}


.card-email {
    background: linear-gradient(135deg, var(--brand-sky-byte) 0%, var(--brand-cloud-byte) 100%);
}

body.dark-theme .card-email {
    background: linear-gradient(135deg, var(--brand-cloud-byte) 0%, var(--brand-blue-circuit) 100%);
}

.card-availability {
    background: #1a1d23;
    border: 2px solid #2d3139;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 30px;
}

body.dark-theme .card-availability {
    background: #1a1d23;
    border-color: #2d3139;
}

.card-availability .bento-card-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

/* Partie principale : rond + pourcentage côte à côte */
.uptime-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

/* Rond vert pulsant */
.uptime-status {
    display: flex;
    align-items: center;
    justify-content: center;
}

.status-indicator {
    position: relative;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Onde/Ripple qui pulse */
.status-indicator::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgb(59 214 113);
    animation: ripple 2s ease-out infinite;
}

.status-dot {
    width: 30px;
    height: 30px;
    background: #3bd671;
    border-radius: 50%;
    position: relative;
    z-index: 1;
}

@keyframes ripple {
    0% {
        transform: scale(0.6);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0;
    }
    100% {
        transform: scale(1.2);
        opacity: 0;
    }
}

.uptime-percentage {
    font-size: 2.5rem;
    font-weight: 800;
    color: #3bd671;
    line-height: 1;
    font-family: 'Chakra Petch', 'Poppins', sans-serif;
    display: flex;
    align-items: center;
    gap: 5px;
}

.uptime-percentage i {
    font-size: 2rem;
}

/* Label indépendant en bas et centré */
.uptime-label {
    font-size: 0.75rem;
    color: #9ca3af;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    margin-top: 10px;
}

/* ========================================
   PRICING SECTION
======================================== */
.pricing-section {
    padding: var(--section-padding-y-compact) var(--layout-gutter);
    background: var(--section-bg);
    margin: 0 auto;
    border-radius: 24px;
}

.section-intro {
    text-align: center;
    margin-bottom: var(--section-heading-gap);
}

.section-intro h2 {
    font-size: var(--section-title-font-size);
    font-weight: 800;
    color: var(--hero-title);
    margin-bottom: 15px;
}

.text-primary {
    color: var(--brand-sapphire);
}

body.dark-theme .text-primary {
    color: var(--brand-blue-circuit);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-card-new {
    background: var(--background-box);
    border: 2px solid var(--section-border);
    border-radius: 24px;
    padding: 40px 30px;
    position: relative;
    display: flex;
    flex-direction: column;
}

.pricing-card-new.highlighted {
    border-color: var(--brand-sapphire);
    border-width: 3px;
    box-shadow: 0 10px 40px rgba(30, 30, 226, 0.15);
}

body.dark-theme .pricing-card-new.highlighted {
    border-color: var(--brand-blue-circuit);
    box-shadow: 0 10px 40px rgba(39, 153, 255, 0.2);
}

.badge-popular {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--brand-warning-mid) 0%, var(--brand-warning) 100%);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    box-shadow: 0 10px 30px rgba(255, 179, 51, 0.4);
}

.card-header-new {
    text-align: center;
    margin-bottom: 30px;
}

.card-icon-new {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--brand-sky-byte) 0%, var(--brand-cloud-byte) 100%);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.card-icon-new img {
    width: 60%;
}

body.dark-theme .card-icon-new {
    background: linear-gradient(135deg, var(--brand-navy) 0%, var(--brand-sapphire) 100%);
}

.pricing-card-new.highlighted .card-icon-new {
    background: var(--brand-gradient-primary);
}

.card-icon-new i {
    font-size: 2rem;
    color: var(--brand-sapphire);
}

body.dark-theme .card-icon-new i {
    color: var(--brand-cloud-byte);
}

.pricing-card-new.highlighted .card-icon-new i {
    color: white;
}

.card-header-new h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--hero-title);
    margin-bottom: 10px;
}

.card-subtitle {
    font-size: 0.95rem;
    color: var(--hero-subtitle);
    line-height: 1.5;
}

.features-list-new {
    list-style: none;
    padding: 0;
    flex-grow: 1;
}

.features-list-new li {
    display: flex;
    align-items: start;
    gap: 12px;
    padding: 12px 0;
    font-size: 0.95rem;
    color: var(--hero-subtitle);
    border-bottom: 1px solid var(--section-border);
}

.features-list-new li:last-child {
    border-bottom: none;
}

.features-list-new i {
    color: var(--brand-sapphire);
    font-size: 1.1rem;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 2px;
}

body.dark-theme .features-list-new i {
    color: var(--brand-blue-circuit);
}

.pricing-footer-new {
    margin-top: auto;
    padding-top: 20px;
    border-top: 2px solid var(--section-border);
    text-align: center;
}

.pricing-toggle {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 40px;
}

.toggle-row {
    display: flex;
    align-items: center;
    gap: 14px;
}

.toggle-label {
    font-size: 0.95rem;
    color: var(--hero-subtitle);
    font-weight: 500;
    transition: color 0.2s;
}

.toggle-label.active {
    color: var(--text-primary, var(--brand-sapphire));
    font-weight: 700;
}

body.dark-theme .toggle-label.active {
    color: var(--brand-blue-circuit);
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 26px;
    cursor: pointer;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    inset: 0;
    background-color: #cbd5e1;
    border-radius: 26px;
    transition: background-color 0.2s;
}

.toggle-slider::before {
    content: '';
    position: absolute;
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: #fff;
    border-radius: 50%;
    transition: transform 0.2s;
}

.toggle-switch input:checked + .toggle-slider {
    background-color: var(--brand-sapphire);
}

body.dark-theme .toggle-switch input:checked + .toggle-slider {
    background-color: var(--brand-blue-circuit);
}

.toggle-switch input:checked + .toggle-slider::before {
    transform: translateX(22px);
}

.badge-save {
    display: inline-block;
    background-color: var(--brand-green-pale);
    color: var(--brand-green);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
}

body.dark-theme .badge-save {
    background-color: rgba(33, 216, 89, 0.18);
    color: #6ee7b7;
}

.price-new {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 8px;
    margin-bottom: 10px;
}

.price-amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--brand-sapphire);
    font-family: 'Chakra Petch', sans-serif;
}

body.dark-theme .price-amount {
    color: var(--brand-blue-circuit);
}

.price-period {
    font-size: 1rem;
    color: var(--hero-subtitle);
}

.price-economy {
    display: inline-block;
    background-color: var(--brand-green-pale);
    color: var(--brand-green);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 10px;
}

body.dark-theme .price-economy {
    background-color: rgba(33, 216, 89, 0.18);
    color: #6ee7b7;
}

.price-economy--monthly {
    background-color: var(--brand-sky-byte);
    color: var(--brand-sapphire);
}

body.dark-theme .price-economy--monthly {
    background-color: var(--brand-navy);
    color: var(--brand-cloud-byte);
}

.price-monthly {
    font-size: 0.85rem;
    color: var(--hero-subtitle);
    margin-bottom: 4px;
}

.price-note {
    font-size: 0.9rem;
    color: var(--hero-subtitle);
    margin-bottom: 20px;
}

.pricing-note {
    background: linear-gradient(135deg, var(--brand-sky-byte) 0%, var(--brand-cloud-byte) 100%);
    border-radius: 16px;
    padding: 25px 30px;
    text-align: center;
    max-width: 1350px;
    margin: 0 auto;
}

body.dark-theme .pricing-note {
    background: linear-gradient(135deg, var(--brand-navy) 0%, var(--brand-sapphire) 100%);
}

.pricing-note p {
    font-size: 1rem;
    color: var(--hero-title);
    line-height: 1.7;
    margin: 0;
}

/* ========================================
   RESPONSIVE
======================================== */
@media (max-width: 1200px) {
    .hero-hosting-container {
        grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
        gap: 34px;
    }

    .bento-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: auto;
        gap: 15px;
    }

    /* LIGNE 1 - Infrastructure + aaPanel + Sécurité */
    .card-infra {
        grid-column: 1;
        grid-row: 1 / 3;
    }

    .card-aapanel {
        grid-column: 2 / 4;
        grid-row: 1;
    }

    .card-security {
        grid-column: 2 / 4;
        grid-row: 2;
    }

    /* LIGNE 2 - Support + Hero + Migration */
    .card-support {
        grid-column: 1;
        grid-row: 3;
    }

    .card-hero {
        grid-column: 2 / 4;
        grid-row: 3;
        padding: 40px 30px;
    }

    .card-hero .hero-card-content h2 {
        font-size: 2.2rem;
    }

    .card-hero .hero-card-content p {
        font-size: 0.95rem;
    }

    .card-migration {
        grid-column: 1;
        grid-row: 4;
    }

    .card-email {
        grid-column: 2;
        grid-row: 4;
    }

    /* LIGNE 3 - Stack + CMS + Dispo */
    .card-stack {
        grid-column: 1 / 2;
        grid-row: 5;
    }

    .card-cms {
        grid-column: 2;
        grid-row: 5;
    }

    .card-availability {
        grid-column: 3;
        grid-row: 4 / 6;
    }
}

@media (max-width: 992px) {
    .hero-hosting-full {
        min-height: auto;
        padding: 56px 0;
        background-position: 62% center;
    }

    .hero-hosting-container {
        grid-template-columns: minmax(0, 1fr);
        min-height: 0;
    }

    .hero-hosting-copy {
        align-items: center;
        text-align: center;
        max-width: 760px;
        margin: 0 auto;
    }

    .hero-hosting-copy .hero-title {
        font-size: clamp(1.8rem, 7vw, 2.35rem);
    }

    .hero-hosting-copy .hero-subtitle {
        max-width: 680px;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-hosting-visual {
        width: min(100%, 560px);
        margin: 0 auto;
    }

    .hosting-guarantee-pop {
        margin: 0 auto;
    }

    .hero-description {
        font-size: 1rem;
    }

    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto auto auto auto auto auto auto;
        gap: 15px;
    }

    /* Cards slim : laisser le contenu respirer */
    .card-slim {
        min-height: 80px;
        padding: 15px 20px !important;
    }

    /* Layout 2 colonnes optimisé */
    /* Row 1 - Infrastructure */
    .card-infra {
        grid-column: 1 / 3;
        grid-row: 1;
    }

    /* Row 2-3 - aaPanel + Sécurité (collées à gauche) + Migration (à droite sur 2 rows) */
    .card-aapanel {
        grid-column: 1;
        grid-row: 2;
    }

    .card-security {
        grid-column: 1;
        grid-row: 3;
    }

    .card-migration {
        grid-column: 2;
        grid-row: 2 / 4;
    }

    /* Row 4 - Support + Hero (même hauteur) */
    .card-support {
        grid-column: 1;
        grid-row: 4;
    }

    .card-hero {
        grid-column: 2;
        grid-row: 4;
        padding: 30px 25px;
    }

    .card-hero .hero-card-content h2 {
        font-size: 1.6rem;
    }

    .card-hero .hero-card-content p {
        font-size: 0.85rem;
    }

    /* Row 5 - CMS + Stack */
    .card-cms {
        grid-column: 1;
        grid-row: 5;
    }

    .card-stack {
        grid-column: 2;
        grid-row: 5;
    }

    /* Row 6 - Email & FTP + Haute disponibilité */
    .card-email {
        grid-column: 1;
        grid-row: 6;
    }

    .card-availability {
        grid-column: 2;
        grid-row: 6;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-hosting-full {
        padding: 44px 0 48px;
        margin-bottom: 46px;
    }

    .hero-scroll-cue {
        display: none;
    }

    .hero-hosting-copy .hero-title {
        font-size: 2.45rem;
        line-height: 1.03;
    }

    .hero-hosting-copy .hero-subtitle {
        font-size: 1rem;
        line-height: 1.62;
        margin-bottom: 24px;
    }

    .hero-actions {
        width: 100%;
    }

    .hero-actions .btn-primary-hosting,
    .hero-actions .btn-secondary-hosting {
        flex: 1 1 210px;
        width: 100%;
        min-height: 52px;
    }

    .hero-trust-list span {
        flex: 1 1 160px;
        justify-content: center;
    }

    .btn-primary-hosting {
        padding: 14px 30px;
        font-size: 1rem;
    }

    .features-section,
    .pricing-section,
    .section-gray {
        padding: var(--section-padding-y-compact) var(--layout-gutter);
    }

    .section-header-centered h2 {
        font-size: var(--section-title-font-size);
    }

    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
        gap: 15px;
    }

    /* Toutes les cards en 1 colonne SAUF Migration et Email */
    .infra-image-card,
    .support-card,
    .hero-card,
    .stack-card,
    .medium-card,
    .wide-card,
    .card-aapanel,
    .card-security,
    .card-cms,
    .card-support,
    .card-availability {
        grid-column: 1 / 3;
        grid-row: auto;
    }

    /* Réorganiser l'ordre pour avoir Migration et Email côte à côte */
    .card-infra {
        order: 1;
    }

    .card-hero {
        order: 2;
    }

    .card-aapanel {
        order: 3;
    }

    .card-security {
        order: 4;
    }

    .card-migration {
        grid-column: 1;
        order: 5;
    }

    .card-email {
        grid-column: 2;
        order: 5;
    }

    .card-stack {
        order: 6;
    }

    .card-cms {
        order: 7;
    }

    .card-support {
        order: 8;
    }

    .card-availability {
        order: 9;
    }

    .hero-card {
        padding: 40px 25px;
    }

    .hero-card-content h2 {
        font-size: 2rem;
    }

    .hero-card-content p {
        font-size: 1rem;
    }

    /* Ajustement de l'image businessman sur mobile */
    .support-card::after {
        width: 40%;
        opacity: 0.3;
    }

    .pricing-card-new {
        padding: 30px 20px;
    }

    .price-amount {
        font-size: 2rem;
    }

    .section-intro h2 {
        font-size: var(--section-title-font-size);
    }

    .bento-card {
        padding: 20px;
    }

    .pricing-note {
        padding: 20px;
    }

    .pricing-note p {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .hero-hosting-full {
        padding: 28px 0 34px;
        background-position: 66% center;
    }

    .hero-hosting-copy .hero-title {
        font-size: 2rem;
    }

    .hero-hosting-copy .hero-subtitle {
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: 18px;
    }

    .hero-hosting-visual {
        display: block;
        width: 100%;
        margin-top: 18px;
    }

    .hosting-guarantee-pop {
        max-width: 100%;
        border-radius: 22px;
        transform: none;
    }

    .hosting-guarantee-pop::before {
        inset: 8px;
        border-radius: 17px;
    }

    .guarantee-window-bar {
        height: 38px;
        padding: 0 16px;
    }

    .window-dot {
        width: 10px;
        height: 10px;
    }

    .guarantee-pop-content {
        padding: 14px 16px 12px;
    }

    .guarantee-pop-eyebrow {
        margin-bottom: 14px;
        font-size: 0.68rem;
    }

    .guarantee-pop-main {
        grid-template-columns: 68px minmax(0, 1fr);
        gap: 13px;
    }

    .guarantee-pop-badge {
        width: 64px;
        height: 64px;
        margin: 0;
        box-shadow: 0 18px 42px rgba(30, 30, 226, 0.28), 0 0 0 7px rgba(255, 255, 255, 0.06);
    }

    .guarantee-pop-badge span {
        font-size: 1.78rem;
    }

    .hosting-guarantee-pop h2 {
        max-width: none;
        margin: 0 0 6px;
        font-size: 1.38rem;
        line-height: 1.04;
    }

    .hosting-guarantee-pop p {
        margin: 0;
        font-size: 0.82rem;
        line-height: 1.42;
    }

    .guarantee-pop-proof {
        justify-content: center;
        min-height: 34px;
        margin: 0 16px 16px;
        font-size: 0.78rem;
    }

    .hero-description {
        font-size: 0.9rem;
    }

    .section-header-centered h2 {
        font-size: var(--section-title-font-size);
    }

    .section-intro h2 {
        font-size: var(--section-title-font-size);
    }

    .bento-grid {
        gap: 12px;
    }

    .hero-card {
        padding: var(--section-padding-y-compact) var(--layout-gutter);
    }

    .hero-card-content h2 {
        font-size: 1.8rem;
    }

    .hero-card-content p {
        font-size: 0.9rem;
    }

    .features-section,
    .pricing-section {
        padding: 40px 15px;
    }

    /* Masquer l'image businessman sur petit mobile */
    .support-card::after {
        display: none;
    }
}

@media (max-width: 520px) {
    /* Migration et Email reprennent la pleine largeur */
    .card-migration,
    .card-email {
        grid-column: 1 / 3;
    }

    .card-migration {
        order: 5;
    }

    .card-email {
        order: 6;
    }

    .card-stack {
        order: 7;
    }

    .card-cms {
        order: 8;
    }

    .card-support {
        order: 9;
    }

    .card-availability {
        order: 10;
    }
}

@media (max-width: 480px) {
    .hero-hosting-copy .hero-title {
        font-size: 1.8rem;
    }

    .section-intro h2 {
        font-size: var(--section-title-font-size);
    }

    .pricing-card-new {
        padding: 25px 15px;
    }

    .price-amount {
        font-size: 1.75rem;
    }

    .pricing-toggle {
        gap: 8px;
    }

    .toggle-row {
        gap: 10px;
    }

    .infra-image-card::after {
        display: none;
    }

    /* Bento cards - réduction générale */
    .bento-card {
        padding: 16px;
    }

    .feature-icon-badge {
        width: 44px;
        height: 44px;
        border-radius: 10px;
        flex-shrink: 0;
    }

    .feature-icon-badge i {
        font-size: 1.4rem;
    }

    .card-header-horizontal {
        gap: 10px;
    }

    .bento-card h3 {
        font-size: 1rem;
    }

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

    .infra-list li,
    .support-list li {
        font-size: 0.85rem;
    }

    /* Logos stack & CMS : réduire gap et taille */
    .stack-logos,
    .cms-logos {
        gap: 8px;
    }

    .stack-logo-item img,
    .cms-logo-item img {
        width: 30px;
        height: 30px;
    }

    .stack-logo-item,
    .cms-logo-item {
        padding: 10px;
    }

    /* Uptime */
    .uptime-percentage {
        font-size: 1.8rem;
    }

    /* Card slim : supprimer le min-height sur très petit écran */
    .card-slim {
        min-height: unset;
    }

    .hero-card-content h2 {
        font-size: 1.6rem;
    }
}
