/* ============================================
   SECTION 1: Service Cards, Badges, Icons,
   Associations, Responsive
   ============================================ */

/* Améliorations design cartes services */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-6);
    max-width: var(--container-max-width);
    margin: 0 auto;
}

.card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 1.25rem;
    padding: var(--space-6);
    box-shadow:
        0 1px 3px rgba(0, 0, 0, 0.05),
        0 4px 12px rgba(0, 0, 0, 0.02);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

/* Alpine Depth - Card border-top animation */
.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, var(--lake), var(--terracotta));
    transition: width 0.3s ease;
    z-index: 1;
}

.card:hover::before {
    width: 100%;
}

.card:hover {
    border-color: rgba(var(--lake-rgb), 0.3);
    background: rgba(var(--lake-rgb), 0.02);
}

.card > * {
    position: relative;
    z-index: 1;
}

/* Badge "Populaire" - Élégant et discret */
.badge-popular {
    position: absolute;
    top: var(--space-4);
    right: var(--space-4);
    padding: 6px 14px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--terracotta);
    background: rgba(var(--terracotta-rgb, 193, 127, 89), 0.1);
    border: 1px solid rgba(var(--terracotta-rgb, 193, 127, 89), 0.25);
    border-radius: 20px;
    z-index: 2;
    backdrop-filter: blur(4px);
}

/* Centrer le contenu des cartes */
.card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Alpine Depth - Service icons (GLASS EFFECT) */
.ico {
    width: 120px;
    height: 120px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;

    /* Glass morphism Alpine */
    background: rgba(var(--lake-rgb, 61, 139, 156), 0.06);
    border: 1px solid rgba(var(--lake-rgb, 61, 139, 156), 0.12);
    backdrop-filter: blur(8px);

    box-shadow:
        0 4px 12px rgba(var(--night-rgb, 26, 35, 50), 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);

    margin-bottom: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: visible;
}

.card:hover .ico {
    background: rgba(var(--lake-rgb, 61, 139, 156), 0.12);
}

/* Force SVG size */
.ico > svg {
    width: 80px !important;
    height: 80px !important;
    flex-shrink: 0;
}

/* Lottie animations in service cards */
.ico.lottie-container {
    overflow: visible;
    position: relative;
    width: 100px;
    height: 100px;
    background: transparent;
    border: none;
    box-shadow: none;
}

.ico.lottie-container svg {
    width: 100% !important;
    height: 100% !important;
}

.ico.lottie-container.lottie-loaded {
    background: transparent;
    border: none;
}

/* Hover effect for Lottie icons */
.card:hover .ico.lottie-container {
    transform: scale(1.12);
    background: transparent;
    box-shadow: none;
}

.ico.lottie-container:not(.lottie-loaded) {
    /* Loading placeholder avec border subtile */
    background: rgba(var(--lake-rgb, 61, 139, 156), 0.05);
    border: 1px dashed rgba(var(--lake-rgb, 61, 139, 156), 0.2);
    border-radius: 16px;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.card h3 {
    font-size: var(--text-xl);
    font-weight: var(--font-bold);
    margin: 0 0 var(--space-2) 0;
    color: var(--text);
    transition: color 0.3s ease;
    line-height: var(--leading-normal);
}

.card:hover h3 {
    color: var(--lake);
}

.card .muted {
    color: var(--muted);
    line-height: var(--leading-normal);
    margin-bottom: var(--space-4);
    font-size: var(--text-base);
}

/* Alpine Depth - Service links */
.arrow {
    text-decoration: none;
    color: var(--lake);
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.arrow::after {
    content: '→';
    transition: transform 0.3s ease;
}

.card:hover .arrow {
    color: var(--terracotta);
}

.card:hover .arrow::after {
    transform: translateX(4px);
}

/* Alpine Depth - Associations link */
.associations-link {
    text-align: center;
    margin-top: 2.5rem;
    padding: 1.5rem;
    background: rgba(var(--lake-rgb), 0.06);
    border-radius: 16px;
    border: 1px solid rgba(var(--lake-rgb), 0.2);
    transition: border-color 0.2s ease;
}

.associations-link:hover {
    border-color: rgba(var(--lake-rgb), 0.4);
}

.associations-text {
    margin: 0 0 0.75rem 0;
    color: var(--text);
    font-size: 1.1rem;
    font-weight: 500;
}

.associations-icon {
    color: var(--lake);
    margin-right: 0.5rem;
}

.associations-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--lake);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.associations-button:hover {
    color: var(--terracotta);
    gap: 0.75rem;
}

.associations-arrow {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.associations-button:hover .associations-arrow {
    transform: translateX(4px);
}

/* Responsive Mobile */
@media (max-width: 768px) {
    .cards {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 8px;
    }
    .card {
        padding: 16px;
        min-height: auto;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .card h3 {
        font-size: 1.1rem !important;
        line-height: 1.3 !important;
        margin: 0.75rem 0 0.5rem 0 !important;
    }

    .card .muted {
        font-size: 0.9rem !important;
        line-height: 1.4 !important;
        margin-bottom: 0.75rem !important;
        flex-grow: 1;
    }

    .card .arrow {
        font-size: 0.85rem !important;
        margin-top: auto;
    }

    .associations-link {
        margin-top: 2rem;
        padding: 1.25rem;
    }

    .associations-text {
        font-size: 1rem;
    }

    /* Hero section mobile */
    .hero-grid {
        display: flex !important;
        flex-direction: column !important;
        text-align: center !important;
        gap: 2rem !important;
    }

    /* Masquer l'eyebrow sur mobile car il n'est pas visible */
    .eyebrow {
        display: none !important;
    }

    /* Centrer l'avatar sur mobile */
    .avatar-container {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }

    .hero h1 {
        font-size: 2.2rem !important;
        line-height: 1.2 !important;
        margin-top: 1rem !important;
        padding: 0 0.5rem !important;
        text-align: center !important;
    }

    .hero .sub {
        font-size: 0.85rem !important;
        white-space: normal !important;
        text-align: center !important;
        line-height: 1.4 !important;
        padding: 0 1rem !important;
    }

    .hero .lead {
        font-size: 1.1rem !important;
        line-height: 1.6 !important;
        padding: 0 0.5rem !important;
    }

    .cta {
        flex-direction: column !important;
        gap: 1rem !important;
        align-items: center !important;
    }

    .btn {
        width: 100% !important;
        max-width: 280px !important;
        justify-content: center !important;
    }

    /* Animation mobile - plus petite */
    .viz-card {
        max-width: 300px !important;
        margin: 0 auto !important;
    }

    /* Sections mobile */
    .container {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
        max-width: 100% !important;
        margin: 0 auto !important;
    }

    /* Corriger l'affichage des services sur mobile */
    #services .container {
        padding-left: 0.5rem !important;
        padding-right: 0.5rem !important;
    }

    .section-head .h2 {
        font-size: 2rem !important;
        padding: 0 0.5rem !important;
    }

    .section-head p {
        padding: 0 0.5rem !important;
    }

    /* Booking section mobile - améliorer la largeur */
    .booking-system {
        padding: 1rem !important;
    }
}

/* Petits écrans mobiles */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem !important;
        line-height: 1.1 !important;
    }

    .hero .sub {
        font-size: 0.8rem !important;
    }

    .hero .lead {
        font-size: 1rem !important;
    }
}

/* ============================================
   SECTION 2: Hero Alpine Styles, Transitions,
   About Section
   ============================================ */

/* Alpine Depth Hero Styles */
.hero-alpine {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--night); /* Always dark for luminous effects */
    overflow: hidden;
    padding: 6rem 0 4rem;
}


/* Hero Photo Animation - Alpine Depth Glow */
.hero-photo-wrapper {
    margin-bottom: 1.5rem;
}

.hero-photo-container {
    width: 140px;
    height: 140px;
    margin: 0 auto;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(61, 139, 156, 0.4);
    /* Animation alpine-glow appliquée via classe */
}

.hero-photo-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
}

/* Animation alpine-glow définie dans animations-alpine.css */

@media (prefers-reduced-motion: reduce) {
    .hero-photo-container {
        animation: none;
        box-shadow: 0 8px 32px rgba(26, 35, 50, 0.3);
    }
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 800px;
}

/* Availability Badge */
.availability-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1.25rem;
    background: rgba(var(--glacier-rgb), 0.08);
    border: 1px solid rgba(var(--glacier-rgb), 0.15);
    border-radius: 2rem;
    color: var(--glacier);
    font-family: var(--font-body, 'DM Sans', sans-serif);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 2rem;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--color-success);
    border-radius: 50%;
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(var(--success-rgb), 0.4);
    }
    50% {
        opacity: 0.8;
        box-shadow: 0 0 0 8px rgba(var(--success-rgb), 0);
    }
}

/* Hero Title */
.hero-title {
    font-family: var(--font-display, 'Cormorant Garamond', Georgia, serif);
    font-size: clamp(2.5rem, 5vw + 1rem, 4rem);
    font-weight: 600;
    color: var(--glacier);
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin: 0 0 1.5rem 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-title em {
    color: var(--terracotta);
    font-style: normal;
    text-underline-offset: 6px;
    text-decoration-thickness: 3px;
}

/* Gradient text override for hero em */
.hero-title em.vb-gradient-text {
    text-decoration: none;
    border-bottom: 3px solid rgba(var(--terracotta-rgb), 0.4);
    padding-bottom: 4px;
    text-shadow: none;
}

/* Hero Subtitle */
.hero-subtitle {
    font-family: var(--font-body, 'DM Sans', sans-serif);
    font-size: 1.25rem;
    color: rgba(var(--glacier-rgb), 0.85);
    max-width: 600px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Hero Actions */
.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Hero photo gradient ring */
.hero-photo-ring {
    background: conic-gradient(from 180deg, var(--lake), var(--terracotta), var(--lake));
    padding: 3px;
    border-radius: 50%;
    display: inline-block;
}

.hero-photo-ring .hero-photo-container {
    border: 3px solid var(--bg);
}

/* Hero mountain decorations */
.hero-decorations {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    pointer-events: none;
    overflow: hidden;
    height: 80px;
}

.hero-mountain-left {
    position: absolute;
    bottom: 0;
    left: 5%;
    color: rgba(var(--lake-rgb), 0.08);
}

.hero-mountain-right {
    position: absolute;
    bottom: 0;
    right: 8%;
    color: rgba(var(--lake-rgb), 0.06);
}

.btn-alpine {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-family: var(--font-body, 'DM Sans', sans-serif);
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
}

.btn-alpine.btn-primary {
    background: var(--terracotta);
    color: var(--glacier);
    border: none;
}

.btn-alpine.btn-primary:hover {
    background: var(--terracotta-light);
}

.btn-alpine.btn-secondary {
    background: rgba(var(--glacier-rgb), 0.08);
    color: var(--glacier);
    border: 1.5px solid rgba(var(--glacier-rgb), 0.4);
}

.btn-alpine.btn-secondary:hover {
    background: rgba(var(--glacier-rgb), 0.2);
    border-color: var(--glacier);
    color: var(--glacier);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .hero-alpine::before,
    .hero-alpine::after {
        animation: none;
    }
    .pulse-dot {
        animation: none;
    }
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .hero-alpine {
        padding: 5rem 1.25rem 3rem;
        min-height: auto;
        /* S'assurer que le fond reste sombre */
        background: var(--night) !important;
    }

    /* Overlay pour renforcer le contraste du texte */
    .hero-alpine::before {
        background: radial-gradient(circle at 80% 20%, rgba(61, 139, 156, 0.2) 0%, transparent 50%);
    }

    /* Mobile: Renforcer le contraste texte */
    .hero-title {
        font-size: clamp(1.75rem, 7vw, 2.5rem);
        color: #ffffff;
        text-shadow:
            0 2px 4px rgba(0, 0, 0, 0.6),
            0 4px 12px rgba(0, 0, 0, 0.4);
        font-weight: 700;
    }

    .hero-title em {
        color: var(--terracotta-light, #d4916a);
        text-shadow: 0 2px 8px rgba(193, 127, 89, 0.5);
    }

    .hero-subtitle {
        font-size: 1rem;
        color: rgba(255, 255, 255, 0.95);
        text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
        line-height: 1.6;
    }

    /* Badge disponibilité visible sur mobile */
    .availability-badge {
        color: #ffffff;
        background: rgba(61, 139, 156, 0.3);
        border-color: rgba(61, 139, 156, 0.6);
    }

    .hero-decorations {
        display: none;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }

    .btn-alpine {
        width: 100%;
        max-width: 280px;
        justify-content: center;
        min-height: 48px;
    }

    .btn-alpine.btn-primary {
        background: var(--terracotta);
        color: #ffffff;
        font-weight: 600;
        box-shadow: 0 4px 12px rgba(193, 127, 89, 0.4);
    }

    .btn-alpine.btn-secondary {
        color: var(--glacier);
        border: 2px solid rgba(var(--glacier-rgb), 0.4);
        background: rgba(var(--glacier-rgb), 0.1);
    }

    /* Transition hero vers section claire - Mobile */
    .hero-to-light-transition {
        height: 80px !important;
        background: linear-gradient(
            to bottom,
            var(--night) 0%,
            var(--bg-soft) 100%
        ) !important;
    }
}

/* === HERO TO LIGHT TRANSITION (Light Mode Only) === */
.hero-to-light-transition {
    height: 150px;
    background: linear-gradient(
        to bottom,
        var(--night) 0%,
        color-mix(in srgb, var(--night) 80%, var(--bg-soft)) 25%,
        color-mix(in srgb, var(--night) 50%, var(--bg-soft)) 50%,
        color-mix(in srgb, var(--night) 20%, var(--bg-soft)) 75%,
        var(--bg-soft) 100%
    );
    margin-top: -1px; /* Overlap hero edge */
    position: relative;
    z-index: 5;
}

/* En mode sombre, réduire la transition car les couleurs sont similaires */
[data-theme="dark"] .hero-to-light-transition {
    height: 80px;
    background: linear-gradient(
        to bottom,
        var(--night) 0%,
        var(--bg-soft) 100%
    );
}

/* Section about avec fond explicite pour continuité */
#about {
    background: var(--bg-soft);
    padding-top: 2rem;
    position: relative;
}

/* ============================================
   SECTION 3: Why Choose, Tarifs Preview,
   Infomaniak Section
   ============================================ */

/* === SECTION POURQUOI ME CHOISIR === */
.why-choose-section {
    padding: var(--space-16) 0;
    background: var(--bg-soft);
}

.why-choose-grid {
    display: grid;
    gap: var(--space-8);
    align-items: center;
}

@media (min-width: 768px) {
    .why-choose-grid {
        grid-template-columns: 280px 1fr;
        gap: var(--space-12);
    }
}

.why-choose-illustration {
    text-align: center;
}

.why-choose-illustration img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 8px 24px rgba(var(--lake-rgb), 0.15));
    transition: transform 0.4s ease;
}

.why-choose-illustration:hover img {
    transform: scale(1.02);
}

.trust-list {
    list-style: none;
    padding: 0;
    margin: var(--space-6) 0 0 0;
}

.trust-list li {
    display: flex;
    gap: var(--space-4);
    align-items: flex-start;
    margin-bottom: var(--space-5);
    padding: var(--space-4);
    background: var(--card);
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.trust-list li:hover {
    border-color: rgba(var(--lake-rgb), 0.3);
}

.trust-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    min-width: 28px;
    background: var(--lake);
    color: white;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 2px;
}

.trust-list strong {
    display: block;
    color: var(--text);
    font-size: var(--text-base);
    margin-bottom: 2px;
}

.trust-detail {
    display: block;
    color: var(--muted);
    font-size: var(--text-sm);
    line-height: 1.5;
}

/* Mobile */
@media (max-width: 768px) {
    .why-choose-section {
        padding: var(--space-12) 0;
    }

    .why-choose-illustration {
        max-width: 200px;
        margin: 0 auto var(--space-6);
    }

    .why-choose-content .section-head {
        text-align: center !important;
    }

    .trust-list li {
        padding: var(--space-3);
    }

    .trust-list li:hover {
        transform: none;
    }
}

/* ===== TARIFS PREVIEW SECTION ===== */
.tarifs-preview-section {
    padding: var(--space-16) 0;
}

.tarifs-preview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: var(--space-10) 0 var(--space-8);
    align-items: stretch;
}

@media (max-width: 900px) {
    .tarifs-preview-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
}

.tarif-prev-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 1.25rem;
    padding: var(--space-8) var(--space-6) var(--space-6);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05), 0 4px 12px rgba(0, 0, 0, 0.02);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.tarif-prev-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--lake), var(--terracotta));
    transition: width 0.3s ease;
    z-index: 1;
}

.tarif-prev-card:hover::before {
    width: 100%;
}

.tarif-prev-card:hover {
    border-color: rgba(var(--lake-rgb, 61, 139, 156), 0.3);
}

.tarif-prev-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-4);
    background: rgba(var(--lake-rgb, 61, 139, 156), 0.08);
}

.tarif-prev-icon svg {
    width: 26px;
    height: 26px;
    color: var(--lake);
    stroke-width: 1.8;
}

.tarif-prev-card--featured .tarif-prev-icon {
    background: rgba(var(--terracotta-rgb, 193, 127, 89), 0.1);
}

.tarif-prev-card--featured .tarif-prev-icon svg {
    color: var(--terracotta);
}

.tarif-prev-card--featured {
    border-color: rgba(var(--terracotta-rgb, 193, 127, 89), 0.4);
    border-width: 2px;
    box-shadow: 0 4px 20px rgba(var(--terracotta-rgb, 193, 127, 89), 0.12), 0 1px 3px rgba(0, 0, 0, 0.05);
}

.tarif-prev-card--featured:hover {
    border-color: rgba(var(--terracotta-rgb, 193, 127, 89), 0.6);
    box-shadow: 0 12px 36px rgba(var(--terracotta-rgb, 193, 127, 89), 0.2), 0 1px 3px rgba(0, 0, 0, 0.08);
}

.badge-popular {
    position: absolute;
    top: 14px;
    right: -30px;
    background: var(--terracotta);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 36px;
    transform: rotate(35deg);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tarif-prev-name {
    font-family: var(--font-display, 'Cormorant Garamond', Georgia, serif);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: var(--space-3);
}

.tarif-prev-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--space-1);
}

.tarif-prev-amount {
    font-family: var(--font-display, 'Cormorant Garamond', Georgia, serif);
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
    color: var(--text);
}

.tarif-prev-currency {
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--muted);
    align-self: flex-start;
    margin-top: 6px;
}

.tarif-prev-period {
    width: 100%;
    font-size: var(--text-xs);
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 2px;
}

.tarif-prev-then {
    font-size: var(--text-sm);
    color: var(--muted);
    margin-bottom: var(--space-4);
}

.tarif-prev-then strong {
    color: var(--lake);
    font-weight: 600;
}

.tarif-prev-divider {
    width: 60%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(var(--lake-rgb, 61, 139, 156), 0.2), transparent);
    margin-bottom: var(--space-5);
    border: none;
}

.tarif-prev-card--featured .tarif-prev-divider {
    background: linear-gradient(90deg, transparent, rgba(var(--terracotta-rgb, 193, 127, 89), 0.25), transparent);
}

.tarif-prev-features {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--space-6) 0;
    width: 100%;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    flex: 1;
}

.tarif-prev-features li {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    color: var(--text);
}

.tarif-prev-features li svg {
    color: var(--lake);
    flex-shrink: 0;
}

.tarif-prev-feature--main strong {
    color: var(--lake);
}

.tarif-prev-card--featured .tarif-prev-feature--main strong {
    color: var(--terracotta);
}

.tarif-prev-feature--ik {
    color: var(--muted) !important;
    font-size: 0.8rem !important;
}

.tarif-prev-feature--ik svg {
    color: var(--terracotta) !important;
}

.tarif-prev-btn {
    display: inline-block;
    width: 100%;
    padding: 0.85rem 1.5rem;
    background: var(--lake);
    color: #fff;
    font-weight: 600;
    font-size: var(--text-sm);
    border-radius: 10px;
    text-decoration: none;
    text-align: center;
    transition: background 0.2s ease;
    margin-top: auto;
}

.tarif-prev-btn:hover {
    background: var(--lake-light);
    color: #fff;
}

.tarif-prev-btn--featured {
    background: var(--terracotta);
}

.tarif-prev-btn--featured:hover {
    background: var(--terracotta-light);
}

.tarifs-preview-cta {
    text-align: center;
    margin-top: var(--space-2);
}

.tarifs-preview-cta .arrow:hover {
    color: var(--terracotta);
}

/* ===== SECTION INFOMANIAK ===== */
.ik-section { padding: var(--space-20, 5rem) 0; }

.ik-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12, 3rem);
    align-items: center;
    margin-top: var(--space-10);
}

@media (max-width: 900px) {
    .ik-grid {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }
}

.ik-text p {
    color: var(--muted);
    font-size: var(--text-base);
    line-height: 1.75;
    margin-bottom: var(--space-4);
}

.ik-text strong { color: var(--text); }

/* Card animations — GPU-composited only (transform + opacity) */
@keyframes ikBorderFade {
    0%, 100% { opacity: 0; }
    50%       { opacity: 1; }
}

@keyframes ikOrbDrift {
    0%, 100% { transform: translate(0,0) scale(1); opacity: 0.3; }
    40%       { transform: translate(18px,-22px) scale(1.25); opacity: 0.52; }
    70%       { transform: translate(-12px,14px) scale(0.8); opacity: 0.35; }
}

@keyframes ikOrbDrift2 {
    0%, 100% { transform: translate(0,0) scale(1); opacity: 0.2; }
    35%       { transform: translate(-14px,18px) scale(1.15); opacity: 0.38; }
    70%       { transform: translate(10px,-12px) scale(0.85); opacity: 0.26; }
}

/* Card — always dark, independent of site theme */
.ik-card {
    background: linear-gradient(145deg, #0f1d2e 0%, #152638 55%, #0c1924 100%);
    border: none;
    border-radius: 1.375rem;
    padding: var(--space-8);
    position: relative;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0,0,0,0.4),
                0 0 0 1px rgba(61,139,156,0.22),
                inset 0 1px 0 rgba(255,255,255,0.05);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

/* Pulsing border via pseudo-element opacity (GPU-composited, no repaint) */
.ik-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    box-shadow: 0 0 0 1px rgba(61,139,156,0.55), 0 0 28px rgba(61,139,156,0.14);
    opacity: 0;
    animation: ikBorderFade 4s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

.ik-card:hover {
    box-shadow: 0 16px 40px rgba(0,0,0,0.45),
                0 0 0 1px rgba(61,139,156,0.45),
                inset 0 1px 0 rgba(255,255,255,0.08);
}

.ik-card:hover::before { animation-play-state: paused; opacity: 1; }

/* Ambient glow orbs */
.ik-glow-orb {
    position: absolute;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(61,139,156,0.28) 0%, transparent 65%);
    top: -90px;
    right: -70px;
    animation: ikOrbDrift 7s ease-in-out infinite;
    pointer-events: none;
}

.ik-glow-orb-2 {
    position: absolute;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(193,127,89,0.22) 0%, transparent 65%);
    bottom: -50px;
    left: -50px;
    animation: ikOrbDrift2 9s ease-in-out infinite;
    pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
    .ik-card { animation: none; }
    .ik-glow-orb, .ik-glow-orb-2 { animation: none; }
}

/* Logo area — always show white logo on dark card */
.ik-card-logo {
    margin-bottom: var(--space-6);
    text-align: center;
    padding-bottom: var(--space-5);
    border-bottom: 1px solid rgba(255,255,255,0.07);
    position: relative;
    z-index: 1;
}

.ik-card-logo img { margin: 0 auto; }
.ik-card-logo .ik-bl { display: none; }
.ik-card-logo .ik-wh { display: block; }
[data-theme="dark"] .ik-card-logo .ik-bl { display: none; }
[data-theme="dark"] .ik-card-logo .ik-wh { display: block; }

.ik-advantages {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    margin-bottom: var(--space-6);
    position: relative;
    z-index: 1;
}

.ik-adv {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: 0.5rem 0.625rem;
    border-radius: 10px;
    transition: background 0.2s ease;
}

.ik-adv:hover { background: rgba(61,139,156,0.1); }

.ik-adv-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: rgba(61,139,156,0.18);
    border: 1px solid rgba(61,139,156,0.25);
}

.ik-adv-icon svg {
    width: 17px;
    height: 17px;
    color: #6bbecf;
    stroke-width: 2;
}

.ik-adv-text {
    font-size: var(--text-sm);
    color: rgba(248,249,250,0.88);
    line-height: 1.4;
    font-weight: 500;
}

.ik-adv-text span {
    display: block;
    font-size: 0.72rem;
    color: rgba(248,249,250,0.45);
    margin-top: 1px;
    font-weight: 400;
}

.ik-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.875rem 1.5rem;
    background: rgba(61,139,156,0.95);
    color: #fff;
    font-weight: 600;
    font-size: var(--text-sm);
    border-radius: 10px;
    text-decoration: none;
    transition: background 0.2s ease;
    width: 100%;
    justify-content: center;
    position: relative;
    z-index: 1;
    border: 1px solid rgba(107,190,207,0.3);
}

.ik-cta-btn:hover {
    background: #3d8b9c;
    color: #fff;
    border-color: rgba(107,190,207,0.5);
}

.ik-cta-btn svg {
    width: 16px;
    height: 16px;
    stroke-width: 2;
}

.ik-compare {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: var(--space-10);
    text-align: center;
}

@media (max-width: 480px) {
    .ik-compare {
        grid-template-columns: 1fr;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
    }
}

.ik-compare-item {
    padding: var(--space-4);
    background: rgba(var(--lake-rgb, 61, 139, 156), 0.04);
    border: 1px solid rgba(var(--lake-rgb, 61, 139, 156), 0.1);
    border-radius: 12px;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.ik-compare-item:hover {
    background: rgba(var(--lake-rgb, 61, 139, 156), 0.08);
    border-color: rgba(var(--lake-rgb, 61, 139, 156), 0.22);
}

.ik-compare-item svg {
    width: 20px;
    height: 20px;
    color: var(--lake);
    margin-bottom: var(--space-2);
}

.ik-compare-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text);
    display: block;
}

.ik-compare-value {
    font-size: 0.75rem;
    color: var(--muted);
}

/* Tools/Logos Bar */
.tools-bar {
  padding: var(--space-8) 0;
}

.tools-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-10);
  flex-wrap: wrap;
}

.tool-logo {
  color: var(--muted);
  opacity: 0.5;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
}

.tool-logo:hover {
  opacity: 1;
}

@media (max-width: 768px) {
  .tools-logos {
    gap: var(--space-6);
  }
  .tool-logo svg, .tool-logo img {
    width: 22px;
    height: 22px;
  }
}