/* =========================================================
   DAMAG Design — clean / professional / mobile first
   ========================================================= */

/* ---------- Variables ---------- */

:root {
    --bg:#eef2f6;
    --card:#ffffff;

    --text-main:#0f172a;
    --text-secondary:#475569;
    --text-muted:#64748b;

    --line:#e2e8f0;

    --shadow-lg:0 18px 45px rgba(15,23,42,0.10);
    --shadow-sm:0 6px 20px rgba(15,23,42,0.08);

    --radius-xl:22px;
    --radius-lg:16px;
    --radius-md:12px;

    /* Group */
    --blue:#334155;
    --blue-hover:#1e293b;
    --blue-soft:#e7edf3;

    /* Consulting */
    --gold:#d6b86c;
    --gold-soft:#f5ecd2;

    /* Design */
    --green:#3E7F5A;
    --green-hover:#2f6848;
    --green-soft:#e6f0eb;
    --green-border:#c9ddd3;

    /* Immo */
    --terracotta:#7A4E34;
    --terracotta-soft:#f1e3dc;
}

/* ---------- Reset ---------- */

*,
*::before,
*::after {
    box-sizing:border-box;
}

html{
    -webkit-text-size-adjust:100%;
}

body{
    margin:0;
    min-height:100vh;
    font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
    background:
        radial-gradient(circle at top left,#f8fafc 0%,#eef2f6 38%,#e8edf3 100%);
    color:var(--text-main);
    display:flex;
    justify-content:center;
    padding:28px;
}
.actions{
    margin-top:18px;
    display:flex;
    gap:12px;
    flex-wrap:wrap;
}
}
/* ---------- Container ---------- */

.box{
    width:100%;
    max-width:760px;
    background:var(--card);
    border-radius:var(--radius-xl);
    box-shadow:var(--shadow-lg);
    padding:32px;
}

/* ---------- Header ---------- */

header{
    text-align:center;
    margin-bottom:28px;
}

header img{
    height:110px;
    width:auto;
    display:block;
    margin:0 auto;
}

nav{
    margin-top:14px;
    font-size:0.92rem;
}

nav a{
    text-decoration:none;
    color:inherit;
    margin:0 10px;
    transition:0.2s ease;
}

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

/* ---------- Typography ---------- */

h1,h2,h3{
    color:var(--text-main);
}

p{
    line-height:1.65;
    color:var(--text-secondary);
    margin:0;
}

/* ---------- Generic sections ---------- */

.section{
    margin-top:28px;
    padding:24px;
    border-radius:var(--radius-lg);
    border:1px solid var(--line);
    background:#fff;
}

.section h2{
    margin:0 0 12px;
    font-size:1.4rem;
}

.section p + p{
    margin-top:12px;
}



/* =========================================================
   THEMES
   ========================================================= */

.theme-design{
    background:var(--green-soft);
    border:1px solid var(--green-border);
}

.theme-design h2{
    color:var(--green);
}

.theme-design strong{
    color:var(--green);
}

.theme-consulting{
    background:#ffffff;
    border:1px solid var(--line);
}

.theme-consulting h2{
    color:var(--text-main);
}

.theme-consulting h2{
    color:#b89b52;
}

.theme-consulting strong{
    color:#b89b52;
}

.theme-group{
    background:var(--blue-soft);
    border:1px solid #cfd8e3;
}

.theme-group h2{
    color:var(--blue);
}

.theme-group strong{
    color:var(--blue);
}

.theme-immo{
    background:var(--terracotta-soft);
    border:1px solid #e2cfc4;
}

.theme-immo h2{
    color:var(--terracotta);
}

.theme-immo strong{
    color:var(--terracotta);
}

/* ---------- Badges ---------- */

.badge{
    display:inline-block;
    padding:6px 10px;
    margin-bottom:12px;
    font-size:0.7rem;
    font-weight:700;
    letter-spacing:0.06em;
    text-transform:uppercase;
    border-radius:999px;
}

.badge.design{
    background:#dbeadf;
    color:var(--green);
}

.badge.consulting{
    background:#f5ecd2;
    color:#8c7440;
}

.badge.group{
    background:var(--blue-soft);
    color:var(--blue);
}

.badge.immo{
    background:var(--terracotta-soft);
    color:var(--terracotta);
}

/* ---------- CTA ---------- */

.cta{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:50px;
    padding:0 18px;
    border-radius:var(--radius-md);
    font-weight:700;
    text-decoration:none;
    transition:0.2s ease;
}

.cta.design{
    background:var(--green);
    color:#fff;
}

.cta.design:hover{
    background:var(--green-hover);
    transform:translateY(-1px);
}

.cta.group{
    background:var(--blue);
    color:#fff;
}

.cta.group:hover{
    background:var(--blue-hover);
    transform:translateY(-1px);
}

.cta.consulting{
    background:#d6b86c;
    color:#1e293b;
    border:1px solid #c5a95e;
    border-radius:10px;
}

.cta.consulting:hover{
    background:#c9ab5f;
}

.cta.consulting.secondary{
    background:#f8f2df;
    border:1px solid #e6d6a8;
    color:#1e293b;
}

.cta.consulting.secondary:hover{
    background:#f1e6c8;
}
.cta.immo{
    background:var(--terracotta);
    color:#fff;
}

.cta.immo:hover{
    filter:brightness(0.96);
    transform:translateY(-1px);
}

/* ---------- Highlight ---------- */

.highlight{
    margin-top:16px;
    padding:16px;
    border-radius:var(--radius-md);
    background:#fff;
    box-shadow:var(--shadow-sm);
}

.highlight.design{
    border-left:4px solid var(--green);
}

.highlight.group{
    border-left:4px solid var(--blue);
}

.highlight.consulting{
    border-left:4px solid var(--gold);
}

.highlight.immo{
    border-left:4px solid var(--terracotta);
}

/* ---------- Design cards ---------- */

.design-cards{
    margin-top:18px;
    display:grid;
    gap:14px;
}

.design-card{
    background:#ffffff;
    border:1px solid var(--green-border);
    border-radius:12px;
    padding:16px;
    box-shadow:var(--shadow-sm);
    transition:0.2s ease;
}

.design-card:hover{
    transform:translateY(-2px);
    box-shadow:0 10px 25px rgba(15,23,42,0.10);
}

.design-card strong{
    display:block;
    font-size:0.95rem;
    margin-bottom:6px;
    color:var(--green);
}

.design-card span{
    display:block;
    font-size:0.92rem;
    color:var(--text-secondary);
    line-height:1.5;
}

/* ---------- Cards consulting (sobre) ---------- */

.design-card.consulting{
    background:#ffffff;
    border:1px solid var(--line);
    border-left:3px solid #d6b86c; /* accent discret */
    border-radius:10px;
    padding:16px;
    box-shadow:none;
    transition:0.15s ease;
}

.design-card.consulting:hover{
    transform:none;
    box-shadow:0 6px 18px rgba(15,23,42,0.06);
}

/* titre */
.design-card.consulting strong{
    color:var(--text-main);
    font-weight:600;
}

/* texte */
.design-card.consulting span{
    color:var(--text-secondary);
}
/* ---------- Lists ---------- */

.list{
    padding-left:18px;
    margin:0;
}

.list li + li{
    margin-top:10px;
}

.list li span{
    display:block;
    margin-top:6px;
    color:var(--text-secondary);
}

/* ---------- Footer ---------- */

footer,
.site-footer{
    margin-top:34px;
    padding-top:20px;
    border-top:1px solid var(--line);
    text-align:center;
    font-size:0.85rem;
    color:var(--text-muted);
}

footer a,
.site-footer a{
    text-decoration:none;
    color:inherit;
    margin:0 10px;
}

footer a:hover,
.site-footer a:hover{
    color:var(--green);
}

footer p,
.site-footer p{
    margin:8px 0 0;
    color:var(--text-muted);
}

/* ---------- Responsive ---------- */

@media (min-width:640px){
    .design-cards{
        grid-template-columns:1fr 1fr;
    }
}

@media (max-width:760px){

    body{
        padding:16px;
    }

    .box{
        padding:22px;
    }

    header img{
        height:90px;
    }

    nav{
        display:flex;
        justify-content:center;
        flex-wrap:wrap;
        gap:6px;
    }

    nav a{
        margin:0 8px;
    }

    .section{
        padding:18px;
    }
}