/* ================================================================
   Orizon Digital — Feuille de style partagée — 2026
   ================================================================ */

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
img { max-width: 100%; display: block; }

/* ── VARIABLES ── */
:root {
    --navy:      #1B3A5C;
    --navy-dk:   #112640;
    --navy-lt:   #2A5280;
    --orange:    #0ABCCA;   /* teal cyan — harmonisé avec le logo officiel */
    --orange-dk: #089EAD;
    --cream:     #F3F7FA;
    --white:     #FFFFFF;
    --text:      #1A2535;
    --text-mid:  #475060;
    --text-lt:   #697282;
    --border:    #D0DCEA;
    --border-lt: #E4EEF4;
    --green:     #1A7A44;
    --sans:      'Segoe UI', system-ui, -apple-system, sans-serif;
    --max-w:     1140px;
    --px:        clamp(1.25rem, 4vw, 2.5rem);
    --py:        clamp(3rem, 6vw, 5rem);
}

/* ── BASE ── */
html { scroll-behavior: smooth; }
body {
    font-family: var(--sans);
    color: var(--text);
    background: var(--white);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}
h1 { font-size: clamp(1.7rem, 4vw, 2.6rem);   font-weight: 700; line-height: 1.15; }
h2 { font-size: clamp(1.3rem, 2.6vw, 1.85rem); font-weight: 700; line-height: 1.2; }
h3 { font-size: 1.05rem; font-weight: 700; line-height: 1.3; }
p  { line-height: 1.75; }

/* ── LAYOUT ── */
.wrap        { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--px); }
.section     { padding: var(--py) var(--px); }
.section-alt { background: var(--cream); }

/* ── TYPE HELPERS ── */
.tag {
    display: inline-block;
    font-size: .62rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--orange);
    font-weight: 600;
    margin-bottom: .65rem;
}
.sh   { margin-bottom: 2.5rem; }
.sh h2 { margin-bottom: .5rem; }
.sh p  { font-size: .97rem; color: var(--text-mid); max-width: 560px; }
.sh.center   { text-align: center; }
.sh.center p { margin: .5rem auto 0; }

/* ================================================================
   NAVIGATION
   ================================================================ */
.nav {
    background: var(--white);
    border-bottom: 1px solid var(--border-lt);
    position: sticky;
    top: 0;
    z-index: 200;
}
.nav-wrap {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 var(--px);
    height: 66px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: .6rem;
    text-decoration: none;
    flex-shrink: 0;
}
.logo img { height: 44px; width: auto; }
.logo-mark {
    width: 34px;
    height: 34px;
    background: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
}
.logo-mark svg { width: 20px; height: 14px; }
.logo-txt  { line-height: 1; }
.logo-name {
    font-size: 1.08rem;
    font-weight: 700;
    color: var(--navy);
    letter-spacing: -.01em;
    display: block;
}
.logo-name span { color: var(--orange); }
.logo-sub {
    font-size: .58rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--text-lt);
    display: block;
    margin-top: .1rem;
}

/* Desktop links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    list-style: none;
}
.nav-links a {
    font-size: .82rem;
    color: var(--text-mid);
    text-decoration: none;
    transition: color .2s;
    white-space: nowrap;
}
.nav-links a:hover  { color: var(--navy); }
.nav-links a.active { color: var(--navy); font-weight: 600; }
.nav-cta {
    padding: .5rem 1.35rem;
    background: var(--orange);
    color: var(--white) !important;
    font-weight: 700;
    font-size: .8rem !important;
    transition: background .2s !important;
}
.nav-cta:hover { background: var(--orange-dk) !important; }

/* Hamburger */
.nav-ham {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: .4rem;
    color: var(--navy);
}

/* Mobile nav */
.mob-nav {
    display: none;
    flex-direction: column;
    background: var(--white);
    border-bottom: 2px solid var(--border-lt);
    padding: .5rem var(--px) 1rem;
}
.mob-nav.open { display: flex; }
.mob-nav a {
    font-size: .9rem;
    color: var(--text-mid);
    text-decoration: none;
    padding: .8rem 0;
    border-bottom: 1px solid var(--border-lt);
    transition: color .2s;
}
.mob-nav a:last-child { border-bottom: none; }
.mob-nav a:hover  { color: var(--navy); }
.mob-nav a.active { color: var(--navy); font-weight: 600; }
.mob-cta {
    display: block;
    margin-top: .75rem;
    padding: .9rem;
    background: var(--orange);
    color: var(--white) !important;
    text-align: center;
    font-weight: 700;
    border-bottom: none !important;
}
.mob-cta:hover { background: var(--orange-dk) !important; }

/* ================================================================
   BOUTONS
   ================================================================ */
.btn {
    display: inline-block;
    padding: .875rem 2rem;
    font-size: .88rem;
    font-weight: 700;
    letter-spacing: .01em;
    text-decoration: none;
    cursor: pointer;
    border: none;
    font-family: var(--sans);
    transition: all .2s;
    text-align: center;
    white-space: nowrap;
}
.btn-primary { background: var(--orange); color: var(--white); }
.btn-primary:hover { background: var(--orange-dk); }
.btn-navy    { background: var(--navy);  color: var(--white); }
.btn-navy:hover { background: var(--navy-dk); }
.btn-outline {
    background: transparent;
    border: 2px solid var(--navy);
    color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-ghost {
    background: transparent;
    border: 1.5px solid rgba(255,255,255,.4);
    color: rgba(255,255,255,.85);
}
.btn-ghost:hover { border-color: rgba(255,255,255,.75); color: var(--white); background: rgba(255,255,255,.08); }
.btn-lg    { padding: 1.05rem 2.4rem; font-size: .94rem; }
.btn-sm    { padding: .55rem 1.3rem; font-size: .8rem; }
.btn-block { display: block; width: 100%; }

/* ================================================================
   FOOTER
   ================================================================ */
.footer {
    background: var(--navy-dk);
    padding: 3.5rem var(--px) 2rem;
}
.footer-inner { max-width: var(--max-w); margin: 0 auto; }
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255,255,255,.07);
    margin-bottom: 1.75rem;
}
.f-logo-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -.01em;
}
.f-logo-name span { color: var(--orange); }
.f-tagline { font-size: .79rem; color: rgba(255,255,255,.48); margin: .4rem 0 1.25rem; line-height: 1.65; }
.f-contact { font-size: .81rem; color: rgba(255,255,255,.55); line-height: 2.1; }
.f-contact a { text-decoration: none; color: rgba(255,255,255,.5); transition: color .2s; }
.f-contact a:hover { color: rgba(255,255,255,.8); }
.f-col-title {
    font-size: .6rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: rgba(255,255,255,.25);
    margin-bottom: 1rem;
}
.f-links { list-style: none; display: flex; flex-direction: column; gap: .55rem; }
.f-links a {
    font-size: .81rem;
    color: rgba(255,255,255,.55);
    text-decoration: none;
    transition: color .2s;
}
.f-links a:hover { color: rgba(255,255,255,.85); }
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: .5rem;
}
.f-copy { font-size: .68rem; color: rgba(255,255,255,.32); }

/* ================================================================
   PAGE HERO (sous-pages)
   ================================================================ */
.page-hero {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dk) 100%);
    padding: clamp(2.5rem, 5vw, 4.5rem) var(--px);
    text-align: center;
}
.page-hero-inner { max-width: 680px; margin: 0 auto; }
.page-hero .tag { color: rgba(255,255,255,.42); }
.page-hero h1   { color: var(--white); margin-bottom: .9rem; }
.page-hero p    { font-size: 1rem; color: rgba(255,255,255,.75); line-height: 1.8; margin-bottom: 1.75rem; }
.page-hero .btn { margin: .3rem; }

/* ================================================================
   CHECK LISTS
   ================================================================ */
.ck-list { list-style: none; display: flex; flex-direction: column; gap: .65rem; }
.ck-list li {
    display: flex;
    align-items: flex-start;
    gap: .7rem;
    font-size: .93rem;
    color: var(--text-mid);
    line-height: 1.55;
}
.ck-list .ok { color: var(--green); font-weight: 700; flex-shrink: 0; margin-top: .05rem; }
.ck-list .no { color: #B91C1C;    font-weight: 700; flex-shrink: 0; margin-top: .05rem; }
.ck-list.white li { color: rgba(255,255,255,.65); }
.ck-list.white .ok { color: #4ADE80; }

/* ================================================================
   FAQ ACCORDION
   ================================================================ */
.faq-item { border-top: 1px solid var(--border-lt); }
.faq-item:last-child { border-bottom: 1px solid var(--border-lt); }
.faq-q {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1.1rem 0;
    cursor: pointer;
    user-select: none;
}
.faq-q-txt { font-size: .92rem; font-weight: 600; color: var(--text); }
.faq-icon {
    width: 26px; height: 26px;
    border: 1.5px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem;
    color: var(--text-mid);
    flex-shrink: 0;
    transition: all .2s;
    line-height: 1;
}
.faq-item.open .faq-icon { background: var(--navy); border-color: var(--navy); color: var(--white); }
.faq-body { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-item.open .faq-body { max-height: 280px; }
.faq-body p { font-size: .88rem; color: var(--text-mid); line-height: 1.8; padding-bottom: 1.2rem; }

/* ================================================================
   CTA BANNER
   ================================================================ */
.cta-band {
    background: linear-gradient(135deg, #0899AB 0%, #0B8A6E 100%);
    padding: clamp(3rem, 6vw, 4.5rem) var(--px);
    text-align: center;
}
.cta-band h2 { color: var(--white); margin-bottom: .7rem; }
.cta-band p  { color: rgba(255,255,255,.8); font-size: 1rem; margin-bottom: 1.75rem; }
.cta-band .btn { margin: .3rem; }

/* ================================================================
   DEMO PREVIEW CARDS
   ================================================================ */
.demo-card {
    border: 1px solid var(--border);
    background: var(--white);
    overflow: hidden;
    transition: box-shadow .25s, transform .25s;
    display: block;
    text-decoration: none;
    color: var(--text);
}
.demo-card:hover { box-shadow: 0 8px 28px rgba(27,58,92,.12); transform: translateY(-3px); }
.demo-thumb {
    height: 175px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.thumb-bar {
    height: 34px;
    display: flex;
    align-items: center;
    padding: 0 .85rem;
    gap: .4rem;
}
.thumb-bar span { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.3); }
.thumb-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    padding: .75rem;
}
.dl     { height: 6px; border-radius: 2px; background: rgba(255,255,255,.2); }
.dl-80  { width: 80%; }
.dl-60  { width: 60%; }
.dl-40  { width: 40%; }
.thumb-cta { height: 16px; width: 70px; margin-top: .25rem; }
.demo-info { padding: 1.25rem; }
.demo-name { font-size: .93rem; font-weight: 700; color: var(--text); margin-bottom: .3rem; }
.demo-desc { font-size: .82rem; color: var(--text-mid); line-height: 1.6; margin-bottom: 1rem; }
.demo-sectors { display: flex; flex-wrap: wrap; gap: .35rem; margin-bottom: 1rem; }
.stag {
    font-size: .7rem;
    padding: .2rem .65rem;
    background: var(--cream);
    color: var(--text-mid);
    border: 1px solid var(--border-lt);
}
.demo-btns { display: flex; flex-wrap: wrap; gap: .5rem; }

/* ================================================================
   PRICING CARDS
   ================================================================ */
.price-card {
    border: 1.5px solid var(--border);
    padding: 2rem;
    position: relative;
    background: var(--white);
}
.price-card.featured { border-color: var(--navy); }
.price-badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--orange);
    color: var(--white);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: .3rem 1rem;
    white-space: nowrap;
}
.price-name   { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: .4rem; }
.price-amount {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--navy);
    line-height: 1;
    margin-bottom: .2rem;
}
.price-amount sub { font-size: 1rem; font-weight: 400; color: var(--text-mid); }
.price-period { font-size: .82rem; color: var(--text-mid); margin-bottom: .85rem; }
.price-line  { display: flex; align-items: baseline; gap: .4rem; margin-bottom: .2rem; }
.price-value { font-size: 2rem; font-weight: 700; color: var(--navy); line-height: 1; }
.price-unit  { font-size: .9rem; color: var(--text-mid); }
.price-note {
    font-size: .8rem;
    color: var(--text-lt);
    padding: .6rem 0;
    border-top: 1px solid var(--border-lt);
    border-bottom: 1px solid var(--border-lt);
    margin-bottom: 1.25rem;
    line-height: 1.6;
}

/* ================================================================
   FEATURE GRID
   ================================================================ */
.feature-icon {
    width: 44px; height: 44px;
    background: var(--cream);
    border: 1px solid var(--border-lt);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem;
    margin-bottom: .9rem;
}

/* ================================================================
   PROCESS STEPS
   ================================================================ */
.step { display: flex; gap: 1.25rem; align-items: flex-start; }
.step-num {
    width: 40px; height: 40px;
    background: var(--navy);
    color: var(--white);
    font-size: .85rem;
    font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.step-body h3 { margin-bottom: .35rem; }
.step-body p  { font-size: .9rem; color: var(--text-mid); }

/* ================================================================
   FORM
   ================================================================ */
.form-grid { display: grid; gap: 1.25rem; }
.fg2 { grid-template-columns: 1fr 1fr; }
.form-group { display: flex; flex-direction: column; gap: .4rem; }
.form-group label { font-size: .82rem; font-weight: 600; color: var(--text); }
.form-group input,
.form-group select,
.form-group textarea {
    padding: .75rem 1rem;
    border: 1.5px solid var(--border);
    font-size: .9rem;
    font-family: var(--sans);
    color: var(--text);
    background: var(--white);
    transition: border-color .2s;
    width: 100%;
    appearance: none;
    -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus  { outline: none; border-color: var(--navy); }
.form-group textarea { resize: vertical; min-height: 110px; }
.form-group select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235A6678' stroke-width='1.5' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }
.form-note { font-size: .78rem; color: var(--text-lt); line-height: 1.6; }
.form-radio-group { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.form-radio { display: flex; align-items: center; gap: .5rem; font-size: .88rem; color: var(--text-mid); cursor: pointer; }
.form-radio input { width: auto; appearance: auto; -webkit-appearance: auto; }
.confirm-box {
    display: none;
    background: #EDF7EE;
    border: 1.5px solid #6EBF8B;
    padding: 2.25rem;
    text-align: center;
}
.confirm-box h3 { color: var(--green); margin-bottom: .6rem; }
.confirm-box p  { font-size: .9rem; color: var(--text-mid); }

/* ================================================================
   LEGAL PAGES
   ================================================================ */
.legal-content { max-width: 760px; margin: 0 auto; }
.legal-content h2 { font-size: 1.15rem; margin: 2.5rem 0 .75rem; color: var(--navy); }
.legal-content h3 { font-size: .97rem; margin: 1.75rem 0 .5rem; }
.legal-content p  { font-size: .92rem; color: var(--text-mid); margin-bottom: .85rem; }
.legal-content ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin-bottom: .85rem;
}
.legal-content ul li { font-size: .92rem; color: var(--text-mid); margin-bottom: .3rem; line-height: 1.65; }
.legal-content a { color: var(--navy); }
.legal-info {
    background: var(--cream);
    border: 1px solid var(--border-lt);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    font-size: .9rem;
    color: var(--text-mid);
    line-height: 2;
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 900px) {
    .nav-links { display: none; }
    .nav-ham   { display: block; }
    .footer-grid   { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .fg2 { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .demo-thumb { height: 140px; }
}
@media (max-width: 600px) {
    .price-card          { padding: 1.25rem 1.35rem; }
    .price-card.featured { margin-top: 1.5rem !important; padding-top: 1.5rem !important; }
    .price-value         { font-size: 1.7rem; }
    .price-name          { margin-bottom: .3rem; }
    .price-period        { margin-bottom: .6rem; }
    .price-note          { margin-bottom: .9rem; padding: .5rem 0; }
}
