/* ═══════════════════════════════════════════
   ALTAM Residential Prague — Main Stylesheet
   Brand: Raleway + Roboto + Playfair Display
   Palette: #040B25 / #04486D / #758DA5 / #C1CFE1 / #0283AD
   ═══════════════════════════════════════════ */

/* ── Reset & Base ── */

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

html { -webkit-font-smoothing: antialiased; }

section[id] { scroll-margin-top: 70px; }

body.admin-bar section[id] { scroll-margin-top: 102px; }

body {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    letter-spacing: 0.01em;
    color: #1a1a1a;
    background: #fff;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Typography ── */

h1, h2, h3, h4 {
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: 0.04em;
    color: #040B25;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.15rem; font-weight: 600; }

/* ── Buttons ── */

.btn {
    display: inline-block;
    padding: 14px 32px;
    font-family: 'Raleway', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-align: center;
    border: 2px solid transparent;
    border-radius: 2px;
    cursor: pointer;
    transition: background 0.3s, color 0.3s, border-color 0.3s;
}

.btn-primary {
    background: #0283AD;
    color: #fff;
    border-color: #0283AD;
}
.btn-primary:hover {
    background: #04486D;
    border-color: #04486D;
}

.btn-outline {
    background: transparent;
    color: #fff;
    border-color: #fff;
}
.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* ── Scroll Reveal ── */

.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}
.section-hero .scroll-reveal {
    opacity: 1;
    transform: none;
    animation: heroFadeIn 1s ease both;
}
@keyframes heroFadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ── Section shared ── */

.section-label {
    display: block;
    font-family: 'Raleway', sans-serif;
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #0283AD;
    margin-bottom: 12px;
}

.section-label-lg {
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    letter-spacing: 0.08em;
}

.section-heading {
    margin-bottom: 16px;
}

.section-subheading {
    font-size: 1.05rem;
    color: #758DA5;
    max-width: 700px;
    margin-bottom: 28px;
}

.section-cta {
    text-align: center;
    margin-top: 28px;
}

/* ═══════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════ */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 18px 0;
    transition: background 0.35s, padding 0.35s, box-shadow 0.35s;
}

.site-header.scrolled {
    background: #040B25;
    padding: 10px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.25);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.header-logo { flex-shrink: 0; }
.header-logo img { height: 50px; width: auto; transition: height 0.35s; }
.site-header.scrolled .header-logo img { height: 42px; }

.header-nav ul {
    display: flex;
    gap: 24px;
}

.header-nav a {
    font-family: 'Raleway', sans-serif;
    font-size: 0.82rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 0.04em;
    transition: color 0.2s;
    white-space: nowrap;
}
.header-nav a:hover { color: #C1CFE1; }

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-cta {
    padding: 10px 22px;
    font-size: 0.72rem;
    white-space: nowrap;
}

.mobile-nav-portal { display: none; }

.header-cta-portal {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}
.header-cta-portal:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: #fff;
    color: #fff;
}

/* Language switcher */
.lang-switch {
    display: flex;
    align-items: center;
    gap: 6px;
}

.lang-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    font-family: 'Raleway', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    cursor: pointer;
    padding: 2px 4px;
    transition: color 0.2s;
}
.lang-btn.active { color: #fff; }
.lang-btn:hover { color: #C1CFE1; }
.lang-sep { color: rgba(255, 255, 255, 0.3); font-size: 0.75rem; }

/* Mobile menu toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    transition: transform 0.3s, opacity 0.3s;
}
.mobile-menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-toggle.open span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-nav-close { display: none; }
.mobile-menu-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
}
.mobile-menu-backdrop.open { display: block; }

/* ═══════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════ */

.section-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    overflow: hidden;
}

.hero-video-wrap {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-video-wrap video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(4, 11, 37, 0.50) 0%, rgba(4, 72, 109, 0.35) 100%);
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    padding: 120px 24px 80px;
}

.hero-headline {
    color: #fff;
    margin-bottom: 20px;
}

.hero-subheadline {
    font-size: clamp(1rem, 2vw, 1.25rem);
    opacity: 0.9;
    margin-bottom: 40px;
    line-height: 1.6;
    letter-spacing: 0.02em;
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

/* ═══════════════════════════════════════════
   SERVICE
   ═══════════════════════════════════════════ */

.section-service {
    padding: 32px 0;
    background: #fff;
    text-align: center;
}

.service-body {
    max-width: 860px;
    margin: 0 auto 24px;
    color: #444;
    line-height: 1.8;
    text-align: center;
}
.service-body p { margin-bottom: 16px; }

.section-service .section-heading {
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
}

.service-video {
    width: 100%;
    max-height: 400px;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 28px;
}
.service-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.service-subheading {
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    margin-bottom: 24px;
    color: #040B25;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.service-card {
    padding: 32px 28px;
    background: #f7f9fc;
    border-radius: 4px;
    transition: transform 0.3s, box-shadow 0.3s;
}
.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(4, 11, 37, 0.08);
}

.service-card-icon {
    width: 44px;
    height: 44px;
    margin-bottom: 18px;
    color: #0283AD;
}
.service-card-icon svg {
    width: 100%;
    height: 100%;
}

.service-card h4 {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.service-card p {
    font-size: 0.92rem;
    color: #555;
    line-height: 1.65;
}

.service-image {
    margin-bottom: 48px;
    border-radius: 4px;
    overflow: hidden;
    max-height: 380px;
}
.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 70%;
}

/* ═══════════════════════════════════════════
   VISUAL BREAK
   ═══════════════════════════════════════════ */

.visual-break {
    position: relative;
    height: 120px;
    background: center 25%/cover no-repeat fixed;
}
.visual-break-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(4, 11, 37, 0.45) 0%, rgba(4, 72, 109, 0.30) 100%);
}

/* ═══════════════════════════════════════════
   MÉTHODE
   ═══════════════════════════════════════════ */

.section-methode {
    padding: 32px 0 80px;
    background: #fff;
    text-align: center;
}

.section-methode .section-heading,
.section-methode .section-subheading {
    margin-left: auto;
    margin-right: auto;
}

.methode-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px 20px;
    text-align: left;
    margin-top: 24px;
}

.methode-step {
    padding: 16px 18px;
    background: #fff;
    border-radius: 4px;
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
}
.methode-step:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(4, 11, 37, 0.08);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #04486D;
    color: #fff;
    font-family: 'Raleway', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0 auto 10px;
}

.methode-step h4 {
    margin-bottom: 6px;
    font-size: 0.95rem;
    text-align: left;
}

.methode-step p {
    font-size: 0.82rem;
    color: #555;
    line-height: 1.5;
    text-align: left;
}

/* ═══════════════════════════════════════════
   ÉCOLES
   ═══════════════════════════════════════════ */

.section-ecoles {
    padding: 80px 0 32px;
    background: #fff;
}

.ecoles-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.ecoles-image img {
    border-radius: 4px;
    object-fit: cover;
    width: 100%;
    max-height: 500px;
}

.ecoles-body {
    color: #444;
    margin-bottom: 24px;
}

.ecoles-list {
    margin-bottom: 24px;
}

.ecoles-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 0.95rem;
    color: #040B25;
    font-weight: 500;
}

.ecoles-list svg {
    flex-shrink: 0;
    color: #0283AD;
}

.ecoles-footer {
    color: #758DA5;
    font-size: 0.92rem;
    font-style: italic;
    margin-bottom: 28px;
}

/* ═══════════════════════════════════════════
   POURQUOI ALTAM
   ═══════════════════════════════════════════ */

.section-pourquoi {
    padding: 32px 0 16px;
    background: #f7f9fc;
}

.pourquoi-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.pourquoi-body {
    color: #444;
    margin-bottom: 32px;
}
.pourquoi-body p { margin-bottom: 16px; }

/* ── CEO Bio (right column) ── */
.pourquoi-bio {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.bio-block {
    padding-left: 22px;
    border-left: 3px solid #0283AD;
    color: #444;
}
.bio-block p { line-height: 1.7; }

/* ── Testimonial Cards ── */
.pourquoi-testimonials-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 50px;
    padding-top: 50px;
    border-top: 1px solid #e8ecf0;
}

.tcard {
    background: #fff;
    border-radius: 4px;
    padding: 32px 28px 28px;
    border-top: 3px solid #0283AD;
    box-shadow: 0 2px 12px rgba(4, 11, 37, 0.05);
}

.tcard-mark {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    color: #0283AD;
    line-height: 0.6;
    margin-bottom: 16px;
    display: block;
}

.tcard-text {
    font-family: 'Roboto', sans-serif;
    font-size: 0.9rem;
    color: #444;
    line-height: 1.65;
    margin-bottom: 20px;
    font-style: italic;
}

.tcard-footer {
    display: flex;
    align-items: center;
    gap: 12px;
    border-top: 1px solid #e8ecf0;
    padding-top: 16px;
}

.tcard-avatar {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: #040B25;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-family: 'Raleway', sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    flex-shrink: 0;
}

.tcard-author {
    font-family: 'Raleway', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    color: #040B25;
}

.tcard-role {
    font-size: 0.7rem;
    color: #758DA5;
    margin-top: 2px;
}

/* ═══════════════════════════════════════════
   LOGOS
   ═══════════════════════════════════════════ */

.section-logos {
    padding: 12px 0 32px;
    background: #fff;
    border-top: 1px solid #e8ecf1;
    border-bottom: 1px solid #e8ecf1;
}

.logos-label {
    text-align: center;
    font-family: 'Raleway', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #040B25;
    margin-bottom: 16px;
}

.logos-strip {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 32px 40px;
}

.logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 70px;
}
.logo-item img {
    max-height: 62px;
    max-width: 170px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: opacity 0.3s, filter 0.3s;
}
.logo-item img[alt="FM Logistic"],
.logo-item img[alt="BNP Paribas"],
.logo-item img[alt="Cardif BNP Paribas"],
.logo-item img[alt="CEFRÈS"],
.logo-item img[alt="Chambre de Commerce Franco-Tchèque"] {
    max-height: 74px;
    max-width: 200px;
}
.logo-item img:hover {
    filter: grayscale(0);
    opacity: 1;
}

.logos-row-label {
    text-align: center;
    font-family: 'Raleway', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #040B25;
    margin-bottom: 20px;
    margin-top: 32px;
}

.logo-text {
    font-family: 'Raleway', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #758DA5;
    padding: 8px 16px;
    border: 1px solid #C1CFE1;
    border-radius: 2px;
    white-space: nowrap;
}

/* ═══════════════════════════════════════════
   PRAGUE PRATIQUE
   ═══════════════════════════════════════════ */

.section-pratique {
    padding: 32px 0;
    background: #f5f5f3;
    text-align: center;
}

.section-pratique .section-heading {
    font-family: 'Raleway', sans-serif;
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 700;
    color: #040B25;
}

.section-pratique .section-subheading {
    font-family: 'Roboto', sans-serif;
    color: #758DA5;
    max-width: 700px;
    margin: 0 auto 48px;
}

.pratique-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    text-align: left;
}

.pratique-card {
    display: flex;
    gap: 24px;
    background: #fff;
    border-radius: 8px;
    padding: 32px;
    box-shadow: 0 2px 12px rgba(4, 11, 37, 0.06);
    transition: box-shadow 0.3s ease;
}

.pratique-card:hover {
    box-shadow: 0 6px 24px rgba(4, 11, 37, 0.12);
}

.pratique-card-logo {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pratique-card-logo img {
    max-width: 80px;
    max-height: 80px;
    object-fit: contain;
}

.pratique-card-content h4 {
    font-family: 'Raleway', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: #040B25;
    letter-spacing: 0.02em;
    margin-bottom: 8px;
}

.pratique-card-content p {
    font-family: 'Roboto', sans-serif;
    font-size: 0.92rem;
    line-height: 1.7;
    color: #444;
    margin-bottom: 12px;
}

.pratique-link {
    font-family: 'Raleway', sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #0283AD;
    text-decoration: none;
    transition: color 0.2s;
}

.pratique-link:hover {
    color: #04486D;
}

/* ═══════════════════════════════════════════
   DÉCOUVREZ PRAGUE — VIDEO
   ═══════════════════════════════════════════ */

.section-video {
    padding: 32px 0;
    background: #f7f9fc;
    text-align: center;
}

.video-embed {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding-top: 56.25%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(4, 11, 37, 0.12);
}

.video-embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* ═══════════════════════════════════════════
   CONTACT
   ═══════════════════════════════════════════ */

.section-contact {
    padding: 32px 0;
    background: #040B25;
    color: #fff;
    text-align: center;
}

.section-contact .section-label { color: #0283AD; }
.section-contact .section-heading {
    color: #fff;
    font-size: clamp(2rem, 4vw, 3rem);
}
.section-contact .section-subheading {
    color: rgba(255, 255, 255, 0.7);
    margin-left: auto;
    margin-right: auto;
}

.contact-form-wrap {
    max-width: 860px;
    margin: 0 auto;
    text-align: left;
}

.recaptcha-disclosure {
    margin: 18px auto 0;
    max-width: 860px;
    font-size: 12px;
    line-height: 1.5;
    color: #758DA5;
    text-align: center;
}

.recaptcha-disclosure a {
    color: #758DA5;
    text-decoration: underline;
}

.recaptcha-disclosure a:hover {
    color: #0283AD;
}

/* Fallback form styles (before WPForms is installed) */
.altam-fallback-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-family: 'Raleway', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 6px;
    color: rgba(255, 255, 255, 0.85);
}

.form-group .required { color: #0283AD; }

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-family: 'Roboto', sans-serif;
    font-size: 0.95rem;
    color: #1a1a1a;
    background: #fff;
    border: 1px solid #C1CFE1;
    border-radius: 2px;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0283AD;
}

.form-group.full-width { margin-bottom: 28px; }

.altam-fallback-form .btn {
    width: 100%;
    padding: 16px;
    font-size: 0.85rem;
}

.form-note {
    margin-top: 16px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    text-align: center;
    font-style: italic;
}

/* WPForms overrides for dark background */
.section-contact .wpforms-container .wpforms-form {
    max-width: 860px;
    margin: 0 auto;
}

.section-contact .wpforms-container .wpforms-field-container {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 20px !important;
}

.section-contact .wpforms-container .wpforms-form .wpforms-field {
    margin-bottom: 0 !important;
    padding: 0 !important;
}

#wpforms-18-field_6-container,
.section-contact .wpforms-container .wpforms-form .wpforms-field-textarea {
    grid-column: 1 / -1 !important;
}

.section-contact .wpforms-container .wpforms-submit-container {
    max-width: 860px;
    margin: 20px auto 0;
}

.section-contact .wpforms-container .wpforms-form input,
.section-contact .wpforms-container .wpforms-form select,
.section-contact .wpforms-container .wpforms-form textarea {
    width: 100%;
    padding: 12px 16px;
    font-family: 'Roboto', sans-serif;
    font-size: 0.95rem;
    color: #1a1a1a;
    background: #fff;
    border: 1px solid #C1CFE1;
    border-radius: 2px;
    transition: border-color 0.2s;
}

.section-contact .wpforms-container .wpforms-form input:focus,
.section-contact .wpforms-container .wpforms-form select:focus,
.section-contact .wpforms-container .wpforms-form textarea:focus {
    outline: none;
    border-color: #0283AD;
}

.section-contact .wpforms-container .wpforms-form select {
    height: 48px;
    -webkit-appearance: menulist;
}

.section-contact .wpforms-container .wpforms-form textarea {
    height: 100px;
    resize: vertical;
}

.section-contact .wpforms-container .wpforms-form label,
.section-contact .wpforms-container .wpforms-form .wpforms-field-label {
    display: block;
    font-family: 'Raleway', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 6px;
    color: rgba(255, 255, 255, 0.85);
}

.section-contact .wpforms-container .wpforms-form .wpforms-required-label {
    color: #0283AD;
}

.section-contact .wpforms-container .wpforms-form .wpforms-submit {
    background: #0283AD;
    border: none;
    border-radius: 2px;
    padding: 16px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    width: 100%;
    cursor: pointer;
    transition: background 0.3s;
}

.section-contact .wpforms-container .wpforms-form .wpforms-submit:hover {
    background: #04486D;
}

/* ═══════════════════════════════════════════
   SCHOOL LOGOS LIST
   ═══════════════════════════════════════════ */

.ecoles-list-with-logos {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 28px;
}

.school-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 10px 16px;
    border-radius: 4px;
    transition: background 0.2s;
    text-decoration: none;
    color: #040B25;
    font-weight: 500;
    font-size: 0.95rem;
}
.school-item:hover {
    background: #f0f4f8;
    color: #0283AD;
}

.school-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    flex-shrink: 0;
    border-radius: 4px;
}

.school-logo-placeholder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: #758DA5;
    color: #fff;
    font-family: 'Raleway', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 4px;
}

/* ═══════════════════════════════════════════
   OWNER CONTACT BAR
   ═══════════════════════════════════════════ */

.section-owner {
    position: relative;
    padding: 0;
    overflow: hidden;
    min-height: 320px;
}

.owner-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.owner-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 15%;
}

.owner-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        90deg,
        rgba(4, 11, 37, 0.3) 0%,
        rgba(4, 11, 37, 0.55) 40%,
        rgba(4, 11, 37, 0.7) 100%
    );
}

.owner-inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    gap: 48px;
    padding: 0;
    min-height: 320px;
}

.owner-photo {
    flex-shrink: 0;
    align-self: flex-end;
}
.owner-photo img {
    width: 180px;
    height: auto;
    display: block;
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.3));
}

.owner-info {
    padding: 48px 0;
}

.owner-info h3 {
    font-family: 'Raleway', sans-serif;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #fff;
    margin-bottom: 20px;
}

.owner-contacts {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
}

.owner-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 1.05rem;
    font-weight: 500;
    transition: color 0.2s;
}
.owner-contact-item:hover { color: #C1CFE1; }
.owner-contact-item svg { flex-shrink: 0; color: #0283AD; }

.btn-dark {
    display: inline-block;
    padding: 14px 32px;
    font-family: 'Raleway', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-align: center;
    background: #040B25;
    color: #fff;
    border: 2px solid #040B25;
    border-radius: 2px;
    cursor: pointer;
    transition: background 0.3s, border-color 0.3s;
}
.btn-dark:hover {
    background: #04486D;
    border-color: #04486D;
}


/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */

.site-footer {
    background: #020718;
    padding: 48px 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.footer-logo img { height: 64px; width: auto; opacity: 0.8; }

.footer-company {
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 4px;
}

.footer-address { margin-bottom: 2px; }

.footer-legal { text-align: right; }

.footer-compliance {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}
.footer-compliance a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.2s;
}
.footer-compliance a:hover { color: rgba(255, 255, 255, 0.7); }
.footer-sep { margin: 0 6px; opacity: 0.4; }

/* ── Back to Top ── */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 900;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: #0283AD;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s, background 0.2s;
    box-shadow: 0 2px 12px rgba(0,0,0,0.2);
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: #04486D; }

/* ═══════════════════════════════════════════
   RÉFÉRENCES (placeholder)
   ═══════════════════════════════════════════ */

.section-references {
    padding: 32px 0;
    background: #f7f9fc;
    text-align: center;
}

.section-references .section-subheading {
    margin-left: auto;
    margin-right: auto;
}

.realisations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    text-align: left;
}

.realisation-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(4, 11, 37, 0.06);
    transition: box-shadow 0.3s, transform 0.3s;
}

.realisation-card:hover {
    box-shadow: 0 8px 28px rgba(4, 11, 37, 0.12);
    transform: translateY(-4px);
}

.realisation-img {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.realisation-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.realisation-card:hover .realisation-img img {
    transform: scale(1.05);
}

.realisation-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(4, 11, 37, 0.8);
    color: #fff;
    font-family: 'Raleway', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 3px;
}

.realisation-info {
    padding: 20px;
}

.realisation-info h4 {
    font-family: 'Raleway', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: #040B25;
    margin-bottom: 10px;
}

.realisation-specs {
    display: flex;
    gap: 16px;
    margin-bottom: 12px;
}

.realisation-specs span {
    font-family: 'Roboto', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    color: #0283AD;
}

.realisation-amenities {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.realisation-amenities li {
    font-family: 'Roboto', sans-serif;
    font-size: 0.75rem;
    color: #758DA5;
    background: #f0f4f8;
    padding: 4px 10px;
    border-radius: 3px;
}

.references-intro {
    max-width: 860px;
    margin: 0 auto 24px;
    text-align: left;
}

.references-intro p {
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    line-height: 1.8;
    color: #2a3a4e;
}

.references-click-hint {
    font-family: 'Roboto', sans-serif;
    font-size: 0.82rem;
    color: #758DA5;
    margin-bottom: 32px;
    font-style: italic;
}

.realisation-card[role="button"] {
    cursor: pointer;
}

.realisation-detail {
    display: none;
}

/* ═══════════════════════════════════════════
   PROPERTY DETAIL MODAL
   ═══════════════════════════════════════════ */

.ref-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(4, 11, 37, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    backdrop-filter: blur(4px);
}

.ref-modal[hidden] {
    display: none;
}

.ref-modal-content {
    background: #fff;
    border-radius: 10px;
    max-width: 720px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(4, 11, 37, 0.3);
}

.ref-modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: rgba(4, 11, 37, 0.7);
    color: #fff;
    border: none;
    font-size: 1.6rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.ref-modal-close:hover {
    background: rgba(4, 11, 37, 0.9);
}

.ref-modal-gallery {
    position: relative;
}

.ref-modal-img img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
    display: block;
}

.ref-gallery-prev,
.ref-gallery-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(4, 11, 37, 0.6);
    color: #fff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    z-index: 2;
}
.ref-gallery-prev:hover,
.ref-gallery-next:hover {
    background: rgba(2, 131, 173, 0.85);
}
.ref-gallery-prev { left: 12px; }
.ref-gallery-next { right: 12px; }

.ref-gallery-counter {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(4, 11, 37, 0.6);
    color: #fff;
    font-size: 0.8rem;
    font-family: 'Roboto', sans-serif;
    padding: 4px 14px;
    border-radius: 20px;
    z-index: 2;
}

.ref-modal-specs {
    padding: 28px 32px 28px;
}

.ref-modal-specs h3 {
    font-family: 'Raleway', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #040B25;
    margin-bottom: 20px;
}

.detail-specs {
    width: 100%;
    border-collapse: collapse;
}

.detail-specs tr {
    border-bottom: 1px solid #eef1f5;
}

.detail-specs tr:last-child {
    border-bottom: none;
}

.detail-specs th,
.detail-specs td {
    font-family: 'Roboto', sans-serif;
    font-size: 0.88rem;
    padding: 10px 0;
    text-align: left;
    vertical-align: top;
}

.detail-specs th {
    font-weight: 600;
    color: #040B25;
    width: 45%;
    padding-right: 16px;
}

.detail-specs td {
    color: #4a5a6e;
}

@media (max-width: 600px) {
    .ref-modal-content {
        max-height: 95vh;
        border-radius: 8px;
    }
    .ref-modal-img img {
        height: 220px;
    }
    .ref-modal-specs {
        padding: 20px 20px 8px;
    }
    .ref-modal-cta {
        padding: 12px 20px 24px;
    }
    .detail-specs th {
        width: 50%;
    }
}

/* ═══════════════════════════════════════════
   LEGAL MODALS
   ═══════════════════════════════════════════ */

.legal-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(4, 11, 37, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.legal-modal[hidden] { display: none; }

.legal-modal-content {
    background: #fff;
    max-width: 720px;
    max-height: 80vh;
    overflow-y: auto;
    padding: 48px;
    border-radius: 4px;
    position: relative;
    color: #1a1a1a;
    line-height: 1.7;
}

.legal-modal-content h3 {
    font-size: 1.4rem;
    margin-bottom: 24px;
}

.legal-modal-content h4 {
    margin-top: 24px;
    margin-bottom: 8px;
    color: #04486D;
}

.legal-modal-content p {
    margin-bottom: 12px;
    font-size: 0.92rem;
}

.legal-modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.8rem;
    color: #758DA5;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}
.legal-modal-close:hover { color: #040B25; }

/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */

@media (max-width: 1024px) {
    .service-grid { grid-template-columns: repeat(2, 1fr); }
    .methode-grid { grid-template-columns: repeat(2, 1fr); }
    .pratique-grid { grid-template-columns: 1fr; }
    .realisations-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .mobile-menu-toggle { display: flex; }

    .header-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: #040B25;
        padding: 80px 32px 32px;
        transition: right 0.35s ease;
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.3);
    }
    .header-nav.open { right: 0; }

    .mobile-nav-close {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 16px;
        right: 16px;
        z-index: 10;
        width: 40px;
        height: 40px;
        background: rgba(255, 255, 255, 0.15);
        border: 1px solid rgba(255, 255, 255, 0.3);
        border-radius: 50%;
        color: #fff;
        font-size: 24px;
        line-height: 1;
        cursor: pointer;
        padding: 0;
        transition: background 0.2s;
    }
    .mobile-nav-close:hover { background: rgba(255, 255, 255, 0.2); }
    .header-nav ul { flex-direction: column; gap: 20px; }
    .header-nav a { font-size: 1rem; }

    .header-cta { display: none; }
    .header-cta-portal { display: none; }
    .mobile-nav-portal { display: list-item; }
    .lang-switch { margin-right: auto; margin-left: 0; }
    .header-right { gap: 12px; }

    .owner-inner { flex-direction: column; text-align: center; gap: 0; align-items: center; }
    .owner-contacts { align-items: center; }
    .owner-photo img { width: 200px; }
    .owner-info { padding: 32px 0; }

    .hero-content { padding: 100px 20px 60px; }

    .service-grid { grid-template-columns: 1fr; gap: 16px; }
    .service-card { padding: 20px 18px; }
    .methode-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .methode-step { padding: 14px 12px; }

    .ecoles-layout { grid-template-columns: 1fr; gap: 40px; }
    .ecoles-image { order: -1; }

    .pourquoi-layout { grid-template-columns: 1fr; gap: 40px; }
    .pourquoi-testimonials-row { grid-template-columns: 1fr; }
    .realisations-grid { grid-template-columns: 1fr; }

    .footer-inner {
        flex-direction: column;
        text-align: center;
        gap: 24px;
    }
    .footer-legal { text-align: center; }

    .altam-fallback-form .form-row { grid-template-columns: 1fr; }
    .section-contact .wpforms-container .wpforms-field-container { grid-template-columns: 1fr !important; }

    .logos-strip { gap: 16px 20px; }
    .logo-text { font-size: 0.7rem; padding: 6px 12px; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .btn { padding: 12px 24px; font-size: 0.75rem; }
    .hero-ctas { flex-direction: column; align-items: center; }
    .hero-ctas .btn { width: 100%; }
}
