/* =========================================================
   PIXAL POP TV — Landing page
   Brand colors:
   - Primary  #2B6CB0  (Pixal Blue)
   - Primary dark #1E5A96
   - Secondary #F5841F (Orange Pop)
   - Yellow   #F5B731
   - BG       #EFF3F8
   - Text     #1A2332
   ========================================================= */

:root {
    --primary: #2B6CB0;
    --primary-dark: #1E5A96;
    --primary-soft: #E8F0FA;
    --secondary: #F5841F;
    --secondary-dark: #D86F12;
    --warning: #F5B731;
    --navy: #1A2332;
    --bg: #EFF3F8;
    --bg-alt: #F7FAFC;
    --text: #1A2332;
    --text-soft: #4A5568;
    --muted: #718096;
    --white: #ffffff;
    --border: #E2E8F0;
    --shadow-sm: 0 2px 6px rgba(30, 50, 80, .06);
    --shadow-md: 0 8px 30px rgba(30, 50, 80, .08);
    --shadow-lg: 0 24px 60px rgba(30, 50, 80, .14);
    --radius: 12px;
    --radius-lg: 20px;
    --container: 1200px;
    --easing: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img, svg { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; transition: color .2s var(--easing); }
a:hover { color: var(--primary-dark); }

ul { list-style: none; }

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

/* =========================================================
   Typography helpers
   ========================================================= */
h1, h2, h3, h4, h5 { color: var(--navy); font-weight: 700; line-height: 1.2; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 1.6vw, 1.5rem); }
h4 { font-size: 1.05rem; font-weight: 700; }

.eyebrow {
    display: inline-block;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--primary);
    background: var(--primary-soft);
    padding: 6px 14px;
    border-radius: 999px;
}
.eyebrow--center { display: inline-block; }
.eyebrow--white { color: var(--white); background: rgba(255, 255, 255, .15); }

.hl { color: var(--primary); }
.hl-orange { color: var(--secondary); }

/* =========================================================
   Buttons
   ========================================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all .25s var(--easing);
    white-space: nowrap;
    text-align: center;
}

.btn--primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 6px 18px rgba(43, 108, 176, .35);
}
.btn--primary:hover {
    background: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(43, 108, 176, .45);
}

.btn--ghost {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}
.btn--ghost:hover {
    background: var(--primary-soft);
    color: var(--primary-dark);
}

.btn--white {
    background: var(--white);
    color: var(--primary);
}
.btn--white:hover { background: var(--primary-soft); transform: translateY(-2px); }

.btn--outline-white {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, .5);
}
.btn--outline-white:hover { background: rgba(255, 255, 255, .12); }

/* =========================================================
   Navigation
   ========================================================= */
.nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, .95);
    backdrop-filter: saturate(180%) blur(10px);
    border-bottom: 1px solid var(--border);
}
.nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 24px;
    height: 70px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--navy);
    font-weight: 800;
    letter-spacing: -.01em;
}
.brand__img {
    height: 48px;
    width: auto;
    display: block;
}
.brand__logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.brand__name { font-size: 1.15rem; }
.brand__pop { color: var(--secondary); }

.nav__menu {
    display: flex;
    align-items: center;
    gap: 28px;
}
.nav__menu a {
    color: var(--text);
    font-weight: 500;
    font-size: .95rem;
    padding: 8px 0;
    position: relative;
}
.nav__menu a:not(.nav__cta)::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 2px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s var(--easing);
}
.nav__menu a:not(.nav__cta):hover::after { transform: scaleX(1); }

.nav__cta {
    background: var(--primary);
    color: var(--white) !important;
    padding: 10px 18px !important;
    border-radius: 8px;
    font-weight: 600;
    transition: background .25s var(--easing);
}
.nav__cta:hover { background: var(--primary-dark); }

.nav__burger {
    display: none;
    background: transparent;
    border: 0;
    width: 40px;
    height: 40px;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    align-items: center;
}
.nav__burger span {
    width: 24px;
    height: 2px;
    background: var(--navy);
    transition: all .25s var(--easing);
}
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
    position: relative;
    overflow: hidden;
    padding: 90px 0 110px;
    background: linear-gradient(180deg, #fff 0%, var(--bg) 100%);
}
.hero__bg {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(60% 60% at 90% 10%, rgba(245, 132, 31, .15), transparent 70%),
        radial-gradient(50% 50% at 10% 100%, rgba(43, 108, 176, .15), transparent 70%);
    pointer-events: none;
}

.hero__inner {
    position: relative;
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 56px;
    align-items: center;
}

.hero__copy h1 {
    margin: 16px 0 22px;
}
.lede {
    font-size: 1.15rem;
    color: var(--text-soft);
    margin-bottom: 32px;
    max-width: 560px;
}

.hero__cta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}

.hero__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    color: var(--text-soft);
    font-size: .95rem;
}
.hero__badges li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.hero__badges strong { color: var(--primary); font-weight: 800; }

/* Hero visual (photo + decorative TV + phone) */
.hero__visual {
    position: relative;
    height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero__photo {
    position: absolute;
    inset: 0;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: var(--primary-soft);
}
.hero__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.hero__photo::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(43, 108, 176, .35) 0%, rgba(245, 132, 31, .15) 100%);
    pointer-events: none;
}

.device { position: absolute; z-index: 3; }

.device--tv {
    width: 320px;
    transform: rotate(-3deg);
    bottom: 30px;
    left: 20px;
    z-index: 2;
}
.device__screen {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 16px;
    aspect-ratio: 16 / 10;
    padding: 22px;
    box-shadow: var(--shadow-lg);
    color: var(--white);
    position: relative;
    overflow: hidden;
}
.device__screen::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(50% 60% at 80% 20%, rgba(255, 255, 255, .12), transparent 60%);
}
.screen__row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 18px;
    position: relative;
}
.screen__pill {
    background: rgba(255, 255, 255, .15);
    backdrop-filter: blur(8px);
    padding: 8px 14px;
    border-radius: 999px;
    font-size: .8rem;
    font-weight: 600;
}
.screen__weather {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: auto;
    position: relative;
}
.screen__temp { font-size: 2.6rem; font-weight: 800; line-height: 1; }
.screen__city { font-size: .85rem; opacity: .8; }
.screen__welcome {
    background: var(--secondary);
    color: var(--white);
    padding: 10px 14px;
    border-radius: 8px;
    font-weight: 600;
    font-size: .9rem;
    position: absolute;
    bottom: 22px;
    left: 22px;
    right: 22px;
}
.device__base {
    height: 14px;
    width: 50%;
    background: linear-gradient(180deg, #9aa9b8 0%, #6a7a8a 100%);
    margin: 6px auto 0;
    border-radius: 0 0 12px 12px;
}

.device--phone {
    width: 170px;
    bottom: 20px;
    right: 20px;
    transform: rotate(8deg);
    z-index: 3;
}
.phone__screen {
    background: var(--white);
    border-radius: 22px;
    padding: 18px 14px;
    border: 6px solid var(--navy);
    box-shadow: var(--shadow-lg);
    aspect-ratio: 9 / 16;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.phone__bar {
    width: 50px;
    height: 4px;
    background: var(--border);
    border-radius: 999px;
    margin: 0 auto 8px;
}
.phone__title {
    font-size: .9rem;
    font-weight: 800;
    color: var(--primary);
    text-align: center;
    margin-bottom: 6px;
}
.phone__btn {
    background: var(--primary-soft);
    color: var(--primary);
    padding: 10px;
    border-radius: 8px;
    font-size: .75rem;
    font-weight: 600;
    text-align: center;
}
.phone__btn--alt { background: #FFF4E6; color: var(--secondary-dark); }
.phone__btn--cta { background: var(--secondary); color: var(--white); }

/* =========================================================
   STRIP (trust)
   ========================================================= */
.strip {
    background: var(--navy);
    color: var(--white);
}
.strip__inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 18px;
    padding: 18px 24px;
}
.strip__item {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: .95rem;
    font-weight: 500;
    opacity: .9;
}
.strip__item span { font-size: 1.4rem; }

/* =========================================================
   Section base
   ========================================================= */
.section {
    padding: 100px 0;
}
.section--alt { background: var(--bg); }
.section__head {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 60px;
}
.section__head h2 { margin: 16px 0; }
.section__sub { color: var(--text-soft); font-size: 1.1rem; }

/* =========================================================
   Cartes produits (4)
   ========================================================= */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}
.card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    transition: transform .3s var(--easing), box-shadow .3s var(--easing);
}
.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}
.card__icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
}
.card--blue   .card__icon { background: var(--primary); }
.card--orange .card__icon { background: var(--secondary); }
.card--yellow .card__icon { background: var(--warning); }
.card--navy   .card__icon { background: var(--navy); }

.card h3 { margin-bottom: 6px; }
.card__alt { font-weight: 500; color: var(--muted); font-size: .9em; }
.card__tag {
    color: var(--primary);
    font-weight: 600;
    font-size: .9rem;
    margin-bottom: 14px;
}
.card--orange .card__tag { color: var(--secondary-dark); }
.card--yellow .card__tag { color: #B5821C; }
.card--navy   .card__tag { color: var(--navy); }
.card p { color: var(--text-soft); margin-bottom: 18px; }
.card__bullets {
    margin-bottom: 22px;
    flex-grow: 1;
}
.card__bullets li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 10px;
    color: var(--text-soft);
    font-size: .92rem;
}
.card__bullets li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary);
    font-weight: 800;
}
.card--orange .card__bullets li::before { color: var(--secondary); }
.card--yellow .card__bullets li::before { color: #B5821C; }
.card--navy   .card__bullets li::before { color: var(--navy); }

.card__more {
    color: var(--primary);
    font-weight: 600;
    font-size: .92rem;
}
.card__more:hover { transform: translateX(2px); }

/* =========================================================
   Fonctionnalités détaillées
   ========================================================= */
.feat {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 48px;
    margin-bottom: 32px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}
.feat:last-child { margin-bottom: 0; }
.feat__head {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 40px;
}
.feat__chip {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 999px;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .04em;
    margin-bottom: 14px;
    color: var(--white);
}
.feat__chip--blue   { background: var(--primary); }
.feat__chip--orange { background: var(--secondary); }
.feat__chip--yellow { background: var(--warning); color: var(--navy); }
.feat__chip--navy   { background: var(--navy); }
.feat__head h3 { font-size: clamp(1.4rem, 2.2vw, 2rem); margin-bottom: 12px; }
.feat__head p { color: var(--text-soft); font-size: 1.05rem; }

.feat__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
}
.feat__col {
    padding: 24px;
    background: var(--bg-alt);
    border-radius: 14px;
    border: 1px solid var(--border);
}
.feat__col h4 {
    font-size: 1rem;
    margin-bottom: 14px;
    color: var(--primary);
    letter-spacing: .01em;
}
.feat__col ul li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 8px;
    color: var(--text-soft);
    font-size: .9rem;
    line-height: 1.5;
}
.feat__col ul li::before {
    content: '›';
    position: absolute;
    left: 4px;
    top: 0;
    color: var(--primary);
    font-weight: 700;
}

/* =========================================================
   Secteurs (4 cards horizontales)
   ========================================================= */
.sectors {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}
.sector {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: all .3s var(--easing);
    display: flex;
    flex-direction: column;
}
.sector:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-soft);
}
.sector__media {
    position: relative;
    aspect-ratio: 16 / 11;
    overflow: hidden;
    background: var(--bg);
}
.sector__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s var(--easing);
}
.sector:hover .sector__media img { transform: scale(1.05); }
.sector__media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(26, 35, 50, .55) 100%);
}
.sector__badge {
    position: absolute;
    bottom: 14px;
    left: 14px;
    z-index: 2;
    background: var(--primary);
    color: var(--white);
    padding: 6px 12px;
    border-radius: 999px;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .25);
}
.sector__badge--orange { background: var(--secondary); }
.sector__badge--yellow { background: var(--warning); color: var(--navy); }
.sector__badge--navy   { background: var(--navy); }
.sector__body {
    padding: 22px 22px 26px;
}
.sector__body h3 { margin-bottom: 8px; font-size: 1.15rem; }
.sector__body p { color: var(--text-soft); font-size: .92rem; }

/* =========================================================
   Tech grid
   ========================================================= */
.tech {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}
.tech__col {
    background: var(--white);
    border-radius: var(--radius);
    padding: 28px;
    border: 1px solid var(--border);
}
.tech__col h4 {
    font-size: 1.05rem;
    margin-bottom: 14px;
    color: var(--primary);
}
.tech__col ul li {
    padding: 8px 0;
    color: var(--text-soft);
    font-size: .9rem;
    border-bottom: 1px dashed var(--border);
}
.tech__col ul li:last-child { border-bottom: 0; }
.tech__col strong { color: var(--navy); }

/* =========================================================
   Bénéfices
   ========================================================= */
.benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}
.benefit {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 28px 28px;
    border: 1px solid var(--border);
    transition: all .3s var(--easing);
}
.benefit:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}
.benefit__num {
    position: absolute;
    top: 20px;
    right: 24px;
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary-soft);
    line-height: 1;
}
.benefit h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
}
.benefit p {
    color: var(--text-soft);
    font-size: .95rem;
}

/* =========================================================
   CTA Section
   ========================================================= */
.cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}
.cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(40% 60% at 80% 20%, rgba(245, 132, 31, .25), transparent 60%),
        radial-gradient(40% 60% at 10% 100%, rgba(245, 183, 49, .2), transparent 60%);
    pointer-events: none;
}
.cta__inner {
    position: relative;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 40px;
    align-items: center;
}
.cta__copy h2 { color: var(--white); margin: 14px 0 16px; }
.cta__copy p { color: rgba(255, 255, 255, .9); font-size: 1.05rem; max-width: 540px; }
.cta__actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
    justify-self: end;
    min-width: 280px;
}
.cta__actions .btn { width: 100%; }

/* =========================================================
   Footer
   ========================================================= */
.footer {
    background: var(--navy);
    color: rgba(255, 255, 255, .7);
    padding: 60px 0 30px;
}
.footer .brand { color: var(--white); }
.footer__inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 36px;
    margin-bottom: 40px;
}
.footer__logo {
    height: 72px;
    width: auto;
    display: block;
    margin-bottom: 16px;
}
.footer__brand p {
    font-size: .9rem;
    max-width: 320px;
}
.footer__col h5 {
    color: var(--white);
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .12em;
    margin-bottom: 14px;
}
.footer__col ul li { margin-bottom: 10px; }
.footer__col a {
    color: rgba(255, 255, 255, .7);
    font-size: .92rem;
}
.footer__col a:hover { color: var(--white); }

.footer__legal {
    border-top: 1px solid rgba(255, 255, 255, .1);
    padding-top: 24px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    font-size: .82rem;
    color: rgba(255, 255, 255, .5);
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 960px) {
    .hero__inner { grid-template-columns: 1fr; gap: 40px; }
    .hero__visual { height: 380px; }
    .device--tv { width: 320px; }
    .device--phone { width: 150px; }

    .nav__menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        gap: 0;
        padding: 16px 24px 24px;
        border-bottom: 1px solid var(--border);
        transform: translateY(-110%);
        transition: transform .3s var(--easing);
        align-items: stretch;
    }
    .nav__menu.is-open { transform: translateY(0); }
    .nav__menu a { padding: 14px 0; border-bottom: 1px solid var(--border); }
    .nav__menu a:last-child { border-bottom: 0; }
    .nav__cta { text-align: center; margin-top: 8px; }
    .nav__burger { display: flex; }

    .feat { padding: 32px 24px; }

    .cta__inner { grid-template-columns: 1fr; }
    .cta__actions { justify-self: stretch; }

    .footer__inner { grid-template-columns: 1fr 1fr; gap: 24px; }
    .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
    .section { padding: 70px 0; }
    .hero { padding: 60px 0 80px; }
    .hero__cta { flex-direction: column; }
    .hero__cta .btn { width: 100%; }
    .feat { padding: 24px 18px; }
    .feat__col { padding: 18px; }
    .footer__inner { grid-template-columns: 1fr; }
}
