
/* ── Variables palette 7Rise Light ── */
:root {
    --bg-primary:    #FAF7F2;
    --bg-secondary:  #F2EBE0;
    --bg-tertiary:   #E8DDD0;
    --bg-card:       #FFFFFF;
    --text-primary:  #1A1612;
    --text-secondary:#4A3F35;
    --text-muted:    #8C7B6E;
    --gold:          #C9963A;
    --gold-dark:     #A67A28;
    --gold-light:    #E8B96A;
    --rose:          #C47E8A;
    --border-light:  #D4C4B0;
    --dark-accent:   #3D2B1A;
    --grad-start:    #C9963A;
    --grad-end:      #C47E8A;
}


/* ── General Reset ── */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    border: none;
    outline: none;
}

a, a:hover, a:focus, a:visited {
    text-decoration: none !important;
}

html {
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    font-family: "Jost", sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.5;
    letter-spacing: 0.3px;
}


/* ── Header ── */
header {
    width: 100%;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-light);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0.75rem 0;
}

.navbar {
    padding: 0.4rem 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.logo {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

.logo img {
    height: 58px;
    width: auto;
}


/* ── Navigation ── */
.navbar ul {
    display: flex;
    gap: 0.5rem;
    list-style: none;
}

header nav ul li {
    position: relative;
}

.navbar ul li a {
    position: relative;
    font-size: 1rem;
    font-weight: 500;
    padding: 0.25rem 0.6rem;
    color: var(--text-secondary);
    transition: color .25s;
}

.navbar ul li a:hover,
.navbar ul li a.active {
    color: var(--gold);
}

/* ── lien actif : couleur or, pas de soulignement ── */
.navbar ul li a.active {
    color: var(--gold);
    font-weight: 600;
}


/* ── CV Button ── */
.cvbtn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.95rem;
    font-weight: 600;
    background: linear-gradient(135deg, var(--grad-start), var(--grad-end));
    color: var(--bg-card);
    padding: 9px 18px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(201,150,58,.28);
    cursor: pointer;
    transition: opacity .25s, box-shadow .25s;
    white-space: nowrap;
}

.cvbtn:hover {
    opacity: 0.88;
    box-shadow: 0 4px 18px rgba(201,150,58,.45);
}


/* ── Item Contact caché sur desktop (visible seulement dans le burger) ── */
.nav-contact-item { display: none; }

/* ── Hamburger (mobile) ── */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2.5px;
    background: var(--text-primary);
    border-radius: 3px;
    transition: .3s;
}


/* ── Sections ── */
section {
    padding: 4rem 8%;
}


/* ── Hero Section ── */
.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 4rem 8%;
}

.hero-image img {
    height: 500px;
    width: 500px;
    max-width: 100%;
    object-fit: contain;
    filter: drop-shadow(0 12px 48px rgba(201,150,58,.22));
}

.hero-content {
    max-width: 50%;
}

.hero-content h3 {
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--text-muted);
    margin-bottom: 0.4rem;
}

.hero-content h1 {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.15;
}

.hero-content h2 {
    font-size: 1.7rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-top: 0.4rem;
}

.hero-content h2 span {
    color: var(--gold);
}

.hero-content p {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin: 1.4rem 0;
    line-height: 1.75;
}


/* ── Social Icons ── */
.social-icons {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.social-icons a {
    display: inline-flex;
    font-size: 1.7rem;
    color: var(--gold);
    transition: transform .3s, color .3s;
}

.social-icons a:hover {
    transform: translateY(-6px);
    color: var(--rose);
}


/* ── Hero Buttons ── */
.hero-btn {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 10rem;
    font-size: 1.05rem;
    font-weight: 600;
    padding: 0.65rem 0;
    color: var(--bg-card);
    background: linear-gradient(135deg, var(--grad-start), var(--grad-end));
    border: none;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(201,150,58,.28);
    transition: opacity .25s, box-shadow .25s;
}

.btn:hover {
    opacity: 0.88;
    box-shadow: 0 4px 18px rgba(201,150,58,.45);
    color: var(--bg-card);
}

.hero-btn .btn:nth-child(2) {
    background: transparent;
    color: var(--gold);
    border: 2px solid var(--gold);
    box-shadow: none;
}

.hero-btn .btn:nth-child(2):hover {
    background: linear-gradient(135deg, var(--grad-start), var(--grad-end));
    color: var(--bg-card);
    opacity: 0.88;
    box-shadow: 0 4px 18px rgba(201,150,58,.45);
}


/* ── Stats Section ── */
.stats {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    background: var(--bg-secondary);
    border-radius: 16px;
    padding: 2.5rem 3rem;
}

.stats .stat {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-width: 140px;
}

.stats .stat:not(:last-child) {
    border-right: 1px solid var(--border-light);
    padding-right: 5%;
}

.stats .stat h2 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--gold);
}

.stats .stat span {
    display: inline-block;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.4;
}


/* ── Services Section ── */
.my-services {
    background: var(--bg-secondary);
    border-radius: 20px;
}

.my-services h2 {
    color: var(--text-primary) !important;
    font-size: 2.2rem !important;
    font-weight: 700;
}

.highlight {
    color: var(--gold) !important;
}

.service-card {
    background: var(--bg-card);
    border: 2px solid var(--border-light);
    border-radius: 14px;
    transition: border-color .3s, box-shadow .3s, transform .3s;
    cursor: pointer;
    color: var(--text-primary);
}

.service-card:hover {
    border-color: var(--gold);
    box-shadow: 0 10px 32px rgba(201,150,58,.14);
    transform: translateY(-4px);
}

.service-icon {
    font-size: 2.4rem;
    color: var(--gold);
    margin-bottom: 16px;
}

.service-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.service-description {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    line-height: 1.65;
}

.btn-primary,
.btn-primary:focus {
    background: linear-gradient(135deg, var(--grad-start), var(--grad-end)) !important;
    border: none !important;
    color: var(--bg-card) !important;
    border-radius: 50px !important;
    padding: 10px 28px !important;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 4px 14px rgba(201,150,58,.3);
    transition: box-shadow .3s, opacity .3s;
}

.btn-primary:hover {
    opacity: 0.88;
    box-shadow: 0 4px 18px rgba(201,150,58,.45) !important;
}

/* ── Bouton offre ── */
.btn-offre {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .75rem 1.5rem;
    background: linear-gradient(135deg, var(--gold), var(--rose));
    color: #fff;
    font-size: .9rem;
    font-weight: 600;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 14px rgba(201,150,58,.28);
    transition: opacity .2s, transform .2s;
}

.btn-offre:hover {
    opacity: .88;
    box-shadow: 0 4px 18px rgba(201,150,58,.45);
    color: #fff;
}


/* ── Projects Section ── */
section.container h2,
.container > h2 {
    color: var(--text-primary) !important;
    font-size: 2.2rem !important;
}

.card.bg-dark {
    background: var(--bg-card) !important;
    border-radius: 12px !important;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,.07);
    transition: transform .3s, box-shadow .3s;
}

.card.bg-dark:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0,0,0,.12);
}


/* ── Contact Form ── */
.form-control.bg-dark {
    background: var(--bg-secondary) !important;
    color: var(--text-primary) !important;
    border: 1.5px solid var(--border-light) !important;
    border-radius: 8px;
}

.form-control.bg-dark::placeholder {
    color: var(--text-muted);
}

.form-control.bg-dark:focus {
    border-color: var(--gold) !important;
    box-shadow: 0 0 0 3px rgba(201,150,58,.15) !important;
}


/* ── Footer ── */
footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-light);
    margin-top: 2rem;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1.4fr;
    gap: 3rem;
    padding: 3.5rem 8%;
}

.footer-brand p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.75;
    margin: 1rem 0 1.2rem;
    max-width: 300px;
}

.footer-nav h4,
.footer-contact h4 {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-primary);
    margin-bottom: 1.2rem;
}

.footer-nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.footer-nav ul li a {
    font-size: 0.95rem;
    color: var(--text-muted);
    transition: color .2s;
}

.footer-nav ul li a:visited {
    color: #8C7B6E;
}

.footer-nav ul li a:hover {
    color: var(--gold);
}

.footer-contact p {
    font-size: 0.92rem;
    color: var(--text-muted);
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    margin-bottom: 0.7rem;
    line-height: 1.5;
}

.footer-contact p i {
    color: var(--gold);
    margin-top: 2px;
    flex-shrink: 0;
}

.footer-bottom {
    border-top: 1px solid var(--border-light);
    padding: 1.2rem 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
}

.footer-bottom a {
    font-size: 0.85rem;
    color: var(--text-muted);
    transition: color .2s;
}

.footer-bottom a:hover {
    color: var(--gold);
}


/* ═══════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════ */

/* ── Tablet large (≤ 1024px) ── */
@media (max-width: 1024px) {
    .navbar { padding: 0.4rem 5%; }

    .hero-container {
        padding: 3rem 5%;
        gap: 1.5rem;
    }

    .hero-image img {
        height: 400px;
        width: 400px;
    }

    .hero-content { max-width: 52%; }

    section { padding: 3rem 5%; }
}


/* ── Tablet (≤ 768px) ── */
@media (max-width: 768px) {
    /* Nav */
    .navbar {
        padding: 0.5rem 5%;
        position: relative;
    }

    .menu-toggle { display: flex; }

    .navbar ul {
        display: none;
        flex-direction: column;
        width: 100%;
        background: var(--bg-primary);
        border-top: 1px solid var(--border-light);
        padding: 0.75rem 0;
        gap: 0;
        order: 3;
    }

    .navbar ul.open { display: flex; }

    .navbar ul li { margin: 0; }

    .navbar ul li a {
        display: block;
        padding: 0.6rem 5%;
        font-size: 1.05rem;
    }

    .cvbtn { display: none; }

    /* Contact dans le burger */
    .nav-contact-item {
        display: block;
    }
    .nav-contact-item a {
        color: var(--gold) !important;
        font-weight: 700;
    }

    /* Hero */
    .hero-container {
        flex-direction: column-reverse;
        text-align: center;
        padding: 2.5rem 5%;
        gap: 1.5rem;
    }

    .hero-content { max-width: 100%; }

    .hero-content h1 { font-size: 2.1rem; }
    .hero-content h2 { font-size: 1.45rem; }

    .hero-image img {
        height: 280px;
        width: 280px;
    }

    .social-icons { justify-content: center; }
    .hero-btn    { justify-content: center; }

    /* Stats */
    .stats {
        flex-direction: column;
        padding: 2rem;
    }

    .stats .stat:not(:last-child) {
        border-right: none;
        border-bottom: 1px solid var(--border-light);
        padding-right: 0;
        padding-bottom: 1.2rem;
        width: 100%;
        justify-content: flex-start;
    }

    section { padding: 2.5rem 5%; }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2.5rem 5%;
    }

    .footer-bottom {
        padding: 1rem 5%;
        flex-direction: column;
        text-align: center;
    }
}


/* ── Mobile (≤ 480px) ── */
@media (max-width: 480px) {
    .logo { font-size: 1.5rem; }

    .hero-content h1 { font-size: 1.75rem; }
    .hero-content h2 { font-size: 1.2rem; }
    .hero-content p  { font-size: 0.95rem; }

    .hero-image img {
        height: 220px;
        width: 220px;
    }

    .stats .stat h2 { font-size: 2.3rem; }

    .btn {
        width: 8.5rem;
        font-size: 0.95rem;
    }

    section { padding: 2rem 4%; }

    .my-services { border-radius: 12px; }
}
