:root{--ink:#18212b;--muted:#4c5863;--line:#d9e0e5;--blue:#4aaddb;--pink:#e75b99;--yellow:#f2bd49;--green:#7fba78;--white:#fff;--radius:18px}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:100px}body{margin:0;background:#fff;color:var(--ink);font-family:Arial,Helvetica,sans-serif;line-height:1.55}a{color:inherit}button{font:inherit}img{max-width:100%;height:auto}.container{width:min(1160px,calc(100% - 48px));margin:auto}.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}.skip-link{position:fixed;z-index:99;top:-100px;left:12px;background:#fff;border:2px solid var(--ink);padding:12px}.skip-link:focus{top:12px}:focus-visible{outline:3px solid #135ca0;outline-offset:4px}.site-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.97);border-bottom:1px solid var(--line)}.header-inner{min-height:82px;display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{font-size:30px;line-height:1;font-weight:800;text-decoration:none;letter-spacing:-1.5px;white-space:nowrap}.brand>span:first-child{color:var(--blue)}.brand-dot,.pink{color:var(--pink)}.brand small{display:block;font-size:9px;letter-spacing:1.5px;font-weight:600;margin-top:7px}.main-nav{display:flex;align-items:center;gap:34px}.main-nav a{text-decoration:none;font-size:14px;font-weight:650;border-bottom:2px solid transparent;padding:8px 0}.main-nav a:hover,.main-nav a:focus-visible{border-color:var(--blue)}.main-nav .nav-contact{border:1.5px solid var(--ink);border-radius:30px;padding:10px 18px}.menu-toggle{display:none;border:1px solid var(--ink);border-radius:10px;background:#fff;padding:9px 13px}.hero{min-height:590px;display:grid;grid-template-columns:1.05fr .95fr;align-items:center;gap:32px;padding-top:70px;padding-bottom:70px}.eyebrow{font-size:11px;letter-spacing:2px;font-weight:750;line-height:1.6}.hero h1,h2{font-family:Georgia,'Times New Roman',serif;font-weight:400;letter-spacing:-.035em;line-height:1.1}.hero h1{font-size:clamp(42px,5.2vw,76px);margin:20px 0 25px}.hero h1 em{color:#187eb2;font-weight:400}.lead{max-width:570px;font-size:17px;color:var(--muted)}.hero-actions{display:flex;align-items:center;gap:25px;flex-wrap:wrap;margin-top:30px}.btn{display:inline-flex;align-items:center;gap:20px;justify-content:center;text-decoration:none;border-radius:100px;padding:13px 22px;font-size:15px;font-weight:700;min-height:48px}.btn-primary{background:var(--blue);color:#101820}.btn:hover{filter:brightness(.95)}.text-link{font-weight:650;text-underline-offset:5px}.hero-art{position:relative;display:flex;align-items:center;justify-content:center;min-height:400px}.hero-art img{position:relative;z-index:2;width:min(85%,380px);filter:drop-shadow(0 14px 16px rgba(28,44,60,.07))}.hero-blob{position:absolute;width:82%;height:75%;background:#dff2fa;border-radius:54% 46% 49% 51% / 47% 55% 45% 53%;transform:rotate(-12deg)}.art-note{position:absolute;z-index:3;font-size:15px;font-style:italic;background:#fff;padding:5px 10px;border-radius:4px}.note-one{top:12%;right:1%;transform:rotate(6deg)}.note-two{bottom:11%;left:0;transform:rotate(-7deg)}.section{padding:85px 0;border-top:1px solid var(--line)}.section-offers{background:#fbfcfd}.section-head{display:flex;align-items:end;justify-content:space-between;gap:40px;margin-bottom:35px}.section-head>p{max-width:420px;color:var(--muted)}h2{font-size:clamp(32px,3.4vw,49px);margin:10px 0}.offer-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px}.offer-card{border:1px solid var(--line);border-radius:var(--radius);padding:22px 19px 20px;background:#fff;display:flex;flex-direction:column;min-height:310px;box-shadow:0 6px 24px rgba(17,35,52,.035)}.offer-icon{width:74px;height:74px;border-radius:45% 55% 58% 42%;display:grid;place-items:center;font-size:38px;margin-bottom:18px}.blue .offer-icon{background:#dff3fc;color:#187eb2}.pink-card .offer-icon{background:#fce5f0;color:#bd3171}.yellow .offer-icon{background:#fff0c9;color:#90640a}.green .offer-icon{background:#e3f3df;color:#346f32}.lilac .offer-icon{background:#f1e8fc;color:#6e4499}.offer-card h3{font-family:Georgia,serif;font-size:23px;font-weight:400;line-height:1.15;margin:0 0 12px}.offer-card p{font-size:14px;color:var(--muted);margin:0 0 20px}.offer-card a{margin-top:auto;font-size:14px;font-weight:700;text-underline-offset:5px}.filters{display:flex;flex-wrap:wrap;gap:9px;margin-bottom:28px}.filter{border:1px solid #9faab3;background:#fff;border-radius:40px;padding:9px 15px;cursor:pointer;color:var(--ink);min-height:42px;font-size:13px}.filter:hover{background:#edf6fb}.filter.active{background:var(--ink);color:#fff;border-color:var(--ink)}.project-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.project-card{border:1px solid var(--line);border-radius:15px;overflow:hidden;background:#fff}.project-card[hidden]{display:none}.project-visual{height:190px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;text-align:center}.project-visual span{font-size:36px}.project-visual strong{font-family:Georgia,serif;font-size:26px;font-weight:400;line-height:1.12}.visual-blue{background:#e5f5fc}.visual-pink{background:#fce7f1}.visual-yellow{background:#fff2d5}.visual-green{background:#e9f6e6}.project-body{padding:18px}.project-tag{font-size:12px;color:#42606f;font-weight:700}.project-body h3{font-size:19px;line-height:1.25;margin:9px 0}.project-body p{font-size:14px;color:var(--muted)}.project-state{font-size:12px;color:#50616d;font-weight:650}.section-footnote,.contact-note{font-size:12px;color:var(--muted);margin-top:24px}.closing{border-top:1px solid var(--line);background:#f6fafc}.closing-inner{display:flex;align-items:center;justify-content:space-between;gap:35px;padding-top:55px;padding-bottom:40px}.closing h2{max-width:650px}.closing p:not(.eyebrow){max-width:550px;color:var(--muted)}.closing img{max-height:290px;width:auto;object-fit:contain}.site-footer{border-top:1px solid var(--line)}.footer-inner{min-height:75px;display:flex;justify-content:space-between;align-items:center;gap:15px;color:var(--muted);font-size:13px}.simple-page{padding:90px 0;min-height:60vh}.simple-page p{max-width:700px}@media(max-width:1050px){.offer-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hero h1{font-size:clamp(40px,5vw,60px)}}@media(max-width:720px){.container{width:min(100% - 32px,1160px)}.header-inner{min-height:70px}.brand{font-size:25px}.brand small{font-size:8px}.menu-toggle{display:block}.main-nav{display:none;position:absolute;left:0;right:0;top:100%;padding:16px 24px 24px;background:#fff;border-bottom:1px solid var(--line);flex-direction:column;align-items:stretch;gap:7px}.main-nav.is-open{display:flex}.main-nav a{padding:11px 5px}.main-nav .nav-contact{text-align:center}.hero{grid-template-columns:1fr;gap:10px;padding-top:55px;padding-bottom:40px}.hero h1{font-size:clamp(39px,9vw,55px)}.hero-art{min-height:300px}.hero-art img{max-height:300px;width:auto}.section{padding:55px 0}.section-head{display:block}.offer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.offer-card{min-height:290px}.project-grid{grid-template-columns:1fr 1fr}.closing-inner{align-items:flex-end}.closing img{max-width:30%}.footer-inner{flex-wrap:wrap;padding:20px 0}}@media(max-width:480px){.offer-grid,.project-grid{grid-template-columns:1fr}.offer-card{min-height:0}.project-visual{height:170px}.closing img{display:none}.footer-inner{flex-direction:column;align-items:flex-start}.eyebrow{letter-spacing:1.3px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important}}

/* Yéti’Créa — illustrations des cinq services */
.offer-grid{align-items:stretch;gap:18px}
.offer-card{padding:0;overflow:hidden;min-height:390px;transition:transform .18s ease,box-shadow .18s ease}
.offer-card:hover{transform:translateY(-3px);box-shadow:0 12px 30px rgba(17,35,52,.09)}
.offer-illustration{display:block;width:100%;height:155px;object-fit:cover;object-position:center;background:#f5f9fb;border-bottom:1px solid var(--line)}
.offer-card h3{padding:19px 17px 0;margin:0 0 12px;font-size:22px}
.offer-card p{padding:0 17px;margin:0 0 18px}
.offer-card a{display:inline-block;align-self:flex-start;margin:0 17px 20px}
.offer-card.blue{border-top:4px solid #4aaddb}
.offer-card.pink-card{border-top:4px solid #e75b99}
.offer-card.yellow{border-top:4px solid #f2bd49}
.offer-card.green{border-top:4px solid #7fba78}
.offer-card.lilac{border-top:4px solid #a58acb}
@media(max-width:1050px){.offer-illustration{height:190px}.offer-card{min-height:385px}}
@media(max-width:720px){.offer-illustration{height:170px}.offer-card{min-height:360px}}
@media(max-width:480px){.offer-illustration{height:auto;aspect-ratio:4/3}.offer-card{min-height:0}}
@media(prefers-reduced-motion:reduce){.offer-card{transition:none}.offer-card:hover{transform:none}}

/* Portfolio : cartes conservées, surface cliquable et fenêtres de projet */
.project-open{display:block;width:100%;height:100%;border:0;padding:0;background:transparent;text-align:left;color:inherit;cursor:pointer}
.project-card{transition:transform .18s ease,box-shadow .18s ease}
.project-card:hover,.project-card:focus-within{transform:translateY(-3px);box-shadow:0 12px 30px rgba(17,35,52,.09)}
.project-open:focus-visible{outline:3px solid #135ca0;outline-offset:-4px}
.project-body{min-height:220px}
.portfolio-modal[hidden]{display:none!important}
.portfolio-modal{position:fixed;inset:0;z-index:100;display:grid;place-items:center;padding:22px}
.portfolio-modal-backdrop{position:absolute;inset:0;background:rgba(24,33,43,.72)}
.portfolio-dialog{position:relative;background:#fff;border-radius:20px;padding:clamp(22px,4vw,42px);width:min(850px,100%);max-height:min(90vh,900px);overflow:auto;box-shadow:0 25px 80px rgba(0,0,0,.25)}
.portfolio-dialog h2{padding-right:36px;margin:8px 0 12px}
.portfolio-modal-close{position:absolute;right:16px;top:14px;background:#fff;border:1px solid var(--line);border-radius:50%;width:42px;height:42px;cursor:pointer;font-size:29px;line-height:1}
.portfolio-modal-intro{font-size:17px;color:var(--muted);margin:0 0 8px}
.portfolio-modal-meta{font-size:13px;font-weight:700;color:#42606f;margin:0 0 20px}
.portfolio-media{background:#edf6fb;border-radius:12px;overflow:hidden;aspect-ratio:16/9}
.portfolio-media iframe{display:block;width:100%;height:100%;border:0}
.portfolio-modal-text{margin-top:22px}
.portfolio-modal-text h3{font-family:Georgia,serif;font-weight:400;font-size:23px;margin:20px 0 5px}
.portfolio-modal-text p{color:var(--muted);margin:0}
.portfolio-modal-footnote{font-size:12px;color:var(--muted);margin:20px 0 0}
body.portfolio-modal-open{overflow:hidden}
@media(max-width:480px){.portfolio-modal{padding:10px}.portfolio-dialog{max-height:94vh;padding:22px 18px}.portfolio-dialog h2{font-size:30px}.project-body{min-height:0}}
@media(prefers-reduced-motion:reduce){.project-card{transition:none}.project-card:hover{transform:none}}

/* Alignement définitif des cartes du portfolio */

.project-card {
    display: flex;
    flex-direction: column;
}

.project-open {
    display: flex;
    flex-direction: column;
    flex: 1;
    height: auto;
    min-height: 100%;
}

.project-visual {
    width: 100%;
    height: 190px;
    min-height: 190px;
    flex: 0 0 190px;
}

.project-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.project-state {
    margin-top: auto;
}

@media (max-width: 480px) {
    .project-visual {
        height: 170px;
        min-height: 170px;
        flex-basis: 170px;
    }
}
/* Portfolio étendu : 8 projets au départ, autres projets révélés à la demande. */
.project-grid{align-items:stretch}
.portfolio-more-wrap{text-align:center;margin-top:30px}
.portfolio-more{border:1.5px solid var(--ink);border-radius:40px;background:#fff;color:var(--ink);padding:12px 22px;min-height:46px;cursor:pointer;font-weight:700}
.portfolio-more:hover,.portfolio-more:focus-visible{background:#edf6fb}
.portfolio-more[hidden]{display:none}
.portfolio-media[hidden]{display:none!important}
/* Logo dans l'en-tête */
.site-header .brand-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

.site-header .brand-logo img {
  display: block;
  width: 180px;
  max-width: 100%;
  height: auto;
}

@media (max-width: 600px) {
  .site-header .brand-logo img {
    width: 145px;
  }
}