*{
    margin: 0;
    padding: 0;
    box-sizing: border-box; /*pour gérer largeur + padding*/
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; /* nouvelle découverte à utiliser dans mes codes css*/
}

html, body {
    height: 100%;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    display: flex;
    flex-direction: column;
}
.main {
    flex: 1;
}


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

.container{
   width: 90%;
   max-width: 1200px;
   margin: 0 auto;
}
/* ===== HEADER ===== */
.header {
    background: var(--card);
    border-bottom: 1px solid #e2e8f0;
    height: 80px;
}

.header-content {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo {
    height: 200px;
    width: auto;
    object-fit: contain;
}

.brand-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark);
}
.nav {
    display: flex;
    align-items: center;
    gap: 30px;
}
.nav a {
    margin-left: 20px;
    text-decoration: none;
    color: var(--muted);
    font-weight: 500;
}

.nav a:hover {
    color: var(--primary);
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: auto;
}


/* ===== FOOTER ===== */
footer.footer{
    background-color: #222;
    color: #fff;
    text-align: center;
    padding: 15px 0;
    margin-top: auto; /*pousse le footer en bas de page*/

}

/* Ma Hero */
.hero {
    background: linear-gradient(135deg, #1e3a8a, #2563eb);
    color: white;
    padding: 80px 0;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.hero-text {
    flex: 1;
}

.hero-text h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero-text p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 30px;
}

.hero-image {
    flex: 1;
}

.hero-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}



/* Tableaux */
table{
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
    background-color: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

table th, table td{
    padding: 12px 15px;
    text-align: left;
}

table th{
    background-color: #007bff;
    color: white;

     font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}


table tr:nth-child(even){
    background-color: #f2f2f2;
}

/* A revoir, la ligne donnée des véhicules */
table tr:hover{
    background-color: #f1f5f9;
}


   

/*  */
h1, h2, h3, h4, h5, h6{
    margin-bottom: 15px;
    font-weight: 600;
}

p{
    line-height: 1.6;
    margin-bottom: 15px;
}

.btn{
    cursor: pointer;
}

.main-content{
    padding: 3rem 20px;
}

/* ===== FORMULAIRES ===== */

.form-vehicule {
    background: white;
    padding: 30px;
    border-radius: 8px;
    max-width: 900px;
    margin: 0 auto; /* centré */
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.form-row{
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}
.form-group{
    flex: 1; /*Chaque groupe de formulaire prendra la même largeur */
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group select {
    padding: 12px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 1rem;
    transition: border 0.3s, box-shadow 0.3s;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0,123,255,0.2);
}

.form-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

/* ===== HERO BUTTONS (SPECIAL) ===== */

.hero .actions {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.hero .btn-primary {
    background: white;
    color: #1e3a8a;
    font-weight: 700;
    padding: 14px 34px;
    border-radius: 12px;
    box-shadow: 0 12px 25px rgba(0,0,0,0.2);
}

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

.hero .btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255,255,255,0.7);
    padding: 14px 34px;
    border-radius: 12px;
}

.hero .btn-secondary:hover {
    background: white;
    color: #1e3a8a;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 15px;
    }

    .nav {
        gap: 20px;
    }
}


/* ===== FEATURES ===== */

.features {
    padding: 80px 0;
    background: #f8fafc;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 50px;
    color: #0f172a;
}

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

.feature-card {
    background: white;
    padding: 30px;
    border-radius: 14px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-8px);
}

.feature-card img {
    width: 70px;
    margin-bottom: 20px;
}

.feature-card h4 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.feature-card p {
    font-size: 0.95rem;
    color: #475569;
}


/* ===== WORKFLOW ===== */

.workflow {
    padding: 80px 0;
    background: white;
}

.workflow-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: center;
}

.step-number {
    display: inline-block;
    background: #2563eb;
    color: white;
    width: 50px;
    height: 50px;
    line-height: 50px;
    border-radius: 50%;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.step h4 {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.step p {
    font-size: 0.95rem;
    color: #475569;
}

/* ===== AUDIENCE ===== */

.audience {
    padding: 80px 0;
    background: #f8fafc;
}

.audience-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.audience-text {
    flex: 1;
}

.audience-text ul {
    margin-top: 20px;
}

.audience-text li {
    margin-bottom: 10px;
    color: #334155;
}

.audience-image {
    flex: 1;
}

.audience-image img {
    width: 100%;
    border-radius: 14px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}


/* ===== CTA ===== */

.cta {
    background: linear-gradient(135deg, #1e3a8a, #2563eb);
    color: white;
    padding: 70px 0;
    text-align: center;
}

.cta h3 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.cta p {
    margin-bottom: 30px;
    opacity: 0.9;
}















/* ===== FORMULAIRES CREATE MODERN ===== */
.create-page h1 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #1e3a8a;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.create-page form {
    background: #ffffff;
    padding: 40px 35px;
    border-radius: 16px;
    max-width: 800px;
    margin: 0 auto 60px auto;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.create-page form:hover {
    transform: translateY(-3px);
}

.create-page .form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 25px;
}

.create-page .form-group label {
    margin-bottom: 10px;
    font-weight: 600;
    color: #1e293b;
    font-size: 1rem;
}

.create-page .form-group input,
.create-page .form-group select,
.create-page .form-group textarea {
    padding: 14px;
    border-radius: 12px;
    border: 1px solid #cbd5e1;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #f9fafb;
}

.create-page .form-group input:focus,
.create-page .form-group select:focus,
.create-page .form-group textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37,99,235,0.15);
    background-color: #fff;
}

.create-page .form-group textarea {
    min-height: 100px;
    resize: vertical;
}

.create-page .form-actions {
    display: flex;
    gap: 20px;
    justify-content: flex-start;
    margin-top: 30px;
}

.create-page .form-actions .btn {
    padding: 14px 32px;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-align: center;
}

.create-page .form-actions .btn-primary {
    background: linear-gradient(135deg, #1e3a8a, #2563eb);
    color: white;
    border: none;
    box-shadow: 0 8px 20px rgba(37,99,235,0.3);
}

.create-page .form-actions .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(37,99,235,0.4);
}

.create-page .form-actions .btn-secondary {
    background: transparent;
    color: #2563eb;
    border: 2px solid #2563eb;
}

.create-page .form-actions .btn-secondary:hover {
    background: #2563eb;
    color: white;
}

.create-page select {
    cursor: pointer;
}

.create-page ::placeholder {
    color: #94a3b8;
    opacity: 1;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .create-page form {
        padding: 25px 20px;
    }

    .create-page .form-actions {
        flex-direction: column;
        gap: 15px;
    }
}






