/* 1. Identité : ivoire, sauge, typographies locales. */
@font-face {
    font-family: "Nunito Sans";
    src: url('../fonts/NunitoSans.ttf');
    font-weight: 100 900;
    font-display: swap
}

@font-face {
    font-family: "Source Sans 3";
    src: url('../fonts/SourceSans3.ttf');
    font-weight: 200 800;
    font-display: swap
}

:root {
    --paper: #fcfcf8;
    --ivory: #f2f3e9;
    --sage: #dce5d8;
    --green: #315d50;
    --ink: #263f3b;
    --muted: #54665f;
    --line: #cbd7ce;
    --serif: "Nunito Sans", Arial, sans-serif;
    --sans: "Source Sans 3", Arial, sans-serif;
    --gutter: clamp(22px, 5vw, 76px)
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 25px
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font: 15px/1.8 var(--sans)
}

h1,
h2,
h3,
p,
figure {
    margin: 0
}

h1,
h2,
h3 {
    font-family: var(--serif);
    font-weight: 700;
    letter-spacing: -.035em;
    line-height: 1.12
}

h1 {
    font-size: clamp(48px, 5vw, 72px)
}

h2 {
    font-size: clamp(36px, 4vw, 58px)
}

h3 {
    font-size: 26px
}

em {
    font-style: normal;
    color: var(--green)
}

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

button,
input,
select,
textarea {
    font: inherit
}

button {
    cursor: pointer
}

img {
    display: block;
    width: 100%;
    object-fit: cover
}

.wrap {
    width: min(1440px, 100%);
    padding-inline: var(--gutter);
    margin-inline: auto
}

.section {
    padding-block: 95px
}

.eyebrow {
    font-size: 10px;
    letter-spacing: .15em;
    font-weight: 750;
    margin-bottom: 24px
}

.button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 52px;
    padding: 15px 25px;
    background: var(--green);
    color: white;
    border: 1px solid var(--green);
    border-radius: 30px;
    font: 650 13px/1.5 var(--sans);
    text-align: center;
    transition: background .2s, transform .2s
}

.button:hover {
    background: #214739;
    transform: translateY(-2px)
}

.button.small {
    padding: 12px 20px;
    min-height: 44px;
    font-size: 12px
}

.button.secondary {
    background: transparent;
    color: var(--green)
}

.button.secondary:hover {
    background: var(--sage)
}

.text-link {
    display: inline-block;
    border-bottom: 1px solid var(--green);
    font-size: 13px;
    font-weight: 650;
    padding-block: 5px
}

.quiet-link {
    display: block;
    width: fit-content;
    margin-top: 20px;
    font-size: 12px;
    border-bottom: 1px solid var(--line)
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
    outline: 3px solid #a46b35;
    outline-offset: 5px
}

.skip {
    position: absolute;
    top: -100px;
    z-index: 10;
    padding: 15px;
    background: white
}

.skip:focus {
    top: 0
}

.note {
    font-size: 11px;
    line-height: 1.7
}

.demo {
    background: var(--sage);
    color: var(--ink);
    text-align: center;
    font-size: 9px;
    padding: 8px 18px
}

/* 2. Navigation et accueil lumineux. */
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    padding-block: 28px
}

.brand {
    font: 700 29px/1.1 var(--serif);
    letter-spacing: -.035em
}

.brand span {
    display: block;
    font: 9px var(--sans);
    letter-spacing: .17em;
    margin-top: 10px
}

.header nav {
    display: flex;
    align-items: center;
    gap: 25px;
    font-size: 12px
}

.header nav>a:not(.button):hover {
    color: var(--green);
    text-decoration: underline
}

.menu-toggle {
    display: none;
    padding: 10px 16px;
    background: transparent;
    border: 1px solid var(--line);
    color: var(--ink);
    border-radius: 22px
}

.hero {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    align-items: center;
    gap: 6vw;
    padding-block: 36px 70px
}

.hero-copy>p:not(.eyebrow) {
    max-width: 430px;
    margin-top: 30px;
    color: var(--muted);
    font-size: 15px
}

.hero-copy>.button {
    margin-top: 32px
}

.hero-photo {
    position: relative;
    overflow: hidden;
    border-radius: 180px 180px 12px 12px;
    background: var(--ivory)
}

.hero-photo img {
    height: 620px;
    object-position: 60% 50%
}

.hero-photo figcaption {
    font-size: 9px;
    padding: 14px 20px;
    color: var(--muted);
    text-align: center
}

.values {
    display: flex;
    justify-content: space-between;
    gap: 25px;
    padding-block: 27px;
    border-block: 1px solid var(--line);
    font-size: 12px;
    font-weight: 650;
    color: var(--green)
}

/* 3. Présentation et accompagnements. */
.approach {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 8vw
}

.approach-copy p+p {
    margin-top: 23px
}

.approach-copy {
    color: var(--muted);
    padding-top: 8px
}

.approach-copy .note {
    border-top: 1px solid var(--line);
    padding-top: 20px
}

.care {
    background: var(--ivory)
}

.section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 45px
}

.section-head>p {
    max-width: 330px;
    color: var(--muted);
    font-size: 13px
}

.care-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px
}

.care-list article {
    border-top: 1px solid #aabeb1;
    padding-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: start
}

.care-label {
    color: var(--green);
    font-size: 9px;
    font-weight: 750;
    letter-spacing: .13em;
    margin-bottom: 22px
}

.care-list h3 {
    font-size: 29px;
    margin-bottom: 20px
}

.care-list p {
    color: var(--muted);
    font-size: 13px;
    margin-bottom: 25px
}

.care-list a {
    margin-top: auto
}

.cabinet {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8vw;
    align-items: center
}

.cabinet figure {
    border-radius: 12px;
    overflow: hidden
}

.cabinet img {
    height: 540px;
    object-position: center 55%
}

.cabinet figcaption {
    font-size: 10px;
    color: var(--muted);
    padding: 13px 0
}

.cabinet>div>p:not(.eyebrow) {
    margin-top: 26px;
    color: var(--muted);
    max-width: 430px
}

.cabinet .text-link {
    margin-top: 25px
}

.practical {
    background: var(--sage)
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 45px;
    margin-top: 45px
}

.info-grid article {
    border-top: 1px solid #a2b5a7;
    padding-top: 25px
}

.info-grid h3 {
    margin-bottom: 18px
}

.info-grid p {
    font-size: 13px;
    color: #445c50
}

.info-grid a {
    margin-top: 20px
}

/* 4. Rendez-vous et contact sans données personnelles. */
.booking {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8vw;
    align-items: start
}

.booking>div>p:not(.eyebrow) {
    max-width: 420px;
    margin-top: 28px;
    color: var(--muted)
}

.notice {
    font-size: 12px;
    border-left: 2px solid #7e9d88;
    padding-left: 20px
}

.booking form {
    background: white;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 34px
}

.booking form h3 {
    margin-bottom: 25px
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px
}

.form-row>div {
    min-width: 0
}

label {
    display: block;
    font-size: 12px;
    font-weight: 650;
    margin: 18px 0 8px
}

input,
select {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: 54px;
    line-height: 1.25;
    border: 1px solid #9bae9f;
    border-radius: 6px;
    background: white;
    color: var(--ink);
    font-size: 16px;
    padding: 12px
}

select {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 44px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23315d50' stroke-width='1.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 12px 8px
}

form .button {
    margin-top: 26px;
    width: 100%
}

.result {
    font-size: 13px;
    line-height: 1.7;
    margin-top: 20px
}

.result:empty {
    display: none
}

.contact {
    background: #edf1f3
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8vw
}

.contact-grid>div>p:not(.eyebrow) {
    margin-top: 25px;
    max-width: 420px;
    color: var(--muted)
}

.contact form .note {
    margin-top: 15px;
    color: var(--muted)
}

.faq h2 {
    margin-bottom: 32px
}

.faq details {
    border-top: 1px solid var(--line);
    padding: 22px 0
}

.faq details:last-child {
    border-bottom: 1px solid var(--line)
}

summary {
    cursor: pointer
}

.faq summary {
    font-size: 15px;
    font-weight: 650
}

.faq details p {
    max-width: 780px;
    color: var(--muted);
    margin-top: 15px;
    font-size: 13px
}

/* 5. Pied de page et apparitions légères. */
footer {
    background: var(--green);
    color: #f3f6ee;
    padding-block: 45px 25px
}

.footer-top {
    display: flex;
    align-items: center;
    gap: 35px;
    font-size: 12px
}

.footer-top .brand {
    margin-right: auto
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    padding-top: 25px;
    margin-top: 35px;
    border-top: 1px solid #759286;
    font-size: 10px
}

.footer-bottom details {
    max-width: 500px
}

.footer-bottom p {
    margin-top: 8px
}

.footer-bottom a {
    text-decoration: underline
}

.reveal {
    opacity: 1
}

.motion .reveal {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity .6s, transform .6s
}

.motion .reveal.visible {
    opacity: 1;
    transform: none
}

/* 6. Tablette et téléphone. */
@media(max-width:1100px) {
    .brand {
        font-size: 25px
    }

    .header nav {
        gap: 15px;
        font-size: 11px
    }

    .hero {
        gap: 35px
    }

    .hero h1 {
        font-size: 56px
    }

    .hero-photo img {
        height: 560px
    }

    .care-list {
        gap: 26px
    }

    .booking,
    .contact-grid {
        gap: 40px
    }

    .booking form {
        padding: 25px
    }

    .form-row {
        gap: 12px
    }

    .section {
        padding-block: 75px
    }
}

@media(max-width:820px) {
    .header {
        flex-wrap: wrap;
        padding-block: 24px
    }

    .menu-toggle {
        display: block
    }

    .header nav {
        display: none;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        padding-top: 15px;
        border-top: 1px solid var(--line);
        gap: 4px;
        font-size: 13px
    }

    .header nav.open {
        display: flex
    }

    .header nav a {
        padding: 12px
    }

    .hero {
        grid-template-columns: 1fr;
        gap: 35px;
        padding-top: 22px
    }

    .hero h1 {
        font-size: clamp(55px, 9vw, 78px)
    }

    .hero-copy>p:not(.eyebrow) {
        max-width: 560px
    }

    .hero-photo {
        max-width: 600px;
        width: 100%;
        margin: auto;
        border-radius: 130px 130px 12px 12px
    }

    .hero-photo img {
        height: 450px
    }

    .values {
        font-size: 11px;
        gap: 18px
    }

    .approach,
    .booking,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px
    }

    .section-head {
        display: block
    }

    .section-head>p {
        max-width: 520px;
        margin-top: 25px
    }

    .care-list {
        grid-template-columns: 1fr;
        gap: 30px
    }

    .care-list article {
        padding-top: 25px
    }

    .care-list p {
        max-width: 600px
    }

    .cabinet {
        gap: 30px
    }

    .cabinet img {
        height: 440px
    }

    .cabinet h2 {
        font-size: 38px
    }

    .info-grid {
        gap: 25px
    }

    .form-row {
        grid-template-columns: 1fr 1fr;
        gap: 18px
    }

    .footer-top {
        flex-wrap: wrap;
        gap: 23px
    }

    .footer-top .brand {
        flex-basis: 100%
    }

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

@media(max-width:540px) {
    .section {
        padding-block: 58px
    }

    .demo {
        font-size: 8px
    }

    .brand {
        font-size: 25px
    }

    .eyebrow {
        font-size: 9px
    }

    .hero {
        padding-bottom: 42px
    }

    .hero h1 {
        font-size: 44px
    }

    .hero-photo {
        border-radius: 110px 110px 10px 10px
    }

    .hero-photo img {
        height: 360px
    }

    .hero-photo figcaption {
        font-size: 8px;
        padding: 12px
    }

    .values {
        flex-direction: column;
        gap: 9px;
        padding-block: 22px
    }

    .values span {
        padding-left: 16px;
        border-left: 2px solid #8eae99
    }

    .cabinet,
    .info-grid {
        grid-template-columns: 1fr
    }

    .cabinet img {
        height: 390px
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0
    }

    .booking form {
        padding: 24px
    }

    .faq summary {
        font-size: 14px
    }

    .footer-top .brand {
        font-size: 28px
    }
}

@media(forced-colors:active) {
    select {
        appearance: auto;
        background-image: none
    }
}

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

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

    .motion .reveal {
        opacity: 1;
        transform: none
    }
}

/* 7. Repères de visite et parcours vertical propres au cabinet. */
.header {
    border-bottom: 1px solid var(--line);
}

.header nav {
    counter-reset: reperes;
    gap: 20px;
}

.header nav>a {
    counter-increment: reperes;
    display: flex;
    align-items: center;
    gap: 8px;
}

.header nav>a:before {
    content: counter(reperes, decimal-leading-zero);
    font-size: 10px;
    opacity: .7;
}

.header nav .button {
    background: transparent;
    color: var(--green);
    border-radius: 8px;
}

.care-list {
    display: block;
    counter-reset: parcours;
    max-width: 950px;
}

.care-list article {
    position: relative;
    counter-increment: parcours;
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    column-gap: 45px;
    padding: 32px 0 32px 75px;
    border-top: 1px solid #aabeb1;
}

.care-list article:before {
    content: counter(parcours, decimal-leading-zero);
    position: absolute;
    left: 0;
    top: 32px;
    color: var(--green);
    font: 700 24px var(--serif);
}

.care-list .care-label {
    grid-column: 1;
    margin-bottom: 12px;
}

.care-list h3 {
    grid-column: 1;
    margin-bottom: 0;
}

.care-list p {
    grid-column: 2;
    grid-row: 1/3;
    margin-bottom: 18px;
}

.care-list a {
    grid-column: 2;
    justify-self: start;
}

.motion .reveal {
    transform: none;
    transition: opacity .45s ease;
}

.button:hover {
    transform: none;
}

@media(max-width:820px) {
    .header nav.open {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .header nav a {
        border: 1px solid var(--line);
        border-radius: 8px;
        min-height: 52px;
        font-size: 12px;
    }
}

@media(max-width:540px) {
    .care-list article {
        display: block;
        padding: 28px 0 28px 48px;
    }

    .care-list article:before {
        font-size: 20px;
        top: 28px;
    }

    .care-list h3 {
        margin-bottom: 18px;
    }

    .care-list p {
        margin-bottom: 18px;
    }
}

/* 8. Menu sans numérotation ; le parcours des accompagnements est conservé. */
.header nav>a:before {
    content: none;
    display: none;
}