/* ---------------------------------- Initialisation ---------------------------------- */
*{ padding:0; margin:0 }
html, body{ height:100%; }
img{ border:0; }
p{ padding:20px 0; }
ul, ol{ margin:10px; }
li, dd{ margin:5px 30px; }
fieldset{ margin:10px 0; padding:3px 5px 5px; -moz-border-radius:10px; }
legend, legende{ margin-left:20px; padding:0 5px; font-weight:bold; }
textarea{ overflow:auto; }
select{ padding:0 10px; }
input, textarea{ padding:1px; }
input, textarea, select{ margin:5px 5px 0 0; }
input[type=checkbox], input[type=radio]{ border:0; }
input[type=image]{ cursor:pointer; cursor:hand; border:0; }
input[type=file]{ width:500px; }
table{ border-collapse:collapse; }
td, th{ padding:0 10px 2px; }
th{ padding:0 2px 2px; }
a{ text-decoration:none; }
a:hover, a:focus{ text-decoration:underline; }
h1, h2, h3, h4, h5, h6, titre{ margin:15px 0; }



:root {
    --primary: #0d1b2a;
    --secondary: #1b263b;
    --accent: #4cc9f0;
    --bg: #f8f9fb;
    --text: #333;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
}

/* HEADER */
header{ position:sticky; top:0; background:white; border-bottom:1px solid #e5e7eb; z-index:100; }
header .navbar{ max-width:1200px; margin:auto; padding:15px 20px; display:flex; align-items:center; justify-content:space-between; }
header .logo{ display:flex; align-items:center; }
header .logo img{ height:50px; }
header nav a{ margin-left:20px; text-decoration:none; color:var(--primary); font-weight:600; }
header nav a:hover{ color:var(--accent); }

main{ max-width:1100px; margin:auto; }

footer{ background:var(--primary); color:white; text-align:center; padding:20px; margin-top:60px; }

h1{ font-size:1.8rem; color:var(--primary); }
h3{ margin-top:0; color:var(--primary); }

/* SECTIONS */
section{ max-width:1200px; margin:auto; padding:20px; }
.principale{ text-align:center; }
.principale p{ font-size:1.2rem; max-width:800px; margin:20px auto 40px; }



section .container{ max-width:920px; margin:0 auto; padding:0rem; }
section .panel{
      border:1px solid var(--border);
      border-radius:14px;
      padding:1.25rem;
      background:#fff;
      display:grid;
      gap:1rem;
    }
section .block{ border:1px dashed var(--border); border-radius:12px; border-color:#ccc; padding:1rem; }
section .label{ display:inline-block; min-width:5.5rem; color:var(--muted) }
section .badge{
      display:inline-block; background:rgba(108,138,112,.08);
      color:var(--brand); border:1px solid rgba(108,138,112,.25);
      padding:.25rem .5rem; border-radius:999px;font-size:.85rem
    }

section{
      --brand:#6C8A70; /* ta palette */
      --muted:#6b7280;
      --border:#e5e7eb;
      padding:0.2rem 1rem 0 1rem;
    }
        section p.lead{color:var(--muted); margin:0; font-weight:bold;}

    @media (min-width:720px){
      #contact .panel{grid-template-columns: 1fr 1fr;}
    }



/* CARDS */
.cards{ display:grid; grid-template-columns:repeat(auto-fit, minmax(260px, 1fr)); gap:25px; }
.card{ background:white; padding:30px; border-radius:14px; box-shadow:0 8px 25px rgba(0,0,0,0.05); }



    
        button {
            margin-top: 20px;
            padding: 12px 20px;
            background: #0d1b2a;
            color: white;
            border: none;
            border-radius: 5px;
            cursor: pointer;
        }
        .success {
            background: #d4edda;
            color: #155724;
            padding: 15px;
            border-radius: 5px;
            margin-bottom: 20px;
        }
        .error {
            background: #f8d7da;
            color: #721c24;
            padding: 15px;
            border-radius: 5px;
            margin-bottom: 20px;
        }


/* FORM */
form {
    background: white;
    padding: 40px;
    border-radius: 14px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.05);
}

label {
    display: block;
    margin-top: 20px;
    font-weight: 600;
}

input, textarea {
    width: 100%;
    padding: 12px;
    margin-top: 8px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 1rem;
}

