:root {
    --taupe: #af897a;
    --pink: #e1c5ba;
    --paper: #ece8e5;
    --yellow: #f0e400;
    --ink: #1e2722;
    --white: #fff;
    --container: 1440px;
    --normal-bg: #ece8e5;
    --black: #1e2722;
    --font-primary: "Area Extended", Arial, sans-serif;
    --font-display: "Darker Grotesque", Arial, sans-serif;
    --font-button: Inter, Arial, sans-serif;
    --cookies-bg: #e1c5ba;
    --cookies-text: var(--ink);
    --cookies-button-bg: #e1c5ba;
}


/* fonts */

@font-face {
    font-family: "Area Extended";
    src: url("../fonts/area-extended-regular.otf") format("opentype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Darker Grotesque";
    src: url("../fonts/DarkerGrotesque-VariableFont_wght.ttf") format("truetype");
    font-style: normal;
    font-weight: 300 900;
    font-display: swap;
}
@font-face {
    font-family: "Inter";
    src: url("../fonts/Inter-VariableFont_opsz,wght.ttf") format("truetype");
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
}

@font-face {
    font-family: "Sharphy Medium";
    src: url("../fonts/Sharphy Medium/Sharphy-Medium.woff2") format("woff2");
    font-style: normal;
    font-weight: 500;
    font-display: swap;
}


/* Base
-------------------------------------------------------------- */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font-primary);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.35;
    letter-spacing: 0;
}

img {
    display: block;
    max-width: 100%;
}

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

.container {
    width: calc(100% - 64px);
    margin: 0 auto;
}
h1{
    font-family: 'Area Extended';
    font-style: normal;
    font-weight: 400;
    font-size: 64px;
    line-height: 95%;
    letter-spacing: -0.02em;
    color: #000000;
}

h2,.h2{
    font-family: 'Area Extended';
    font-style: normal;
    font-weight: 400;
    font-size: 40px;
    line-height: 120%;
    color: #1E2722;
}
@media (max-width: 767px) {
    h1{
        font-size:36px;
    }
    h2,.h2{
        font-size:28px;
    }
}
h3,.h3{
    font-family: 'Darker Grotesque';
    font-style: normal;
    font-weight: 500;
    font-size: 24px;
    line-height: 1;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #1E2722;
}

p{
    margin:0 0 1rem;
}

.h1anim {
    opacity: 0;
    line-height:1.4;
}

.gsap_split_word {
    position: relative;
    display: inline-block;
    white-space: nowrap;
}

.gsap_split_letter-mask {
    position: relative;
    display: inline-block;
    overflow: clip;
    vertical-align: bottom;
}

.gsap_split_letter {
    position: relative;
    display: inline-block;
    will-change: transform;
}

/* Header
-------------------------------------------------------------- */

.site-header {
    position: relative;
    z-index: 50;
    padding: 14px 32px 20px;
    background: var(--normal-bg);
    color: var(--black);
}

.home .site-header {
    background: var(--taupe);
    color: var(--yellow);
}

.language-bar {
    display: flex;
    justify-content: flex-end;
}

.language-switcher {
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.35;
    text-transform: uppercase;
}
.language-switcher li:first-child{
    margin-right:4px;
}
.language-switcher li:last-child::before {
    content: "/";
    margin-right: 5px;
}
.language-switcher a:hover,.language-switcher .current-lang a{
    text-decoration: underline;
}

.header-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 30px;
}

.header-nav .menu,
.footer-menu {
    display: flex;
    gap: 34px;
    margin: 0;
    padding: 0;
    list-style: none;
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.35;
    text-transform: uppercase;
}

.header-nav-right .menu {
    justify-content: flex-end;
}

.header-nav a::after,
.discover-link::after {
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: right center;
    transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

.header-nav a:hover::after,
.header-nav .current-menu-item a::after {
    transform: scaleX(1);
    transform-origin: left center;
}

.hoveranim::after {
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    background: currentColor;
    transform: scaleX(1);
    transform-origin: right center;
    transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

.hoveranim:hover::after {
    transform: scaleX(0);
    transform-origin: left center;
}

/* Logo
-------------------------------------------------------------- */

.brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.brand .logo-line {
    display: block;
    width: 46px;
    height: auto;
    overflow: visible;
}

.brand .logo-line path {
    fill: none;
    stroke: var(--black);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-miterlimit: 10;
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    opacity: 0;
    animation:
        logo-draw 2.8s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}

.home .logo-line path {
    stroke: var(--yellow);
        animation:
        logo-draw 2.8s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}

.brand .logo-line path:nth-child(1) {
    animation-delay: 0s;
}

.brand .logo-line path:nth-child(2) {
    animation-delay: 0.22s;
}

.brand .logo-line path:nth-child(3) {
    animation-delay: 0.44s;
}

.brand .logo-line path:nth-child(4) {
    animation-delay: 0.66s;
}

.brand-name {
    font-size: 26px;
    font-weight: 700;
    line-height: 1;
    font-family: "Sharphy Medium";
}

.brand small {
    font-size: 7px;
    letter-spacing: 2px;
    text-transform: uppercase;
        margin-top: 6px;
}

@keyframes logo-draw {
    0% {
        stroke-dashoffset: 1;
        opacity: 0;
    }

    15% {
        opacity: 0.35;
    }

    75%,
    100% {
        stroke-dashoffset: 0;
        opacity: 1;
    }
}

@keyframes logo-glow-black {
    0%,
    65% {
        filter: drop-shadow(0 0 0 rgba(0, 0, 0, 0));
    }

    100% {
        filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.45));
    }
}

@keyframes logo-glow {
    0%,
    65% {
        filter: drop-shadow(0 0 0 rgba(238, 234, 230, 0));
    }

    100% {
        filter: drop-shadow(0 0 5px rgba(238, 234, 230, 0.45));
    }
}

/* Menu mobile
-------------------------------------------------------------- */

.menu-toggle {
    display: none;
    padding: 0;
    border: 0;
    background: none;
    color: var(--black);
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.35;
    text-transform: uppercase;
}
.home .menu-toggle{
    color: var(--yellow);
}

.mobile-panel {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    flex-direction: column;
    background: var(--pink);
    opacity: 0;
    visibility: hidden;
    transition:
        opacity 0.35s ease,
        visibility 0.35s ease;
}

.mobile-panel.is-open {
    opacity: 1;
    visibility: visible;
}

.menu-close {
    margin: 36px 30px 0 auto;
    padding: 0;
    border: 0;
    background: none;
    font-size: 22px;
}

.mobile-panel nav {
    margin: auto;
}

.mobile-menu {
    margin: 0;
    padding: 0;
    list-style: none;
    text-align: center;
}

.mobile-menu li {
    margin: 28px 0;
}

.mobile-menu a {
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.35;
    text-transform: uppercase;
}

/* Hero
-------------------------------------------------------------- */

.hero {
    padding: 0 32px 72px;
    background: var(--taupe);
}

.hero-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 100%;
    margin: 0 auto;
}

.hero-images img {
    width: 100%;
    height: 620px;
    object-fit: cover;
    filter: grayscale(1);
}

@media(min-width:1400px){
    .hero-images img{
        height:calc(100vh - 292px);
    }
}

.hero-title {
    max-width: 900px;
    margin: 27px auto 0;
    color: var(--yellow);
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0.04em;
    text-align: center;
    text-transform: uppercase;
}

.hero-title {
    overflow: visible;
}

.hero-title__line {
    display: block;
    overflow: hidden;
}

.hero-title__line-inner {
    display: block;
    will-change: transform, opacity;
}

/* Expertises
-------------------------------------------------------------- */

.expertise-intro {
    padding-top: 64px;
    background: var(--paper);
}

.expertise-intro__inner {
    padding-bottom: 64px;
}

.discover-link {
    display: inline-block;
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.35;
    text-transform: uppercase;
}

.discover-link::after {
    transform: scaleX(1);
    transform-origin: left center;
}

.discover-link:hover::after {
    transform: scaleX(0);
    transform-origin: right center;
}

.expertise-panels {
    position: relative;
    background: var(--paper);
}

@media (min-width:1400px){
    .expertise-panels__container {
        width: min(calc(100% - 64px), 1140px);
    }
}

.expertise-panel {
    position: sticky;
    top: calc(40px + (var(--panel-index) * 18px));
    z-index: calc(10 + var(--panel-index));
    display: flex;
    align-items: center;
    min-height: calc(100vh - 260px);
    margin-bottom: 60px;
    background: var(--pink);
}

.expertise-panel:last-child {
    margin-bottom: 0;
}

.expertise-panel.is-dark {
    background: var(--taupe);
}

.expertise-inner {
    display: grid;
    grid-template-columns: 42% 1fr;
    align-items: center;
    gap: 130px;
    width: 100%;
    padding: 70px 60px;
}

.expertise-inner img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.expertise-content {
    align-self: center;
}

.expertise-inner h2 {
    margin: 0 0 20px;
}

.expertise-inner p {
    max-width: 520px;
    margin: 0;
}

/* Engagements
-------------------------------------------------------------- */

.commitments {
    padding: 85px 0 100px;
}

.commitments img {
    width: 100%;
    height: 620px;
    object-fit: cover;
    filter: grayscale(1);
}

.commitments-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    padding-top: 62px;
}

.commitments h2 {
    margin: 0 0 28px;
}
.commitments h3 {
    margin: 0 0 48px;
}
/* Clients
-------------------------------------------------------------- */

.clients {
    padding: 80px 0;
    background: var(--taupe);
    color: var(--white);
}

.clients h2 {
    margin: 0 0 32px;
    color:#fff;
}
.clients .h3 {
    margin: 0 0 32px;
    color:#fff;
}
.logo-slider {
    overflow: hidden;
    margin-top: 55px;
}

.logo-track {
    display: flex;
    align-items: center;
    gap: 90px;
    width: max-content;
    will-change: transform;
}

.logo-item {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: auto;
    min-width: 170px;
    height: 72px;
}

.logo-item img {
    width: auto;
    max-height: 58px;
    filter: brightness(0) invert(1);
}

.logo-item span {
    font-size: 36px;
    font-weight: 700;
    white-space: nowrap;
}

/* Certifications
-------------------------------------------------------------- */

.certifications {
    padding: 100px 0;
}

.cert-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
}

.cert-grid h2 {
    margin: 0;
}

.cert-logos {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 35px;
}

.cert-logos img {
    width: auto;
    max-height: 70px;
}

.cert-grid hr {
    margin: 36px 0;
    border: 0;
    border-top: 1px solid #bbb;
}

/* Magazine
-------------------------------------------------------------- */

.mag-section {
    padding: 70px 0;
    background: var(--yellow);
}

.mag-grid {
    display: grid;
    grid-template-columns: 220px 1fr;
    align-items: center;
    gap: 50px;
}

.mag-placeholder {
    height: 210px;
    padding: 15px;
    border: 3px solid var(--ink);
    font-size: 34px;
}

.mag-placeholder strong {
    font-size: 100px;
    font-weight: 400;
}

.mag-grid h3 {
    margin-top:0;
    margin-bottom:16px;
}

.mag-grid p {
    max-width: 780px;
    margin-bottom: 24px;
}

.download-button {
    display: inline-flex;
    padding: 13px 22px;
    border: 1px solid var(--ink);
    font-family: var(--font-button);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.35;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    border-bottom-left-radius: 10px;
    border-top-right-radius: 10px;
    margin-top:16px;
}
.download-button svg{
    margin-right:8px;
}
.download-button:hover {
    background-color: var(--ink);
    color:var(--yellow);
}
.download-button:hover svg path{
    stroke:var(--yellow);
}
/* Footer
-------------------------------------------------------------- */

.site-footer {
    padding: 45px 0 25px;
    background: var(--taupe);
    color: var(--yellow);
}

.footer-top,
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 30px;
}
.footer-bottom {
    justify-content: space-between;
}

@media(min-width:1200px){
    .footer-top .language-switcher {
    margin-left: auto;
    margin-right:120px;
}
}


.footer-menu a::after{
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: right center;
    transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

.footer-menu a:hover::after,.footer-menu .current-menu-item a::after{
    transform: scaleX(1);
    transform-origin: left center;
}

.footer-bottom {
    margin-top: 34px;
    padding-top: 20px;
    border-top: 1px solid var(--yellow);
    font-family: var(--font-primary);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.35;
    color:#000;
}

.footer-bottom>p{
    margin-bottom:0;
}

.footer-bottom nav {
    display: flex;
    gap: 24px;
}

.socials {
    display: flex;
    gap: 20px;
}

.legal-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.legal-menu li {
    margin: 0;
}

.legal-menu a {
    text-decoration: none;
}

.legal-menu a:hover {
    text-decoration: underline;
}

/* Animations de titres
-------------------------------------------------------------- */

.reveal-title {
    overflow: hidden;
}

/* Responsive
-------------------------------------------------------------- */

@media (max-width: 900px) {
    .container {
        width: calc(100% - 40px);
    }

    .site-header {
        padding: 20px 20px 12px;
    }

    .language-bar,
    .header-nav {
        display: none;
    }

    .header-grid {
        grid-template-columns: 1fr auto;
    }

    .brand {
        grid-column: 1 / 2;
        justify-self: center;
    }

    .brand .logo-line {
        width: 48px;
    }

    .brand-name {
        font-size: 24px;
    }

    .menu-toggle {
        display: block;
        grid-column: 2 / 3;
        grid-row: 1;
        align-self: start;
    }

    .mobile-menu a {
        font-size: 28px;
    }

    .hero {
        padding: 12px 20px 40px;
    }

    .hero-images {
        display: block;
    }

    .hero-images img {
        height: 360px;
    }

    .hero-title {
        margin-top: 18px;
        font-size: 24px;
        line-height: 1.03;
    }

    .expertise-intro {
        padding-top: 40px;
    }
    .expertise-intro__inner{
        padding-bottom:15px;
    }
    .expertise-panels {
        padding-top: 25px;
    }

    .expertise-panel {
        min-height: 100vh;
        border-top-width: 10px;
    }

    .expertise-inner {
        grid-template-columns: 1fr;
        gap: 24px;
        /*width: calc(100% - 40px);*/
        padding: 40px;
    }

    .expertise-inner img {
        height: 56vh;
    }

    .expertise-inner h2 {
        margin-bottom: 8px;
    }

    .expertise-inner p {
        font-size: 16px;
    }

    .commitments {
        padding: 38px 0 54px;
    }

    .commitments img {
        height: 310px;
    }

    .commitments-grid {
        grid-template-columns: 1fr;
        gap: 28px;
        padding-top: 28px;
    }


    .clients {
        padding: 50px 0;
    }

    .logo-track {
        gap: 34px;
    }

    .logo-item {
        min-width: calc(50vw - 37px);
        height: 70px;
    }

    .certifications {
        padding: 55px 0;
    }

    .cert-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }


    .mag-section {
        padding: 38px 0;
    }

    .mag-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .mag-placeholder {
        width: 220px;
    }

    .footer-top,
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-menu {
        flex-direction: column;
        gap: 4px;
        font-size: 18px;
    }

    .footer-bottom nav {
        flex-direction: column;
        gap: 6px;
    }
}

/* Accessibilité
-------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }

    .logo-track {
        transform: none !important;
    }

    .brand .logo-line path {
        stroke-dashoffset: 0;
        opacity: 1;
        filter: none;
    }
}


/* shared css */
.site-main:not(.home-page){
    padding-top:66px;
}
@media (max-width: 1199px) {
    .site-main:not(.home-page){
        padding-top:28px;
    }
}
/* ==========================================================
   PAGE HISTOIRE
   ========================================================== */

.history-page {
    overflow: clip;
}

/* Introduction
   ========================================================== */

.history-intro {
    padding: 0 0 100px;
}

.history-intro__title {
    margin: 0 0 48px;
}

.history-intro__lead {
    max-width: 720px;
    margin: 0 0 24px;
}

.history-intro__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 48px;
}
/*
.history-intro__text {
    position: relative;
    padding: 24px 28px;
}

.history-intro__text::before,
.history-intro__text::after {
    content: "";
    position: absolute;
    width: 40px;
    height: 40px;
    pointer-events: none;
}

.history-intro__text::before {
    top: 0;
    left: 0;
    border-top: 2px solid rgba(0, 0, 0, 0.25);
    border-left: 2px solid rgba(0, 0, 0, 0.25);
}

.history-intro__text::after {
    right: 0;
    bottom: 0;
    border-right: 2px solid rgba(0, 0, 0, 0.25);
    border-bottom: 2px solid rgba(0, 0, 0, 0.25);
}
*/
.history-intro__lead > :first-child,
.history-intro__text > :first-child {
    margin-top: 0;
}

.history-intro__lead > :last-child,
.history-intro__text > :last-child {
    margin-bottom: 0;
}

.history-intro__text p {
    margin: 0 0 34px;
}



/* Chronologie
   ========================================================== */

.history-timeline {
    padding: 0 0 140px;
}

.history-timeline__layout {
    display: grid;
    grid-template-columns: 90px minmax(0, 1fr);
    align-items: start;
    gap: 45px;
}

/* Navigation des années */

.history-years {
    position: sticky;
    top: 40px;
    z-index: 5;
    align-self: start;
}

.history-years ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.history-years li {
    margin: 0;
    padding: 0;
}

.history-years a {
    display: inline-block;
    padding: 2px 0;
    color: inherit;
    font-size: 12px;
    line-height: 1.2;
    text-decoration: none;
    transition:
        opacity 0.25s ease,
        transform 0.25s ease;
}

.history-years a:hover,
.history-years a:focus-visible,
.history-years a.is-active {
    opacity: 0.55;
    transform: translateX(4px);
}


html {
    scroll-behavior: smooth;
}

.history-event {
    scroll-margin-top: 40px;
}

.history-years__mobile {
    display: none;
}

.history-years__select {
    width: auto;
    min-width: 90px;
    padding: 0 22px 0 0;
    border: 0;
    border-radius: 0;
    background-color: transparent;
    color: inherit;
    font: inherit;
    font-size: 12px;
    line-height: 1.2;
    cursor: pointer;
}

@media (max-width: 1199px) {
    .history-years {
        position: sticky;
        top: 0;
        z-index: 20;
        display: block;
        padding: 14px 0;
        background: var(--site-background, #f1ede8);
    }

    .history-years__list {
        display: none;
    }

    .history-years__mobile {
        display: block;
    }
}

/* Entrées de la chronologie */

.history-events {
    min-width: 0;
}

.history-event {
    display: grid;
    grid-template-columns:
        minmax(170px, 1fr)
        auto
        minmax(170px, 1fr);
    /*align-items: center; */
    column-gap: 35px;
    padding: 40px 0;
}

.history-event__visual {
    grid-column: 2;
    grid-row: 1;
    width: fit-content;
    max-width: 680px;
    margin: 0;
    justify-self: center;
}

.history-event__image {
    display: block;
    width: auto;
    max-width: 680px;
    height: auto;
}

/* Texte à gauche */

.history-event--left .history-event__content {
    grid-column: 1;
    grid-row: 1;
    justify-self: end;
    text-align: right;
}

/* Texte à droite */

.history-event--right .history-event__content {
    grid-column: 3;
    grid-row: 1;
    justify-self: start;
    text-align: left;
}

.history-event__content {
    width: 100%;
    max-width: 230px;
}

.history-event__year {
    margin-bottom: 18px;
}

.history-event__text p {
    margin: 0 0 15px;
}

.history-event__text > :first-child {
    margin-top: 0;
}

.history-event__text > :last-child {
    margin-bottom: 0;
}

/* Mobile
   ========================================================== */

@media (max-width: 1199px) {

    .history-intro {
        padding: 0 0 80px;
    }

    .history-intro__grid {
        display: block;
    }

    .history-intro__lead {
        margin-bottom: 45px;
        font-size: 22px;
        line-height: 1.18;
    }

    .history-intro__text {
        padding: 24px 28px;
        font-size: 18px;
    }

    .history-intro__text + .history-intro__text {
        margin-top: 32px;
    }

    .history-intro__text p {
        margin-bottom: 26px;
    }

    .history-intro__right {
        max-width: none;
        padding-top: 45px;
        font-size: 18px;
    }

    .history-timeline {
        padding-bottom: 90px;
    }

    .history-timeline__layout {
        display: block;
    }

    .history-event {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        min-height: 0;
    }

    .history-event__content,
    .history-event--left .history-event__content,
    .history-event--right .history-event__content {
        order: 1;
        width: 100%;
        max-width: 100%;
        margin-bottom: 28px;
        text-align: left;
    }

    .history-event--left .history-event__content {
        align-self: flex-start;
    }
    /*
    .history-event--right .history-event__content {
        align-self: flex-end;
    }
    */
    .history-event__visual {
        width: 100%;
        max-width: 680px;
    }

    .history-event__image {
        max-width: 100%;
        margin:0 auto 23px;
    }

    .history-event__year {
        margin-bottom: 12px;
    }
}


/* ==========================================================
   PAGE EXPERTISES
   ========================================================== */

.expertise-page {
    overflow: clip;
}

/* Hero
   ========================================================== */

.expertise-hero {
    padding: 0 0 120px;
}

.expertise-hero__title {
    margin: 0 0 48px;
}

.expertise-hero__intro-title{
    margin-top:0;
}
.expertise-hero__intro-text {
    max-width: 560px;
}

.expertise-hero__intro-text p {
    margin: 0 0 18px;
}

.expertise-hero__intro-text > :first-child {
    margin-top: 0;
}

.expertise-hero__intro-text > :last-child {
    margin-bottom: 0;
}

.expertise-hero__link {
    display: inline-block;
    margin-top: 42px;
    color: inherit;
    font-size: 13px;
    line-height: 1.2;
    text-transform: uppercase;
}

.expertise-hero__items {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 50px 55px;
    padding-top: 32px;
}

.expertise-card__title {
    margin: 0 0 8px;
}

.expertise-card__text p {
    margin: 0 0 17px;
}

.expertise-card__text > :first-child {
    margin-top: 0;
}

.expertise-card__text > :last-child {
    margin-bottom: 0;
}

/* Galerie
   ========================================================== */

.expertise-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 85px;
}

.expertise-gallery__item {
    margin: 0;
    overflow: hidden;
}

.expertise-gallery__image {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1.35 / 1;
    object-fit: cover;
}

/* Expertise globale
   ========================================================== */

.expertise-global {
    padding: 85px 0 100px;
    background-color: var(--expertise-background, #b7907f);
}

.expertise-global__layout {
    display: grid;
    grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.35fr);
    align-items: start;
    gap: 105px;
}

.expertise-global__title {
    max-width: 570px;
    margin: 0 0 38px;
    font-family: var(--font-primary);
    font-size: 40px;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 0;
}

.expertise-global__lead {
    max-width: 430px;
    margin-bottom: 22px;
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.expertise-global__text {
    max-width: 490px;
    font-family: var(--font-primary);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.35;
}

.expertise-global__lead p,
.expertise-global__text p {
    margin: 0 0 18px;
}

.expertise-global__lead > :first-child,
.expertise-global__text > :first-child {
    margin-top: 0;
}

.expertise-global__lead > :last-child,
.expertise-global__text > :last-child {
    margin-bottom: 0;
}

.expertise-global__visual {
    width: 100%;
    max-width: 350px;
    margin: 55px 0 0;
}

.expertise-global__image {
    display: block;
    width: 100%;
    height: auto;
}

/* Étapes
   ========================================================== */

.expertise-process {
    display: flex;
    flex-direction: column;
    gap: 42px;
    padding-top: 5px;
}

.expertise-process__step {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    align-items: start;
    gap: 42px;
}

.expertise-process__marker {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.expertise-process__number {
    font-size: 14px;
    line-height: 1;
}

.expertise-process__progress {
    position: relative;
    width: 2px;
    height: 56px;
    margin-top: 12px;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.25);
}

.expertise-process__progress-fill {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    background-color: #e0c200;
    transform: scaleY(0);
    transform-origin: top center;
    will-change: transform;
}

.expertise-process__content {
    max-width: 570px;
}

.expertise-process__title {
    margin: 0 0 8px;
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.expertise-process__text {
    font-family: var(--font-primary);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.35;
}

.expertise-process__text p {
    margin: 0 0 16px;
}

.expertise-process__text > :first-child {
    margin-top: 0;
}

.expertise-process__text > :last-child {
    margin-bottom: 0;
}

/* Tablette
   ========================================================== */

@media (max-width: 1199px) {

    .expertise-hero__layout {
        gap: 60px;
    }

    .expertise-hero__items {
        gap: 42px 35px;
    }

    .expertise-global__layout {
        gap: 65px;
    }

}

/* Mobile
   ========================================================== */

@media (max-width: 767px) {

    .expertise-hero {
        padding: 0 0 55px;
    }

    .expertise-hero__layout {
        display: block;
    }

    .expertise-hero__link {
        margin-top: 28px;
    }

    .expertise-hero__items {
        display: block;
        padding-top: 70px;
    }

    .expertise-card {
        margin-bottom: 38px;
    }

    .expertise-card:last-child {
        margin-bottom: 0;
    }

    .expertise-gallery {
        display: block;
        margin-top: 50px;
    }

    .expertise-gallery__item {
        margin-bottom: 16px;
    }

    .expertise-gallery__item:last-child {
        margin-bottom: 0;
    }

    .expertise-gallery__image {
        aspect-ratio: auto;
        object-fit: initial;
    }

    .expertise-global {
        padding: 55px 0 75px;
    }

    .expertise-global__layout {
        display: block;
    }

    .expertise-global__title {
        margin-bottom: 32px;
        font-size: 32px;
        line-height: 1.1;
    }

    .expertise-global__lead {
        font-size: 17px;
    }

    .expertise-global__text {
        font-size: 16px;
    }

    .expertise-global__visual {
        max-width: none;
        margin-top: 42px;
    }

    .expertise-process {
        gap: 36px;
        padding-top: 48px;
    }

    .expertise-process__step {
        display: block;
    }

    .expertise-process__marker {
        display: block;
        margin-bottom: 5px;
    }

    .expertise-process__number {
        font-size: 16px;
    }

    .expertise-process__progress {
        display: none;
    }

    .expertise-process__title {
        margin-bottom: 5px;
        font-size: 18px;
    }

    .expertise-process__text {
        font-size: 16px;
    }

}

/* Accessibilité : réduction des animations
   ========================================================== */

@media (prefers-reduced-motion: reduce) {

    .expertise-process__progress-fill {
        transform: scaleY(1);
    }

}

/* ---------------------------------------------------------
   PAGE STANDARD
--------------------------------------------------------- */

.page-default,
.error-404 {
    background: #eeeae6;
    color: #000;
}

.page-default .container,
.error-404__inner {
    width: min(calc(100% - 64px), 1440px);
    margin-right: auto;
    margin-left: auto;
}

.page-default__header {
    padding: 180px 0 80px;
}

.page-default__eyebrow,
.error-404__eyebrow {
    margin: 0 0 24px;
    font-size: 12px;
    line-height: 1.2;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.page-default__title {
    max-width: 1100px;
    margin: 0;
    font-family: var(--font-primary);
    font-size: 64px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0;
    text-transform: uppercase;
}

.page-default__media {
    width: min(calc(100% - 64px), 1440px);
    margin: 0 auto;
}

.page-default__image {
    display: block;
    width: 100%;
    height: auto;
    max-height: 760px;
    object-fit: cover;
}

.page-default__body {
    padding: 68px 0 140px;
}

.page-default__content {
    font-family: var(--font-primary);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.35;
}

.page-default__content > *:first-child {
    margin-top: 0;
}

.page-default__content > *:last-child {
    margin-bottom: 0;
}

.page-default__content h2,
.page-default__content h3,
.page-default__content h4 {
    margin: 0 0 24px;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 0;
}

.page-default__content h2 {
    font-family: var(--font-primary);
    font-size: 40px;
}

.page-default__content h3 {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.page-default__content h4 {
    font-family: var(--font-primary);
    font-size: 24px;
    line-height: 1.2;
}

.page-default__content p,
.page-default__content ul,
.page-default__content ol,
.page-default__content blockquote,
.page-default__content figure,
.page-default__content table {
    margin: 0 0 28px;
}

.page-default__content ul,
.page-default__content ol {
    padding-left: 24px;
}

.page-default__content a {
    color: inherit;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

.page-default__content blockquote {
    padding: 8px 0 8px 28px;
    border-left: 1px solid #000;
    font-size: 28px;
    line-height: 1.3;
}

.page-default__content img {
    max-width: 100%;
    height: auto;
}

.page-default__content table {
    width: 100%;
    border-collapse: collapse;
}

.page-default__content th,
.page-default__content td {
    padding: 14px 12px;
    border-bottom: 1px solid rgba(0, 0, 0, .24);
    text-align: left;
}

.page-default__pagination {
    margin-top: 48px;
}


/* ---------------------------------------------------------
   PAGE 404
--------------------------------------------------------- */

.error-404 {
    min-height: 100vh;
    overflow: hidden;
}

.error-404__inner {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: 100vh;
    padding: 190px 0 70px;
}

.error-404__number {
    position: absolute;
    top: 120px;
    left: 0;
    color: rgba(0, 0, 0, .08);
    font-size: clamp(180px, 32vw, 520px);
    font-weight: 400;
    line-height: .75;
    letter-spacing: -.09em;
}

.error-404__content {
    position: relative;
    z-index: 2;
    width: min(720px, 100%);
}

.error-404__title {
    margin: 0;
    font-size: clamp(52px, 7vw, 102px);
    font-weight: 400;
    line-height: .92;
    letter-spacing: -.055em;
    text-transform: uppercase;
}

.error-404__text {
    max-width: 520px;
    margin: 32px 0;
    font-size: 17px;
    line-height: 1.55;
}

.error-404__link {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    padding-bottom: 6px;
    border-bottom: 1px solid currentColor;
    color: inherit;
    font-size: 13px;
    letter-spacing: .08em;
    text-decoration: none;
    text-transform: uppercase;
}

.error-404__link span:last-child {
    transition: transform .3s ease;
}

.error-404__link:hover span:last-child {
    transform: translate(4px, -4px);
}

.error-404__mark {
    position: absolute;
    right: -8%;
    bottom: -15%;
    width: min(62vw, 850px);
    opacity: .35;
    pointer-events: none;
}

.error-404__mark svg {
    display: block;
    width: 100%;
    height: auto;
}

.error-404__mark path {
    fill: none;
    stroke: #af897a;
    stroke-width: 2;
    vector-effect: non-scaling-stroke;
}


/* ---------------------------------------------------------
   RESPONSIVE
--------------------------------------------------------- */

@media (max-width: 900px) {

    .page-default .container,
    .page-default__media,
    .error-404__inner {
        width: min(calc(100% - 40px), 1440px);
    }

    .page-default__header {
        padding: 130px 0 56px;
    }

    .page-default__body {
        padding: 68px 0 100px;
    }

    .error-404__inner {
        align-items: center;
        padding: 140px 0 70px;
    }

    .error-404__mark {
        right: -30%;
        bottom: -5%;
        width: 110vw;
    }
}

@media (max-width: 600px) {

    .page-default .container,
    .page-default__media,
    .error-404__inner {
        width: calc(100% - 32px);
    }

    .page-default__header {
        padding: 110px 0 42px;
    }

    .page-default__title {
        font-size: 32px;
        line-height: 1;
    }

    .page-default__body {
        padding: 52px 0 80px;
    }

    .page-default__content {
        font-size: 16px;
    }

    .page-default__content blockquote {
        font-size: 22px;
    }

    .error-404__number {
        top: 100px;
        font-size: 180px;
    }

    .error-404__title {
        font-size: 46px;
    }
}

.cookie-banner[hidden] {
    display: none;
}

.cookie-banner {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 200;
    padding: 20px 0;
    background: var(--cookies-bg);
    color: var(--cookies-text);
    animation: cookieUp .45s cubic-bezier(.22,1,.36,1);
}

.cookie-banner__inner {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cookie-banner__title {
    margin: 0;
    font-family: "Darker Grotesque", sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
}

.cookie-banner__text {
    max-width: 1450px;
    margin: 0;
    font-family: "Area Extended", sans-serif;
    font-size: 14px;
    line-height: 1.45;
}

.cookie-banner__text a {
    color: inherit;
    text-decoration: underline;
}

.cookie-banner__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* Style commun */

.cookie-banner__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 22px;
    border: 1px solid var(--ink);
    border-bottom-left-radius: 10px;
    border-top-right-radius: 10px;
    font-family: var(--font-button);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.35;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    cursor: pointer;
    transition:
        background-color .25s ease,
        color .25s ease,
        border-color .25s ease,
        transform .2s ease;
}

/* Bouton principal */

.cookie-banner__button.btn {
    background: var(--ink);
    color: #fff;
}

.cookie-banner__button.btn:hover,
.cookie-banner__button.btn:focus-visible {
    background: #000;
    border-color: #000;
    transform: translateY(-1px);
}

/* Bouton secondaire */

.cookie-banner__button.btn2 {
    background: var(--cookies-button-bg);
    color: var(--ink);
}

.cookie-banner__button.btn2:hover,
.cookie-banner__button.btn2:focus-visible {
    background: #d8b3a5;
    border-color: var(--ink);
    transform: translateY(-1px);
}

.cookie-banner__button:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}

@media (max-width: 767px) {
    .cookie-banner {
        padding: 24px 0;
    }

    .cookie-banner__title {
        font-size: 17px;
    }

    .cookie-banner__text {
        font-size: 12px;
        line-height: 1.5;
    }

    .cookie-banner__actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .cookie-banner__button {
        width: 100%;
        justify-content: center;
        padding: 12px 16px;
        font-size: 13px;
    }
}

@keyframes cookieUp {
    from {
        opacity: 0;
        transform: translateY(32px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

:root {
    --faq-border: rgba(30, 39, 34, 0.25);
}

.faq-page__container {
    padding-top: 170px;
    padding-bottom: 96px;
}

.faq-page__header {
    margin-bottom: 80px;
}

.faq-page__title {
    margin: 0;
}

.faq-list {
    border-top: 1px solid var(--faq-border);
}

.faq-item {
    border-bottom: 1px solid var(--faq-border);
}

.faq-item__heading {
    margin: 0;
}

.faq-item__button {
    display: grid;
    width: 100%;
    grid-template-columns: 48px minmax(0, 1fr) 24px;
    gap: 24px;
    align-items: center;
    padding: 28px 0;
    border: 0;
    background: transparent;
    color: inherit;
    text-align: left;
    cursor: pointer;
}

.faq-item__number {
    font-family: var(--font-button);
    font-size: 12px;
    opacity: 0.5;
}

.faq-item__question {
    font-family: "Area Extended", sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.25;
    text-transform: uppercase;
}

.faq-item__icon {
    position: relative;
    width: 20px;
    height: 20px;
}

.faq-item__icon::before,
.faq-item__icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 20px;
    height: 1px;
    background: currentColor;
    transition: transform 0.25s ease;
}

.faq-item__icon::after {
    transform: rotate(90deg);
}

.faq-item__button[aria-expanded="true"]
.faq-item__icon::after {
    transform: rotate(0);
}

.faq-item__panel[hidden] {
    display: none;
}

.faq-item__answer {
    max-width: 780px;
    padding:
        0
        48px
        32px
        72px;
    font-size: 16px;
    line-height: 1.5;
}

.faq-item__answer > *:first-child {
    margin-top: 0;
}

.faq-item__answer > *:last-child {
    margin-bottom: 0;
}

@media (max-width: 767px) {
    .faq-page__container {
        padding-top: 176px;
        padding-bottom: 64px;
    }

    .faq-page__header {
        margin-bottom: 48px;
    }

    .faq-item__button {
        grid-template-columns: 28px minmax(0, 1fr) 20px;
        gap: 12px;
        padding: 22px 0;
    }

    .faq-item__question {
        font-size: 15px;
    }

    .faq-item__answer {
        padding:
            0
            32px
            24px
            40px;
        font-size: 14px;
    }
}