:root {
    --color-primary: #B3883E;
    --color-primary-light: #D7B56A;
    --color-primary-dark: #8B6A27;
    --color-secondary: #003566;
    --color-secondary-light: #0A4A97;
    --color-accent: #F8E9C8;
    --color-accent-warm: #C8A87A;
    --color-text: #2A2A2A;
    --color-text-light: #666666;
    --color-bg: #FAFAFA;
    --color-white: #FFFFFF;
    --color-black: #1A1A1A;
    --color-anthracite: #33383B;
    --color-anthracite-light: #444A4C;
    
    --font-title: 'Cormorant Garamond', serif;
    --font-body: 'Inter', sans-serif;
    
    --container-width: 1650px;
    --container-padding: 1.5rem;
    
    --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    
    --glass-bg: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.15);
    --glass-blur: 20px;
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-bg);
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn--primary {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: var(--color-white);
}

.btn--primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary) 100%);
    transition: var(--transition);
    z-index: -1;
}

.btn--primary:hover::before {
    left: 0;
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(179, 136, 62, 0.3);
}

.btn--secondary {
    background: transparent;
    color: var(--color-white);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn--secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
}

.btn--outline {
    background: transparent;
    color: var(--color-primary);
    border: 1px solid var(--color-primary);
}

.btn--outline:hover {
    background: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-2px);
}

.btn--large {
    padding: 1.125rem 2.5rem;
    font-size: 1rem;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border-bottom: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
}

.header__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 3rem;
    padding: 0.1rem var(--container-padding);
    max-width: var(--container-width);
    margin: 0 auto;
}

.header__logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
    z-index: 1001;
}

.header__logo-img {
    width: 7.5rem;
    height: 7.5rem;
}

.header__logo-text {
    font-family: var(--font-title);
    font-size: 1.7rem;
    font-weight: 600;
    color: var(--color-primary);
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.header__nav {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    flex-shrink: 1;
    flex-wrap: nowrap;
}

.header__nav-link {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--color-white);
    position: relative;
    white-space: nowrap;
    text-align: center;
    line-height: 1.3;
    padding: 0.25rem 0;
}

.header.scrolled .header__nav-link {
    color: var(--color-anthracite);
}

.header__nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: var(--transition);
}

.header__nav-link:hover::after,
.header__nav-link.active::after {
    width: 100%;
}

.header__actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-shrink: 0;
}

.header__phone {
    font-weight: 600;
    color: var(--color-primary);
    font-size: 1.0625rem;
    white-space: nowrap;
}

.header__burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1002;
}

.header__burger span {
    width: 28px;
    height: 2px;
    background: var(--color-white);
    transition: var(--transition);
}

.header.scrolled .header__burger span {
    background: var(--color-anthracite);
}

.header__burger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.header__burger.active span:nth-child(2) {
    opacity: 0;
}

.header__burger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.header__nav-actions {
    display: none;
}

.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1A1A1A 0%, #2A2A2A 50%, var(--color-anthracite) 100%);
    overflow: hidden;
}

.hero__video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: 0;
    object-fit: cover;
}



.hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 1100px;
    padding: 0 2rem;
}

.hero__title {
    font-family: var(--font-title);
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 300;
    color: var(--color-white);
    line-height: 1.15;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4), 0 4px 16px rgba(0, 0, 0, 0.3);
}

.hero__subtitle {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 3rem;
    font-weight: 300;
    letter-spacing: 0.02em;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4), 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hero__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.hero__scroll {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    z-index: 2;
}

.hero__scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.5), transparent);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(15px); opacity: 0; }
}

.intro {
    padding: 8rem 0;
}

.intro__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.intro__label {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
}

.intro__title {
    font-family: var(--font-title);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    color: var(--color-anthracite);
    line-height: 1.3;
    margin-bottom: 2rem;
}

.intro__text p {
    margin-bottom: 1.5rem;
    color: var(--color-text-light);
    font-size: 1.0625rem;
    line-height: 1.8;
}

.intro__text .btn {
    margin-top: 1rem;
}

.intro__image-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 125%;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.intro__image-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.parallax-img img {
    transition: transform 0.3s ease-out;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header__label {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.section-header__title {
    font-family: var(--font-title);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 400;
    color: var(--color-anthracite);
    line-height: 1.25;
}

.univers {
    padding: 6rem 0;
    background: var(--color-white);
}

.univers__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.univers__card {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
}

.univers__card:hover {
    transform: translateY(-8px);
}

.univers__card-image {
    position: relative;
    width: 100%;
    padding-bottom: 125%;
    overflow: hidden;
}

.univers__card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.univers__card:hover .univers__card-image img {
    transform: scale(1.08);
}



.univers__card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    color: var(--color-white);
    z-index: 2;
}

.univers__card-title {
    font-family: var(--font-title);
    font-size: 1.875rem;
    font-weight: 500;
    margin-bottom: 1rem;
    letter-spacing: 0.02em;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5), 0 4px 16px rgba(0, 0, 0, 0.4);
}

.univers__card-text {
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5), 0 2px 8px rgba(0, 0, 0, 0.4);
}

.univers__card:hover .univers__card-text {
    opacity: 1;
    transform: translateY(0);
}

.univers__card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--color-primary-light);
    transition: var(--transition);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5), 0 2px 8px rgba(0, 0, 0, 0.4);
}

.univers__card:hover .univers__card-link {
    gap: 0.75rem;
}

.technicite {
    padding: 8rem 0;
    background: linear-gradient(135deg, #F5F5F5 0%, var(--color-bg) 100%);
}

.technicite__content {
    max-width: 1200px;
    margin: 0 auto;
}

.technicite__text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.technicite__text p {
    color: var(--color-text-light);
    font-size: 1.125rem;
    line-height: 1.8;
    margin-top: 1.5rem;
}

.technicite__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.technicite__item {
    padding: 2.5rem;
    background: var(--color-white);
    border-radius: 4px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: var(--transition);
}

.technicite__item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.technicite__item-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary) 100%);
    color: var(--color-white);
    font-family: var(--font-title);
    font-size: 1.5rem;
    font-weight: 600;
    border-radius: 2px;
    margin-bottom: 1.5rem;
}

.technicite__item h3 {
    font-family: var(--font-title);
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--color-anthracite);
    margin-bottom: 1rem;
}

.technicite__item p {
    color: var(--color-text-light);
    font-size: 0.9375rem;
    line-height: 1.7;
}

.engagements {
    padding: 8rem 0;
    background: var(--color-white);
}

.engagements__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.engagements__card {
    padding: 3rem;
    border-radius: 4px;
    transition: var(--transition);
}

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

.engagements__card-number {
    font-family: var(--font-title);
    font-size: 3rem;
    font-weight: 300;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    line-height: 1;
}

.engagements__card h3 {
    font-family: var(--font-title);
    font-size: 1.75rem;
    font-weight: 500;
    color: var(--color-anthracite);
    margin-bottom: 1rem;
}

.engagements__card p {
    color: var(--color-text-light);
    font-size: 1rem;
    line-height: 1.8;
}

.cta-section {
    padding: 8rem 0;
    background: linear-gradient(135deg, var(--color-anthracite) 0%, var(--color-secondary) 100%);
}

.cta-content {
    text-align: center;
    padding: 5rem 3rem;
    border-radius: 4px;
    max-width: 900px;
    margin: 0 auto;
}

.cta-content h2 {
    font-family: var(--font-title);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    color: var(--color-white);
    margin-bottom: 1.5rem;
}

.cta-content p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.footer {
    background: var(--color-anthracite);
    color: var(--color-white);
    padding: 4rem 0 2rem;
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer__logo {
    width: 9rem;
    height: 9rem;
    margin-bottom: 1.5rem;
}

.footer__text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
    line-height: 1.7;
}

.footer__col h4 {
    font-family: var(--font-title);
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 1.25rem;
    color: var(--color-primary-light);
}

.footer__nav {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer__nav a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
    transition: var(--transition-fast);
}

.footer__nav a:hover {
    color: var(--color-primary-light);
    padding-left: 4px;
}

.footer__contact {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
    line-height: 1.8;
}

.footer__contact strong {
    color: var(--color-white);
}

.footer__contact a {
    color: var(--color-primary-light);
}

.footer__bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
}

.chatbot {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    z-index: 999;
}

.chatbot__button {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    transition: var(--transition);
    box-shadow: 0 8px 24px rgba(179, 136, 62, 0.25);
}

.chatbot__button:hover {
    transform: scale(1.08);
    box-shadow: 0 12px 32px rgba(179, 136, 62, 0.35);
    color: var(--color-primary-light);
}

.chatbot__panel {
    position: absolute;
    bottom: 80px;
    left: 0;
    width: 420px;
    height: 600px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.chatbot__panel.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.chatbot__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    border-bottom: 1px solid var(--glass-border);
}

.chatbot__header h3 {
    font-family: var(--font-title);
    font-size: 1.25rem;
    font-weight: 500;
    color: #B3883E;
}

.chatbot__close {
    background: none;
    border: none;
    font-size: 1.75rem;
    color: var(--color-text-light);
    cursor: pointer;
    transition: var(--transition-fast);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chatbot__close:hover {
    color: var(--color-anthracite);
}

.chatbot__messages {
    flex: 1;
    padding: 1.5rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.chatbot__message {
    max-width: 85%;
    padding: 0.875rem 1.125rem;
    border-radius: 12px;
    font-size: 0.9375rem;
    line-height: 1.6;
    animation: messageSlide 0.3s ease;
}

@keyframes messageSlide {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.chatbot__message--bot {
    align-self: flex-start;
    background: rgba(179, 136, 62, 0.1);
    color: var(--color-text);
}

.chatbot__message--user {
    align-self: flex-end;
    background: var(--color-primary);
    color: var(--color-white);
}

.chatbot__form {
    display: flex;
    gap: 0.5rem;
    padding: 1.5rem;
    border-top: 1px solid var(--glass-border);
}

.chatbot__input {
    flex: 1;
    padding: 0.875rem 1.125rem;
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    background: rgba(255, 255, 255, 0.5);
    color: var(--color-text);
    transition: var(--transition-fast);
}

.chatbot__input:focus {
    outline: none;
    border-color: var(--color-primary);
    background: rgba(255, 255, 255, 0.8);
}

.chatbot__submit {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: var(--color-primary);
    color: var(--color-white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.chatbot__submit:hover {
    background: var(--color-primary-dark);
    transform: scale(1.05);
}

@media (max-width: 1440px) {
    .header__container {
        gap: 2.5rem;
    }
    
    .header__nav {
        gap: 1.5rem;
    }
    
    .header__nav-link {
        font-size: 0.9375rem;
    }
}

@media (max-width: 1366px) {
    .header__container {
        gap: 2rem;
    }
    
    .header__nav {
        gap: 1.25rem;
    }
    
    .header__nav-link {
        font-size: 0.875rem;
    }
    
    .header__actions {
        gap: 1.25rem;
    }
    
    .header__phone {
        font-size: 1rem;
    }
}

@media (max-width: 1300px) {
    .header__container {
        gap: 1.5rem;
    }
    
    .header__nav {
        gap: 1rem;
    }
    
    .header__nav-link {
        font-size: 0.8125rem;
    }
    
    .header__actions {
        gap: 0.875rem;
    }
    
    .btn--primary {
        padding: 0.7rem 1.4rem;
        font-size: 0.8125rem;
    }
    
    .header__phone {
        font-size: 0.9375rem;
    }
}

@media (max-width: 1250px) {
    .header__container {
        gap: 1.25rem;
    }
    
    .header__nav {
        gap: 0.875rem;
    }
    
    .header__nav-link {
        font-size: 0.8125rem;
        white-space: normal;
        max-width: 120px;
    }
    
    .header__logo-text {
        font-size: 1.5rem;
    }
    
    .btn--primary {
        padding: 0.65rem 1.3rem;
        font-size: 0.8125rem;
    }
}

@media (max-width: 1200px) {
    .header__container {
        gap: 1.25rem;
    }
    
    .header__nav {
        gap: 0.875rem;
    }
    
    .header__nav-link {
        font-size: 0.8125rem;
        max-width: 110px;
    }
    
    .header__phone {
        font-size: 0.9375rem;
    }
    
    .univers__grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .technicite__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 1150px) {
    .header__container {
        gap: 1rem;
    }
    
    .header__nav {
        gap: 0.75rem;
    }
    
    .header__nav-link {
        font-size: 0.8125rem;
    }
    
    .header__actions {
        gap: 0.875rem;
    }
    
    .btn--primary {
        padding: 0.625rem 1.25rem;
        font-size: 0.8125rem;
    }
}

@media (max-width: 1100px) {
    .header__container {
        gap: 1rem;
    }
    
    .header.scrolled {
        border-bottom: none;
        box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    }
    
    .header__burger {
        display: flex;
    }
    
    .header__nav {
        position: fixed;
        top: 85px;
        left: 0;
        right: 0;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        background: rgba(255, 255, 255, 0.97);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        flex-direction: column;
        align-items: center;
        padding: 0 2rem;
        gap: 0;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
        transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
    }
    
    .header__nav.active {
        max-height: calc(100vh - 85px);
        padding: 2rem;
        overflow-y: auto;
    }
    
    .header__nav-link {
        color: var(--color-anthracite);
        font-size: 1.125rem;
        font-weight: 500;
        padding: 1rem 0;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(51, 56, 59, 0.1);
        transition: var(--transition);
        white-space: normal;
        max-width: 100%;
    }
    
    .header__nav-link:hover {
        color: var(--color-primary);
    }
    
    .header__nav-link.active {
        color: var(--color-primary);
    }
    
    .header__nav-link::after {
        display: none;
    }
    
    .header__actions {
        display: none;
    }
    
    .header__nav-actions {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        width: 100%;
        padding-top: 1.5rem;
        margin-top: 1rem;
        border-top: 2px solid rgba(179, 136, 62, 0.2);
    }
    
    .header__nav-phone {
        font-weight: 600;
        color: var(--color-primary);
        font-size: 1.25rem;
        text-decoration: none;
        white-space: nowrap;
    }
    
    .header__nav-cta {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 1rem 2.5rem;
        font-family: var(--font-body);
        font-size: 1rem;
        font-weight: 500;
        letter-spacing: 0.02em;
        background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
        color: var(--color-white);
        border: none;
        border-radius: 2px;
        text-decoration: none;
        transition: var(--transition);
        width: 100%;
        max-width: 280px;
    }
    
    .header__nav-cta:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 24px rgba(179, 136, 62, 0.3);
    }
    
    .intro__grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .technicite__grid {
        grid-template-columns: 1fr;
    }
    
    .engagements__grid {
        grid-template-columns: 1fr;
    }
    
    .chatbot {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .chatbot__panel {
        left: 50%;
        transform: translateX(-50%) translateY(20px);
        width: calc(100vw - 2rem);
        max-width: 420px;
    }
    
    .chatbot__panel.active {
        transform: translateX(-50%) translateY(0);
    }
}
@media (max-width: 1100px) and (min-width: 641px) {

    .header__container {
        padding: 0.1rem var(--container-padding); /* moins haut que desktop (1.5rem), plus haut que mobile */
    }

    .header__logo-img {
        width: 5rem;   /* desktop : 7.5rem / mobile : 4rem */
        height: 5rem;
    }

    .header__logo-text {
        font-size: 1.4rem; /* desktop : 1.7rem / mobile : 1.125rem */
    }

    /* Optionnel : ajuster un peu la nav déroulante pour suivre la nouvelle hauteur */
    .header__nav {
        top: 80px; /* desktop-mobile à 1100px : 85px */
    }

    .header__nav.active {
        max-height: calc(100vh - 80px);
    }
}

@media (max-width: 640px) {
    :root {
        --container-padding: 1.25rem;
    }

    /* 🔽 On réduit VRAIMENT la hauteur du header en mobile */
    .header__container {
        padding: 0.1rem var(--container-padding);
    }

    .header__logo-text {
        font-size: 1.125rem;
    }
    
    .header__logo-img {
        width: 4rem;
        height: 4rem;
    }

    .header__nav {
        padding: 0 1.5rem;
        top: 70px; /* optionnel mais logique : header plus petit → nav un peu plus haut */
    }
    
    .header__nav.active {
        padding: 1.5rem;
        max-height: calc(100vh - 70px);
    }
    
    .header__nav-link {
        font-size: 1.0625rem;
        padding: 0.875rem 0;
    }
    
    .header__nav-phone {
        font-size: 1.125rem;
    }
    
    .header__nav-cta {
        padding: 0.875rem 2rem;
        font-size: 0.9375rem;
    }
    
    .hero {
        min-height: 600px;
    }
    
    .hero__cta {
        flex-direction: column;
        width: 100%;
    }
    
    .hero__cta .btn {
        width: 100%;
    }
    
    .footer__grid {
        grid-template-columns: 1fr;
    }
    
    .footer__bottom {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
}


[data-scroll] {
    opacity: 0;
    transform: translateY(30px);
}

[data-scroll].animated {
    opacity: 1;
    transform: translateY(0);
}
