/* GLOBAL */
body{
    font-family:sans-serif;
    background:#ffffff;
}

/* TYPOGRAPHY */
.news-title,
.widget-title{
    font-weight:700;
    margin-bottom:20px;
    font-family:sans-serif;
    font-family: Helvetica, sans-serif;
}

.card-title{
    font-size:1rem;
    font-weight:600;
    color: #f83200;
}

.small-title{
    font-weight:600;
    font-size:16px;
    margin-top:10px;
    color: #f83200;
}

.small-text{
    font-size:13px;
    color:#666;
}

.article-title{
    font-size:30px;
    font-weight:700;
    margin-top:15px;
    font-family: Arial, Helvetica, sans-serif;
    color: #f83200;
}

.article-meta{
    font-size:0.9rem;
    color:#777;
}

.article-lead{
    font-size:1.3rem;
    font-weight:500;
    margin-bottom:25px;
}

article p{
    line-height:1.8;
    font-size:1.05rem;
    font-family: serif;
    font-weight: 400;
}

article h3{
    margin-top:30px;
    font-weight:600;
    font-family: Arial, Helvetica, sans-serif;
    color: #f83200;
}

/* IMAGES */
.main-img{
    height:50%;
    object-fit:cover;
    border-radius:10px;
}

.news-img{
    width:100%;
    height:200px;
    object-fit:cover;
    border-radius:6px;
}

.article-preview-img{
    border-radius:8px;
    margin:15px 0;
}

/* HEADER + NAV */
.top-info{
    background:linear-gradient(90deg,#800080,#800080,#ffffff);
    color:white;
    font-size:14px;
    padding:6px 0;
}

.site-header{
    background:linear-gradient(135deg,#800080,#800080,#ffffff);
    padding:15px 0;
}

.logo img {
  height: 60px; /* ajuste selon ton design */
}

.main-nav{
    background:linear-gradient(90deg,#800080,#800080,#ffffff);
}

.main-nav a{
    color:white;
    text-decoration:none;
    margin-right:18px;
    font-weight:600;
    transition:0.3s;
    font-family: monospace;
}

.main-nav a:hover{
    color:#f83200;
}

/* LIVE BAR */
.live-bar{
    background:linear-gradient(90deg,#800080,#800080,#ffffff);
    color:white;
    padding:8px 0;
    font-size:15px;
}

/* FOOTER */
footer{
    margin-top:50px;
    padding:25px;
    background:linear-gradient(45deg,#800080,#800080,#606C88);
    color:white;
    text-align:left;
    font-family:monospace;
}

.footer-title{
    color:white;
    font-family: Arial, Helvetica, sans-serif;
}

footer a:hover{
    color:#800080;
    transition:0.3s;
}

footer input{
    border-radius:6px;
}

footer button{
    background:#800080;
    border:none;
}

footer button:hover{
    background:#800080;
}

footer i{
    transition:0.3s;
}

footer i:hover{
    color:#800080;
    transform:scale(1.2);
}

/* NEWS GRID */
.news-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:8px;
}

.news-grid img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.big{
    grid-row:span 2;
}

/* CALCULATOR */
.calculator{
    background:#f1f1f1;
    border-radius:8px;
}

.calc-buttons{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:5px;
}

.calc-buttons button{
    padding:8px;
    border:none;
    background:#ddd;
    cursor:pointer;
}

.calc-buttons button:hover{
    background:#bbb;
}

/* CONFIGURATOR PAGE */
.custom-page{
    min-height:80vh;
}

/* LEFT MENU */
.menu-left{
    background:#f4f6f8;
    padding:25px;
    border-right:2px solid #800080;
}

/* MAIN AREA */
.main-area{
    display:flex;
    flex-direction:column;
    height:100%;
}

.main-preview{
    display:block;
    padding:40px;
    background:#ebf3f7;
    flex:1;
}

.preview-article{
    background:white;
    padding:30px;
    border-radius:10px;
    box-shadow:0 4px 12px rgba(0,0,0,0.1);
    width:100%;
}

/* BOTTOM MENU */
.menu-bottom{
    background:#f4f6f8;
    padding:20px;
    border-top:2px solid #800080;
}

/* BUTTONS */
.btn-primary{
    background:#800080;
    border-color:#ffffff;
}

.btn-primary:hover{
    background:#800080;
}

.btn-primary:focus{
    box-shadow:0 0 0 0.2rem rgba(111,66,193,0.5);
}

.btn-warning{
    background:#800080;
    border:none;
    color:white;
}

.btn-warning:hover{
    background:#f83200;
}

.btn-outline-secondary{
    border-color:#800080;
    color:#7a00ff;
}

.btn-outline-secondary:hover{
    background:#7a00ff;
    color:white;
}