/* Polices auto-hébergées (SIL Open Font License) — fichiers variables, sous-ensemble latin */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400 600;
    font-display: swap;
    src: url('fonts/inter-latin.woff2') format('woff2');
}

@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url('fonts/outfit-latin.woff2') format('woff2');
}

:root {
    --bg-color: #0f172a;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --accent: #075d4d;
    --accent-hover: #05483b;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --header-height: 80px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

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

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

button {
    font-family: inherit;
}

/* Skip link (accessibility) */
.skip-link {
    position: absolute;
    top: -50px;
    left: 0;
    background: var(--accent);
    color: white;
    padding: 0.75rem 1.25rem;
    z-index: 9999;
    border-radius: 0 0 8px 0;
    transition: top 0.2s;
}

.skip-link:focus {
    top: 0;
    outline: 3px solid #fde68a;
    outline-offset: 2px;
}

/* Focus visible outline (accessibility) */
:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
    border-radius: 4px;
}

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

.text-gradient {
    background: linear-gradient(90deg, #10b981, #075d4d);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 0.3rem 0;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 100;
    border-bottom: 1px solid var(--glass-border);
}

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

.logo {
    font-size: 1.5rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

/* Hero title copy shown in the header once the real one has scrolled away */
.header-title {
    flex: 1;
    min-width: 0;
    margin: 0 1.5rem;
    text-align: center;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
    line-height: 1.25;
    color: var(--text-main);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

header.show-title .header-title {
    opacity: 1;
    transform: none;
    pointer-events: auto;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a:focus-visible {
    color: var(--accent);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: var(--header-height);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    filter: brightness(0.4);
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, var(--bg-color), transparent);
    z-index: -1;
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-size: clamp(3rem, 5vw, 5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-lead {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 600px;
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: var(--accent);
    color: white;
    font-weight: 600;
    border-radius: 50px;
    font-size: 1rem;
    transition: transform 0.3s, box-shadow 0.3s, background-color 0.3s;
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn:hover,
.btn:focus-visible {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(7, 93, 77, 0.4);
}

.btn-secondary {
    background-color: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-main);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
    background-color: rgba(255, 255, 255, 0.08);
    box-shadow: none;
}

/* Section Shared */
section {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--text-main);
    margin-bottom: 1rem;
}

.section-subtitle-light {
    color: white;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* About / Pourquoi Nous */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.about-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent);
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.icon-wrapper {
    width: 60px;
    height: 60px;
    background-color: rgba(7, 93, 77, 0.2);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.about-card h3 {
    font-size: 1.35rem;
    margin-bottom: 1.5rem;
    color: white;
    line-height: 1.4;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    position: relative;
    padding-left: 32px;
    margin-bottom: 1rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent);
    font-weight: bold;
    font-size: 1.1rem;
}

/* Artisans Grid */
.artisans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.artisan-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 350px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    color: inherit;
    text-align: left;
    width: 100%;
    font-family: inherit;
}

.artisan-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.artisan-card:hover img,
.artisan-card:focus-visible img {
    transform: scale(1.08);
}

.artisan-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.2) 60%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
}

.artisan-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    transform: translateY(10px);
    transition: transform 0.3s;
    color: white;
}

.artisan-card:hover h3,
.artisan-card:focus-visible h3 {
    transform: translateY(0);
}

.artisan-card p {
    color: #cbd5e1;
    font-size: 0.9rem;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s 0.1s, transform 0.3s 0.1s;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.artisan-card:hover p,
.artisan-card:focus-visible p {
    opacity: 1;
    transform: translateY(0);
}



.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #e2e8f0;
}

.required {
    color: #ef4444;
    font-weight: 700;
}

.form-error {
    color: #ef4444;
    font-size: 0.85rem;
    margin-top: 0.4rem;
    display: none;
}

.form-error.visible {
    display: block;
}

.turnstile-wrapper + .form-error,
.form-error-global {
    text-align: center;
}

.form-notice {
    margin-top: 1rem;
    color: var(--text-muted);
    font-size: 0.8rem;
    line-height: 1.5;
    text-align: center;
}

.form-notice a {
    text-decoration: underline;
}

.form-notice a:hover {
    color: var(--text-main);
}

.form-control.error,
.trade-search-box.error {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2) !important;
}

.form-control.valid,
.trade-search-box.valid {
    border-color: rgba(16, 185, 129, 0.7);
}

/* Honeypot - invisible to humans */
.form-honey {
    position: absolute;
    left: -9999px;
    top: -9999px;
    opacity: 0;
    height: 0;
    width: 0;
    overflow: hidden;
    pointer-events: none;
}

/* Turnstile wrapper */
.turnstile-wrapper {
    display: flex;
    justify-content: center;
}

.form-control {
    width: 100%;
    padding: 1rem 1.25rem;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: white;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(7, 93, 77, 0.2);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}





















/* Footer */
footer {
    border-top: 1px solid var(--glass-border);
    padding: 3rem 0;
    text-align: center;
    color: var(--text-muted);
}

.socials {
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    transition: color 0.3s, transform 0.3s;
}

.socials a:hover,
.socials a:focus-visible {
    color: var(--accent);
    transform: scale(1.15);
}

.socials a svg {
    width: 32px;
    height: 32px;
}

.footer-links {
    margin-top: 1rem;
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    align-items: center;
    font-size: 0.9rem;
}

.footer-links a {
    transition: color 0.3s;
}

.footer-links a:hover,
.footer-links a:focus-visible {
    color: var(--accent);
}

/* Logo Styling */
.logo-link {
    display: flex;
    align-items: center;
}

.brand-logo {
    height: 80px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: transform 0.3s;
}

.brand-logo:hover {
    transform: scale(1.05);
}

.footer-logo {
    height: 100px;
    width: auto;
    margin: 0 auto 1.5rem auto;
    display: block;
    filter: brightness(0) invert(1);
}

/* Modal Styling */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.active {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
}

.modal-content {
    background: var(--bg-color);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    max-width: 700px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.95) translateY(20px);
    transition: transform 0.3s ease;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.modal.active .modal-content {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    color: var(--text-main);
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    background: none;
    border: none;
    transition: color 0.2s;
    z-index: 10;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover,
.modal-close:focus-visible {
    color: var(--accent);
    background: rgba(255, 255, 255, 0.1);
}

.modal-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

.modal-body {
    padding: 2.5rem;
}

.modal-body h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.modal-body p, .modal-body ul {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.modal-body ul {
    margin-left: 1.5rem;
}

.modal-body p:last-child, .modal-body ul:last-child {
    margin-bottom: 0;
}

.flex-row {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.flex-1 {
    flex: 1;
}

.m-0 {
    margin: 0;
}

.w-100 {
    width: 100%;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0.5rem;
    z-index: 100;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background-color: var(--text-main);
    border-radius: 3px;
}

/* 404 page */
.error-page {
    display: flex;
    align-items: center;
    text-align: center;
}

.error-page .container {
    max-width: 640px;
}

.error-page .error-code {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(4rem, 12vw, 7rem);
    font-weight: 800;
    line-height: 1;
    color: #10b981;
    margin-bottom: 1rem;
}

.error-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* Override the underlined green links of .legal-page */
.error-page .btn,
.error-page .btn:hover,
.error-page .btn:focus-visible {
    color: var(--text-main);
    text-decoration: none;
}

/* Legal pages (mentions-legales, politique-confidentialite) */
.legal-page {
    padding-top: calc(var(--header-height) + 4rem);
    padding-bottom: 4rem;
    min-height: 100vh;
}

.legal-page .container {
    max-width: 800px;
}

.legal-page h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 2rem;
}

.legal-page h2 {
    font-size: 1.5rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.legal-page p,
.legal-page li {
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.legal-page ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal-page a {
    color: #10b981;
    text-decoration: underline;
}

.legal-page a:hover,
.legal-page a:focus-visible {
    color: #34d399;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* =============================================
   Hero: intro on the left, quote card on the right
   ============================================= */
.hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 520px);
    gap: 3rem;
    align-items: center;
    padding: 3rem 0;
}

.hero-intro h1 {
    font-size: clamp(2.5rem, 4.5vw, 4.25rem);
}

.trust-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.5rem;
    color: var(--text-main);
    font-weight: 500;
}

.trust-list li::before {
    content: "✓";
    color: #10b981;
    font-weight: 700;
    margin-right: 0.5rem;
}

/* Header call to action */
.nav-links {
    align-items: center;
}

.nav-links .nav-cta {
    padding: 0.6rem 1.4rem;
    font-size: 0.9rem;
    color: #fff;
}

.nav-links .nav-cta:hover,
.nav-links .nav-cta:focus-visible {
    color: #fff;
}

/* =============================================
   Quote card (3-step form)
   ============================================= */
.quote-card {
    background: rgba(15, 23, 42, 0.82);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2rem;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    scroll-margin-top: calc(var(--header-height) + 1rem);
}

.quote-card-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.steps-indicator {
    list-style: none;
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.steps-indicator li {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding-top: 0.6rem;
    border-top: 3px solid var(--glass-border);
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 500;
    transition: border-color 0.3s, color 0.3s;
}

.steps-indicator li span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.4rem;
    height: 1.4rem;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    font-size: 0.75rem;
}

.steps-indicator li.active,
.steps-indicator li.done {
    border-color: #10b981;
    color: var(--text-main);
}

.steps-indicator li.active span,
.steps-indicator li.done span {
    background: #10b981;
    border-color: #10b981;
    color: #0f172a;
}

.form-step {
    border: 0;
    margin: 0;
    padding: 0;
    min-width: 0;
}

.step-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 1rem;
    padding: 0;
}

.form-step .flex-row {
    margin-bottom: 1.5rem;
}

.step-actions {
    display: flex;
    gap: 0.75rem;
}

.step-actions .btn {
    flex: 1;
    padding-left: 1rem;
    padding-right: 1rem;
}

.step-actions .btn-secondary {
    flex: 0 0 auto;
}

/* Trade search ("J'ai besoin d'un…") */
.trade-search {
    position: relative;
}

.trade-search-box {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    min-height: 3.5rem;
    padding: 0.5rem 1rem;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    cursor: text;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.trade-search-box:focus-within {
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

.trade-search-icon {
    color: var(--text-muted);
    flex-shrink: 0;
}

.trade-chips {
    display: contents;
}

.trade-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.6rem 0.35rem 0.8rem;
    border-radius: 999px;
    border: 1px solid rgba(16, 185, 129, 0.5);
    background: rgba(16, 185, 129, 0.15);
    color: var(--text-main);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
}

.trade-chip span {
    font-size: 1.1rem;
    line-height: 1;
    color: var(--text-muted);
}

.trade-chip:hover span,
.trade-chip:focus-visible span {
    color: #ef4444;
}

.trade-input {
    flex: 1;
    min-width: 10rem;
    background: transparent;
    border: 0;
    outline: none;
    color: var(--text-main);
    font-family: inherit;
    font-size: 1rem;
    padding: 0.5rem 0;
}

.trade-input::placeholder {
    color: var(--text-muted);
}

.trade-suggestions {
    list-style: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    z-index: 20;
    max-height: 290px;
    overflow-y: auto;
    background: #1e293b;
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
    padding: 0.4rem;
}

.trade-option {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    padding: 0.65rem 0.8rem;
    border-radius: 8px;
    cursor: pointer;
}

.trade-option.active,
.trade-option:hover {
    background: rgba(16, 185, 129, 0.18);
}

.trade-option-name {
    font-weight: 500;
}

.trade-option-hint {
    color: var(--text-muted);
    font-size: 0.8rem;
    text-align: right;
}

.trade-option-other {
    border-top: 1px solid var(--glass-border);
    margin-top: 0.3rem;
    border-radius: 0 0 8px 8px;
}

.trade-empty {
    padding: 0.65rem 0.8rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.trade-popular {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
    margin: 1rem 0 1.5rem;
    color: var(--text-muted);
    font-size: 0.8rem;
}

.trade-pop {
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    color: var(--text-main);
    font-size: 0.8rem;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
}

.trade-pop:hover,
.trade-pop:focus-visible {
    border-color: #10b981;
    background: rgba(16, 185, 129, 0.15);
}

.trade-pop-other {
    border-style: dashed;
    color: var(--text-muted);
}

.trade-pop-other:hover,
.trade-pop-other:focus-visible {
    color: var(--text-main);
}

/* Photos (step 2) */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.field-label {
    display: block;
    margin-bottom: 0.25rem;
    font-weight: 500;
    color: #e2e8f0;
}

.field-optional {
    color: var(--text-muted);
    font-weight: 400;
    font-size: 0.85rem;
}

.field-help {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
}

.photo-add {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.2rem;
    border: 1px dashed rgba(16, 185, 129, 0.6);
    border-radius: 12px;
    background: rgba(16, 185, 129, 0.08);
    color: var(--text-main);
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}

.photo-add:hover {
    background: rgba(16, 185, 129, 0.16);
    border-color: #10b981;
}

#photoInput:focus-visible + .photo-add {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
}

.photo-add.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.photo-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(64px, 1fr));
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.photo-list:empty {
    display: none;
}

.photo-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    background: rgba(0, 0, 0, 0.25);
}

.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo-loading {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04));
    background-size: 200% 100%;
    animation: photo-shimmer 1.2s linear infinite;
}

@keyframes photo-shimmer {
    from { background-position: 200% 0; }
    to { background-position: -200% 0; }
}

.photo-remove {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    border: 0;
    background: rgba(15, 23, 42, 0.85);
    color: #fff;
    font-size: 1rem;
    line-height: 1;
    cursor: pointer;
}

.photo-remove:hover,
.photo-remove:focus-visible {
    background: #ef4444;
}

/* Confirmation */
.form-success {
    text-align: center;
    padding: 1.5rem 0 0.5rem;
}

.form-success:focus {
    outline: none;
}

.form-success-icon {
    width: 3.5rem;
    height: 3.5rem;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: #10b981;
    color: #0f172a;
    font-size: 1.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-success-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.form-success p:not(.form-success-title) {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

/* =============================================
   How it works
   ============================================= */
.how-grid {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.how-step {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
}

.how-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.5);
    color: #10b981;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.how-step h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.how-step p {
    color: var(--text-muted);
}

/* =============================================
   About text (kept for search engines, lower on the page)
   ============================================= */
.seo-content {
    max-width: 800px;
    text-align: center;
}

.seo-content h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.seo-content p {
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.seo-content .btn {
    margin-top: 1rem;
}

/* Sticky quote button: phones only (see media query below) */
.mobile-cta {
    display: none;
}

/* =============================================
   FAQ (accordion built on <details>, no JavaScript)
   ============================================= */
.faq-list {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.faq-item {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    transition: border-color 0.3s, background 0.3s;
}

.faq-item[open] {
    border-color: rgba(16, 185, 129, 0.45);
    background: rgba(16, 185, 129, 0.06);
}

.faq-item summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1.15rem 1.4rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.08rem;
}

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

/* "+" that turns into "×" when the answer is open */
.faq-item summary::after {
    content: "+";
    flex-shrink: 0;
    width: 1.8rem;
    height: 1.8rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    font-size: 1.3rem;
    font-weight: 400;
    transition: transform 0.3s;
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 1.4rem 1.25rem;
    color: var(--text-muted);
}

.faq-answer p + p,
.faq-answer ul {
    margin-top: 0.75rem;
}

.faq-answer ul {
    padding-left: 1.2rem;
}

.faq-answer li + li {
    margin-top: 0.3rem;
}

.faq-answer strong {
    color: var(--text-main);
}

.faq-answer a,
.faq-cta a {
    color: #10b981;
    text-decoration: underline;
}

.faq-cta {
    text-align: center;
    color: var(--text-muted);
    margin-top: 2rem;
}

/* =============================================
   Footer (3 columns)
   ============================================= */
footer {
    text-align: left;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2.5rem;
    padding-bottom: 2rem;
}

.footer-brand .footer-logo {
    height: 72px;
    margin: 0 0 1rem;
}

.footer-brand p {
    max-width: 380px;
    font-size: 0.92rem;
}

.footer-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.75rem;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.92rem;
}

.footer-col a:hover,
.footer-col a:focus-visible {
    color: var(--text-main);
}

.footer-social {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-social svg {
    width: 18px;
    height: 18px;
}

.footer-bottom {
    border-top: 1px solid var(--glass-border);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.footer-bottom .footer-links {
    margin: 0;
}

.footer-bottom .copyright {
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-links {
        position: fixed;
        left: -100%;
        top: 75px;
        gap: 0;
        flex-direction: column;
        background-color: rgba(15, 23, 42, 0.95);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        width: 100%;
        text-align: center;
        transition: left 0.3s ease-in-out;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.5);
        border-bottom: 1px solid var(--glass-border);
        padding-bottom: 1rem;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links a {
        margin: 0.5rem 0;
        font-size: 1.2rem;
        padding: 1rem 0;
        display: block;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .header-title {
        font-size: 0.95rem;
        margin: 0 0.75rem;
    }

    /* Keep "à Bordeaux" visible on small screens */
    .header-title-long {
        display: none;
    }


    .flex-row {
        flex-direction: column;
        gap: 1.5rem;
    }
}

/* Medium screens: header too narrow for the scrolled title */
@media (min-width: 769px) and (max-width: 1100px) {
    .header-title {
        display: none;
    }

    .hero-layout {
        grid-template-columns: 1fr;
        max-width: 640px;
    }
}

/* Phones: form first, sticky button */
@media (max-width: 768px) {
    .hero {
        min-height: auto;
        align-items: flex-start;
    }

    .hero-layout {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        padding: 1.5rem 0 2.5rem;
    }

    .hero-intro h1 {
        font-size: 1.9rem;
        margin-bottom: 0.75rem;
    }

    .hero-lead {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .trust-list {
        font-size: 0.85rem;
        gap: 0.4rem 1rem;
    }

    .quote-card {
        padding: 1.25rem;
        border-radius: 18px;
    }

    .steps-indicator li {
        font-size: 0.72rem;
    }

    .how-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    /* Artisan tiles: 2 columns of compact tiles instead of 1 full-width column */
    .artisans-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.75rem;
    }

    .artisan-card {
        height: auto;
        aspect-ratio: 4 / 5;
        border-radius: 12px;
    }

    .artisan-overlay {
        padding: 0.85rem;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.35) 45%, transparent 75%);
    }

    .artisan-card h3 {
        font-size: 1rem;
        line-height: 1.2;
        margin-bottom: 0;
        transform: none;
    }

    /* No hover on touch screens: the short description stays in the detail window */
    .artisan-card p {
        display: none;
    }

    .seo-content h2 {
        font-size: 1.7rem;
    }

    .nav-links .nav-cta {
        display: inline-block;
        margin: 0.5rem auto 0;
        padding: 0.8rem 2rem;
    }

    .mobile-cta {
        display: block;
        position: fixed;
        left: 1rem;
        right: 1rem;
        bottom: 1rem;
        z-index: 900;
        padding: 0.95rem 1rem;
        border-radius: 999px;
        background: var(--accent);
        color: #fff;
        text-align: center;
        font-weight: 600;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
        transform: translateY(150%);
        visibility: hidden;
        transition: transform 0.3s ease, visibility 0.3s;
    }

    .mobile-cta.visible {
        transform: none;
        visibility: visible;
    }

    /* Room so the sticky button never hides the end of the page */
    footer {
        padding-bottom: 5.5rem;
    }
}

/* Phones: compact header, single-column footer */
@media (max-width: 768px) {
    :root {
        --header-height: 66px;
    }

    .brand-logo {
        height: 56px;
    }

    .nav-links {
        top: var(--header-height);
    }

    .faq-item summary {
        font-size: 1rem;
        padding: 1rem 1.1rem;
    }

    .faq-answer {
        padding: 0 1.1rem 1.1rem;
    }

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

    .footer-brand .footer-logo {
        margin: 0 auto 1rem;
    }

    .footer-brand p {
        margin: 0 auto;
    }

    .footer-col ul {
        align-items: center;
    }

    .footer-bottom {
        justify-content: center;
        text-align: center;
    }
}
