/* ═══════════════════════════════════════
   VARIABLES
═══════════════════════════════════════ */
:root {
    --as: #F2E0D0;
    --am: #E8C9A8;
    --ad: #C9956A;
    --bm: #6E88B0;
    --bl: #A8BDD4;
    --bd: #4A6A96;
    --td: #1a1a2e;
    --tm: #55556A;
    --tl: #9090A8;
    --f: 'Inter', system-ui, sans-serif;
}

/* ═══════════════════════════════════════
   RESET & BASE
═══════════════════════════════════════ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: var(--f); cursor: pointer; border: none; outline: none; }

body {
    font-family: var(--f);
    color: var(--td);
    overflow-x: hidden;
    min-height: 100vh;
    background:
            radial-gradient(ellipse at 12% 18%, rgba(242,224,208,.92) 0%, transparent 48%),
            radial-gradient(ellipse at 88% 14%, rgba(168,189,212,.88) 0%, transparent 48%),
            radial-gradient(ellipse at 50% 90%, rgba(232,201,168,.78) 0%, transparent 50%),
            radial-gradient(ellipse at 80% 75%, rgba(110,136,176,.58) 0%, transparent 42%),
            linear-gradient(135deg, #fdf6ef 0%, #eef3f9 50%, #f5ede4 100%);
    background-attachment: fixed;
}

body::before, body::after {
    content: '';
    position: fixed;
    border-radius: 50%;
    filter: blur(90px);
    opacity: .65;
    z-index: -1;
    animation: bfloat 22s ease-in-out infinite;
}
body::before {
    width: 520px; height: 520px;
    background: linear-gradient(135deg, var(--as), var(--am));
    top: -150px; left: -120px;
}
body::after {
    width: 420px; height: 420px;
    background: linear-gradient(135deg, var(--bl), var(--bm));
    bottom: -80px; right: -100px;
    animation-delay: -11s;
}

@keyframes bfloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25%      { transform: translate(30px, 30px) scale(1.06); }
    50%      { transform: translate(0, 52px) scale(1); }
    75%      { transform: translate(-28px, 20px) scale(.96); }
}

/* ═══════════════════════════════════════
   UTILITIES
═══════════════════════════════════════ */
.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ═══════════════════════════════════════
   LAYOUT
═══════════════════════════════════════ */
.container { width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 32px; }
.section   {
    padding: 100px 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    scroll-snap-align: start;
}
.section > .container { width: 100%; }
.grad {
    background: linear-gradient(135deg, var(--ad), var(--bm));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ═══════════════════════════════════════
   LIQUID GLASS — Gros blocs uniquement
═══════════════════════════════════════ */
.g {
    position: relative;
    border: 1px solid rgba(255,255,255,0.55);
    box-shadow:
            0 0 0 1px rgba(255,255,255,0.30),
            0 4px 24px rgba(110,136,176,0.20),
            0 12px 48px rgba(110,136,176,0.14);
    transition: transform .35s cubic-bezier(.34,1.56,.64,1), box-shadow .3s;
}
.g.pill { border-radius: 999px; }
.g.card { border-radius: 24px; overflow: hidden; }
.g.rnd  { border-radius: 20px; }
.g.circ { border-radius: 50%; }

.g > .g-bg { overflow: hidden; }

.g-bg {
    position: absolute; inset: 0;
    border-radius: inherit;
    pointer-events: none;
    z-index: 0;
    backdrop-filter: blur(16px) saturate(140%);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    background: transparent;
}

.g-bg::after {
    content: '';
    position: absolute; inset: 0;
    border-radius: inherit;
    pointer-events: none;
    box-shadow:
            inset 0 1.5px 0 rgba(255,255,255,0.70),
            inset 0 -1px 0 rgba(201,149,106,0.12),
            inset 1.5px 0 0 rgba(255,255,255,0.40),
            inset -1px 0 0 rgba(168,189,212,0.15);
    background:
            linear-gradient(180deg,
            rgba(255,255,255,0.60) 0px,
            rgba(180,210,255,0.18) 1px,
            rgba(168,189,212,0.06) 3px,
            transparent 10px),
            linear-gradient(0deg,
            rgba(242,224,208,0.20) 0px,
            transparent 8px);
}

.g > *:not(.g-bg) { position: relative; z-index: 2; }

.g .grad, .g .sct, .g .scd, .g .stag,
.g .pn, .g .pd, .g .pty,
.g .tn, .g .tp, .g .tper,
.g .tf li, .g .sv, .g .sl,
.g .logo, .g .nl a, .g .btn-g {
    position: relative;
    z-index: 2;
}

/* Glass hover */
.g.card:hover, .g.rnd:hover {
    transform: translateY(-5px) scale(1.013);
    box-shadow:
            0 0 0 1px rgba(255,255,255,0.45),
            0 8px 32px rgba(110,136,176,0.26),
            0 20px 60px rgba(110,136,176,0.18);
}
.g.card:hover .g-bg, .g.rnd:hover .g-bg {
    background: rgba(255,255,255,0.08);
}

/* Featured */
.g.feat { border: 2px solid var(--bm) !important; box-shadow: 0 8px 32px rgba(110,136,176,0.22); }
.g.feat > .g-bg {
    background: transparent !important;
    backdrop-filter: blur(16px) saturate(140%) !important;
}

/* ═══════════════════════════════════════
   PETITS ÉLÉMENTS
═══════════════════════════════════════ */
.badge {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 6px 18px; font-size: .72rem; font-weight: 600;
    letter-spacing: .7px; text-transform: uppercase;
    color: var(--bd); margin-bottom: 18px;
    background: rgba(74,106,150,0.08);
    border: 1px solid rgba(74,106,150,0.15);
    border-radius: 999px;
}

.dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--ad); flex-shrink: 0;
    animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%      { opacity: .4; transform: scale(1.6); }
}

.stag {
    display: inline-block; margin-top: 14px; padding: 4px 14px;
    font-size: .7rem; font-weight: 600; color: var(--bd);
    background: rgba(74,106,150,0.08);
    border: 1px solid rgba(74,106,150,0.15);
    border-radius: 999px;
}

.pty {
    display: inline-block; margin-top: 10px; padding: 3px 12px;
    font-size: .7rem; font-weight: 600; color: var(--ad);
    background: rgba(201,149,106,0.10);
    border: 1px solid rgba(201,149,106,0.20);
    border-radius: 999px;
}

.chip {
    padding: 6px 16px; font-size: .76rem; font-weight: 600;
    color: var(--bd);
    background: rgba(74,106,150,0.08);
    border: 1px solid rgba(74,106,150,0.15);
    border-radius: 999px;
    transition: transform .2s;
}
.chip:hover { transform: translateY(-2px); }

/* ═══════════════════════════════════════
   BOUTONS
═══════════════════════════════════════ */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 28px; font-size: .92rem; font-weight: 600;
    border-radius: 999px;
    transition: all .28s cubic-bezier(.34,1.56,.64,1);
}
.btn:hover { transform: translateY(-2px) scale(1.03); }

.btn-p {
    background: linear-gradient(135deg, var(--ad), var(--bm));
    color: #fff; border: none;
    box-shadow: 0 4px 22px rgba(110,136,176,.32);
}
.btn-p:hover { box-shadow: 0 8px 34px rgba(110,136,176,.50); }

.btn-g {
    color: var(--bd);
    background: rgba(74,106,150,0.08);
    border: 1px solid rgba(74,106,150,0.18);
    border-radius: 999px;
}

.btn-sm   { padding: 9px 20px; font-size: .82rem; }
.btn-full { width: 100%; justify-content: center; }

/* ═══════════════════════════════════════
   HEADER
═══════════════════════════════════════ */
#hdr {
    position: fixed; top: 14px; left: 50%; transform: translateX(-50%);
    z-index: 1000;
    width: calc(100% - 48px); max-width: 1060px;
    height: 58px;
}

.hdr-inner {
    display: flex; align-items: center; justify-content: space-between;
    width: 100%; height: 100%;
    padding: 0 20px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.55);
    backdrop-filter: blur(16px) saturate(140%);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    background: transparent;
    box-shadow:
            0 0 0 1px rgba(255,255,255,0.30),
            0 4px 24px rgba(110,136,176,0.20),
            0 12px 48px rgba(110,136,176,0.14);
}

.logo { font-size: 1.1rem; font-weight: 800; color: var(--td); letter-spacing: -.3px; }
.logo span { background: linear-gradient(135deg, var(--ad), var(--bm)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }

/* ═══════════════════════════════════════
   NAV GOO — Liquid blob
═══════════════════════════════════════ */
.nav-goo {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-blob-wrap {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.nav-blob {
    position: absolute;
    height: 34px;
    border-radius: 999px;
    top: 50%;
    left: 0;
    width: 80px;
    transform: translateY(-50%);
    transition: left .45s cubic-bezier(.34,1.56,.64,1),
    width .45s cubic-bezier(.34,1.56,.64,1);
    background: linear-gradient(
            160deg,
            rgba(255,255,255,0.65) 0%,
            rgba(255,255,255,0.25) 40%,
            rgba(255,255,255,0.10) 100%
    );
    border: 1px solid rgba(255,255,255,0.6);
    box-shadow:
            0 2px 8px rgba(110,136,176,0.20),
            0 4px 16px rgba(110,136,176,0.10),
            inset 0 1px 1px rgba(255,255,255,0.9),
            inset 0 -2px 4px rgba(110,136,176,0.12);
    backdrop-filter: blur(8px) brightness(1.08);
    -webkit-backdrop-filter: blur(8px) brightness(1.08);
}

.nl { display: flex; gap: 6px; position: relative; z-index: 1; }

.nav-link {
    display: block;
    padding: 7px 18px;
    border-radius: 999px;
    font-size: .86rem;
    font-weight: 500;
    color: var(--tm);
    transition: color .25s;
}

.nav-link:hover { color: var(--bd); }
.nav-link.active { color: var(--bd); font-weight: 600; }

/* ═══════════════════════════════════════
   HERO
═══════════════════════════════════════ */
#hero {
    min-height: 100vh; display: flex; align-items: center;
    justify-content: center; text-align: center;
    padding: 120px 24px 80px;
    scroll-snap-align: start;
}
.hi  { max-width: 760px; text-align: center; margin: 0 auto; }
.ht  { font-size: clamp(2.8rem,7vw,5.2rem); font-weight: 900; line-height: 1.08; letter-spacing: -1.5px; color: var(--td); margin: 0 0 22px; }
.hs  { font-size: clamp(1rem,2vw,1.15rem); color: var(--tm); line-height: 1.78; max-width: 520px; margin: 0 auto 40px; }
.ha  { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 56px; }
.hst { display: flex; justify-content: center; padding: 30px 52px; }
.st2 { padding: 0 36px; text-align: center; }
.st2 + .st2 { border-left: 1px solid rgba(110,136,176,.20); }
.sv  { font-size: 2.2rem; font-weight: 900; }
.sl  { font-size: .78rem; color: var(--tm); margin-top: 4px; font-weight: 500; }

/* ═══════════════════════════════════════
   SECTION HEADERS
═══════════════════════════════════════ */
.sh  { text-align: center; margin-bottom: 52px; }
.stt { font-size: clamp(1.8rem,4vw,2.8rem); font-weight: 800; letter-spacing: -.5px; margin: 12px 0 14px; color: var(--td); }
.ss  { font-size: .97rem; color: var(--tm); max-width: 460px; margin: 0 auto; line-height: 1.7; }

/* ═══════════════════════════════════════
   SERVICES
═══════════════════════════════════════ */
.g3  { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.sc  { padding: 34px 28px; }
.si  { width: 52px; height: 52px; font-size: 1.5rem; display: flex; align-items: center; justify-content: center; background: rgba(74,106,150,0.08); border: 1px solid rgba(74,106,150,0.12); border-radius: 14px; }
.sct { font-size: 1.1rem; font-weight: 700; margin-bottom: 9px; color: var(--td); }
.scd { font-size: .86rem; color: var(--tm); line-height: 1.7; }
.si img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}
.si {
    margin-bottom: 14px;
}

/* ═══════════════════════════════════════
   PORTFOLIO
═══════════════════════════════════════ */
.pg { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; }
.portfolio-card { display: block; cursor: pointer; }

.pt {
    height: 200px; padding: 20px 24px 0;
    display: flex; align-items: flex-end; justify-content: center;
    overflow: hidden; position: relative;
}
.pt-warm   { background: linear-gradient(160deg, #fdf6ef, #e8d5c0); }
.pt-cool   { background: linear-gradient(160deg, #eef3f9, #d4e0ed); }
.pt-purple { background: linear-gradient(160deg, #f5ede4, #ddd5e8); }

.mock {
    width: 85%; max-width: 280px;
    background: #fff; border-radius: 10px 10px 0 0;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
    padding: 12px 14px 0;
    transform: translateY(8px);
    transition: transform .4s cubic-bezier(.34,1.56,.64,1);
}
.g.card:hover .mock { transform: translateY(0); }

.mock-bar   { display: flex; align-items: center; gap: 5px; margin-bottom: 10px; }
.mock-dot   { width: 6px; height: 6px; border-radius: 50%; }
.dot-red    { background: #ff6058; }
.dot-yellow { background: #ffbd2e; }
.dot-green  { background: #27c93f; }
.mock-url   { flex: 1; height: 10px; border-radius: 5px; background: #f0f0f0; margin-left: 6px; }
.mock-line  { height: 6px; border-radius: 3px; margin-bottom: 6px; }
.mock-block { height: 28px; border-radius: 6px; margin-bottom: 8px; }

.pi { padding: 22px 24px; }
.pn { font-size: 1.05rem; font-weight: 700; margin-bottom: 6px; color: var(--td); }
.pd { font-size: .83rem; color: var(--tm); line-height: 1.6; }

.pt-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    border-radius: 0;
}

/* ═══════════════════════════════════════
   TARIFS
═══════════════════════════════════════ */
.tg   { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; max-width: 840px; margin: 0 auto; }
.tc   { padding: 40px 28px; text-align: center; position: relative; }
.tt   { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); padding: 4px 18px; border-radius: 999px; font-size: .7rem; font-weight: 700; background: linear-gradient(135deg, var(--ad), var(--bm)); color: #fff; white-space: nowrap; z-index: 3; }
.tn   { font-size: 1rem; font-weight: 700; color: var(--tm); margin-bottom: 8px; }
.tp   { font-size: 3rem; font-weight: 900; letter-spacing: -1px; margin-bottom: 2px; color: var(--td); }
.tp sup { font-size: 1.2rem; vertical-align: super; }
.tper { font-size: .78rem; color: var(--tl); margin-bottom: 26px; }
.tf   { text-align: left; margin-bottom: 26px; }
.tf li {
    font-size: .83rem; color: var(--tm); padding: 7px 0;
    border-bottom: 1px solid rgba(110,136,176,.10);
    display: flex; align-items: center; gap: 8px;
}
.tf li::before { content: '✓'; color: var(--ad); font-weight: 700; }

/* ═══════════════════════════════════════
   ABOUT
═══════════════════════════════════════ */
.ag   { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.av   { width: 200px; height: 200px; margin: 0 auto; font-size: 4.5rem; display: flex; align-items: center; justify-content: center; }
.atit { font-size: 2rem; font-weight: 800; margin-bottom: 14px; letter-spacing: -.4px; color: var(--td); }
.atx  { font-size: .93rem; color: var(--tm); line-height: 1.8; margin-bottom: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }

/* ═══════════════════════════════════════
   CONTACT
═══════════════════════════════════════ */
.cw  { max-width: 600px; margin: 0 auto; text-align: center; }
.cc  { padding: 44px 40px; }
.fg  { text-align: left; margin-bottom: 16px; }
.fl  { display: block; font-size: .8rem; font-weight: 600; color: var(--tm); margin-bottom: 6px; }

.fi, .fta {
    width: 100%; padding: 11px 15px;
    font-family: var(--f); font-size: .88rem; color: var(--td);
    outline: none;
    transition: border-color .2s, box-shadow .2s;
    background: rgba(255,255,255,0.5);
    border: 1px solid rgba(110,136,176,0.25);
    border-radius: 14px;
}
.fi::placeholder, .fta::placeholder { color: #9090A8; }
.fi:focus, .fta:focus {
    border-color: rgba(110,136,176,.70);
    box-shadow: 0 0 0 3px rgba(110,136,176,.15);
}
.fta { resize: vertical; min-height: 115px; }

/* ═══════════════════════════════════════
   FOOTER
═══════════════════════════════════════ */
#ftr     { padding: 52px 0 28px; text-align: center; scroll-snap-align: start; min-height: 40vh; }
.ftr-flat { border-radius: 0 !important; border-left: none !important; border-right: none !important; border-bottom: none !important; }
.flogo   { font-size: 1.5rem; font-weight: 800; margin-bottom: 6px; }
.ftag    { font-size: .88rem; color: var(--tm); margin-bottom: 28px; }
.flinks  { display: flex; justify-content: center; gap: 26px; flex-wrap: wrap; margin-bottom: 28px; }
.flinks a { font-size: .83rem; color: var(--tm); transition: color .2s; }
.flinks a:hover { color: var(--bd); }
.fcopy   { font-size: .76rem; color: var(--tl); }

/* ═══════════════════════════════════════
   NUAGES PARALLAX
═══════════════════════════════════════ */
.cloud {
    position: fixed;
    pointer-events: none;
    z-index: 0;
    opacity: .35;
    will-change: transform;
}
.cloud::before, .cloud::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.7);
}

.cloud-s { width: 60px; height: 18px; background: rgba(255,255,255,0.45); border-radius: 18px; }
.cloud-s::before { width: 22px; height: 22px; top: -10px; left: 10px; background: rgba(255,255,255,0.45); }
.cloud-s::after  { width: 28px; height: 28px; top: -14px; left: 24px; background: rgba(255,255,255,0.4); }

.cloud-m { width: 90px; height: 26px; background: rgba(255,255,255,0.4); border-radius: 26px; }
.cloud-m::before { width: 34px; height: 34px; top: -16px; left: 14px; background: rgba(255,255,255,0.4); }
.cloud-m::after  { width: 44px; height: 44px; top: -22px; left: 34px; background: rgba(255,255,255,0.35); }

.cloud-l { width: 130px; height: 36px; background: rgba(255,255,255,0.38); border-radius: 36px; }
.cloud-l::before { width: 50px; height: 50px; top: -24px; left: 22px; background: rgba(255,255,255,0.38); }
.cloud-l::after  { width: 64px; height: 64px; top: -32px; left: 50px; background: rgba(255,255,255,0.32); }

.cloud-s.blue { background: rgba(110,136,176,0.2); }
.cloud-s.blue::before { background: rgba(110,136,176,0.2); }
.cloud-s.blue::after  { background: rgba(110,136,176,0.18); }

.cloud-m.blue { background: rgba(110,136,176,0.18); }
.cloud-m.blue::before { background: rgba(110,136,176,0.18); }
.cloud-m.blue::after  { background: rgba(110,136,176,0.15); }

.cloud-l.blue { background: rgba(110,136,176,0.16); }
.cloud-l.blue::before { background: rgba(110,136,176,0.16); }
.cloud-l.blue::after  { background: rgba(110,136,176,0.13); }

/* ═══════════════════════════════════════
   SCROLLBAR
═══════════════════════════════════════ */
::-webkit-scrollbar       { width: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(110,136,176,.22); border-radius: 4px; }

/* ═══════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════ */
@media (max-width: 768px) {
    .ag { grid-template-columns: 1fr; text-align: center; }
    .hst { flex-direction: column; gap: 18px; padding: 24px 32px; }
    .st2 + .st2 { border-left: none; border-top: 1px solid rgba(110,136,176,.18); padding-top: 18px; }
    .nl { display: none; }
    .nav-blob { display: none; }
    .cc { padding: 30px 18px; }
    #hdr { width: calc(100% - 28px); }
}

.tg {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    max-width: 1100px;
    margin: 0 auto;
}
@media (max-width: 768px) {
    .tg { grid-template-columns: 1fr; }
}
.av-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}
