:root {
    --sand: #e8ddd0;
    --sand-light: #f5f0eb;
    --ink: #1c1814;
    --ink-soft: #3a332b;
    --warm: #b87941;
    --warm-dark: #8a5a2e;
    --warm-pale: #f0e6d8;
    --muted: #7a6e64;
    --rule: rgba(28, 24, 20, 0.12);
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: "Outfit", sans-serif;
    font-weight: 300;
    color: var(--ink);
    background: #fff;
    overflow-x: hidden;
    max-width: 100vw !important;
}

/* ─── TYPOGRAPHY ─── */
.serif {
    font-family: "Cormorant Garamond", serif;
}

h1,
h2,
h3 {
    font-family: "Cormorant Garamond", serif;
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.01em;
}

.eyebrow {
    font-family: "Outfit", sans-serif;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--warm);
}

/* ─── LAYOUT ─── */
.wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.wrap-narrow {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ─── NAV ─── */
.site-nav {
    position: fixed;
    inset: 0 0 auto;
    z-index: 90;
    padding: 0 2rem;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--rule);
    transition: box-shadow 0.3s;
    max-width: 100vw;
}

.site-nav.up {
    box-shadow: 0 4px 24px rgba(28, 24, 20, 0.06);
}

.nav-logo {
    font-family: "Cormorant Garamond", serif;
    font-size: 1.3rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    color: var(--ink);
    text-decoration: none;
}

.nav-logo img {
    height: 30px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ink-soft);
    text-decoration: none;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--warm);
}

.nav-cta {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: "Outfit", sans-serif;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 0.65rem 1.5rem;
    border-radius: 2px;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
}

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

.btn-dark:hover {
    background: var(--ink-soft);
}

.btn-outline {
    background: transparent;
    color: var(--ink);
    border: 1px solid var(--ink);
}

.btn-outline:hover {
    background: var(--ink);
    color: #fff;
}

.btn-warm {
    background: var(--warm);
    color: #fff;
}

.btn-warm:hover {
    background: var(--warm-dark);
}

.btn-warm-outline {
    background: transparent;
    color: var(--warm);
    border: 1px solid var(--warm);
}

.btn-warm-outline:hover {
    background: var(--warm);
    color: #fff;
}

/* hamburger */
.ham {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
}

.ham span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--ink);
    transition: all 0.2s;
}

.mob-menu {
    display: none;
    position: fixed;
    inset: 64px 0 0;
    background: #fff;
    z-index: 88;
    padding: 2rem;
    flex-direction: column;
    gap: 0.75rem;
    border-top: 1px solid var(--rule);
}

.mob-menu.open {
    display: flex;
}

.mob-menu a {
    font-size: 1rem;
    color: var(--ink);
    text-decoration: none;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--rule);
}

/* ─── HERO ─── */
.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding-top: 64px;
}

.hero-left {
    background: var(--sand-light);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 6rem 5rem 6rem 2rem;
    padding-left: clamp(2rem, 6vw, 5rem);
    position: relative;
    overflow: hidden;
}

/* decorative line */
.hero-left::before {
    content: "";
    position: absolute;
    top: 0;
    left: 2rem;
    bottom: 0;
    width: 1px;
    background: var(--rule);
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.hero-tag-line {
    width: 32px;
    height: 1px;
    background: var(--warm);
}

.hero-h1 {
    font-size: clamp(3.2rem, 5vw, 5.5rem);
    font-weight: 300;
    line-height: 1;
    color: var(--ink);
    margin-bottom: 2rem;
}

.hero-h1 em {
    font-style: italic;
    color: var(--warm);
}

.hero-month {
    font-size: clamp(4rem, 7vw, 7rem);
    background-color: var(--warm);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-inline: 8px;
}

.hero-month em {
    color: white;
    margin-top: -20px;
}

.hero-sub {
    font-size: 1rem;
    font-weight: 300;
    color: var(--muted);
    line-height: 1.75;
    max-width: 380px;
    margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 3.5rem;
}

.hero-stats {
    display: flex;
    gap: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--rule);
}

.hero-stat-n {
    font-family: "Cormorant Garamond", serif;
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--ink);
    line-height: 1;
}

.hero-stat-l {
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    margin-top: 4px;
}

.hero-right {
    background: var(--ink);
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 3rem;
    overflow: hidden;
}

/* Geometric line pattern */
.hero-right::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 59px,
            rgba(232, 221, 208, 0.04) 59px,
            rgba(232, 221, 208, 0.04) 60px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 59px,
            rgba(232, 221, 208, 0.04) 59px,
            rgba(232, 221, 208, 0.04) 60px
        );
}

.hero-badge {
    position: relative;
    z-index: 2;
    background: rgba(232, 221, 208, 0.08);
    border: 1px solid rgba(232, 221, 208, 0.2);
    padding: 1.5rem;
    border-radius: 2px;
    max-width: 280px;
}

.hero-badge-title {
    font-family: "Cormorant Garamond", serif;
    font-size: 1.4rem;
    font-weight: 400;
    color: #fff;
    margin-bottom: 0.5rem;
}

.hero-badge-text {
    font-size: 0.8rem;
    font-weight: 300;
    color: rgba(232, 221, 208, 0.7);
    line-height: 1.6;
}

.hero-badge-warm {
    display: inline-block;
    margin-top: 0.75rem;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--warm);
}

/* Rentrée chips */
.rentrees {
    position: absolute;
    top: 2.5rem;
    right: 3rem;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-end;
}

.rentree-chip {
    background: rgba(184, 121, 65, 0.18);
    border: 1px solid rgba(184, 121, 65, 0.35);
    color: #e8c9a0;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.3rem 0.75rem;
    border-radius: 2px;
}

/* ─── SECTION: POURQUOI ─── */
.section-why {
    padding: 7rem 0;
    background: #fff;
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 6rem;
    align-items: start;
}

.why-left h2 {
    font-size: clamp(2.5rem, 4vw, 4rem);
    font-weight: 300;
    color: var(--ink);
    margin-top: 1rem;
}

.why-left h2 em {
    font-style: italic;
    color: var(--warm);
}

.why-big-percents {
    display: flex;
}

.why-big-percent {
    font-family: "Cormorant Garamond", serif;
    font-size: 5rem;
    font-weight: 300;
    color: var(--warm);
    line-height: 1;
    margin-top: 2.5rem;
}

.why-big-label {
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    margin-top: -0.5rem;
}

.why-right {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.why-item {
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 1.5rem;
    align-items: start;
    padding: 2rem 0;
    border-bottom: 1px solid var(--rule);
}

.why-item:first-child {
    border-top: 1px solid var(--rule);
}

.why-num {
    font-family: "Cormorant Garamond", serif;
    font-size: 4rem;
    font-weight: 300;
    color: var(--warm);
    padding-top: 0.2rem;
}

.why-item-title {
    font-family: "Cormorant Garamond", serif;
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--ink);
    margin-bottom: 0.5rem;
}

.why-item-text {
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--muted);
    line-height: 1.75;
}

/* ─── SECTION: DÉBOUCHÉS ─── */
.section-debouches {
    padding: 6rem 0;
    /* background: var(--sand-light); */
    position: relative;
    overflow: hidden;
}

.debouches-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 3rem;
    gap: 2rem;
    flex-wrap: wrap;
}

.debouches-header h2 {
    font-size: clamp(2.2rem, 3.5vw, 3.5rem);
    font-weight: 300;
    color: var(--ink);
    margin-top: 0.5rem;
}

.debouches-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--rule);
    border: 1px solid var(--rule);
}

.debouche-cell {
    background: var(--sand-light);
    padding: 2rem 1.5rem;
    transition: background 0.2s;
}

.debouche-cell:hover {
    background: #fff;
}

.debouche-icon {
    width: 36px;
    height: 36px;
    margin-bottom: 1rem;
    color: var(--warm);
}

.debouche-icon svg {
    width: 100%;
    height: 100%;
}

.debouche-title {
    font-family: "Cormorant Garamond", serif;
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--ink);
    line-height: 1.3;
}

.background {
    background: var(--sand-light);
}

/* ─── SECTION: PÉDAGOGIE ─── */
.section-pedagogy {
    padding: 7rem 0;
    background: var(--sand-light);
    /* background: #fff; */
}

.pedagogy-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
    margin-bottom: 5rem;
    padding-bottom: 5rem;
    border-bottom: 1px solid var(--rule);
}

.pedagogy-intro h2 {
    font-size: clamp(2.2rem, 3.5vw, 3.5rem);
    font-weight: 300;
    color: var(--ink);
    margin-top: 0.5rem;
}

.pedagogy-intro h2 em {
    font-style: italic;
    color: var(--warm);
}

.pedagogy-intro p {
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--muted);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.pedagogy-modules {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.pmod {
    padding: 2rem;
    border: 1px solid var(--rule);
    border-radius: 2px;
    transition:
        border-color 0.2s,
        box-shadow 0.2s;
         background: #fff;
}

.pmod:hover {
    border-color: var(--warm);
    box-shadow: 0 4px 24px rgba(184, 121, 65, 0.08);
}

.pmod-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 2px;
    background: var(--warm-pale);
    color: var(--warm);
    margin-bottom: 1.25rem;
}

.pmod-icon svg {
    width: 20px;
    height: 20px;
}

.pmod-title {
    font-family: "Cormorant Garamond", serif;
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--ink);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.pmod-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.pmod-list li {
    font-size: 0.82rem;
    font-weight: 300;
    color: var(--muted);
    padding-left: 1rem;
    position: relative;
}

.pmod-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--warm);
}

/* ─── SECTION: LOGICIELS ─── */
.section-tools {
    padding: 4rem 0;
    background: var(--sand-light);
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
}

.tools-inner {
    display: flex;
    align-items: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.tools-label {
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--muted);
    white-space: nowrap;
    flex-shrink: 0;
}

.tools-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    flex: 1;
}

.tool-tag {
    font-family: "Cormorant Garamond", serif;
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--ink-soft);
    padding: 0.5rem 1.25rem;
    border: 1px solid var(--rule);
    border-radius: 2px;
    background: #fff;
    letter-spacing: 0.02em;
}

/* ─── SECTION: INFOS PRATIQUES ─── */
.section-infos {
    padding: 7rem 0;
    background: var(--ink);
}

.infos-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 6rem;
    align-items: start;
}

.infos-left .eyebrow {
    color: rgba(184, 121, 65, 0.9);
}

.infos-left h2 {
    font-size: clamp(2.2rem, 3.5vw, 3.5rem);
    font-weight: 300;
    color: #fff;
    margin-top: 0.5rem;
    margin-bottom: 2.5rem;
}

/* Rentrées timeline */
.rentrees-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 2.5rem;
}

.rentree-row {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 1.5rem;
    align-items: center;
    padding: 1.25rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.rentree-row:first-child {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.rentree-date {
    font-family: "Cormorant Garamond", serif;
    font-size: 1.4rem;
    font-weight: 300;
    color: var(--warm);
    white-space: nowrap;
}

.rentree-month {
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 2px;
}

.rentree-info {
    font-size: 0.85rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
}

.rentree-info strong {
    display: block;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2px;
}

.infos-right {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-block {
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 2px;
}

.info-block-title {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--warm);
    margin-bottom: 0.75rem;
}

.info-block-content {
    font-size: 0.9rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

.info-block-content ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.info-block-content li {
    padding-left: 1rem;
    position: relative;
}

.info-block-content li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--warm);
}

/* ─── SECTION: PORTFOLIO/PROFS ─── */
.section-encadrement {
    padding: 7rem 0;
    background: var(--sand-light);
}

.enc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.enc-left h2 {
    font-size: clamp(2.2rem, 3.5vw, 3.5rem);
    font-weight: 300;
    color: var(--ink);
    margin: 0.5rem 0 1.5rem;
}

.enc-left h2 em {
    font-style: italic;
    color: var(--warm);
}

.enc-left p {
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--muted);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.enc-profiles {
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid var(--rule);
    border-radius: 2px;
    overflow: hidden;
}

.enc-profile {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--rule);
    background: #fff;
}

.enc-profile:last-child {
    border-bottom: none;
}

.enc-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--warm-pale);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--warm);
    font-family: "Cormorant Garamond", serif;
    font-size: 1rem;
}

.enc-avatar svg {
    width: 18px;
    height: 18px;
}

.enc-profile-title {
    font-family: "Cormorant Garamond", serif;
    font-size: 1rem;
    font-weight: 400;
    color: var(--ink);
}

.enc-profile-sub {
    font-size: 0.78rem;
    font-weight: 300;
    color: var(--muted);
}

/* ─── CTA ─── */
.section-cta {
    padding: 6rem 0;
    background: #fff;
    border-top: 1px solid var(--rule);
}

.cta-inner {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 3rem;
    flex-wrap: wrap;
}

.cta-text h2 {
    font-size: clamp(2.5rem, 4vw, 4.5rem);
    font-weight: 300;
    color: var(--ink);
}

.cta-text h2 em {
    font-style: italic;
    color: var(--warm);
}

.cta-text p {
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--muted);
    line-height: 1.7;
    max-width: 480px;
    margin-top: 1rem;
}

.cta-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    min-width: 220px;
}

/* ─── CONTACT ─── */
.section-contact {
    padding: 6rem 0;
    background: var(--sand-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 6rem;
    align-items: start;
}

.contact-left h2 {
    font-size: clamp(1.8rem, 2.5vw, 2.8rem);
    font-weight: 300;
    color: var(--ink);
    margin: 0.5rem 0 1.5rem;
}

.contact-detail {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-row {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-row-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--warm);
    flex-shrink: 0;
}

.contact-row-icon svg {
    width: 18px;
    height: 18px;
}

.contact-row-label {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 2px;
}

.contact-row-val {
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--ink);
}

.contact-row-val a {
    color: inherit;
    text-decoration: none;
}

.contact-row-val a:hover {
    color: var(--warm);
}

.contact-form-wrap {
    background: #fff;
    padding: 2.5rem;
    border: 1px solid var(--rule);
    border-radius: 2px;
}

.form-title {
    font-family: "Cormorant Garamond", serif;
    font-size: 1.6rem;
    font-weight: 400;
    color: var(--ink);
    margin-bottom: 0.4rem;
}

.form-sub {
    font-size: 0.82rem;
    font-weight: 300;
    color: var(--muted);
    margin-bottom: 2rem;
}

.fg {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-bottom: 1rem;
}

.fr {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

label {
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
}

input,
select,
textarea {
    width: 100%;
    padding: 0.7rem 0;
    border: none;
    border-bottom: 1px solid var(--rule);
    font-family: "Outfit", sans-serif;
    font-size: 0.88rem;
    font-weight: 300;
    color: var(--ink);
    background: transparent;
    outline: none;
    transition: border-color 0.2s;
    border-radius: 0;
    -webkit-appearance: none;
}

input[type="checkbox"],
input[type="radio"] {
    border: 1px solid var(--rule);
    width: 15px;
    height: 15px;
}

input[type="radio"] {
    -webkit-appearance: radio;
}
input[type="checkbox"] {
    -webkit-appearance: checkbox;
}

input:focus,
select:focus,
textarea:focus {
    border-bottom-color: var(--warm);
}

input[type="checkbox"]:focus,
input[type="radio"]:focus {
    border-color: var(--warm);
}

textarea {
    resize: vertical;
    min-height: 80px;
}

select {
    cursor: pointer;
}

.form-submit {
    width: 100%;
    padding: 0.85rem;
    margin-top: 0.5rem;
    background: var(--ink);
    color: #fff;
    border: none;
    font-family: "Outfit", sans-serif;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 2px;
    transition: background 0.2s;
}

.form-submit:hover {
    background: var(--warm);
}

.fg-privacy {
    margin-top: 0.5rem;
}

.privacy-label {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    cursor: pointer;
    font-size: 0.82rem;
    font-weight: 300;
    color: var(--muted);
    line-height: 1.5;
}

.privacy-label input[type="checkbox"] {
    flex-shrink: 0;
    margin-top: 2px;
    accent-color: var(--warm);
    width: 15px;
    height: 15px;
    cursor: pointer;
}

.privacy-label a {
    color: var(--warm);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.form-errors {
    background: rgba(180, 50, 30, 0.08);
    border-left: 3px solid rgba(180, 50, 30, 0.6);
    border-radius: 0 2px 2px 0;
    padding: 0.85rem 1rem;
    margin-bottom: 1.25rem;
}

.form-errors p {
    font-size: 0.8rem;
    color: rgba(180, 50, 30, 0.9);
    margin: 0;
    line-height: 1.6;
}

/* ─── FOOTER ─── */
.site-footer {
    background: var(--ink);
    padding: 5rem 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-top {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: 4rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

/* Colonne brand */
.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-logo-img {
    display: block;
    width: fit-content;
}

.footer-logo-img img {
    height: 36px;
    width: auto;
    display: block;
    opacity: 0.9;
}

.footer-logo-text {
    font-family: "Cormorant Garamond", serif;
    font-size: 1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.06em;
}

.footer-logo-text span {
    color: var(--warm);
}

.footer-tagline {
    font-size: 0.8rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin: 0;
    max-width: 280px;
}

.footer-socials {
    display: flex;
    gap: 0.6rem;
    margin-top: 0.5rem;
}

.footer-social {
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.45);
    transition: all 0.2s;
    text-decoration: none;
}

.footer-social:hover {
    border-color: var(--warm);
    color: var(--warm);
}

/* Colonnes nav */
.footer-col {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.footer-col-title {
    font-size: 0.68rem !important;
    letter-spacing: 0.16em;
    color: rgba(255, 255, 255, 0.9) !important;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-nav {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    padding: 0;
    margin: 0;
}

.footer-nav a {
    font-size: 0.82rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    transition: color 0.15s;
    letter-spacing: 0.02em;
}

.footer-nav a:hover {
    color: rgba(255, 255, 255, 0.9);
}

.footer-cta {
    margin-top: auto;
    font-size: 0.78rem;
    padding: 0.65rem 1.25rem;
    align-self: flex-start;
}

/* Barre basse */
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1.5rem 0;
}

.footer-copy {
    font-size: 0.72rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.04em;
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-bottom-links a,
.footer-cookies-btn {
    font-size: 0.72rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: color 0.15s;
    letter-spacing: 0.04em;
}

.footer-bottom-links a:hover,
.footer-cookies-btn:hover {
    color: rgba(255, 255, 255, 0.9);
}

.footer-sep {
    color: rgba(255, 255, 255, 0.15);
    font-size: 0.72rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
    .footer-brand {
        grid-column: 1 / -1;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: flex-start;
        gap: 2rem;
    }
    .footer-tagline {
        max-width: 100%;
    }
}

@media (max-width: 640px) {
    .site-footer {
        padding: 3.5rem 0 0;
    }
    .footer-top {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .footer-brand {
        flex-direction: column;
        gap: 1rem;
    }
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
}

/* ─── MODALS ─── */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(28, 24, 20, 0.7);
    z-index: 200;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    max-width: 100vw !important;
    max-height: 100vh;
}

.modal-overlay.open {
    display: flex;
}

.modal {
    background: #fff;
    width: 100%;
    max-width: min(480px, calc(100vw - 20px)) !important;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 2px;
}

.modal-hd {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 2rem 1rem;
    border-bottom: 1px solid var(--rule);
}

.modal-hd-title {
    font-family: "Cormorant Garamond", serif;
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--ink);
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.4rem;
    cursor: pointer;
    color: var(--muted);
    line-height: 1;
    padding: 4px;
}

.modal-close:hover {
    color: var(--ink);
}

.modal-bd {
    padding: 1.5rem 2rem 2rem;
}

.modal-intro {
    font-size: 0.85rem;
    font-weight: 300;
    color: var(--muted);
    margin-bottom: 1.5rem;
    line-height: 1.65;
}

.form-success {
    display: none;
    text-align: center;
    padding: 2.5rem;
}

.form-success-mark {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--warm-pale);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    color: var(--warm);
    font-size: 1.3rem;
}

.form-success h3 {
    font-family: "Cormorant Garamond", serif;
    font-size: 1.5rem;
    color: var(--ink);
    margin-bottom: 0.5rem;
}

.form-success p {
    font-size: 0.85rem;
    color: var(--muted);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 960px) {
    .nav-links,
    .nav-cta {
        display: none;
    }

    .ham {
        display: flex;
    }

    .hero {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .hero-left {
        padding: 4rem 2rem;
    }

    .hero-right {
        justify-content: center;
        align-items: flex-start;
        min-height: 450;
    }

    .rentrees {
        flex-direction: row;
        top: auto;
        bottom: 1.5rem;
        right: 1.5rem;
        left: 1.5rem;
        justify-content: center;
        flex-wrap: wrap;
    }

    .why-grid,
    .infos-grid,
    .enc-grid,
    .contact-grid,
    .pedagogy-intro {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .debouches-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pedagogy-modules {
        grid-template-columns: 1fr 1fr;
    }

    .cta-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .cta-actions {
        flex-direction: row;
    }
}

@media (max-width: 620px) {
    .nav-logo img {
        height: 25px;
    }

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

    .debouches-grid {
        grid-template-columns: 1fr;
    }

    .pedagogy-modules {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        gap: 1.5rem;
    }

    .tools-inner {
        gap: 1.5rem;
    }

    .cta-actions {
        flex-direction: column;
    }

    .infos-grid {
        gap: 2.5rem;
    }

    .rentrees {
        justify-content: center !important;
        flex-wrap: wrap;
    }

    .why-big-percent {
        font-size: 2.5rem;
        margin-top: 1.5rem;
    }
    .why-big-label {
        font-size: 0.7rem;
        margin-top: -0.5rem;
    }
}

/* ─── NAV : DROPDOWN (Accueil / Programmes) ─── */
.nav-dropdown {
    position: relative;
}

/* Pont invisible mais bien survolable entre le lien et le menu : sans lui,
   la souris traverse une zone qui n'appartient ni au lien ni au menu (masqué
   par visibility:hidden tant qu'il est fermé) et perd le survol avant d'y
   arriver. Sa hauteur doit correspondre à l'écart utilisé par .nav-dropdown-menu. */
.nav-dropdown::after {
    content: "";
    position: absolute;
    top: 100%;
    left: -1rem;
    right: -1rem;
    height: 14px;
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.15s ease;
    z-index: 40;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.nav-dropdown-menu-inner {
    min-width: 220px;
    background: #fff;
    border: 1px solid var(--rule);
    border-radius: 2px;
    box-shadow: 0 12px 32px rgba(28, 24, 20, 0.1);
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    transform: translateY(-4px);
    transition: transform 0.15s ease;
}

.nav-dropdown:hover .nav-dropdown-menu-inner,
.nav-dropdown:focus-within .nav-dropdown-menu-inner {
    transform: translateY(0);
}

.nav-dropdown-menu a {
    display: block;
    padding: 0.6rem 0.9rem;
    font-size: 0.82rem;
    color: var(--ink-soft);
    text-decoration: none;
    border-radius: 2px;
    white-space: nowrap;
}

.nav-dropdown-menu a:hover {
    background: var(--sand-light);
    color: var(--warm-dark);
}

/* ─── PAGES PROGRAMMES : mockup illustratif (en attendant de vraies captures) ─── */
.mockup-window {
    border: 1px solid var(--rule);
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 20px 48px rgba(28, 24, 20, 0.08);
}

.mockup-titlebar {
    display: flex;
    gap: 6px;
    padding: 0.7rem 0.9rem;
    background: var(--sand-light);
    border-bottom: 1px solid var(--rule);
}

.mockup-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--rule);
}

.mockup-body {
    display: flex;
    min-height: 260px;
}

.mockup-caption {
    margin-top: 0.75rem;
    font-size: 0.72rem;
    font-style: italic;
    color: var(--muted);
    text-align: center;
}

/* variante "cours en ligne" : sidebar de modules + lecteur */
.mockup-sidebar {
    width: 34%;
    padding: 1.25rem 1rem;
    border-right: 1px solid var(--rule);
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.mockup-line {
    height: 8px;
    border-radius: 4px;
    background: var(--rule);
    width: 100%;
}

.mockup-line-title {
    width: 60%;
    height: 10px;
    background: var(--ink-soft);
    opacity: 0.3;
}

.mockup-line-active {
    background: var(--warm);
    opacity: 0.5;
}

.mockup-player {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--sand-light), #fff);
}

.mockup-play-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--warm);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

/* variante "formations courtes" : barre d'outils + canevas logiciel */
.mockup-body-software {
    flex-direction: column;
}

.mockup-toolbar {
    display: flex;
    gap: 0.6rem;
    padding: 0.9rem 1.25rem;
    border-bottom: 1px solid var(--rule);
}

.mockup-tool {
    width: 28px;
    height: 28px;
    border-radius: 4px;
    background: var(--sand-light);
    border: 1px solid var(--rule);
}

.mockup-canvas {
    flex: 1;
    position: relative;
    background: linear-gradient(135deg, #fff, var(--sand-light));
}

.mockup-shape {
    position: absolute;
    border: 1.5px solid var(--warm);
    opacity: 0.55;
}

.mockup-shape-1 {
    width: 120px;
    height: 90px;
    top: 30px;
    left: 40px;
    border-radius: 4px;
}

.mockup-shape-2 {
    width: 80px;
    height: 80px;
    bottom: 25px;
    right: 50px;
    border-radius: 50%;
}

.mob-menu-label {
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
    border-top: 1px solid var(--rule);
    padding-top: 0.75rem;
    margin: 0.5rem 0 0.25rem;
}

.mob-menu-label:first-child {
    margin-top: 0;
}

/* ─── FAQ : accordéon réutilisable ─── */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

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

.faq-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 0;
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--ink);
    cursor: pointer;
    list-style: none;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-item-icon {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    position: relative;
}

.faq-item-icon::before,
.faq-item-icon::after {
    content: "";
    position: absolute;
    background: var(--warm);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.faq-item-icon::before {
    width: 12px;
    height: 1.5px;
}

.faq-item-icon::after {
    width: 1.5px;
    height: 12px;
    transition: transform 0.2s ease;
}

.faq-item[open] .faq-item-icon::after {
    transform: translate(-50%, -50%) scaleY(0);
}

.faq-answer p {
    font-size: 0.88rem;
    font-weight: 300;
    color: var(--muted);
    line-height: 1.7;
    padding: 0 0 0.5rem;
}

/* ─── HOME : cartes "Nos programmes" ─── */
.section-programs-teaser {
    padding: 6rem 0;
    background: var(--sand-light);
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
}

.programs-teaser-head {
    max-width: 620px;
    margin-bottom: 3rem;
}

.programs-teaser-head p {
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--muted);
    line-height: 1.7;
    margin-top: 0.75rem;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
}

.program-card {
    display: flex;
    flex-direction: column;
    padding: 2rem;
    background: #fff;
    border: 1px solid var(--rule);
    border-radius: 2px;
    text-decoration: none;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.program-card:hover {
    border-color: var(--warm);
    box-shadow: 0 4px 24px rgba(184, 121, 65, 0.1);
    transform: translateY(-2px);
}

.program-card-tag {
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--warm);
    margin-bottom: 1rem;
}

.program-card-title {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--ink);
    margin-bottom: 0.75rem;
}

.program-card-desc {
    font-size: 0.85rem;
    font-weight: 300;
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex: 1;
}

.program-card-link {
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: var(--ink);
}

.program-card:hover .program-card-link {
    color: var(--warm-dark);
}

/* ─── HOME : formations courtes ─── */
.section-short-trainings {
    padding: 7rem 0;
}

.stc-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
    margin-bottom: 3.5rem;
}

.stc-intro h2 {
    font-size: clamp(2.2rem, 3.5vw, 3.5rem);
    font-weight: 300;
    color: var(--ink);
    margin-top: 0.5rem;
}

.stc-intro h2 em {
    font-style: italic;
    color: var(--warm);
}

.stc-intro p {
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--muted);
    line-height: 1.8;
}

.stc-tools {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.stc-tool {
    padding: 1.5rem;
    border: 1px solid var(--rule);
    border-radius: 2px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.stc-tool:hover {
    border-color: var(--warm);
    box-shadow: 0 4px 24px rgba(184, 121, 65, 0.08);
}

.stc-tool-name {
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--ink);
    margin-bottom: 0.5rem;
}

.stc-tool-desc {
    font-size: 0.82rem;
    font-weight: 300;
    color: var(--muted);
    line-height: 1.5;
}

.stc-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
    padding-top: 2rem;
    border-top: 1px solid var(--rule);
}

.stc-note {
    font-size: 0.85rem;
    font-weight: 300;
    color: var(--muted);
}

/* ─── HOME : cours en ligne ─── */
.section-online-courses {
    padding: 7rem 0;
    /* background: var(--sand-light); */
}

.oc-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
    margin-bottom: 3.5rem;
}

.oc-intro h2 {
    font-size: clamp(2.2rem, 3.5vw, 3.5rem);
    font-weight: 300;
    color: var(--ink);
    margin-top: 0.5rem;
}

.oc-intro h2 em {
    font-style: italic;
    color: var(--warm);
}

.oc-intro p {
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--muted);
    line-height: 1.8;
}

.oc-steps {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.oc-step {
    padding: 2rem;
    background: #fff;
    border: 1px solid var(--rule);
    border-radius: 2px;
}

.oc-step-num {
    font-size: 1.6rem;
    font-weight: 300;
    color: var(--warm);
    margin-bottom: 0.75rem;
}

.oc-step-title {
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--ink);
    margin-bottom: 0.75rem;
}

.oc-step-text {
    font-size: 0.88rem;
    font-weight: 300;
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.oc-step-tag {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
    padding: 0.4rem 0.75rem;
    border: 1px solid var(--rule);
    border-radius: 2px;
}

.oc-step-tag-warm {
    color: var(--warm-dark);
    border-color: var(--warm);
    background: var(--warm-pale);
}

.oc-footer {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

@media (max-width: 900px) {
    .stc-intro,
    .oc-intro,
    .program-detail-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .stc-tools {
        grid-template-columns: 1fr 1fr;
    }

    .programs-grid {
        grid-template-columns: 1fr;
    }

    .oc-steps {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .stc-tools {
        grid-template-columns: 1fr;
    }
}

/* ─── HOME : aperçu FAQ ─── */
.section-faq-preview {
    padding: 6rem 0;
}

.faq-preview-head {
    margin-bottom: 2.5rem;
}

.faq-preview-head h2 {
    font-size: clamp(2.2rem, 3.5vw, 3.5rem);
    font-weight: 300;
    color: var(--ink);
    margin-top: 0.5rem;
}

.faq-preview-head h2 em {
    font-style: italic;
    color: var(--warm);
}

.section-faq-preview .faq-list {
    max-width: 720px;
    margin-bottom: 2.5rem;
}

/* ─── Pages programmes : hero & bloc rencontre ─── */
.pg-hero {
    padding: 8rem 0 5rem;
    background: var(--sand-light, #f9f6f2);
}

.pg-hero h1 {
    font-size: clamp(2.2rem, 4.5vw, 4rem);
    font-weight: 300;
    line-height: 1.1;
    color: var(--ink);
    margin: 0.5rem 0 1.5rem;
    max-width: 900px;
}

.pg-hero h1 strong {
    font-weight: 600;
    color: var(--warm);
}

.pg-hero h1 em {
    font-style: italic;
    color: var(--warm-dark);
}

.pg-lead {
    font-size: 1rem;
    font-weight: 300;
    color: var(--muted);
    line-height: 1.8;
    max-width: 620px;
}

.pg-lead mark {
    background: var(--warm);
    color: #fff;
    padding: 0 0.4rem;
}

.pg-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 3rem;
    margin: 2.5rem 0;
}

.pg-fact {
    padding-left: 1rem;
    border-left: 2px solid var(--warm);
}

.pg-fact dt {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--warm-dark);
}

.pg-fact dd {
    margin: 0.2rem 0 0;
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--ink);
}

.pg-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.pg-meeting {
    padding: 0 0 7rem;
}

.pg-meeting-card {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 3rem;
    align-items: center;
    padding: 3rem;
    background: var(--ink);
    color: #fff;
    border-radius: 2px;
}

.pg-meeting-card h2 {
    font-size: clamp(1.7rem, 2.6vw, 2.3rem);
    font-weight: 300;
    margin: 0.5rem 0 1rem;
}

.pg-meeting-card p {
    font-size: 0.92rem;
    font-weight: 300;
    line-height: 1.8;
    opacity: 0.85;
}

.pg-contacts {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.8rem;
}

.pg-contacts a {
    color: #fff;
    text-decoration: none;
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

@media (max-width: 900px) {
    .pg-hero {
        padding-top: 6rem;
    }

    .pg-meeting-card {
        grid-template-columns: 1fr;
        padding: 2rem;
        gap: 2rem;
    }
}
