/* ==========================================================================
   HANDI MOBIL - REPRODUCTION FIDÈLE DE LA PAGE CONTACT
   ========================================================================== */

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

body {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
    color: #2b2b2b;
    background-color: #ffffff;
    line-height: 1.5;
    font-size: 14px;
}

a {
    color: inherit;
    text-decoration: none;
}

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

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.content-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.header {
    width: 100%;
    background-color: #ffffff;
}

.header-top {
    padding: 12px 0;
    background-color: #ffffff;
}

.header-top .header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 48px;
    width: auto;
}

.header-top-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-reseau {
    background-color: #1a2730;
    color: #ffffff;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: background-color 0.2s;
}

.btn-reseau:hover {
    background-color: #263845;
}

.btn-contact {
    background-color: #17b4c9;
    color: #ffffff;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: background-color 0.2s;
}

.btn-contact:hover {
    background-color: #1398aa;
}

.btn-tel {
    background-color: #0b3b5f;
    color: #ffffff;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.2s;
}

.btn-tel:hover {
    background-color: #072a45;
}

/* Menu Toggle Mobile */
.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.mobile-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #1a2730;
    border-radius: 2px;
}

/* Barre de navigation SOMBRE */
.nav-bar {
    background-color: #19242c;
}

.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 25px;
    overflow-x: auto;
    padding: 0;
}

.nav-item {
    position: relative;
    white-space: nowrap;
}

.nav-item > a {
    display: block;
    color: #ffffff;
    font-size: 13px;
    font-weight: 500;
    padding: 13px 0;
    transition: color 0.2s;
}

.nav-item > a:hover {
    color: #17b4c9;
}

.nav-item.has-sub > a {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-item.has-sub > a i {
    font-size: 11px;
}

/* Sous-menu */
.sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #19242c;
    min-width: 240px;
    list-style: none;
    padding: 8px 0;
    z-index: 100;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.nav-item.has-sub:hover .sub-menu {
    display: block;
}

.sub-menu li a {
    display: block;
    padding: 8px 16px;
    color: #e2e8f0;
    font-size: 12.5px;
}

.sub-menu li a:hover {
    background-color: #24343f;
    color: #17b4c9;
}

/* ==========================================================================
   FIL D'ARIANE ALIGNÉ À DROITE
   ========================================================================== */
.breadcrumb-container {
    padding: 8px 0;
}

.breadcrumb {
    text-align: right;
    font-size: 11.5px;
    color: #444444;
}

.breadcrumb a {
    color: #0b3b5f;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* ==========================================================================
   TITRES & PRÉSENTATION
   ========================================================================== */
.page-intro {
    text-align: center;
    margin: 30px auto 35px;
    max-width: 860px;
}

.page-title {
    font-size: 17px;
    font-weight: 600;
    color: #222222;
    margin-bottom: 6px;
    letter-spacing: 0.2px;
}

.page-subtitle {
    font-size: 32px;
    font-weight: 500;
    color: #17b4c9;
    margin-bottom: 18px;
    letter-spacing: -0.5px;
}

.page-description {
    font-size: 13px;
    color: #444444;
    line-height: 1.6;
}

.page-description p {
    margin-bottom: 4px;
}

/* ==========================================================================
   BLOC CONTACT UNIFIÉ (FOND GRIS/BLEU CLAIR ARRONDI)
   ========================================================================== */
.contact-box {
    display: flex;
    background-color: #edf2f7;
    border-radius: 20px;
    padding: 30px 35px;
    margin: 0 auto 50px;
    max-width: 960px;
    gap: 0;
}

/* GAUCHE : FORMULAIRE */
.contact-box-left {
    flex: 1.35;
    padding-right: 35px;
}

.box-title {
    font-size: 24px;
    font-weight: 600;
    color: #0b3b5f;
    text-align: center;
    margin-bottom: 4px;
}

.box-subtitle {
    text-align: center;
    font-size: 12px;
    color: #666666;
    margin-bottom: 22px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

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

.form-row.full-width {
    flex-direction: column;
    gap: 0;
}

.form-field {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.form-field input,
.form-field textarea {
    width: 100%;
    padding: 10px 14px;
    background-color: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    font-family: inherit;
    font-size: 13px;
    color: #333333;
    transition: border-color 0.2s;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: #718096;
}

.form-field input:focus,
.form-field textarea:focus {
    outline: none;
    border-color: #17b4c9;
    box-shadow: 0 0 0 2px rgba(23, 180, 201, 0.15);
}

.form-field textarea {
    resize: vertical;
    min-height: 110px;
}

.field-error {
    font-size: 11.5px;
    color: #dc2626;
    display: none;
    margin-top: 5px;
    font-weight: 500;
}

.has-error input,
.has-error textarea {
    border-color: #dc2626 !important;
    background-color: #fff8f8;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12) !important;
}

.has-error .field-error {
    display: flex;
    align-items: center;
    gap: 5px;
}

.has-error .field-error::before {
    content: '\f06a';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 12px;
}

.form-field.is-valid input {
    border-color: #10b981;
    background-color: #fcfdfd;
}

/* RGPD Checkbox */
.checkbox-row {
    margin-top: 5px;
}

.rgpd-label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 11.5px;
    color: #4b5563;
    line-height: 1.4;
    cursor: pointer;
}

.rgpd-label input {
    margin-top: 2px;
    cursor: pointer;
}

.rgpd-label a {
    color: #0b3b5f;
    text-decoration: underline;
}

/* Bouton Envoyer */
.form-submit-row {
    text-align: center;
    margin-top: 15px;
}

.btn-submit {
    background-color: #0b3b5f;
    color: #ffffff;
    border: none;
    padding: 11px 42px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
}

.btn-submit:hover {
    background-color: #082d49;
    transform: translateY(-1px);
}

.alert-box {
    margin-top: 15px;
    padding: 12px;
    border-radius: 6px;
    font-size: 13px;
    text-align: center;
}

.alert-box.success {
    background-color: #def7ec;
    color: #03543f;
    border: 1px solid #bcf0da;
}

.alert-box.error {
    background-color: #fde8e8;
    color: #9b1c1c;
    border: 1px solid #f8b4b4;
}

/* DROITE : COORDONNÉES */
.contact-box-right {
    flex: 0.85;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding-top: 5px;
    padding-left: 35px;
    border-left: 1px solid #d1dbe5;
}

.company-name {
    font-size: 20px;
    font-weight: 700;
    color: #1a2730;
    margin-bottom: 2px;
}

.contact-text-block {
    font-size: 13.5px;
    color: #334155;
    line-height: 1.45;
}

.address-block {
    font-weight: 400;
}

.hours-block {
    color: #475569;
}

.email-block a,
.web-block a {
    color: #1a2730;
    text-decoration: none;
}

.email-block a:hover,
.web-block a:hover {
    color: #17b4c9;
    text-decoration: underline;
}

.tel-block a {
    font-weight: 700;
    color: #1a2730;
    font-size: 14px;
}

.tel-block a:hover {
    color: #0b3b5f;
}

/* Boutons Itinéraire & Avis */
.contact-buttons-block {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 5px;
    max-width: 170px;
}

.btn-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #ffffff;
    border: 1px solid #d1dbe5;
    border-radius: 20px;
    padding: 7px 16px;
    font-size: 12.5px;
    font-weight: 600;
    color: #2b3b47;
    transition: all 0.2s;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.btn-pill:hover {
    border-color: #17b4c9;
    color: #17b4c9;
    transform: translateY(-1px);
}

/* ==========================================================================
   SECTION RÉALISATIONS / ATOUTS (BLEU FONCÉ)
   ========================================================================== */
.section-rea {
    background-color: #0b3b5f;
    padding: 40px 0;
    margin-top: 20px;
}

.rea-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.rea-item {
    flex: 1;
    min-width: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
}

.rea-item img {
    height: 52px;
    width: auto;
}

.rea-title {
    color: #ffffff;
    font-size: 13.5px;
    font-weight: 600;
}

/* ==========================================================================
   SECTION CTA
   ========================================================================== */
.section-cta {
    background: linear-gradient(rgba(11, 59, 95, 0.88), rgba(11, 59, 95, 0.88)), url('assets/images/cta-bg.jpg') center/cover fixed;
    padding: 65px 0;
    text-align: center;
    color: #ffffff;
}

.cta-heading {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 25px;
}

.cta-btn-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-pill-btn {
    border: 2px solid #ffffff;
    color: #ffffff;
    padding: 10px 28px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
}

.cta-pill-btn:hover {
    background-color: #ffffff;
    color: #0b3b5f;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    background-color: #121c23;
    color: #a0aec0;
    padding-top: 50px;
    font-size: 12.5px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
    gap: 35px;
    padding-bottom: 40px;
}

.footer-logo {
    height: 42px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
}

.footer-socials {
    display: flex;
    gap: 10px;
}

.footer-socials a {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: background-color 0.2s;
}

.footer-socials a:hover {
    background-color: #17b4c9;
}

.footer-title {
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
}

.footer-col p {
    margin-bottom: 8px;
    line-height: 1.4;
}

.footer-nav {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-nav a:hover {
    color: #17b4c9;
}

.footer-bottom-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 18px 0;
    text-align: center;
    font-size: 11.5px;
    color: #718096;
}

/* ==========================================================================
   ENQUÊTE DE SATISFACTION
   ========================================================================== */

/* Carte principale du formulaire */
.survey-card {
    background-color: #edf2f7;
    border-radius: 20px;
    padding: 40px 45px;
    margin: 0 auto 50px;
    max-width: 960px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
}

/* Sections du formulaire */
.survey-section {
    margin-bottom: 35px;
    padding-bottom: 30px;
    border-bottom: 1px solid #d1dbe5;
}

.survey-section:last-of-type {
    border-bottom: none;
    margin-bottom: 20px;
    padding-bottom: 0;
}

.survey-section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.section-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, #0b3b5f, #17b4c9);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 17px;
    flex-shrink: 0;
}

.survey-section-header h3 {
    font-size: 20px;
    font-weight: 700;
    color: #0b3b5f;
}

.survey-required-note {
    font-size: 12px;
    color: #666666;
    margin-bottom: 20px;
    font-style: italic;
}

/* Grille des champs coordonnées */
.survey-fields-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.form-label {
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 5px;
    display: block;
}

.form-label .required {
    color: #dc2626;
    font-weight: 700;
}

/* Questions */
.survey-question {
    margin-bottom: 30px;
}

.survey-question:last-child {
    margin-bottom: 0;
}

.question-label {
    font-size: 14px;
    font-weight: 600;
    color: #1a2730;
    margin-bottom: 14px;
    line-height: 1.55;
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.question-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    min-width: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0b3b5f, #17b4c9);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 1px;
}

/* Groupes d'options (radio & checkbox) */
.options-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-left: 38px;
}

.option-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    background-color: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 13.5px;
    color: #334155;
}

.option-item:hover {
    border-color: #17b4c9;
    background-color: #f0fdff;
    transform: translateX(3px);
}

.option-item input[type="radio"],
.option-item input[type="checkbox"] {
    display: none;
}

/* Indicateur radio personnalisé */
.radio-indicator {
    width: 18px;
    height: 18px;
    min-width: 18px;
    border-radius: 50%;
    border: 2px solid #cbd5e1;
    transition: all 0.2s ease;
    position: relative;
    flex-shrink: 0;
}

.option-item:has(input[type="radio"]:checked) .radio-indicator {
    border-color: #17b4c9;
}

.option-item:has(input[type="radio"]:checked) .radio-indicator::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #17b4c9;
}

/* Indicateur checkbox personnalisé */
.checkbox-indicator {
    width: 18px;
    height: 18px;
    min-width: 18px;
    border-radius: 5px;
    border: 2px solid #cbd5e1;
    transition: all 0.2s ease;
    position: relative;
    flex-shrink: 0;
}

.option-item:has(input[type="checkbox"]:checked) .checkbox-indicator {
    border-color: #17b4c9;
    background-color: #17b4c9;
}

.option-item:has(input[type="checkbox"]:checked) .checkbox-indicator::after {
    content: '\2713';
    position: absolute;
    top: -2px;
    left: 2px;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
}

/* État sélectionné des options */
.option-item:has(input:checked) {
    border-color: #17b4c9;
    background-color: rgba(23, 180, 201, 0.07);
    box-shadow: 0 0 0 1px rgba(23, 180, 201, 0.1);
}

/* Échelle de recommandation (Question 10) */
.scale-container {
    padding-left: 38px;
}

.scale-labels {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 11.5px;
    color: #64748b;
    font-weight: 500;
}

.scale-buttons {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.scale-btn {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    border: 2px solid #d1dbe5;
    background-color: #ffffff;
    color: #334155;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scale-btn:hover {
    border-color: #17b4c9;
    color: #17b4c9;
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(23, 180, 201, 0.18);
}

.scale-btn.active {
    background: linear-gradient(135deg, #0b3b5f, #17b4c9);
    border-color: transparent;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 5px 14px rgba(23, 180, 201, 0.35);
}

/* Message de remerciement */
.survey-thanks {
    background: linear-gradient(135deg, rgba(11, 59, 95, 0.04), rgba(23, 180, 201, 0.08));
    border-radius: 14px;
    padding: 28px 30px;
    text-align: center;
    margin-bottom: 22px;
    border: 1px solid rgba(23, 180, 201, 0.15);
}

.thanks-icon {
    font-size: 30px;
    color: #17b4c9;
    margin-bottom: 10px;
}

.thanks-title {
    font-size: 17px;
    font-weight: 700;
    color: #0b3b5f;
    margin-bottom: 6px;
}

.thanks-text {
    font-size: 13px;
    color: #475569;
    line-height: 1.55;
}

/* RGPD dans le formulaire d'enquête */
.survey-rgpd {
    margin-bottom: 22px;
}

.survey-rgpd .field-error {
    font-size: 11.5px;
    color: #dc2626;
    display: none;
    margin-top: 6px;
    padding-left: 24px;
    font-weight: 500;
}

.survey-rgpd.has-error .field-error {
    display: flex;
    align-items: center;
    gap: 5px;
}

.survey-rgpd.has-error .field-error::before {
    content: '\f06a';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 12px;
}

/* ==========================================================================
   RESPONSIVE MOBILE
   ========================================================================== */
@media (max-width: 900px) {
    .contact-box {
        flex-direction: column;
        padding: 25px 20px;
    }

    .contact-box-left {
        padding-right: 0;
        padding-bottom: 25px;
    }

    .contact-box-right {
        border-left: none;
        border-top: 1px solid #d1dbe5;
        padding-left: 0;
        padding-top: 25px;
    }

    .header-top-buttons {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .nav-bar {
        display: none;
    }

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

    .nav-menu {
        flex-direction: column;
        align-items: flex-start;
        padding: 10px 20px;
        gap: 10px;
    }

    .form-row {
        flex-direction: column;
        gap: 12px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    /* Enquête de satisfaction - Responsive */
    .survey-card {
        padding: 22px 16px;
        border-radius: 14px;
    }

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

    .options-group {
        padding-left: 0;
    }

    .scale-container {
        padding-left: 0;
    }

    .scale-buttons {
        justify-content: center;
    }

    .scale-btn {
        width: 38px;
        height: 38px;
        font-size: 13px;
    }

    .survey-section-header h3 {
        font-size: 17px;
    }

    .question-label {
        font-size: 13px;
    }

    .scale-labels {
        flex-direction: column;
        gap: 2px;
        align-items: center;
    }

    .survey-thanks {
        padding: 20px 16px;
    }
}
