

.footer {
    background-color: #2e3b3b;
    color: antiquewhite;
    padding: 20px 0 0 0;
    position: relative;
    z-index: 10;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.footer body {
    font-family: 'Arial', sans-serif;
    background-color: #3b7047;
    color: antiquewhite;
}


    .footer .footer-content {
        display: flex;
        justify-content: space-around;
        align-items: flex-start;
        flex-wrap: wrap;
        max-width: 1200px;
        margin: 0 auto;
        padding: 20px;
    }

.footer-section {
    flex: 1;
    margin: 0px 50px;
}

    .footer-section h2 {
        font-size: 1.8em;
        color: darkgoldenrod;
        margin-bottom: 20px;
        position: relative;
    }

        .footer-section h2::before {
            content: '';
            position: absolute;
            width: 50px;
            height: 50px;
            background: url('/images/gear.png') no-repeat center center;
            background-size: contain;
            top: 50%;
            left: -60px;
            transform: translateY(-50%);
            z-index: -1;
        }

    .footer-section ul {
        list-style-type: none;
        padding: 0;
    }

        .footer-section ul li {
            margin-bottom: 10px;
        }

            .footer-section ul li a {
                color: antiquewhite;
                text-decoration: none;
                font-size: 1.1em;
            }

                .footer-section ul li a:hover {
                    color: gold;
                    text-decoration: underline;
                }



.footer-bottom {
    background-color: #1e2a2a;
    color: antiquewhite;
    text-align: center;
    padding: 15px;
    font-size: 1.1em;
}

    .footer-bottom span {
        font-weight: bold;
        color: darkgoldenrod;
    }

.logo-text {
    font-size: 2.5em;
    font-weight: bold;
    color: darkgoldenrod;
    text-shadow: 2px 2px 5px #000000;
}

/* ==========================================================================
   Direction visuelle 2026 - atelier steampunk contemporain
   Palette et principes adaptés du design system Réva.
   Ce bloc est chargé en dernier afin d'unifier aussi les anciennes pages.
   ========================================================================== */

:root {
    --color-bg: #111510;
    --color-bg-soft: #181e17;
    --color-surface: #22291f;
    --color-surface-2: #2d3628;
    --color-parchment: #d9c79f;
    --color-parchment-soft: #eee4cb;
    --color-text: #f4ecd8;
    --color-muted: #b9aa86;
    --color-moss: #5e7f45;
    --color-leaf: #78955b;
    --color-copper: #b46a3c;
    --color-brass: #c49a4a;
    --color-brass-light: #e0bc6a;
    --color-danger: #b55342;
    --border-soft: 1px solid rgba(244, 236, 216, 0.12);
    --border-brass: 1px solid rgba(196, 154, 74, 0.38);
    --radius-sm: 0.5rem;
    --radius-md: 0.8rem;
    --radius-lg: 1.25rem;
    --shadow-sm: 0 0.35rem 1.1rem rgba(0, 0, 0, 0.24);
    --shadow-lg: 0 1.4rem 3.8rem rgba(0, 0, 0, 0.42);
    --header-height: 86px;
}

html {
    min-width: 320px;
    scroll-behavior: smooth;
    color-scheme: dark;
}

body {
    min-height: 100vh;
    margin: 0;
    background:
        radial-gradient(circle at 12% 6%, rgba(94, 127, 69, 0.2), transparent 30rem),
        radial-gradient(circle at 88% 24%, rgba(180, 106, 60, 0.12), transparent 28rem),
        linear-gradient(145deg, var(--color-bg-soft), var(--color-bg) 55%, #0c100c);
    color: var(--color-text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
    text-rendering: optimizeLegibility;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    opacity: 0.07;
    background-image: url('/images/texture.png');
    background-size: 520px;
    mix-blend-mode: soft-light;
}

::selection {
    background: rgba(196, 154, 74, 0.42);
    color: #fff;
}

a {
    color: var(--color-brass-light);
    text-underline-offset: 0.18em;
}

button,
input,
textarea,
select {
    font: inherit;
}

img {
    max-width: 100%;
}

:focus-visible {
    outline: 3px solid rgba(224, 188, 106, 0.56);
    outline-offset: 3px;
}

.page {
    min-height: 100vh;
    background: transparent;
}

main {
    width: min(100%, 1320px);
    max-width: none;
    margin: 0 auto;
    padding: clamp(1rem, 3vw, 2.2rem);
}

.content {
    margin-top: var(--header-height);
}

article.content {
    min-height: 65vh;
}

/* Navigation */
.site-header-bottom-fixed {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1000;
    border-bottom: var(--border-brass);
    background: rgba(17, 21, 16, 0.9);
    box-shadow: 0 0.45rem 1.5rem rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(16px) saturate(125%);
}

.site-header-inside {
    width: min(100%, 1320px);
    min-height: 86px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin: 0 auto;
    padding: 0.55rem clamp(1rem, 3vw, 2.2rem);
}

#branding {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.identity,
#site-title {
    margin: 0;
}

.custom-logo-link {
    display: block;
    line-height: 0;
}

.custom-logo {
    width: 3.4rem;
    height: 3.4rem;
    display: block;
    object-fit: contain;
    filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.45));
}

#site-text {
    min-width: 0;
    display: grid;
    gap: 0.02rem;
}

#site-title a {
    color: var(--color-text);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1rem, 1.8vw, 1.35rem);
    font-weight: 600;
    letter-spacing: -0.015em;
    text-decoration: none;
    white-space: nowrap;
}

#site-description {
    overflow: hidden;
    color: var(--color-muted);
    font-size: 0.7rem;
    letter-spacing: 0.045em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#top-nav {
    gap: 0.2rem;
}

.menu-item {
    margin: 0;
}

.nav-link {
    min-height: 2.5rem;
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.68rem;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    color: var(--color-muted);
    font-size: 0.83rem;
    font-weight: 650;
    text-decoration: none;
    white-space: nowrap;
    transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.nav-link:hover,
.nav-link.active {
    border-color: rgba(196, 154, 74, 0.3);
    background: linear-gradient(180deg, rgba(196, 154, 74, 0.15), rgba(180, 106, 60, 0.09));
    color: var(--color-text);
}

/* Accueil */
.banner {
    position: relative;
    min-height: clamp(31rem, 72vh, 46rem);
    display: grid;
    overflow: hidden;
    border: var(--border-brass);
    border-radius: clamp(1rem, 2vw, 1.6rem);
    background: url('/images/banner.png') center 43% / cover no-repeat;
    box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
    isolation: isolate;
}

.banner::before,
.banner::after {
    content: "";
    position: absolute;
    z-index: 2;
    width: 0.62rem;
    height: 0.62rem;
    border-radius: 50%;
    border: 1px solid rgba(255, 237, 188, 0.7);
    background: radial-gradient(circle at 35% 35%, #f4d58d, #8c5c20 68%);
    box-shadow: 0 1px 4px #000;
}

.banner::before {
    top: 1rem;
    left: 1rem;
}

.banner::after {
    right: 1rem;
    bottom: 1rem;
}

.banner-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: clamp(1.4rem, 6vw, 5.5rem);
    background:
        linear-gradient(90deg, rgba(8, 12, 8, 0.94) 0%, rgba(12, 18, 12, 0.75) 43%, rgba(12, 16, 11, 0.15) 78%),
        linear-gradient(0deg, rgba(8, 10, 8, 0.72), transparent 52%);
}

.banner-content {
    position: relative;
    z-index: 1;
    width: min(100%, 48rem);
    max-width: none;
    padding: 0 0 0 clamp(1rem, 2vw, 1.5rem);
    border-left: 3px solid var(--color-brass);
    text-align: left;
}

.banner-content::before {
    content: "Atelier numérique indépendant";
    display: inline-flex;
    margin-bottom: 0.85rem;
    color: var(--color-brass-light);
    font-size: 0.76rem;
    font-weight: 750;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.banner-title,
.section h2,
.card-site-title,
.form-title,
.logo-text {
    font-family: Georgia, "Times New Roman", serif;
}

.banner-title {
    max-width: 12ch;
    margin: 0;
    color: var(--color-text);
    font-size: clamp(3rem, 8vw, 6.8rem);
    font-weight: 600;
    letter-spacing: -0.045em;
    line-height: 0.92;
    text-wrap: balance;
    text-shadow: 0 5px 28px rgba(0, 0, 0, 0.76);
}

.site-subtitle {
    max-width: 34rem;
    margin: 1.1rem 0 0;
    color: var(--color-parchment);
    font-size: clamp(1.05rem, 2.1vw, 1.45rem);
    font-weight: 450;
    line-height: 1.45;
    text-shadow: 0 2px 12px #000;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 0.75rem;
    margin-top: 1.8rem;
}

.proof-section {
    position: relative;
    display: grid;
    grid-template-columns: minmax(13rem, 0.7fr) minmax(0, 1.3fr);
    gap: clamp(1rem, 3vw, 3rem);
    align-items: center;
    margin: clamp(1rem, 2vw, 1.5rem) 0;
    padding: clamp(1.4rem, 3.5vw, 2.6rem);
    overflow: hidden;
    border: var(--border-brass);
    border-radius: var(--radius-lg);
    background: linear-gradient(125deg, rgba(45, 54, 40, 0.98), rgba(25, 31, 23, 0.96));
    box-shadow: var(--shadow-sm);
}

.proof-section::after {
    content: "";
    position: absolute;
    right: -4rem;
    bottom: -5rem;
    width: 13rem;
    aspect-ratio: 1;
    opacity: 0.1;
    background: url('/images/gear.png') center / contain no-repeat;
    transform: rotate(18deg);
}

.proof-title,
.proof-text {
    position: relative;
    z-index: 1;
    margin: 0;
}

.proof-title {
    color: var(--color-brass-light);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.55rem, 3vw, 2.25rem);
    line-height: 1.15;
}

.proof-text {
    color: var(--color-parchment);
    font-size: clamp(0.98rem, 1.5vw, 1.08rem);
}

/* Sections éditoriales */
.section {
    position: relative;
    max-width: 1120px;
    margin: clamp(1rem, 2vw, 1.6rem) auto;
    padding: clamp(1.1rem, 3vw, 2.1rem);
    overflow: hidden;
    border: var(--border-soft);
    border-radius: var(--radius-lg);
    background: linear-gradient(155deg, rgba(40, 48, 36, 0.94), rgba(24, 29, 22, 0.97));
    background-image: none;
    box-shadow: var(--shadow-sm);
}

.section::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: inherit;
    opacity: 0.045;
    background: url('/images/texture.png') center / 430px;
}

.section > * {
    position: relative;
    z-index: 1;
}

.section > h2 {
    margin: 0 0 clamp(1rem, 3vw, 1.7rem);
    padding: 0 0 0.85rem;
    overflow: visible;
    border: 0;
    border-bottom: 1px solid rgba(196, 154, 74, 0.34);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: var(--color-text);
    font-size: clamp(1.75rem, 4vw, 3rem);
    font-weight: 600;
    letter-spacing: -0.025em;
    line-height: 1.1;
    text-align: left;
    text-transform: none;
    text-shadow: none;
    text-wrap: balance;
}

.section > h2::after {
    content: "";
    display: block;
    width: 4.2rem;
    height: 2px;
    margin-top: 0.85rem;
    background: linear-gradient(90deg, var(--color-brass), transparent);
}

.section > h2:hover {
    background: transparent;
    box-shadow: none;
}

.section h3,
.section h4 {
    margin: 1.45rem 0 0.65rem;
    color: var(--color-brass-light);
    line-height: 1.25;
    text-wrap: balance;
}

.section h3 {
    font-size: clamp(1.25rem, 2.6vw, 1.75rem);
}

.section h4 {
    color: var(--color-parchment);
    font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.section p {
    margin: 0.8rem 0;
    color: var(--color-parchment);
    font-size: clamp(0.97rem, 1.4vw, 1.06rem);
}

.section ul {
    margin: 1rem 0;
    padding: 0;
    list-style: none;
}

.section li {
    position: relative;
    margin: 0.55rem 0;
    padding-left: 1.35rem;
    color: var(--color-parchment);
    font-size: clamp(0.95rem, 1.4vw, 1.04rem);
}

.section li::before {
    content: "";
    position: absolute;
    top: 0.68em;
    left: 0;
    width: 0.45rem;
    height: 0.45rem;
    border: 1px solid var(--color-brass);
    border-radius: 50%;
    background: rgba(196, 154, 74, 0.2);
    box-shadow: 0 0 0 3px rgba(196, 154, 74, 0.06);
}

.paragraphe {
    position: relative;
    z-index: 1;
    padding: clamp(1rem, 2.8vw, 1.8rem);
    border: var(--border-soft);
    border-left: 3px solid rgba(196, 154, 74, 0.62);
    border-radius: var(--radius-md);
    background: rgba(9, 13, 9, 0.3);
    box-shadow: none;
    color: var(--color-text);
    letter-spacing: normal;
    text-shadow: none;
}

.paragraphe::before {
    display: none;
}

.paragraphe::after {
    content: "";
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    bottom: auto;
    width: 0.48rem;
    height: 0.48rem;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #e1be71, #74501f 70%);
    opacity: 0.75;
    transform: none;
}

.paragraphe:hover,
.paragraphe:hover::after {
    box-shadow: none;
    transform: none;
}

.separator {
    width: min(90%, 42rem);
    height: 1px;
    margin: 1.6rem auto;
    border: 0;
    background: linear-gradient(90deg, transparent, rgba(196, 154, 74, 0.65), transparent);
}

.container {
    display: flex;
    justify-content: center;
    margin: 1.5rem 0 0;
    text-align: center;
}

/* Boutons */
.cta-button {
    position: relative;
    min-height: 3rem;
    width: auto;
    max-width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.7rem 1.15rem;
    overflow: hidden;
    border: 1px solid rgba(224, 188, 106, 0.66);
    border-radius: var(--radius-md);
    background: linear-gradient(180deg, #77512f, #533820) !important;
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.1), 0 0.55rem 1.4rem rgba(0, 0, 0, 0.24);
    color: #fff9e9;
    cursor: pointer;
    font-size: 0.86rem;
    font-weight: 750;
    letter-spacing: 0.055em;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.cta-button::after {
    display: none;
}

.cta-button::before {
    content: "";
    position: absolute;
    inset: 0;
    width: auto;
    height: auto;
    pointer-events: none;
    opacity: 1;
    background: linear-gradient(110deg, transparent 15%, rgba(255, 235, 180, 0.13) 48%, transparent 72%);
    transform: translateX(-110%);
    transition: transform 450ms ease;
}

.cta-button:hover {
    border-color: var(--color-brass-light);
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.14), 0 0.8rem 1.8rem rgba(0, 0, 0, 0.35);
    color: #fff;
    filter: brightness(1.08);
    transform: translateY(-2px);
}

.cta-button:hover::before {
    opacity: 1;
    transform: translateX(110%);
}

.cta-buttons .cta-button:first-child {
    background: linear-gradient(180deg, #67884d, #476238) !important;
    border-color: rgba(158, 190, 120, 0.62);
}

/* Cartes portfolio */
.site-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(0.8rem, 2vw, 1.25rem);
    padding: 0.25rem 0 1.5rem;
}

.site-card-link {
    min-width: 0;
    margin: 0;
    color: inherit;
    text-decoration: none;
}

.site-card {
    height: 100%;
    display: grid;
    grid-template-rows: auto 1fr;
    padding: 0;
    overflow: hidden;
    border: var(--border-soft);
    border-radius: var(--radius-lg);
    background: linear-gradient(155deg, rgba(45, 54, 40, 0.94), rgba(25, 30, 23, 0.98));
    background-image: none;
    box-shadow: var(--shadow-sm);
    transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.site-card:hover {
    border-color: rgba(196, 154, 74, 0.52);
    box-shadow: 0 1rem 2.6rem rgba(0, 0, 0, 0.32);
    transform: translateY(-0.3rem);
}

.site-image-container {
    position: relative;
    aspect-ratio: 4 / 3;
    display: grid;
    place-items: center;
    padding: clamp(0.8rem, 2vw, 1.25rem);
    overflow: hidden;
    border: 0;
    border-bottom: 1px solid rgba(196, 154, 74, 0.22);
    border-radius: 0;
    background:
        radial-gradient(circle at 50% 40%, rgba(94, 127, 69, 0.2), transparent 70%),
        #111710;
}

.site-image-container::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(0deg, rgba(15, 20, 14, 0.28), transparent 55%);
}

.site-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    object-position: center center;
    border-radius: 0;
    transition: transform 350ms ease, filter 250ms ease;
}

.site-card:hover .site-image {
    filter: saturate(1.08) contrast(1.03);
    transform: scale(1.018);
}

.site-details {
    position: relative;
    display: grid;
    align-content: start;
    gap: 0.45rem;
    padding: 1.1rem;
    background: transparent;
    box-shadow: none;
}

.site-details::after {
    content: "\2197";
    position: absolute;
    top: 1rem;
    right: 1rem;
    color: var(--color-brass);
    font-size: 1rem;
}

.card-site-title {
    max-width: calc(100% - 1.8rem);
    margin: 0;
    color: var(--color-text);
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    font-weight: 600;
    line-height: 1.2;
    text-shadow: none;
}

.site-description {
    margin: 0;
    color: var(--color-muted);
    font-size: 0.9rem;
    line-height: 1.55;
}


.portfolio-sites-section .site-links {
    padding-bottom: 0;
}

.portfolio-sites-section .site-card {
    border-color: rgba(196, 154, 74, 0.28);
}

.portfolio-sites-section .site-details {
    min-height: 8.5rem;
}

.portfolio-sites-section .section-introduction {
    margin-bottom: 1.35rem !important;
}

@media (max-width: 600px) {
    .site-image-container {
        aspect-ratio: 5 / 4;
        padding: 1rem;
    }

    .portfolio-sites-section .site-details {
        min-height: 0;
    }
}
/* Formulaire */
.contact-form-container {
    width: min(100%, 48rem);
    max-width: none;
    margin: 0 auto;
    padding: clamp(1.1rem, 3vw, 2rem);
    border: var(--border-brass);
    border-radius: var(--radius-lg);
    background: rgba(10, 14, 10, 0.35);
    box-shadow: var(--shadow-sm);
}

.form-title {
    margin: 0 0 1.2rem;
    color: var(--color-brass-light);
    font-size: clamp(1.5rem, 3vw, 2rem);
    text-align: center;
}

.form-grid {
    display: grid;
    grid-template-columns: minmax(7rem, 0.36fr) minmax(0, 1fr);
    gap: 0.8rem 1rem;
    align-items: center;
    margin: 0 0 1.2rem;
}

.form-grid label {
    color: var(--color-parchment);
    font-size: 0.86rem;
    font-weight: 700;
    justify-self: start;
}

.form-grid input,
.form-grid textarea {
    width: 100%;
    min-height: 3rem;
    padding: 0.7rem 0.8rem;
    border: var(--border-soft);
    border-radius: var(--radius-sm);
    background: rgba(5, 8, 5, 0.58);
    color: var(--color-text);
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.form-grid textarea {
    min-height: 9rem;
    resize: vertical;
}

.form-grid input:hover,
.form-grid textarea:hover,
.form-grid input:focus,
.form-grid textarea:focus {
    border-color: rgba(196, 154, 74, 0.58);
    box-shadow: 0 0 0 3px rgba(196, 154, 74, 0.08);
}

.validation-errors {
    margin: 0 0 1rem;
    padding: 0.7rem 0.9rem;
    border-left: 3px solid var(--color-danger);
    background: rgba(181, 83, 66, 0.12);
    color: #ffd8d1;
}

.service-price,
.service-minor-price {
    margin: 1rem 0;
    text-align: center;
}

.service-price {
    color: var(--color-brass-light);
    font-size: clamp(1.2rem, 3vw, 1.55rem);
}

.service-price strong {
    font-size: 1.35em;
}

.service-minor-price {
    color: var(--color-copper);
    font-size: 1.1rem;
}

/* Onglets Applications mobiles - surcharge les anciens styles locaux */
.section .tab-container {
    width: 100%;
}

.section .tab-menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin: 0 0 1rem;
    padding: 0;
}

.section .tab-item {
    min-height: 2.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0.55rem 0.85rem;
    border: var(--border-soft);
    border-radius: 999px;
    background: rgba(10, 14, 10, 0.42);
    color: var(--color-muted);
    cursor: pointer;
    font-size: 0.84rem;
    transition: border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.section .tab-item::before {
    display: none;
}

.section .tab-item:hover,
.section .tab-item.active {
    border-color: rgba(196, 154, 74, 0.62);
    background: rgba(196, 154, 74, 0.14);
    color: var(--color-text);
}

.section .tab-content {
    padding: clamp(1rem, 3vw, 1.6rem);
    border: var(--border-soft);
    border-radius: var(--radius-md);
    background: rgba(8, 12, 8, 0.3);
}

.section .tab-pane {
    display: none;
}

.section .tab-pane.active {
    display: block;
}

/* Pied de page */
.footer {
    position: relative;
    z-index: 10;
    margin-top: clamp(2rem, 5vw, 4rem);
    padding: 0;
    border-top: var(--border-brass);
    background:
        radial-gradient(circle at 15% 0%, rgba(94, 127, 69, 0.16), transparent 28rem),
        #10150f;
    color: var(--color-parchment);
    box-shadow: none;
}

.footer .footer-content {
    width: min(100%, 1320px);
    max-width: none;
    display: grid;
    grid-template-columns: 1.55fr repeat(3, minmax(9rem, 1fr));
    gap: clamp(1.5rem, 4vw, 3.5rem);
    align-items: start;
    margin: 0 auto;
    padding: clamp(2rem, 6vw, 4.5rem) clamp(1rem, 3vw, 2.2rem);
}

.footer-section {
    min-width: 0;
    margin: 0;
}

.footer-section h2 {
    margin: 0 0 1rem;
    color: var(--color-brass-light);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.footer-section h2::before {
    display: none;
}

.footer-section h2.logo-text {
    color: var(--color-text);
    font-size: clamp(1.45rem, 2.8vw, 2rem);
    font-weight: 600;
    letter-spacing: -0.025em;
    line-height: 1.12;
    text-shadow: none;
    text-transform: none;
}

.footer-section p,
.footer-section span {
    color: var(--color-muted);
    font-size: 0.88rem;
    line-height: 1.65;
}

.footer-section ul {
    display: grid;
    gap: 0.55rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-section ul li {
    margin: 0;
}

.footer-section ul li a {
    color: var(--color-parchment);
    font-size: 0.86rem;
    text-decoration: none;
    transition: color 160ms ease;
}

.footer-section ul li a:hover {
    color: var(--color-brass-light);
    text-decoration: none;
}

.footer .contact {
    margin-top: 1rem;
}

.footer-bottom {
    padding: 1rem;
    border-top: var(--border-soft);
    background: rgba(3, 6, 3, 0.25);
    color: var(--color-muted);
    font-size: 0.78rem;
    text-align: center;
}

@media (max-width: 980px) {
    .menu-burger {
        display: block;
        margin-left: auto;
        z-index: 1002;
    }

    #access {
        display: none;
    }

    #access.open {
        position: fixed;
        inset: 0;
        z-index: 1001;
        display: grid;
        place-items: center;
        padding: calc(var(--header-height) + 1rem) 1.2rem 1.2rem;
        background:
            radial-gradient(circle at top right, rgba(94, 127, 69, 0.25), transparent 25rem),
            rgba(14, 18, 13, 0.98);
        backdrop-filter: blur(18px);
    }

    #access.open > div {
        width: min(100%, 28rem);
    }

    #top-nav.open {
        display: grid;
        gap: 0.5rem;
    }

    .nav-link {
        width: 100%;
        min-height: 3.4rem;
        justify-content: center;
        font-size: 1rem;
    }

    .site-links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer .footer-content {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    :root {
        --header-height: 72px;
    }

    .site-header-inside {
        min-height: 72px;
    }

    main {
        padding: 0.75rem;
    }

    .banner {
        min-height: clamp(31rem, 78vh, 40rem);
        background-position: 58% center;
    }

    .banner-overlay {
        align-items: flex-end;
        padding: 1.4rem;
        background:
            linear-gradient(0deg, rgba(8, 12, 8, 0.96) 0%, rgba(11, 16, 11, 0.74) 50%, rgba(11, 16, 11, 0.18) 100%);
    }

    .banner-title {
        font-size: clamp(2.8rem, 15vw, 4.5rem);
    }

    .proof-section {
        grid-template-columns: 1fr;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 0.35rem;
    }

    .form-grid input,
    .form-grid textarea {
        margin-bottom: 0.5rem;
    }

    .cta-buttons {
        display: grid;
        grid-template-columns: 1fr;
    }

    .cta-buttons .cta-button,
    .container .cta-button,
    .contact-form-container > form > .cta-button {
        width: 100%;
    }
}

@media (max-width: 600px) {
    .site-links {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    #site-description {
        display: none;
    }

    .custom-logo {
        width: 2.9rem;
        height: 2.9rem;
    }

    .footer .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}

/* Page développeur et blocs éditoriaux enrichis */
.page .section {
    max-width: 1120px;
    border: var(--border-soft);
    border-radius: var(--radius-lg);
    background: linear-gradient(155deg, rgba(40, 48, 36, 0.94), rgba(24, 29, 22, 0.97));
    box-shadow: var(--shadow-sm);
}

.page .section > h2 {
    color: var(--color-text);
    text-align: left;
}

.section-eyebrow {
    margin: 0 0 0.5rem !important;
    color: var(--color-brass-light) !important;
    font-size: 0.72rem !important;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.section-introduction {
    max-width: 48rem;
    margin: -0.35rem 0 1.4rem !important;
    color: var(--color-muted) !important;
}

.developer-intro .paragraphe {
    padding: clamp(1.25rem, 3.5vw, 2.4rem);
}

.developer-lead {
    color: var(--color-parchment-soft) !important;
    font-size: clamp(1.05rem, 1.8vw, 1.18rem) !important;
}

.developer-highlights {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.7rem;
    margin-top: 1.6rem;
}

.developer-highlight {
    min-width: 0;
    display: grid;
    align-content: start;
    gap: 0.35rem;
    padding: 1rem;
    border: var(--border-soft);
    border-radius: var(--radius-md);
    background: rgba(94, 127, 69, 0.09);
}

.developer-highlight strong {
    color: var(--color-brass-light);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.05rem;
}

.developer-highlight span {
    color: var(--color-muted);
    font-size: 0.86rem;
    line-height: 1.5;
}

.developer-method {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem 1.2rem;
    margin-top: 1.25rem !important;
}

.developer-actions {
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
}

.text-link {
    color: var(--color-brass-light);
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration-thickness: 1px;
}

.recent-projects-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(0.75rem, 2vw, 1rem);
}

.recent-project-card {
    position: relative;
    min-height: 20rem;
    display: grid;
    grid-template-rows: auto 5.5rem auto 1fr;
    align-content: start;
    gap: 0.7rem;
    padding: 1.2rem;
    overflow: hidden;
    border: var(--border-soft);
    border-radius: var(--radius-lg);
    background:
        radial-gradient(circle at 90% 5%, rgba(196, 154, 74, 0.12), transparent 12rem),
        rgba(8, 12, 8, 0.32);
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.recent-project-card:hover {
    border-color: rgba(196, 154, 74, 0.5);
    background:
        radial-gradient(circle at 90% 5%, rgba(196, 154, 74, 0.18), transparent 12rem),
        rgba(8, 12, 8, 0.42);
    transform: translateY(-0.2rem);
}

.project-status {
    width: max-content;
    max-width: 100%;
    padding: 0.22rem 0.5rem;
    border: 1px solid rgba(196, 154, 74, 0.3);
    border-radius: 999px;
    color: var(--color-muted);
    font-size: 0.66rem;
    font-weight: 750;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.project-monogram,
.project-logo {
    width: 4.6rem;
    height: 4.6rem;
    align-self: center;
}

.project-monogram {
    display: grid;
    place-items: center;
    border: 1px solid rgba(196, 154, 74, 0.4);
    border-radius: 50%;
    background: linear-gradient(145deg, rgba(120, 149, 91, 0.36), rgba(45, 54, 40, 0.48));
    color: var(--color-brass-light);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2.1rem;
    box-shadow: inset 0 0 0 0.3rem rgba(0, 0, 0, 0.12);
}

.project-logo {
    object-fit: contain;
    filter: drop-shadow(0 0.3rem 0.5rem rgba(0, 0, 0, 0.32));
}

.recent-project-card h3 {
    margin: 0;
    color: var(--color-text);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.45rem;
}

.recent-project-card p {
    margin: 0;
    color: var(--color-muted);
    font-size: 0.9rem;
    line-height: 1.55;
}

@media (max-width: 850px) {
    .developer-highlights,
    .recent-projects-grid {
        grid-template-columns: 1fr;
    }

    .recent-project-card {
        min-height: 0;
        grid-template-columns: auto minmax(0, 1fr);
        grid-template-rows: auto auto auto;
        align-items: center;
    }

    .recent-project-card .project-status {
        grid-column: 1 / -1;
    }

    .recent-project-card p {
        grid-column: 1 / -1;
    }
}

@media (max-width: 600px) {
    .developer-method {
        grid-template-columns: 1fr;
    }

    .developer-actions {
        display: grid;
    }
}

/* Ajustements finaux de cohérence */
.recent-project-card {
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

.recent-project-card .project-benefit,
.recent-project-card .project-link {
    margin-top: auto;
}

.hamburger {
    width: 2.9rem;
    height: 2.9rem;
    display: grid;
    place-content: center;
    gap: 0.32rem;
    padding: 0;
    border: var(--border-soft);
    border-radius: var(--radius-md);
    background: rgba(196, 154, 74, 0.08);
    color: var(--color-text);
    cursor: pointer;
}

.hamburger span {
    width: 1.35rem;
    height: 2px;
    display: block;
    border-radius: 999px;
    background: currentColor;
}

@media (max-width: 850px) {
    .recent-project-card {
        min-height: 0;
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }

    .recent-project-card .project-status,
    .recent-project-card p {
        grid-column: auto;
    }
}
