/* ==========================================================================
   dianehypnose.fr - Stylesheet
   ========================================================================== */

/* --- Fonts --- */
@font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('../fonts/playfair-display-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('../fonts/playfair-display-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Playfair Display';
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/playfair-display-italic-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Playfair Display';
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/playfair-display-italic-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Source Sans 3';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('../fonts/source-sans-3-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Source Sans 3';
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url('../fonts/source-sans-3-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* --- Variables CSS --- */
:root {
    --color-primary: #14587a;
    --color-primary-dark: #1E3A5F;
    --color-primary-light: #E8EFF6;
    --color-warm: #F5F0EB;
    --color-text: #2D2D2D;
    --color-text-secondary: #5A5A5A;
    --color-bg: #FAFAF8;
    --color-white: #FFFFFF;

    --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-body: 'Source Sans 3', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

    --radius: 12px;
    --radius-pill: 50px;
    --shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 6px 20px rgba(0, 0, 0, 0.12);
    --transition: 0.3s ease;

    --container: 1400px;
    --header-height: 80px;
}

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

html {
    font-size: 125%;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--color-primary-dark);
}

ul, ol {
    list-style: none;
}

/* --- Typography --- */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--color-primary-dark);
    line-height: 1.3;
    font-weight: 700;
}

h1 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

h2 {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
}

h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

p {
    margin-bottom: 1rem;
}

/* --- Layout --- */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 1.25rem;
}

.section {
    padding: 4rem 0;
}

.section--warm {
    background-color: var(--color-warm);
}

.section--light {
    background-color: var(--color-primary-light);
}

.section__subtitle {
    color: var(--color-text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 700px;
}

.text-center {
    text-align: center;
}

/* --- Header --- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--color-white);
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
    height: var(--header-height);
    transition: box-shadow var(--transition);
}

.site-header.scrolled {
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.1);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 1.25rem;
}

.header-logo a {
    display: flex;
    align-items: center;
}

.header-logo__img {
    height: 50px;
    width: auto;
}

/* Navigation */
.main-nav ul {
    display: flex;
    gap: 1.75rem;
    align-items: center;
}

.main-nav a {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-text);
    position: relative;
    padding: 0.25rem 0;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: width var(--transition);
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--color-primary);
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

/* Header actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-phone {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 600;
    color: var(--color-primary-dark);
    white-space: nowrap;
}

.header-phone svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.header-phone-text {
    display: inline;
}

/* Burger menu */
.burger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text);
    margin: 5px 0;
    transition: var(--transition);
    border-radius: 2px;
}

.burger.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.burger.open span:nth-child(2) {
    opacity: 0;
}

.burger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius-pill);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    line-height: 1.4;
}

.btn--primary {
    background: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
    box-shadow: 0 2px 8px rgba(91, 138, 114, 0.3);
}

.btn--primary:hover {
    background: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(91, 138, 114, 0.4);
}

.btn--secondary {
    background: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn--secondary:hover {
    background: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-2px);
}

.btn--small {
    font-size: 0.85rem;
    padding: 0.5rem 1.25rem;
}

/* --- Hero --- */
.hero {
    padding: 5rem 0 4rem;
    background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-warm) 100%);
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.hero__content {
    flex: 1;
}

.hero--text-only .container {
    display: block;
    max-width: 800px;
    text-align: center;
}

.hero--text-only .hero__actions {
    justify-content: center;
}

.hero__image {
    flex: 0 0 380px;
    position: relative;
}

.hero__image img {
    border-radius: 20px;
    box-shadow: 0 4px 24px rgba(61, 107, 84, 0.14), 0 1px 4px rgba(0, 0, 0, 0.06);
    border-bottom: 4px solid var(--color-primary);
    object-fit: cover;
}

.hero__tagline {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.2rem;
    color: var(--color-primary-dark);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.hero__text {
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
    color: var(--color-text-secondary);
}

.hero__actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.hero__price {
    display: inline-block;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--color-text-secondary);
}

/* Hero medallion portrait */
.hero__medallion {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    object-fit: cover;
    object-position: top;
    display: block;
    margin: 0 auto 1.5rem;
    border: 3px solid var(--color-primary);
    box-shadow:
        0 0 0 4px var(--color-white),
        0 0 0 7px var(--color-primary-light),
        0 4px 16px rgba(61, 107, 84, 0.14);
}

/* --- Badges / Trust --- */
.badges {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 2rem 0;
}

.badge {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    background: var(--color-white);
    padding: 0.75rem 1rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    font-size: 0.9rem;
    flex: 1;
    min-width: 250px;
}

.badge svg {
    width: 20px;
    height: 20px;
    color: var(--color-primary);
    flex-shrink: 0;
    margin-top: 2px;
}

/* --- Cards --- */
.card {
    background: var(--color-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 1.5rem;
    transition: box-shadow var(--transition), transform var(--transition);
}

.card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

/* --- Persona cards --- */
.personas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.persona-card {
    position: relative;
    padding: 2rem 1.5rem 1.5rem;
    border-left: 4px solid var(--color-primary);
    overflow: hidden;
}
.persona-card:nth-child(2) {
    border-left-color: #5a8a6a;
}
.persona-card:nth-child(3) {
    border-left-color: #8a6a5a;
}

.persona-card h3 {
    font-size: 1.05rem;
    margin-bottom: 0.75rem;
}

.persona-card__situation {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
    padding-bottom: 0.75rem;
    margin-bottom: 0.75rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.persona-card p:not(.persona-card__situation) {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
    color: var(--color-primary-dark);
}

.persona-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.persona-card ul li {
    position: relative;
    padding-left: 1.2rem;
    font-size: 0.88rem;
    line-height: 1.7;
}
.persona-card ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-primary);
}
.persona-card:nth-child(2) ul li::before {
    background: #5a8a6a;
}
.persona-card:nth-child(3) ul li::before {
    background: #8a6a5a;
}

/* Hover persona */
.persona-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-3px);
}

/* --- Problematiques list --- */
.problematiques {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 0.75rem;
    margin: 1.5rem 0;
}

.problematique-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: var(--color-white);
    border-radius: 8px;
    border-left: 3px solid var(--color-primary);
    font-size: 0.95rem;
}

.problematique-item svg {
    width: 18px;
    height: 18px;
    color: var(--color-primary);
    flex-shrink: 0;
}

/* --- Tarifs --- */
.tarif-card {
    text-align: center;
    padding: 2rem;
    border: 2px solid var(--color-primary-light);
}

.tarif-card--featured {
    border-color: var(--color-primary);
    position: relative;
}

.tarif-card--featured::before {
    content: 'Recommande';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-primary);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.2rem 0.75rem;
    border-radius: var(--radius-pill);
}

.tarif-price {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-primary-dark);
    margin: 0.5rem 0;
}

.tarif-price span {
    font-size: 1.2rem;
    font-weight: 400;
}

.tarif-duration {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* --- FAQ / Accordion --- */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #e0e0e0;
}

.faq-item summary {
    padding: 1.25rem 2rem 1.25rem 0;
    font-weight: 600;
    font-size: 1.05rem;
    cursor: pointer;
    position: relative;
    list-style: none;
    color: var(--color-text);
    transition: color var(--transition);
}

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

.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--color-primary);
    transition: transform var(--transition);
}

.faq-item[open] summary::after {
    content: '\2212';
}

.faq-item summary:hover {
    color: var(--color-primary);
}

.faq-item .faq-answer {
    padding: 0 0 1.25rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

/* --- Deroulement seance (steps) --- */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.step {
    text-align: center;
    padding: 2rem 1.5rem;
}

.step__number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    color: var(--color-primary-dark);
    margin-bottom: 0.75rem;
}

.step h3 {
    color: var(--color-primary-dark);
}

/* --- Formations grid (Qui suis-je) --- */
.formations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.formation-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 1.5rem;
    border-top: 3px solid var(--color-primary);
}

.formation-card__logo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 140px;
    margin-bottom: 1.5rem;
    padding: 1rem;
}

.formation-card__logo {
    max-height: 120px;
    max-width: 280px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.formation-card h3 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
    color: var(--color-primary-dark);
}

.formation-card__detail {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    line-height: 1.5;
}

.formation-card__year {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    font-style: italic;
    margin-top: auto;
    padding-top: 0.75rem;
}

/* --- Parcours grid (Qui suis-je) --- */
.parcours-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

/* --- Thematiques --- */
.thematique {
    padding: 2rem;
    border-left: 4px solid var(--color-primary);
    margin-bottom: 1.5rem;
}

.thematique h3 {
    margin-bottom: 1rem;
}

.thematique ul {
    list-style: disc;
    padding-left: 1.25rem;
}

.thematique ul li {
    margin-bottom: 0.5rem;
    color: var(--color-text-secondary);
}

/* --- Contact form --- */
.contact-form {
    max-width: 600px;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.4rem;
    font-size: 0.9rem;
}

.form-group label .required {
    color: #c0392b;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #d0d0d0;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: border-color var(--transition), box-shadow var(--transition);
    background: var(--color-white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(91, 138, 114, 0.15);
}

.form-group textarea {
    min-height: 140px;
    resize: vertical;
}

.form-group input.error,
.form-group textarea.error {
    border-color: #c0392b;
}

.form-group .error-msg {
    color: #c0392b;
    font-size: 0.8rem;
    margin-top: 0.3rem;
    display: none;
}

.form-group input.error ~ .error-msg,
.form-group textarea.error ~ .error-msg {
    display: block;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.form-checkbox input[type="checkbox"] {
    width: auto;
    margin-top: 0.25rem;
    accent-color: var(--color-primary);
}

.form-checkbox label {
    font-weight: 400;
    font-size: 0.85rem;
    color: var(--color-text-secondary);
}

/* Honeypot */
.ohnohoney {
    display: none !important;
    position: absolute !important;
    left: -9999px !important;
}

.form-message {
    padding: 1rem 1.25rem;
    border-radius: 8px;
    margin-top: 1rem;
    font-size: 0.95rem;
    display: none;
}

.form-message--success {
    background: var(--color-primary-light);
    color: var(--color-primary-dark);
    border: 1px solid var(--color-primary);
}

.form-message--error {
    background: #fdf0ef;
    color: #c0392b;
    border: 1px solid #e8c6c3;
}

/* --- Map --- */
.map-wrapper {
    position: relative;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin: 1.5rem 0;
    overflow: hidden;
}

#map {
    height: 350px;
}

/* Zoom controls custom */
.leaflet-control-zoom a {
    width: 32px !important;
    height: 32px !important;
    line-height: 32px !important;
    font-size: 16px !important;
    color: var(--color-primary-dark) !important;
    border-color: rgba(0, 0, 0, 0.1) !important;
    transition: background 0.2s ease, color 0.2s ease;
}
.leaflet-control-zoom a:hover {
    background: var(--color-primary) !important;
    color: var(--color-white) !important;
}

/* Layer switcher custom */
.leaflet-control-layers {
    border-radius: 8px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
    border: none !important;
    font-family: var(--font-body) !important;
    font-size: 0.8rem !important;
}
.leaflet-control-layers-toggle {
    width: 32px !important;
    height: 32px !important;
}

/* --- Lieu / Infos pratiques --- */
.infos-pratiques {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.infos-pratiques .info-block {
    margin-bottom: 1.5rem;
}

.infos-pratiques .info-block h3 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

/* --- Footer --- */
.site-footer {
    background: var(--color-primary-dark);
    color: rgba(255, 255, 255, 0.85);
    padding: 3rem 0 1.5rem;
}

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

.footer-col h4 {
    color: var(--color-white);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.footer-col p,
.footer-col a {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
    line-height: 1.8;
}

.footer-col a:hover {
    color: var(--color-white);
}

.footer-col ul li {
    margin-bottom: 0.5rem;
}

.footer-col ul a {
    display: inline-block;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
}

.footer-legal a:hover {
    color: var(--color-white);
}

/* --- Section CTA (call to action en bas de page) --- */
.section-cta {
    text-align: center;
    padding: 3.5rem 0;
    background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-warm) 100%);
}

.section-cta h2 {
    margin-bottom: 0.75rem;
}

.section-cta p {
    color: var(--color-text-secondary);
    margin-bottom: 1.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Internal links row --- */
.links-row {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

/* --- Page header (inner pages) --- */
.page-header {
    padding: 3rem 0 2.5rem;
    background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-warm) 100%);
    text-align: center;
}

.page-header h1 {
    margin-bottom: 0.5rem;
}

.page-header p {
    color: var(--color-text-secondary);
    max-width: 650px;
    margin: 0 auto;
    font-size: 1.05rem;
}

/* --- Legal pages --- */
.legal-content h2 {
    font-size: 1.4rem;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.legal-content h3 {
    font-size: 1.15rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.legal-content p {
    color: var(--color-text-secondary);
}

/* --- Skip link (accessibility) --- */
.skip-link {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link:focus {
    position: fixed;
    top: 1rem;
    left: 1rem;
    width: auto;
    height: auto;
    padding: 0.5rem 1rem;
    margin: 0;
    overflow: visible;
    clip: auto;
    white-space: normal;
    background: var(--color-primary);
    color: white;
    z-index: 9999;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 768px) {
    :root {
        --header-height: 64px;
    }

    h1 { font-size: 1.65rem; }
    h2 { font-size: 1.4rem; }

    .header-logo__img {
        height: 40px;
    }

    .burger {
        display: block;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--color-white);
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
        padding: 5rem 2rem 2rem;
        transition: right var(--transition);
        z-index: 1000;
        overflow-y: auto;
    }

    .main-nav.open {
        right: 0;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 0;
    }

    .main-nav a {
        display: block;
        padding: 0.75rem 0;
        font-size: 1.05rem;
        border-bottom: 1px solid #f0f0f0;
    }

    .main-nav a::after {
        display: none;
    }

    .nav-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.4);
        z-index: 999;
    }

    .nav-overlay.active {
        display: block;
    }

    .header-phone-text {
        display: none;
    }

    .header-actions .btn {
        display: none;
    }

    /* Hero */
    .hero__medallion {
        width: 110px;
        height: 110px;
        margin-bottom: 1.25rem;
    }

    .hero .container {
        flex-direction: column-reverse;
        text-align: center;
    }

    .hero__image {
        flex: 0 0 auto;
        max-width: 280px;
        margin: 0 auto;
    }

    .hero__actions {
        justify-content: center;
    }

    .badges {
        flex-direction: column;
    }

    .badge {
        min-width: auto;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    /* Personas */
    .personas-grid {
        grid-template-columns: 1fr;
    }

    /* Formations */
    .formations-grid {
        grid-template-columns: 1fr;
    }

    /* Parcours */
    .parcours-grid {
        grid-template-columns: 1fr;
    }

    /* Infos pratiques */
    .infos-pratiques {
        grid-template-columns: 1fr;
    }

    /* Steps */
    .steps {
        grid-template-columns: 1fr;
    }

    /* Section */
    .section {
        padding: 2.5rem 0;
    }
}

@media (max-width: 480px) {
    h1 { font-size: 1.4rem; }
    h2 { font-size: 1.2rem; }

    .hero {
        padding: 3rem 0;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .hero__actions {
        flex-direction: column;
    }

    .tarif-card {
        padding: 1.5rem;
    }
}
