:root{
    --bg:#f7f8fa;
    --surface:#ffffff;
    --text:#111111;
    --muted:#62666c;
    --line:#dfe3e8;
    --dark:#111111;
    --accent:#129ed9;
    --accent-soft:#e8f6fc;
    --green-soft:#eef3f6;
    --radius:18px;
    --shadow:0 18px 45px rgba(0,0,0,.08);
}

*{
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    margin:0;
    font-family:Arial, Helvetica, sans-serif;
    background:var(--bg);
    color:var(--text);
    line-height:1.55;
}

a{
    color:inherit;
    text-decoration:none;
}

button,
a{
    transition:.2s ease;
}

.container{
    width:min(1180px, calc(100% - 40px));
    margin:0 auto;
}

.site-header{
    position:sticky;
    top:0;
    z-index:30;
    background:rgba(247,244,237,.94);
    border-bottom:1px solid rgba(0,0,0,.06);
    backdrop-filter:blur(14px);
}

.nav-wrap{
    min-height:84px;
    display:flex;
    align-items:center;
    gap:28px;
}

.brand{
    display:flex;
    align-items:center;
    gap:12px;
    min-width:max-content;
}

.brand-mark{
    width:45px;
    height:45px;
    border-radius:50%;
    display:grid;
    place-items:center;
    background:var(--dark);
    color:white;
    font-weight:800;
    letter-spacing:-1px;
}

.brand-text{
    display:flex;
    flex-direction:column;
    line-height:1.15;
}

.brand-text strong{
    font-family:Georgia, serif;
    font-size:17px;
}

.brand-text small{
    color:var(--muted);
    margin-top:4px;
    font-size:11px;
    text-transform:uppercase;
    letter-spacing:.08em;
}

.main-nav{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:23px;
    margin-left:auto;
}

.main-nav a{
    font-size:14px;
    font-weight:600;
}

.main-nav a:hover,
.text-link:hover{
    color:var(--accent);
}

.nav-cta{
    min-width:max-content;
}

.menu-toggle{
    display:none;
    border:0;
    background:transparent;
    font-size:26px;
    cursor:pointer;
    margin-left:auto;
}

.btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:48px;
    padding:0 22px;
    border-radius:999px;
    font-weight:700;
    font-size:14px;
    border:1px solid transparent;
}

.btn-primary{
    background:var(--accent);
    color:white;
}

.btn-primary:hover{
    transform:translateY(-2px);
}

.btn-dark{
    background:var(--dark);
    color:white;
}

.btn-outline{
    border-color:var(--text);
    color:var(--text);
}

.btn-light{
    background:white;
    color:var(--dark);
}

.hero{
    min-height:680px;
    display:flex;
    align-items:center;
    padding:80px 0 70px;
    overflow:hidden;
}

.hero-grid{
    display:grid;
    grid-template-columns:1.08fr .92fr;
    gap:70px;
    align-items:center;
}

.eyebrow{
    display:inline-block;
    text-transform:uppercase;
    letter-spacing:.16em;
    font-weight:800;
    font-size:12px;
    color:var(--accent);
    margin-bottom:18px;
}

.eyebrow.light{
    color:#f4d8bc;
}

.hero h1,
.section h2{
    font-family:Georgia, "Times New Roman", serif;
    font-weight:500;
    letter-spacing:-.04em;
    line-height:1.05;
    margin:0;
}

.hero h1{
    font-size:clamp(46px,6vw,76px);
    max-width:760px;
}

.hero-copy > p{
    font-size:19px;
    color:var(--muted);
    max-width:630px;
    margin:26px 0 30px;
}

.hero-actions{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
}

.hero-stats{
    display:flex;
    gap:38px;
    margin-top:48px;
}

.hero-stats div{
    display:flex;
    flex-direction:column;
}

.hero-stats strong{
    font-family:Georgia, serif;
    font-size:27px;
}

.hero-stats span{
    color:var(--muted);
    font-size:12px;
    text-transform:uppercase;
    letter-spacing:.08em;
}

.hero-visual{
    position:relative;
    min-height:520px;
    display:grid;
    place-items:center;
}

.book-card{
    background:white;
    width:min(360px,80%);
    border-radius:28px;
    padding:18px;
    box-shadow:var(--shadow);
    transform:rotate(3deg);
}

.book-cover{
    aspect-ratio:4/5.3;
    border-radius:20px;
    padding:34px;
    display:flex;
    flex-direction:column;
    justify-content:flex-end;
    color:white;
}

.book-cover span{
    font-size:12px;
    text-transform:uppercase;
    letter-spacing:.15em;
    opacity:.8;
}

.book-cover strong{
    font-family:Georgia, serif;
    font-size:34px;
    line-height:1.05;
    margin-top:12px;
}

.cover-one{
    background:
        linear-gradient(rgba(20,37,29,.1),rgba(20,37,29,.45)),
        linear-gradient(145deg,#233d30,#b66b2f);
}

.book-meta{
    padding:20px 8px 6px;
}

.book-meta small{
    color:var(--accent);
    font-weight:700;
}

.book-meta h3{
    font-family:Georgia, serif;
    margin:4px 0 0;
    font-size:21px;
}

.floating-card{
    position:absolute;
    background:white;
    border:1px solid var(--line);
    box-shadow:var(--shadow);
    border-radius:16px;
    padding:13px 18px;
    font-weight:700;
    font-size:13px;
}

.card-one{
    top:90px;
    left:0;
}

.card-two{
    right:-8px;
    bottom:95px;
}

.section{
    padding:96px 0;
}

.section-heading{
    display:flex;
    justify-content:space-between;
    align-items:end;
    gap:30px;
    margin-bottom:42px;
}

.section h2{
    font-size:clamp(37px,5vw,58px);
}

.text-link{
    font-weight:700;
    color:var(--dark);
}

.category-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:16px;
}

.category-card{
    background:var(--surface);
    border:1px solid var(--line);
    border-radius:var(--radius);
    padding:32px 26px;
    min-height:260px;
    display:flex;
    flex-direction:column;
}

.category-card:hover{
    transform:translateY(-5px);
    box-shadow:var(--shadow);
}

.category-number{
    color:var(--accent);
    font-weight:800;
    font-size:12px;
    letter-spacing:.1em;
}

.category-card h3{
    font-family:Georgia, serif;
    font-size:28px;
    margin:auto 0 10px;
}

.category-card p{
    color:var(--muted);
    margin:0;
}

.books-section{
    background:#eee8de;
}

.books-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:22px;
}

.product-card{
    background:white;
    padding:14px;
    border-radius:20px;
    border:1px solid rgba(0,0,0,.05);
}

.product-card:hover{
    transform:translateY(-5px);
    box-shadow:var(--shadow);
}

.product-cover{
    aspect-ratio:4/5.3;
    border-radius:13px;
    padding:22px;
    display:flex;
    flex-direction:column;
    justify-content:flex-end;
    color:white;
}

.product-cover span{
    font-size:11px;
    text-transform:uppercase;
    letter-spacing:.13em;
    opacity:.8;
}

.product-cover strong{
    font-family:Georgia, serif;
    font-size:26px;
    line-height:1.05;
    margin-top:10px;
}

.cover-a{background:linear-gradient(145deg,#3a352c,#ac7c4d);}
.cover-b{background:linear-gradient(145deg,#244c52,#c48d59);}
.cover-c{background:linear-gradient(145deg,#6b332f,#d9a669);}
.cover-d{background:linear-gradient(145deg,#213628,#657e62);}

.product-info{
    padding:18px 4px 6px;
}

.product-info small{
    color:var(--muted);
}

.product-info h3{
    font-family:Georgia, serif;
    font-size:21px;
    margin:5px 0 20px;
}

.product-bottom{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:12px;
}

.product-bottom button{
    border:0;
    background:var(--dark);
    color:white;
    border-radius:999px;
    padding:9px 14px;
    font-weight:700;
    cursor:pointer;
}

.authors-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:75px;
    align-items:center;
}

.authors-content p{
    color:var(--muted);
    font-size:17px;
    max-width:600px;
    margin:24px 0 30px;
}

.authors-showcase{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:14px;
    align-items:center;
}

.author-card{
    background:white;
    border:1px solid var(--line);
    border-radius:24px;
    text-align:center;
    padding:20px 12px;
}

.author-card.featured{
    transform:translateY(-25px);
}

.author-avatar{
    width:100%;
    aspect-ratio:1/1.15;
    border-radius:18px;
    margin-bottom:18px;
    background:var(--green-soft);
    display:grid;
    place-items:center;
    font-family:Georgia, serif;
    font-size:56px;
    color:var(--dark);
}

.author-card strong,
.author-card span{
    display:block;
}

.author-card span{
    font-size:12px;
    color:var(--muted);
    margin-top:4px;
}

.pro-panel{
    background:var(--dark);
    color:white;
    border-radius:32px;
    padding:55px 60px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:50px;
}

.pro-panel h2{
    font-size:45px;
    max-width:750px;
}

.pro-panel p{
    color:#d3ddd6;
    max-width:760px;
    margin:18px 0 0;
}

.news-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:18px;
}

.news-card{
    background:white;
    border:1px solid var(--line);
    border-radius:22px;
    padding:30px;
    min-height:230px;
    display:flex;
    flex-direction:column;
}

.news-card span{
    color:var(--accent);
    font-size:12px;
    text-transform:uppercase;
    font-weight:800;
    letter-spacing:.12em;
}

.news-card h3{
    font-family:Georgia, serif;
    font-size:26px;
    line-height:1.16;
}

.news-card a{
    margin-top:auto;
    font-weight:700;
}

.site-footer{
    background:#111b16;
    color:white;
    padding:70px 0 28px;
}

.footer-grid{
    display:grid;
    grid-template-columns:2fr repeat(3,1fr);
    gap:50px;
}

.footer-brand .brand-mark{
    background:white;
    color:var(--dark);
}

.footer-brand .brand-text small{
    color:#aeb8b1;
}

.footer-grid p{
    color:#aeb8b1;
    max-width:390px;
}

.footer-grid h4{
    margin:0 0 16px;
}

.footer-grid > div:not(:first-child){
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    gap:9px;
}

.footer-grid a{
    color:#c3cbc6;
    font-size:14px;
}

.footer-bottom{
    margin-top:55px;
    padding-top:22px;
    border-top:1px solid rgba(255,255,255,.12);
    display:flex;
    justify-content:space-between;
    gap:20px;
    color:#8e9992;
    font-size:12px;
}

@media(max-width:980px){
    .main-nav,
    .nav-cta{
        display:none;
    }

    .menu-toggle{
        display:block;
    }

    .main-nav.open{
        display:flex;
        position:absolute;
        top:84px;
        left:20px;
        right:20px;
        flex-direction:column;
        align-items:stretch;
        padding:20px;
        background:white;
        border-radius:18px;
        box-shadow:var(--shadow);
    }

    .hero-grid,
    .authors-grid{
        grid-template-columns:1fr;
    }

    .hero{
        padding-top:55px;
    }

    .hero-visual{
        min-height:430px;
    }

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

    .pro-panel{
        flex-direction:column;
        align-items:flex-start;
    }

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

@media(max-width:640px){
    .container{
        width:min(100% - 28px,1180px);
    }

    .nav-wrap{
        min-height:72px;
    }

    .brand-text small{
        display:none;
    }

    .hero{
        padding:45px 0 40px;
    }

    .hero h1{
        font-size:43px;
    }

    .hero-copy > p{
        font-size:16px;
    }

    .hero-stats{
        gap:20px;
    }

    .hero-visual{
        min-height:400px;
    }

    .floating-card{
        display:none;
    }

    .section{
        padding:70px 0;
    }

    .section-heading{
        align-items:flex-start;
        flex-direction:column;
    }

    .category-grid,
    .books-grid,
    .news-grid{
        grid-template-columns:1fr;
    }

    .authors-showcase{
        grid-template-columns:1fr 1fr;
    }

    .author-card:last-child{
        display:none;
    }

    .pro-panel{
        padding:36px 26px;
    }

    .pro-panel h2{
        font-size:35px;
    }

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

    .footer-bottom{
        flex-direction:column;
    }
}


/* === Identité Les Classiques Ivoiriens === */
.brand-logo{
    display:flex;
    align-items:center;
}

.brand-logo img{
    display:block;
    width:auto;
    height:62px;
    max-width:310px;
    object-fit:contain;
}

.footer-brand img{
    height:54px;
    background:#fff;
    padding:7px 10px;
    border-radius:8px;
}

.site-header{
    background:rgba(255,255,255,.96);
    border-bottom:1px solid rgba(0,0,0,.08);
}

.books-section{
    background:#f0f4f8;
}

.site-footer{
    background:#111111;
}

@media(max-width:640px){
    .brand-logo img{
        height:48px;
        max-width:230px;
    }
}


/* =========================================================
   IDENTITE VISUELLE — LES CLASSIQUES IVOIRIENS
   ========================================================= */

.brand-logo{
    display:flex;
    align-items:center;
    flex-shrink:0;
}

.brand-logo img{
    display:block;
    width:auto;
    height:62px;
    max-width:310px;
    object-fit:contain;
}

.site-header{
    background:rgba(255,255,255,.97);
    border-bottom:1px solid rgba(0,0,0,.08);
}

.nav-wrap{
    min-height:86px;
}

.main-nav a{
    color:#1b1b1b;
}

.main-nav a:hover,
.text-link:hover{
    color:var(--accent);
}

.btn-primary{
    background:var(--accent);
    color:white;
}

.btn-primary:hover{
    background:#0e8fc5;
}

.btn-dark{
    background:#111111;
    color:white;
}

.hero{
    background:
        radial-gradient(circle at 85% 18%, rgba(18,158,217,.10), transparent 28%),
        linear-gradient(180deg,#ffffff 0%,#f7f8fa 100%);
}

.eyebrow{
    color:var(--accent);
}

.books-section{
    background:#f0f4f7;
}

.category-card:hover,
.product-card:hover{
    border-color:rgba(18,158,217,.35);
}

.product-bottom button{
    background:#111111;
}

.pro-panel{
    background:#101820;
}

.site-footer{
    background:#101010;
}

.footer-brand img{
    height:58px;
    max-width:290px;
    background:white;
    padding:8px 12px;
    border-radius:8px;
}

@media(max-width:640px){
    .brand-logo img{
        height:48px;
        max-width:230px;
    }

    .footer-brand img{
        height:50px;
    }
}
