/* ============================================================
   BROUM NORMANDIE — HOME PAGE CSS
   ============================================================ */

.bn-container {
    max-width: 1248px;
    margin: 0 auto;
    padding: 0 96px;
    width: 100%;
}

.bn-section-head {
    margin-bottom: 40px;
}

.bn-section-head h2 {
    font-size: clamp(24px, 2.5vw, 36px);
    font-weight: var(--font-weight-extrabold);
    color: var(--color-text-primary);
    line-height: 1.2;
    margin: 0 0 8px;
}

.bn-section-head p {
    font-size: var(--text-base);
    color: var(--color-text-secondary);
    margin: 0;
}

.bn-section-head--center {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.bn-hero {
    background-color: #111827;
    position: relative;
    overflow: hidden;
    min-height: 680px;
}

.bn-hero__bg {
    position: absolute;
    inset: 0;
    background-image: var(--hero-bg, none);
    background-size: cover;
    background-position: center;
    opacity: 0.4;
}

.bn-hero__gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(17,24,39,0.55) 40%, transparent);
}

.bn-hero__inner {
    position: relative;
    z-index: 1;
    max-width: 1440px;
    margin: 0 auto;
    padding: 128px 96px;
    display: grid;
    grid-template-columns: 1fr 416px;
    column-gap: 96px;
    align-items: center;
}

.bn-hero__content {
    grid-column: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.bn-hero__content h1 {
    color: var(--color-white);
    font-size: clamp(40px, 4.2vw, 60px);
    line-height: 1;
    letter-spacing: -1.5px;
    margin: 0;
}

.bn-hero__desc {
    font-size: var(--text-xl);
    color: var(--color-text-light);
    line-height: var(--leading-xl);
    margin: 0;
}

.bn-hero__ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    padding-top: 16px;
}

/* Form card */
.bn-hero__form-card {
    grid-column: 2;
    background: var(--color-white);
    border-radius: var(--radius-md);
    padding: var(--space-8);
    box-shadow: var(--shadow-card);
    position: relative;
}

.bn-hero__form-head {
    text-align: center;
    margin-bottom: var(--space-6);
}

.bn-hero__form-head h3 {
    font-size: var(--text-2xl);
    font-weight: var(--font-weight-bold);
    color: var(--color-text-primary);
    line-height: var(--leading-2xl);
    margin: 0 0 4px;
}

.bn-hero__form-head p {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    margin: 0;
}

/* CF7 overrides in hero */
.bn-hero__form-card .wpcf7 {
    display: block;
}

.bn-hero__form-card .wpcf7-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.bn-form-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

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

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

.bn-hero__form-card p {
    margin: 0;
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
}

.bn-hero__form-card label {
    display: block;
    font-size: var(--text-sm);
    font-weight: var(--font-weight-medium);
    color: var(--color-text-secondary);
    margin-bottom: 4px;
}

.bn-hero__form-card .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}

.bn-hero__form-card .wpcf7-text,
.bn-hero__form-card .wpcf7-tel,
.bn-hero__form-card .wpcf7-email,
.bn-hero__form-card .wpcf7-textarea,
.bn-hero__form-card .wpcf7-select {
    width: 100%;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    padding: 10px 13px;
    font-family: var(--font-primary);
    font-size: var(--text-sm);
    color: var(--color-text-primary);
    box-shadow: var(--shadow-input);
    transition: border-color 0.2s;
    outline: none;
    box-sizing: border-box;
    -webkit-appearance: none;
    appearance: none;
}

.bn-hero__form-card .wpcf7-textarea {
    resize: vertical;
    min-height: 80px;
}

.bn-hero__form-card .wpcf7-text:focus,
.bn-hero__form-card .wpcf7-tel:focus,
.bn-hero__form-card .wpcf7-email:focus,
.bn-hero__form-card .wpcf7-textarea:focus,
.bn-hero__form-card .wpcf7-select:focus {
    border-color: var(--color-vert);
    box-shadow: 0 0 0 3px var(--color-vert-border);
}

.bn-hero__form-card .wpcf7-not-valid-tip {
    color: var(--color-error);
    font-size: var(--text-xs);
    margin-top: 2px;
    display: block;
}

.bn-hero__form-card .wpcf7-submit {
    background: var(--color-vert);
    color: var(--color-white);
    border: none;
    border-radius: var(--radius-sm);
    padding: 14px 16px;
    font-family: var(--font-primary);
    font-weight: var(--font-weight-bold);
    font-size: var(--text-base);
    width: 100%;
    cursor: pointer;
    box-shadow: var(--shadow-btn-vert);
    transition: opacity 0.2s;
}

.bn-hero__form-card .wpcf7-submit:hover {
    opacity: 0.9;
}

.bn-hero__form-card .wpcf7-response-output {
    font-size: var(--text-xs);
    padding: 8px;
    border-radius: var(--radius-sm);
    margin-top: 4px;
}

/* 2-column grid for tel/email */
.bn-cf7-row-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* Security notice */
.bn-cf7-security {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-size: var(--text-xs);
    color: var(--color-text-secondary);
    text-align: center;
}

.bn-cf7-security .material-icons {
    font-size: 12px;
}

/* ============================================================
   STATS BANNER
   ============================================================ */

.bn-stats {
    background: var(--color-white);
    border-bottom: 1px solid var(--color-border);
    padding: 36px 96px 37px;
}

.bn-stats__inner {
    max-width: 1248px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.bn-stats__item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.bn-stats__icon {
    background: #edf6ed;
    border-radius: 9999px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.bn-stats__icon .material-icons {
    font-size: 24px;
    color: var(--color-vert);
}

.bn-stats__item > div {
    display: flex;
    flex-direction: column;
}

.bn-stats__item strong {
    font-size: var(--text-sm);
    font-weight: var(--font-weight-bold);
    color: var(--color-text-primary);
    line-height: 1.4;
}

.bn-stats__item span {
    font-size: var(--text-xs);
    color: var(--color-text-secondary);
    line-height: 1.3;
}

/* ============================================================
   COMMENT ÇA MARCHE
   ============================================================ */

.bn-how {
    background: #f8fafc;
    padding: 42px 0;
}

.bn-how .bn-section-head h2 {
    font-size: 30px;
    font-weight: var(--font-weight-extrabold);
}

.bn-how__steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-bottom: 40px;
}

/* Animation au scroll */
.bn-how__step {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.bn-how__step--visible {
    opacity: 1;
    transform: translateY(0);
}

.bn-how__step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
}

.bn-how__num {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: var(--font-weight-bold);
    flex-shrink: 0;
}

.bn-how__num--outline {
    background: var(--color-white);
    border: 3px solid var(--color-vert);
    color: var(--color-vert);
}

.bn-how__num--filled {
    background: var(--color-vert);
    color: var(--color-white);
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
}

.bn-how__num--filled .material-icons {
    font-size: 24px;
}

.bn-how__step h3 {
    font-size: 18px;
    font-weight: var(--font-weight-bold);
    color: var(--color-text-primary);
    margin: 0;
}

.bn-how__step p {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    line-height: var(--leading-sm);
    margin: 0;
}

.bn-how__ctas {
    display: flex;
    gap: 37px;
    align-items: center;
    justify-content: center;
}

/* ============================================================
   VOTRE SPÉCIALISTE
   ============================================================ */

.bn-specialist {
    background: #edf6ed;
    padding: 43px 0;
}

.bn-specialist__inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 96px;
    display: flex;
    align-items: center;
    gap: 0;
}

.bn-specialist__left {
    flex-shrink: 0;
    width: 537px;
    min-height: 621px;
    position: relative;
    background-image: var(--specialist-bg, none);
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 15px;
    padding: 27px 96px;
}

.bn-specialist__left::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(151, 153, 174, 0.54);
    mix-blend-mode: difference;
}

.bn-specialist__card {
    position: relative;
    z-index: 1;
    background: rgba(248, 250, 252, 0.7);
    border-radius: 8px;
    box-shadow: 0 4px 15.4px rgba(0,0,0,0.19);
    padding: 14px 35px 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-width: 330px;
}

.bn-specialist__card-icon {
    position: absolute;
    top: 50%;
    right: -28px;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    background: var(--color-white);
    border-radius: 12px;
    box-shadow: 0 4px 13.9px rgba(0,0,0,0.21);
    display: flex;
    align-items: center;
    justify-content: center;
}

.bn-specialist__card-icon .material-icons {
    font-size: 24px;
    color: var(--color-vert);
}

.bn-specialist__card strong {
    font-size: var(--text-sm);
    font-weight: var(--font-weight-bold);
    color: var(--color-text-primary);
    display: block;
}

.bn-specialist__card span {
    font-size: var(--text-sm);
    font-weight: var(--font-weight-medium);
    color: var(--color-text-secondary);
    display: block;
    line-height: 1.4;
}

.bn-specialist__right {
    flex: 1;
    padding: 33px 96px 33px 115px;
    display: flex;
    flex-direction: column;
    gap: 32px;
    justify-content: center;
}

.bn-specialist__right h2 {
    font-size: 36px;
    font-weight: var(--font-weight-extrabold);
    color: var(--color-text-primary);
    line-height: 1.15;
    margin: 0;
}

.bn-specialist__bar {
    width: 195px;
    height: 8px;
    background: var(--color-vert);
    border-radius: 9999px;
    margin-top: -16px;
}

.bn-specialist__right p {
    font-size: var(--text-base);
    color: var(--color-text-secondary);
    line-height: var(--leading-base);
    margin: 0;
}

/* ============================================================
   NOS SOLUTIONS
   ============================================================ */

.bn-solutions {
    background: var(--color-white);
    padding: 67px 0;
}

.bn-solutions__label {
    font-size: var(--text-base);
    font-weight: var(--font-weight-semibold);
    color: var(--color-vert);
    text-transform: uppercase;
    letter-spacing: 0.4px;
    display: block;
    margin-bottom: 8px;
}

.bn-solutions__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    align-items: stretch;
}

.bn-solution-card {
    border: 1px solid #edf6ed;
    border-radius: 12px;
    overflow: hidden;
    background: #f3f7f3;
    display: flex;
    flex-direction: column;
    transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
    cursor: pointer;
}

.bn-solution-card--featured {
    border: 3px solid var(--color-vert);
    background: var(--color-white);
    box-shadow: 0 4px 14px rgba(0,0,0,0.24);
}

.bn-solution-card__img {
    height: 192px;
    background-size: cover;
    background-position: center;
    border-radius: 10px 10px 0 0;
}

.bn-solution-card__body {
    background: var(--color-white);
    padding: 17px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.bn-solution-card__body > a {
    margin-top: auto;
}

.bn-solution-card__body h3 {
    font-size: 20px;
    font-weight: var(--font-weight-bold);
    color: var(--color-text-primary);
    margin: 0;
    line-height: 1.3;
}

.bn-solution-card__body p {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    line-height: var(--leading-sm);
    margin: 0;
}

.bn-solution-card__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bn-solution-card__list li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
}

.bn-solution-card__list .material-icons {
    font-size: 16px;
    color: var(--color-vert);
    flex-shrink: 0;
}

/* Trustindex — masquer "Charger plus" et limiter à 3 avis */
.ti-load-more-reviews-container {
    display: none !important;
}

.bn-reviews__left .ti-review-item:nth-child(n+4),
.bn-reviews__left .ti-review:nth-child(n+4) {
    display: none !important;
}

/* ============================================================
   AVIS + TEXTE SEO
   ============================================================ */

.bn-reviews {
    background: #edf6ed;
    padding: 87px 0;
}

.bn-reviews__inner {
    max-width: 1248px;
    margin: 0 auto;
    padding: 0 124px;
    display: flex;
    gap: 89px;
    align-items: flex-start;
}

.bn-reviews__left {
    width: 411px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.bn-reviews__score {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.bn-reviews__score strong {
    font-size: 24px;
    font-weight: var(--font-weight-bold);
    color: var(--color-text-primary);
}

.bn-reviews__score span {
    font-size: 18px;
    color: var(--color-text-primary);
}

.bn-review-card {
    background: var(--color-white);
    border: 1px solid #edf6ed;
    border-radius: 12px;
    padding: 25px;
    box-shadow: var(--shadow-input);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.bn-review-card__head {
    display: flex;
    align-items: center;
    gap: 12px;
}

.bn-review-card__avatar {
    width: 40px;
    height: 40px;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: var(--font-weight-bold);
    font-size: var(--text-sm);
    color: white;
    flex-shrink: 0;
}

.bn-review-card__head > div {
    display: flex;
    flex-direction: column;
}

.bn-review-card__head strong {
    font-size: var(--text-sm);
    color: var(--color-text-primary);
}

.bn-review-card__head em {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
}

.bn-review-card__stars {
    display: flex;
}

.bn-review-card__stars .material-icons {
    font-size: 14px;
    color: #facc15;
}

.bn-review-card p {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    line-height: var(--leading-sm);
    margin: 0;
}

.bn-reviews__more {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-size: var(--text-sm);
    font-weight: var(--font-weight-semibold);
    color: var(--color-text-primary);
    text-decoration: underline;
}

.bn-reviews__more .material-icons {
    font-size: 16px;
}

.bn-reviews__right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.bn-reviews__right h2 {
    font-size: 36px;
    font-weight: var(--font-weight-extrabold);
    color: var(--color-text-primary);
    line-height: 1.15;
    margin: 0;
}

.bn-reviews__bar {
    width: 456px;
    height: 6px;
    background: var(--color-vert);
    border-radius: 9999px;
    max-width: 100%;
}

.bn-reviews__right p {
    font-size: var(--text-base);
    color: var(--color-text-secondary);
    line-height: var(--leading-base);
    margin: 0;
}

/* ============================================================
   NOS RÉALISATIONS
   ============================================================ */

.bn-gallery {
    background: var(--color-white);
    padding: 54px 0;
}

.bn-gallery__head {
    margin-bottom: 32px;
}

.bn-gallery__head h2 {
    font-size: 30px;
    font-weight: var(--font-weight-bold);
    color: var(--color-text-primary);
    margin: 0 0 12px;
    line-height: 1.2;
}

.bn-gallery__head p {
    font-size: var(--text-base);
    color: var(--color-text-secondary);
    margin: 0;
}

.bn-gallery__layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 32px;
    min-height: 400px;
}

.bn-gallery__main {
    display: block;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    background: var(--color-border);
}

.bn-gallery__main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.bn-gallery__thumbs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 12px;
}

.bn-gallery__thumb {
    display: block;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    background: var(--color-border);
}

.bn-gallery__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    aspect-ratio: 1;
}

.bn-gallery__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.bn-gallery__overlay .material-icons {
    color: white;
    font-size: 28px;
    opacity: 0;
    transition: opacity 0.2s;
}

.bn-gallery__main:hover .bn-gallery__overlay,
.bn-gallery__thumb:hover .bn-gallery__overlay {
    background: rgba(0,0,0,0.35);
}

.bn-gallery__main:hover .bn-gallery__overlay .material-icons,
.bn-gallery__thumb:hover .bn-gallery__overlay .material-icons {
    opacity: 1;
}

.bn-gallery__footer {
    display: flex;
    justify-content: center;
}

.bn-gallery__album-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: var(--text-sm);
    font-weight: var(--font-weight-semibold);
    color: var(--color-text-primary);
    text-decoration: underline;
}

.bn-gallery__album-link .material-icons {
    font-size: 16px;
}

.bn-gallery__notice {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    padding: 16px;
    background: #fff3cd;
    border-radius: 8px;
    grid-column: 1 / -1;
}

/* ============================================================
   ZONE D'INTERVENTION
   ============================================================ */

.bn-contact {
    background: #edf6ed;
    padding: 59px 96px 76px;
}

.bn-contact__inner {
    max-width: 1248px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 36px;
}

.bn-contact__card {
    background: #477c4f;
    border-radius: 16px;
    box-shadow: 0 11px 25.5px -5px rgba(0,0,0,0.12), 0 0 10px -6px rgba(0,0,0,0.16);
    overflow: hidden;
    display: flex;
    height: 354px;
}

.bn-contact__card-infos {
    flex: 0 0 50%;
    padding: 48px 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.bn-contact__card-infos h2 {
    color: var(--color-white);
    font-size: 30px;
    font-weight: var(--font-weight-bold);
    letter-spacing: -0.75px;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.bn-contact__card-infos h2 .material-icons {
    font-size: 36px;
}

.bn-contact__details {
    display: flex;
    gap: 24px;
    flex: 1;
}

.bn-contact__col {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.bn-contact__detail-link {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--color-white);
    font-size: var(--text-sm);
    line-height: var(--leading-sm);
    text-decoration: underline;
}

.bn-contact__detail-link .material-icons {
    font-size: 24px;
    flex-shrink: 0;
    margin-top: 2px;
}

.bn-contact__hours {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bn-contact__hours-title {
    display: flex;
    align-items: center;
    gap: 11px;
    font-weight: var(--font-weight-bold);
    color: #edf6ed;
    font-size: var(--text-sm);
}

.bn-contact__hours-title .material-icons {
    font-size: 24px;
    color: rgba(248,250,252,0.8);
}

.bn-contact__hours-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    font-size: var(--text-sm);
    color: var(--color-white);
    line-height: var(--leading-sm);
}

.bn-contact__closed {
    color: #ff9ea0;
    font-weight: var(--font-weight-medium);
}

.bn-contact__itinerary {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(237,246,237,0.08);
    border: 1px solid #edf6ed;
    border-radius: 8px;
    padding: 12px 24px;
    color: #edf6ed;
    font-size: var(--text-sm);
    font-weight: var(--font-weight-semibold);
    width: 100%;
    text-decoration: none;
    justify-content: center;
}

.bn-contact__itinerary .material-icons {
    font-size: 14px;
}

.bn-contact__map {
    flex: 1;
    min-height: 354px;
    overflow: hidden;
}

.bn-contact__map iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.bn-contact__photos {
    display: flex;
    gap: 45px;
    justify-content: center;
    align-items: center;
}

.bn-contact__photo {
    flex: 1;
    max-width: 540px;
    height: 361px;
    border-radius: 16px;
    background-size: cover;
    background-position: center;
    box-shadow: 0 11px 25.5px -5px rgba(0,0,0,0.12), 0 0 10px -6px rgba(0,0,0,0.16);
}
