:root {
    --bg: #0d0c0b;
    --bg-soft: #151311;
    --bg-alt: rgba(255, 255, 255, 0.025);

    --text: #f4efe7;
    --muted: #d2cabd;
    --muted-strong: #e6dfd2;

    --accent: #b8955a;
    --accent-strong: #d6bc83;
    --accent-soft: rgba(214, 188, 131, 0.16);
    --accent-dark: #7f6338;

    --card: rgba(255, 255, 255, 0.045);
    --card-strong: rgba(255, 255, 255, 0.065);
    --border: rgba(255, 255, 255, 0.10);
    --border-accent: rgba(214, 188, 131, 0.26);

    --shadow: 0 16px 34px rgba(0, 0, 0, 0.32);
    --shadow-hover: 0 24px 50px rgba(0, 0, 0, 0.42);
    --shadow-gold: 0 16px 30px rgba(184, 149, 90, 0.16);

    --radius: 22px;
    --radius-sm: 14px;

    --max-width: 1180px;
    --transition: 0.28s ease;
}

/* ===== RESET ===== */

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Inter', Arial, sans-serif;
    font-weight: 300;
    letter-spacing: 0.2px;
    color: var(--text);
    line-height: 1.75;
    background:
        radial-gradient(circle at top, rgba(214, 188, 131, 0.10), transparent 24%),
        linear-gradient(180deg, #0d0c0b 0%, #161310 100%);
    position: relative;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 20% 0%, rgba(214, 188, 131, 0.05), transparent 20%),
        radial-gradient(circle at 80% 20%, rgba(214, 188, 131, 0.03), transparent 18%);
    z-index: -1;
}

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

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

a:visited {
    color: inherit;
}

h1,
h2,
h3 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.container {
    width: min(var(--max-width), calc(100% - 2rem));
    margin: 0 auto;
}

/* ===== HEADER / MENU ===== */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    background: rgba(9, 9, 9, 0.72);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.16);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    background: rgba(9, 9, 9, 0.72);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.16);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    min-height: 108px;
    padding: 0.4rem 0;
}

.site-logo {
    display: block;
    flex: 0 0 auto;
    width: auto;
    height: auto;
    max-height: 88px;
    max-width: 320px;
    object-fit: contain;
    filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.28));
    transition:
        transform var(--transition),
        filter var(--transition),
        opacity var(--transition);
    animation: none !important;
}

.site-logo:hover {
    transform: translateY(-1px) scale(1.02);
    filter: drop-shadow(0 10px 22px rgba(184, 149, 90, 0.18));
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.35rem;
    flex-wrap: wrap;
    margin-left: auto;
}
.site-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0.62rem 0.92rem;
    border-radius: 999px;
    color: var(--muted);
    font-weight: 600;
    border: 1px solid transparent;
    white-space: nowrap;
    transition:
        color var(--transition),
        background var(--transition),
        border-color var(--transition),
        transform var(--transition),
        box-shadow var(--transition);
}

.site-nav a:hover {
    color: #fff3de;
    background: rgba(214, 188, 131, 0.06);
    border-color: rgba(214, 188, 131, 0.16);
    transform: translateY(-1px);
}

.site-nav a.active {
    color: #1b150d;
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    box-shadow: 0 10px 22px rgba(184, 149, 90, 0.16);
}

/* ===== HERO ===== */

.hero {
    position: relative;
    padding: 8rem 0 6rem;
    text-align: center;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top, rgba(214, 188, 131, 0.10), transparent 24%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.015), transparent 35%);
    pointer-events: none;
}

.hero::after {
    content: "";
    display: block;
    width: 140px;
    height: 1px;
    margin: 2.2rem auto 0;
    background: linear-gradient(90deg, transparent, rgba(214, 188, 131, 0.85), transparent);
}

.hero h1 {
    position: relative;
    font-size: clamp(3rem, 6vw, 5.6rem);
    line-height: 0.98;
    margin: 0 0 1.2rem;
    color: #fff4df;
    letter-spacing: -0.03em;
    font-weight: 600;
    text-wrap: balance;
}

.hero p,
.lead {
    position: relative;
    max-width: 880px;
    margin: 0 auto;
    color: var(--muted);
    font-size: 1.08rem;
    line-height: 1.9;
}

.lead {
    font-weight: 300;
    opacity: 0.92;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* ===== SECTIONS ===== */

.section {
    padding: 5.2rem 0;
    text-align: center;
}

.section.alt {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.03));
}

.section h2 {
    font-size: clamp(2.35rem, 4vw, 3.5rem);
    line-height: 1.02;
    margin: 0 0 1.25rem;
    color: #fff2d7;
    letter-spacing: -0.025em;
    text-wrap: balance;
}

.section > .container > p:last-child,
.section > .container > .lead:last-child {
    margin-bottom: 0;
}

/* ===== GRILLES ===== */

.cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
    align-items: stretch;
    justify-content: center;
}

#templates .cards {
    grid-template-columns: repeat(auto-fit, minmax(250px, 300px));
    justify-content: center;
}

/* ===== CARTES GÉNÉRALES ===== */

.card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100%;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.03));
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 1.9rem;
    text-align: center;
    align-items: center;
    transition:
        transform var(--transition),
        box-shadow var(--transition),
        border-color var(--transition),
        background var(--transition);
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: var(--border-accent);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.04));
}

.card h3 {
    margin: 0 0 0.85rem;
    color: #fff1cf;
    font-size: 2rem;
    line-height: 1.05;
    text-align: center;
    letter-spacing: -0.015em;
    text-wrap: balance;
}

.card p {
    margin: 0;
    color: var(--muted);
    flex-grow: 1;
    text-align: center;
    max-width: 34ch;
    line-height: 1.8;
}

.card .btn-outline,
.card .btn {
    margin-top: 1.35rem;
    align-self: center;
    min-width: 180px;
}

/* ===== CARTES MODÈLES AVEC IMAGE ===== */

.template-card {
    position: relative;
    overflow: hidden;
    min-height: 340px;
    padding: 0;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    isolation: isolate;
    background: #1a1816;
    transition:
        transform 0.45s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}

.template-card > .template-card-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    transform: scale(1);
    transition: transform 0.7s ease;
    z-index: 0;
    aspect-ratio: 16 / 9;
    display: block;
}

.template-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            180deg,
            rgba(8, 8, 8, 0.12) 0%,
            rgba(8, 8, 8, 0.34) 42%,
            rgba(8, 8, 8, 0.82) 100%
        );
    z-index: 1;
}

.template-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top, rgba(214, 188, 131, 0.10), transparent 56%);
    z-index: 1;
    pointer-events: none;
}

.template-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.42);
    border-color: rgba(214, 188, 131, 0.34);
}

.template-card:hover > .template-card-bg {
    transform: scale(1.05);
}

.template-card-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    min-height: 340px;
    width: 100%;
    padding: 1.4rem 1.35rem 1.5rem;
}

.template-card-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.template-card h3 {
    color: #fff6e3;
    text-shadow: 0 3px 14px rgba(0, 0, 0, 0.42);
    font-size: 2.2rem;
    margin: 0 0 0.8rem;
    letter-spacing: -0.02em;
    text-wrap: balance;
}

.template-card p {
    color: rgba(255, 255, 255, 0.92);
    text-shadow: 0 3px 14px rgba(0, 0, 0, 0.42);
    max-width: 26ch;
    margin: 0;
    line-height: 1.65;
    font-size: 1rem;
}

.template-card .btn-outline {
    background: rgba(20, 18, 16, 0.42);
    border-color: rgba(255, 240, 210, 0.24);
    color: #fff1cf;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    min-width: 180px;
}

.template-card .btn-outline:visited {
    color: #fff1cf;
}

.template-card .btn-outline:hover {
    background: rgba(214, 188, 131, 0.14);
    border-color: rgba(214, 188, 131, 0.52);
    color: #fff8ec;
    box-shadow:
        0 0 0 1px rgba(214, 188, 131, 0.22),
        0 10px 24px rgba(214, 188, 131, 0.14);
}

/* ===== BOUTONS ===== */

.btn,
.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 50px;
    padding: 0.95rem 1.35rem;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition:
        transform 0.25s ease,
        opacity 0.25s ease,
        box-shadow 0.3s ease,
        background 0.3s ease,
        color 0.3s ease,
        border-color 0.3s ease;
}

.btn,
.btn:visited {
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    color: #1a140b;
    border: 1px solid transparent;
    box-shadow: 0 12px 24px rgba(184, 149, 90, 0.14);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow:
        0 0 0 1px rgba(214, 188, 131, 0.20),
        0 14px 28px rgba(184, 149, 90, 0.20);
}

.btn-outline,
.btn-outline:visited {
    position: relative;
    border: 1px solid rgba(214, 188, 131, 0.72);
    color: var(--accent-strong);
    background: rgba(255, 255, 255, 0.02);
    overflow: hidden;
}

.btn-outline::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
        circle at 50% 50%,
        rgba(214, 188, 131, 0.22),
        transparent 60%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-outline::after {
    content: "";
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, 0.20),
        transparent
    );
    transform: skewX(-20deg);
}

.btn-outline:hover {
    transform: translateY(-2px) scale(1.02);
    border-color: rgba(214, 188, 131, 0.92);
    color: #fff6df;
    background: rgba(214, 188, 131, 0.08);
    box-shadow:
        0 0 0 1px rgba(214, 188, 131, 0.20),
        0 8px 22px rgba(214, 188, 131, 0.18),
        0 0 18px rgba(214, 188, 131, 0.12);
}

.btn-outline:hover::before {
    opacity: 1;
}

.btn-outline:hover::after {
    animation: shine 0.9s ease forwards;
}

@keyframes shine {
    0% {
        left: -75%;
    }
    100% {
        left: 125%;
    }
}

/* ===== BLOC ACCÈS DÉMOS ===== */

.demo-access-box {
    position: relative;
    max-width: 760px;
    margin: 2rem auto 0;
    padding: 32px 26px;
    border-radius: 20px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.035));
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: var(--shadow);
    text-align: center;
    overflow: hidden;
}

.demo-access-box::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(circle at top, rgba(214, 188, 131, 0.12), transparent 60%);
    pointer-events: none;
}

.demo-access-box h2 {
    position: relative;
    margin: 0 0 10px;
    color: #fff0d2;
    font-size: clamp(2rem, 4vw, 2.8rem);
    line-height: 1.05;
    text-wrap: balance;
}

.demo-access-box p {
    position: relative;
    margin: 0 0 12px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.98rem;
    line-height: 1.8;
}

.demo-password {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 220px;
    margin: 14px 0;
    padding: 11px 20px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    color: #1a140b;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.demo-note {
    position: relative;
    margin: 8px 0 0;
    color: rgba(255, 255, 255, 0.60);
    font-size: 0.86rem;
}

.demo-access-box,
.demo-access-box * {
    text-shadow: none;
}

/* ===== PAGE FORMULES ===== */

.hero-pricing {
    padding-bottom: 5rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
    margin-top: 2.2rem;
    align-items: stretch;
}

.pricing-card {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    background:
        radial-gradient(circle at top, rgba(214, 188, 131, 0.07), transparent 38%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.028));
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 2rem 1.7rem;
    text-align: left;
    transition:
        transform var(--transition),
        box-shadow var(--transition),
        border-color var(--transition),
        background var(--transition);
}

.pricing-card::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(
        180deg,
        rgba(255,255,255,0.03) 0%,
        rgba(255,255,255,0) 30%,
        rgba(0,0,0,0.05) 100%
    );
    opacity: 0.9;
}

.pricing-card > * {
    position: relative;
    z-index: 1;
}

.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: var(--border-accent);
}

.pricing-card.featured {
    transform: translateY(-2px);
    border-color: rgba(214, 188, 131, 0.42);
    background:
        radial-gradient(circle at top, rgba(214, 188, 131, 0.12), transparent 40%),
        linear-gradient(180deg, rgba(214, 188, 131, 0.12), rgba(255, 255, 255, 0.04));
    box-shadow:
        0 18px 38px rgba(184, 149, 90, 0.12),
        var(--shadow);
}

.pricing-card.featured:hover {
    transform: translateY(-8px);
    box-shadow:
        0 24px 50px rgba(184, 149, 90, 0.16),
        var(--shadow-hover);
}

.pricing-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: flex-start;
    min-height: 34px;
    padding: 0.45rem 0.9rem;
    margin-bottom: 1rem;
    border-radius: 999px;
    background: rgba(214, 188, 131, 0.12);
    border: 1px solid rgba(214, 188, 131, 0.24);
    color: #fff0d2;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.pricing-card h3 {
    margin: 0 0 0.55rem;
    color: #fff1cf;
    font-size: 2.2rem;
    line-height: 1.05;
    text-align: left;
    max-width: 10ch;
    text-wrap: balance;
}

.pricing-price {
    display: inline-block;
    margin-bottom: 1.15rem;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(2.6rem, 4vw, 3.5rem);
    font-weight: 600;
    letter-spacing: -0.03em;
    color: #e1c689;
    line-height: 1;
    text-shadow: 0 0 20px rgba(214, 188, 131, 0.10);
}

.pricing-intro {
    margin: 0 0 1.1rem;
    color: var(--muted);
    text-align: left;
    line-height: 1.8;
    max-width: none;
}

.pricing-intro strong {
    color: #fff0d2;
    font-weight: 600;
}

.pricing-features {
    margin: 0.2rem 0 1.7rem;
    padding: 0;
    list-style: none;
    flex-grow: 1;
    display: grid;
    gap: 0.72rem;
}

.pricing-features li {
    position: relative;
    padding-left: 1.35rem;
    margin-bottom: 0;
    color: var(--muted-strong);
    text-align: left;
    line-height: 1.65;
}

.pricing-features li::before {
    content: "✦";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent-strong);
    font-size: 0.9rem;
}

.pricing-card .btn,
.pricing-card .btn-outline {
    margin-top: auto;
    align-self: stretch;
    min-height: 52px;
}

.pricing-options .card,
.value-cards .card {
    justify-content: flex-start;
}

.option-price {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    margin-top: 1rem;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    background: rgba(214, 188, 131, 0.10);
    border: 1px solid rgba(214, 188, 131, 0.18);
    color: var(--accent-strong);
    font-weight: 700;
    font-size: 1.05rem;
}

/* ===== PAGE CONTACT ===== */

.hero-contact {
    padding-bottom: 5rem;
}

.contact-layout {
    display: grid;
    grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
    gap: 1.5rem;
    align-items: start;
    margin-top: 2rem;
}

.contact-card {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.03));
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 1.9rem 1.6rem;
    text-align: left;
}

.contact-card h2 {
    margin-top: 0;
    margin-bottom: 1rem;
    text-align: left;
    font-size: 2.2rem;
    text-wrap: balance;
}

.contact-card p {
    color: var(--muted);
    margin-top: 0;
    text-align: left;
    max-width: none;
    line-height: 1.8;
}

.contact-list {
    margin: 1rem 0 0;
    padding-left: 1.2rem;
    color: var(--muted-strong);
    text-align: left;
}

.contact-list li {
    margin-bottom: 0.7rem;
}

.contact-direct {
    margin-top: 1.5rem;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-direct strong {
    display: block;
    margin-bottom: 0.6rem;
    color: #fff0d2;
}

.contact-direct a,
.contact-direct a:visited {
    color: var(--accent-strong);
}

.contact-direct a:hover {
    color: #fff0d2;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.form-group label {
    color: #fff0d2;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.95rem 1rem;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    font: inherit;
    outline: none;
    transition:
        border-color var(--transition),
        box-shadow var(--transition),
        background var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: rgba(214, 188, 131, 0.42);
    box-shadow: 0 0 0 4px rgba(184, 149, 90, 0.08);
    background: rgba(255, 255, 255, 0.06);
}

.form-group textarea {
    resize: vertical;
    min-height: 180px;
}

.form-message {
    margin-bottom: 1rem;
    padding: 1rem;
    border-radius: 14px;
    font-weight: 600;
    text-align: left;
}

.form-success {
    background: rgba(90, 160, 110, 0.18);
    border: 1px solid rgba(90, 160, 110, 0.28);
    color: #dff3e4;
}

.form-error {
    background: rgba(170, 90, 90, 0.16);
    border: 1px solid rgba(170, 90, 90, 0.30);
    color: #ffe0e0;
}

.form-error ul {
    margin: 0;
    padding-left: 1.2rem;
}

.form-error li {
    margin-bottom: 0.4rem;
}

/* ===== TEXTE FINAL ===== */

.section .lead strong {
    color: #fff0d2;
}

/* ===== PAGE TARIFS / PATCHS CIBLÉS ===== */

.hero-pricing .lead {
    max-width: 920px;
    color: var(--muted-strong);
}

.hero-pricing p + .lead {
    margin-top: 1rem;
}

#offres .container > .lead + .lead {
    margin-top: 1rem;
}

.section.alt .value-cards .card {
    background:
        radial-gradient(circle at top, rgba(214, 188, 131, 0.08), transparent 42%),
        linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.03));
    border-color: rgba(214, 188, 131, 0.16);
}

.section.alt .value-cards .card h3 {
    font-size: 1.9rem;
    margin-bottom: 0.8rem;
}

.section.alt .value-cards .card p {
    max-width: none;
    text-align: center;
}

.pricing-options .card {
    position: relative;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.022));
    border-color: rgba(255,255,255,0.09);
}

.pricing-options .card h3 {
    font-size: 1.55rem;
}

.pricing-options .card p {
    max-width: none;
}

#contact-tarifs .lead {
    max-width: 920px;
}

#contact-tarifs .hero-buttons {
    margin-top: 2rem;
}

/* ===== FOOTER LUXE ===== */

.site-footer-luxury {
    position: relative;
    margin-top: 110px;
    padding: 70px 20px 56px;
    background:
        radial-gradient(circle at top, rgba(255,255,255,0.035), transparent 30%),
        linear-gradient(180deg, rgba(255,255,255,0.015), rgba(0,0,0,0.18));
    border-top: 1px solid rgba(255,255,255,0.08);
    overflow: hidden;
}

.site-footer-luxury::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.02) 50%, transparent 100%);
    opacity: 0.55;
}

.footer-luxury-inner {
    position: relative;
    z-index: 1;
    max-width: 940px;
    margin: 0 auto;
    text-align: center;
}

.footer-luxury-divider {
    display: flex;
    justify-content: center;
    margin-bottom: 26px;
}

.footer-luxury-divider span {
    width: 120px;
    height: 1px;
    background: linear-gradient(
        90deg,
        rgba(255,255,255,0),
        var(--accent),
        rgba(255,255,255,0)
    );
    opacity: 0.9;
}

.footer-luxury-kicker {
    margin: 0 0 14px;
    font-family: 'Inter', Arial, sans-serif;
    font-size: 0.8rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--accent);
    opacity: 0.9;
}

.footer-luxury-text {
    max-width: 760px;
    margin: 0 auto 18px;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(1.45rem, 2.5vw, 2.2rem);
    line-height: 1.45;
    color: #fff2d7;
    letter-spacing: 0.01em;
    text-wrap: balance;
}

.footer-luxury-signature {
    margin: 0 auto 28px;
    font-size: 0.98rem;
    line-height: 1.8;
    color: var(--muted);
    opacity: 0.92;
}

.footer-luxury-meta {
    max-width: 760px;
    margin: 0 auto;
}

.footer-luxury-note {
    margin: 0 auto 22px;
    font-size: 0.92rem;
    line-height: 1.9;
    color: var(--muted);
    opacity: 0.82;
}

.footer-luxury-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
}

.footer-luxury-links a {
    position: relative;
    display: inline-block;
    font-size: 0.9rem;
    letter-spacing: 0.04em;
    color: var(--text);
    opacity: 0.88;
    transition:
        opacity 0.25s ease,
        transform 0.25s ease,
        color 0.25s ease;
}

.footer-luxury-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 100%;
    height: 1px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.28s ease;
    opacity: 0.9;
}

.footer-luxury-links a:hover {
    color: #fff3de;
    opacity: 1;
    transform: translateY(-1px);
}

.footer-luxury-links a:hover::after {
    transform: scaleX(1);
}

/* ===== STABILISATION ===== */

.template-card-bg {
    animation: none !important;
}

img[alt="Trace de Vie"] {
    display: block;
    height: auto;
}

/* ===== RESPONSIVE ===== */

@media (min-width: 1280px) {
    .pricing-grid {
        gap: 1.8rem;
    }

    .pricing-card {
        padding: 2.15rem 1.8rem;
    }
}

@media (max-width: 1100px) {
    .pricing-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 980px) {
    .cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    #templates .cards {
        grid-template-columns: repeat(2, minmax(240px, 1fr));
    }
}

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

@media (max-width: 700px) {
    .header-inner {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 0.65rem 0 0.8rem;
        min-height: auto;
        gap: 0.5rem;
    }

    .site-logo {
        max-width: 220px;
        max-height: 62px;
        width: auto;
        height: auto;
        margin: 0 auto;
    }

    .site-nav {
        width: 100%;
        display: flex;
        flex-wrap: nowrap;
        justify-content: center;
        align-items: center;
        gap: 0.35rem;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding: 0 0.4rem 0.15rem;
        margin: 0 auto;
    }

    .site-nav::-webkit-scrollbar {
        display: none;
    }

    .site-nav a {
        flex: 0 0 auto;
        min-height: 40px;
        padding: 0.58rem 0.82rem;
        font-size: 0.96rem;
        white-space: nowrap;
    }

    .hero {
        padding: 5.2rem 0 4rem;
    }

    .hero h1 {
        font-size: clamp(2.7rem, 11vw, 4rem);
        line-height: 0.98;
    }

    .hero p,
    .lead {
        font-size: 1rem;
        line-height: 1.85;
    }

    .section {
        padding: 4rem 0;
    }

    .cards,
    #templates .cards,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .card,
    .pricing-card,
    .contact-card {
        padding: 1.4rem;
        border-radius: 18px;
    }

    .template-card {
        min-height: 290px;
    }

    .template-card-content {
        min-height: 290px;
        padding: 1.2rem;
    }

    .template-card h3 {
        font-size: 1.7rem;
    }

    .template-card p {
        font-size: 0.96rem;
        max-width: 24ch;
    }

    .demo-access-box {
        padding: 22px 16px;
        border-radius: 16px;
        max-width: 100%;
    }

    .demo-password {
        width: 100%;
        max-width: 100%;
        font-size: 1rem;
        padding: 12px 16px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-buttons .btn,
    .hero-buttons .btn-outline,
    .btn,
    .btn-outline {
        width: 100%;
    }

    .card .btn,
    .card .btn-outline,
    .pricing-card .btn,
    .pricing-card .btn-outline {
        align-self: stretch;
        min-width: 0;
    }

    .template-card .btn-outline {
        align-self: center;
        width: auto;
        min-width: 0;
    }

    .pricing-card h3 {
        max-width: none;
    }

    .pricing-price {
        font-size: clamp(2.2rem, 10vw, 2.9rem);
    }

    .section.alt .value-cards .card h3,
    .pricing-options .card h3 {
        font-size: 1.45rem;
    }
}

@media (max-width: 640px) {
    .site-footer-luxury {
        margin-top: 80px;
        padding: 54px 18px 42px;
    }

    .footer-luxury-text {
        font-size: 1.35rem;
    }

    .footer-luxury-links {
        gap: 16px;
    }
}

/* ===== HARMONISATION PROPRE DES TITRES HERO ===== */

.hero h1,
.hero-pricing h1,
.hero-contact h1 {
    max-width: none;
    width: 100%;
    margin: 0 0 1.35rem;
    font-size: clamp(3.4rem, 5.8vw, 5.3rem);
    line-height: 1.02;
    letter-spacing: -0.03em;
    text-wrap: balance;
}

.hero p,
.hero-pricing p,
.hero-contact p,
.hero .lead,
.hero-pricing .lead,
.hero-contact .lead {
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 700px) {
    .hero h1,
    .hero-pricing h1,
    .hero-contact h1 {
        margin-bottom: 1.1rem;
        font-size: clamp(2.7rem, 10.5vw, 4rem);
        line-height: 0.98;
        letter-spacing: -0.025em;
    }
}
/* ===== STABILISATION DES TITRES HERO ===== */

.hero h1,
.hero-pricing h1,
.hero-contact h1 {
    position: relative;
    max-width: 1100px;
    margin: 0 auto 1.2rem;
    color: #fff4df;
    font-size: clamp(3rem, 5.6vw, 5.2rem);
    line-height: 1.02;
    letter-spacing: -0.025em;
    font-weight: 600;
    text-align: center;
    text-wrap: pretty;
}

@media (max-width: 700px) {
    .hero h1,
    .hero-pricing h1,
    .hero-contact h1 {
        font-size: clamp(2.7rem, 10vw, 4rem);
        line-height: 1;
    }
}

/* ===== POLICES GLOBALES UNIFIÉES ===== */

body {
    font-family: 'Inter', Arial, sans-serif;
}

h1, h2, h3,
.hero h1,
.hero-pricing h1,
.hero-contact h1 {
    font-family: 'Cormorant Garamond', Georgia, serif !important;
    font-weight: 600;
}

.hero h1,
.hero-pricing h1,
.hero-contact h1 {
    font-style: normal;
}
