/* assets/css/publicite.css */

/* ==================== HERO ==================== */
.pub-hero {
    position: relative;
    background: var(--text);
    padding: 64px 0 80px;
    overflow: hidden;
}

.pub-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 55% 80% at 5% 55%, rgba(14, 165, 233, .2) 0%, transparent 65%),
        radial-gradient(ellipse 50% 70% at 90% 20%, rgba(124, 58, 237, .14) 0%, transparent 60%),
        radial-gradient(ellipse 38% 52% at 50% 96%, rgba(217, 119, 6, .08) 0%, transparent 55%);
    pointer-events: none;
}

.pub-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.03'/%3E%3C/svg%3E");
    pointer-events: none;
    opacity: .6;
}

.pub-hero .container {
    position: relative;
    z-index: 2;
}

.hero-breadcrumb {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: .8rem;
    margin-bottom: 22px;
    color: rgba(255, 255, 255, .5);
    flex-wrap: wrap;
}

.hero-breadcrumb a {
    color: rgba(255, 255, 255, .6);
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    transition: color .2s;
}

.hero-breadcrumb a:hover {
    color: #fff;
}

.hero-breadcrumb .fa-chevron-right {
    font-size: .6rem;
    opacity: .4;
}

.hero-breadcrumb span {
    color: rgba(255, 255, 255, .8);
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #7dd3fc;
    background: rgba(14, 165, 233, .18);
    border: 1px solid rgba(14, 165, 233, .3);
    padding: 5px 14px;
    border-radius: 30px;
    margin-bottom: 16px;
}

.hero-eyebrow i {
    animation: rocketBoost .8s ease-in-out infinite alternate;
}

@keyframes rocketBoost {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-4px);
    }
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 700;
    color: #fff;
    margin: 0 0 16px;
    line-height: 1.12;
    letter-spacing: -.03em;
}

.hero-title span {
    background: linear-gradient(90deg, #7dd3fc, #c4b5fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, .6);
    margin: 0 0 44px;
    line-height: 1.75;
    max-width: 640px;
}

/* KPI bar */
.hero-kpis {
    display: flex;
    gap: 0;
    margin-bottom: 40px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: var(--radius-lg);
    overflow: hidden;
    max-width: 760px;
}

.hero-kpi {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 20px 14px;
    border-right: 1px solid rgba(255, 255, 255, .08);
    transition: background .2s;
}

.hero-kpi:last-child {
    border-right: none;
}

.hero-kpi:hover {
    background: rgba(255, 255, 255, .08);
}

.hero-kpi>i {
    font-size: .82rem;
    color: rgba(255, 255, 255, .45);
}

.kpi-num {
    font-family: var(--font-display);
    font-size: 1.55rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

.kpi-lbl {
    font-size: .62rem;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: rgba(255, 255, 255, .45);
    text-align: center;
}

/* Hero CTAs */
.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 13px 28px;
    background: var(--primary);
    color: #fff;
    border-radius: 50px;
    font-weight: 700;
    font-size: .9rem;
    text-decoration: none;
    transition: all .22s;
    box-shadow: 0 5px 18px rgba(255, 107, 53, .32);
}

.hero-cta-btn:hover {
    background: var(--primary-dark, #e85a22);
    transform: translateY(-2px);
    box-shadow: 0 9px 26px rgba(255, 107, 53, .42);
}

.hero-cta-outline {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 13px 28px;
    background: rgba(255, 255, 255, .08);
    color: rgba(255, 255, 255, .8);
    border: 1.5px solid rgba(255, 255, 255, .2);
    border-radius: 50px;
    font-weight: 600;
    font-size: .9rem;
    text-decoration: none;
    transition: all .22s;
}

.hero-cta-outline:hover {
    background: rgba(255, 255, 255, .14);
    border-color: rgba(255, 255, 255, .35);
}

/* ==================== BODY ==================== */
.pub-body {
    background: var(--bg-soft);
    padding: 52px 0 96px;
}

.pub-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 10px;
}

.pub-label::before {
    content: '';
    display: block;
    width: 22px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
}

.pub-section-title {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 12px;
    letter-spacing: -.02em;
    line-height: 1.2;
}

.pub-section-sub {
    font-size: .9rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.6;
}

.pub-section-head {
    margin-bottom: 36px;
}

/* ==================== WHY SECTION ==================== */
.why-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 52px;
    align-items: center;
    margin-bottom: 72px;
}

.why-desc {
    font-size: .95rem;
    color: var(--text-muted);
    line-height: 1.78;
    margin: 0 0 24px;
}

.why-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.why-list li {
    display: flex;
    align-items: center;
    gap: 11px;
    font-size: .875rem;
    color: var(--text);
}

.why-list i {
    color: var(--secondary);
    font-size: .8rem;
    flex-shrink: 0;
}

.why-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.why-stat-card {
    background: var(--bg);
    border-radius: var(--radius-lg);
    padding: 24px 20px;
    text-align: center;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-xs);
    transition: all .3s var(--ease-spring);
}

.why-stat-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.wsc-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 12px;
    background: linear-gradient(135deg, rgba(255, 107, 53, .15), rgba(0, 184, 148, .1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    color: var(--primary);
}

.wsc-num {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1;
    margin-bottom: 4px;
}

.wsc-lbl {
    font-size: .72rem;
    color: var(--text-muted);
}

/* ==================== FORMATS GRID ==================== */
.formats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 72px;
}

.format-card {
    background: var(--bg);
    border-radius: var(--radius-xl);
    padding: 28px 24px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-xs);
    transition: all .3s var(--ease-spring);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.format-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

/* Popular card */
.format-popular {
    border-color: var(--fc, var(--primary));
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--fc, var(--primary)) 12%, transparent);
}

.fc-popular-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 11px;
    border-radius: 20px;
    font-size: .62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    background: var(--fc, var(--primary));
    color: #fff;
}

.fc-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 18px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: transform .3s;
}

.format-card:hover .fc-icon {
    transform: scale(1.12) rotate(5deg);
}

.fc-titre {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 10px;
    letter-spacing: -.01em;
}

.fc-desc {
    font-size: .82rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin: 0 0 18px;
    flex: 1;
}

.fc-specs {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-top: 1px solid var(--border-light);
    padding-top: 18px;
}

.fc-specs li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: .78rem;
    color: var(--text);
}

.fc-specs i {
    font-size: .68rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.fc-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.fc-price {
    display: flex;
    flex-direction: column;
}

.fc-price-from {
    font-size: .62rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: .1em;
}

.fc-price-val {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.2;
}

.fc-price-val small {
    font-size: .6rem;
    font-family: var(--font-body);
    font-weight: 500;
    color: var(--text-muted);
}

.fc-cta {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 18px;
    color: #fff;
    border-radius: 50px;
    font-weight: 700;
    font-size: .8rem;
    text-decoration: none;
    transition: all .22s;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .14);
}

.fc-cta:hover {
    filter: brightness(1.12);
    transform: translateY(-2px);
}

.fc-bottom-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--fc, var(--primary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s;
}

.format-card:hover .fc-bottom-bar {
    transform: scaleX(1);
}

/* ==================== PROCESS ==================== */
.process-section {
    margin-bottom: 72px;
}

.process-steps {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.process-step {
    flex: 1;
    min-width: 180px;
    background: var(--bg);
    border-radius: var(--radius-lg);
    padding: 24px 20px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-xs);
    text-align: center;
    position: relative;
    transition: all .3s var(--ease-spring);
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}

.ps-num {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: rgba(255, 107, 53, .15);
    line-height: 1;
    margin-bottom: 10px;
}

.ps-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 12px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #fff;
    box-shadow: 0 4px 12px rgba(255, 107, 53, .22);
}

.process-step h3 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 8px;
}

.process-step p {
    font-size: .78rem;
    color: var(--text-muted);
    line-height: 1.58;
    margin: 0;
}

.process-arrow {
    font-size: .85rem;
    color: var(--border);
    flex-shrink: 0;
}

/* ==================== DEVIS FORM ==================== */
.devis-section {}

.devis-card {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    background: var(--bg);
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
}

.devis-left {
    background: var(--text);
    padding: 52px 44px;
    position: relative;
    overflow: hidden;
}

.devis-left::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 60% at 10% 40%, rgba(14, 165, 233, .2) 0%, transparent 60%),
        radial-gradient(ellipse 50% 50% at 90% 80%, rgba(255, 107, 53, .14) 0%, transparent 55%);
    pointer-events: none;
}

.devis-left>* {
    position: relative;
    z-index: 1;
}

.devis-left .pub-label {
    color: #7dd3fc;
}

.devis-left .pub-label::before {
    background: #7dd3fc;
}

.devis-left .pub-section-title {
    color: #fff;
    font-size: 1.7rem;
    margin-bottom: 16px;
}

.devis-desc {
    font-size: .875rem;
    color: rgba(255, 255, 255, .65);
    line-height: 1.75;
    margin: 0 0 32px;
}

.devis-desc strong {
    color: #fff;
}

.devis-contact-info {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.dci-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: .82rem;
    color: rgba(255, 255, 255, .7);
}

.dci-item i {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    background: rgba(255, 255, 255, .1);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .82rem;
    color: #7dd3fc;
}

/* Form */
.devis-right {
    padding: 44px;
}

.devis-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.df-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.df-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.df-field label {
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--text-muted);
}

.df-field label span {
    color: var(--primary);
    margin-left: 2px;
}

.df-field input,
.df-field select,
.df-field textarea {
    padding: 10px 14px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    font-size: .875rem;
    font-family: var(--font-body);
    color: var(--text);
    background: var(--bg-soft);
    outline: none;
    transition: border-color .2s, box-shadow .2s;
    width: 100%;
}

.df-field input:focus,
.df-field select:focus,
.df-field textarea:focus {
    border-color: var(--primary);
    background: var(--bg);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, .1);
}

.df-field textarea {
    resize: vertical;
    min-height: 100px;
}

.df-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: .9rem;
    font-family: var(--font-body);
    cursor: pointer;
    transition: all .22s;
    box-shadow: 0 5px 16px rgba(255, 107, 53, .3);
    margin-top: 4px;
}

.df-submit:hover {
    background: var(--primary-dark, #e85a22);
    transform: translateY(-2px);
    box-shadow: 0 9px 24px rgba(255, 107, 53, .38);
}

.df-submit:disabled {
    opacity: .65;
    cursor: not-allowed;
    transform: none;
}

.df-legal {
    font-size: .68rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
}

/* Animations */
.fade-in {
    animation: fadeUp .55s var(--ease-out) both;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 1199px) {
    .formats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991px) {
    .why-section {
        grid-template-columns: 1fr;
    }

    .devis-card {
        grid-template-columns: 1fr;
    }

    .devis-left {
        padding: 36px 28px;
    }

    .hero-kpis {
        max-width: none;
        flex-wrap: wrap;
    }

    .hero-kpi {
        min-width: 120px;
        flex: 1;
    }
}

@media (max-width: 768px) {
    .pub-hero {
        padding: 48px 0 60px;
    }

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

    .df-row {
        grid-template-columns: 1fr;
    }

    .devis-right {
        padding: 28px 22px;
    }

    .process-steps {
        flex-direction: column;
        align-items: stretch;
    }

    .process-arrow {
        transform: rotate(90deg);
        align-self: center;
    }

    .why-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .hero-actions {
        flex-direction: column;
    }

    .hero-cta-btn,
    .hero-cta-outline {
        justify-content: center;
    }

    .why-stats {
        grid-template-columns: 1fr;
    }
}