
:root {
    --primary: #67788c;
    --secondary: #4d426a;
    --dark: #3a2550;
    --text: #292929;
    --muted: #747474;
    --background: #f7f7f9;
    --white: #ffffff;
    --border: #e3e3e7;
    --success: #237a57;
    --danger: #b33b3b;
    --radius: 14px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    color: var(--text);
    background: var(--background);
}

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

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

.site-header {
    position: relative;
    height: 72px;
    padding: 0 6%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: var(--white);
    border-bottom: 1px solid var(--border);
}

.logo {
    font-size: 22px;
    font-weight: 800;
    color: var(--dark);
}

.site-header .site-brand {
    display: block;
    min-width: 0;
    overflow-wrap: anywhere;
}

.site-header .site-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 28px;
}

.site-header .site-nav .nav-link:hover {
    color: var(--secondary);
}

/* Bouton hamburger masqué sur ordinateur */

.site-header .menu-toggle {
    display: none;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    padding: 9px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
}

.site-header .menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    margin: 4px auto;
    background: #333;
    border-radius: 2px;
}

.site-header .nav-separator {
    opacity: 0.4;
}

/* =========================================================
   MENU MOBILE
   ========================================================= */

@media screen and (max-width: 768px) {
    .site-header {
        height: auto;
        min-height: 72px;
        flex-wrap: wrap;
        padding: 14px 16px;
    }

    .site-header .site-brand {
        flex: 1 1 0;
        font-size: clamp(16px, 4vw, 22px);
    }

    .site-header .menu-toggle {
        display: block !important;
    }

    .site-header .site-nav {
        display: none !important;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 9999;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0;
        padding: 8px 12px;
        background: #fff;
        border: 1px solid #e5e5e5;
        border-radius: 0 0 8px 8px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    }

    .site-header .site-nav.is-open {
        display: flex !important;
    }

    .site-header .site-nav .nav-link {
        display: block;
        padding: 14px 12px;
        border-top: 1px solid #eee;
        color: #333;
        font-size: 1rem;
        overflow-wrap: anywhere;
    }

    .site-header .nav-separator {
        display: none;
    }
}

/* =========================================================
   GLOBAL
   ========================================================= */

main {
    min-height: calc(100vh - 140px);
}

.site-footer {
    padding: 30px 6%;
    text-align: center;
    color: var(--muted);
}

.footer-powered-by {
    margin-top: 12px;
    font-size: 0.75rem;
    text-align: center;
    opacity: 0.7;
}

.footer-powered-by a {
    color: inherit;
    text-decoration: none;
    font-weight: 600;
}

.footer-powered-by a:hover {
    text-decoration: underline;
}

/* =========================================================
   ACCUEIL ET HERO
   ========================================================= */

.hero {
    min-height: 620px;
    padding: 80px 6%;
    display: flex;
    align-items: center;
    background: linear-gradient(
        135deg,
        var(--primary),
        var(--secondary),
        var(--dark)
    );
    color: white;
}

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

.eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    opacity: 0.75;
}

.hero h1,
.page-header h1 {
    margin: 0 0 22px;
    font-size: clamp(40px, 6vw, 68px);
    line-height: 1.05;
}

.hero p {
    max-width: 650px;
    font-size: 20px;
    line-height: 1.7;
    margin-bottom: 35px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 24px;
    border: 0;
    border-radius: 10px;
    background: var(--dark);
    color: white;
    cursor: pointer;
    font-weight: 700;
}

.button:hover {
    opacity: 0.9;
}

.button.small {
    min-height: 40px;
    padding: 0 16px;
    font-size: 14px;
}

.button.full {
    width: 100%;
}

.page {
    width: min(1200px, 88%);
    margin: 0 auto;
    padding: 70px 0;
}

.page-header {
    max-width: 750px;
    margin-bottom: 50px;
}

.page-header h1 {
    font-size: 48px;
}

.page-header p {
    color: var(--muted);
    font-size: 18px;
    line-height: 1.7;
}

/* =========================================================
   CARTES ET TEMPLATES
   ========================================================= */

.template-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.template-card {
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: transform 0.2s ease;
}

.template-card:hover {
    transform: translateY(-4px);
}

.template-image {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #eeeef2;
}

.template-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-placeholder,
.detail-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
}

.template-content {
    padding: 24px;
}

.template-content h2 {
    margin: 12px 0;
}

.template-content p {
    color: var(--muted);
    line-height: 1.6;
}

.tag {
    display: inline-flex;
    padding: 7px 11px;
    background: #eeeaf5;
    color: var(--secondary);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.template-bottom {
    margin-top: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.template-bottom strong {
    font-size: 20px;
}

.detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    gap: 60px;
    align-items: start;
}

.detail-image,
.detail-placeholder {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: var(--radius);
    background: #eeeef2;
}

.detail-content h1 {
    margin: 18px 0;
    font-size: 48px;
}

.detail-description {
    color: var(--muted);
    line-height: 1.8;
    font-size: 18px;
}

.price {
    margin: 30px 0;
    font-size: 38px;
    font-weight: 800;
    color: var(--dark);
}

.price span {
    font-size: 16px;
    font-weight: 400;
    color: var(--muted);
}

.features {
    padding: 0;
    list-style: none;
}

.features li {
    padding: 10px 0;
    display: flex;
    gap: 10px;
}

.features li span {
    color: var(--success);
    font-weight: 700;
}

.back-link {
    display: inline-block;
    margin-bottom: 30px;
    color: var(--secondary);
    font-weight: 700;
}

/* =========================================================
   ADMINISTRATION
   ========================================================= */

.admin-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    min-height: calc(100vh - 72px);
}

.admin-sidebar {
    padding: 30px 20px;
    background: var(--dark);
    color: white;
}

.admin-logo {
    margin-bottom: 40px;
    font-size: 20px;
    font-weight: 800;
}

.admin-sidebar nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.admin-sidebar nav a {
    padding: 12px 14px;
    border-radius: 8px;
}

.admin-sidebar nav a:hover {
    background: rgba(255, 255, 255, 0.1);
}

.admin-content {
    padding: 45px;
}

.admin-header {
    margin-bottom: 35px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-header h1 {
    margin: 5px 0 0;
    font-size: 38px;
}

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

.stat-card {
    padding: 28px;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.stat-card span {
    display: block;
    margin-bottom: 10px;
    color: var(--muted);
}

.stat-card strong {
    font-size: 36px;
    color: var(--dark);
}

.admin-actions {
    margin-top: 30px;
}

.admin-table-wrapper {
    overflow-x: auto;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    padding: 17px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.admin-template {
    display: flex;
    align-items: center;
    gap: 12px;
}

.admin-template img {
    width: 70px;
    height: 45px;
    object-fit: cover;
    border-radius: 7px;
}

.status {
    display: inline-flex;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.status.active {
    background: #e3f4ec;
    color: var(--success);
}

.status.inactive {
    background: #f7e4e4;
    color: var(--danger);
}

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

.actions a {
    color: var(--secondary);
    font-weight: 700;
}

.actions form {
    margin: 0;
}

.link-danger {
    padding: 0;
    border: 0;
    background: none;
    color: var(--danger);
    cursor: pointer;
    font-weight: 700;
}

/* =========================================================
   FORMULAIRES ET CONNEXION
   ========================================================= */

.form-card {
    max-width: 850px;
    padding: 35px;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

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

.form-group {
    margin-bottom: 23px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 13px;
    border: 1px solid var(--border);
    border-radius: 9px;
    font: inherit;
    background: white;
}

.form-group textarea {
    resize: vertical;
}

.form-group small {
    display: block;
    margin-top: 7px;
    color: var(--muted);
}

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

.checkbox input {
    width: auto;
}

.checkbox label {
    margin: 0;
}

.current-image img {
    display: block;
    width: 280px;
    margin-bottom: 25px;
    border-radius: 10px;
}

.flash {
    padding: 14px 18px;
    margin-bottom: 25px;
    border-radius: 10px;
}

.flash.success {
    background: #e3f4ec;
    color: var(--success);
}

.flash.error {
    background: #f7e4e4;
    color: var(--danger);
}

.login-page {
    min-height: calc(100vh - 140px);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
}

.login-card {
    width: min(430px, 100%);
    padding: 40px;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.login-card h1 {
    margin-top: 5px;
    margin-bottom: 30px;
}

/* =========================================================
   CONFIGURATION CLIENT
   ========================================================= */

.client-config {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 24px 80px;
    box-sizing: border-box;
}

.client-config-back {
    display: inline-block;
    margin-bottom: 35px;
    color: #67788c;
    text-decoration: none;
    font-size: 14px;
}

.client-config-back:hover {
    color: #3a2550;
}

.client-config-title {
    margin-bottom: 35px;
}

.client-config-title h1 {
    margin: 0 0 10px;
    color: #3a2550;
    font-size: 36px;
    line-height: 1.2;
}

.client-config-title p {
    margin: 0;
    color: #666;
    font-size: 16px;
}

.client-config-columns {
    display: flex;
    align-items: flex-start;
    gap: 30px;
}

.client-config-form {
    flex: 1 1 auto;
    min-width: 0;
    padding: 32px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    box-sizing: border-box;
}

.client-config-form h2 {
    margin: 0 0 28px;
    color: #3a2550;
    font-size: 21px;
}

.client-config-field {
    margin-bottom: 22px;
}

.client-config-field label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-size: 14px;
    font-weight: 600;
}

.client-config-field input {
    display: block;
    width: 100%;
    height: 46px;
    padding: 0 13px;
    border: 1px solid #d5d9df;
    border-radius: 7px;
    background: #fff;
    color: #333;
    font-size: 15px;
    box-sizing: border-box;
}

.client-config-field input:focus {
    outline: none;
    border-color: #67788c;
    box-shadow: 0 0 0 3px rgba(103, 120, 140, 0.12);
}

.client-config-field small {
    display: block;
    margin-top: 7px;
    color: #777;
    font-size: 13px;
}

.client-config-contact {
    display: flex;
    gap: 20px;
}

.client-config-contact .client-config-field {
    flex: 1;
    min-width: 0;
}

.client-config-submit {
    display: inline-block;
    margin-top: 5px;
    padding: 13px 25px;
    border: 0;
    border-radius: 7px;
    background: #3a2550;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

.client-config-submit:hover {
    background: #4d426a;
}

.client-config-summary {
    flex: 0 0 330px;
    width: 330px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    box-sizing: border-box;
    overflow: hidden;
}

.client-config-summary-header {
    padding: 24px;
    border-bottom: 1px solid #eee;
}

.client-config-summary-label {
    display: block;
    margin-bottom: 8px;
    color: #67788c;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.client-config-summary-header h2 {
    margin: 0;
    color: #3a2550;
    font-size: 21px;
    line-height: 1.3;
}

.client-config-summary-body {
    padding: 8px 24px;
}

.client-config-summary-line {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 15px;
    padding: 18px 0;
}

.client-config-summary-line + .client-config-summary-line {
    border-top: 1px solid #f0f0f0;
}

.client-config-summary-line-name {
    color: #333;
    font-size: 14px;
    font-weight: 600;
}

.client-config-summary-line-info {
    display: block;
    margin-top: 4px;
    color: #888;
    font-size: 12px;
    font-weight: 400;
}

.client-config-summary-line-price {
    flex-shrink: 0;
    color: #333;
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
}

.client-config-summary-total {
    margin: 0 24px;
    padding: 20px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.client-config-summary-total-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.client-config-summary-total-label {
    color: #333;
    font-size: 14px;
    font-weight: 600;
}

.client-config-summary-total-price {
    color: #3a2550;
    font-size: 21px;
    font-weight: 700;
    white-space: nowrap;
}

.client-config-summary-monthly {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    padding: 20px 24px 24px;
}

.client-config-summary-monthly span {
    color: #777;
    font-size: 13px;
}

.client-config-summary-monthly strong {
    color: #3a2550;
    font-size: 14px;
    white-space: nowrap;
}

/* =========================================================
   DOMAINE
   ========================================================= */

.client-domain {
    margin-bottom: 24px;
}

.client-domain-input-row {
    display: flex;
    align-items: stretch;
    gap: 8px;
    width: 100%;
}

.client-domain-input-row input {
    flex: 1 1 auto;
    min-width: 0;
    height: 46px;
    padding: 0 14px;
    border: 1px solid #d5d9df;
    border-radius: 7px;
    background: #fff;
    color: #333;
    font-size: 15px;
    box-sizing: border-box;
}

.client-domain-input-row input:focus {
    outline: none;
    border-color: #67788c;
    box-shadow: 0 0 0 3px rgba(103, 120, 140, 0.12);
}

.client-domain-extension {
    flex: 0 0 90px;
    height: 46px;
    padding: 0 12px;
    border: 1px solid #d5d9df;
    border-radius: 7px;
    background: #fff;
    color: #333;
    font-size: 15px;
    cursor: pointer;
}

.client-domain-extension:focus {
    outline: none;
    border-color: #67788c;
    box-shadow: 0 0 0 3px rgba(103, 120, 140, 0.12);
}

.client-domain-check {
    flex: 0 0 auto;
    height: 46px;
    padding: 0 20px;
    border: 0;
    border-radius: 7px;
    background: #3a2550;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.client-domain-check:hover {
    background: #4d426a;
}

.client-domain-check:disabled {
    opacity: 0.65;
    cursor: wait;
}

.client-domain small {
    display: block;
    margin-top: 8px;
    color: #777;
    font-size: 13px;
}

.client-domain-result {
    margin-top: 12px;
    padding: 13px 15px;
    border: 1px solid #e5e7eb;
    border-radius: 7px;
    background: #fafafa;
    color: #444;
    font-size: 14px;
    line-height: 1.5;
}

.client-domain-free {
    margin-top: 14px;
    padding: 14px 16px;
    border: 1px solid #e1e4e8;
    border-radius: 7px;
    background: #fafafa;
}

.client-domain-free-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    color: #333;
    font-size: 14px;
    line-height: 1.5;
}

.client-domain-free-label input {
    margin-top: 3px;
    flex: 0 0 auto;
}

.client-domain-free-label strong {
    color: #3a2550;
}

.client-domain-free small {
    display: block;
    margin-top: 6px;
    margin-left: 24px;
    color: #777;
    font-size: 13px;
}

/* =========================================================
   RÉSULTAT DU PAIEMENT
   ========================================================= */

.checkout-result {
    min-height: calc(100vh - 160px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    background: #fafafa;
}

.checkout-result-card {
    width: 100%;
    max-width: 560px;
    padding: 52px 48px;
    text-align: center;
    background: #fff;
    border: 1px solid #e8e5eb;
    border-radius: 18px;
    box-shadow: 0 20px 60px rgba(58, 37, 80, 0.08);
}

.checkout-result-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f0edf4;
    color: #3a2550;
    font-size: 32px;
    font-weight: 700;
}

.checkout-result-card h1 {
    margin: 0 0 18px;
    color: #3a2550;
    font-size: 32px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.checkout-result-card p {
    margin: 0 auto 12px;
    max-width: 440px;
    color: #67788c;
    font-size: 16px;
    line-height: 1.7;
}

.checkout-result-card p:last-of-type {
    margin-bottom: 32px;
}

.checkout-result-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 28px;
    border-radius: 10px;
    background: #3a2550;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition:
        background 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.checkout-result-button:hover {
    background: #4d426a;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(58, 37, 80, 0.18);
}

.checkout-result-button:active {
    transform: translateY(0);
}

/* =========================================================
   RESPONSIVE GÉNÉRAL
   ========================================================= */

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

    .detail-grid {
        grid-template-columns: 1fr;
    }

    .admin-layout {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        min-height: auto;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 850px) {
    .client-config-columns {
        flex-direction: column;
    }

    .client-config-summary {
        width: 100%;
        flex-basis: auto;
    }
}

@media (max-width: 600px) {
    .client-config {
        padding: 25px 16px 50px;
    }

    .client-config-title h1 {
        font-size: 30px;
    }

    .client-config-form {
        padding: 22px;
    }

    .client-config-contact {
        flex-direction: column;
        gap: 0;
    }

    .client-domain-input-row {
        flex-wrap: wrap;
    }

    .client-domain-input-row input {
        flex: 1 1 100%;
    }

    .client-domain-extension,
    .client-domain-check {
        flex: 1;
    }

    .checkout-result {
        min-height: calc(100vh - 120px);
        padding: 40px 16px;
    }

    .checkout-result-card {
        padding: 40px 24px;
        border-radius: 14px;
    }

    .checkout-result-icon {
        width: 64px;
        height: 64px;
        margin-bottom: 22px;
    }

    .checkout-result-card h1 {
        font-size: 27px;
    }

    .checkout-result-card p {
        font-size: 15px;
    }

    .checkout-result-button {
        width: 100%;
    }
}

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

.site-footer {

    margin-top: 80px;

    background:
        linear-gradient(
            135deg,
            #24182f 0%,
            #30203f 55%,
            #3a2550 100%
        );

    color: #fff;
}


/* =========================================================
   CONTAINER
========================================================= */

.footer-inner {

    width: min(
        1150px,
        calc(100% - 48px)
    );

    margin: 0 auto;
}


/* =========================================================
   PARTIE PRINCIPALE
========================================================= */

.footer-main {

    display: grid;

    grid-template-columns:
        1.7fr
        1fr
        1.2fr
        1fr;

    gap: 55px;

    padding: 65px 0 55px;
}


/* =========================================================
   BRAND
========================================================= */

.footer-brand {

    display: flex;

    flex-direction: column;

    align-items: flex-start;
}

.footer-logo {

    display: inline-block;

    color: #fff;

    font-size: 1.65rem;

    font-weight: 800;

    letter-spacing: -0.04em;

    text-decoration: none;
}

.footer-brand p {

    max-width: 220px;

    margin: 11px 0 17px;

    color: rgba(
        255,
        255,
        255,
        0.65
    );

    font-size: 0.78rem;

    line-height: 1.6;
}

.footer-badge {

    display: inline-flex;

    padding: 7px 10px;

    border: 1px solid rgba(
        255,
        255,
        255,
        0.12
    );

    border-radius: 999px;

    background: rgba(
        255,
        255,
        255,
        0.06
    );

    color: rgba(
        255,
        255,
        255,
        0.75
    );

    font-size: 0.62rem;

    font-weight: 700;
}


/* =========================================================
   COLONNES
========================================================= */

.footer-column {

    display: flex;

    flex-direction: column;

    align-items: flex-start;

    gap: 10px;
}

.footer-title {

    margin-bottom: 7px;

    color: #fff;

    font-size: 0.7rem;

    font-weight: 800;

    letter-spacing: 0.08em;

    text-transform: uppercase;
}

.footer-column > a {

    color: rgba(
        255,
        255,
        255,
        0.65
    );

    font-size: 0.74rem;

    text-decoration: none;

    transition:
        color 0.2s ease,
        transform 0.2s ease;
}

.footer-column > a:hover {

    color: #fff;

    transform: translateX(2px);
}

.footer-help-text {

    max-width: 190px;

    color: rgba(
        255,
        255,
        255,
        0.48
    );

    font-size: 0.68rem;

    line-height: 1.6;
}


/* =========================================================
   RÉSEAUX SOCIAUX
========================================================= */

.footer-social {

    display: flex;

    align-items: center;

    gap: 9px;

    margin-top: 3px;
}

.social-link {

    display: flex;

    align-items: center;
    justify-content: center;

    width: 38px;
    height: 38px;

    border: 1px solid rgba(
        255,
        255,
        255,
        0.13
    );

    border-radius: 10px;

    background: rgba(
        255,
        255,
        255,
        0.06
    );

    color: rgba(
        255,
        255,
        255,
        0.72
    );

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        color 0.2s ease;
}

.social-link:hover {

    transform: translateY(-3px);

    background: rgba(
        255,
        255,
        255,
        0.13
    );

    color: #fff;
}

.social-link svg {

    width: 18px;
    height: 18px;

    fill: currentColor;

    stroke: currentColor;

    stroke-width: 1.7;
}


/* =========================================================
   BAS
========================================================= */

.footer-bottom {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    min-height: 62px;

    border-top: 1px solid rgba(
        255,
        255,
        255,
        0.1
    );

    color: rgba(
        255,
        255,
        255,
        0.42
    );

    font-size: 0.65rem;

    text-align: center;
}

.footer-bottom a {

    color: rgba(
        255,
        255,
        255,
        0.72
    );

    font-weight: 700;

    text-decoration: none;
}

.footer-bottom a:hover {

    color: #fff;
}

.footer-separator {

    opacity: 0.4;
}

.social-instagram:hover {
    background: #E4405F;
    color: #fff;
    border-color: #E4405F;
}

.social-facebook:hover {
    background: #1877F2;
    color: #fff;
    border-color: #1877F2;
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 800px) {

    .footer-main {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 40px 30px;

        padding: 50px 0 45px;
    }

    .footer-brand {

        grid-column: 1 / -1;
    }

}


@media (max-width: 500px) {

    .footer-inner {

        width: min(
            100% - 32px,
            1150px
        );
    }

    .footer-main {

        grid-template-columns: 1fr;

        gap: 32px;

        padding: 45px 0 40px;
    }

    .footer-brand {

        grid-column: auto;
    }

    .footer-bottom {

        flex-direction: column;

        gap: 5px;

        padding: 15px 0;

        min-height: auto;
    }

    .footer-separator {

        display: none;
    }

}
