/* =============================================================================
   PAGES — Auguste Majeux
   Styles des templates : homepage (hp-*), pages custom, 404
   ============================================================================= */

/* =============================================================================
   HOMEPAGE — Sections préfixées hp-
   ============================================================================= */

/* Hero -------------------------------------------------------------------- */

.hero {
    position:   relative;
    min-height: 711px;
    display:    flex;
    align-items: center;
    padding:    clamp(6rem, 12vh, 8rem) clamp(1.25rem, 4vw, 3.5rem) clamp(3rem, 8vh, 5rem);
    overflow:   hidden;
    isolation:  isolate;
}

.hero__media {
    position:         absolute;
    inset:            0;
    z-index:          -2;
    background-image: var(--hero-image);
    background-size:  cover;
    background-position: center top;
}

.hero__scrim {
    position:   absolute;
    inset:      0;
    z-index:    -1;
    background: linear-gradient(100deg, rgba(20,28,20,.52) 0%, rgba(20,28,20,.26) 46%, rgba(20,28,20,.06) 80%);
}

.hero__inner {
    position:               relative;
    width:                  100%;
    max-width:              1163px;
    margin-inline:          auto;
    display:                grid;
    grid-template-columns:  minmax(0, 1fr) 500px;
    gap:                    clamp(2rem, 4vw, 3.5rem);
    align-items:            center;
}

.hero__eyebrow {
    display:        flex;
    align-items:    center;
    gap:            1.25rem;
    margin:         0 0 1rem;
    font-family:    var(--font-body);
    font-size:      14px;
    font-weight:    400;
    letter-spacing: .2em;
    text-transform: uppercase;
    color:          #fff;
}

.hero__eyebrow::before {
    content:    "";
    display:    block;
    width:      68px;
    height:     2px;
    background: #fff;
    flex:       none;
}

.hero h1 {
    font-family:    var(--font-body);
    font-weight:    700;
    color:          #fff;
    font-size:      52px;
    line-height:    62.4px;
    letter-spacing: 0;
    margin:         0 0 1.25rem;
    max-width:      15ch;
}

.hero__lede {
    color:       rgba(255,255,255,.94);
    font-size:   1rem;
    line-height: 1.7;
    max-width:   52ch;
    margin:      0 0 2.25rem;
}

.hero__actions {
    display:   flex;
    flex-wrap: wrap;
    gap:       1rem;
}

.hero__actions .btn--outline-light {
    background:   transparent;
    color:        #fff;
    border-color: transparent;
    box-shadow:   inset 0 0 0 2px rgba(255,255,255,.7);
}

.hero__actions .btn--outline-light:hover,
.hero__actions .btn--outline-light:focus-visible {
    background: rgba(255,255,255,.14);
}

/* Cartes de données --------------------------------------------------------- */

.hero__data {
    display: grid;
    gap:     35px;
}

.data-box {
    background:    var(--surface-card);
    border-radius: 31px;
    padding:       17px 27px;
}

.data-box--wide {
    min-height: 204px;
}

.data-box__title {
    margin:         0 0 10px;
    font-family:    var(--font-body);
    font-size:      14px;
    font-weight:    300;
    line-height:    1.6;
    letter-spacing: .2em;
    text-transform: uppercase;
    color:          var(--color-sage);
}

.data-box__value {
    margin:      0;
    font-family: var(--font-body);
    font-weight: 700;
    font-size:   52px;
    line-height: 1.6;
    color:       var(--color-primary);
}

.data-box__value small {
    font-family: var(--font-body);
    font-weight: 400;
    font-size:   16px;
    color:       var(--color-text);
    margin-left: .5rem;
}

.progress {
    margin-top: 20px;
}

.progress__bar {
    height:        8px;
    border-radius: 100px;
    background:    var(--color-border);
    overflow:      hidden;
}

.progress__fill {
    display:    block;
    height:     100%;
    background: var(--color-primary);
}

.progress__legend {
    display:         flex;
    justify-content: space-between;
    flex-wrap:       wrap;
    gap:             4px 16px;
    margin:          10px 0 0;
    font-size:       var(--text-sm); /* 14px */
    line-height:     1.5;
}

.progress__legend span {
    white-space: nowrap;
}

.progress__legend span:first-child {
    color: var(--color-sage);
}

.progress__legend span:last-child {
    color: var(--color-coral);
}

@media (max-width: 480px) {
    .progress__legend span {
        white-space: normal;
    }
}

.hero__data-pair {
    display:               grid;
    grid-template-columns: 1fr 1fr;
    gap:                   20px;
}

.hero__data-pair .data-box {
    min-height: 108px;
}

.hero__data-pair .data-box__value {
    font-size:   40px;
    line-height: 1.02;
}

/* Generic hp-section ------------------------------------------------------ */

.hp-section {
    padding: 96px 0;
}

.hp-section--alt {
    background: var(--color-secondary);
}

/* Shared section-heading treatment ----------------------------------------
   One typographic rule for every hp-* section heading (h2, centred or
   left-aligned split intro). Alignment follows layout, not the selector. */

.hp-section-head h2,
.hp-split__text h2,
.hp-logements-split__text h2,
.hp-surfaces-split__text h2,
.hp-locate-split__text h2,
.hp-form-intro h2,
.hp-cta-final h2 {
    margin-bottom:  16px;
    font-family:    var(--font-body);
    font-size:      36px;
    font-weight:    600;
    line-height:    43.2px;
    color:          var(--color-primary);
    text-transform: uppercase;
}

.hp-section-head h2,
.hp-cta-final h2 {
    text-align: center;
}

.hp-split__text h2,
.hp-logements-split__text h2,
.hp-surfaces-split__text h2,
.hp-locate-split__text h2,
.hp-form-intro h2 {
    text-align: left;
}

/* Optional coral subtitle — only present where the markup already has one. */
.hp-section-head p {
    font-family:    var(--font-body);
    font-size:      18px;
    font-weight:    300;
    line-height:    normal;
    color:          var(--color-coral);
    text-align:     center;
    text-transform: uppercase;
    max-width:      none;
}

.hp-section-head {
    text-align: center;
    max-width:  640px;
    margin:     0 auto 56px;
}

.hp-text-muted { color: var(--color-muted); font-size: 14.5px; max-width: none; }

/* Projet d'envergure — split ---------------------------------------------- */

.hp-split {
    display:               grid;
    grid-template-columns: 1fr 1fr;
    gap:                   72px;
    align-items:           start;
}

.hp-split__text h2 { margin-bottom: 28px; }
.hp-split__text p  { margin-bottom: 20px; color: var(--color-text); max-width: none; }

.hp-split__media {
    border-radius: var(--radius-md);
    overflow:      hidden;
    aspect-ratio:  5/4;
}

.hp-split__media img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Développement en 3 étapes ----------------------------------------------- */

.hp-stages-grid {
    display:               grid;
    grid-template-columns: repeat(3, 1fr);
    gap:                   24px;
}

.hp-stage-card {
    background:    #fff;
    border-radius: var(--radius-md);
    padding:       28px;
    box-shadow:    var(--shadow-card);
    border:        1px solid var(--border-light);
}

.hp-stage-card h3 { font-size: 22px; margin-bottom: 18px; font-weight: 500; }

.hp-stage-meta {
    list-style:     none;
    margin:         0;
    padding:        0;
    display:        flex;
    flex-direction: column;
    gap:            10px;
}

.hp-stage-meta li {
    display:     flex;
    align-items: center;
    gap:         10px;
    font-size:   14.5px;
    color:       var(--color-text);
}

.hp-meta-icon {
    width:      18px;
    height:     18px;
    flex-shrink: 0;
    color:      var(--color-text);
}

.hp-stage-divider {
    height:     1px;
    background: var(--border-light);
    margin:     20px 0 16px;
}

.hp-stage-details {
    font-size:   13.5px;
    color:       var(--color-muted);
    line-height: 1.55;
}

.hp-stage-details span { display: block; }

/* Cadre de vie — 4 features ----------------------------------------------- */

.hp-features-grid {
    display:               grid;
    grid-template-columns: repeat(4, 1fr);
    gap:                   24px;
    margin-bottom:         56px;
}

.hp-feature {
    text-align: center;
    padding:    0 8px;
}

.hp-feature__icon {
    width:       80px;
    height:      80px;
    margin:      0 auto 20px;
    display:     block;
}

.hp-feature h4 {
    font-size:     17px;
    font-weight:   500;
    color:         var(--color-strong);
    margin-bottom: 8px;
}

.hp-feature p {
    font-size:  14px;
    line-height: 1.55;
    color:      var(--color-muted);
    max-width:  220px;
    margin:     0 auto;
}

/* Gallery 3 images -------------------------------------------------------- */

.hp-gallery {
    display:               grid;
    grid-template-columns: repeat(3, 1fr);
    gap:                   16px;
}

.hp-gallery__item {
    aspect-ratio:  4/3;
    border-radius: var(--radius-sm);
    overflow:      hidden;
    background:    var(--color-secondary);
}

.hp-gallery__item img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Logements modernes — split ---------------------------------------------- */

.hp-logements-split {
    display:               grid;
    grid-template-columns: 1fr 1fr;
    gap:                   72px;
    align-items:           center;
}

.hp-logements-split__media {
    aspect-ratio:  4/5;
    border-radius: var(--radius-md);
    overflow:      hidden;
    background:    var(--color-secondary);
}

.hp-logements-split__media img { width: 100%; height: 100%; object-fit: cover; display: block; }

.hp-logements-split__text h2 { margin-bottom: 16px; }
.hp-logements-split__text > p { color: var(--color-text); margin-bottom: 0; max-width: none; }

.hp-checklist {
    list-style:     none;
    margin:         28px 0 0;
    padding:        0;
    display:        flex;
    flex-direction: column;
    gap:            18px;
}

.hp-checklist li {
    display:     grid;
    grid-template-columns: 24px 1fr;
    gap:         12px;
    align-items: start;
}

.hp-checklist__icon {
    width:      20px;
    height:     20px;
    margin-top: 3px;
    flex-shrink: 0;
}

.hp-checklist strong {
    display:       block;
    font-weight:   600;
    color:         var(--color-strong);
    font-size:     15.5px;
    margin-bottom: 2px;
}

.hp-checklist span {
    color:       var(--color-muted);
    font-size:   14.5px;
    line-height: 1.55;
}

.hp-info-note {
    margin-top:  32px;
    display:     flex;
    gap:         8px;
    align-items: flex-start;
    color:       var(--color-muted);
    font-size:   13.5px;
    line-height: 1.55;
}

.hp-info-note svg { flex: none; margin-top: 3px; }

.hp-info-note strong {
    color:         var(--color-text);
    font-weight:   500;
    display:       block;
    margin-bottom: 2px;
}

.hp-logements-cta { margin-top: 40px; }

/* Surfaces commerciales — split ------------------------------------------- */

.hp-surfaces-split {
    display:               grid;
    grid-template-columns: 1fr 1fr;
    gap:                   72px;
    align-items:           center;
}

.hp-surfaces-split__text h2 { margin-bottom: 20px; }
.hp-surfaces-split__text p  { margin-bottom: 16px; color: var(--color-text); max-width: none; }

.hp-surfaces-split__media {
    aspect-ratio:  4/3;
    border-radius: var(--radius-md);
    overflow:      hidden;
}

.hp-surfaces-split__media img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Projet en chiffres ------------------------------------------------------- */

.hp-metrics-grid {
    display:               grid;
    grid-template-columns: repeat(4, 1fr);
    gap:                   24px;
    margin-bottom:         40px;
}

.hp-metric { text-align: center; }

.hp-metric__circle {
    width:           84px;
    height:          84px;
    border-radius:   50%;
    background:      var(--color-primary);
    color:           #fff;
    display:         flex;
    align-items:     center;
    justify-content: center;
    font-size:       24px;
    font-weight:     500;
    margin:          0 auto 16px;
    letter-spacing:  -0.02em;
}

.hp-metric__circle--muted {
    background: #D9D9D6;
    color:      #7a7a75;
}

.hp-metric__label { font-size: 17px; font-weight: 500; color: var(--color-strong); margin-bottom: 4px; }
.hp-metric__sub   { font-size: 14px; color: var(--color-muted); max-width: none; }

.hp-info-cards {
    display:               grid;
    grid-template-columns: repeat(2, 1fr);
    gap:                   24px;
}

.hp-info-card {
    background:    #fff;
    border-radius: var(--radius-md);
    padding:       24px;
    border:        1px solid var(--border-light);
    box-shadow:    var(--shadow-card);
    display:       grid;
    grid-template-columns: 40px 1fr;
    gap:           16px;
    align-items:   start;
}

.hp-info-card__icon {
    width:           32px;
    height:          32px;
    display:         flex;
    align-items:     center;
    justify-content: center;
    color:           var(--color-strong);
}

.hp-info-card h4 { font-size: 17px; font-weight: 500; margin-bottom: 6px; color: var(--color-strong); }
.hp-info-card p  { font-size: 14px; color: var(--color-muted); line-height: 1.55; max-width: none; }

/* Localisation — locate split --------------------------------------------- */

.hp-locate-split {
    display:               grid;
    grid-template-columns: 1fr 1.1fr;
    gap:                   56px;
    align-items:           center;
}

.hp-locate-split__text h2 { margin-bottom: 20px; }
.hp-locate-split__text > p { color: var(--color-text); margin-bottom: 28px; max-width: none; }

.hp-locate-list {
    list-style:     none;
    margin:         0;
    padding:        0;
    display:        flex;
    flex-direction: column;
    gap:            18px;
}

.hp-locate-list li {
    display:     grid;
    grid-template-columns: 48px 1fr;
    gap:         14px;
    align-items: center;
}

.hp-locate-list strong { display: block; font-weight: 500; color: var(--color-strong); font-size: 15.5px; }
.hp-locate-list span   { color: var(--color-muted); font-size: 13.5px; }

.hp-locate-icon {
    width:   48px;
    height:  48px;
    display: block;
}

.hp-map-wrapper {
    aspect-ratio:  4/3;
    border-radius: var(--radius-md);
    overflow:      hidden;
}

.hp-map-wrapper img,
.hp-map-wrapper iframe { width: 100%; height: 100%; object-fit: cover; display: block; border: 0; }

/* Calendrier — timeline zigzag -------------------------------------------- */

.hp-timeline {
    position:   relative;
    max-width:  900px;
    margin:     0 auto;
    padding:    20px 0;
}

.hp-timeline::before {
    content:    '';
    position:   absolute;
    left:       50%;
    top:        0;
    bottom:     0;
    width:      1px;
    background: #c5c8c0;
    transform:  translateX(-0.5px);
}

.hp-timeline__row {
    position:              relative;
    display:               grid;
    grid-template-columns: 1fr 1fr;
    gap:                   64px;
    margin-bottom:         36px;
    align-items:           center;
}

.hp-timeline__row:last-child { margin-bottom: 0; }

.hp-timeline__dot {
    position:      absolute;
    left:          50%;
    top:           50%;
    transform:     translate(-50%, -50%);
    width:         14px;
    height:        14px;
    border-radius: 50%;
    background:    #9ba58c;
    border:        2px solid #f2f3ef;
    z-index:       2;
}

.hp-timeline__dot--active { background: var(--color-coral); }

.hp-timeline__card {
    background:    #fff;
    border-radius: var(--radius-md);
    padding:       24px 28px;
    box-shadow:    var(--shadow-card);
    border:        1px solid var(--border-light);
}

.hp-timeline__card h4 { font-size: 22px; font-weight: 500; color: var(--color-strong); margin-bottom: 6px; }
.hp-timeline__card p  { color: var(--color-muted); font-size: 14.5px; max-width: none; }

.hp-timeline__row--left  .hp-timeline__card { grid-column: 1; text-align: right; }
.hp-timeline__row--right .hp-timeline__card { grid-column: 2; }

/* Formulaire d'inscription ------------------------------------------------ */

.hp-form-split {
    display:               grid;
    grid-template-columns: 1fr 1fr;
    gap:                   72px;
    align-items:           start;
}

.hp-form-intro h2 { margin-bottom: 20px; }
.hp-form-intro > p { color: var(--color-text); margin-bottom: 28px; max-width: none; }

.hp-form-bullets {
    list-style:     none;
    margin:         0 0 36px;
    padding:        0;
    display:        flex;
    flex-direction: column;
    gap:            12px;
}

.hp-form-bullets li {
    display:     grid;
    grid-template-columns: 20px 1fr;
    gap:         12px;
    align-items: start;
    font-size:   14.5px;
    color:       var(--color-text);
}

.hp-bullet-icon {
    width:      18px;
    height:     18px;
    margin-top: 3px;
    flex-shrink: 0;
}

.hp-privacy-note {
    display:     flex;
    align-items: flex-start;
    gap:         8px;
    color:       var(--color-muted);
    font-size:   13px;
    line-height: 1.55;
    max-width:   380px;
}

.hp-privacy-note svg { flex: none; margin-top: 3px; }

.hp-form-card {
    background:    #fff;
    border:        1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding:       32px;
    box-shadow:    var(--shadow-card);
}

.hp-form-card h3 { font-size: 22px; font-weight: 500; margin-bottom: 24px; }

/* HubSpot overrides inside form card */
.hp-form-card .hs-form-frame { display: block; }

/* FAQ — details/summary --------------------------------------------------- */

.hp-faq-list {
    max-width:      900px;
    margin:         0 auto;
    display:        flex;
    flex-direction: column;
    gap:            16px;
}

.hp-faq-item {
    background:    #fff;
    border:        1px solid var(--border-light);
    border-radius: var(--radius-md);
    box-shadow:    var(--shadow-card);
    overflow:      hidden;
}

.hp-faq-trigger {
    width:           100%;
    display:         flex;
    align-items:     center;
    justify-content: space-between;
    gap:             20px;
    padding:         22px 28px;
    text-align:      left;
    background:      #fff;
    color:           var(--color-strong);
    font-size:       16px;
    font-weight:     500;
    cursor:          pointer;
    list-style:      none;
    font-family:     var(--font-body);
}

.hp-faq-trigger::-webkit-details-marker { display: none; }

.hp-faq-trigger svg {
    flex:       none;
    transition: transform .25s ease;
    color:      var(--color-muted);
}

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

.hp-faq-answer {
    padding:    0 28px 22px;
    font-size:  14.5px;
    color:      var(--color-muted);
    line-height: 1.65;
    max-width:  none;
}

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

.hp-cta-final {
    text-align:    center;
    padding-block: 100px 120px;
}

.hp-cta-final h2 { margin-bottom: 20px; }

.hp-cta-final__lede {
    color:      var(--color-muted);
    max-width:  640px;
    margin:     0 auto 44px;
    font-size:  16px;
    line-height: 1.6;
}

.hp-cta-metrics {
    display:         flex;
    justify-content: center;
    gap:             80px;
    margin-bottom:   44px;
    flex-wrap:       wrap;
}

.hp-cta-num {
    font-size:      48px;
    font-weight:    500;
    color:          var(--color-primary);
    letter-spacing: -0.02em;
    line-height:    1;
    margin-bottom:  6px;
}

.hp-cta-label { color: var(--color-muted); font-size: 14.5px; max-width: none; }

.hp-cta-final__buttons {
    display:         flex;
    gap:             16px;
    justify-content: center;
    flex-wrap:       wrap;
}

/* =============================================================================
   HOMEPAGE RESPONSIVE
   ============================================================================= */

@media (max-width: 960px) {
    .hp-section { padding: 64px 0; }

    .hp-split,
    .hp-logements-split,
    .hp-surfaces-split,
    .hp-locate-split,
    .hp-form-split {
        grid-template-columns: 1fr;
        gap:                   40px;
    }

    .hp-stages-grid,
    .hp-features-grid,
    .hp-metrics-grid,
    .hp-gallery,
    .hp-info-cards {
        grid-template-columns: repeat(2, 1fr);
        gap:                   20px;
    }

    .hp-cta-metrics { gap: 40px; }

    /* Timeline → single column */
    .hp-timeline::before { left: 16px; }
    .hp-timeline__row {
        grid-template-columns: 1fr;
        gap:                   0;
        padding-left:          44px;
        margin-bottom:         24px;
    }
    .hp-timeline__dot { left: 16px; }
    .hp-timeline__row--left  .hp-timeline__card,
    .hp-timeline__row--right .hp-timeline__card { grid-column: 1; text-align: left; }
}

@media (max-width: 1100px) {
    .hero__inner {
        grid-template-columns: 1fr;
        max-width:              640px;
    }
    .hero__data-pair { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 920px) {
    .hero {
        align-items: flex-end;
        min-height:  100vh;
    }
    .hero__scrim {
        background: linear-gradient(180deg, rgba(20,28,20,.42), rgba(20,28,20,.7));
    }
    .hero h1 { max-width: 20ch; }
    .hero__actions .btn {
        width:      100%;
        text-align: center;
        padding-inline: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero__data-pair { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
    .hp-stages-grid,
    .hp-features-grid,
    .hp-metrics-grid,
    .hp-gallery,
    .hp-info-cards { grid-template-columns: 1fr; }

    .hp-cta-metrics { gap: 32px; }
    .hp-cta-num     { font-size: 36px; }
}

/* =============================================================================
   PAGE HERO (en-têtes pages internes)
   ============================================================================= */

.page-hero {
    padding-block: var(--space-xl);
}

.page-hero h1 {
    margin-top: var(--space-s);
    font-size:  var(--text-h2);
}

.page-hero p {
    margin-top: var(--space-s);
    color:      rgba(255, 255, 255, .85);
    max-width:  540px;
}

.page-hero.section--alt h1,
.page-hero.section--alt p { color: var(--color-strong); }
.page-hero.section--alt p  { color: var(--color-text); }

/* Utilitaires */
.rounded-image { border-radius: var(--radius-lg); overflow: hidden; }

/* =============================================================================
   GALERIE PROJET (page-le-projet)
   ============================================================================= */

.projet-gallery {
    display:               grid;
    grid-template-columns: repeat(2, 1fr);
    gap:                   var(--space-s);
    margin-top:            var(--space-xl);
}

.projet-gallery__item img {
    width:      100%;
    height:     100%;
    object-fit: cover;
}

/* =============================================================================
   PAGE SITUATION
   ============================================================================= */

.situation-page__grid {
    display:               grid;
    grid-template-columns: 3fr 2fr;
    gap:                   var(--space-xl);
    align-items:           start;
}

.situation-page__map-wrap {
    border-radius: var(--radius-lg);
    overflow:      hidden;
    box-shadow:    var(--shadow-md);
}

.situation-pois {
    display:        flex;
    flex-direction: column;
    gap:            var(--space-s);
    margin-top:     var(--space-m);
}

.situation-pois__item {
    display:       grid;
    grid-template-columns: 36px 1fr auto;
    align-items:   center;
    gap:           var(--space-s);
    padding:       var(--space-s);
    background:    #ffffff;
    border:        1px solid var(--color-border);
    border-radius: var(--radius-md);
}

.situation-pois__icon {
    width:           36px;
    height:          36px;
    display:         flex;
    align-items:     center;
    justify-content: center;
    background:      var(--color-secondary);
    border-radius:   var(--radius-md);
}

.situation-pois__icon svg { width: 18px; height: 18px; }
.situation-pois__label { font-weight: 600; font-size: var(--text-sm); color: var(--color-strong); }
.situation-pois__dist {
    font-size: var(--text-xs); color: var(--color-text); white-space: nowrap;
    font-weight: 500; background: var(--color-secondary); padding: 0.25em 0.625em;
    border-radius: var(--radius-pill);
}

/* =============================================================================
   PAGE CONTACT
   ============================================================================= */

.contact-page__grid {
    display:               grid;
    grid-template-columns: 1fr 1fr;
    gap:                   var(--space-xl);
    align-items:           start;
}

.contact-page__form h2,
.contact-page__info h2 { margin-bottom: var(--space-s); }

.contact-page__form p { margin-bottom: var(--space-m); max-width: none; }

.contact-info-list {
    display:        flex;
    flex-direction: column;
    gap:            var(--space-m);
    margin-bottom:  var(--space-l);
}

.contact-info-list__item { display: flex; gap: var(--space-s); align-items: flex-start; }

.contact-info-list__icon {
    width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
    background: var(--color-secondary); border-radius: var(--radius-md); flex-shrink: 0;
}

.contact-info-list__icon svg { width: 18px; height: 18px; color: var(--color-primary); }

.contact-info-list__label {
    font-size: var(--text-xs); font-weight: 600; text-transform: uppercase;
    letter-spacing: 0.08em; color: var(--color-accent); margin-bottom: 2px; max-width: none;
}

.contact-info-list__value { font-size: var(--text-body); color: var(--color-text); max-width: none; }
.contact-info-list__link:hover { color: var(--color-primary); }
.contact-hours h3 { font-size: var(--text-body); margin-bottom: var(--space-xs); }
.contact-hours p  { font-size: var(--text-sm); color: var(--color-text); max-width: none; line-height: 1.7; }

/* =============================================================================
   404
   ============================================================================= */

.error-404 { max-width: 560px; padding-block: var(--space-xl); }
.error-404 h1 { margin-bottom: var(--space-s); }
.error-404 p  { margin-bottom: var(--space-l); max-width: none; }
.error-404__actions { display: flex; gap: var(--space-s); flex-wrap: wrap; }

/* =============================================================================
   RESPONSIVE (pages internes)
   ============================================================================= */

@media (max-width: 768px) {
    .contact-page__grid,
    .situation-page__grid { grid-template-columns: 1fr; }
    .projet-gallery        { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .error-404__actions { flex-direction: column; }
}

/* =============================================================================
   PAGE MERCI (confirmation inscription)
   ============================================================================= */

.thanks-main {
    padding-top: var(--header-height);
}

.thanks {
    flex:            1;
    display:         flex;
    align-items:     center;
    justify-content: center;
    padding:         80px 24px;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(53,77,53,0.04) 0%, transparent 60%),
        var(--color-secondary, #F6F7F6);
    min-height:      calc(100vh - var(--header-height));
}

.thanks__card {
    max-width:  620px;
    width:      100%;
    text-align: center;
}

.thanks__check {
    width:         96px;
    height:        96px;
    margin:        0 auto 32px;
    border-radius: 50%;
    background:    var(--color-primary);
    display:       flex;
    align-items:   center;
    justify-content: center;
    box-shadow:    0 12px 32px rgba(53,77,53,0.25);
    animation:     pop .5s cubic-bezier(.34,1.56,.64,1);
}

.thanks__check svg {
    width:  44px;
    height: 44px;
    color:  #fff;
}

.thanks__check svg path {
    stroke-dasharray:  60;
    stroke-dashoffset: 60;
    animation:         draw .6s .2s forwards ease-out;
}

@keyframes pop {
    0%   { transform: scale(0.2); opacity: 0; }
    100% { transform: scale(1);   opacity: 1; }
}

@keyframes draw { to { stroke-dashoffset: 0; } }

.thanks__eyebrow {
    color:          var(--color-accent);
    font-size:      13px;
    font-weight:    600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom:  12px;
}

.thanks__card h1 {
    font-size:     clamp(32px, 4.2vw, 48px);
    line-height:   1.15;
    margin-bottom: 18px;
}

.thanks__lede {
    font-size:   17px;
    color:       var(--color-text);
    line-height: 1.65;
    margin-bottom: 32px;
}

.thanks__lede strong { color: var(--color-strong); font-weight: 500; }

.thanks__actions {
    display:         flex;
    gap:             12px;
    flex-wrap:       wrap;
    justify-content: center;
    margin-bottom:   36px;
}

.next-steps {
    text-align:    left;
    background:    var(--color-secondary);
    border-radius: var(--radius-md);
    padding:       24px 28px;
    border:        1px solid var(--border-light);
}

.next-steps h3 {
    font-size:      14px;
    font-weight:    600;
    color:          var(--color-strong);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom:  16px;
}

.next-steps ol {
    list-style:     none;
    margin:         0;
    padding:        0;
    counter-reset:  step;
    display:        flex;
    flex-direction: column;
    gap:            14px;
}

.next-steps li {
    counter-increment: step;
    display:           grid;
    grid-template-columns: 28px 1fr;
    gap:               14px;
    align-items:       start;
    font-size:         14.5px;
    color:             var(--color-text);
}

.next-steps li::before {
    content:         counter(step);
    width:           28px;
    height:          28px;
    border-radius:   50%;
    background:      var(--color-primary);
    color:           #fff;
    font-size:       13px;
    font-weight:     600;
    display:         flex;
    align-items:     center;
    justify-content: center;
    margin-top:      1px;
}

@media (max-width: 720px) {
    .thanks { padding: 56px 24px; }
    .next-steps { padding: 20px; }
    .thanks__actions { flex-direction: column; align-items: stretch; }
}

/* =============================================================================
   POLITIQUE DE CONFIDENTIALITÉ
   ============================================================================= */

.legal-hero {
    background:    var(--color-secondary);
    border-bottom: 1px solid var(--border-light);
    padding:       80px 0 56px;
}

.legal-hero__eyebrow {
    font-size:      11.5px;
    font-weight:    700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color:          var(--color-accent);
    margin-bottom:  14px;
}

.legal-hero h1 {
    font-size:     clamp(28px, 4vw, 42px);
    margin-bottom: 14px;
}

.legal-hero__meta {
    font-size: 14px;
    color:     var(--color-muted);
}

.legal-wrap {
    display:               grid;
    grid-template-columns: 220px 1fr;
    gap:                   64px;
    align-items:           start;
    padding-block:         60px 80px;
}

/* TOC */

.toc {
    position: sticky;
    top:      calc(var(--header-height) + 24px);
}

.toc h4 {
    font-size:      11.5px;
    font-weight:    700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color:          var(--color-muted);
    margin-bottom:  14px;
}

.toc ol {
    list-style:     none;
    margin:         0;
    padding:        0;
    display:        flex;
    flex-direction: column;
    gap:            2px;
    border-left:    2px solid var(--border-light);
}

.toc a {
    display:         block;
    padding:         5px 14px;
    font-size:       13.5px;
    color:           var(--color-muted);
    text-decoration: none;
    transition:      color .18s;
    border-left:     2px solid transparent;
    margin-left:     -2px;
}

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

.toc a.is-active {
    color:        var(--color-primary);
    border-color: var(--color-primary);
    font-weight:  600;
}

/* Legal content */

.legal-content .lede {
    font-size:     16px;
    line-height:   1.65;
    color:         var(--color-text);
    margin-bottom: 40px;
    padding-bottom: 32px;
    border-bottom:  1px solid var(--border-light);
}

.legal-content h2 {
    font-size:     22px;
    font-weight:   600;
    margin-top:    40px;
    margin-bottom: 14px;
    color:         var(--color-strong);
    scroll-margin-top: calc(var(--header-height) + 20px);
}

.legal-content h3 {
    font-size:     16px;
    font-weight:   600;
    margin-top:    20px;
    margin-bottom: 8px;
    color:         var(--color-strong);
}

.legal-content p {
    font-size:   14.5px;
    line-height: 1.7;
    color:       var(--color-text);
    margin-bottom: 12px;
    max-width:   none;
}

.legal-content ul,
.legal-content ol {
    margin:      0 0 16px 20px;
    padding:     0;
}

.legal-content li {
    font-size:   14.5px;
    line-height: 1.65;
    color:       var(--color-text);
    margin-bottom: 6px;
}

.legal-link {
    color:      var(--color-primary);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: opacity .18s;
}

.legal-link:hover {
    opacity: .75;
}

.legal-callout {
    background:    #F3F6ED;
    border-left:   3px solid var(--color-primary);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    padding:       16px 20px;
    margin:        24px 0;
    font-size:     14.5px;
    line-height:   1.6;
    color:         var(--color-text);
}

.legal-callout strong {
    color: var(--color-strong);
}

.legal-contact {
    background:    var(--color-secondary);
    border:        1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding:       24px 28px;
    margin-top:    32px;
}

.legal-contact h3 {
    margin-top:    0;
    margin-bottom: 12px;
    font-size:     16px;
}

.legal-contact p {
    margin-bottom: 6px;
}

@media (max-width: 860px) {
    .legal-wrap {
        grid-template-columns: 1fr;
        gap:                   40px;
    }

    .toc {
        position:      static;
        border-radius: var(--radius-md);
        background:    var(--color-secondary);
        padding:       20px 24px;
        border:        1px solid var(--border-light);
    }
}

@media (max-width: 520px) {
    .legal-hero { padding: 56px 0 40px; }
}
