/* ==========================================================================
   Dotnames — feuille de style principale (CSS natif, sans build)
   ========================================================================== */

:root {
    --color-brand: #0450d5;
    --color-brand-hover: #033fa8;
    --color-brand-light: #2c93fa;
    --color-navy: #011a45;
    --color-navy-soft: #0b2a5e;
    --color-text: #1a202c;
    --color-text-secondary: #4a5568;
    --color-text-muted: #718096;
    --color-border: #e0e4ec;
    --color-surface: #ffffff;
    --color-surface-soft: #f3f8ff;
    --color-surface-medium: #f5f9fd;
    --color-accent-blue: #eaf4fe;
    --color-red: #f55069;
    --color-yellow: #fdb400;
    --color-green: #1f9d55;
    --color-bar: #1a1a1a;

    --font-heading: "Poppins", system-ui, sans-serif;
    --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

    --radius-button: 40px;
    --radius-card: 16px;
    --radius-input: 12px;
    --shadow-card: rgba(4, 80, 213, 0.1) 0 8px 20px 0;
    --shadow-card-hover: rgba(4, 80, 213, 0.16) 0 14px 32px 0;

    --container: 1200px;
    --gutter: 24px;
    --header-height: 72px;
}

/* Base ------------------------------------------------------------------- */

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--color-surface);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
    margin: 0 0 0.5em;
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
    color: var(--color-text);
}

h1 { font-size: clamp(30px, 5vw, 52px); line-height: 1.25; letter-spacing: -0.02em; }
h2 { font-size: clamp(26px, 3.4vw, 38px); letter-spacing: -0.015em; }
h3 { font-size: 20px; }

p {
    margin: 0 0 1em;
    color: var(--color-text-secondary);
}

a {
    color: var(--color-brand);
    text-decoration: none;
}

a:hover {
    color: var(--color-brand-hover);
}

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

:focus-visible {
    outline: 2px solid var(--color-brand-light);
    outline-offset: 2px;
}

.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

/* Buttons ---------------------------------------------------------------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border: 1px solid transparent;
    border-radius: var(--radius-button);
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
    white-space: nowrap;
}

.btn-primary {
    background: var(--color-brand);
    color: #fff;
}

.btn-primary:hover {
    background: var(--color-brand-hover);
    color: #fff;
}

.btn-secondary {
    background: var(--color-surface);
    border-color: var(--color-brand);
    color: var(--color-brand);
}

.btn-secondary:hover {
    background: var(--color-accent-blue);
    color: var(--color-brand);
}

.btn-ghost {
    background: transparent;
    color: var(--color-text);
}

.btn-ghost:hover {
    background: var(--color-surface-soft);
    color: var(--color-brand);
}

.btn-white {
    background: #fff;
    color: var(--color-navy);
}

.btn-white:hover {
    background: var(--color-accent-blue);
    color: var(--color-navy);
}

.btn-outline-white {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
}

.btn-outline-white:hover {
    border-color: #fff;
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.btn-lg { padding: 15px 30px; font-size: 16px; }
.btn-sm { padding: 8px 16px; font-size: 14px; }
.btn-block { width: 100%; }

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
}

.link-arrow::after {
    content: "→";
    transition: transform 0.15s ease;
}

.link-arrow:hover::after {
    transform: translateX(3px);
}

/* Announcement bar & header ---------------------------------------------- */

.announcement {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 8px var(--gutter);
    background: var(--color-bar);
    color: #fff;
    font-size: 14px;
    text-align: center;
}

.announcement a {
    margin-left: 6px;
    color: #fff;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--color-border);
}

.site-header .container {
    display: flex;
    align-items: center;
    gap: 32px;
    height: var(--header-height);
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--color-text);
}

.logo:hover {
    color: var(--color-text);
}

.logo-dot {
    color: var(--color-brand);
}

.logo-mark {
    width: 30px;
    height: 30px;
    margin-right: 8px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-right: auto;
}

.main-nav a {
    padding: 8px 14px;
    border-radius: var(--radius-button);
    color: var(--color-text);
    font-size: 15px;
    font-weight: 500;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
    color: var(--color-brand);
    background: var(--color-surface-soft);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-toggle {
    display: none;
    margin-left: auto;
    padding: 8px;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 4px 0;
    background: var(--color-text);
    border-radius: 2px;
}

@media (max-width: 900px) {
    .nav-toggle { display: block; }

    .main-nav,
    .header-actions {
        display: none;
    }

    .site-header.is-open .main-nav,
    .site-header.is-open .header-actions {
        display: flex;
    }

    .site-header.is-open .container {
        flex-wrap: wrap;
        height: auto;
        min-height: var(--header-height);
        padding-bottom: 16px;
    }

    .site-header.is-open .main-nav {
        order: 3;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        margin: 0;
    }

    .site-header.is-open .header-actions {
        order: 4;
        width: 100%;
    }

    .site-header.is-open .header-actions .btn {
        flex: 1;
    }

    .logo { height: var(--header-height); }
}

/* Flash messages --------------------------------------------------------- */

.flash {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin: 24px 0 0;
    padding: 16px 20px;
    border: 1px solid #b7e4c7;
    border-radius: var(--radius-card);
    background: #effaf3;
    color: #14532d;
    font-weight: 500;
}

.flash-error {
    border-color: #fbc5cf;
    background: #fff1f3;
    color: #9f1239;
}

/* Sections --------------------------------------------------------------- */

.section {
    padding: 96px 0;
}

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

.section-medium {
    background: var(--color-surface-medium);
}

.section-dark {
    background: var(--color-navy);
    color: #fff;
}

.section-dark h2,
.section-dark h3 {
    color: #fff;
}

.section-dark p {
    color: rgba(255, 255, 255, 0.75);
}

.section-header {
    max-width: 720px;
    margin: 0 auto 56px;
    text-align: center;
}

.section-header p {
    font-size: 18px;
}

.section-header-split {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    max-width: none;
    text-align: left;
}

.section-header-split > div {
    max-width: 640px;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--color-brand);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.section-dark .eyebrow {
    color: var(--color-brand-light);
}

@media (max-width: 720px) {
    .section { padding: 64px 0; }
    .section-header { margin-bottom: 40px; }
    .section-header-split { flex-direction: column; align-items: flex-start; }
}

/* Hero ------------------------------------------------------------------- */

.hero {
    position: relative;
    overflow: hidden;
    padding: 96px 0 80px;
    background:
        radial-gradient(60% 60% at 15% 0%, rgba(44, 147, 250, 0.16) 0%, rgba(44, 147, 250, 0) 70%),
        radial-gradient(50% 55% at 90% 10%, rgba(4, 80, 213, 0.12) 0%, rgba(4, 80, 213, 0) 70%),
        linear-gradient(180deg, #f3f8ff 0%, #ffffff 100%);
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 28px;
    padding: 6px 16px 6px 6px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-button);
    background: #fff;
    box-shadow: var(--shadow-card);
    color: var(--color-text-secondary);
    font-size: 14px;
    font-weight: 500;
}

.hero-badge strong {
    padding: 3px 10px;
    border-radius: var(--radius-button);
    background: var(--color-brand);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
}

.hero h1 {
    max-width: 900px;
    margin: 0 auto 20px;
}

.hero h1 .highlight {
    background: linear-gradient(90deg, var(--color-brand) 0%, var(--color-brand-light) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-lead {
    max-width: 640px;
    margin: 0 auto 36px;
    font-size: 19px;
}

.hero-search {
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: 640px;
    margin: 0 auto;
    padding: 8px 8px 8px 24px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-button);
    background: #fff;
    box-shadow: var(--shadow-card);
}

.hero-search:focus-within {
    border-color: var(--color-brand-light);
}

.hero-search input {
    flex: 1;
    min-width: 0;
    border: 0;
    background: transparent;
    font: inherit;
    font-size: 17px;
    color: var(--color-text);
    outline: none;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 28px;
}

.trust-strip {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 28px;
    margin: 44px 0 0;
    padding: 0;
    list-style: none;
    color: var(--color-text-secondary);
    font-size: 14px;
    font-weight: 500;
}

.trust-strip li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.trust-strip svg {
    width: 18px;
    height: 18px;
    color: var(--color-brand);
}

@media (max-width: 600px) {
    .hero { padding: 64px 0 56px; }
    .hero-search { flex-direction: column; padding: 12px; border-radius: 20px; }
    .hero-search input { width: 100%; padding: 8px 4px; }
    .hero-search .btn { width: 100%; }
}

/* Stats ------------------------------------------------------------------ */

.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.stat {
    padding: 28px 24px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-card);
    background: #fff;
    text-align: center;
}

.stat-value {
    display: block;
    font-family: var(--font-heading);
    font-size: 38px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--color-brand);
}

.stat-label {
    color: var(--color-text-secondary);
    font-size: 15px;
}

@media (max-width: 900px) {
    .stats { grid-template-columns: repeat(2, 1fr); }
}

/* Grids & cards ---------------------------------------------------------- */

.grid {
    display: grid;
    gap: 24px;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 860px) {
    .grid-3,
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .grid-2,
    .grid-3,
    .grid-4 { grid-template-columns: 1fr; }
}

.card {
    padding: 32px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-card);
    background: #fff;
    transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.card:hover {
    box-shadow: var(--shadow-card);
}

.card h3 {
    margin-bottom: 10px;
}

.card p:last-child {
    margin-bottom: 0;
}

.icon-tile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 20px;
    border-radius: 12px;
    background: var(--color-accent-blue);
    color: var(--color-brand);
}

.icon-tile svg {
    width: 24px;
    height: 24px;
}

/* Domain card ------------------------------------------------------------ */

.domain-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 24px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-card);
    background: #fff;
    transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.domain-card:hover {
    border-color: #c9d8f3;
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-2px);
}

.domain-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 18px;
}

.domain-name {
    margin: 0;
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.01em;
    word-break: break-word;
}

.domain-name a {
    color: var(--color-text);
}

.domain-name a::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: var(--radius-card);
}

.domain-name .tld {
    color: var(--color-brand);
}

.domain-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 12px 0 24px;
    padding: 0;
    list-style: none;
}

.domain-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid var(--color-border);
}

.domain-price {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    color: var(--color-text);
}

.domain-price small {
    display: block;
    color: var(--color-text-muted);
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 500;
}

.domain-card .btn {
    position: relative;
    z-index: 1;
}

/* Tags ------------------------------------------------------------------- */

.tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    border-radius: var(--radius-button);
    background: var(--color-surface-soft);
    color: var(--color-text-secondary);
    font-size: 12px;
    font-weight: 500;
    line-height: 1.6;
}

.tag-brand {
    background: var(--color-accent-blue);
    color: var(--color-brand);
}

.tag-premium {
    background: #fff6df;
    color: #8a5a00;
}

.tag-green {
    background: #e7f7ee;
    color: #146c3b;
}

.tag-red {
    background: #fff1f3;
    color: #be123c;
}

/* Category tiles --------------------------------------------------------- */

.category-tile {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 24px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-card);
    background: #fff;
    color: var(--color-text);
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.category-tile:hover {
    border-color: #c9d8f3;
    box-shadow: var(--shadow-card);
    color: var(--color-text);
}

.category-tile strong {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 600;
}

.category-tile span {
    color: var(--color-text-secondary);
    font-size: 14px;
}

.category-tile em {
    margin-top: 8px;
    color: var(--color-brand);
    font-size: 13px;
    font-style: normal;
    font-weight: 600;
}

/* Steps ------------------------------------------------------------------ */

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    counter-reset: step;
}

.step {
    position: relative;
    padding: 32px 28px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-card);
    background: #fff;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-bottom: 20px;
    border-radius: 50%;
    background: var(--color-brand);
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 600;
}

.step h3 {
    font-size: 18px;
}

.step p {
    margin: 0;
    font-size: 15px;
}

@media (max-width: 1024px) {
    .steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .steps { grid-template-columns: 1fr; }
}

/* Split feature ---------------------------------------------------------- */

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.check-list {
    margin: 24px 0 32px;
    padding: 0;
    list-style: none;
}

.check-list li {
    position: relative;
    margin-bottom: 14px;
    padding-left: 32px;
    color: var(--color-text-secondary);
}

.check-list li::before {
    content: "";
    position: absolute;
    top: 3px;
    left: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--color-accent-blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%230450d5'%3E%3Cpath fill-rule='evenodd' d='M16.7 5.3a1 1 0 010 1.4l-8 8a1 1 0 01-1.4 0l-4-4a1 1 0 111.4-1.4L8 12.6l7.3-7.3a1 1 0 011.4 0z' clip-rule='evenodd'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.check-list strong {
    color: var(--color-text);
}

.mockup {
    padding: 28px;
    border: 1px solid var(--color-border);
    border-radius: 24px;
    background: linear-gradient(160deg, #f3f8ff 0%, #ffffff 60%);
    box-shadow: var(--shadow-card);
}

.mockup-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding: 12px 16px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-button);
    background: #fff;
    font-family: var(--font-heading);
    font-weight: 600;
}

.mockup-bar .lock {
    width: 16px;
    height: 16px;
    color: var(--color-green);
}

.mockup-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px dashed var(--color-border);
    font-size: 15px;
}

.mockup-row:last-child {
    border-bottom: 0;
}

.mockup-row span {
    color: var(--color-text-secondary);
}

.mockup-row strong {
    font-weight: 600;
}

@media (max-width: 900px) {
    .split { grid-template-columns: 1fr; gap: 40px; }
}

/* CTA band --------------------------------------------------------------- */

.cta-band {
    position: relative;
    overflow: hidden;
    padding: 72px 56px;
    border-radius: 24px;
    background:
        radial-gradient(60% 90% at 100% 0%, rgba(44, 147, 250, 0.35) 0%, rgba(44, 147, 250, 0) 70%),
        var(--color-navy);
    color: #fff;
    text-align: center;
}

.cta-band h2 {
    max-width: 720px;
    margin: 0 auto 16px;
    color: #fff;
}

.cta-band p {
    max-width: 560px;
    margin: 0 auto 32px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 18px;
}

.cta-band .hero-actions {
    margin-top: 0;
}

@media (max-width: 600px) {
    .cta-band { padding: 48px 24px; }
}

/* FAQ -------------------------------------------------------------------- */

.faq-list {
    max-width: 820px;
    margin: 0 auto;
}

.faq-group-title {
    margin: 48px 0 16px;
    font-size: 20px;
}

.faq-group-title:first-child {
    margin-top: 0;
}

.faq-item {
    margin-bottom: 12px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-card);
    background: #fff;
    transition: box-shadow 0.2s ease;
}

.faq-item[open] {
    box-shadow: var(--shadow-card);
}

.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 500;
    list-style: none;
}

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

.faq-item summary::after {
    content: "+";
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--color-accent-blue);
    color: var(--color-brand);
    font-size: 20px;
    line-height: 1;
    transition: transform 0.2s ease;
}

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

.faq-item .faq-answer {
    padding: 0 24px 20px;
}

.faq-item .faq-answer p:last-child {
    margin-bottom: 0;
}

/* Page header & breadcrumb ----------------------------------------------- */

.page-header {
    padding: 64px 0 48px;
    background:
        radial-gradient(50% 80% at 10% 0%, rgba(44, 147, 250, 0.14) 0%, rgba(44, 147, 250, 0) 70%),
        linear-gradient(180deg, #f3f8ff 0%, #ffffff 100%);
    border-bottom: 1px solid var(--color-border);
}

.page-header h1 {
    margin-bottom: 12px;
    font-size: clamp(30px, 4vw, 44px);
}

.page-header p {
    max-width: 680px;
    margin: 0;
    font-size: 18px;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 20px;
    padding: 0;
    list-style: none;
    color: var(--color-text-muted);
    font-size: 14px;
}

.breadcrumb li + li::before {
    content: "/";
    margin-right: 8px;
    color: var(--color-border);
}

.breadcrumb a {
    color: var(--color-text-secondary);
}

.breadcrumb a:hover {
    color: var(--color-brand);
}

/* Listing ---------------------------------------------------------------- */

.listing {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    align-items: start;
    padding: 48px 0 96px;
}

.filters {
    position: sticky;
    top: calc(var(--header-height) + 24px);
    padding: 24px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-card);
    background: #fff;
}

.filters-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
}

.filters-title a {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
}

.filter-group {
    padding: 18px 0;
    border-bottom: 1px solid var(--color-border);
}

.filter-group:last-of-type {
    border-bottom: 0;
}

.filter-group legend,
.filter-label {
    display: block;
    margin-bottom: 10px;
    padding: 0;
    color: var(--color-text);
    font-size: 14px;
    font-weight: 600;
}

.filter-group fieldset {
    margin: 0;
    padding: 0;
    border: 0;
}

.checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    color: var(--color-text-secondary);
    font-size: 14px;
    cursor: pointer;
}

.checkbox input {
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: var(--color-brand);
}

.chip-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.chip input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.chip span {
    display: inline-block;
    padding: 6px 14px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-button);
    color: var(--color-text-secondary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s ease;
}

.chip input:checked + span {
    border-color: var(--color-brand);
    background: var(--color-brand);
    color: #fff;
}

.chip input:focus-visible + span {
    outline: 2px solid var(--color-brand-light);
    outline-offset: 2px;
}

.range-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.filters .btn {
    margin-top: 20px;
}

.listing-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
}

.listing-count {
    margin: 0;
    color: var(--color-text-secondary);
}

.listing-count strong {
    color: var(--color-text);
}

.sort-form {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--color-text-secondary);
}

.sort-form select {
    width: auto;
}

.filters-toggle {
    display: none;
}

.empty-state {
    padding: 64px 32px;
    border: 1px dashed var(--color-border);
    border-radius: var(--radius-card);
    background: var(--color-surface-medium);
    text-align: center;
}

@media (max-width: 960px) {
    .listing { grid-template-columns: 1fr; gap: 24px; padding-top: 32px; }
    .filters { position: static; display: none; }
    .filters.is-open { display: block; }
    .filters-toggle { display: inline-flex; }
    .listing-toolbar { flex-wrap: wrap; }
}

/* Forms ------------------------------------------------------------------ */

.form-field {
    margin-bottom: 18px;
}

.form-field label,
.form-label {
    display: block;
    margin-bottom: 6px;
    color: var(--color-text);
    font-size: 14px;
    font-weight: 600;
}

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

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="search"],
select,
textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-input);
    background: #fff;
    color: var(--color-text);
    font: inherit;
    font-size: 15px;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--color-brand-light);
    box-shadow: 0 0 0 3px rgba(44, 147, 250, 0.18);
    outline: none;
}

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

select {
    appearance: none;
    padding-right: 40px;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%234a5568'%3E%3Cpath fill-rule='evenodd' d='M5.3 7.3a1 1 0 011.4 0L10 10.6l3.3-3.3a1 1 0 111.4 1.4l-4 4a1 1 0 01-1.4 0l-4-4a1 1 0 010-1.4z' clip-rule='evenodd'/%3E%3C/svg%3E") right 12px center / 18px no-repeat;
}

.field-error {
    display: block;
    margin-top: 6px;
    color: #be123c;
    font-size: 13px;
    font-weight: 500;
}

.has-error input,
.has-error select,
.has-error textarea {
    border-color: #f9a8b8;
}

.input-suffix {
    position: relative;
}

.input-suffix input {
    padding-right: 40px;
}

.input-suffix span {
    position: absolute;
    top: 50%;
    right: 14px;
    transform: translateY(-50%);
    color: var(--color-text-muted);
    font-weight: 600;
}

.form-hint {
    margin: 6px 0 0;
    color: var(--color-text-muted);
    font-size: 13px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 600px) {
    .form-row { grid-template-columns: 1fr; }
}

/* Domain detail ---------------------------------------------------------- */

.domain-hero {
    padding: 56px 0 64px;
    background:
        radial-gradient(55% 80% at 0% 0%, rgba(44, 147, 250, 0.16) 0%, rgba(44, 147, 250, 0) 70%),
        linear-gradient(180deg, #f3f8ff 0%, #ffffff 100%);
    border-bottom: 1px solid var(--color-border);
}

.domain-hero-grid {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 48px;
    align-items: start;
}

.domain-title {
    margin: 0 0 8px;
    font-size: clamp(36px, 6vw, 64px);
    line-height: 1.1;
    letter-spacing: -0.03em;
    word-break: break-word;
}

.domain-title .tld {
    color: var(--color-brand);
}

.domain-subtitle {
    margin-bottom: 28px;
    font-size: 19px;
}

.spec-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
    margin: 32px 0;
    padding: 0;
    list-style: none;
}

.spec-list li {
    padding: 16px 18px;
    border: 1px solid var(--color-border);
    border-radius: 14px;
    background: #fff;
}

.spec-list span {
    display: block;
    color: var(--color-text-muted);
    font-size: 13px;
}

.spec-list strong {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 600;
}

.purchase-box {
    position: sticky;
    top: calc(var(--header-height) + 24px);
    padding: 28px;
    border: 1px solid var(--color-border);
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--shadow-card);
}

.purchase-price {
    margin-bottom: 4px;
    font-family: var(--font-heading);
    font-size: 40px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--color-text);
}

.purchase-caption {
    margin-bottom: 24px;
    color: var(--color-text-secondary);
    font-size: 14px;
}

.segmented {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    margin-bottom: 20px;
    padding: 4px;
    border-radius: var(--radius-button);
    background: var(--color-surface-soft);
}

.segmented label {
    position: relative;
}

.segmented input {
    position: absolute;
    opacity: 0;
}

.segmented span {
    display: block;
    padding: 9px 12px;
    border-radius: var(--radius-button);
    color: var(--color-text-secondary);
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.15s ease;
}

.segmented input:checked + span {
    background: #fff;
    box-shadow: 0 1px 4px rgba(1, 26, 69, 0.12);
    color: var(--color-brand);
}

.segmented input:focus-visible + span {
    outline: 2px solid var(--color-brand-light);
}

.secure-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 16px 0 0;
    color: var(--color-text-muted);
    font-size: 13px;
}

.secure-note svg {
    width: 16px;
    height: 16px;
    color: var(--color-green);
}

.sold-box {
    text-align: center;
}

.prose h2 {
    margin-top: 1.6em;
    font-size: 26px;
}

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

.prose ul {
    padding-left: 20px;
    color: var(--color-text-secondary);
}

.prose li {
    margin-bottom: 8px;
}

.legal-page {
    max-width: 820px;
}

.legal-page h2 {
    font-size: 22px;
}

.footer-bottom a {
    color: inherit;
    text-decoration: underline;
}

@media (max-width: 1024px) {
    .domain-hero-grid { grid-template-columns: 1fr; }
    .purchase-box { position: static; }
}

/* Pagination ------------------------------------------------------------- */

.pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin: 48px 0 0;
    padding: 0;
    list-style: none;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 14px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-button);
    background: #fff;
    color: var(--color-text);
    font-size: 15px;
    font-weight: 500;
}

.pagination a:hover {
    border-color: var(--color-brand);
    color: var(--color-brand);
}

.pagination [aria-current="page"] span {
    border-color: var(--color-brand);
    background: var(--color-brand);
    color: #fff;
}

.pagination .is-disabled span {
    color: var(--color-text-muted);
    background: var(--color-surface-medium);
}

/* Contact ---------------------------------------------------------------- */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 48px;
    align-items: start;
}

.contact-card {
    padding: 32px;
    border: 1px solid var(--color-border);
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--shadow-card);
}

@media (max-width: 900px) {
    .contact-grid { grid-template-columns: 1fr; }
}

/* Footer ----------------------------------------------------------------- */

.site-footer {
    padding: 72px 0 32px;
    border-top: 1px solid var(--color-border);
    background: var(--color-surface-medium);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr repeat(3, 1fr);
    gap: 40px;
}

.footer-brand p {
    max-width: 320px;
    margin-top: 16px;
    font-size: 15px;
}

.footer-col h4 {
    margin-bottom: 16px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--color-text);
}

.footer-col ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-col li {
    margin-bottom: 10px;
}

.footer-col a {
    color: var(--color-text-secondary);
    font-size: 15px;
}

.footer-col a:hover {
    color: var(--color-brand);
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 56px;
    padding-top: 24px;
    border-top: 1px solid var(--color-border);
    color: var(--color-text-muted);
    font-size: 14px;
}

.footer-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

@media (max-width: 900px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 520px) {
    .footer-grid { grid-template-columns: 1fr; }
}

/* Utilities -------------------------------------------------------------- */

.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mt-lg { margin-top: 48px; }

/* Ajustements ------------------------------------------------------------ */

.hero-search input[type="search"] {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.hero-badge {
    flex-wrap: wrap;
    justify-content: center;
    max-width: 100%;
}

.tag {
    white-space: nowrap;
}

.domain-card-top {
    flex-wrap: wrap;
}

.domain-price {
    white-space: nowrap;
}

.section-tight {
    padding: 56px 0;
}

@media (max-width: 600px) {
    .hero-search input[type="search"] { padding: 8px 4px; }
    .hero-badge { padding: 6px 12px; border-radius: 20px; }
}

.grid > *,
.steps > *,
.stats > * {
    min-width: 0;
}

.domain-card-footer {
    flex-wrap: wrap;
}

/* Anti-spam -------------------------------------------------------------- */

.captcha-input {
    max-width: 120px;
}

.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}
