/* ============================
   DESIGN TOKENS
============================ */
:root {
    --blue-dark: #444b74;
    --blue-soft: #eef2f7;
    --blue-soft-strong: #dde4f1;
    --beige-soft: #f7f3ec;
    --white: #ffffff;

    --orange: #e9724c;
    --orange-dark: #d9623f;
    --yellow: #fbd974;

    --text-dark: #1f2433;
    --text-muted: #5a5e74;

    --radius-card: 18px;
    --radius-pill: 999px;

    --shadow-soft: 0 10px 28px rgba(15, 23, 42, 0.06);
    --shadow-strong: 0 22px 48px rgba(15, 23, 42, 0.16);

    --t-fast: 0.18s ease-out;
    --t-med: 0.28s ease;
}

/* ============================
   GLOBAL
============================ */
*,
*::before,
*::after {
    box-sizing: border-box;
}

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

html,
body {
    margin: 0;
    padding: 0;
    /* overflow-x: hidden; */
}

body {
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-dark);
    background: radial-gradient(circle at top left, #f7f3ec 0, #f9f7f4 40%, #f4f6fa 100%);
}

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

/* Container */
.container {
    width: 90%;
    max-width: 1120px;
    margin: 0 auto;
}

/* Sections base */
.section {
    padding: 5.5rem 0;
}

/* Background variants */
.section-white {
    background: var(--white);
}

.section-blue {
    background: var(--blue-soft);
}

.section-beige {
    background: var(--beige-soft);
}

/* Titles */

h2 {
    color: var(--orange);
    margin-bottom: 0px;
}

h1,
h3 {
    color: var(--text-dark);
    margin: 0 0 2.5rem;
}

/* ============================
   HEADER
============================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--beige-bg, #faf9f6);
    /* ta couleur actuelle */
    backdrop-filter: blur(12px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.9rem 0;
}


/* Logo */
.logo-group {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.logo {
    width: 120px;
    height: auto;
    object-fit: contain;
}

/* Desktop nav */
.main-nav {
    display: flex;
    align-items: center;
    gap: 1.8rem;
}

.main-nav a {
    text-decoration: none;
    color: var(--blue-dark);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: color var(--t-fast);
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.3rem;
    width: 0;
    height: 2px;
    border-radius: 999px;
    background: var(--orange);
    transition: width var(--t-fast);
}

.main-nav a:hover {
    color: var(--orange);
}

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

/* Nav CTA */
.nav-cta {
    padding: 0.55rem 1.2rem;
    border-radius: var(--radius-pill);
    background: var(--orange);
    color: #fff !important;
    font-weight: 600;
    box-shadow: 0 12px 28px rgba(233, 114, 76, 0.4);
}

.nav-cta::after {
    display: none;
}

/* ============================
   BURGER & MOBILE NAV
============================ */
.burger {
    display: none;
    /* affiché uniquement en mobile via media query */
    width: 28px;
    height: 22px;
    flex-direction: column;
    justify-content: space-between;
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    z-index: 1200;
}

.burger span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #1f2937;
    /* bleu Bridgi */
    border-radius: 2px;

    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center;

}

.burger.active span:nth-child(1) {
    transform: translateY(9.5px) rotate(45deg);
}

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

.burger.active span:nth-child(3) {
    transform: translateY(-9.5px) rotate(-45deg);
}

/* Mobile nav */
.mobile-nav {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    padding: 1.4rem 1.6rem 1.8rem;
    background: rgba(17, 24, 39, 0.96);
    backdrop-filter: blur(18px);
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity var(--t-med), transform var(--t-med);
    z-index: 40;
}

.mobile-nav.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.mobile-nav a {
    color: #e5e7ff;
    text-decoration: none;
    font-size: 0.98rem;
    font-weight: 500;
}

.mobile-nav a:hover {
    color: var(--orange);
}

.mobile-cta {
    margin-top: 0.7rem;
    padding: 0.8rem 1.2rem;
    border-radius: var(--radius-pill);
    background: var(--orange);
    color: #fff !important;
    display: inline-block;
    text-align: center;
}

/* Lock scroll when open */
body.nav-open {
    overflow: hidden;
}

/* ============================
   HERO
============================ */
.hero {
    padding: 6rem 0 5rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.3fr);

    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    font-size: clamp(2.3rem, 3vw, 2.8rem);
    line-height: 1.15;
}

.hero-text {
    margin-top: 1rem;
    font-size: 1.02rem;
    color: var(--text-muted);
    max-width: 36rem;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.5rem;
    border-radius: var(--radius-pill);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: transform var(--t-fast), box-shadow var(--t-fast), background var(--t-fast), color var(--t-fast);
}

.btn-primary {
    background: var(--orange);
    color: #fff;
    box-shadow: 0 16px 32px rgba(233, 114, 76, 0.35);
}

.btn-primary:hover {
    background: var(--orange-dark);
    transform: translateY(-2px);
    box-shadow: 0 24px 42px rgba(233, 114, 76, 0.45);
}

.btn-outline {
    border: 1px solid rgba(148, 163, 184, 0.8);
    color: var(--blue-dark);
    background: transparent;
}

.btn-outline:hover {
    border-color: var(--orange);
    color: var(--orange);
}

/* Ghost link */
.ghost-link {
    background: none;
    border: none;
    padding: 0;
    color: var(--blue-dark);
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

/* Hero card */
.hero-card {
    background: var(--white);
    border-radius: var(--radius-card);
    padding: 1.8rem;
    box-shadow: var(--shadow-soft);
    max-width: clamp(360px, 40vw, 560px);

    justify-self: center;
}

.testimonial-img {
    width: 100%;
    /* Taille augmentée (tu peux monter à 200–220 si tu veux) */
    height: auto;
    /* Toujours carré pour garder l’harmonie */
    object-fit: cover;
    aspect-ratio: 4 / 5;
    /* Remplissage propre */
    border-radius: 28px;
    /* Un peu plus arrondi que le reste pour un look premium */
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.12);
    transform: translateY(20px);
    /* Pour la descendre légèrement, optionnel */
}


.testimonial-text {
    margin: 1rem 0;
    font-size: 1rem;
    color: var(--text-dark);
}

.testimonial-author {
    font-size: 0.9rem;
    color: var(--text-muted);
}


/* ============================
   HOW IT WORKS
============================ */
#how-it-works h2,
#match h2,
#why h2,
#about h2,
#faq h2,
#contact-section h2 {
    font-size: 2.1rem;
    margin-bottom: 0.6rem;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.8rem;
}

.step-card {
    background: var(--white);
    border-radius: var(--radius-card);
    padding: 1.8rem 1.6rem;
    box-shadow: var(--shadow-soft);
    transition: transform var(--t-med), box-shadow var(--t-med);
}

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

.step-index {
    font-weight: 700;
    color: var(--orange);
    font-size: 1.35rem;
}

/* ============================
   MATCH (For companies / freelancers)
============================ */
.match-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.2rem;
}

.match-card {
    background: var(--white);
    border-radius: var(--radius-card);
    padding: 2rem;
    box-shadow: var(--shadow-soft);
    transition: transform var(--t-med), box-shadow var(--t-med);

}

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

.tag {
    display: inline-block;
    padding: 0.3rem 0.9rem;
    border-radius: var(--radius-pill);
    background: #e5e9ff;
    color: var(--blue-dark);
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 0.9rem;
}

.tag-alt {
    background: #fff0e4;
    color: var(--orange);
}

.match-list {
    margin: 1rem 0 1.6rem;
    padding-left: 1.1rem;
    color: var(--text-dark);
}

.match-list li {
    margin-bottom: 0.4rem;
}

/* Outline button companies */
.btn-outline-orange {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.4rem;
    border-radius: var(--radius-pill);
    border: 2px solid var(--orange);
    color: var(--orange);
    font-weight: 600;
    text-decoration: none;
    background: transparent;
    cursor: pointer;
    transition: background var(--t-fast), color var(--t-fast), box-shadow var(--t-fast);
}

.btn-outline-orange:hover {
    background: rgba(233, 114, 76, 0.08);
    box-shadow: 0 16px 32px rgba(233, 114, 76, 0.25);
}

/* Freelancers actions */
.freelance-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
}

/* Container pour bien aligner les deux boutons */
.companies-buttons {
    display: flex;
    gap: 18px;
    /* espace entre les deux boutons */
    margin-top: 25px;
    flex-wrap: wrap;
    /* permet un bon rendu en mobile */
}

/* Container pour bien aligner les deux boutons */
.freelancers-buttons {
    display: flex;
    gap: 18px;
    /* espace entre les deux boutons */
    margin-top: 25px;
    flex-wrap: wrap;
    /* permet un bon rendu en mobile */
}


/* Style identique pour View missions & Apply now */
.btn-primary {
    padding: 14px 32px;
    background: var(--orange);
    color: white;
    border-radius: 40px;
    font-weight: 600;
    text-decoration: none;
    font-size: 1rem;
    transition: 0.25s ease;
    box-shadow: 0 8px 20px rgba(233, 114, 76, 0.35);
}

/* Hover identique */
.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 26px rgba(233, 114, 76, 0.45);
}

.btn-blue {
    padding: 14px 32px;
    background: var(--blue-dark);
    color: white;
    border-radius: 40px;
    font-weight: 600;
    text-decoration: none;
    font-size: 1rem;
    transition: 0.25s ease;
    box-shadow: 0 10px 26px rgba(243, 241, 241, 0.45);
}

.btn-blue:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 26px rgba(243, 241, 241, 0.45);
}

/* ============================
   WHY BRIDGI
============================ */
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
    display: flex;
    flex-wrap: nowrap;
    /* Empêche la 4e de descendre */
    gap: 32px;
    justify-content: center;
    /* Centre les cartes */
    align-items: stretch;

}

.why-card {
    background: var(--white);
    border-radius: var(--radius-card);
    padding: 2rem 1.8rem;
    box-shadow: var(--shadow-soft);
    transition: transform var(--t-med), box-shadow var(--t-med);


}

.why-card {
    flex: 1;
    /* Partage équitable de l’espace */
    max-width: 260px;
    /* Taille limite pour tenir à 4 sur une ligne */
    min-width: 220px;
}

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

/* ============================
   ABOUT
============================ */
.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
    gap: 3rem;
    align-items: center;
}

.about-text p {
    color: var(--text-muted);
    margin-bottom: 0.9rem;
}

.about-photo-wrapper {
    display: flex;
    justify-content: flex-end;
}

.about-photo {
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-soft);
    width: 100%;
    max-width: 420px;
    height: auto;
    object-fit: cover;
}

/* Breakpoint plus tôt : l'image passe en dessous AVANT de "heurter" le texte */
@media (max-width: 1100px) {
    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-photo-wrapper {
        justify-content: center;
        margin-top: 2rem;
        order: 2;
        /* image après le texte */
    }

    .about-text {
        order: 1;
    }
}

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

.faq-list details {
    background: var(--white);
    border-radius: var(--radius-card);
    padding: 1.3rem 1.5rem;
    box-shadow: var(--shadow-soft);
    margin-bottom: 1rem;
    cursor: pointer;
}

.faq-list summary {
    list-style: none;
    font-weight: 600;
    color: var(--blue-dark);
    cursor: pointer;
    position: relative;
    font-size: 18px;
    padding-right: 30px;
    /* espace pour la flèche */

}

.faq-list .arrow {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%) rotate(0deg);
    width: 10px;
    height: 10px;
    border-right: 2px solid #444B74;
    /* ton bleu */
    border-bottom: 2px solid #444B74;
    transform-origin: center;
    transform: translateY(-50%) rotate(45deg);
    transition: transform 0.2s ease;
}

.faq-list details[open] .arrow {
    transform: translateY(-50%) rotate(-135deg);
}

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

.faq-list p {
    margin-top: 0.7rem;
    color: var(--text-muted);
}

/* ============================
   CALENDLY
============================ */
.calendly-intro {
    margin-bottom: 1.6rem;
    color: var(--text-muted);
    max-width: 640px;
}

.calendly-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

/* centre sur mobile */
@media (max-width: 960px) {
    .calendly-actions {
        justify-content: center;
    }
}

.calendly-wrapper {
    max-width: 1200px;
    /* espace plus large pour tout centrer */
    margin: 0 auto;
    padding: 2rem;
    background: #fff;
    border-radius: 24px;
    box-shadow: var(--shadow-strong);
    display: flex;
    justify-content: center;
    /* centre Calendly horizontalement */
    align-items: center;
    /* centre verticalement */
    overflow: hidden;
    /* supprime la scrollbar interne */
}

.calendly-inline-widget {
    width: 100% !important;
    max-width: 1050px;
    /* taille idéale pour affichage horizontal */
    min-width: 900px;
    /* force le layout en deux colonnes */
    height: 800px !important;
    /* empêche le scroll interne */
    border: none !important;
    overflow: hidden !important;
}

/* ============================
   FOOTER
============================ */
.footer {
    background: #20253c;
    color: #f5f7ff;
    padding: 3.5rem 0 2.5rem;
    margin-top: 5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1fr);
    gap: 2.5rem;
    align-items: flex-start;
}

.footer-logo {
    width: 200px;
}

.footer-column h4 {
    margin: 0 0 0.7rem;
    font-size: 1rem;
    font-weight: 600;
}

.footer-column p,
.footer-column a {
    font-size: 0.94rem;
    color: #d8def5;
    line-height: 1.7;
    text-decoration: none;
}

.footer-column a:hover {
    color: var(--yellow);
}

.footer-bottom {
    margin-top: 2.2rem;
    padding-top: 1.4rem;
    border-top: 1px solid rgba(148, 163, 184, 0.55);
    text-align: center;
    font-size: 0.85rem;
    color: #c3caea;
}

.mission-card {
    cursor: pointer;
}

.mission-details-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
    max-width: 700px;
    margin: auto;
}

.back-btn {
    display: inline-block;
    margin-bottom: 20px;
    color: #2a3b5f;
    text-decoration: none;
    font-weight: 500;
}

.form-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.04);
    max-width: 750px;
    margin: auto;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

.form-row input {
    flex: 1;
}

.file-upload {
    display: block;
    margin: 20px 0;
}

/* Missions section layout */
.missions-section {
    max-width: 1100px;
    margin: 80px auto;
    padding: 0 20px;
}

.missions-intro {
    color: #555;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

/* Grid layout */
.missions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
}

/* Mission cards */
.mission-card {
    background: #fff;
    padding: 28px;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mission-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.mission-card h3 {
    font-size: 1.3rem;
    margin-bottom: 6px;
    color: #2d3559;
}

.mission-meta {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 14px;
}

.mission-desc {
    color: #444;
    line-height: 1.45;
    margin-bottom: 16px;
}

/* Link styling */
.mission-link {
    color: #e66a33;
    font-weight: 600;
    text-decoration: none;
}

.mission-link:hover {
    text-decoration: underline;
}


/* APPLY SECTION */
.apply-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, #f8f8f4, #eef2f9);
}

.apply-container {
    max-width: 800px;
    margin: auto;
}

.apply-title {
    font-size: 32px;
    font-weight: 700;
    color: #2d3559;
}

.apply-subtitle {
    margin-bottom: 40px;
    color: #555;
}

.apply-form {
    background: white;
    padding: 30px;
    border-radius: 18px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
}

/* INPUTS */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    font-size: 14px;
    font-weight: 500;
    color: #0f172a;
    display: block;
    margin-bottom: 8px;
}

.form-block h4 {
    font-size: 14px;
    font-weight: 500;
    color: #0f172a;
    /* même couleur que les labels */
    margin-bottom: 8px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="date"],
.form-group input[type="file"],
#other-lang-input {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid #ccc;
    margin-top: 8px;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-row .form-group {
    flex: 1;
}

.checkbox-row {
    margin-bottom: 48px;
}

.form-block {
    margin-bottom: 48px;
}

/* CHECKBOXES */
.form-group {
    margin-bottom: 32px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #1f2a44;
}

.label-hint {
    display: block;
    font-weight: 400;
    font-size: 14px;
    color: #6b7280;
    margin-top: 4px;
}

.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    font-family: inherit;
    font-size: 15px;
    line-height: 1.5;
    resize: vertical;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group textarea:focus {
    outline: none;
    border-color: #444B74;
    /* bleu Bridgi */
    box-shadow: 0 0 0 3px rgba(68, 75, 116, 0.12);
}

.form-note {
    margin-top: 8px;
    font-size: 13px;
    color: #6b7280;
    font-style: italic;
}

/* Hide native file input */
.file-upload input[type="file"] {
    display: none;
}

.file-upload {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 8px;
}

.file-upload-btn {
    margin-top: 20px;
    padding: 12px 20px;
    border-radius: 999px;
    background-color: #f26d3d;
    /* orange Bridgi */
    color: #fff !important;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 6px 18px rgba(242, 109, 61, 0.25);

}

.file-upload-btn:hover {
    background-color: #e65f30;
}

.file-name {
    font-size: 14px;
    color: #6b7280;
}

/* BUTTON */
.apply-submit {
    background: #e9724c;
    color: white;
    border: none;
    padding: 15px 28px;
    border-radius: 12px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 20px;
    transition: 0.2s;
}

.apply-submit:hover {
    background: #d65f3c;
}

/* MISSIONS */
/* =========================
   JOB PAGE (MISSION DETAIL)
   ========================= */

.job-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 80px 24px 120px;
}

/* Header */
.job-header {
    margin-bottom: 48px;
}

.job-header h1 {
    font-size: 40px;
    line-height: 1.2;
    color: #1f2a44;
    margin-bottom: 12px;
}

.job-meta {
    font-size: 16px;
    color: #6b7280;
}

/* Description */
.job-description {
    background: #ffffff;
    border-radius: 20px;
    padding: 48px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    margin-bottom: 64px;
}

.job-description h2 {
    font-size: 22px;
    margin: 40px 0 16px;
    color: #1f2a44;
}

.job-description h2:first-child {
    margin-top: 0;
}

.job-description p,
.job-description li {
    font-size: 16px;
    line-height: 1.6;
    color: #4b5563;
}

.job-description ul {
    padding-left: 20px;
}

/* =========================
   APPLY CTA
   ========================= */

.job-apply-cta {
    text-align: center;
    margin-bottom: 64px;
}


.apply-note {
    margin-top: 16px;
    font-size: 14px;
    color: #6b7280;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* =========================
   APPLY FORM
   ========================= */

.mission-apply-form {
    background: #f9fafb;
    border-radius: 24px;
    padding: 56px;
}

.mission-apply-form h2 {
    font-size: 28px;
    margin-bottom: 40px;
    color: #1f2a44;
}

/* Form layout */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

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

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    color: #1f2a44;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    font-size: 15px;
    border-radius: 10px;
    border: 1px solid #d1d5db;
    background: #ffffff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group textarea {
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #e9724c;
    box-shadow: 0 0 0 3px rgba(233, 114, 76, 0.15);
}

/* Submit */
.mission-apply-form button {
    margin-top: 24px;
}

/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 768px) {
    .job-page {
        padding: 48px 20px 80px;
    }

    .job-header h1 {
        font-size: 32px;
    }

    .job-description {
        padding: 32px;
    }

    .mission-apply-form {
        padding: 36px 24px;
    }

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



/* ============================
   RESPONSIVE
============================ */

/* ============================
   HEADER – RESPONSIVE FIX
============================ */

/* Mobile */
@media (max-width: 900px) {

    /* On cache la nav desktop */
    .main-nav {
        display: none;
    }

    /* On affiche le burger */
    .burger {
        display: flex;
    }

    /* Header plus compact sur mobile */
    .header-inner {
        padding: 0.6rem 0;
    }

    /* Logo légèrement réduit */
    .logo {
        width: 90px;
    }
}

@media (max-width: 960px) {
    .hero-grid {
        grid-template-columns: minmax(0, 1fr);
        text-align: center;
    }

    .hero-text {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-card {
        margin-top: 2rem;
    }

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

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

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

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

    .about-photo-wrapper {
        justify-content: center;
    }

    .about-photo {
        max-width: 400px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-logo-block {
        display: flex;
        justify-content: center;
    }
}

/* === RESPONSIVE POUR CALENDLY : HORIZONTAL → VERTICAL === */

/* Desktop : horizontal, on ne change rien */
.calendly-container {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

/* Mobile / Tablet : vertical */
@media (max-width: 900px) {
    .calendly-container {
        flex-direction: column !important;
    }

    .calendly-inline-widget,
    .calendly-inline-widget iframe {
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
        height: 900px !important;
        /* hauteur standard mobile */
    }
}

/* Mobile small */
@media (max-width: 600px) {
    .calendly-inline-widget iframe {
        height: 1200px !important;
    }
}

/* --- RESPONSIVE --- */

/* Tablette : 2 cartes par ligne */
@media (max-width: 992px) {
    .why-card {
        flex: 1 1 calc(50% - 32px);
        max-width: 100%;
    }
}

/* Mobile : 1 carte par ligne, comme How it works */
@media (max-width: 600px) {
    .why-grid {
        flex-direction: column;
        gap: 20px;
    }

    .why-card {
        flex: 1 1 100%;
        width: 100%;
        max-width: none;
    }
}