@charset "UTF-8";
/*----------------------------------------------------------------------------
 * Angels, Inc - /contact/index.css
 * Version v0.3.1
 * Copyright(c) 2026 Angels, Inc
 * Author: Jacques Deguest <jacques.deguest@angels-inc.com>
 * Created 2026/11/04
 * Modified 2026/11/04
 * All rights reserved.
 *
 * Permission to use, copy, modify,  and  distribute  this  software  and  its
 * documentation for any purpose is strictly forbidden. The name of the author
 * or the one of Angels, Inc may not  be  used  in  advertising  or  publicity
 * pertaining to distribution of the software without specific, written  prior
 * permission.
 *
 * THE AUTHOR AND ANGELS, INC DISCLAIMS ALL WARRANTIES  WITH  REGARD  TO  THIS
 * SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND  FITNESS;
 * IN NO EVENT SHALL AUTHOR  NOR  ANGELS,  INC  BE  LIABLE  FOR  ANY  SPECIAL,
 * INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING  FROM
 * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,  NEGLIGENCE
 * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE  USE  OR
 * PERFORMANCE OF THIS SOFTWARE.
 *----------------------------------------------------------------------------
 */
/* Contact page styles are scoped to avoid changing the site-wide theme.
 * Several selectors are deliberately more specific than strictly necessary, because /public/public.css styles bare elements (address, label span, input, a[href]:not(.button), .button) with the same or a higher specificity.
 */
.ai-contact-page
{
    /* Colours derived from the theme variables in /public/public.css, so the page follows both prefers-color-scheme and data-theme. */
    --aic-bg: var(--secondary-bg, #fff);
    --aic-soft: var(--primary-bg, #f6f6f6);
    --aic-text: var(--text-color, #555);
    --aic-input-bg: var(--input-bg, #fbfbfb);
    --aic-muted: #737a80;
    --aic-border: #e2e5e8;
    --aic-field-border: #c9ced2;
    /* #0ad1e5 is the site accent (button hover); the darker variant is used for text, for sufficient contrast. */
    --aic-accent: #0ad1e5;
    --aic-accent-ink: #007f8c;
    --aic-accent-soft: rgba(10, 209, 229, 0.09);
    --aic-ink: #374045;
    --aic-error: #a32232;
    --aic-error-soft: rgba(163, 34, 50, 0.07);
    --aic-ok: #1f6f47;
    --aic-ok-soft: rgba(31, 111, 71, 0.08);
    padding-bottom: 64px;
    line-height: 1.7;
    color: var(--aic-text);
}

/* Dark values, applied under the same two conditions as in /public/public.css */
@media (prefers-color-scheme: dark)
{
    :root:not([data-theme="light"]) .ai-contact-page
    {
        --aic-muted: #a3a3a3;
        --aic-border: #4d4d4d;
        --aic-field-border: #5a5a5a;
        --aic-accent-ink: #5fe3f0;
        --aic-accent-soft: rgba(10, 209, 229, 0.12);
        --aic-ink: #f0f0f0;
        --aic-error: #f29aa5;
        --aic-error-soft: rgba(242, 154, 165, 0.1);
        --aic-ok: #8fdcb2;
        --aic-ok-soft: rgba(143, 220, 178, 0.1);
    }
}

:root[data-theme="dark"] .ai-contact-page
{
    --aic-muted: #a3a3a3;
    --aic-border: #4d4d4d;
    --aic-field-border: #5a5a5a;
    --aic-accent-ink: #5fe3f0;
    --aic-accent-soft: rgba(10, 209, 229, 0.12);
    --aic-ink: #f0f0f0;
    --aic-error: #f29aa5;
    --aic-error-soft: rgba(242, 154, 165, 0.1);
    --aic-ok: #8fdcb2;
    --aic-ok-soft: rgba(143, 220, 178, 0.1);
}

/* NOTE: Heading */
.ai-contact-head
{
    margin: 0 0 36px;
}

.ai-contact-page .ai-contact-lead
{
    max-width: 52em;
    margin: 0;
    font-size: 1.1em;
    line-height: 1.7;
    color: var(--aic-muted);
}

/* NOTE: Layout */
.ai-contact-grid
{
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 44px;
    align-items: start;
}

.ai-contact-page h2
{
    margin: 0 0 18px;
    font-size: 21px;
    line-height: 1.35;
    color: var(--aic-ink);
}

/* NOTE: Details column */
.ai-cd-block
{
    padding: 0 0 26px;
    margin: 0 0 26px;
    border-bottom: 1px solid var(--aic-border);
}

.ai-contact-page .ai-cd-row,
.ai-contact-page .ai-cd-mails > li
{
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin: 0 0 20px;
    line-height: 1.6;
}

.ai-contact-page .ai-cd-row:last-child,
.ai-contact-page .ai-cd-mails > li:last-child
{
    margin-bottom: 0;
}

.ai-cd-icon
{
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--aic-accent-soft);
    color: var(--aic-accent-ink);
}

.ai-cd-icon svg
{
    display: block;
}

.ai-cd-body
{
    flex: 1 1 auto;
    min-width: 0;
    padding-top: 7px;
}

.ai-contact-page .ai-cd-body p
{
    margin: 0;
    line-height: 1.6;
}

/* Neutralise the boxed site-wide address style from /public/public.css */
.ai-contact-page .ai-cd-body address
{
    margin: 2px 0 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    font-size: inherit;
    font-style: normal;
    line-height: 1.6;
    color: var(--aic-text);
}

.ai-contact-page .ai-cd-org
{
    font-weight: 600;
    color: var(--aic-ink);
}

.ai-contact-page .ai-cd-key
{
    font-size: 0.78em;
    font-weight: 600;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--aic-muted);
}

.ai-contact-page .ai-cd-mails,
.ai-contact-page .ai-cd-langs
{
    list-style: none;
    margin: 0;
    padding: 0;
}

.ai-contact-page .ai-cd-langs
{
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 6px;
}

.ai-contact-page .ai-cd-langs > li
{
    margin: 0;
    padding: 2px 11px;
    border: 1px solid var(--aic-border);
    border-radius: 999px;
    font-size: 0.85em;
    line-height: 1.5;
    background: var(--aic-soft);
}

/* NOTE: Map links, one per platform
 * /public/public.css forces display: inline !important on the Apple link for Apple platforms, so the style below must also hold for an inline box, and the rule showing that link uses !important with a higher specificity.
 */
.ai-contact-page .ai-cd-body .ai-map-links
{
    margin: 12px 0 0;
}

.ai-contact-page a.ai-map-link[href]
{
    display: inline-block;
    padding: 5px 12px;
    border: 1px solid var(--aic-border);
    border-radius: 3px;
    font-size: 0.9em;
    line-height: 1.4;
    text-decoration: none;
    white-space: nowrap;
    color: var(--aic-ink);
    background: var(--aic-bg);
}

.ai-contact-page a.ai-map-link[href]:before
{
    content: "";
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-right: 7px;
    vertical-align: -2px;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 4 3 6v14l6-2 6 2 6-2V4l-6 2-6-2zm0 2.2 6 2v11.6l-6-2V6.2z'/%3E%3C/svg%3E") center / contain no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 4 3 6v14l6-2 6 2 6-2V4l-6 2-6-2zm0 2.2 6 2v11.6l-6-2V6.2z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.ai-contact-page a.ai-map-link[href]:hover,
.ai-contact-page a.ai-map-link[href]:focus
{
    border-color: var(--aic-accent);
    color: var(--aic-accent-ink);
}

/* Google Maps by default and without JavaScript; Apple Maps only once index.js has confirmed an Apple platform. */
.ai-contact-page a.ai-map-link[data-os~="macOS"]
{
    display: none;
}

.ai-contact-page[data-map="apple"] a.ai-map-link[data-os~="macOS"]
{
    display: inline-block !important;
}

.ai-contact-page[data-map="apple"] a.ai-map-link[data-os~="default"]
{
    display: none !important;
}

/* NOTE: Obfuscated e-mail addresses
 * The address is never present in the markup as such. Until a visitor interacts with the link, it is drawn by this pseudo-element from the reversed data attributes, as on the corporate site. Once index.js has decoded it, the link holds real text and the pseudo-element is switched off, including the site-wide .courriel:before rule in /public/public.css.
 */
.ai-contact-page a.courriel[href]
{
    font-weight: 500;
    color: var(--aic-accent-ink);
    text-decoration: none;
    border-bottom: 1px solid currentColor;
    overflow-wrap: anywhere;
}

.ai-contact-page a.courriel[href]:hover,
.ai-contact-page a.courriel[href]:focus
{
    color: var(--aic-ink);
}

.ai-contact-page a.courriel:not([data-decoded]):before
{
    content: attr(data-website) "\0040" attr(data-user);
    unicode-bidi: bidi-override;
    direction: rtl;
}

.ai-contact-page a.courriel[data-decoded]:before
{
    content: none;
}

/* NOTE: Note */
.ai-contact-page .ai-contact-note
{
    margin: 0;
    padding: 12px 16px;
    border-left: 3px solid var(--aic-accent);
    border-radius: 0 3px 3px 0;
    background: var(--aic-accent-soft);
    font-size: 0.9em;
    line-height: 1.6;
}

/* NOTE: Form column */
.ai-contact-form-section
{
    padding: 30px 32px 32px;
    border: 1px solid var(--aic-border);
    border-top: 3px solid var(--aic-ink);
    border-radius: 4px;
    background: var(--aic-bg);
    box-shadow: 0 10px 30px -18px rgba(20, 30, 40, 0.35);
}

.ai-contact-page .ai-contact-form-section h2
{
    margin-bottom: 4px;
}

.ai-contact-page .ai-cf-intro
{
    margin: 0 0 22px;
    font-size: 0.85em;
    color: var(--aic-muted);
}

.ai-contact-page .ai-contact-form
{
    margin: 0;
}

.ai-contact-page .ai-cf-req
{
    color: var(--aic-error);
    font-weight: 700;
}

.ai-cf-pair
{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    column-gap: 18px;
}

.ai-cf-field
{
    margin: 0 0 18px;
}

.ai-contact-form .ai-cf-field label
{
    display: block;
    margin: 0 0 6px;
    font-size: 0.95em;
    font-weight: 600;
    line-height: 1.4;
    color: var(--aic-ink);
}

/* /public/public.css sets label span to a normal weight and a smaller size on mobile; the lang spans must follow the label instead. */
.ai-contact-form .ai-cf-field label span
{
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
}

.ai-contact-form .ai-cf-field label .ai-cf-opt,
.ai-contact-form .ai-cf-field label .ai-cf-opt span
{
    font-weight: 400;
    color: var(--aic-muted);
}

.ai-contact-form .ai-cf-field input,
.ai-contact-form .ai-cf-field textarea
{
    display: block;
    width: 100%;
    max-width: none;
    box-sizing: border-box;
    margin: 0;
    padding: 10px 12px;
    border: 1px solid var(--aic-field-border);
    border-radius: 3px;
    background-color: var(--aic-input-bg);
    color: var(--aic-text);
    font: inherit;
    font-size: 1em;
    line-height: 1.5;
    box-shadow: none;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.ai-contact-form .ai-cf-field textarea
{
    min-height: 180px;
    resize: vertical;
}

.ai-contact-form .ai-cf-field input:focus,
.ai-contact-form .ai-cf-field textarea:focus
{
    outline: none;
    border-color: var(--aic-accent);
    box-shadow: 0 0 0 3px rgba(10, 209, 229, 0.22);
    color: var(--aic-text);
}

.ai-contact-form .ai-cf-field [aria-invalid="true"]
{
    border-color: var(--aic-error);
    box-shadow: 0 0 0 3px var(--aic-error-soft);
}

.ai-cf-trap
{
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.ai-contact-page .ai-cf-feedback
{
    margin: 0 0 16px;
    padding: 10px 14px;
    border-radius: 3px;
    line-height: 1.5;
}

.ai-contact-page .ai-cf-feedback:empty
{
    display: none;
}

.ai-contact-page .ai-cf-feedback[data-error="true"]
{
    color: var(--aic-error);
    background: var(--aic-error-soft);
}

.ai-contact-page .ai-cf-feedback[data-error="false"]
{
    color: var(--aic-ok);
    background: var(--aic-ok-soft);
}

.ai-cf-actions
{
    display: flex;
    align-items: center;
    gap: 14px;
}

/* .button is set to 13px in /public/public.css, which is too small for the main call to action of the page. */
.ai-contact-form button.button
{
    margin: 0;
    padding: 10px 24px;
    font-size: 15px;
    line-height: 1.4;
}

.ai-contact-form button.button[disabled]
{
    cursor: progress;
}

/* NOTE: Narrow screens */
@media (max-width: 900px)
{
    .ai-contact-grid
    {
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
    }

    /* The form is the main purpose of the page, so it comes first on small screens. */
    .ai-contact-form-section
    {
        order: -1;
    }
}

@media (max-width: 560px)
{
    .ai-contact-form-section
    {
        padding: 22px 18px 24px;
    }

    .ai-contact-form button.button
    {
        width: 100%;
    }
}
