:root {
    --primary-color: #D06C31;
    --primary-hover: #b85b26;
    --text-color: #4a463e;
    --navbar-bg: #f4f5ec;
    --border-color: #C3C594;
    --white: #ffffff;

    --bg: var(--navbar-bg);
    --surface: #ffffff;
    --surface-soft: #f7f3e8;

    --text: var(--text-color);
    --text-soft: rgba(74, 70, 62, 0.75);

    --green: #B2B43E;
    --green-dark: #92a02b;
    --green-mid: #92a02b;
    --green-light: rgba(178, 180, 62, 0.18);

    --orange: #CC642C;
    --orange-light: rgba(204, 100, 44, 0.16);

    --border: rgba(0, 0, 0, 0.06);

    --shadow-sm: 0 10px 24px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 16px 32px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.12);

    --radius: 16px;
    --radius-sm: 12px;
    --radius-md: 18px;
    --radius-lg: 24px;

    --container: 1450px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    background-color: var(--navbar-bg);
    background-image: radial-gradient(
        circle at 92% -10%,
        rgba(195, 197, 148, 0.35) 0 280px,
        transparent 281px
    );
    background-repeat: no-repeat;
    background-attachment: fixed;
    line-height: 1.6;
    border-bottom: black 6px solid;
    overflow-x: hidden;
}


.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    background: var(--navbar-bg);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.nav-inner {
    max-width: var(--container, 1180px);
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: nowrap;
    overflow: visible;
}

.nav-menu {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-width: 0;
}

.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 6px;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    border: none;
    background: none;
    cursor: pointer;
    box-shadow: none;
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.nav-toggle:hover {
    background: transparent;
}

.nav-toggle:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(208, 108, 49, 0.2);
}

.nav-toggle__line {
    width: 24px;
    height: 3px;
    background: var(--text-color);
    display: block;
    border-radius: 10px;
    transform-origin: center;
    transition: transform 0.25s ease, opacity 0.2s ease, width 0.25s ease;
}

.nav-toggle--open .nav-toggle__line:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.nav-toggle--open .nav-toggle__line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.nav-toggle--open .nav-toggle__line:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}


body.nav-open {
    overflow: hidden;
}

body.nav-open::after {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 900;
    opacity: 1;
    pointer-events: none;
}

.logo img {
    width: 130px;
    object-fit: contain;
    transition: transform .3s ease;
}

.logo:hover img {
    transform: scale(1.04);
}

.nav-center {
    flex: 1 1 auto;
    display: flex;
    justify-content: center;
}

.nav-links {
    flex: 0 1 auto;
    display: flex;
    align-items: center;
    gap: clamp(10px, 1.5vw, 18px);
    list-style: none;
    margin: 0;
    padding: 0;
    min-width: 0;
}

.nav-links li {
    position: relative;
}

.nav-links__dropdown {
    position: relative;
}

.nav-links__dropdown::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 12px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
    transition: color .3s ease;
    position: relative;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0%;
    height: 2px;
    background: var(--primary-color);
    transition: width .3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

.nav-links__toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.nav-links__caret {
    font-size: 11px;
}

.nav-links__menu {
    position: absolute;
    top: calc(100% + 4px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 190px;
    padding: 8px 0;
    list-style: none;
    margin: 0;
    background: white;
    border-radius: 14px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.25s ease;
    z-index: 999;
}

.nav-links__menu a {
    display: block;
    padding: 10px 16px;
    border-radius: 0;
    color: var(--text-color);
    font-weight: 600;
}

.nav-links__menu a::after {
    display: none;
}

.nav-links__menu a:hover {
    background: #f5f5f5;
    color: var(--primary-color);
}

.nav-links__dropdown:hover .nav-links__menu,
.nav-links__dropdown:focus-within .nav-links__menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}


.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.btn-lang {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 2px solid var(--border-color);
    padding: 9px 14px;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    color: var(--primary-color);
    transition: .3s ease;
    white-space: nowrap;
    margin-top: 0;
}

.btn-lang:hover {
    background: white;
}

.lang-menu {
    position: relative;
    padding-bottom: 0;
}

.lang-menu::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 12px;
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 150px;
    background: white;
    border-radius: 14px;
    padding: 8px 0;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.25s ease;
    list-style: none;
}

.lang-menu:hover .lang-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.lang-dropdown li {
    list-style: none;
}

.lang-dropdown li a {
    display: block;
    padding: 10px 16px;
    text-decoration: none;
    color: var(--text-color);
    transition: .2s ease;
}

.lang-dropdown li a:hover {
    background: #f5f5f5;
    color: var(--primary-color);
}

.btn-reserve {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border-radius: 12px;
    background: var(--primary-color);
    color: white !important;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    transition: .3s ease;
    box-shadow: 0 4px 10px rgba(208,108,49,0.18);
}

.btn-reserve:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

.btn-auth {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 16px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    border: 1px solid transparent;
    transition: .3s ease;
}

.btn-auth--primary {
    background: var(--green);
    color: white;
    box-shadow: 0 4px 10px rgba(178, 180, 62, 0.22);
}

.btn-auth--primary:hover {
    background: var(--green-dark);
    transform: translateY(-2px);
}

.btn-auth--ghost {
    background: transparent;
    border-color: var(--border-color);
    color: var(--primary-color);
}

.btn-auth--ghost:hover {
    background: white;
    transform: translateY(-2px);
}

.nav-user {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-soft);
}

.nav-logout {
    margin: 0;
    display: inline-flex;
    align-items: center;
}

.nav-logout button {
    cursor: pointer;
}



.home-page {
    overflow: hidden;
}

.hero-section {
    position: relative;
    padding: clamp(70px, 8vh, 110px) 24px 92px;
    overflow: hidden;
}

.hero-section__slider {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-section__slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.03);
    animation: hero-slide 54s infinite;
}

.hero-section__slide:nth-child(1) { background-image: url('../img/Enfant_et_lapin.jpg'); animation-delay: 0s; }
.hero-section__slide:nth-child(2) { background-image: url('../img/Enfant_poule.jpg'); animation-delay: 6s; }
.hero-section__slide:nth-child(3) { background-image: url('../img/Lapin.jpg'); animation-delay: 12s; }
.hero-section__slide:nth-child(4) { background-image: url('../img/Nourrir_Vache.jpg'); animation-delay: 18s; }
.hero-section__slide:nth-child(5) { background-image: url('../img/Teambuilding.jpg'); animation-delay: 24s; }
.hero-section__slide:nth-child(6) { background-image: url('../img/chasse_aux_oeufs_Bergerie_Nationale.jpg'); animation-delay: 30s; }
.hero-section__slide:nth-child(7) { background-image: url('../img/enfant_jardin.jpg'); animation-delay: 36s; }
.hero-section__slide:nth-child(8) { background-image: url('../img/enfant_toque.jpg'); animation-delay: 42s; }
.hero-section__slide:nth-child(9) { background-image: url('../img/enfant_trico.jpg'); animation-delay: 48s; }

.hero-section__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, 
        rgba(255, 255, 255, 0.65) 0%, 
        rgba(255, 255, 255, 0.55) 40%, 
        rgba(255, 255, 255, 0.35) 100%),
    linear-gradient(180deg, 
        rgba(255, 255, 255, 0) 0%, 
        rgba(255, 255, 255, 0) 70%, 
        rgba(255, 255, 255, 0.9) 100%);
}

.hero-section__inner {
    max-width: var(--container);

    margin: 0 auto;

    display: grid;
    grid-template-columns: 1.1fr 0.9fr;

    gap: 70px;

    align-items: center;

    position: relative;
    z-index: 2;
}

.hero-section__content {
    position: relative;
    z-index: 2;
}

.hero-section__eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    margin-bottom: 22px;
    border-radius: 999px;
    background: rgba(195, 197, 148, 0.35);
    color: var(--primary-color);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.hero-section__title {
    font-size: clamp(42px, 5.2vw, 70px);
    line-height: 1.05;
    letter-spacing: -0.02em;
    font-weight: 700;
    color: #2f2e2a;
}

.hero-section__lead {
    margin-top: 30px;
    max-width: 580px;
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-soft);
}

.hero-section__actions {
    margin-top: 36px;

    display: flex;
    align-items: center;

    gap: 16px;

    flex-wrap: wrap;
}

@keyframes hero-slide {
    0% {
        opacity: 0;
        transform: scale(1.03);
    }
    4% {
        opacity: 1;
    }
    14% {
        opacity: 1;
    }
    18% {
        opacity: 0;
    }
    100% {
        opacity: 0;
        transform: scale(1.08);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-section__slide {
        animation: none;
    }

    .hero-section__slide:not(:first-child) {
        display: none;
    }

    .hero-section__slide:first-child {
        opacity: 1;
        transform: none;
    }
}

.img{

    width: 50%;
    border-radius: 12px;
    object-fit: cover;
    margin-left: 80px;
}

.img_2{

    width: 90%;
    border-radius: 12px;
    object-fit: cover;
    margin-left: 15px;
}


.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 24px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn--primary {
    background: var(--green);
    color: white;
    box-shadow: 0 10px 24px rgba(178, 180, 62, 0.22);
}

.btn--primary:hover {
    background: var(--green-dark);
}

.btn--secondary {
    background: var(--white);
    border: 1px solid rgba(0,0,0,0.06);
    color: var(--text-color);
}

.btn--secondary:hover {
    background: white;
}


.hero-section__highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);

    gap: 24px;
}

.hero-card {
    position: relative;
    padding: 28px;
    border-radius: 14px;
    overflow: hidden;
    background: var(--surface);
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: var(--shadow-sm);
    transition: transform .3s ease, box-shadow .3s ease;
}

.hero-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background:
        linear-gradient(
            90deg,
            var(--primary-color),
            var(--green)
        );
}

.hero-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.hero-card h2 {
    margin-bottom: 14px;

    font-size: 18px;
    font-weight: 700;

    color: var(--text);
}

.hero-card p {
    font-size: 15px;

    line-height: 1.7;

    color: var(--text-soft);
}


.text-accent--green {
    color: var(--green);
}

.text-accent--orange {
    color: var(--orange);
}


.actions-section,
.about-section {
    background: transparent;
}

.actions-section {
    padding: 90px 24px;
}

.about-section {
    padding: 90px 24px;
}

.section-shell {
    max-width: var(--container);
    margin-left: 20px;

    text-align: left;
}

.section-shell--narrow {
    max-width: 700px;
}

.section-kicker {
    margin-bottom: 14px;
    color: var(--primary-color);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.section-title {
    font-size: clamp(40px, 5vw, 60px);

    line-height: 1.05;

    letter-spacing: -0.04em;

    font-weight: 700;

    color: #2f2e2a;
}

.section-title--small {
    font-size: clamp(34px, 4vw, 48px);
}

.section-description {
    margin: 24px 0 0;

    max-width: 700px;

    font-size: 17px;

    line-height: 1.8;

    color: var(--text-soft);
    text-align: left;
}

.actions-grid {
    max-width: var(--container);

    margin: 70px auto 0;

    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 24px;
}

.action-card {
    position: relative;
    padding: 28px 26px;
    background: var(--surface);
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.06);
    overflow: hidden;
    transition: transform .3s ease, box-shadow .3s ease;
}

.action-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background:
        linear-gradient(
            90deg,
            var(--primary-color),
            var(--green)
        );
}

.action-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.action-card h3 {
    margin-bottom: 16px;

    font-size: 24px;

    line-height: 1.1;

    font-weight: 700;

    color: var(--text);
}

.action-card p {
    font-size: 15px;

    line-height: 1.8;

    color: var(--text-soft);
}



@media (max-width: 980px) {

    .nav-inner {
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .nav-menu {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        display: flex;
        padding: 0;
        background: transparent;
        border: 1px solid transparent;
        border-radius: 16px;
        box-shadow: none;
        max-height: 0;
        opacity: 0;
        transform: translateY(-8px);
        pointer-events: none;
        overflow: hidden;
        transition: max-height 0.35s ease, opacity 0.2s ease, transform 0.25s ease, padding 0.25s ease;
    }

    .nav-menu.nav-menu--open {
        max-height: 80vh;
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
        padding: 16px 16px 18px;
        background: #ffffff;
        border-color: rgba(0, 0, 0, 0.08);
        box-shadow: 0 18px 32px rgba(0, 0, 0, 0.12);
    }

    .nav-center {
        width: 100%;
        justify-content: flex-start;
    }

    .nav-links {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        width: 100%;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        width: 100%;
        padding: 8px 10px;
        border-radius: 10px;
    }

    .nav-links a::after {
        display: none;
    }

    .nav-links a:hover,
    .nav-links a.active {
        background: rgba(208, 108, 49, 0.12);
    }

    .nav-links__dropdown {
        width: 100%;
    }

    .nav-links__dropdown > .nav-links__toggle {
        display: flex;
        width: 100%;
    }

    .nav-links__caret {
        display: inline-flex;
        transform: rotate(90deg);
    }

    .nav-links__menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        box-shadow: none;
        background: transparent;
        width: 100%;
        margin: 0;
        padding: 6px 0 0 14px;
        border-left: 2px solid rgba(0, 0, 0, 0.08);
        list-style: none;
    }

    .nav-links__dropdown:hover .nav-links__menu,
    .nav-links__dropdown:focus-within .nav-links__menu {
        transform: none;
    }

    .nav-links__menu a {
        padding: 6px 10px;
    }

    .nav-links__dropdown::after {
        display: none;
    }

    .nav-actions {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding-top: 12px;
        border-top: 1px dashed rgba(0, 0, 0, 0.12);
    }

    .hero-section__inner {
        grid-template-columns: 1fr;
    }

    .hero-section__content {
        max-width: 100%;
    }

    .actions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 680px) {

    .nav-inner {
        padding: 12px 18px;
    }

    .logo img {
        width: 110px;
    }

    .nav-links {
        gap: 12px;
    }

    .nav-links a {
        font-size: 14px;
    }

    .nav-actions {
        gap: 8px;
    }

    .btn-auth,
    .btn-reserve,
    .btn-lang {
        font-size: 12px;
        padding: 8px 12px;
        border-radius: 10px;
    }

    .btn-auth {
        min-height: 36px;
    }

    .hero-section {
        padding: 60px 18px;
    }

    .hero-section__title {
        font-size: clamp(42px, 14vw, 62px);
    }

    .hero-section__lead {
        font-size: 16px;
        line-height: 1.7;
    }

    .hero-section__highlights {
        grid-template-columns: 1fr;
    }

    .hero-card {
        padding: 26px;
    }

    .actions-section,
    .about-section {
        padding: 70px 18px;
    }

    .section-title {
        font-size: clamp(34px, 10vw, 48px);
    }

    .section-description {
        font-size: 16px;
    }

    .actions-grid {
        grid-template-columns: 1fr;
    }

    .action-card {
        padding: 28px;
    }

    .action-card h3 {
        font-size: 22px;
    }
}
