/* ==========================================================================
   Juriste Valais - Landing page temporaire
   ========================================================================== */

@font-face {
    font-family: "Lora";
    src: url("/fonts/Lora/Lora-Regular.ttf") format("truetype");
    font-weight: 400;
}

@font-face {
    font-family: "Lora";
    src: url("/fonts/Lora/Lora-SemiBold.ttf") format("truetype");
    font-weight: 600;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #1f2933;
    background: #f4f6f8;
}

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

a {
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

h1,
h2,
h3 {
    font-family: "Lora", Georgia, serif;
    font-weight: 600;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-narrow {
    max-width: 900px;
    text-align: center;
}

.section {
    padding: 65px 0;
}

.section-white {
    background: #ffffff;
}

.section-light {
    background: #f4f6f8;
}

.section h2 {
    margin: 0 0 16px;
    color: #0b2d5c;
    font-size: 30px;
    line-height: 1.25;
}

.section p {
    font-size: 17px;
    line-height: 1.7;
    color: #4b5563;
}

.section-intro {
    max-width: 780px;
}

.site-header {
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
}

.header-inner {
    padding-top: 22px;
    padding-bottom: 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.site-logo {
    height: 100px;
    width: auto;
    max-width: 100%;
}

.main-nav {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.main-nav a {
    color: #0b2d5c;
    text-decoration: none;
    font-weight: bold;
}

.main-nav a:hover,
.main-nav a:focus {
    color: #b91c1c;
}

.hero {
    background: linear-gradient(135deg, #0b2d5c 0%, #123f7a 100%);
    color: #ffffff;
}

.hero-inner {
    padding-top: 80px;
    padding-bottom: 90px;
    text-align: center;
}

.hero-kicker {
    margin: 0 0 16px;
    color: #d6e4f5;
    font-size: 16px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero h1 {
    margin: 0 auto 24px;
    max-width: 850px;
    font-size: 42px;
    line-height: 1.2;
    color: #ffffff;
}

.hero-text {
    margin: 0 auto;
    max-width: 760px;
    font-size: 19px;
    line-height: 1.7;
    color: #eef4fb;
}

.hero-actions {
    margin-top: 34px;
}

.btn {
    display: inline-block;
    padding: 13px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
}

.btn-primary {
    background: #b91c1c;
    color: #ffffff;
    padding: 14px 28px;
}

.btn-primary:hover,
.btn-primary:focus {
    background: #991b1b;
}

.btn-secondary {
    background: #0b2d5c;
    color: #ffffff;
}

.btn-secondary:hover,
.btn-secondary:focus {
    background: #123f7a;
}

.btn-outline {
    background: #ffffff;
    color: #0b2d5c;
    border: 1px solid #0b2d5c;
}

.btn-outline:hover,
.btn-outline:focus {
    color: #ffffff;
    background: #0b2d5c;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 22px;
    margin-top: 34px;
}

.card {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 24px;
}

.card h3 {
    margin-top: 0;
    color: #0b2d5c;
}

.card p {
    margin-bottom: 0;
    color: #4b5563;
    line-height: 1.6;
}

.two-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 34px;
    align-items: center;
}

.info-box {
    background: #ffffff;
    border-radius: 12px;
    padding: 30px;
    border: 1px solid #e5e7eb;
}

.info-box h3 {
    margin-top: 0;
    color: #0b2d5c;
}

.info-box ul {
    margin: 0;
    padding-left: 20px;
    color: #4b5563;
    line-height: 1.8;
}

.contact-section {
    text-align: center;
}

.contact-section p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 18px;
}

.contact-actions {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.site-footer {
    background: #0b2d5c;
    color: #ffffff;
}

.footer-inner {
    padding-top: 26px;
    padding-bottom: 26px;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
}

.footer-inner p {
    margin: 0;
}

.footer-inner p:last-child {
    color: #d6e4f5;
}

@media (max-width: 700px) {
    .header-inner {
        justify-content: center;
        text-align: center;
    }

    .main-nav {
        justify-content: center;
    }

    .site-logo {
        height: 66px;
    }

    .hero-inner {
        padding-top: 58px;
        padding-bottom: 68px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero-text {
        font-size: 17px;
    }

    .section {
        padding: 50px 0;
    }

    .section h2 {
        font-size: 26px;
    }

    .contact-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        text-align: center;
    }

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