/* ══════════════════════════════════════════════════════════════════════════════
   🤖 SECTION ROBOTS TONDEUSES - DESIGN RÉVOLUTIONNAIRE
   Fichier CSS dédié pour la section Robot Tondeuse ultra-moderne
   ══════════════════════════════════════════════════════════════════════════════ */

.robot-section {
    position: relative;
    background: linear-gradient(135deg, #0f1f0a 0%, #1a2e12 50%, #2c4520 100%);
    padding: clamp(80px, 12vw, 140px) 0;
    overflow: hidden;
}

/* Pattern Nature en Fond */
.robot-bg-pattern {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(140, 179, 105, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(74, 124, 89, 0.06) 0%, transparent 50%),
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%234a7c59' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.6;
    pointer-events: none;
}

/* ════ En-tête Spectaculaire ════ */
.robot-header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto clamp(60px, 8vw, 100px);
}

.robot-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: clamp(0.75rem, 1.5vw, 0.85rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #8cb369;
    background: rgba(140, 179, 105, 0.15);
    padding: 10px 24px;
    border-radius: 50px;
    border: 1px solid rgba(140, 179, 105, 0.2);
    backdrop-filter: blur(10px);
    margin-bottom: 24px;
}

.robot-tag svg {
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.robot-main-title {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 400;
    line-height: 1.15;
    color: #ffffff;
    margin-bottom: 24px;
}

.highlight-gradient {
    background: linear-gradient(135deg, #8cb369 0%, #c8a45c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-style: italic;
    position: relative;
    display: inline-block;
}

.highlight-gradient::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #8cb369, transparent);
    border-radius: 10px;
}

.robot-main-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(245, 242, 237, 0.8);
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto;
}

/* ════ Layout Split-Screen ════ */
.robot-split-layout {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: start;
}

/* ════ Section Visuelle Gauche ════ */
.robot-visual-section {
    position: sticky;
    top: 120px;
}

.robot-main-visual {
    position: relative;
    aspect-ratio: 1;
    background: radial-gradient(circle at center, rgba(140, 179, 105, 0.1) 0%, transparent 70%);
    border-radius: 32px;
    padding: 40px;
}

.robot-image-container {
    position: relative;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    transition: box-shadow .4s ease;
}

.robot-image-container:hover {
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.4), 0 0 40px rgba(140, 179, 105, 0.12);
}

/* Voile dégradé subtil sur la photo */
.robot-image-container::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        linear-gradient(to top, rgba(15, 31, 10, 0.35) 0%, transparent 40%),
        linear-gradient(135deg, rgba(140, 179, 105, 0.08) 0%, transparent 60%);
    pointer-events: none;
    transition: opacity .4s ease;
}

.robot-image-container:hover::before {
    opacity: .6;
}

.robot-image-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 24px;
    position: relative;
    z-index: 1;
    transition: transform 6s cubic-bezier(.25, .1, .25, 1), filter .4s ease;
    animation: kenBurns 20s ease-in-out infinite alternate;
}

.robot-image-container:hover .robot-image-photo {
    filter: brightness(1.05) contrast(1.03);
}

/* Ken Burns — zoom lent subtil */
@keyframes kenBurns {
    0%   { transform: scale(1)    translate(0, 0); }
    50%  { transform: scale(1.06) translate(-1%, -1%); }
    100% { transform: scale(1.03) translate(0.5%, 0.5%); }
}

/* Badges Flottants Animés */
.robot-floating-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 12px 20px;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    animation: float 6s ease-in-out infinite;
}

.robot-floating-badge svg {
    color: #2c5e1e;
    flex-shrink: 0;
}

.robot-floating-badge div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.robot-floating-badge strong {
    font-size: 0.85rem;
    color: #1a2e12;
    font-weight: 700;
}

.robot-floating-badge span {
    font-size: 0.7rem;
    color: #4a7c59;
    font-weight: 600;
}

.robot-badge-1 {
    top: 10%;
    right: -10%;
    animation-delay: 0s;
}

.robot-badge-2 {
    top: 50%;
    left: -12%;
    animation-delay: 2s;
}

.robot-badge-3 {
    bottom: 15%;
    right: -8%;
    animation-delay: 4s;
}

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

/* Stats Rapides */
.robot-quick-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 32px;
}

.quick-stat-item {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.quick-stat-item:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-4px);
}

.stat-value {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 2rem;
    font-weight: 600;
    color: #8cb369;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

/* ════ Grille de Bénéfices — 2×2 compacte ════ */
.robot-benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-bottom: 40px;
}

.benefit-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 18px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.benefit-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.benefit-icon-wrapper {
    width: 42px;
    height: 42px;
    min-width: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #8cb369 0%, #4a7c59 100%);
    border-radius: 12px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(140, 179, 105, 0.25);
}

.benefit-icon-wrapper svg {
    color: #ffffff;
    width: 20px;
    height: 20px;
}

.benefit-content h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 4px;
    line-height: 1.3;
}

.benefit-content p {
    font-size: 0.82rem;
    color: rgba(245, 242, 237, 0.7);
    line-height: 1.5;
    margin: 0;
}

/* ════ Section Tarifs ════ */
.robot-pricing-section {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    padding: 40px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 40px;
}

.pricing-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 32px;
}

.pricing-title svg {
    color: #8cb369;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 24px;
}

.pricing-plan {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
    padding: 32px 24px;
    border-radius: 20px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    position: relative;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.pricing-plan:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(140, 179, 105, 0.4);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.pricing-plan--featured {
    border-color: #c8a45c;
    box-shadow: 0 0 0 2px rgba(200, 164, 92, 0.3);
    background: rgba(200, 164, 92, 0.08);
}

.pricing-plan--featured:hover {
    box-shadow: 0 0 0 2px rgba(200, 164, 92, 0.5), 0 20px 60px rgba(0, 0, 0, 0.4);
}

.plan-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #c8a45c 0%, #dcc07e 100%);
    color: #1a2e12;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 6px 20px;
    border-radius: 20px;
    box-shadow: 0 4px 16px rgba(200, 164, 92, 0.4);
}

.plan-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(140, 179, 105, 0.2) 0%, rgba(74, 124, 89, 0.1) 100%);
    border-radius: 16px;
}

.pricing-plan--featured .plan-icon {
    background: linear-gradient(135deg, rgba(200, 164, 92, 0.2) 0%, rgba(220, 192, 126, 0.1) 100%);
}

.plan-icon svg {
    color: #8cb369;
}

.pricing-plan--featured .plan-icon svg {
    color: #c8a45c;
}

.plan-name {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 1.5rem;
    color: #ffffff;
    margin-bottom: 8px;
}

.plan-surface {
    font-size: 0.85rem;
    color: rgba(245, 242, 237, 0.6);
    margin-bottom: 20px;
    font-weight: 600;
}

.plan-price {
    margin-bottom: 24px;
}

.price-amount {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 3rem;
    font-weight: 600;
    color: #8cb369;
    line-height: 1;
}

.pricing-plan--featured .price-amount {
    color: #c8a45c;
}

.price-period {
    font-size: 1rem;
    color: rgba(245, 242, 237, 0.5);
    font-weight: 500;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: rgba(245, 242, 237, 0.8);
}

.plan-features svg {
    color: #8cb369;
    flex-shrink: 0;
}

.pricing-plan--featured .plan-features svg {
    color: #c8a45c;
}

.pricing-note {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: rgba(245, 242, 237, 0.6);
    text-align: center;
    justify-content: center;
    padding: 16px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
}

.pricing-note svg {
    color: #8cb369;
    flex-shrink: 0;
}

/* ════ Boutons CTA ════ */
.robot-cta-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn--outline {
    background: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn--outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

/* ════ Responsive ════ */
@media (max-width: 1024px) {
    .robot-split-layout {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .robot-visual-section {
        position: relative;
        top: 0;
    }

    .robot-floating-badge {
        position: relative;
        top: auto !important;
        right: auto !important;
        left: auto !important;
        bottom: auto !important;
        display: inline-flex;
        animation: none;
    }

    .robot-main-visual {
        padding: 20px;
    }
}

/* ════ Accroche desktop (masquée sur mobile) ════ */
.robot-desktop-pitch {
    margin: 32px 0 28px;
    text-align: center;
}

.robot-desktop-pitch__text {
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.75);
    max-width: 620px;
    margin: 0 auto;
}

.robot-desktop-pitch__text strong {
    color: var(--gold, #c8a95e);
    font-weight: 600;
}

@media (max-width: 768px) {
    .robot-desktop-pitch {
        display: none;
    }
    .robot-quick-stats {
        grid-template-columns: 1fr;
    }

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

    .robot-cta-buttons {
        flex-direction: column;
    }

    .robot-cta-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    .robot-benefits-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .benefit-card {
        padding: 14px;
        gap: 12px;
    }

    .benefit-icon-wrapper {
        width: 38px;
        height: 38px;
        min-width: 38px;
        border-radius: 10px;
    }

    .benefit-icon-wrapper svg {
        width: 18px;
        height: 18px;
    }

    .benefit-content h3 {
        font-size: 0.92rem;
    }

    .benefit-content p {
        font-size: 0.78rem;
    }
}

/* ══════════════════════════════════════════════════════════════════════════════
   FIN DE LA SECTION ROBOTS TONDEUSES
   ══════════════════════════════════════════════════════════════════════════════ */
