/* ============================================
   FICHIER : css/style.css
   STYLES GLOBAUX
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Open Sans', sans-serif;
    background: #FFFFF0;
    color: #2c3e50;
    line-height: 1.6;
    min-height: 100vh;
}

/* ===== LIENS ===== */
a {
    color: #4A90D9;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}

/* ===== BOUTONS ===== */
.btn-primary {
    display: inline-block;
    background: #4A90D9;
    color: #fff;
    padding: 12px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
}
.btn-primary:hover {
    background: #357ABD;
    transform: translateY(-2px);
}
.btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-secondary {
    display: inline-block;
    background: transparent;
    color: #4A90D9;
    padding: 12px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    border: 2px solid #4A90D9;
    cursor: pointer;
    transition: background 0.3s, color 0.3s;
}
.btn-secondary:hover {
    background: #4A90D9;
    color: #fff;
}

/* ===== FORMULAIRES ===== */
input, select, textarea {
    font-family: 'Open Sans', sans-serif;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: #4A90D9 !important;
    box-shadow: 0 0 0 3px rgba(74, 144, 217, 0.1);
}

/* ===== CARTES ===== */
.card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e8e0d5;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}

/* ===== GRILLES ===== */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.grid-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
}
.grid-4 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 20px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .grid-4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #f5f0e8;
}
::-webkit-scrollbar-thumb {
    background: #4A90D9;
    border-radius: 3px;
}