/* ==========================================================================
   ELENDIL STUDIO — Feuille de style principale (fidèle à la maquette Figma)
   Palette :
     - Pétrole signature : #1E5666 -> #0C252E -> #071317
     - Encre sombre      : #0F1A1E
     - Sable / pierre    : #F6F7F8, #EDF1F3, #E6D9BF
   Typographie :
     - Sans-serif géométrique + emphase italique serif ("Explorez *nos projets.*")
   ========================================================================== */

:root {
    --petrol-700: #246476;
    --petrol-800: #1E5666;
    --petrol-900: #0F333E;
    --petrol-950: #07161B;
    --ink:        #0F1A1E;
    --ink-soft:   #4D5D63;
    --ink-muted:  #7B8A90;
    --surface:    #FFFFFF;
    --surface-2:  #F5F7F8;
    --surface-3:  #EAEFF1;
    --sand:       #E8DCC2;
    --border:     rgba(15, 26, 30, 0.09);
    --border-light: rgba(255, 255, 255, 0.18);
    --radius-sm:  12px;
    --radius-md:  20px;
    --radius-lg:  28px;
    --radius-pill: 999px;
    --shadow-sm:  0 6px 20px rgba(10, 28, 34, 0.06);
    --shadow-md:  0 18px 46px rgba(10, 28, 34, 0.11);
    --shadow-lg:  0 28px 70px rgba(7, 22, 27, 0.22);
    --font-sans:  "Inter", "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-serif: "Instrument Serif", "Playfair Display", Georgia, "Times New Roman", serif;
}

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

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

body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--surface);
    -webkit-font-smoothing: antialiased;
}

img, video {
    max-width: 100%;
    height: auto;
    display: block;
}

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

.sr-only,
.hp-field {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.container {
    width: min(1220px, calc(100% - 48px));
    margin-inline: auto;
}

.container-narrow {
    width: min(820px, calc(100% - 48px));
}

.text-center { text-align: center; }
.text-left   { text-align: left; }
.muted       { color: var(--ink-muted); }

/* --------------------------------------------------------------------------
   NAVIGATION FLOTTANTE EN PILULE (verre dépoli, identique à la maquette)
   -------------------------------------------------------------------------- */
.site-header {
    position: sticky;
    top: 20px;
    z-index: 50;
    padding-inline: 24px;
    margin-top: 20px;
}

.has-hero-nav .site-header {
    position: fixed;
    top: 22px;
    left: 0;
    right: 0;
    margin-top: 0;
}

.nav-pill {
    width: min(1160px, 100%);
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 14px 10px 20px;
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(18px) saturate(150%);
    -webkit-backdrop-filter: blur(18px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: var(--radius-pill);
    box-shadow: 0 12px 36px rgba(10, 26, 32, 0.10);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: -0.02em;
    color: var(--ink);
}

.brand-light {
    color: #fff;
}

.brand-mark {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--ink);
    color: #fff;
    display: inline-grid;
    place-items: center;
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.05rem;
}

.brand-light .brand-mark {
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--ink-soft);
    transition: background 0.2s, color 0.2s;
}

.nav-link:hover {
    color: var(--ink);
}

.nav-link.is-active {
    background: #fff;
    color: var(--ink);
    box-shadow: 0 2px 10px rgba(15, 26, 30, 0.08);
}

/* --------------------------------------------------------------------------
   BOUTONS & BADGES
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 22px;
    border-radius: var(--radius-pill);
    font-family: inherit;
    font-size: 0.92rem;
    font-weight: 600;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
    white-space: nowrap;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-sm { padding: 8px 16px; font-size: 0.85rem; }
.btn-xs { padding: 5px 11px; font-size: 0.78rem; }
.btn-full { width: 100%; }

.btn-nav {
    padding: 9px 18px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--ink);
    border-color: rgba(15, 26, 30, 0.12);
}

.btn-dark {
    background: var(--ink);
    color: #fff;
    box-shadow: 0 10px 24px rgba(15, 26, 30, 0.22);
}

.btn-dark:hover {
    background: var(--petrol-800);
}

.btn-light {
    background: #fff;
    color: var(--ink);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.42);
    backdrop-filter: blur(12px);
}

.btn-ghost {
    background: var(--surface-2);
    color: var(--ink);
    border-color: var(--border);
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    font-size: 0.78rem;
    font-weight: 600;
    background: var(--surface-2);
    color: var(--petrol-800);
    border: 1px solid var(--border);
}

.badge-petrol {
    background: rgba(30, 86, 102, 0.12);
    color: var(--petrol-800);
}

/* --------------------------------------------------------------------------
   TYPOGRAPHIE DE SECTION ("Explorez *nos projets.*")
   -------------------------------------------------------------------------- */
.section {
    padding: 88px 0;
}

.page-section {
    padding: 56px 0 96px;
}

.section-soft {
    background: linear-gradient(180deg, #F7FAFB 0%, #FFFFFF 100%);
}

.section-petrol {
    background: radial-gradient(110% 120% at 15% 0%, var(--petrol-700) 0%, var(--petrol-900) 55%, var(--petrol-950) 100%);
    color: #fff;
}

.section-head {
    max-width: 660px;
    margin: 0 auto 44px;
}

.section-head.text-left {
    margin-left: 0;
}

.eyebrow {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ink-muted);
    margin-bottom: 10px;
}

.eyebrow-light {
    color: rgba(255, 255, 255, 0.72);
}

.section-title {
    margin: 0 0 12px;
    font-size: clamp(2rem, 3.6vw, 3rem);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.025em;
    color: var(--ink);
}

.section-title em {
    font-family: var(--font-serif);
    font-weight: 400;
    font-style: italic;
    font-size: 1.08em;
}

.title-light { color: #fff; }

.section-sub {
    margin: 0;
    color: var(--ink-soft);
    font-size: 1rem;
}

.sub-light { color: rgba(255, 255, 255, 0.78); }

/* --------------------------------------------------------------------------
   HERO PLEIN ÉCRAN (Accueil & Contact)
   -------------------------------------------------------------------------- */
.hero,
.contact-hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background: var(--petrol-950);
}

.contact-hero {
    min-height: 76vh;
    align-items: center;
}

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7, 22, 27, 0.16) 0%, rgba(7, 22, 27, 0.05) 55%, rgba(7, 22, 27, 0.55) 100%);
}

.hero-overlay-heavy {
    background: linear-gradient(180deg, rgba(15, 38, 46, 0.55) 0%, rgba(7, 22, 27, 0.78) 100%);
}

.hero-bottom {
    position: relative;
    z-index: 2;
    padding-bottom: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.scroll-pill {
    position: absolute;
    right: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    background: rgba(15, 26, 30, 0.42);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #fff;
    font-size: 0.82rem;
    backdrop-filter: blur(10px);
}

.contact-hero-inner {
    position: relative;
    z-index: 2;
    padding-top: 70px;
}

.contact-hero-inner .hero-actions {
    margin-top: 28px;
}

/* --------------------------------------------------------------------------
   SECTION CARTE DE L'ÎLE (PROJETS)
   -------------------------------------------------------------------------- */
.section-island {
    padding-bottom: 0;
}

.island-stage {
    position: relative;
    width: 100%;
    max-width: 1440px;
    margin-inline: auto;
    overflow: hidden;
    background: #357E93;
}

.island-img {
    width: 100%;
    height: auto;
    display: block;
}

.island-cta {
    position: absolute;
    left: 50%;
    bottom: 28px;
    transform: translateX(-50%);
    z-index: 3;
}

.island-pin {
    position: absolute;
    transform: translate(-50%, -50%);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    z-index: 3;
}

.pin-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid var(--petrol-800);
    box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.32), 0 4px 12px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s, background 0.2s;
}

.pin-label {
    padding: 4px 11px;
    border-radius: var(--radius-pill);
    background: rgba(15, 26, 30, 0.82);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 600;
    backdrop-filter: blur(8px);
    white-space: nowrap;
}

.island-pin:hover .pin-dot,
.island-pin.is-active .pin-dot {
    transform: scale(1.25);
    background: var(--sand);
}

.city-popover {
    position: absolute;
    right: 32px;
    bottom: 32px;
    width: min(340px, calc(100% - 48px));
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(16px);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    z-index: 4;
}

.city-popover-media {
    position: relative;
    height: 160px;
}

.city-popover-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.city-popover-media .badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(255, 255, 255, 0.92);
}

.city-popover-body {
    padding: 18px 20px 20px;
}

.city-meta {
    font-size: 0.78rem;
    color: var(--ink-muted);
    display: flex;
    gap: 6px;
}

.city-title {
    margin: 4px 0 6px;
    font-size: 1.2rem;
}

.city-excerpt {
    margin: 0 0 14px;
    font-size: 0.88rem;
    color: var(--ink-soft);
}

/* --------------------------------------------------------------------------
   CARROUSEL SERVICES (Accueil — carte centrale pétrole mise en avant)
   -------------------------------------------------------------------------- */
.services-carousel {
    display: flex;
    align-items: center;
    gap: 18px;
}

.carousel-arrow {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--surface-2);
    color: var(--ink);
    display: inline-grid;
    place-items: center;
    cursor: pointer;
    flex-shrink: 0;
}

.carousel-arrow:hover {
    background: var(--ink);
    color: #fff;
}

.services-track {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 22px;
    width: 100%;
    align-items: stretch;
}

.service-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 290px;
    padding: 26px 24px;
    border-radius: var(--radius-md);
    background: var(--surface-2);
    border: 1px solid var(--border);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.service-card.is-featured {
    background: linear-gradient(165deg, var(--petrol-700) 0%, var(--petrol-900) 100%);
    color: #fff;
    transform: scale(1.03);
    box-shadow: var(--shadow-lg);
}

.service-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.service-icon {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: #fff;
    color: var(--petrol-800);
    display: inline-grid;
    place-items: center;
    box-shadow: var(--shadow-sm);
}

.service-card.is-featured .service-icon {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
}

.service-num {
    font-size: 0.76rem;
    color: var(--ink-muted);
}

.service-card.is-featured .service-num {
    color: rgba(255, 255, 255, 0.65);
}

.service-title {
    margin: 28px 0 8px;
    font-size: 1.18rem;
}

.service-excerpt {
    margin: 0 0 22px;
    font-size: 0.9rem;
    color: var(--ink-soft);
}

.service-card.is-featured .service-excerpt {
    color: rgba(255, 255, 255, 0.82);
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 600;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 26px;
}

.dot {
    width: 6px;
    height: 6px;
    border-radius: 99px;
    background: var(--surface-3);
}

.dot.is-active {
    width: 22px;
    background: var(--petrol-800);
}

/* --------------------------------------------------------------------------
   APERÇU À PROPOS (Accueil)
   -------------------------------------------------------------------------- */
.about-preview {
    display: grid;
    grid-template-columns: minmax(260px, 340px) 1fr;
    gap: 48px;
    align-items: center;
    max-width: 920px;
    margin-inline: auto;
}

.about-photo {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.about-text {
    color: var(--ink-soft);
    margin: 14px 0 20px;
}

.artist-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 22px;
}

.artist-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px 6px 6px;
    border-radius: var(--radius-pill);
    background: var(--surface-3);
    border: 1px solid var(--border);
    font: inherit;
    font-size: 0.83rem;
    cursor: pointer;
}

.artist-pill.is-active {
    background: #fff;
    border-color: var(--petrol-800);
    box-shadow: var(--shadow-sm);
}

.artist-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--petrol-800);
    color: #fff;
    display: inline-grid;
    place-items: center;
    font-size: 0.74rem;
    font-weight: 700;
}

/* --------------------------------------------------------------------------
   PAGE PROJETS (Topbar, Grille, Fiche)
   -------------------------------------------------------------------------- */
.projects-topbar {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 32px;
}

.view-switch {
    display: inline-flex;
    padding: 4px;
    border-radius: var(--radius-pill);
    background: var(--surface-2);
    border: 1px solid var(--border);
}

.switch-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 15px;
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--ink-soft);
}

.switch-btn.is-active {
    background: var(--ink);
    color: #fff;
}

.filter-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
}

.filter-pill,
.chip {
    display: inline-flex;
    align-items: center;
    padding: 7px 16px;
    border-radius: var(--radius-pill);
    font: inherit;
    font-size: 0.85rem;
    font-weight: 600;
    background: var(--surface-2);
    border: 1px solid var(--border);
    color: var(--ink-soft);
    cursor: pointer;
}

.filter-pill.is-active,
.chip.is-active {
    background: var(--ink);
    color: #fff;
    border-color: var(--ink);
}

.section-petrol .chip {
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.85);
    border-color: rgba(255, 255, 255, 0.22);
}

.section-petrol .chip.is-active {
    background: #fff;
    color: var(--ink);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 28px;
}

.project-card {
    border-radius: var(--radius-md);
    background: #fff;
    border: 1px solid var(--border);
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}

.project-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.project-card-media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--surface-2);
}

.project-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

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

.project-city-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    background: rgba(15, 26, 30, 0.78);
    color: #fff;
    font-size: 0.76rem;
    font-weight: 600;
    backdrop-filter: blur(8px);
}

.project-card-body {
    padding: 20px 22px 24px;
}

.project-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--ink-muted);
}

.project-card-title {
    margin: 6px 0 8px;
    font-size: 1.22rem;
}

.project-card-excerpt {
    margin: 0;
    font-size: 0.9rem;
    color: var(--ink-soft);
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--ink-soft);
    margin-bottom: 24px;
}

.project-header {
    margin-bottom: 28px;
}

.project-lead {
    font-size: 1.15rem;
    color: var(--ink-soft);
    max-width: 720px;
}

.project-hero-media {
    margin: 0 0 36px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.project-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 36px;
}

.gallery-item {
    margin: 0;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.more-projects {
    margin-top: 72px;
    padding-top: 48px;
    border-top: 1px solid var(--border);
}

.cta-banner {
    margin-top: 64px;
    padding: 44px;
    border-radius: var(--radius-lg);
    background: var(--surface-2);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

/* --------------------------------------------------------------------------
   PAGE SERVICES (Onglets, Fabrique, Frise, Formules)
   -------------------------------------------------------------------------- */
.services-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: end;
    margin-bottom: 44px;
}

.service-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
}

.service-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--border);
    background: var(--surface-2);
    font: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
}

.service-tab.is-active {
    background: var(--petrol-800);
    color: #fff;
    border-color: var(--petrol-800);
}

.service-panel {
    display: none;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 42px;
    align-items: center;
    padding: 36px;
    border-radius: var(--radius-lg);
    background: var(--surface-2);
    border: 1px solid var(--border);
}

.service-panel.is-active {
    display: grid;
}

.panel-title {
    margin: 6px 0 10px;
    font-size: 1.8rem;
}

.panel-excerpt {
    color: var(--ink-soft);
    margin-top: 0;
}

.service-panel-media img {
    border-radius: var(--radius-md);
    aspect-ratio: 4 / 3;
    object-fit: cover;
    width: 100%;
}

.pill-list {
    list-style: none;
    padding: 0;
    margin: 18px 0 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pill-list li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: var(--radius-pill);
    background: #fff;
    border: 1px solid var(--border);
    font-size: 0.83rem;
}

.fabric-list {
    margin-top: 28px;
    border-top: 1px solid var(--border);
}

.fabric-row {
    display: grid;
    grid-template-columns: 60px 1.2fr 1fr;
    gap: 24px;
    align-items: center;
    padding: 24px 0;
    border-bottom: 1px solid var(--border);
}

.fabric-num {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.5rem;
    color: var(--petrol-800);
}

.fabric-main h3 { margin: 0 0 4px; }
.fabric-main p  { margin: 0; color: var(--ink-soft); font-size: 0.92rem; }

.fabric-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

.tag {
    padding: 5px 12px;
    border-radius: var(--radius-pill);
    background: #fff;
    border: 1px solid var(--border);
    font-size: 0.8rem;
}

.process-grid {
    list-style: none;
    padding: 0;
    margin: 36px 0 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}

.process-step {
    padding: 24px;
    border-radius: var(--radius-md);
    background: var(--surface-2);
    border: 1px solid var(--border);
}

.process-dot {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--ink);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 14px;
}

.process-duration {
    font-size: 0.76rem;
    font-weight: 600;
    color: var(--petrol-800);
}

.process-title { margin: 4px 0 8px; }
.process-desc  { margin: 0; font-size: 0.9rem; color: var(--ink-soft); }

.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 24px;
}

.plan-card {
    position: relative;
    padding: 32px 28px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-light);
    backdrop-filter: blur(12px);
    display: flex;
    flex-direction: column;
}

.plan-card.is-featured {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.55);
    transform: translateY(-6px);
}

.plan-ribbon {
    position: absolute;
    top: 16px;
    right: 18px;
    padding: 3px 10px;
    border-radius: var(--radius-pill);
    background: #fff;
    color: var(--ink);
    font-size: 0.72rem;
    font-weight: 700;
}

.plan-name  { margin: 0 0 8px; font-size: 1.2rem; }
.plan-price strong { font-size: 1.85rem; }
.plan-price span   { font-size: 0.85rem; opacity: 0.75; margin-left: 6px; }
.plan-desc  { color: rgba(255, 255, 255, 0.78); font-size: 0.9rem; }

.plan-features {
    list-style: none;
    padding: 0;
    margin: 16px 0 26px;
    flex: 1;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    font-size: 0.9rem;
}

/* --------------------------------------------------------------------------
   PAGE À PROPOS
   -------------------------------------------------------------------------- */
.about-hero-grid,
.team-petrol-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.about-hero-media img,
.team-big-photo {
    width: 100%;
    border-radius: var(--radius-lg);
    object-fit: cover;
    box-shadow: var(--shadow-lg);
}

.specialty-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 22px 0;
}

.team-cards {
    display: grid;
    gap: 12px;
}

.member-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid var(--border-light);
}

.member-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.2);
    display: grid;
    place-items: center;
    font-weight: 700;
    flex-shrink: 0;
}

.member-avatar img { width: 100%; height: 100%; object-fit: cover; }
.member-info h3    { margin: 0; font-size: 1rem; }
.member-role       { margin: 0; font-size: 0.84rem; opacity: 0.8; }
.member-bio        { margin: 4px 0 0; font-size: 0.84rem; opacity: 0.9; }

.pillars-grid {
    margin-top: 28px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.pillar-card {
    padding: 28px;
    border-radius: var(--radius-md);
    background: var(--surface-2);
    border: 1px solid var(--border);
}

.pillar-card h3 { margin: 16px 0 8px; }
.pillar-card p  { margin: 0; color: var(--ink-soft); }

/* --------------------------------------------------------------------------
   AVIS CLIENTS (Accueil & Formulaire d'invitation)
   -------------------------------------------------------------------------- */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 24px;
}

.review-card {
    padding: 28px;
    border-radius: var(--radius-md);
    background: var(--surface-2);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 18px;
}

.review-stars {
    color: var(--petrol-800);
    font-size: 1.05rem;
    letter-spacing: 0.1em;
}

.review-comment {
    margin: 0;
    color: var(--ink);
    font-size: 0.96rem;
    line-height: 1.65;
    flex: 1;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
    font-size: 0.88rem;
}

.review-meta {
    font-size: 0.78rem;
    color: var(--ink-muted);
}

.rating-picker {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* --------------------------------------------------------------------------
   FORMULAIRES (Message & Devis multi-étapes)
   -------------------------------------------------------------------------- */
.card-form,
.quote-step {
    padding: 32px;
    border-radius: var(--radius-lg);
    background: var(--surface-2);
    border: 1px solid var(--border);
    margin-bottom: 24px;
}

.quote-step {
    margin-inline: 0;
}

.step-title {
    font-weight: 700;
    font-size: 1.15rem;
    padding: 0 6px;
}

.step-subtitle {
    font-weight: 600;
    margin: 22px 0 10px;
}

.stepper {
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
}

.stepper li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--ink-soft);
}

.stepper li span {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--petrol-800);
    color: #fff;
    display: inline-grid;
    place-items: center;
    font-size: 0.76rem;
    font-weight: 700;
}

.choice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 14px;
    margin-top: 12px;
}

.choice-card input,
.pill-choice input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.choice-card-box {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 18px;
    border-radius: var(--radius-md);
    background: #fff;
    border: 1.5px solid var(--border);
    cursor: pointer;
    transition: border-color 0.18s, box-shadow 0.18s;
}

.choice-num {
    font-size: 0.74rem;
    color: var(--ink-muted);
}

.choice-card input:checked + .choice-card-box {
    border-color: var(--petrol-800);
    background: rgba(30, 86, 102, 0.06);
    box-shadow: 0 0 0 3px rgba(30, 86, 102, 0.15);
}

.pill-choices,
.slots-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.pill-choice span {
    display: inline-block;
    padding: 9px 16px;
    border-radius: var(--radius-pill);
    background: #fff;
    border: 1.5px solid var(--border);
    font-size: 0.88rem;
    font-weight: 500;
    cursor: pointer;
}

.pill-choice input:checked + span {
    background: var(--ink);
    color: #fff;
    border-color: var(--ink);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.field {
    margin-bottom: 18px;
}

.field label {
    display: block;
    font-size: 0.86rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="url"],
.field input[type="password"],
.field input[type="number"],
.field input[type="datetime-local"],
.field select,
.field textarea {
    width: 100%;
    padding: 11px 14px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(15, 26, 30, 0.18);
    background: #fff;
    font: inherit;
    color: var(--ink);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--petrol-800);
    box-shadow: 0 0 0 3px rgba(30, 86, 102, 0.16);
}

.field-error {
    margin: 5px 0 0;
    font-size: 0.82rem;
    color: #B42318;
}

.field-help {
    margin: 5px 0 0;
    font-size: 0.8rem;
    color: var(--ink-muted);
}

.checkbox-line {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 14px 0;
    font-size: 0.9rem;
    cursor: pointer;
}

.alert {
    padding: 13px 18px;
    border-radius: var(--radius-sm);
    margin: 18px 0;
    font-size: 0.92rem;
    font-weight: 500;
}

.alert-success {
    background: #ECFDF3;
    color: #067647;
    border: 1px solid #ABEFC6;
}

.alert-error {
    background: #FEF3F2;
    color: #B42318;
    border: 1px solid #FECDCA;
}

.prose h2 { margin-top: 1.6em; }
.prose p  { color: var(--ink-soft); }

/* --------------------------------------------------------------------------
   PIED DE PAGE DÉGRADÉ BLEU PÉTROLE (identique à la maquette)
   -------------------------------------------------------------------------- */
.site-footer {
    background: radial-gradient(95% 140% at 15% 0%, #1F5B6C 0%, #0C262F 58%, #061216 100%);
    color: rgba(255, 255, 255, 0.86);
    padding: 72px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1.2fr 1fr;
    gap: 36px;
    padding-bottom: 56px;
}

.footer-tagline {
    margin: 10px 0 0;
    color: rgba(255, 255, 255, 0.68);
}

.footer-title {
    margin: 0 0 14px;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.52);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 8px;
    font-size: 0.92rem;
}

.footer-links a:hover {
    color: #fff;
    text-decoration: underline;
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.55);
}

.footer-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.btn-top {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 15px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: #fff;
    font-size: 0.8rem;
}

/* Page d'erreur */
.error-body {
    min-height: 100vh;
    display: grid;
    place-items: center;
    background: var(--surface-2);
    padding: 24px;
}

.error-card {
    max-width: 520px;
    text-align: center;
    padding: 48px 36px;
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.error-card .hero-actions { margin-top: 24px; }

/* --------------------------------------------------------------------------
   RESPONSIVE
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
    .main-nav { display: none; }
    .about-preview,
    .services-intro,
    .service-panel,
    .about-hero-grid,
    .team-petrol-grid,
    .fabric-row,
    .footer-grid,
    .form-row {
        grid-template-columns: 1fr;
    }
    .scroll-pill { display: none; }
    .city-popover {
        position: static;
        width: 100%;
        border-radius: 0;
    }
}
