/* =====================================================================
 * Destination : /assets/css/pages/kontakt.css
 * Rôle        : Styles PROPRES À LA PAGE CONTACT (/kontakt.php)
 *               Chargé automatiquement après /assets/css/main.css
 * Version     : 2.0 – Corporate / Trust & Security
 *
 * Sommaire : 01 En-tête & horaires · 02 Canaux · 03 Formulaires
 *            04 Créneaux de rappel · 05 Adresse & carte · 06 Raccourcis
 *            07 Responsive
 * ===================================================================== */

.text-gradient-light { background: linear-gradient(90deg, #93C5FD, #6EE7B7); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* 01. EN-TÊTE & HORAIRES ============================================= */
.contact-hero { padding-bottom: calc(clamp(3rem, 6vw, 5rem) + 3rem); }
.hours-pill { display: inline-flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-top: 1.5rem; padding: .55rem 1rem; font-size: .9rem; font-weight: 600; color: #E2E8F0; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .16); border-radius: 100px; }
.hours-dot { width: 10px; height: 10px; background: #94A3B8; border-radius: 50%; }
.hours-pill.is-open .hours-dot { background: var(--green); box-shadow: 0 0 0 4px rgba(16, 185, 129, .25); animation: pulseRing 2s ease-out infinite; }
.hours-pill.is-open #hoursState { color: #6EE7B7; }
.hours-pill.is-closed #hoursState { color: #FCA5A5; }
.hours-sep { opacity: .5; }

/* 02. CANAUX ========================================================= */
.channels-section { padding-top: 0; }
.channels { position: relative; z-index: 5; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1rem; margin-top: -3.25rem; }
.channel { display: flex; flex-direction: column; padding: 1.4rem; color: var(--text); background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.channel:hover { color: var(--text); transform: translateY(-5px); border-color: var(--blue-soft-2); box-shadow: var(--shadow-xl); }
.channel .ac-icon { margin-bottom: .9rem; }
.channel-label { font-size: .76rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.channel strong { margin: .15rem 0 .2rem; font-family: var(--font-display); font-size: 1.08rem; color: var(--navy); overflow-wrap: anywhere; }
.channel small { font-size: .82rem; color: var(--text-2); }

/* 03. FORMULAIRES ==================================================== */
.forms-section > .container > .ac-alert { margin-bottom: 1.5rem; }
.form-card { height: 100%; padding: clamp(1.4rem, 3.5vw, 2.25rem); background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-xl); box-shadow: var(--shadow); scroll-margin-top: calc(var(--header-h, 76px) + 20px); transition: box-shadow .4s; }
.form-card.is-highlight { box-shadow: 0 0 0 4px rgba(37, 99, 235, .2), var(--shadow-lg); }
.form-card-head { display: flex; gap: 1rem; align-items: center; margin-bottom: 1.5rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--border); }
.form-card-head .ac-icon { flex-shrink: 0; margin: 0; }
.form-card-head p { font-size: .92rem; color: var(--text-2); }
.callback-card { background: linear-gradient(180deg, var(--green-soft-2), var(--white) 160px); border-top: 4px solid var(--green); }
.fraud-hint { display: flex; gap: .85rem; padding: 1rem 1.1rem; font-size: .9rem; color: var(--text-2); background: #FFFBEB; border: 1px solid #FDE68A; border-radius: var(--radius); animation: fadeUp .35s var(--ease); }
.fraud-hint > i { margin-top: .15rem; font-size: 1.15rem; color: #B45309; }
.fraud-hint strong { color: #92400E; }
form.is-sent { opacity: .55; pointer-events: none; }

/* 04. CRÉNEAUX ======================================================= */
.slots { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.slot .ac-choice-body { justify-content: center; padding: .65rem .75rem; text-align: center; font-size: .9rem; }
.slot .ac-choice-body::after { display: none !important; }
.slot .ac-choice-body small { margin-top: .1rem; }
.slot input:checked + .ac-choice-body { background: var(--green-soft-2); border-color: var(--green); box-shadow: 0 0 0 3px rgba(16, 185, 129, .18); }
.slot input:disabled + .ac-choice-body { opacity: .4; cursor: not-allowed; text-decoration: line-through; }

/* 05. ADRESSE & CARTE ================================================ */
.address-card { display: flex; flex-direction: column; padding: 1.75rem; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-xl); }
.address-card h2 { display: flex; align-items: center; gap: .55rem; }
.address-card h2 i { color: var(--blue); }
.address-card address { margin-bottom: 1.25rem; padding: 1rem 1.1rem; font-style: normal; line-height: 1.7; background: var(--bg); border-left: 3px solid var(--blue); border-radius: var(--radius-sm); }
.address-list { display: grid; gap: .65rem; margin: 0 0 1.5rem; padding: 0; list-style: none; font-size: .92rem; color: var(--text-2); }
.address-list li { display: flex; gap: .7rem; }
.address-list i { width: 1.1rem; margin-top: .25rem; color: var(--blue); }
.map-box, .map-ph { min-height: 380px; border-radius: var(--radius-xl); overflow: hidden; }
.map-wrap { display: flex; flex-direction: column; gap: 1rem; height: 100%; }
.map-wrap .map-box { flex: 1; height: auto; }
.map-box { position: relative; height: 100%; background: var(--bg-2) center / cover; border: 1px solid var(--border); }
.map-box.is-loading::after { content: ""; position: absolute; inset: 0; background: rgba(255, 255, 255, .55); pointer-events: none; }
.route-form { padding: 1.25rem 1.35rem; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-xl); }
.route-form .ac-label { display: flex; align-items: center; gap: .5rem; }
.route-form .ac-label i { color: var(--blue); }
.route-row { display: flex; gap: .65rem; }
.route-row .btn-ac { flex-shrink: 0; }
.route-input { position: relative; flex: 1; min-width: 0; }
.route-input .ac-input { width: 100%; padding-right: 3rem; }
.route-locate { position: absolute; top: 50%; right: .35rem; display: grid; place-items: center; width: 2.3rem; height: 2.3rem; padding: 0; color: var(--blue); background: transparent; border: 0; border-radius: var(--radius-sm); transform: translateY(-50%); transition: background var(--speed), color var(--speed); }
.route-locate:hover, .route-locate:focus-visible { color: var(--navy); background: var(--bg); }
.route-locate.is-busy i { animation: spin 1s linear infinite; }
.route-status { min-height: 1.2em; margin: .5rem 0 .35rem; font-size: .85rem; color: var(--text-2); }
.route-status.is-error { color: var(--danger); }
.route-status:empty { margin: .25rem 0 0; min-height: 0; }
.route-form .link-arrow { font-size: .9rem; }
.map-box iframe { display: block; width: 100%; height: 100%; min-height: 380px; border: 0; }
.map-consent { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .75rem; padding: 2rem; text-align: center; color: var(--text-2); }
.map-consent > i { font-size: 2.5rem; color: var(--blue); }
.map-consent p { max-width: 320px; margin: 0; font-size: .9rem; }

/* 06. RACCOURCIS ===================================================== */
.quick-card { display: flex; align-items: center; gap: 1rem; padding: 1.3rem 1.4rem; color: var(--text); background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); transition: transform .3s var(--ease), box-shadow .3s; }
.quick-card:hover { color: var(--text); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.quick-card .ac-icon { flex-shrink: 0; margin: 0; }
.quick-card strong { font-family: var(--font-display); color: var(--navy); }
.quick-card p { margin: .15rem 0 0; font-size: .86rem; color: var(--text-2); }
.quick-arrow { margin-left: auto; color: var(--blue); transition: transform var(--speed) var(--ease); }
.quick-card:hover .quick-arrow { transform: translateX(5px); }

/* 07. RESPONSIVE ===================================================== */
@media (max-width: 575.98px) {
    .channels { grid-template-columns: 1fr; margin-top: -2.5rem; }
    .channel { flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: .9rem; }
    .channel .ac-icon { margin-bottom: 0; }
    .channel-label { flex: 1; }
    .channel strong, .channel small { flex-basis: 100%; }
    .form-card-head { align-items: flex-start; }
    .map-box, .map-ph, .map-box iframe { min-height: 280px; }
    .route-row { flex-direction: column; }
    .route-row .btn-ac { width: 100%; justify-content: center; }
}