:root {
    --brand: #0A2A52;
    /* bleu nuit */
    --brand-2: #FB8E00;
    /* orange accent */
    --ink: #18202A;
    --muted: #5E6B7A;
    --bg: #F7F9FC;
    --white: #FFF;
    --radius: 16px;
    --radius-xl: 26px;
    --shadow: 0 10px 30px rgba(10, 42, 82, .12);
    --font-main: 'Inter', sans-serif;
    /* Assuming Inter or similar */
}

body {
    font-family: var(--font-main);
    background-color: var(--bg);
    margin: 0;
    color: var(--ink);
}

/* Layout helpers */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    font-size: clamp(24px, 3vw, 36px);
    color: var(--ink);
    font-weight: 800;
    margin-bottom: 0.5em;
}

.section-title .accent {
    color: var(--brand-2)
}

.section-subtitle {
    font-size: clamp(18px, 2.2vw, 24px);
    color: var(--muted);
    margin: .5rem 0 1.25rem;
    font-weight: 400;
}

.center {
    text-align: center
}

/* ===== HEADER ===== */
.site-header--home {
    background-color: rgba(255, 255, 255, 0);
    padding: 15px 0 0 0;
    position: relative;
    z-index: 100;
}

.header__bar--home {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.brand__text {
    font-weight: 800;
    color: var(--brand);
    font-size: 18px;
    line-height: 1.1;
    display: flex;
    flex-direction: column;
    /* Stack if needed, or inline */
}

/* Adjusting to match "les entreprises garanties" logo style roughly */
.brand__text {
    flex-direction: row;
    align-items: baseline;
    gap: 4px;
}

.brand__accent {
    color: var(--brand-2);
}

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

.main-nav a {
    text-decoration: none;
    color: var(--ink);
    font-weight: 600;
    font-size: 15px;
    transition: color 0.2s;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--brand);
}

.actions {
    display: flex;
    gap: 12px;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 999px;
    padding: 10px 24px;
    font-weight: 700;
    border: 1px solid transparent;
    box-shadow: var(--shadow);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s;
}

.btn--light {
    background: var(--white);
    color: var(--brand)
}

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

.btn--primary:hover {
    filter: brightness(1.1)
}

.btn--light:hover {
    background: #f4f6f8
}

.btn--white {
    background: var(--white);
    color: var(--ink);
    border: 1px solid #E0E6ED;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.btn--white:hover {
    border-color: var(--brand-2);
    color: var(--brand);
}

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 600px;
    /* Fixed height for hero */
    border-radius: var(--radius-xl);
    overflow: hidden;
    margin: 0 24px;
    /* Margin on sides */
    background: #ddd;
}

.hero__media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    object-position: center top;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(10, 42, 82, 0.6) 0%, rgba(10, 42, 82, 0.1) 50%, rgba(10, 42, 82, 0) 100%);
    z-index: 1;
}

.hero__content {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 60px;
    /* Adjust container padding */
}

.hero__title {
    max-width: 700px;
    color: var(--white);
    font-size: clamp(32px, 4.5vw, 56px);
    line-height: 1.15;
    font-weight: 800;
    margin-bottom: 24px;
}

.hero__title .accent {
    color: var(--brand-2)
}

.hero__cta {
    margin-top: 8px
}

/* ===== SEARCH BAR ===== */
.hero__search-wrap {
    position: relative;
    z-index: 10;
    margin-top: -40px;
    /* Overlap hero */
    display: flex;
    justify-content: center;
    padding: 0 20px;
}

.home-search {
    background: var(--white);
    border-radius: 20px;
    /* Rounded corners */
    padding: 10px 16px;
    box-shadow: 0 15px 40px rgba(10, 42, 82, 0.15);
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    max-width: 900px;
}

.home-search__label {
    font-weight: 700;
    color: var(--ink);
    font-size: 16px;
    white-space: nowrap;
    margin-right: 10px;
}

.home-search__row {
    display: flex;
    flex: 1;
    gap: 12px;
}

.home-search__field {
    flex: 1;
    background: #fff;
    border: 1px solid #E0E6ED;
    border-radius: 8px;
    padding: 0 12px;
    height: 48px;
    display: flex;
    align-items: center;
    position: relative;
}

.home-search__field:focus-within {
    border-color: var(--brand-2);
    box-shadow: 0 0 0 3px rgba(251, 142, 0, 0.1);
}

.home-search__field select,
.home-search__field input {
    border: none;
    background: transparent;
    width: 100%;
    height: 100%;
    font-size: 15px;
    color: var(--ink);
    outline: none;
    font-family: inherit;
}

.home-search__clear {
    background: none;
    border: none;
    font-size: 20px;
    color: var(--muted);
    cursor: pointer;
    padding: 0 8px;
}

.home-search__submit {
    height: 48px;
    padding: 0 32px;
    background: var(--brand);
    /* Dark blue */
    color: #fff;
    border-radius: 8px;
    font-size: 15px;
}

.home-search__suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    margin-top: 4px;
    list-style: none;
    padding: 0;
    box-shadow: var(--shadow);
    display: none;
    /* Hidden by default */
}

.home-search__suggestions:not(:empty) {
    display: block;
}

.home-search__suggestion {
    padding: 10px 16px;
    cursor: pointer;
}

.home-search__suggestion:hover {
    background: #f4f6f8;
}

/* ===== PROMISES ===== */
.promises {
    background: var(--brand);
    /* Dark blue */
    padding: 30px 0;
    margin: 40px 24px;
    border-radius: 16px;
    color: #fff;
}

.promises__row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.promise {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    flex: 1;
}

.promise__icon {
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    /* Icon styling */
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    display: grid;
    place-items: center;
    font-size: 14px;
}

.promise__text {
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
    color: #d6e2f2;
}

/* ===== ABOUT ===== */
.about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin: 80px auto;
}

.about__content h2 {
    font-size: 36px;
    margin-bottom: 10px;
}

.about__content h3 {
    font-size: 28px;
    color: var(--muted);
    font-weight: 400;
    margin-top: 0;
    margin-bottom: 24px;
}

.about__content p {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 16px;
}

.about__bold {
    margin-top: 20px;
    font-weight: 700;
    color: var(--ink);
}

.about__media {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow);
    margin: 0;
}

.about__media img {
    display: block;
    width: 100%;
    height: auto
}

/* ===== TESTIMONIALS ===== */
.testimonials {
    background: #F8FAFC;
    /* Light bg */
    padding: 60px 0;
    margin-top: 60px;
}

.testimonials__row {
    margin-top: 32px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.tcard {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.tcard__head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.tcard__avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
}

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

/* Fallback if text avatar */
.tcard__avatar {
    background: #eee;
    display: grid;
    place-items: center;
    font-weight: 700;
    color: var(--muted);
}

.tcard__name {
    font-weight: 700;
    color: var(--ink);
    font-size: 15px;
}

.tcard__text {
    color: var(--muted);
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .promises__row {
        flex-wrap: wrap;
    }

    .promise {
        flex: 1 1 45%;
    }

    .testimonials__row {
        grid-template-columns: repeat(2, 1fr)
    }

    .about {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 720px) {
    .hero {
        border-radius: 0;
        margin: 0;
        min-height: 400px;
    }

    .hero__content {
        padding-left: 20px;
        padding-right: 20px;
    }

    .hero__title {
        font-size: 32px;
    }

    .home-search {
        flex-direction: column;
        align-items: stretch;
        padding: 20px;
    }

    .home-search__row {
        flex-direction: column;
    }

    .home-search__label {
        margin-bottom: 10px;
    }

    .promises {
        border-radius: 0;
        margin: 0;
        padding: 20px;
    }

    .testimonials__row {
        grid-template-columns: 1fr
    }
}