/* ========================================
   Disser Avocats — Main Stylesheet
   ======================================== */

:root {
    --burgundy: #8E2F5A;
    --coral: #E38174;
    --gold: #E4CB69;
    --teal: var(--coral);
    --peach: var(--gold);
    --dark: #1d1d1f;
    --text: #3a3a3c;
    --text-light: #86868b;
    --bg: #f5f5f7;
    --white: #ffffff;
    --border: rgba(0,0,0,0.06);
    --max-width: 1100px;
    --header-height: 72px;
    --radius: 16px;
    --radius-sm: 10px;
}

/* Reset */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.75;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--teal); text-decoration: none; transition: color 0.3s ease; }
a:hover { color: var(--burgundy); }

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
    outline: 2px solid var(--teal);
    outline-offset: 3px;
}

/* ---- Layout ---- */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 2rem; }

/* ---- Header ---- */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: rgba(245, 245, 247, 0.75);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    height: var(--header-height);
    transition: box-shadow 0.4s ease;
}

.site-header.scrolled { box-shadow: 0 1px 40px rgba(0,0,0,0.06); }

.header-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

/* ---- Logo ---- */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--dark);
    flex-shrink: 0;
}

.logo-dots { display: flex; gap: 6px; align-items: center; }

.dot { width: 14px; height: 14px; border-radius: 50%; display: inline-block; }
.dot--burgundy { background: var(--burgundy); }
.dot--teal { background: var(--teal); }
.dot--peach { background: var(--peach); }

.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-name { font-size: 1rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--dark); }
.logo-tagline { font-size: 0.6rem; letter-spacing: 0.15em; color: var(--text-light); font-weight: 400; }

/* ---- Navigation ---- */
.main-nav ul { list-style: none; display: flex; gap: 2rem; }

.main-nav a {
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--text);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    position: relative;
    padding: 4px 0;
    white-space: nowrap;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0;
    width: 0; height: 2px;
    background: linear-gradient(90deg, var(--burgundy), var(--coral));
    transition: width 0.3s ease;
    border-radius: 1px;
}

.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }
.main-nav a.active { color: var(--coral); }

/* Hamburger */
.menu-toggle { display: none; background: none; border: none; cursor: pointer; width: 28px; height: 20px; position: relative; }
.hamburger, .hamburger::before, .hamburger::after { display: block; width: 28px; height: 2px; background: var(--dark); border-radius: 2px; transition: all 0.3s; position: absolute; left: 0; }
.hamburger { top: 9px; }
.hamburger::before { content: ''; top: -7px; }
.hamburger::after { content: ''; top: 7px; }
.menu-toggle.open .hamburger { background: transparent; }
.menu-toggle.open .hamburger::before { top: 0; transform: rotate(45deg); }
.menu-toggle.open .hamburger::after { top: 0; transform: rotate(-45deg); }

/* ---- Hero ---- */
.hero {
    margin-top: var(--header-height);
    padding: 7rem 2rem 5rem;
    text-align: center;
    background: linear-gradient(180deg, var(--white) 0%, var(--bg) 100%);
}

.hero-dots { display: flex; justify-content: center; gap: 14px; margin-bottom: 2.5rem; }
.hero-dots .dot {
    width: 44px; height: 44px;
    animation: dotFloat 3s ease-in-out infinite;
    box-shadow: 0 6px 24px rgba(0,0,0,0.1);
}
.hero-dots .dot:nth-child(1) { animation-delay: 0s; }
.hero-dots .dot:nth-child(2) { animation-delay: 0.4s; }
.hero-dots .dot:nth-child(3) { animation-delay: 0.8s; }

@keyframes dotFloat {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-8px) scale(1.06); }
}

.hero h1 {
    font-size: 3.2rem;
    font-weight: 250;
    letter-spacing: 0.1em;
    color: var(--dark);
    text-transform: uppercase;
    margin-bottom: 0.6rem;
}

.hero .subtitle {
    font-size: 1.05rem;
    color: var(--text-light);
    letter-spacing: 0.06em;
    font-weight: 400;
    margin-bottom: 3rem;
}

.hero .tagline {
    font-size: 1.2rem;
    color: var(--text);
    font-weight: 300;
    max-width: 620px;
    margin: 0 auto 4rem;
    line-height: 1.9;
}

.hero-scroll {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--teal);
    text-decoration: none;
    transition: color 0.3s;
}
.hero-scroll:hover { color: var(--burgundy); }
.hero-scroll-text { font-size: 0.82rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; }
.hero-scroll-icon { display: flex; animation: scrollBounce 2s ease-in-out infinite; }

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

/* ---- Buttons ---- */
.btn {
    display: inline-block;
    padding: 13px 32px;
    font-size: 0.82rem;
    font-weight: 500;
    font-family: inherit;
    letter-spacing: 0.06em;
    text-align: center;
    border-radius: 100px;
    border: none;
    transition: all 0.35s ease;
    cursor: pointer;
    text-decoration: none;
    line-height: 1.5;
}

.btn-primary {
    background: linear-gradient(135deg, var(--coral), var(--burgundy));
    color: var(--white);
    box-shadow: 0 4px 16px rgba(227, 129, 116, 0.3);
}
.btn-primary:hover {
    color: var(--white);
    box-shadow: 0 6px 28px rgba(142, 47, 90, 0.35);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--coral);
    box-shadow: inset 0 0 0 1.5px var(--coral);
}
.btn-outline:hover {
    background: var(--coral);
    color: var(--white);
    box-shadow: inset 0 0 0 1.5px var(--coral), 0 4px 16px rgba(227, 129, 116, 0.25);
    transform: translateY(-2px);
}

.btn-linkedin {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #0A66C2;
    color: var(--white);
}
.btn-linkedin:hover { background: #004182; color: var(--white); }

/* ---- Sections ---- */
.section { padding: 7rem 2rem; }
.section--alt { background: var(--white); }

.section-header { text-align: center; margin-bottom: 4rem; }
.section-header h2 {
    font-size: 1.6rem;
    font-weight: 300;
    letter-spacing: 0.1em;
    color: var(--dark);
    text-transform: uppercase;
    margin-bottom: 1.2rem;
}
.section-header .accent-line {
    width: 48px; height: 3px;
    background: linear-gradient(90deg, var(--burgundy), var(--coral), var(--gold));
    margin: 0 auto;
    border-radius: 2px;
}

/* ---- Cards grid ---- */
.cards {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--white);
    border: none;
    border-radius: var(--radius);
    padding: 2.5rem 2rem;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}
.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.16);
}

.card-icon { width: 40px; height: 40px; border-radius: 50%; margin-bottom: 1.5rem; }
.card-icon-wrap { margin-bottom: 1.5rem; }
.card-svg-icon { width: 36px; height: 36px; max-width: 36px; max-height: 36px; display: block; }
.card h3 { font-size: 1.05rem; font-weight: 500; color: var(--dark); margin-bottom: 0.8rem; letter-spacing: 0.04em; }
.card p { font-size: 0.9rem; color: var(--text-light); line-height: 1.7; }

/* ---- About preview (home) ---- */
.about-preview {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}
.about-preview .text h3 { font-size: 1.3rem; font-weight: 300; letter-spacing: 0.06em; color: var(--dark); margin-bottom: 1.2rem; }
.about-preview .text p { font-size: 0.95rem; color: var(--text-light); margin-bottom: 1.5rem; line-height: 1.85; }
.about-preview .visual { display: flex; align-items: center; justify-content: center; }

.about-visual-block {
    width: 100%;
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, var(--burgundy) 0%, var(--teal) 50%, var(--peach) 100%);
    border-radius: var(--radius);
    opacity: 0.12;
}
.about-visual-img {
    width: 100%;
    height: auto;
    border-radius: var(--radius);
    object-fit: cover;
    object-position: center top;
    display: block;
    max-height: 300px;
}

.about-visual-img--square {
    aspect-ratio: 3 / 4;
    max-height: none;
    height: auto;
}

/* ---- Page header ---- */
.page-header {
    margin-top: var(--header-height);
    padding: 5rem 2rem 3rem;
    text-align: center;
    background: linear-gradient(180deg, var(--white) 0%, var(--bg) 100%);
}
.page-header h1 {
    font-size: 2.4rem;
    font-weight: 250;
    letter-spacing: 0.1em;
    color: var(--dark);
    text-transform: uppercase;
    margin-bottom: 1rem;
}
.page-header .accent-line {
    width: 48px; height: 3px;
    background: linear-gradient(90deg, var(--burgundy), var(--coral), var(--gold));
    margin: 0 auto;
    border-radius: 2px;
}

/* ---- Cabinet page ---- */
.bio {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: start;
}
.bio-photo-wrap { width: 100%; border-radius: var(--radius); overflow: hidden; }
.bio-img { width: 100%; height: auto; display: block; border-radius: var(--radius); object-fit: cover; }
.bio-content h2 { font-size: 1.4rem; font-weight: 400; color: var(--dark); margin-bottom: 0.5rem; }
.bio-content .role { font-size: 0.9rem; color: var(--teal); margin-bottom: 2rem; letter-spacing: 0.05em; }
.bio-content p { font-size: 0.95rem; color: var(--text); margin-bottom: 1.2rem; line-height: 1.85; }

.values {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    text-align: center;
}
.value h3 { font-size: 1rem; font-weight: 500; color: var(--dark); margin-bottom: 0.6rem; }
.value p { font-size: 0.88rem; color: var(--text-light); line-height: 1.7; }
.value-dot { width: 24px; height: 24px; border-radius: 50%; margin: 0 auto 1rem; }

/* ---- Competences page ---- */
.competence-intro { max-width: var(--max-width); margin: 0 auto; text-align: center; }
.competence-intro p { font-size: 1.1rem; color: var(--text); line-height: 1.9; max-width: 780px; margin: 0 auto; }

.competence-row { max-width: var(--max-width); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.competence-row--reverse .competence-text { order: 2; }
.competence-row--reverse .competence-visual { order: 1; }

.competence-text h2, .competence-text h3 { font-size: 1.15rem; font-weight: 500; color: var(--dark); margin-bottom: 1rem; display: flex; align-items: center; gap: 10px; }
.competence-text p { font-size: 0.92rem; color: var(--text); line-height: 1.8; margin-bottom: 0.8rem; }
.competence-text ul { list-style: none; padding: 0; margin-bottom: 0.8rem; }
.competence-text ul li { font-size: 0.88rem; color: var(--text-light); padding-left: 16px; position: relative; margin-bottom: 0.4rem; line-height: 1.7; }
.competence-text ul li::before { content: ''; position: absolute; left: 0; top: 10px; width: 6px; height: 6px; border-radius: 50%; background: var(--peach); }

.competence-visual { display: flex; align-items: center; justify-content: center; }
.competence-photo { width: 100%; aspect-ratio: 4/3; border-radius: var(--radius); overflow: hidden; background: linear-gradient(135deg, var(--burgundy) 0%, var(--peach) 100%); opacity: 0.12; }
.competence-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; opacity: 1; }
.competence-photo--has-img { opacity: 1; background: none; }
.competence-photo--center img { object-position: center center; }

/* Stacked blocks */
.competence-block { max-width: var(--max-width); margin: 0 auto; }

/* Two-column split: text + bullets */
.comp-split {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}
.comp-split--reverse .comp-split__text { order: 2; }
.comp-split--reverse .comp-split__list { order: 1; }

.comp-split__icon {
    width: 48px; height: 48px;
    max-width: 48px; max-height: 48px;
    display: block;
    margin-bottom: 1.2rem;
    color: var(--coral);
}

.comp-split__text h3 {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--dark);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}
.comp-split__text p { font-size: 0.92rem; color: var(--text); line-height: 1.85; margin-bottom: 0.8rem; }

.comp-split__list { padding-top: 2.6rem; }
.comp-split__list ul { list-style: none; padding: 0; }
.comp-split__list ul li {
    font-size: 0.88rem;
    color: var(--text);
    padding-left: 20px;
    position: relative;
    margin-bottom: 0.7rem;
    line-height: 1.75;
    opacity: 0;
    transform: translateX(12px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.fade-in.visible .comp-split__list ul li {
    opacity: 1;
    transform: translateX(0);
}

.fade-in.visible .comp-split__list ul li:nth-child(1) { transition-delay: 0.1s; }
.fade-in.visible .comp-split__list ul li:nth-child(2) { transition-delay: 0.18s; }
.fade-in.visible .comp-split__list ul li:nth-child(3) { transition-delay: 0.26s; }
.fade-in.visible .comp-split__list ul li:nth-child(4) { transition-delay: 0.34s; }
.fade-in.visible .comp-split__list ul li:nth-child(5) { transition-delay: 0.42s; }
.fade-in.visible .comp-split__list ul li:nth-child(6) { transition-delay: 0.5s; }
.fade-in.visible .comp-split__list ul li:nth-child(7) { transition-delay: 0.58s; }
.comp-split__list ul li::before {
    content: '';
    position: absolute;
    left: 0; top: 11px;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--peach);
}

@media (max-width: 768px) {
    .comp-split { grid-template-columns: 1fr; gap: 1.5rem; }
    .comp-split--reverse .comp-split__text { order: 1; }
    .comp-split--reverse .comp-split__list { order: 2; }
    .comp-split__list { padding-top: 0; }
}

.competence-block h3 { font-size: 1.2rem; font-weight: 500; color: var(--dark); margin-bottom: 1rem; display: flex; align-items: center; gap: 10px; }
.competence-block p { font-size: 0.92rem; color: var(--text); line-height: 1.85; margin-bottom: 0.8rem; }
.competence-block--duo { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
@media (max-width: 768px) { .competence-block--duo { grid-template-columns: 1fr; gap: 2rem; } }
.competence-block ul { list-style: none; padding: 0; }
.competence-block ul li { font-size: 0.88rem; color: var(--text-light); padding-left: 20px; position: relative; margin-bottom: 0.4rem; line-height: 1.75; }
.competence-block ul li::before { content: ''; position: absolute; left: 0; top: 11px; width: 6px; height: 6px; border-radius: 50%; background: var(--peach); }

/* Competence icon card style for standalone sections */
.comp-card {
    max-width: var(--max-width);
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--radius);
    padding: 3rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.comp-card .comp-split__icon { margin-bottom: 1rem; }

/* ---- Contact page ---- */
.contact-grid {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
}
.contact-info h2, .contact-info h3 { font-size: 1.1rem; font-weight: 500; color: var(--dark); margin-bottom: 1.5rem; }
.contact-item { margin-bottom: 1.5rem; }
.contact-item .label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-light); margin-bottom: 0.3rem; }
.contact-item p, .contact-item a { font-size: 0.95rem; color: var(--text); }

/* Form */
.form-feedback { max-width: var(--max-width); margin: 0 auto; padding: 1rem 2rem; text-align: center; font-size: 0.92rem; border-radius: var(--radius-sm); }
.form-feedback--success { background: #e8f5e9; color: #2e7d32; }
.form-feedback--error { background: #fce4ec; color: #c62828; }

.form-banner { padding: 1rem 1.4rem; border-radius: var(--radius-sm); font-size: 0.92rem; line-height: 1.6; margin-bottom: 1.2rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; opacity: 0; transform: translateY(-8px); transition: opacity 0.35s ease, transform 0.35s ease; }
.form-banner--visible { opacity: 1; transform: translateY(0); }
.form-banner--success { background: #e8f5e9; color: #2e7d32; }
.form-banner--error { background: #fce4ec; color: #c62828; }
.form-banner p { margin: 0; flex: 1; }
.form-banner-close { background: none; border: none; font-size: 1.3rem; line-height: 1; cursor: pointer; color: inherit; opacity: 0.6; padding: 0 4px; transition: opacity 0.2s; flex-shrink: 0; }
.form-banner-close:hover { opacity: 1; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form-group { margin-bottom: 1.2rem; }

.contact-form-wrap label { display: block; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-light); margin-bottom: 0.4rem; }
.contact-form-wrap input, .contact-form-wrap textarea {
    width: 100%; padding: 13px 16px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: inherit; font-size: 0.92rem; color: var(--text); background: var(--white);
    transition: border-color 0.3s, box-shadow 0.3s;
}
.contact-form-wrap input:focus, .contact-form-wrap textarea:focus {
    outline: none;
    border-color: var(--coral);
    box-shadow: 0 0 0 4px rgba(227, 129, 116, 0.1);
}

/* Inline validation error */
.field-error {
    border-color: #e53935 !important;
    box-shadow: 0 0 0 4px rgba(229, 57, 53, 0.08) !important;
}

.captcha-input.field-error {
    border-color: #e53935 !important;
    box-shadow: 0 0 0 4px rgba(229, 57, 53, 0.08) !important;
}
.contact-form-wrap textarea { resize: vertical; min-height: 140px; }

/* Captcha */
.captcha-box { margin-bottom: 1.2rem; padding: 1.2rem 1.4rem; background: var(--white); border: 1.5px solid var(--border); border-radius: var(--radius-sm); display: flex; flex-direction: column; gap: 0.8rem; }
.captcha-hint { font-size: 0.75rem; color: var(--text-light); letter-spacing: 0.03em; }
.captcha-row { display: flex; align-items: center; gap: 1rem; }
.captcha-question { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; }
.captcha-dots { display: inline-flex; align-items: center; }
.captcha-dots svg { display: block; }
.captcha-op { font-size: 1.1rem; font-weight: 300; color: var(--text-light); line-height: 1; }
.captcha-eq { font-size: 1.2rem; font-weight: 300; color: var(--border); line-height: 1; }
.captcha-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.captcha-input { width: 56px; height: 40px; text-align: center; font-size: 1.1rem; font-weight: 500; font-family: inherit; color: var(--dark); background: var(--bg); border: 1.5px solid var(--border); border-radius: var(--radius-sm); transition: border-color 0.3s, box-shadow 0.3s; flex-shrink: 0; -moz-appearance: textfield; }
.captcha-input::-webkit-outer-spin-button, .captcha-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.captcha-input:focus { outline: none; border-color: var(--coral); box-shadow: 0 0 0 4px rgba(227, 129, 116, 0.1); }
@media (max-width: 480px) { .captcha-box { padding: 1rem; gap: 0.8rem; } .captcha-question { gap: 8px; } }

.contact-form-wrap .btn { width: 100%; margin-top: 0.5rem; }

/* Map */
.contact-map { max-width: var(--max-width); margin: 0 auto; height: 400px; border-radius: var(--radius); overflow: hidden; z-index: 1; box-shadow: 0 2px 8px rgba(0,0,0,0.04); }

/* ---- News / Actualités ---- */
.news-container { max-width: var(--max-width); margin: 0 auto; display: grid; grid-template-columns: 280px 1fr; gap: 3rem; align-items: start; }
.linkedin-card { position: sticky; top: calc(var(--header-height) + 2rem); background: var(--white); border: none; border-radius: var(--radius); padding: 2rem 1.5rem; text-align: center; box-shadow: 0 2px 8px rgba(0,0,0,0.04); }
.linkedin-card-icon { margin-bottom: 1rem; }
.linkedin-card h3 { font-size: 1rem; font-weight: 500; color: var(--dark); margin-bottom: 0.6rem; }
.linkedin-card p { font-size: 0.85rem; color: var(--text-light); line-height: 1.6; margin-bottom: 1.5rem; }
.linkedin-card .btn-linkedin { width: 100%; justify-content: center; font-size: 0.82rem; padding: 10px 16px; }
.news-feed {
    max-width: var(--max-width);
    margin: 0 auto;
}

.news-posts { min-width: 0; }
.news-post { background: var(--white); border: none; border-radius: var(--radius); overflow: hidden; margin-bottom: 1.5rem; transition: box-shadow 0.4s ease, transform 0.4s ease; box-shadow: 0 2px 8px rgba(0,0,0,0.04); }
.news-post:hover { box-shadow: 0 12px 40px rgba(0,0,0,0.08); transform: translateY(-3px); }
.news-post-date { padding: 1rem 1.5rem 0; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-light); }
.news-post-body { padding: 0.8rem 1.5rem 1.5rem; }
.news-post-body h3 { font-size: 1.05rem; font-weight: 500; color: var(--dark); margin-bottom: 0.6rem; }
.news-post-body p { font-size: 0.9rem; color: var(--text); line-height: 1.7; margin-bottom: 1rem; }
.news-link { font-size: 0.85rem; font-weight: 500; color: var(--teal); }
.news-link:hover { color: var(--burgundy); }
.linkedin-iframe { width: 100%; min-height: 400px; border: none; }

/* ---- Footer ---- */
.site-footer { background: #1a1a1f; color: rgba(255,255,255,0.55); padding: 4rem 2rem 2rem; font-size: 0.85rem; }
.footer-inner { max-width: var(--max-width); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 2rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-logo { display: flex; gap: 5px; margin-bottom: 0.8rem; }
.footer-logo .dot { width: 10px; height: 10px; }
.footer-name { font-size: 0.9rem; color: rgba(255,255,255,0.8); letter-spacing: 0.1em; text-transform: uppercase; font-weight: 400; }
.footer-col a { display: block; color: rgba(255,255,255,0.55); margin-bottom: 0.4rem; font-size: 0.85rem; }
.footer-col a:hover { color: var(--peach); }
.footer-col p { margin-bottom: 0.4rem; }
.footer-bottom { max-width: var(--max-width); margin: 0 auto; padding-top: 1.5rem; text-align: center; font-size: 0.78rem; color: rgba(255,255,255,0.3); }
.footer-bottom a { color: rgba(255,255,255,0.4); transition: color 0.25s; }
.footer-bottom a:hover { color: var(--peach); }

/* ---- CTA band ---- */
.cta-band {
    padding: 6rem 2rem;
    text-align: center;
    background: linear-gradient(135deg, #faf0ed 0%, #f0ece8 50%, #eef0f2 100%);
}
.cta-band p { font-size: 1.2rem; font-weight: 300; color: var(--dark); margin-bottom: 2rem; letter-spacing: 0.02em; }

/* ---- Fade-in animation ---- */
.fade-in { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in-stagger > * { opacity: 0; transform: translateY(20px); transition: opacity 0.5s ease, transform 0.5s ease; }
.fade-in-stagger.visible > * { opacity: 1; transform: translateY(0); }
.fade-in-stagger.visible > *:nth-child(1) { transition-delay: 0s; }
.fade-in-stagger.visible > *:nth-child(2) { transition-delay: 0.1s; }
.fade-in-stagger.visible > *:nth-child(3) { transition-delay: 0.2s; }
.fade-in-stagger.visible > *:nth-child(4) { transition-delay: 0.3s; }
.fade-in-stagger.visible > *:nth-child(5) { transition-delay: 0.4s; }
.fade-in-stagger.visible > *:nth-child(6) { transition-delay: 0.5s; }
.fade-in-left { opacity: 0; transform: translateX(-30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-in-left.visible { opacity: 1; transform: translateX(0); }
.fade-in-right { opacity: 0; transform: translateX(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-in-right.visible { opacity: 1; transform: translateX(0); }

@media (prefers-reduced-motion: reduce) {
    .fade-in, .fade-in-left, .fade-in-right { opacity: 1; transform: none; transition: none; }
    .fade-in-stagger > * { opacity: 1; transform: none; transition: none; }
    .comp-split__list ul li { opacity: 1; transform: none; transition: none; }
    .hero-dots .dot { animation: none; }
}

/* ---- Utility ---- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* ---- Responsive: Tablet ---- */
@media (max-width: 960px) {
    .hero { padding: 5.5rem 2rem 4rem; }
    .main-nav ul { gap: 1.4rem; }
    .main-nav a { font-size: 0.74rem; }
    .about-preview { gap: 3rem; }
    .bio { gap: 2.5rem; }
    .contact-grid { gap: 2.5rem; }
    .competence-row { gap: 2.5rem; }
}

/* ---- Responsive: Mobile ---- */
@media (max-width: 768px) {
    .hero { padding: 5rem 1.5rem 3.5rem; }
    .hero h1 { font-size: 1.8rem; }
    .hero .tagline { font-size: 1rem; }
    .about-preview { grid-template-columns: 1fr; gap: 2rem; }
    .about-preview .visual { order: -1; }
    .bio { grid-template-columns: 1fr; gap: 2rem; }
    .bio-photo-wrap { max-width: 300px; }
    .values { grid-template-columns: 1fr; gap: 2rem; }
    .competence-block ul { grid-template-columns: 1fr; }
    .competence-row { grid-template-columns: 1fr; gap: 2rem; }
    .competence-row--reverse .competence-text { order: 1; }
    .competence-row--reverse .competence-visual { order: 2; }
    .competence-photo { max-width: 400px; margin: 0 auto; }
    .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .form-row { grid-template-columns: 1fr; gap: 0; }
    .contact-map { height: 280px; min-height: 200px; }
    .news-container { grid-template-columns: 1fr; gap: 1.5rem; }
    .linkedin-card { position: static; }
    .footer-inner { grid-template-columns: 1fr; gap: 1.5rem; }
    .cards { grid-template-columns: 1fr; }
    .menu-toggle { display: block; }
    .main-nav { position: fixed; top: var(--header-height); left: 0; right: 0; background: rgba(245,245,247,0.95); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); padding: 1.5rem 2rem; transform: translateY(-100%); opacity: 0; pointer-events: none; transition: transform 0.35s, opacity 0.35s; z-index: 99; box-shadow: 0 4px 20px rgba(0,0,0,0.08); }
    .main-nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
    .main-nav ul { flex-direction: column; gap: 0.4rem; }
    .main-nav a { font-size: 0.9rem; display: block; padding: 10px 0; min-height: 44px; line-height: 24px; }
}

/* ---- Responsive: Small ---- */
@media (max-width: 480px) {
    .hero h1 { font-size: 1.5rem; letter-spacing: 0.08em; }
    .page-header h1 { font-size: 1.5rem; }
    .section { padding: 4rem 1.2rem; }
    .hero-dots .dot { width: 30px; height: 30px; }
    .cta-band { padding: 4rem 1.2rem; }
    .cta-band p { font-size: 1rem; }
    .btn { padding: 11px 24px; font-size: 0.8rem; }
}

/* ---- Legal page ---- */
.legal-content { max-width: 780px; margin: 0 auto; }
.legal-content h2 { font-size: 1.05rem; font-weight: 500; color: var(--dark); margin: 2.5rem 0 0.8rem; letter-spacing: 0.02em; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p { font-size: 0.92rem; color: var(--text); line-height: 1.85; margin-bottom: 0.8rem; }
.legal-content strong { font-weight: 500; color: var(--dark); }

/* ---- RGPD notice banner ---- */
.rgpd-banner { position: fixed; bottom: 0; left: 0; right: 0; z-index: 200; background: rgba(255,255,255,0.92); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 -2px 20px rgba(0,0,0,0.06); padding: 0.6rem 2rem; }
.rgpd-inner { max-width: none; margin: 0; display: flex; align-items: center; gap: 1.2rem; flex-wrap: nowrap; }
.rgpd-inner p { font-size: 0.78rem; color: var(--text-light); line-height: 1.4; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rgpd-inner p a { font-weight: 500; }
.rgpd-accept { white-space: nowrap; flex-shrink: 0; }
@media (max-width: 768px) {
    .rgpd-inner { flex-direction: column; gap: 1rem; text-align: center; flex-wrap: wrap; }
    .rgpd-inner p { white-space: normal; overflow: visible; }
    .rgpd-accept { width: 100%; }
}

/* ---- Back to top button ---- */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 150;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: var(--white);
    color: var(--text);
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.back-to-top--visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.back-to-top:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    color: var(--coral);
}

@media (max-width: 480px) {
    .back-to-top { bottom: 1.2rem; right: 1.2rem; width: 40px; height: 40px; }
}

/* ---- Icon library (dev page) ---- */
.icon-toolbar {
    max-width: var(--max-width);
    margin: 0 auto 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.icon-search-input {
    flex: 1;
    padding: 12px 18px;
    font-family: inherit;
    font-size: 0.95rem;
    border: 1.5px solid var(--border);
    border-radius: 100px;
    background: var(--white);
    color: var(--text);
    transition: border-color 0.3s, box-shadow 0.3s;
    outline: none;
}

.icon-search-input:focus {
    border-color: var(--coral);
    box-shadow: 0 0 0 4px rgba(227, 129, 116, 0.1);
}

.icon-filtered-count {
    font-size: 0.82rem;
    color: var(--text-light);
    white-space: nowrap;
}

.icon-library {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 1rem;
}

.icon-card {
    background: var(--white);
    border-radius: var(--radius-sm);
    padding: 1.5rem 1rem 1rem;
    text-align: center;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.2s;
}

.icon-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 24px rgba(0,0,0,0.08);
}

.icon-card--copied {
    background: #e8f5e9;
}

.icon-preview {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.8rem;
    height: 36px;
}

.icon-preview img {
    width: 28px;
    height: 28px;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.icon-card:hover .icon-preview img {
    opacity: 1;
}

.icon-name {
    font-size: 0.68rem;
    font-weight: 400;
    color: var(--text-light);
    line-height: 1.3;
    word-break: break-word;
}

.icon-usage {
    font-size: 0.68rem;
    color: var(--text-light);
    line-height: 1.3;
}

.icon-empty {
    max-width: var(--max-width);
    margin: 2rem auto;
    text-align: center;
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Toast */
.icon-toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: var(--dark);
    color: var(--white);
    padding: 10px 24px;
    border-radius: 100px;
    font-size: 0.82rem;
    font-weight: 500;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 300;
}

.icon-toast--visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

@media (max-width: 480px) {
    .icon-library { grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); gap: 0.8rem; }
    .icon-card { padding: 1rem 0.6rem 0.8rem; }
    .icon-preview img { width: 24px; height: 24px; }
}
