/*
Theme Name: Dimension Plus Consult — vitrine
Description: vitrine publique — Bootstrap, inline-block, rem, mobile-first
Version: 1.0
*/

/**
 * Table of Contents:
 *
 * 1.0 - Variables
 * 2.0 - Reset
 * 3.0 - Typographie
 * 4.0 - Boutons
 * 5.0 - Navbar
 * 6.0 - Sections
 * 7.0 - Footer
 * 8.0 - Animations
 * 9.0 - Media Queries
 * ----------------------------------------------------------------------------
 */

/* 1.0 - Variables
-------------------------------------------------------------- */
:root {
    /* Couleurs */
    --primary: #7a3f1d;
    --primary-light: #f4b27e;
    --primary-dark: #5f2f16;
    --primary-hover: #5f2f16;
    --accent: #c77632;
    --accent-hover: #c08737;

    --bg-body: #fff5ec;
    --bg-card: #ffffff;
    --bg-section: #fff9f4;
    --bg-alt: #f6dfcf;

    --text-main: #2a1b12;
    --text-muted: #6e6257;
    --text-light: #9b8a7c;

    --border: #ead8c6;
    --border-soft: #f1dfce;
    --border-strong: #e4b284;

    /* Couleurs sémantiques */
    --destructive: #a2473c;
    --destructive-soft: #f4e2df;
    --success: #4f7c53;
    --success-soft: #e6efe6;

    /* Polices */
    --font-heading: 'Instrument Sans', sans-serif;
    --font-body: 'Instrument Sans', sans-serif;

    /* Radius */
    --radius: 0.625rem;
    --radius-lg: 1.25rem;
    --radius-xl: 2rem;
    --radius-pill: 62.4375rem;

    /* Ombres */
    --shadow-xs: 0 1px 2px rgba(42, 27, 18, 0.05);
    --shadow-sm: 0 4px 20px rgba(42, 27, 18, 0.05);
    --shadow-md: 0 8px 32px rgba(42, 27, 18, 0.1);
    --shadow-lg: 0 20px 45px rgba(122, 63, 29, 0.15);
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-body);
    font-family: var(--font-body), sans-serif;
    font-size: 1rem;
    font-weight: 400;
    font-style: normal;
    line-height: 1.55;
    color: var(--text-muted);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
}

button {
    background: none;
    border: none;
}

span,
a {
    display: inline-block;
}

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

input,
textarea,
select {
    font-family: inherit;
    font-size: inherit;
}

ul,
ol {
    margin: 0;
    padding: 0;
}

ul li,
ol li {
    list-style-type: none;
}

::selection {
    background-color: var(--primary);
    color: #ffffff;
}

/* 3.0 - Typographie
-------------------------------------------------------------- */
h1,
h2,
.h3,
.h4,
.h5,
.h6 {
    margin: 0;
    font-family: var(--font-heading), sans-serif;
    font-weight: 600;
    line-height: 1.12;
    color: var(--text-main);
}

h1 {
    font-size: 2.375rem;
}

h2 {
    font-size: 1.875rem;
}

.h3 {
    font-size: 1.5rem;
}

.h4 {
    font-size: 1.25rem;
}

.h5 {
    font-size: 1.125rem;
}

.h6 {
    font-size: 1rem;
}

p {
    margin: 0;
}

h1 strong,
h2 strong,
.h3 strong,
.h4 strong {
    font-weight: 600;
    color: var(--primary);
}

.content-eyebrow {
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    color: var(--accent);
}

.content-desc {
    margin-top: 1rem;
    font-size: 1rem;
    line-height: 1.65;
    color: var(--text-muted);
}

.text-muted-soft {
    color: var(--text-light);
}

/* 4.0 - Boutons
-------------------------------------------------------------- */
.btn {
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.375;
    padding: 0.75rem 1.625rem;
    border: 1px solid transparent;
    border-radius: var(--radius-pill);
    cursor: pointer;
    transition:
        transform 0.15s ease,
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease;
}

.btn:hover {
    transform: translateY(-0.125rem);
}

.btn-primary,
.btn-primary:visited {
    background-color: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
    box-shadow: var(--shadow-lg);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary:first-child:active {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    color: #ffffff;
}

.btn-outline,
.btn-outline:visited {
    background-color: var(--bg-card);
    border-color: var(--border);
    color: var(--text-muted);
}

.btn-outline:hover,
.btn-outline:focus {
    background-color: var(--bg-body);
    border-color: var(--border-strong);
    color: var(--primary);
}

.btn-icon {
    width: 1rem;
    height: 1rem;
    vertical-align: -0.1875rem;
    margin-right: 0.5rem;
}


/* 5.0 - Navbar
-------------------------------------------------------------- */
nav {
    background-color: rgba(255, 245, 236, 0.88);
    backdrop-filter: blur(0.625rem);
    border-bottom: 1px solid rgba(234, 216, 198, 0.7);
    box-shadow: var(--shadow-xs);
}

.navbar-brand {
    padding: 0;
}

.brand-logo {
    overflow: hidden;
    width: 3rem;
    height: 3rem;
    margin-right: 0.75rem;
    border-radius: 0.75rem;
    background-color: var(--primary-light);
    box-shadow: var(--shadow-md);
    vertical-align: middle;
}

.brand-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.brand-name {
    font-size: 1.125rem;
    font-weight: 600;
    vertical-align: middle;
    color: var(--text-main);
}

.navbar-toggler {
    width: 2.75rem;
    height: 2.75rem;
    padding: 0.625rem 0.6875rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background-color: var(--bg-card);
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler span {
    display: block;
    width: 100%;
    height: 2px;
    border-radius: 2px;
    background-color: var(--primary);
}

.navbar-toggler span + span {
    margin-top: 0.3125rem;
}

.navbar-nav {
    margin-top: 1rem;
}

.menu-item a {
    padding: 0.5rem 0;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: color 0.2s ease;
}

.menu-item a:hover,
.menu-item a.active {
    color: var(--primary);
}

.navbar-cta {
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

/* 6.0 - Sections
-------------------------------------------------------------- */
.section-py {
    padding: 4rem 0;
}

.section-bg {
    background-color: var(--bg-section);
}

.page-shell {
    position: relative;
    overflow: hidden;
    background-image:
        radial-gradient(circle at 82% 8%, rgba(199, 118, 50, 0.14), transparent 26%),
        radial-gradient(circle at 44% 96%, rgba(122, 63, 29, 0.08), transparent 30%);
}

.card-soft {
    padding: 1.5rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    background-color: rgba(255, 255, 255, 0.75);
    box-shadow: var(--shadow-sm);
}


/* 6.1 - Page politique de confidentialité
-------------------------------------------------------------- */
.back-link {
    margin-bottom: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
    transition: color 0.2s ease;
}

.back-link:hover {
    color: var(--primary-dark);
}

.policy-aside {
    box-shadow: var(--shadow-md);
}

/* Le titre reprend la taille de l'ancienne vitrine (2.25rem) : au-delà,
   il déborde de la colonne latérale. */
.policy-aside h1 {
    font-size: 2rem;
}

.policy-badge {
    width: 3.5rem;
    height: 3.5rem;
    margin-bottom: 1.5rem;
    border-radius: 1rem;
    background-color: var(--bg-alt);
    text-align: center;
    line-height: 3.5rem;
    color: var(--primary);
}

.policy-badge svg {
    width: 1.5rem;
    height: 1.5rem;
    vertical-align: -0.375rem;
}

.policy-contact {
    margin-top: 2rem;
    padding: 1.25rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background-color: var(--bg-section);
}

.policy-contact-link {
    margin-top: 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 0.25rem;
    color: var(--primary);
}

.policy-article {
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-md);
}

.policy-article-head {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.policy-updated {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
}

.policy-intro {
    margin-top: 0.75rem;
    font-size: 0.875rem;
    line-height: 1.5rem;
    color: var(--text-muted);
}

.policy-item {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.policy-number {
    font-family: ui-monospace, 'SFMono-Regular', Menlo, monospace;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent);
}

.policy-text {
    margin-top: 0.75rem;
    line-height: 1.75rem;
    color: var(--text-muted);
}

.policy-article-foot {
    padding: 1.5rem;
    border-top: 1px solid var(--border);
    background-color: var(--bg-section);
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
}

.policy-article-foot .policy-intro {
    margin-top: 0;
}


/* 6.2 - Blocs d'information (page contact)
-------------------------------------------------------------- */
/* Le titre reprend la taille de l'ancienne vitrine (2.25rem / 3rem). */
.page-shell-contact h1 {
    font-size: 2.25rem;
}

.page-shell-contact {
    background-image:
        radial-gradient(circle at 14% 10%, rgba(122, 63, 29, 0.14), transparent 32%),
        radial-gradient(circle at 88% 4%, rgba(242, 163, 107, 0.24), transparent 28%);
}

.content-desc-lg {
    margin-top: 1.25rem;
    font-size: 1.0625rem;
    line-height: 1.9rem;
}

.info-list {
    margin-top: 2rem;
}

.info-line {
    margin-bottom: 1rem;
    padding: 0.875rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background-color: rgba(255, 255, 255, 0.6);
}

.info-icon {
    float: left;
    width: 2.75rem;
    height: 2.75rem;
    margin-right: 1rem;
    border-radius: 0.875rem;
    background-color: var(--bg-alt);
    text-align: center;
    line-height: 2.75rem;
    color: var(--primary);
}

.info-icon svg {
    width: 1.125rem;
    height: 1.125rem;
    vertical-align: -0.1875rem;
}

.info-body {
    display: block;
    overflow: hidden;
}

.info-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-light);
}

.info-value {
    display: block;
    margin-top: 0.125rem;
    font-weight: 600;
    color: var(--text-main);
}

/* 6.3 - Formulaires
-------------------------------------------------------------- */
.form-card {
    padding: 1.5rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    background-color: rgba(255, 255, 255, 0.85);
    box-shadow: var(--shadow-md);
}

.form-head {
    margin-bottom: 1.75rem;
}

.form-head-icon {
    float: left;
    width: 3rem;
    height: 3rem;
    margin-right: 0.75rem;
    border-radius: 0.875rem;
    background-color: var(--bg-alt);
    text-align: center;
    line-height: 3rem;
    color: var(--primary);
}

.form-head-icon svg {
    width: 1.25rem;
    height: 1.25rem;
    vertical-align: -0.25rem;
}

.form-head-body {
    display: block;
    overflow: hidden;
}

.form-head-body .h4 {
    display: block;
}

.form-head-desc {
    display: block;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.form-label-custom {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-main);
}

.required {
    color: var(--destructive);
}

.form-input {
    width: 100%;
    padding: 0.8125rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background-color: var(--bg-section);
    font-size: 0.9375rem;
    color: var(--text-main);
    transition:
        border-color 0.2s ease,
        background 0.2s ease;
}

.form-input:focus {
    border-color: var(--primary);
    background-color: var(--bg-card);
    outline: none;
}

.form-input-custom-subject {
    margin-top: 0.75rem;
}

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

.form-error {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--destructive);
}

.alert-success-soft {
    margin-bottom: 1.5rem;
    padding: 1rem;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-lg);
    background-color: var(--bg-alt);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--primary);
}

.privacy-box {
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background-color: var(--bg-section);
}

.privacy-label {
    margin: 0;
    cursor: pointer;
}

.privacy-check {
    float: left;
    width: 1.125rem;
    height: 1.125rem;
    margin-top: 0.1875rem;
    margin-right: 0.75rem;
    accent-color: var(--primary);
}

.privacy-text {
    display: block;
    overflow: hidden;
    font-size: 0.875rem;
    line-height: 1.5rem;
    color: var(--text-muted);
}

.privacy-text a {
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 0.1875rem;
    color: var(--primary);
}

.form-actions {
    margin-top: 1.5rem;
    text-align: right;
}

.form-actions .btn {
    margin-top: 0.5rem;
    margin-left: 0.5rem;
}

/* 6.4 - Page demande publique
-------------------------------------------------------------- */
/* La page démarre juste sous la barre collante : l'espace haut reste court,
   comme sur l'ancienne vitrine. */
.page-shell-request.section-py {
    padding: 2rem 0 3.5rem;
}

.page-shell-request {
    background-image:
        radial-gradient(circle at 12% 10%, rgba(122, 63, 29, 0.14), transparent 30%),
        radial-gradient(circle at 88% 8%, rgba(242, 163, 107, 0.24), transparent 26%);
}

/* Le titre reprend la taille de l'ancienne vitrine (2.25rem), identique
   sur toutes les largeurs. */
.page-shell-request h1 {
    font-size: 2.25rem;
}

.container-request {
    max-width: 65.5rem;
}

.request-hero {
    position: relative;
    z-index: 0;
    overflow: hidden;
    margin-bottom: 2rem;
    padding: 1.5rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    background-color: rgba(255, 255, 255, 0.8);
    box-shadow: var(--shadow-lg);
}

/* Cercles décoratifs de l'ancienne vitrine, en angle haut-droit. */
.request-hero::before,
.request-hero::after {
    content: '';
    position: absolute;
    z-index: -1;
    border-radius: 50%;
}

.request-hero::before {
    top: -6rem;
    right: -6rem;
    width: 18rem;
    height: 18rem;
    border: 1px solid rgba(122, 63, 29, 0.1);
}

.request-hero::after {
    top: 2.5rem;
    right: -2.5rem;
    width: 11rem;
    height: 11rem;
    border: 1px solid rgba(192, 135, 55, 0.15);
}

.request-hero-icon {
    width: 3.5rem;
    height: 3.5rem;
    margin-bottom: 1.5rem;
    border-radius: 1rem;
    background-color: var(--bg-alt);
    text-align: center;
    line-height: 3.5rem;
    color: var(--primary);
}

.request-hero-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    vertical-align: -0.375rem;
}

.request-steps {
    margin-top: 1.5rem;
}

.request-step {
    display: block;
    margin-bottom: 0.75rem;
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background-color: rgba(255, 255, 255, 0.65);
    font-size: 0.875rem;
    color: var(--text-muted);
}

.request-step-icon {
    width: 1rem;
    height: 1rem;
    margin-right: 0.5rem;
    vertical-align: -0.1875rem;
    color: var(--primary);
}

.form-card-request {
    padding: 1.25rem;
    background-color: rgba(255, 255, 255, 0.8);
    box-shadow: var(--shadow-sm);
}

.block-title {
    margin-bottom: 1.25rem;
}

.block-title + .row .block-title,
.row + .block-title {
    margin-top: 0.5rem;
}

.block-title-icon {
    float: left;
    width: 2.75rem;
    height: 2.75rem;
    margin-right: 0.75rem;
    border-radius: 0.75rem;
    background-color: var(--bg-alt);
    text-align: center;
    line-height: 2.75rem;
    color: var(--primary);
}

.block-title-icon svg {
    width: 1.25rem;
    height: 1.25rem;
    vertical-align: -0.25rem;
}

.block-title-body {
    display: block;
    overflow: hidden;
}

.block-title-text {
    display: block;
    margin-top: 0.125rem;
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* 6.4.1 - Champ téléphone (indicatif + numéro) */
.phone-input {
    overflow: hidden;
}

.phone-dial {
    float: left;
    width: 7rem;
    border-right-width: 0;
    border-radius: var(--radius-lg) 0 0 var(--radius-lg);
}

.phone-number-wrap {
    display: block;
    overflow: hidden;
}

.phone-number {
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}

/* 6.4.2 - Zone de dépôt des fichiers */
/* Centrage vertical sans flex : table + table-cell, qui ne gonfle jamais
   la hauteur quand le contenu passe sur plusieurs lignes. */
.dropzone {
    position: relative;
    display: table;
    width: 100%;
    min-height: 18rem;
    margin: 0;
    padding: 1.5rem;
    border: 1px dashed var(--border-strong);
    border-radius: 1.5rem;
    background-color: var(--bg-section);
    text-align: center;
    cursor: pointer;
    transition:
        border-color 0.2s ease,
        background 0.2s ease;
}

.dropzone-inner {
    display: table-cell;
    vertical-align: middle;
}

.dropzone:hover,
.dropzone.is-dragging {
    border-color: var(--primary);
    background-color: var(--bg-alt);
}

.dropzone-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 0.0625rem;
    height: 0.0625rem;
    opacity: 0;
}

.dropzone-icon {
    width: 2.5rem;
    height: 2.5rem;
    color: var(--primary);
}

.dropzone-title {
    display: block;
    margin-top: 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-main);
}

.dropzone-text {
    display: block;
    max-width: 20rem;
    margin-top: 0.5rem;
    margin-right: auto;
    margin-left: auto;
    font-size: 0.75rem;
    line-height: 1.25rem;
    color: var(--text-muted);
}

.dropzone-limit {
    display: block;
    max-width: 20rem;
    margin-top: 0.75rem;
    margin-right: auto;
    margin-left: auto;
    font-size: 0.75rem;
    line-height: 1.25rem;
    font-weight: 500;
    color: var(--primary);
}

.upload-summary {
    margin-top: 1.25rem;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-lg);
    background-color: var(--bg-card);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-main);
}

.upload-list {
    margin-top: 0.5rem;
}

.upload-item {
    overflow: hidden;
    margin-top: 0.5rem;
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background-color: var(--bg-card);
}

.upload-remove {
    float: right;
    width: 2.25rem;
    height: 2.25rem;
    margin-left: 0.75rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    background-color: var(--bg-card);
    line-height: 1;
    color: var(--primary);
    cursor: pointer;
    transition: background 0.2s ease;
}

.upload-remove:hover {
    background-color: var(--bg-body);
}

.upload-remove svg {
    width: 1rem;
    height: 1rem;
    vertical-align: -0.1875rem;
}

.upload-item-body {
    display: block;
    overflow: hidden;
}

.upload-item-name {
    display: block;
    overflow: hidden;
    font-size: 0.875rem;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--text-main);
}

.upload-item-size {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.after-send {
    margin-top: 1.25rem;
    padding: 1.25rem;
    border-radius: var(--radius-lg);
    background-color: var(--bg-body);
}

.after-send-title {
    font-weight: 600;
    color: var(--text-main);
}

.after-send-text {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    line-height: 1.5rem;
    color: var(--text-muted);
}

.privacy-box-request {
    margin-top: 2rem;
}

.form-actions-bordered {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border);
}

/* 6.4.3 - Confirmation d'envoi */
.modal-overlay {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1050;
    overflow-y: auto;
    padding: 1.25rem;
    background-color: rgba(42, 27, 18, 0.45);
    backdrop-filter: blur(0.25rem);
    text-align: center;
}

/* Centrage vertical sans flex : la pseudo-colonne aligne la carte au milieu. */
.modal-overlay::before {
    content: '';
    display: inline-block;
    height: 100%;
    vertical-align: middle;
}

.modal-card {
    display: inline-block;
    width: 100%;
    max-width: 32rem;
    padding: 1.5rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    background-color: var(--bg-card);
    text-align: center;
    vertical-align: middle;
    box-shadow: var(--shadow-lg);
}

.modal-card h2 {
    font-size: 1.5rem;
}

.modal-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 1rem;
    background-color: var(--bg-alt);
    text-align: center;
    line-height: 4rem;
    color: var(--primary);
}

.modal-icon svg {
    width: 2rem;
    height: 2rem;
    vertical-align: -0.5rem;
}

.modal-eyebrow {
    margin-top: 1.25rem;
    margin-bottom: 0.75rem;
}

.modal-text {
    margin-top: 0.75rem;
    line-height: 1.75rem;
    color: var(--text-muted);
}

.modal-reference {
    font-family: ui-monospace, 'SFMono-Regular', Menlo, monospace;
    font-weight: 600;
    color: var(--primary);
}

.modal-actions {
    margin-top: 1.5rem;
}

.modal-actions .btn {
    margin-top: 0.5rem;
    margin-left: 0.25rem;
    margin-right: 0.25rem;
}

/* 6.5 - Page d'accueil
-------------------------------------------------------------- */
.landing {
    overflow: hidden;
}

.container-wide {
    max-width: 80rem;
}

.container-stats {
    max-width: 73.5rem;
}

.landing h2 {
    font-size: 2.25rem;
}

.section-dark {
    background-color: var(--text-main);
}

.section-dark h2 {
    color: #ffffff;
}

.content-eyebrow-light {
    color: #f0b36f;
}

.section-desc-light {
    margin-top: 1.5rem;
    font-size: 1.0625rem;
    line-height: 1.9rem;
    color: rgba(255, 255, 255, 0.68);
}

.section-head {
    margin-bottom: 3rem;
}

.section-head-desc {
    margin-top: 1.5rem;
    font-size: 1.0625rem;
    line-height: 1.9rem;
    color: var(--text-muted);
}

.section-head-action {
    margin-top: 1.5rem;
}

.btn-lg-custom {
    padding: 0.9375rem 1.75rem;
    font-size: 1rem;
}

.btn-ghost,
.btn-ghost:visited {
    background-color: transparent;
    border-color: rgba(255, 255, 255, 0.25);
    color: #ffffff;
}

.btn-ghost:hover,
.btn-ghost:focus {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.45);
    color: #ffffff;
}

.btn-icon-end {
    margin-right: 0;
    margin-left: 0.5rem;
}

/* 6.5.1 - Hero */
.hero {
    position: relative;
    padding: 3rem 0 5rem;
    background-image:
        radial-gradient(circle at 15% 15%, rgba(122, 63, 29, 0.16), transparent 32%),
        radial-gradient(circle at 85% 20%, rgba(242, 163, 107, 0.32), transparent 30%);
}

.hero-badge {
    padding: 0.5rem 1rem;
    border: 1px solid #e8c5aa;
    border-radius: var(--radius-pill);
    background-color: rgba(255, 255, 255, 0.75);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--primary);
    box-shadow: var(--shadow-xs);
}

.hero h1 {
    margin-top: 1.75rem;
    font-size: 3rem;
    line-height: 1;
}

.hero-desc {
    margin-top: 1.75rem;
    font-size: 1.125rem;
    line-height: 2rem;
    color: #6d5c50;
}

.hero-actions {
    margin-top: 2.25rem;
}

.hero-actions .btn {
    margin-top: 0.75rem;
    margin-right: 0.75rem;
}

.hero-visual {
    position: relative;
    z-index: 0;
    margin-top: 3rem;
}

.hero-blob {
    position: absolute;
    top: 1rem;
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
    z-index: -1;
    border: 1px solid rgba(199, 118, 50, 0.35);
    border-radius: 28% 72% 34% 66% / 32% 22% 78% 68%;
    background-color: #f7c79e;
    transform: rotate(3deg);
}

.hero-ring {
    position: absolute;
    z-index: -1;
    border-radius: 50%;
}

.hero-ring-top {
    top: -1.25rem;
    right: 1.5rem;
    width: 8rem;
    height: 8rem;
    border: 1px solid rgba(122, 63, 29, 0.2);
}

.hero-ring-bottom {
    right: 4rem;
    bottom: 2.5rem;
    width: 5rem;
    height: 5rem;
    border: 1px solid rgba(199, 118, 50, 0.25);
}

.hero-photo {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 34% 66% 26% 74% / 20% 34% 66% 80%;
    box-shadow: var(--shadow-lg);
}

.hero-photo img {
    display: block;
    width: 100%;
    height: 24rem;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.hero-photo:hover img {
    transform: scale(1.05);
}

.hero-photo-veil {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-image: linear-gradient(to top right, rgba(42, 27, 18, 0.35), transparent, rgba(199, 118, 50, 0.1));
    pointer-events: none;
}

.hero-card {
    position: absolute;
    right: 0.5rem;
    bottom: 1rem;
    max-width: 16.25rem;
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-md);
}

.hero-card-eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--accent);
}

.hero-card-text {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    line-height: 1.5rem;
    font-weight: 600;
    color: #2f2118;
}

/* 6.5.2 - Indicateurs */
.stats {
    position: relative;
    z-index: 20;
    margin-top: -3rem;
}

.stats-card {
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    background-color: rgba(255, 255, 255, 0.85);
    box-shadow: var(--shadow-md);
}

.stat {
    padding: 1.5rem;
}

.stat-value {
    font-family: var(--font-heading), sans-serif;
    font-size: 3rem;
    font-weight: 600;
    line-height: 1;
    color: var(--primary);
}

.stat-label {
    margin-top: 0.75rem;
    font-size: 1.125rem;
    color: var(--text-muted);
}

/* 6.5.3 - Services */
.services {
    padding-top: 5rem;
}

.service-card {
    height: 100%;
    padding: 1.75rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background-color: rgba(255, 255, 255, 0.75);
    box-shadow: var(--shadow-xs);
    transition:
        transform 0.5s ease,
        border-color 0.5s ease,
        box-shadow 0.5s ease;
}

.service-card:hover {
    border-color: var(--border-strong);
    box-shadow: var(--shadow-md);
    transform: translateY(-0.5rem);
}

.service-icon {
    width: 2rem;
    height: 2rem;
    color: var(--primary);
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-title {
    margin-top: 2rem;
}

.service-text {
    margin-top: 0.75rem;
    font-size: 0.875rem;
    line-height: 1.5rem;
    color: var(--text-muted);
}

.service-link {
    margin-top: 1.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent);
    transition: color 0.2s ease;
}

.service-link:hover {
    color: var(--primary);
}

/* 6.5.4 - À propos */
.about-visual {
    position: relative;
    z-index: 0;
}

.about-blob {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    bottom: 1.25rem;
    left: 1.25rem;
    z-index: -1;
    border: 1px solid rgba(240, 179, 111, 0.25);
    border-radius: 58% 42% 65% 35% / 24% 56% 44% 76%;
    background-color: #6d371a;
    transform: rotate(-2deg);
}

.about-ring {
    position: absolute;
    z-index: -1;
    border-radius: 50%;
}

.about-ring-top {
    top: -1.25rem;
    left: 2.5rem;
    width: 6rem;
    height: 6rem;
    border: 1px solid rgba(240, 179, 111, 0.25);
}

.about-ring-bottom {
    right: 1.5rem;
    bottom: 4rem;
    width: 8rem;
    height: 8rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.about-photo {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 32% 68% 26% 74% / 18% 24% 76% 82%;
    background-color: #3a2618;
    box-shadow: var(--shadow-lg);
}

.about-photo img {
    display: block;
    width: 100%;
    height: 22rem;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.about-photo:hover img {
    transform: scale(1.05);
}

.about-photo-veil {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-image: linear-gradient(to top, rgba(42, 27, 18, 0.55), transparent);
    pointer-events: none;
}

.about-card {
    position: absolute;
    bottom: 2.5rem;
    left: 2rem;
    padding: 1rem 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    background-color: rgba(255, 255, 255, 0.12);
    box-shadow: var(--shadow-md);
}

.about-card-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: #ffffff;
}

.about-card-text {
    margin-top: 0.25rem;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
}

/* 6.5.5 - Réalisations */
.project-card {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 1.6rem;
}

.project-card img {
    display: block;
    width: 100%;
    height: 15rem;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.project-card:hover img {
    transform: scale(1.05);
}

.project-veil {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-image: linear-gradient(to top, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.1) 55%, transparent);
    pointer-events: none;
}

.project-body {
    position: absolute;
    right: 1.5rem;
    bottom: 1.5rem;
    left: 1.5rem;
    overflow: hidden;
}

.project-title {
    float: left;
    max-width: 70%;
    color: #ffffff;
}

.project-arrow {
    float: right;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: var(--radius-pill);
    background-color: var(--accent);
    text-align: center;
    line-height: 2.75rem;
    color: #ffffff;
}

.project-arrow svg {
    width: 1.25rem;
    height: 1.25rem;
    vertical-align: -0.25rem;
}

/* 6.5.6 - Témoignages */
.testimonial-card {
    position: relative;
    overflow: hidden;
    height: 100%;
    padding: 1.75rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background-color: rgba(255, 255, 255, 0.75);
    box-shadow: var(--shadow-xs);
    transition:
        transform 0.5s ease,
        border-color 0.5s ease,
        box-shadow 0.5s ease;
}

.testimonial-card:hover {
    border-color: var(--border-strong);
    box-shadow: var(--shadow-md);
    transform: translateY(-0.5rem);
}

.testimonial-line {
    position: absolute;
    top: 0;
    left: 1.75rem;
    width: 6rem;
    height: 0.25rem;
    border-radius: var(--radius-pill);
    background-color: var(--accent);
    transform-origin: left;
    animation: soft-pulse 3.6s ease-in-out infinite;
}

.testimonial-avatar {
    float: left;
    width: 3rem;
    height: 3rem;
    margin-right: 0.75rem;
    border-radius: 0.75rem;
    background-color: var(--bg-alt);
    text-align: center;
    line-height: 3rem;
    color: var(--primary);
    transition: transform 0.5s ease;
}

.testimonial-card:hover .testimonial-avatar {
    transform: scale(1.1) rotate(-3deg);
}

.testimonial-avatar svg {
    width: 1.25rem;
    height: 1.25rem;
    vertical-align: -0.25rem;
}

.testimonial-head {
    display: block;
    overflow: hidden;
}

.testimonial-name {
    display: block;
}

.testimonial-role {
    display: block;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.testimonial-quote {
    width: 1.75rem;
    height: 1.75rem;
    margin-top: 1.75rem;
    color: rgba(199, 118, 50, 0.7);
    transition:
        transform 0.5s ease,
        color 0.5s ease;
}

.testimonial-card:hover .testimonial-quote {
    color: var(--accent);
    transform: translateX(0.25rem);
}

.testimonial-text {
    margin-top: 1.5rem;
    line-height: 1.75rem;
    color: #6d5c50;
}

/* 6.5.7 - Pourquoi nous choisir / FAQ */
.faq-visual {
    position: relative;
    z-index: 0;
}

.faq-shadow {
    position: absolute;
    top: 1rem;
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
    z-index: -1;
    background-color: rgba(109, 55, 26, 0.7);
    clip-path: polygon(0 0, 92% 0, 100% 11%, 100% 100%, 8% 100%, 0 89%);
    transform: translate(1rem, 1rem);
}

.faq-photo {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    clip-path: polygon(0 0, 92% 0, 100% 11%, 100% 100%, 8% 100%, 0 89%);
}

.faq-photo img {
    display: block;
    width: 100%;
    height: 22rem;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.faq-photo:hover img {
    transform: scale(1.05);
}

.faq-photo-veil {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-image: linear-gradient(to top, rgba(42, 27, 18, 0.4), transparent);
    pointer-events: none;
}

.faq-list {
    margin-top: 2rem;
}

.faq-item {
    margin-bottom: 0.75rem;
    padding: 1rem 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    background-color: rgba(255, 255, 255, 0.08);
    transition: background 0.3s ease;
}

.faq-item[open] {
    background-color: rgba(255, 255, 255, 0.12);
}

.faq-item summary {
    overflow: hidden;
    list-style: none;
    cursor: pointer;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-question {
    float: left;
    max-width: calc(100% - 2rem);
    font-size: 1.0625rem;
    font-weight: 500;
    color: #ffffff;
}

.faq-chevron {
    float: right;
    width: 1.25rem;
    height: 1.25rem;
    margin-top: 0.25rem;
    color: #f0b36f;
    transition: transform 0.3s ease;
}

.faq-item[open] .faq-chevron {
    transform: rotate(180deg);
}

.faq-answer {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    line-height: 1.75rem;
    color: rgba(255, 255, 255, 0.7);
}

.faq-perks {
    margin-top: 2rem;
}

.faq-perk {
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.72);
}

.faq-perk-icon {
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    vertical-align: -0.25rem;
    color: #f0b36f;
}

/* 6.5.8 - Processus */
.process-title {
    max-width: 48rem;
    margin-top: 1rem;
}

.process-list {
    margin-top: 3rem;
}

.process-card {
    height: 100%;
    padding: 1.5rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background-color: rgba(255, 255, 255, 0.75);
    box-shadow: var(--shadow-xs);
}

.process-number {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent);
}

.process-step-title {
    margin-top: 2.5rem;
}

.process-text {
    margin-top: 0.75rem;
    font-size: 0.875rem;
    line-height: 1.5rem;
    color: var(--text-muted);
}

/* 6.5.9 - Appel à l'action */
.cta-section {
    padding-bottom: 5rem;
}

.cta-card {
    overflow: hidden;
    padding: 3rem 1.5rem;
    border-radius: var(--radius-xl);
    background-color: var(--primary);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.cta-card h2 {
    max-width: 48rem;
    margin-right: auto;
    margin-left: auto;
    color: #ffffff;
}

.cta-eyebrow {
    color: #f4c48e;
}

.cta-text {
    max-width: 42rem;
    margin-top: 1.25rem;
    margin-right: auto;
    margin-left: auto;
    font-size: 1.0625rem;
    line-height: 1.9rem;
    color: rgba(255, 255, 255, 0.75);
}

.cta-actions {
    margin-top: 2rem;
}

/* 7.0 - Footer
-------------------------------------------------------------- */
.footer-custom {
    padding: 2.5rem 0;
    border-top: 1px solid var(--border);
    background-color: rgba(255, 255, 255, 0.7);
    color: var(--text-main);
}

.footer-brand {
    margin-bottom: 1.25rem;
}

.footer-desc {
    font-size: 0.875rem;
    line-height: 1.5rem;
    color: var(--text-muted);
}

.footer-nav li,
.footer-contact li {
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.footer-nav a {
    font-weight: 500;
    transition: color 0.2s ease;
}

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

.footer-icon {
    width: 1rem;
    height: 1rem;
    margin-right: 0.5rem;
    vertical-align: -0.1875rem;
    color: var(--primary);
}

/* 7.1 - Bandeau cookies
-------------------------------------------------------------- */
.cookie-banner {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
    z-index: 1040;
    padding: 1.25rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    background-color: var(--bg-card);
    box-shadow: var(--shadow-md);
}

.cookie-icon {
    width: 2.5rem;
    height: 2.5rem;
    margin-bottom: 0.75rem;
    border-radius: 0.75rem;
    background-color: var(--bg-alt);
    text-align: center;
    line-height: 2.5rem;
    color: var(--primary);
}

.cookie-icon svg {
    width: 1.125rem;
    height: 1.125rem;
    vertical-align: -0.1875rem;
}

.cookie-text {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    line-height: 1.4rem;
    color: var(--text-muted);
}

.cookie-actions {
    margin-top: 1rem;
    text-align: right;
}

.cookie-actions .btn + .btn {
    margin-left: 0.5rem;
}

/* 8.0 - Animations
-------------------------------------------------------------- */
/* Le masquage n'est appliqué que si le JS a pris la main : sans lui, le
   contenu reste lisible au lieu de disparaître. */
.has-js .fade-up {
    opacity: 0;
    transform: translateY(1.25rem);
    transition:
        opacity 0.6s ease,
        transform 0.6s ease;
}

.has-js .fade-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Blocs présents à l'écran dès le chargement : affichage immédiat, sans
   transition ni délai, pour qu'aucune capture ne les rate. */
.has-js .fade-up.is-instant {
    transition: none;
    transition-delay: 0s;
}

@keyframes soft-pulse {
    0%,
    100% {
        opacity: 0.35;
        transform: scaleX(0.82);
    }

    50% {
        opacity: 1;
        transform: scaleX(1);
    }
}

@keyframes gentle-float {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-0.875rem);
    }
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
    .has-js .fade-up {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .testimonial-line,
    .hero-card {
        animation: none;
    }
}

/* 9.0 - Media Queries
-------------------------------------------------------------- */
@media (min-width: 992px) {
    h1 {
        font-size: 3.5rem;
    }

    h2 {
        font-size: 2.5rem;
    }

    .h3 {
        font-size: 1.75rem;
    }

    .content-desc {
        font-size: 1.0625rem;
    }

    /* Le bloc de liens est l'enfant direct du collapse : c'est lui qui porte
       les marges automatiques, sinon le menu reste collé à la marque. */
    .menu-navigation-menu-container {
        margin-right: auto;
        margin-left: auto;
    }

    .navbar-nav {
        margin-top: 0;
    }

    .menu-item a {
        padding: 0.5rem 1rem;
    }

    .navbar-cta {
        margin-top: 0;
        margin-bottom: 0;
        margin-left: 1.5rem;
    }

    .section-py {
        padding: 6rem 0;
    }

    .card-soft {
        padding: 2rem;
    }

    .footer-custom {
        padding: 3.5rem 0;
    }

    .cookie-banner {
        right: auto;
        left: 50%;
        width: 41.25rem;
        margin-left: -20.625rem;
        padding: 1.5rem;
    }

    .cookie-icon {
        float: left;
        margin-bottom: 0;
        margin-right: 1rem;
    }

    .cookie-body {
        overflow: hidden;
    }

    .policy-article-head,
    .policy-item,
    .policy-article-foot {
        padding: 2rem;
    }

    .policy-aside h1 {
        font-size: 2.25rem;
    }

    .form-card {
        padding: 2rem;
    }

    .page-shell-contact h1 {
        font-size: 3rem;
    }

    .request-hero {
        padding: 2rem;
    }

    .request-step {
        margin-bottom: 0;
    }

    .form-card-request {
        padding: 1.5rem;
    }

    .dropzone {
        padding: 2rem 1.5rem;
    }

    .modal-card {
        padding: 2rem;
    }

    /* 9.1 - Page d'accueil */
    .landing h2 {
        font-size: 3rem;
    }

    .hero {
        padding: 5rem 0 8rem;
    }

    .hero-intro {
        padding-top: 3rem;
    }

    .hero h1 {
        font-size: 4.5rem;
    }

    .hero-visual {
        margin-top: 0;
    }

    .hero-photo img {
        height: 38rem;
    }

    .hero-card {
        animation: gentle-float 6s ease-in-out infinite;
    }

    .stats {
        margin-top: -5rem;
    }

    .stat {
        border-right: 1px solid var(--border-soft);
    }

    .col-md-4:last-child .stat {
        border-right: 0;
    }

    .services {
        padding-top: 5rem;
    }

    .section-head-desc,
    .section-head-action {
        margin-top: 3rem;
    }

    .section-head-action {
        text-align: right;
    }

    .about-photo img,
    .faq-photo img {
        height: 35rem;
    }

    .project-card img {
        height: 20.625rem;
    }

    .cta-card {
        padding: 4rem 2.5rem;
    }

    .cta-section {
        padding-bottom: 6rem;
    }
}
