:root {
--style-white: white;
--style-black: black;
--panel-dur: .3s;
--panel-ease: ease-in-out;
--header-height: 6svh;
}   #main-nav .nav-list .nav-item:first-child {
display: flex;
align-items: center;
gap: clamp(1rem, 3vw, 2.5rem);
}
.nav-item.menu-toggle-item {display: none;}
#site-header {
z-index: 10000;
font-size: clamp(0.9rem, 1.1vw, 1.4rem);
padding: 0 7vw;
display: flex;
align-items: center;
justify-content: center;
gap: 12px;
background: transparent;
position: relative;
overflow: hidden;
color: var(--style-white);
height: var(--header-height);
border-bottom: 1px solid var(--style-white);
}
.is-menu-open #site-header {
border-bottom: 1px solid var(--style-black);
}
#site-header::before{
content:"";
position:absolute; inset:0; height: 100%;
background: var(--style-white);
transform: translateX(-100%);
transition: transform var(--panel-dur) var(--panel-ease);
pointer-events:none;
}
#site-header > * { position: relative; z-index: 2; }
.is-menu-open #site-header::before { transform: translateX(0); }
.is-menu-open #site-header {
color: var(--style-black);
}
#main-nav{display:flex; align-items:center; justify-content:center; width:100%;}
.main-nav .nav-list{
display:flex; align-items:center; justify-content:center;
list-style:none; margin:0; padding:0;
gap: clamp(1rem, 3vw, 2.5rem);
width:100%;
}
#main-nav .nav-list .nav-item a{
color: inherit;
text-decoration: none;
transition: all var(--panel-dur) var(--panel-ease);
position: relative;
}
#main-nav .nav-list .nav-item a::after {
content: "";
position: absolute;
left: 0;
bottom: -4px;
width: 100%;
height: 2px;
background: currentColor;
transform: scaleX(0);
transform-origin: left center;
transition: transform 0.35s ease;
}
#main-nav .nav-list .nav-item a:hover::after {
transform: scaleX(1);
}
body.home #main-nav .nav-list .nav-item:first-child a:first-of-type::after {
transform: scaleX(1);
}
body.page-template-page-mes-realisations #main-nav .nav-list .nav-item:first-child a:nth-of-type(2)::after {
transform: scaleX(1);
}
body.page-template-page-mes-services #main-nav .nav-list .nav-item:first-child a:nth-of-type(3)::after {
transform: scaleX(1);
}
.menu-toggle{
position:relative; display:inline-flex; align-items:center; gap:16px;
padding:8px 16px; border:2px solid currentColor; border-radius:999px;
font-weight:700; background:transparent; cursor:pointer;
color: inherit;
transition: color var(--panel-dur) var(--panel-ease), border-color var(--panel-dur) var(--panel-ease);
}
.menu-toggle .burger{ position:relative; width:26px; height:18px; display:inline-flex; }
.menu-toggle .burger-bar{
position:absolute; left:0; right:0; height:2px; background: currentColor;
transition: background-color var(--panel-dur) var(--panel-ease), transform .25s ease, opacity .25s ease;
}
.menu-toggle .burger-bar.top{ top:0; }
.menu-toggle .burger-bar.middle{ top:8px; }
.menu-toggle .burger-bar.bottom{ bottom:0; }
.is-menu-open .menu-toggle .burger-bar.top{ transform: translateY(8px) rotate(45deg); }
.is-menu-open .menu-toggle .burger-bar.middle{ opacity:0; }
.is-menu-open .menu-toggle .burger-bar.bottom{ transform: translateY(-8px) rotate(-45deg); }
.is-menu-open #site-header .menu-toggle{
color: var(--style-black);
border-color: var(--style-black);
}
.menu-panel{
position: fixed;width: 100%;
top: var(--header-height);
height: calc(100dvh - var(--header-height));
background: var(--style-white);;
color: var(--style-black);;
transform: translateX(-100%);
transition: transform var(--panel-dur) var(--panel-ease);
will-change: transform;
font-size: clamp(0.9rem, 1.1vw, 1.4rem);
z-index: 1000;
}
.is-menu-open .menu-panel{ transform: translateX(0); }
.menu-panel .panel-list{
list-style:none; margin:0;
display:flex; flex-direction:column; gap:24px;
padding: 2rem 5vw;
}
.menu-panel .panel-list li a{
text-decoration:none;
color: var(--style-black);
}
#main-nav .nav-list .nav-item a:last-of-type::after,
#main-nav .nav-list .nav-item a:last-of-type:hover::after {
content: none;
}
#main-nav .nav-list .nav-item .nav-contact-btn {
position: relative;
display: flex;
align-items: center;
width: 250px;
height: 45px;
border: 1px solid var(--style-white);
cursor: pointer;
color: var(--style-white);
overflow: hidden;
text-decoration: none;
flex-direction: row;
}
#main-nav .nav-list .nav-item .nav-contact-btn::after,
#main-nav .nav-list .nav-item .nav-contact-btn:hover::after {
content: none;
}
#main-nav .nav-list .nav-item .nav-contact-btn__part {
flex: 1;
height: 100%;
background: var(--style-white);
transition: all 0.5s cubic-bezier(1, 0.49, 0.16, 0.96);
transform-origin: center bottom;
transform: scaleY(0);
}
#main-nav .nav-list .nav-item .nav-contact-btn:hover .nav-contact-btn__part {
transform: scaleY(1);
}
#main-nav .nav-list .nav-item .nav-contact-btn__part:nth-child(1)  { transition-delay: 0.02s; }
#main-nav .nav-list .nav-item .nav-contact-btn__part:nth-child(2)  { transition-delay: 0.04s; }
#main-nav .nav-list .nav-item .nav-contact-btn__part:nth-child(3)  { transition-delay: 0.06s; }
#main-nav .nav-list .nav-item .nav-contact-btn__part:nth-child(4)  { transition-delay: 0.08s; }
#main-nav .nav-list .nav-item .nav-contact-btn__part:nth-child(5)  { transition-delay: 0.10s; }
#main-nav .nav-list .nav-item .nav-contact-btn__part:nth-child(6)  { transition-delay: 0.12s; }
#main-nav .nav-list .nav-item .nav-contact-btn__part:nth-child(7)  { transition-delay: 0.14s; }
#main-nav .nav-list .nav-item .nav-contact-btn__part:nth-child(8)  { transition-delay: 0.16s; }
#main-nav .nav-list .nav-item .nav-contact-btn__part:nth-child(9)  { transition-delay: 0.18s; }
#main-nav .nav-list .nav-item .nav-contact-btn__part:nth-child(10) { transition-delay: 0.20s; }
#main-nav .nav-list .nav-item .nav-contact-btn__title {
position: absolute;
inset: 0;
display: flex;
align-items: center;
justify-content: center;
font-size: 1rem;
font-weight: 700;
letter-spacing: 4px;
text-align: center;
text-transform: uppercase;
color: var(--style-white);
transition: all var(--panel-dur) var(--panel-ease);
z-index: 2;
}
#main-nav .nav-list .nav-item .nav-contact-btn:hover .nav-contact-btn__title {
color: var(--style-black);
transition-delay: 0.4s;
}   #site-footer {
display: flex;
align-items: center;
justify-content: space-between;
gap: clamp(6px, 1.2vw, 28px);
background: transparent;
color: var(--style-white);
border-top: 1px solid var(--style-white);
}
.page-template-page-mes-realisations #site-footer,
.page-template-default #site-footer {
border-top: none;
}
#site-footer .footer-content,
#site-footer .footer-content p,
#site-footer .footer-content .footer-text,
#site-footer .footer-content a,
#site-footer .mention-footer a {
color: inherit;
}
#site-footer .footer-content p .footer-text {
pointer-events: none;
}
#site-footer .footer-content a,
#site-footer .mention-footer a {
text-decoration: none;
transition: all var(--panel-dur) var(--panel-ease);
position: relative;
} #site-footer .footer-content p a::after,
#site-footer .mention-footer a::after {
content: "";
position: absolute;
left: 0;
bottom: -4px;
width: 100%;
height: 2px;
background: currentColor;
transform: scaleX(0);
transform-origin: left center;
transition: transform 0.35s ease;
}
#site-footer .footer-content p a:hover::after,
#site-footer .mention-footer a:hover::after {
transform: scaleX(1);
}
.footer-socials {
display: flex;
justify-content: center;
align-items: center;
gap: clamp(1.5rem, 2.5vw, 3.5rem);
padding-top: clamp(0.5rem, 1.5vw, 1.5rem);
padding-bottom: clamp(0.5rem, 1.5vw, 1.5rem);
}
.footer-content {
flex: 1;
text-align: center;
padding: 2svh 0 2svh 0;
font-size: clamp(0.9rem, 1.1vw, 1.4rem);
line-height: 1.35;
color: inherit;
}
.mention-footer {
display: flex;
justify-content: center;
align-items: center;
gap: clamp(0.75rem, 2vw, 2rem);
flex-wrap: wrap;
text-align: center;
}
.footer-left {
width: clamp(28px, 2.5vw, 60px);
}
.footer-socials svg {
width: clamp(14px, 1.5vw, 28px);
height: auto;
}
.footer-socials a {
text-decoration: none !important;
display: flex;
align-items: center;
justify-content: center;
}
.footer-socials a::after {
content: none !important;
}
.footer-socials a:hover {
text-decoration: none !important;
}
.footer-socials a:hover svg {
opacity: 0.7;
transform: scale(1.1);
transition: transform 0.2s ease, opacity 0.2s ease;
}   @property --halo {
syntax: "<number>";
inherits: false;
initial-value: 0.12;
}
@property --stop {
syntax: "<percentage>";
inherits: false;
initial-value: 55%;
}
.back-to-top {
display: inline-flex;
align-items: center;
justify-content: center;
width: clamp(44px, 5vw, 110px);
height: clamp(44px, 5vw, 110px);
border-radius: 999px;
background: radial-gradient(circle at center, rgba(138,109,240,var(--halo)) 0%, transparent var(--stop));
transition: --halo 0.4s ease, --stop 0.45s ease;
}
.back-to-top:hover {
--halo: 0.25;
--stop: 65%;
}
.footer-arrow { margin: 0; }
.back-to-top svg {
width: clamp(20px, 2.2vw, 52px);
height: auto;
fill: url(#pathGradient);
filter: drop-shadow(0 0 6px rgba(0,0,0,0.4));
transition: transform .3s ease, filter .3s ease;
}
.back-to-top:hover svg {
transform: translateY(-5px) scale(1.15);
filter: drop-shadow(0 0 14px #8A6DF0) brightness(1.2);
}   @media (max-width:600px) {
:root {--header-height: 7svh;}
body {padding-top: var(--header-height);}
.nav-contact-btn {display: none}
#menu-panel .panel-list li img {height: 40px;}
#site-header {
padding: 0 5vw;
position: fixed;
top: 0;
left: 0;
right: 0;
z-index: 20;
height: var(--header-height);
}
body.page-template-page-mes-services .nav-list .menu-toggle-item,
body.page-template-default .nav-list .menu-toggle-item,
body.page-template-page-politique-confidentialite .nav-list .menu-toggle-item,
body.page-template-page-mentions-legales .nav-list .menu-toggle-item,
body.page-template-page-politique-cookies .nav-list .menu-toggle-item,
body.page-template-page-mes-realisations .nav-list .menu-toggle-item {
display: block !important;}
#main-nav .nav-list .nav-item:first-child {font-weight: 700;font-size: 1rem; display: flex; flex-wrap: nowrap; }
.menu-panel .panel-list{font-size: 1rem;} #main-nav .nav-list .nav-item:first-child > a {
display: none;
} body.page-template-default #main-nav .nav-list .nav-item:first-child > a:nth-of-type(1) {
display: inline-flex;
} body.page-template-page-mes-realisations #main-nav .nav-list .nav-item:first-child > a:nth-of-type(2) {
display: inline-flex;
} body.page-template-page-mes-services #main-nav .nav-list .nav-item:first-child > a:nth-of-type(3) {
display: inline-flex;
}
.main-nav .nav-list{
justify-content:space-between;
}
}
@media (min-width: 601px) and (max-width: 1079px) and (orientation: portrait) {
:root {--header-height: 5svh;}
}
@media (min-width: 1080px) and (orientation: portrait) {
#site-header {font-size: 1.2rem;}
}
@media (min-width: 1440px) and (orientation: portrait) {
#site-header {font-size: 1.4rem;}
}
@media (min-width: 2160px) and (orientation: portrait) {
#site-header {font-size: 2.5rem;}
}
@media (min-width: 2160px) and (orientation: portrait) {
#site-header {font-size: 3rem;}
}
@media (min-width: 601px) and (max-width: 1023px) and (orientation: landscape) {
:root {--header-height: 12svh !important;}
#site-header {
padding: 0 3vw;
}
}
@media (min-width: 2560px) and (orientation: landscape) {
#site-header { font-size: 1.8rem; }
}
@media (min-width: 3840px) and (orientation: landscape) {
#site-header { font-size: 2.8rem; }
}* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
:root {
--card-border: #e9e5dd;
--text: #0f0820;
--muted: #5a5268;
--icon: #14091f;
--radius: 28px;
--overlay: rgba(12, 10, 20, 0.82);
--ease: cubic-bezier(0.22, 1, 0.36, 1);
}
html,
body {
margin: 0;
padding: 0;
overflow-x: hidden;
}
body {
background-color: var(--style-black);
font-family: Poppins, sans-serif;
color: var(--style-white);
}
#site-content {
background-color: var(--style-white);
} .hero {
position: relative;
width: 100%;
min-height: 82vh;
background: var(--style-black);
overflow: hidden;
display: flex;
align-items: center;
padding-bottom: 1rem;
margin-bottom: -2px;
}
.hero-inner {
width: min(1600px, 100%);
margin: 0 auto;
padding: clamp(40px, 6vw, 80px) clamp(24px, 5vw, 80px) clamp(28px, 4vw, 48px);
display: flex;
align-items: center;
gap: clamp(32px, 5vw, 72px);
}
.left-content {
flex: 1.25 1 0;
min-width: 0;
display: flex;
flex-direction: column;
align-items: flex-start;
gap: clamp(24px, 3vw, 40px);
}
.title-wrap {
width: 100%;
display: flex;
justify-content: flex-start;
}
.title-wrap svg {
width: min(650px, 100%);
height: auto;
display: block;
}
.title-wrap svg path {
fill: transparent;
stroke: var(--style-white);
stroke-width: 0.5;
stroke-linecap: round;
stroke-linejoin: round;
pathLength: 1000;
stroke-dasharray: 1000;
stroke-dashoffset: 1000;
animation:
draw 4s ease-in-out forwards,
fillAnim 2s ease forwards 1.7s;
}
.text {
width: 100%;
max-width: 900px;
color: var(--style-white);
perspective: 500px;
text-align: left;
opacity: 0;
font-size: clamp(0.95rem, 1.1vw, 1.1rem);
line-height: 1.45;
}
.text .char {
display: inline-block;
will-change: transform, opacity;
}
.text .word {
display: inline-block;
white-space: nowrap;
}
.right-visual {
flex: 0.9 1 0;
min-width: 0;
width: 100%;
max-width: 430px;
aspect-ratio: 947 / 935;
position: relative;
display: flex;
justify-content: center;
align-items: center;
}
.right-visual > svg {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
display: block;
}
#etoile1,
#etoile2,
#etoile3,
#enveloppe,
#avion,
#trajet {
opacity: 0;
}
.svg-curve {
fill: none;
width: 100%;
display: block;
}
.svg-curve path {
fill: var(--style-black);
} .projects {
background: var(--style-white);
color: var(--style-black);
position: relative;
padding: 0;
margin: 0;
}
.projects-inner {
width: min(1400px, calc(100% - 48px));
margin: 0 auto;
padding-top: clamp(24px, 4vw, 48px);
padding-bottom: clamp(70px, 8vw, 110px);
text-align: center;
}
.projects h1 {
margin: 0 0 16px;
font-size: clamp(2.1rem, 3vw, 3.1rem);
line-height: 1.1;
font-weight: 300;
}
.projects > .projects-inner > p {
margin: 0 auto clamp(42px, 5vw, 64px);
max-width: 760px;
font-size: clamp(1.15rem, 1.4vw, 1.35rem);
line-height: 1.6;
opacity: 0.75;
}
.projects-grid {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 30px;
align-items: stretch;
}
.project-card {
background: var(--style-white);
border-radius: var(--radius);
overflow: hidden;
min-height: 560px;
display: flex;
flex-direction: column;
border: 1px solid #d8d0bf;
box-shadow:
0 18px 40px rgba(20, 9, 31, 0.18),
0 6px 14px rgba(20, 9, 31, 0.10),
inset 0 1px 0 rgba(255, 255, 255, 0.6),
inset 0 -2px 6px rgba(20, 9, 31, 0.05);
}
.project-thumb {
position: relative;
margin: 16px 16px 0;
height: 215px;
border-radius: 18px 18px 0 0;
overflow: hidden;
display: block;
cursor: zoom-in;
background: #d8d0bf;
}
.project-thumb img {
width: 100%;
height: 100%;
display: block;
object-fit: cover;
object-position: top center;
transition: transform 0.45s ease;
}
.project-thumb:hover img {
transform: scale(1.08);
}
.project-thumb::after {
content: "";
position: absolute;
inset: 0;
background: linear-gradient(
to bottom,
rgba(243, 239, 230, 0) 0%,
rgba(243, 239, 230, 0.08) 32%,
rgba(243, 239, 230, 0.42) 72%,
rgba(243, 239, 230, 0.82) 100%
);
pointer-events: none;
}
.project-content {
display: flex;
flex-direction: column;
flex: 1;
padding: 26px 30px 26px;
}
.project-title {
margin: 0 0 16px;
font-size: 20px;
line-height: 1.15;
font-weight: 700;
letter-spacing: -0.02em;
}
.project-badge {
position: absolute;
top: 14px;
right: 14px;
display: inline-flex;
align-items: center;
padding: 7px 12px;
border-radius: 999px;
background: rgba(243, 239, 230, 0.88);
backdrop-filter: blur(6px);
-webkit-backdrop-filter: blur(6px);
border: 1px solid rgba(216, 208, 191, 0.95);
color: #14091f;
font-size: 12px;
font-weight: 700;
letter-spacing: 0.01em;
z-index: 2;
box-shadow: 0 6px 18px rgba(20, 9, 31, 0.10);
}
.project-text {
margin: 0;
font-size: 18px;
line-height: 1.48;
color: var(--muted);
text-align: start;
}
.project-footer {
display: flex;
gap: 18px;
align-items: center;
margin-top: auto;
padding-top: 22px;
flex-wrap: wrap;
}
.project-icon {
width: 24px;
height: 24px;
display: inline-flex;
align-items: center;
justify-content: center;
color: var(--icon);
transition: transform 0.2s ease, opacity 0.2s ease;
}
.project-icon:hover {
transform: scale(1.12);
opacity: 0.8;
}
.project-icon svg {
width: 24px;
height: 24px;
fill: currentColor;
display: block;
}
.lightbox {
position: fixed;
inset: 0;
background: var(--overlay);
opacity: 0;
pointer-events: none;
transition: opacity 320ms ease;
z-index: 999;
}
.lightbox.open {
opacity: 1;
pointer-events: auto;
}
.lightbox-close {
position: fixed;
top: 18px;
right: 18px;
width: 46px;
height: 46px;
border: 0;
border-radius: 50%;
background: #fff;
color: #111;
font-size: 24px;
cursor: pointer;
z-index: 1002;
opacity: 0;
pointer-events: none;
transition: opacity 0.2s ease;
}
.lightbox.open .lightbox-close {
opacity: 1;
pointer-events: auto;
}
.lightbox-nav {
position: fixed;
top: 50%;
transform: translateY(-50%);
width: 46px;
height: 46px;
border: 0;
border-radius: 50%;
background: #fff;
color: #111;
font-size: 28px;
cursor: pointer;
z-index: 1002;
opacity: 0;
pointer-events: none;
transition: opacity 0.2s ease;
display: flex;
align-items: center;
justify-content: center;
}
.lightbox.open .lightbox-nav {
opacity: 1;
pointer-events: auto;
}
.lightbox-prev {
left: 18px;
}
.lightbox-next {
right: 18px;
}
.lightbox-zoomed {
position: fixed;
z-index: 1001;
margin: 0;
display: block;
object-fit: cover;
object-position: top center;
transform-origin: top left;
will-change: transform, width, height;
backface-visibility: hidden;
} @keyframes draw {
to {
stroke-dashoffset: 0;
}
}
@keyframes fillAnim {
from {
fill: transparent;
}
to {
fill: var(--style-white);
}
} @media (max-width: 1200px) {
.projects-grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 24px;
}
.project-card {
min-height: 520px;
}
}
@media (max-width: 980px) {
.hero {
min-height: auto;
}
.hero-inner {
flex-direction: column;
justify-content: center;
text-align: center;
padding: 48px 24px 28px;
gap: 32px;
}
.left-content {
flex: none;
width: 100%;
align-items: center;
}
.title-wrap {
justify-content: center;
}
.text {
max-width: 680px;
}
.right-visual {
flex: none;
width: min(360px, 82vw);
max-width: none;
}
.projects-inner {
width: min(1400px, calc(100% - 40px));
padding-top: clamp(44px, 6vw, 72px);
padding-bottom: 84px;
}
.projects-grid {
gap: 22px;
}
.project-content {
padding: 24px 24px 24px;
}
.project-title {
font-size: 19px;
}
.project-text {
font-size: 17px;
}
}
@media (max-width: 640px) {
.page-template-page-mes-realisations .hero {
height: auto;
display: block;
min-height: calc(82svh - var(--header-height));
padding-top: var(--header-height);
}
.hero-inner {
padding: 32px 20px 24px;
gap: 20px;
}
.left-content {
gap: 24px;
}
.title-wrap svg {
width: min(100%, 460px);
}
.text {
font-size: 0.98rem;
line-height: 1.6;
}
.right-visual {
width: min(320px, 84vw);
}
.projects-inner {
width: calc(100% - 24px);
padding-top: 36px;
padding-bottom: 56px;
}
.projects h1 {
margin-bottom: 12px;
}
.projects > .projects-inner > p {
margin-bottom: 36px;
}
.projects-grid {
grid-template-columns: 1fr;
gap: 20px;
}
.project-card {
min-height: auto;
border-radius: 24px;
}
.project-thumb {
margin: 14px 14px 0;
height: 210px;
border-radius: 16px 16px 0 0;
}
.project-content {
padding: 22px 18px 20px;
}
.project-title {
margin-bottom: 12px;
font-size: 18px;
}
.project-text {
font-size: 16px;
line-height: 1.5;
}
.project-footer {
gap: 14px;
padding-top: 18px;
}
.project-badge {
top: 12px;
right: 12px;
font-size: 11px;
padding: 6px 10px;
}
.lightbox-close {
top: 12px;
right: 12px;
width: 42px;
height: 42px;
font-size: 22px;
}
.lightbox-nav {
width: 42px;
height: 42px;
font-size: 24px;
}
.lightbox-prev {
left: 10px;
}
.lightbox-next {
right: 10px;
}
}
@media (max-width: 420px) {
.hero-inner {
padding: 28px 16px 20px;
}
.text {
font-size: 0.95rem;
}
.projects-inner {
width: calc(100% - 20px);
padding-top: 30px;
padding-bottom: 48px;
}
.project-thumb {
margin: 12px 12px 0;
height: 190px;
}
.project-content {
padding: 18px 16px 18px;
}
.project-title {
font-size: 17px;
}
.project-text {
font-size: 15px;
}
}