/* ========================================================
   OPHÉLIE THUILLIER — Blue Watercolor Theme
   Ultra-dynamic, animated, charte carte de visite
   ======================================================== */

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

:root {
    --navy:       #1a3d6e;
    --blue:       #2d6baa;
    --blue-mid:   #4a90d0;
    --blue-light: #7ab8e8;
    --blue-pale:  #c5e0f5;
    --blue-ghost: #e8f4fd;
    --aqua:       #5bc4d8;
    --bg:         #f2f8fd;
    --bg-alt:     #e8f2fa;
    --white:      #ffffff;
    --text:       #16293f;
    --text-mid:   #3a5570;
    --text-light: #6a8faa;
    --text-faint: #a8c4d8;
    --gold:       #e8a020;

    --shadow-blue: rgba(26,61,110,0.14);
    --shadow-soft: rgba(26,61,110,0.07);

    --font-script: 'Great Vibes', cursive;
    --font-serif:  'Cormorant Garamond', serif;
    --font-sans:   'Lato', sans-serif;

    --nav-h: 68px;
    --radius: 12px;
    --radius-sm: 6px;
    --t: 0.35s ease;
}

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

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-sans);
    font-weight: 300;
    line-height: 1.7;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; }

/* ======================== SCROLLBAR ======================== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--blue-light); border-radius: 3px; }

/* ======================== WATERCOLOR BG BLOBS ======================== */
.wc-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
    animation: blobPulse ease-in-out infinite alternate;
}
@keyframes blobPulse {
    from { transform: scale(1) translate(0,0); opacity: 0.7; }
    to   { transform: scale(1.15) translate(8px,-12px); opacity: 1; }
}

/* ======================== UTILITIES ======================== */

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 32px;
    background: var(--navy);
    color: var(--white);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    border-radius: 50px;
    border: 2px solid var(--navy);
    transition: all var(--t);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--blue) 0%, var(--navy) 100%);
    opacity: 0;
    transition: opacity var(--t);
}

.btn-primary:hover::before { opacity: 1; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(26,61,110,0.35); }
.btn-primary span, .btn-primary svg { position: relative; z-index: 1; }

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 28px;
    background: transparent;
    color: var(--navy);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    border-radius: 50px;
    border: 2px solid var(--blue);
    transition: all var(--t);
}

.btn-outline:hover {
    background: var(--navy);
    border-color: var(--navy);
    color: var(--white);
    transform: translateY(-2px);
}

.section-header {
    text-align: center;
    margin-bottom: 16px;
}

.section-tag {
    display: inline-block;
    padding: 4px 16px;
    background: var(--blue-ghost);
    color: var(--blue);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    border-radius: 20px;
    margin-bottom: 14px;
    border: 1px solid var(--blue-pale);
}

.section-title {
    font-family: var(--font-script);
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--navy);
    line-height: 1.1;
    margin-bottom: 12px;
}

.section-title-sans {
    font-family: var(--font-sans);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700;
    color: var(--navy);
    letter-spacing: -0.02em;
}

.section-sub {
    font-size: 1rem;
    color: var(--text-mid);
    max-width: 580px;
    margin: 0 auto 52px;
    line-height: 1.7;
}

.eyebrow {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--blue-mid);
    margin-bottom: 10px;
}

/* Animated brush underline */
.brush-underline {
    position: relative;
    display: inline-block;
}
.brush-underline::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--aqua), var(--blue-mid));
    border-radius: 2px;
    transition: width 0.6s ease;
}
.brush-underline.visible::after { width: 100%; }

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.from-left  { transform: translateX(-32px); }
.reveal.from-right { transform: translateX(32px); }
.reveal.visible    { opacity: 1; transform: translate(0,0); }

/* Stagger delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* ======================== NAV ======================== */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    height: var(--nav-h);
    background: rgba(242,248,253,0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(74,144,208,0.12);
    transition: box-shadow 0.3s, background 0.3s;
}
.nav.scrolled {
    background: rgba(255,255,255,0.96);
    box-shadow: 0 2px 20px var(--shadow-blue);
}

.nav-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-logo {
    font-family: var(--font-script);
    font-size: 1.8rem;
    color: var(--navy);
    flex-shrink: 0;
    line-height: 1;
    transition: color var(--t);
}
.nav-logo:hover { color: var(--blue); }

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    flex: 1;
    justify-content: center;
}

.nav-link {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--text-mid);
    padding: 7px 16px;
    border-radius: 20px;
    position: relative;
    transition: color var(--t), background var(--t);
    letter-spacing: 0.02em;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 16px;
    right: 16px;
    height: 2px;
    background: var(--blue-mid);
    border-radius: 1px;
    transform: scaleX(0);
    transition: transform var(--t);
}
.nav-link:hover,
.nav-link.active { color: var(--navy); }
.nav-link:hover::after,
.nav-link.active::after { transform: scaleX(1); }

.nav-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.nav-icon {
    width: 36px; height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--text-mid);
    transition: all var(--t);
}
.nav-icon:hover {
    background: var(--blue-ghost);
    color: var(--navy);
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 22px;
    background: var(--navy);
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 400;
    border-radius: 50px;
    border: 2px solid var(--navy);
    transition: all var(--t);
}
.nav-cta:hover {
    background: var(--blue);
    border-color: var(--blue);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(26,61,110,0.3);
}

.nav-burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    padding: 4px;
}
.nav-burger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--navy);
    border-radius: 2px;
    transition: all 0.3s;
}

/* Mobile drawer */
.mobile-drawer {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 200;
}
.mobile-drawer.open { display: block; }
.drawer-overlay {
    position: absolute;
    inset: 0;
    background: rgba(22,41,63,0.5);
    backdrop-filter: blur(3px);
}
.drawer-panel {
    position: absolute;
    top: 0; right: 0; bottom: 0;
    width: 280px;
    background: var(--white);
    padding: 56px 32px 32px;
    border-left: 1px solid var(--blue-pale);
    display: flex;
    flex-direction: column;
    gap: 0;
}
.drawer-close {
    position: absolute;
    top: 16px; right: 20px;
    background: none;
    border: none;
    font-size: 1.4rem;
    color: var(--text-mid);
    padding: 4px;
}
.drawer-panel ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 28px;
}
.drawer-panel ul a {
    display: block;
    padding: 12px 0;
    font-size: 1rem;
    color: var(--navy);
    border-bottom: 1px solid var(--blue-ghost);
    transition: color var(--t), padding-left var(--t);
}
.drawer-panel ul a:hover { color: var(--blue); padding-left: 8px; }

/* ======================== HERO ======================== */
.hero {
    min-height: 100vh;
    padding-top: calc(var(--nav-h) + 52px);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #e8f4fd 0%, #f0f8fd 40%, #e4f0fa 100%);
}

/* Animated watercolor background */
.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.hero-bg .wc-blob:nth-child(1) {
    width: 500px; height: 500px;
    background: rgba(74,144,208,0.18);
    top: -100px; right: -80px;
    animation-duration: 7s;
}
.hero-bg .wc-blob:nth-child(2) {
    width: 350px; height: 350px;
    background: rgba(91,196,216,0.14);
    bottom: 50px; left: -60px;
    animation-duration: 9s; animation-delay: 2s;
}
.hero-bg .wc-blob:nth-child(3) {
    width: 250px; height: 250px;
    background: rgba(26,61,110,0.08);
    top: 40%; left: 30%;
    animation-duration: 11s; animation-delay: 1s;
}
.hero-bg .wc-blob:nth-child(4) {
    width: 180px; height: 180px;
    background: rgba(122,184,232,0.2);
    top: 20%; right: 40%;
    animation-duration: 8s; animation-delay: 3s;
}

/* Watercolor SVG splash decoration */
.wc-splash {
    position: absolute;
    pointer-events: none;
    opacity: 0.55;
}
.splash-tl { top: 0; left: 0; width: clamp(200px, 28vw, 380px); }
.splash-tr { top: 0; right: 0; width: clamp(180px, 24vw, 340px); transform: scaleX(-1); }
.splash-br { bottom: 0; right: 0; width: clamp(150px, 20vw, 280px); transform: rotate(180deg); }

/* Floating paint drops */
.paint-drop {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    animation: paintFloat ease-in-out infinite;
}
@keyframes paintFloat {
    0%,100% { transform: translateY(0) rotate(0deg); opacity: 0.8; }
    33%      { transform: translateY(-18px) rotate(120deg); opacity: 1; }
    66%      { transform: translateY(-8px) rotate(240deg); opacity: 0.7; }
}

.hero-inner {
    position: relative;
    z-index: 2;
    max-width: 1280px;
    margin: 0 auto;
    padding: 60px 48px 80px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 500px;
    align-items: center;
    gap: 40px;
}

.hero-text { }

.hero-name {
    font-family: var(--font-script);
    font-size: clamp(3.5rem, 7vw, 6rem);
    color: var(--navy);
    line-height: 1;
    margin-bottom: 16px;
    position: relative;
    display: inline-block;
}

/* Animated brush stroke under name */
.hero-name::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--aqua), var(--blue-mid));
    border-radius: 2px;
    animation: nameUnderline 1s ease 0.8s forwards;
}
@keyframes nameUnderline {
    to { width: 100%; }
}

.hero-sub {
    font-size: 1.05rem;
    color: var(--navy);
    font-weight: 400;
    letter-spacing: 0.02em;
    margin-bottom: 6px;
    opacity: 0;
    animation: fadeUp 0.7s ease 0.5s forwards;
}
.hero-assoc {
    font-size: 0.85rem;
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 24px;
    opacity: 0;
    animation: fadeUp 0.7s ease 0.7s forwards;
}

.hero-desc {
    font-size: 1rem;
    color: var(--text-mid);
    max-width: 480px;
    line-height: 1.75;
    margin-bottom: 36px;
    opacity: 0;
    animation: fadeUp 0.7s ease 0.9s forwards;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}

.hero-contact-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 36px;
    opacity: 0;
    animation: fadeUp 0.7s ease 1s forwards;
}
.hero-contact-item {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.83rem;
    color: var(--text-mid);
    padding: 6px 14px;
    background: rgba(255,255,255,0.7);
    border-radius: 20px;
    border: 1px solid var(--blue-pale);
    backdrop-filter: blur(4px);
    transition: all var(--t);
}
.hero-contact-item:hover {
    background: var(--white);
    color: var(--navy);
    box-shadow: 0 4px 16px var(--shadow-blue);
    transform: translateY(-2px);
}
.hero-contact-item svg { color: var(--blue); flex-shrink: 0; }

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    opacity: 0;
    animation: fadeUp 0.7s ease 1.1s forwards;
}

/* Hero illustration */
.hero-illustration {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    opacity: 0;
    animation: heroIllustration 1s ease 0.4s forwards;
}
@keyframes heroIllustration {
    from { opacity: 0; transform: translateX(30px) scale(0.96); }
    to   { opacity: 1; transform: translateX(0) scale(1); }
}

.hero-char-wrap {
    position: relative;
    z-index: 2;
}

/* Circular watercolor bg behind character */
.hero-char-circle {
    position: absolute;
    inset: -20px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(74,144,208,0.15) 0%, transparent 70%);
    animation: circlePulse 4s ease-in-out infinite;
}
@keyframes circlePulse {
    0%,100% { transform: scale(1); opacity: 0.8; }
    50%      { transform: scale(1.08); opacity: 1; }
}

.hero-char-img {
    width: 100%;
    max-width: 440px;
    height: 500px;
    object-fit: cover;
    object-position: left center;
    border-radius: 24px;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 20px 60px rgba(26,61,110,0.2));
}

/* Floating badges on illustration */
.hero-badge {
    position: absolute;
    background: var(--white);
    border-radius: 12px;
    padding: 10px 16px;
    box-shadow: 0 8px 32px var(--shadow-blue);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: var(--navy);
    font-weight: 400;
    z-index: 5;
    border: 1px solid var(--blue-pale);
    animation: badgeFloat ease-in-out infinite alternate;
}
@keyframes badgeFloat {
    from { transform: translateY(0); }
    to   { transform: translateY(-6px); }
}
.badge-cmd {
    top: 60px; right: -10px;
    animation-duration: 3s;
}
.badge-art {
    bottom: 100px; left: -10px;
    animation-duration: 3.5s; animation-delay: 0.5s;
}
.badge-icon {
    width: 32px; height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}
.badge-icon.blue { background: var(--blue-ghost); }
.badge-icon.aqua { background: rgba(91,196,216,0.15); }

/* Scroll hint */
.scroll-hint {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: var(--text-faint);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    animation: scrollHint 2s ease-in-out infinite;
    z-index: 3;
}
@keyframes scrollHint {
    0%,100% { transform: translateX(-50%) translateY(0); opacity: 0.6; }
    50%      { transform: translateX(-50%) translateY(8px); opacity: 1; }
}
.scroll-hint-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--blue-light), transparent);
}

/* ======================== UNIVERS ======================== */
.univers {
    padding: 100px 48px;
    position: relative;
    overflow: hidden;
    background: var(--white);
}

.univers-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.univers-bg .wc-blob:nth-child(1) {
    width: 400px; height: 400px;
    background: rgba(74,144,208,0.06);
    top: -80px; right: -60px;
    animation-duration: 10s;
}
.univers-bg .wc-blob:nth-child(2) {
    width: 300px; height: 300px;
    background: rgba(91,196,216,0.07);
    bottom: -60px; left: -40px;
    animation-duration: 12s; animation-delay: 3s;
}

.univers-inner {
    max-width: 1280px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.univers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.univers-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg);
    border: 1px solid var(--blue-pale);
    transition: transform var(--t), box-shadow var(--t);
    cursor: pointer;
}
.univers-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 48px var(--shadow-blue);
}

.univers-img-wrap {
    aspect-ratio: 3/4;
    overflow: hidden;
    position: relative;
}
.univers-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    filter: saturate(0.85) brightness(1.02);
}
.univers-card:hover .univers-img { transform: scale(1.08); }

.univers-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 40%, rgba(26,61,110,0.7) 100%);
    opacity: 0;
    transition: opacity var(--t);
    display: flex;
    align-items: flex-end;
    padding: 20px;
}
.univers-card:hover .univers-overlay { opacity: 1; }

.img-copyright {
    position: absolute;
    bottom: 7px;
    right: 10px;
    font-size: 0.6rem;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.72);
    background: rgba(0,0,0,0.38);
    padding: 2px 7px;
    border-radius: 3px;
    pointer-events: none;
    z-index: 3;
}

.univers-overlay-text {
    color: var(--white);
    font-size: 0.85rem;
    line-height: 1.5;
}

/* ===== PORTRAIT CINÉASTE ANNÉES 1930 ===== */

/* Tirage argentique : noir & blanc haut contraste + légère teinte sépia */
.portrait-1930s-img {
    filter: grayscale(1) contrast(1.52) brightness(0.76) sepia(0.07);
}

/* Vignette — obscurcissement des bords, effet vieux objectif */
.portrait-1930s-wrap::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 2;
    background: radial-gradient(ellipse at 50% 45%, transparent 38%, rgba(0,0,0,0.72) 100%);
    pointer-events: none;
}

/* Grain de film argentique (SVG feTurbulence inline) */
.film-grain-overlay {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    mix-blend-mode: overlay;
    opacity: 0.42;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 240 240' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.86' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
    background-size: 180px 180px;
    background-repeat: repeat;
    animation: grainShift 0.12s steps(1) infinite;
}
@keyframes grainShift {
    0%  { background-position: 0px   0px; }
    25% { background-position: -40px 20px; }
    50% { background-position: 20px -30px; }
    75% { background-position: -60px 10px; }
}

/* Rayures verticales de pellicule usée */
.film-scratches {
    position: absolute;
    inset: 0;
    z-index: 4;
    pointer-events: none;
    background-image:
        linear-gradient(to bottom, rgba(255,255,255,0.00) 0%, rgba(255,255,255,0.07) 22%, rgba(255,255,255,0.00) 44%, rgba(255,255,255,0.05) 68%, rgba(255,255,255,0.00) 100%),
        linear-gradient(90deg,
            transparent 0%,   transparent 18%,
            rgba(255,255,255,0.06) 18.2%, rgba(255,255,255,0.06) 18.6%, transparent 18.8%,
            transparent 45%,
            rgba(255,255,255,0.04) 45.15%, rgba(255,255,255,0.04) 45.45%, transparent 45.6%,
            transparent 73%,
            rgba(255,255,255,0.07) 73.1%, rgba(255,255,255,0.07) 73.4%, transparent 73.55%,
            transparent 100%
        );
    animation: scratchFlicker 0.08s steps(1) infinite;
}
@keyframes scratchFlicker {
    0%   { opacity: 0.9;  transform: translateY(0px); }
    30%  { opacity: 1;    transform: translateY(-3px); }
    60%  { opacity: 0.75; transform: translateY(2px); }
    100% { opacity: 0.95; transform: translateY(-1px); }
}

/* Légende style carton de film muet */
.film-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 6;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    background: rgba(8, 6, 4, 0.78);
    border-top: 1px solid rgba(255, 248, 220, 0.2);
}
.film-caption-text {
    font-family: var(--font-serif);
    font-size: 0.72rem;
    letter-spacing: 0.38em;
    color: rgba(245, 235, 195, 0.88);
    text-transform: uppercase;
    font-style: italic;
}
.film-caption-year {
    font-size: 0.65rem;
    letter-spacing: 0.18em;
    color: rgba(220, 205, 160, 0.65);
    font-family: var(--font-sans);
    flex-shrink: 0;
}

/* ===== PORTRAIT CHAPLIN — CRAYON DE COULEUR ===== */

/* Filtre SVG crayon + saturation CSS complémentaire */
.chaplin-img {
    filter: url(#crayon-chaplin);
}

/* Texture légère papier à dessin (grain fin) */
.chaplin-paper {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    mix-blend-mode: multiply;
    opacity: 0.28;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='p'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23p)' opacity='0.9'/%3E%3C/svg%3E");
    background-size: 160px 160px;
    background-color: rgba(255, 250, 235, 0.55);
}

/* Bandeau signature "Charlot" en bas */
.chaplin-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 6;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 8px;
    padding: 8px 13px;
    background: rgba(255, 250, 235, 0.82);
    border-top: 1px solid rgba(120, 80, 20, 0.22);
    backdrop-filter: blur(2px);
}
.chaplin-caption-name {
    font-family: var(--font-script);
    font-size: 1.1rem;
    color: #3a2808;
    line-height: 1;
}
.chaplin-caption-sub {
    font-family: var(--font-serif);
    font-size: 0.62rem;
    letter-spacing: 0.24em;
    color: rgba(80, 50, 10, 0.65);
    font-style: italic;
    text-transform: uppercase;
    flex-shrink: 0;
}

/* ===== PORTRAIT DÉTAILLÉ TRUFFAUT (truffaut-portrait.svg) ===== */
.detaille-wrap {
    background: #0d0818;
}
.detaille-img {
    object-fit: cover;
}

/* ===== PORTRAIT OMBRÉ BEAGLE (beagle-ombre.svg) ===== */
.ombre-wrap {
    background: #071025;
}
.ombre-img {
    object-fit: cover;
}

/* ===== CARICATURE COLORÉE (chaplin-caricature.svg) ===== */
.caricature-wrap {
    background: #0a0818;
}
.caricature-img {
    object-fit: cover;
}

/* ===== PORTRAIT CRAYONNÉ (chaplin-sketch.svg) ===== */
.sketch-wrap {
    background: #f5f3ec;
}
.sketch-img {
    object-fit: contain;
    padding: 6px;
}

/* ===== CÉRAMIQUE FAIT MAIN ===== */

/* Fond lin de studio pour le SVG céramique */
.ceramique-wrap {
    background: linear-gradient(160deg, #f0ede4 0%, #e8e0cc 55%, #ddd4ba 100%);
}
/* Le SVG s'affiche en entier (pas de crop trop serré) */
.ceramique-img {
    object-fit: contain;
    padding: 10px 14px 6px;
}

.univers-card-body {
    padding: 18px;
}
.univers-card-body h3 {
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 4px;
}
.univers-card-body p {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* Category tag with color dot */
.univers-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: rgba(255,255,255,0.9);
    color: var(--navy);
    backdrop-filter: blur(4px);
}

/* ======================== COMMISSIONS ======================== */
.commissions {
    padding: 100px 48px;
    background: linear-gradient(160deg, #e8f2fa 0%, var(--bg) 60%, #eaf3fb 100%);
    position: relative;
    overflow: hidden;
}

.commissions-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.commissions-bg .wc-blob:nth-child(1) {
    width: 500px; height: 300px;
    background: rgba(74,144,208,0.08);
    top: 0; left: -100px;
    animation-duration: 9s;
}

.commissions-inner {
    max-width: 1280px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.commission-group {
    margin-bottom: 56px;
}

.group-label {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 28px;
}
.group-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, var(--blue-pale), transparent);
}
.group-line.right {
    background: linear-gradient(90deg, transparent, var(--blue-pale));
}
.group-label-text {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--blue-mid);
    white-space: nowrap;
}

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

.commission-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid rgba(74,144,208,0.15);
    box-shadow: 0 2px 16px var(--shadow-soft);
    transition: transform var(--t), box-shadow var(--t);
    position: relative;
}
.commission-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--aqua), var(--blue-mid));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}
.commission-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px var(--shadow-blue);
}
.commission-card:hover::before { transform: scaleX(1); }

.card-img-wrap {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--blue-ghost);
}
.card-img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    filter: saturate(0.85);
}
.commission-card:hover .card-img { transform: scale(1.07); }

.card-badge {
    position: absolute;
    top: 12px; left: 12px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: var(--navy);
    color: var(--white);
}
.card-badge.badge-new     { background: var(--aqua); }
.card-badge.badge-pop     { background: var(--blue); }
.card-badge.badge-premium { background: linear-gradient(135deg, var(--navy), var(--blue)); }

.card-body { padding: 20px; }

.card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}
.card-category {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--blue-mid);
}
.card-delay {
    font-size: 0.72rem;
    color: var(--text-faint);
}

.card-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 6px;
    letter-spacing: -0.01em;
}
.card-desc {
    font-size: 0.82rem;
    color: var(--text-light);
    line-height: 1.55;
    margin-bottom: 16px;
}
.card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}
.card-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--navy);
    letter-spacing: -0.02em;
}
.card-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    background: var(--navy);
    color: var(--white);
    font-size: 0.82rem;
    font-weight: 400;
    border-radius: 20px;
    transition: all var(--t);
}
.card-btn:hover {
    background: var(--blue);
    transform: translateX(2px);
}

/* ======================== ABOUT ======================== */
.about {
    padding: 100px 48px;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.about-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.about-bg .wc-blob {
    width: 450px; height: 450px;
    background: rgba(74,144,208,0.07);
    top: -100px; left: -80px;
    animation-duration: 11s;
}

.about-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.about-img-wrap {
    position: relative;
}
.about-img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    object-position: top center;
    border-radius: var(--radius);
    box-shadow: 0 20px 60px var(--shadow-blue);
    position: relative;
    z-index: 2;
    filter: saturate(0.9);
}
/* Decorative frame */
.about-img-wrap::before {
    content: '';
    position: absolute;
    top: 16px; left: 16px;
    right: -16px; bottom: -16px;
    background: var(--blue-ghost);
    border-radius: var(--radius);
    z-index: 1;
    border: 2px solid var(--blue-pale);
}

.about-text-col { }

.about-title {
    font-family: var(--font-script);
    font-size: 2.6rem;
    color: var(--navy);
    margin-bottom: 20px;
    line-height: 1.1;
}

.about-text {
    font-size: 0.93rem;
    color: var(--text-mid);
    margin-bottom: 16px;
    line-height: 1.78;
}

.about-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 24px 0;
}
.skill-tag {
    padding: 6px 16px;
    background: var(--blue-ghost);
    color: var(--blue);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    border-radius: 20px;
    border: 1px solid var(--blue-pale);
    transition: all var(--t);
}
.skill-tag:hover {
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy);
    transform: translateY(-2px);
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 32px 0;
    padding: 24px 0;
    border-top: 1px solid var(--blue-pale);
    border-bottom: 1px solid var(--blue-pale);
}
.stat { text-align: center; }
.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--navy);
    line-height: 1;
    margin-bottom: 4px;
    letter-spacing: -0.03em;
}
.stat-number span { color: var(--blue); }
.stat-label {
    font-size: 0.72rem;
    color: var(--text-light);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* Animated counter */
.counter { display: inline-block; }

/* ======================== CONTACT ======================== */
.contact-section {
    padding: 100px 48px;
    background: linear-gradient(160deg, var(--navy) 0%, #1e4a8a 50%, #163570 100%);
    position: relative;
    overflow: hidden;
}

/* Wave top */
.contact-wave {
    position: absolute;
    top: -1px; left: 0; right: 0;
    height: 80px;
    pointer-events: none;
}

.contact-bg-blob {
    position: absolute;
    pointer-events: none;
}
.contact-bg-blob:nth-child(2) {
    width: 500px; height: 500px;
    border-radius: 50%;
    background: rgba(91,196,216,0.08);
    filter: blur(80px);
    top: -100px; right: -100px;
    animation: blobPulse 8s ease-in-out infinite alternate;
}
.contact-bg-blob:nth-child(3) {
    width: 350px; height: 350px;
    border-radius: 50%;
    background: rgba(74,144,208,0.1);
    filter: blur(60px);
    bottom: -80px; left: -60px;
    animation: blobPulse 10s ease-in-out infinite alternate;
    animation-delay: 2s;
}

.contact-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
    position: relative;
    z-index: 2;
}

.contact-left { }

.contact-title {
    font-family: var(--font-script);
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 12px;
    line-height: 1.1;
}
.contact-sub {
    color: rgba(255,255,255,0.65);
    font-size: 0.93rem;
    margin-bottom: 36px;
    line-height: 1.7;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}
.contact-detail {
    display: flex;
    align-items: center;
    gap: 14px;
    color: rgba(255,255,255,0.85);
    font-size: 0.9rem;
    transition: color var(--t);
}
.contact-detail:hover { color: var(--white); }
.cd-icon {
    width: 40px; height: 40px;
    border-radius: 10px;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--aqua);
    transition: background var(--t);
}
.contact-detail:hover .cd-icon {
    background: rgba(255,255,255,0.15);
}

.contact-social {
    display: flex;
    gap: 12px;
}
.soc-btn {
    width: 40px; height: 40px;
    border-radius: 10px;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7);
    transition: all var(--t);
    border: 1px solid rgba(255,255,255,0.1);
}
.soc-btn:hover {
    background: rgba(255,255,255,0.2);
    color: var(--white);
    transform: translateY(-3px);
}

/* Contact form */
.contact-form {
    background: rgba(255,255,255,0.06);
    border-radius: var(--radius);
    padding: 36px;
    border: 1px solid rgba(255,255,255,0.12);
    backdrop-filter: blur(10px);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}
.form-group:last-of-type { margin-bottom: 0; }
.form-group label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.55);
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-sm);
    color: var(--white);
    font-family: var(--font-sans);
    font-size: 0.88rem;
    font-weight: 300;
    transition: all var(--t);
    appearance: none;
    -webkit-appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.3); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgba(91,196,216,0.5);
    background: rgba(255,255,255,0.12);
    box-shadow: 0 0 0 3px rgba(91,196,216,0.1);
}
.form-group textarea { resize: vertical; min-height: 110px; line-height: 1.6; }
.form-group select { cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.5)' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.form-group select option { background: var(--navy); color: var(--white); }

.form-submit {
    width: 100%;
    margin-top: 20px;
    padding: 14px;
    justify-content: center;
    background: var(--aqua);
    border: 2px solid var(--aqua);
    font-size: 0.92rem;
}
.form-submit:hover {
    background: #42b8cc;
    border-color: #42b8cc;
}

.form-success {
    display: none;
    margin-top: 14px;
    padding: 14px;
    background: rgba(91,196,216,0.15);
    border: 1px solid rgba(91,196,216,0.3);
    border-radius: var(--radius-sm);
    color: var(--aqua);
    font-size: 0.88rem;
    text-align: center;
}
.form-success.visible { display: block; }

/* ======================== FOOTER ======================== */
.footer {
    background: #0e2240;
    color: rgba(255,255,255,0.6);
    padding: 48px 48px 28px;
}
.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
}
.footer-top {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 40px;
    align-items: start;
    margin-bottom: 36px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-name {
    font-family: var(--font-script);
    font-size: 2.4rem;
    color: var(--white);
    line-height: 1;
    margin-bottom: 6px;
}
.footer-tagline {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.4);
}
.footer-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    padding-top: 8px;
}
.footer-links a {
    font-size: 0.83rem;
    color: rgba(255,255,255,0.45);
    transition: color var(--t);
}
.footer-links a:hover { color: var(--white); }
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}
.footer-bottom p { font-size: 0.75rem; color: rgba(255,255,255,0.3); }
.footer-splash-link {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.3);
    transition: color var(--t);
}
.footer-splash-link:hover { color: rgba(255,255,255,0.65); }

/* ======================== AI AGENT OPHÉLIE ======================== */
.ai-trigger {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 500;
}

.ai-btn {
    width: 64px; height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--blue) 0%, var(--navy) 100%);
    border: 3px solid var(--white);
    box-shadow: 0 8px 32px rgba(26,61,110,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    transition: transform var(--t), box-shadow var(--t);
    overflow: hidden;
}
.ai-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 12px 40px rgba(26,61,110,0.5);
}

/* Pulse ring */
.ai-btn::before {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid var(--blue-light);
    animation: aiPulse 2s ease-out infinite;
    opacity: 0;
}
@keyframes aiPulse {
    0%   { inset: -6px; opacity: 0.8; }
    100% { inset: -22px; opacity: 0; }
}

.ai-btn-avatar {
    width: 40px; height: 40px;
    border-radius: 50%;
    object-fit: cover;
    object-position: left top;
    filter: brightness(1.1) saturate(0.9);
}

.ai-btn-label {
    position: absolute;
    top: -36px;
    right: 0;
    background: var(--navy);
    color: var(--white);
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    padding: 5px 12px;
    border-radius: 20px;
    white-space: nowrap;
    box-shadow: 0 4px 16px var(--shadow-blue);
    animation: labelBob 3s ease-in-out infinite;
    pointer-events: none;
}
.ai-btn-label::after {
    content: '';
    position: absolute;
    bottom: -5px; right: 14px;
    width: 0; height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid var(--navy);
}
@keyframes labelBob {
    0%,100% { transform: translateY(0); }
    50%      { transform: translateY(-3px); }
}

/* AI Chat Panel */
.ai-panel {
    position: fixed;
    bottom: 108px;
    right: 28px;
    width: 360px;
    max-height: 520px;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 20px 70px rgba(26,61,110,0.22), 0 0 0 1px rgba(74,144,208,0.12);
    z-index: 499;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: scale(0.85) translateY(20px);
    transform-origin: bottom right;
    opacity: 0;
    pointer-events: none;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.ai-panel.open {
    transform: scale(1) translateY(0);
    opacity: 1;
    pointer-events: all;
}

.ai-panel-header {
    background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}
.ai-panel-avatar {
    width: 40px; height: 40px;
    border-radius: 50%;
    object-fit: cover;
    object-position: left top;
    border: 2px solid rgba(255,255,255,0.4);
}
.ai-panel-info { flex: 1; }
.ai-panel-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
}
.ai-panel-status {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.65);
    display: flex;
    align-items: center;
    gap: 5px;
}
.status-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #4ade80;
    animation: statusPulse 2s ease-in-out infinite;
}
@keyframes statusPulse {
    0%,100% { opacity: 1; }
    50%      { opacity: 0.5; }
}
.ai-close-btn {
    background: rgba(255,255,255,0.15);
    border: none;
    color: white;
    width: 28px; height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    transition: background var(--t);
    flex-shrink: 0;
}
.ai-close-btn:hover { background: rgba(255,255,255,0.25); }

.ai-messages {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    scroll-behavior: smooth;
}
.ai-messages::-webkit-scrollbar { width: 4px; }
.ai-messages::-webkit-scrollbar-thumb { background: var(--blue-pale); border-radius: 2px; }

.ai-msg {
    max-width: 85%;
    animation: msgSlide 0.3s ease;
}
@keyframes msgSlide {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}
.ai-msg.bot { align-self: flex-start; }
.ai-msg.user { align-self: flex-end; }

.ai-msg-bubble {
    padding: 10px 14px;
    border-radius: 14px;
    font-size: 0.84rem;
    line-height: 1.55;
}
.ai-msg.bot .ai-msg-bubble {
    background: var(--bg);
    color: var(--text);
    border: 1px solid var(--blue-pale);
    border-bottom-left-radius: 4px;
}
.ai-msg.user .ai-msg-bubble {
    background: var(--navy);
    color: var(--white);
    border-bottom-right-radius: 4px;
}

.ai-msg-time {
    font-size: 0.65rem;
    color: var(--text-faint);
    margin-top: 3px;
    padding: 0 4px;
}
.ai-msg.user .ai-msg-time { text-align: right; }

/* Typing indicator */
.ai-typing {
    align-self: flex-start;
}
.typing-bubble {
    padding: 10px 16px;
    background: var(--bg);
    border: 1px solid var(--blue-pale);
    border-radius: 14px;
    border-bottom-left-radius: 4px;
    display: flex;
    gap: 4px;
    align-items: center;
}
.typing-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--blue-light);
    animation: typingDot 1.2s ease-in-out infinite;
}
.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }
@keyframes typingDot {
    0%,100% { transform: translateY(0); opacity: 0.4; }
    50%      { transform: translateY(-5px); opacity: 1; }
}

/* Quick reply chips */
.ai-quick-replies {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 8px 16px;
    border-top: 1px solid var(--blue-ghost);
    background: var(--bg);
    flex-shrink: 0;
}
.qr-chip {
    padding: 5px 12px;
    background: var(--white);
    color: var(--navy);
    font-size: 0.75rem;
    border-radius: 14px;
    border: 1px solid var(--blue-pale);
    cursor: pointer;
    transition: all var(--t);
    white-space: nowrap;
}
.qr-chip:hover {
    background: var(--navy);
    color: var(--white);
    border-color: var(--navy);
}

.ai-input-area {
    padding: 12px 16px;
    border-top: 1px solid var(--blue-ghost);
    display: flex;
    gap: 8px;
    flex-shrink: 0;
    background: var(--white);
}
.ai-input {
    flex: 1;
    padding: 9px 14px;
    border: 1px solid var(--blue-pale);
    border-radius: 20px;
    font-size: 0.85rem;
    font-family: var(--font-sans);
    color: var(--text);
    background: var(--bg);
    transition: border-color var(--t);
    outline: none;
}
.ai-input:focus { border-color: var(--blue-mid); }

.ai-send-btn {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: var(--navy);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
    transition: background var(--t), transform var(--t);
}
.ai-send-btn:hover {
    background: var(--blue);
    transform: scale(1.05);
}

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

@media (max-width: 1100px) {
    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 48px;
        padding: 48px 32px;
    }
    .hero-illustration { order: -1; max-width: 380px; margin: 0 auto; }
    .hero-char-img { max-width: 340px; height: 400px; }
    .hero-contact-strip { justify-content: center; }
    .hero-actions { justify-content: center; }
    .hero-desc { max-width: 100%; }

    .about-inner { grid-template-columns: 1fr; gap: 40px; }
    .about-img-wrap { max-width: 380px; }

    .univers-grid { grid-template-columns: repeat(2, 1fr); }
    .cards-row    { grid-template-columns: repeat(2, 1fr); }
    .contact-inner { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
    :root { --nav-h: 58px; }
    .nav-links, .nav-icon { display: none; }
    .nav-burger { display: flex; }
    .nav-cta { font-size: 0.78rem; padding: 7px 16px; }
    .nav-inner { padding: 0 16px; }

    .hero-inner,
    .univers,
    .commissions,
    .about,
    .contact-section { padding-left: 20px; padding-right: 20px; }

    .hero-inner, .univers-inner, .commissions-inner, .about-inner, .contact-inner { padding: 0; }

    .univers-grid, .cards-row { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .contact-form { padding: 24px 20px; }
    .footer-top { grid-template-columns: 1fr; }
    .footer-links { flex-direction: column; gap: 10px; }
    .about-stats { grid-template-columns: repeat(3, 1fr); }

    .ai-panel { width: calc(100vw - 32px); right: 16px; }
}

@media (max-width: 480px) {
    .hero-name { font-size: 3rem; }
    .hero-char-img { height: 320px; }
    .hero-actions { flex-direction: column; width: 100%; }
    .btn-primary, .btn-outline { justify-content: center; width: 100%; }
    .ai-trigger { right: 16px; bottom: 16px; }
    .ai-panel { bottom: 96px; }
}

/* ================================================================
   BANNIÈRE FIXE BAS DE PAGE (CGV + Newsletter)
================================================================ */
.bottom-banner {
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    z-index: 99;
    height: 52px;
    background: linear-gradient(90deg, #1a3d6e 0%, #2460a0 60%, #1a3d6e 100%);
    border-bottom: 1px solid rgba(91,196,216,.28);
    box-shadow: 0 6px 28px rgba(10,24,60,.30);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    gap: 16px;
}

.banner-left {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.banner-cgv-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: none;
    border: none;
    cursor: pointer;
    color: rgba(255,255,255,.88);
    font-family: 'Lato', sans-serif;
    font-size: .70rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    padding: 6px 14px 6px 10px;
    border-radius: 50px;
    border: 1.5px solid rgba(255,255,255,.20);
    transition: background .25s, border-color .25s;
}
.banner-cgv-btn:hover {
    background: rgba(255,255,255,.10);
    border-color: rgba(255,255,255,.40);
    color: #fff;
}
.banner-cgv-btn svg { opacity: .80; flex-shrink: 0; }

.banner-divider {
    flex: 1;
    height: 1px;
    background: rgba(255,255,255,.10);
    min-width: 20px;
    max-width: 320px;
    margin: 0 auto;
}

.banner-right { flex-shrink: 0; }

.banner-newsletter-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,.13);
    border: 1.5px solid rgba(255,255,255,.38);
    border-radius: 50px;
    color: #fff;
    font-family: 'Lato', sans-serif;
    font-size: .70rem;
    font-weight: 700;
    letter-spacing: .10em;
    text-transform: uppercase;
    padding: 7px 18px 7px 14px;
    cursor: pointer;
    transition: background .25s, border-color .25s, transform .2s;
    white-space: nowrap;
}
.banner-newsletter-btn:hover {
    background: rgba(255,255,255,.24);
    border-color: rgba(255,255,255,.65);
    transform: translateY(-1px);
}
.banner-newsletter-btn svg { opacity: .88; flex-shrink: 0; }

/* Espace sous le contenu pour ne pas cacher le footer */
/* extra top clearance for nav + banner */

/* ================================================================
   OVERLAY + MODAL GÉNÉRIQUE
================================================================ */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(10,20,50,.60);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .30s ease;
}
.modal-overlay.open {
    opacity: 1;
    pointer-events: all;
}
.modal-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 28px 90px rgba(10,20,60,.35);
    max-width: 680px;
    width: 100%;
    max-height: 82vh;
    overflow-y: auto;
    padding: 40px 44px 36px;
    position: relative;
    transform: translateY(22px) scale(.98);
    transition: transform .30s ease;
}
.modal-overlay.open .modal-card {
    transform: translateY(0) scale(1);
}
.modal-close-btn {
    position: absolute;
    top: 14px; right: 18px;
    background: rgba(26,61,110,.06);
    border: none;
    border-radius: 50%;
    width: 34px; height: 34px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem;
    color: rgba(26,61,110,.50);
    cursor: pointer;
    transition: background .2s, color .2s;
}
.modal-close-btn:hover { background: rgba(26,61,110,.12); color: #1a3d6e; }

.modal-header-icon {
    width: 48px; height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg,#2d6baa,#1a3d6e);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 16px;
}
.modal-header-icon svg { color: #fff; }
.modal-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.65rem;
    font-weight: 600;
    color: #1a3d6e;
    margin-bottom: 4px;
    padding-right: 44px;
    line-height: 1.2;
}
.modal-subtitle {
    font-size: .68rem;
    letter-spacing: .16em;
    color: rgba(26,61,110,.45);
    text-transform: uppercase;
    margin-bottom: 24px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(26,61,110,.10);
}

/* ── CGV content ── */
.cgv-article {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.cgv-section {}
.cgv-section h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: #1a3d6e;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.cgv-section h3::before {
    content: '';
    display: inline-block;
    width: 3px; height: 14px;
    background: #2d6baa;
    border-radius: 2px;
    flex-shrink: 0;
}
.cgv-section p {
    font-size: .80rem;
    line-height: 1.75;
    color: rgba(26,61,110,.68);
    margin: 0;
}
.cgv-footer-note {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid rgba(26,61,110,.10);
    font-size: .68rem;
    color: rgba(26,61,110,.40);
    line-height: 1.6;
    text-align: center;
}

/* ── Newsletter content ── */
.newsletter-lead {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.12rem;
    font-style: italic;
    color: rgba(26,61,110,.65);
    line-height: 1.65;
    margin-bottom: 22px;
}
.newsletter-perks {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 24px;
}
.newsletter-perk {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .80rem;
    color: rgba(26,61,110,.70);
}
.newsletter-perk-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #2d6baa;
    flex-shrink: 0;
}
.newsletter-form-group {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
}
.newsletter-input {
    flex: 1;
    padding: 12px 16px;
    border: 1.5px solid rgba(26,61,110,.18);
    border-radius: 10px;
    font-size: .85rem;
    color: #1a3d6e;
    font-family: 'Lato', sans-serif;
    outline: none;
    transition: border-color .2s;
    background: #fafbfd;
}
.newsletter-input:focus { border-color: #2d6baa; background: #fff; }
.newsletter-submit {
    padding: 12px 22px;
    background: linear-gradient(135deg, #2d6baa 0%, #1a3d6e 100%);
    border: none;
    border-radius: 10px;
    color: #fff;
    font-size: .76rem;
    font-family: 'Lato', sans-serif;
    letter-spacing: .12em;
    text-transform: uppercase;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: transform .2s, box-shadow .2s;
}
.newsletter-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(26,61,110,.28);
}
.newsletter-submit:disabled { opacity: .60; cursor: default; transform: none; }
.newsletter-note {
    font-size: .64rem;
    color: rgba(26,61,110,.38);
    line-height: 1.6;
    text-align: center;
}
.newsletter-success {
    display: none;
    text-align: center;
    padding: 20px;
    background: rgba(38,188,96,.08);
    border: 1px solid rgba(38,188,96,.22);
    border-radius: 12px;
    color: #1a6e3a;
    font-size: .87rem;
    margin-bottom: 12px;
}
.newsletter-success.visible { display: block; }

/* ── Responsive ── */
@media (max-width: 540px) {
    .bottom-banner { padding: 0 14px; gap: 8px; }
    .banner-cgv-btn { font-size: .62rem; padding: 5px 10px; letter-spacing: .08em; }
    .banner-newsletter-btn { font-size: .60rem; padding: 6px 12px; letter-spacing: .06em; }
    .banner-divider { display: none; }
    .modal-card { padding: 28px 22px 24px; }
    .modal-title { font-size: 1.35rem; }
    .newsletter-form-group { flex-direction: column; }
}
