/* Styles pour la bulle de chat et la fenêtre de contact */

.chat-bubble {
    position: fixed;
    bottom: 6rem;
    right: 2.5rem;
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 32px rgba(176, 190, 197, 0.25),
                0 4px 16px rgba(201, 165, 107, 0.15),
                inset 0 2px 8px rgba(255, 255, 255, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-8px);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 8px 32px rgba(176, 190, 197, 0.25),
                    0 4px 16px rgba(201, 165, 107, 0.15),
                    inset 0 2px 8px rgba(255, 255, 255, 0.3);
    }
    50% {
        transform: scale(1.08);
        box-shadow: 0 12px 48px rgba(176, 190, 197, 0.4),
                    0 8px 24px rgba(201, 165, 107, 0.25),
                    inset 0 2px 12px rgba(255, 255, 255, 0.4);
    }
}

.chat-bubble::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(227, 242, 253, 0.5), rgba(232, 244, 248, 0.5), rgba(201, 165, 107, 0.3));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.chat-bubble:hover {
    transform: scale(1.15) translateY(-4px);
    background: rgba(255, 255, 255, 0.35);
    box-shadow: 0 12px 48px rgba(176, 190, 197, 0.35),
                0 8px 24px rgba(201, 165, 107, 0.25),
                inset 0 2px 12px rgba(255, 255, 255, 0.4);
    animation: none;
}

.chat-bubble:hover::before {
    opacity: 1;
}

.chat-bubble:active {
    transform: scale(1.05);
}

.chat-bubble i {
    font-size: 28px;
    background: linear-gradient(135deg, #B0BEC5, #C9A56B);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 4px rgba(176, 190, 197, 0.3));
    transition: all 0.3s ease;
}

.chat-bubble:hover i {
    transform: scale(1.1) rotate(-10deg);
}

.chat-window {
    position: fixed;
    bottom: 11rem;
    right: 2.5rem;
    width: 380px;
    max-width: calc(100vw - 3rem);
    max-height: calc(100vh - 13rem);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(109, 76, 65, 0.15),
                0 8px 32px rgba(176, 190, 197, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.5);
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    z-index: 1000;
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: none;
    flex-direction: column;
    overflow: hidden;
}

.chat-window.open {
    display: flex;
    opacity: 1;
    transform: translateY(0) scale(1);
    animation: slideIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes slideIn {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.chat-header {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
}

.chat-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
}

.chat-header h3 {
    margin: 0;
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    background: linear-gradient(135deg, #37474F, #B0BEC5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.chat-header button {
    transition: all 0.3s ease;
}

.chat-header button:hover {
    transform: rotate(90deg);
    color: #B0BEC5 !important;
}

.chat-content {
    padding: 1.2rem 1.8rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    overflow-y: hidden;
    flex: 1;
}

.chat-content p {
    text-align: center;
    color: rgba(55, 71, 79, 0.9);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0 0 0.5rem 0;
    font-weight: 400;
}

.chat-content .social-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.chat-content .social-btn {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1.2rem;
    padding: 1.1rem 1.4rem;
    border-radius: 16px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    color: white;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.chat-content .social-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.1);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.chat-content .social-btn:hover::before {
    opacity: 1;
}

.chat-content .social-btn:hover {
    transform: translateX(5px) scale(1.02);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.chat-content .social-btn i {
    font-size: 1.3rem;
    min-width: 24px;
    text-align: center;
}

.chat-content .instagram {
    background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    box-shadow: 0 4px 16px rgba(188, 24, 136, 0.25);
}

.chat-content .facebook {
    background: linear-gradient(135deg, #4267B2 0%, #3b5998 100%);
    box-shadow: 0 4px 16px rgba(66, 103, 178, 0.25);
}

.chat-content .message {
    background: linear-gradient(135deg, #B0BEC5 0%, #C9A56B 100%);
    box-shadow: 0 4px 16px rgba(176, 190, 197, 0.25);
}

/* Animation d'apparition séquentielle des boutons */
.chat-window.open .social-btn {
    animation: slideInBtn 0.4s cubic-bezier(0.4, 0, 0.2, 1) backwards;
}

.chat-window.open .social-btn:nth-child(1) {
    animation-delay: 0.1s;
}

.chat-window.open .social-btn:nth-child(2) {
    animation-delay: 0.2s;
}

.chat-window.open .social-btn:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes slideInBtn {
    0% {
        opacity: 0;
        transform: translateX(-20px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Design */

/* Tablettes en mode paysage */
@media (max-width: 1024px) {
    .chat-window {
        width: 360px;
        max-width: calc(100vw - 2rem);
    }
}

/* Tablettes en mode portrait */
@media (max-width: 768px) {
    .chat-bubble {
        bottom: 3rem;
        right: 1.5rem;
        width: 60px;
        height: 60px;
    }

    .chat-bubble i {
        font-size: 24px;
    }

    .chat-window {
        bottom: 8rem;
        right: 1rem;
        left: 1rem;
        width: auto;
        max-width: none;
        max-height: calc(100vh - 10rem);
        border-radius: 20px;
    }

    .chat-header {
        padding: 1.2rem;
    }

    .chat-header h3 {
        font-size: 1.4rem;
    }

    .chat-content {
        padding: 1rem 1.5rem;
    }

    .chat-content p {
        font-size: 0.9rem;
    }

    .chat-content .social-btn {
        padding: 1rem 1.2rem;
        font-size: 0.95rem;
    }
}

/* Smartphones en mode portrait */
@media (max-width: 480px) {
    .chat-bubble {
        bottom: 2rem;
        right: 1rem;
        width: 56px;
        height: 56px;
    }

    .chat-bubble i {
        font-size: 22px;
    }

    .chat-window {
        bottom: 7rem;
        right: 0.75rem;
        left: 0.75rem;
        max-height: calc(100vh - 9rem);
        border-radius: 18px;
    }

    .chat-header {
        padding: 1.2rem;
    }

    .chat-header h3 {
        font-size: 1.25rem;
    }

    .chat-header button {
        top: 1.2rem;
        right: 1.2rem;
        font-size: 1.3rem;
    }

    .chat-content {
        padding: 0.8rem 1.2rem;
    }

    .chat-content p {
        font-size: 0.85rem;
    }

    .chat-content .social-btn {
        padding: 0.9rem 1rem;
        font-size: 0.9rem;
        gap: 1rem;
    }

    .chat-content .social-btn i {
        font-size: 1.2rem;
    }

    .chat-content .social-btn span {
        font-size: 0.9rem;
    }
}

/* Très petits smartphones */
@media (max-width: 360px) {
    .chat-bubble {
        bottom: 1.5rem;
        right: 0.75rem;
        width: 50px;
        height: 50px;
    }

    .chat-bubble i {
        font-size: 20px;
    }

    .chat-window {
        bottom: 6rem;
        right: 0.5rem;
        left: 0.5rem;
        max-height: calc(100vh - 8rem);
        border-radius: 16px;
    }

    .chat-header {
        padding: 1rem;
    }

    .chat-header h3 {
        font-size: 1.1rem;
    }

    .chat-header button {
        top: 1rem;
        right: 1rem;
        font-size: 1.2rem;
    }

    .chat-content {
        padding: 0.8rem 1rem;
        gap: 0.7rem;
    }

    .chat-content p {
        font-size: 0.8rem;
    }

    .chat-content .social-btn {
        padding: 0.8rem 0.9rem;
        font-size: 0.85rem;
        gap: 0.9rem;
        border-radius: 12px;
    }

    .chat-content .social-btn i {
        font-size: 1.1rem;
        min-width: 20px;
    }
}

/* Mode paysage pour smartphones */
@media (max-height: 500px) and (orientation: landscape) {
    .chat-bubble {
        bottom: 1rem;
        right: 1rem;
        width: 50px;
        height: 50px;
    }

    .chat-bubble i {
        font-size: 20px;
    }

    .chat-window {
        bottom: 1rem;
        right: 4rem;
        left: auto;
        width: 320px;
        max-width: calc(100vw - 5rem);
        max-height: calc(100vh - 2rem);
    }

    .chat-header {
        padding: 0.8rem 1rem;
    }

    .chat-header h3 {
        font-size: 1.1rem;
    }

    .chat-header button {
        top: 0.8rem;
        right: 1rem;
        font-size: 1.2rem;
    }

    .chat-content {
        padding: 1rem;
        gap: 0.8rem;
    }

    .chat-content p {
        font-size: 0.8rem;
        margin-bottom: 0.3rem;
    }

    .chat-content .social-btn {
        padding: 0.7rem 0.9rem;
        font-size: 0.85rem;
        gap: 0.8rem;
    }
}

/* Très grands écrans */
@media (min-width: 1440px) {
    .chat-bubble {
        bottom: 7rem;
        right: 3rem;
        width: 75px;
        height: 75px;
    }

    .chat-bubble i {
        font-size: 30px;
    }

    .chat-window {
        bottom: 12rem;
        right: 3rem;
        width: 420px;
    }
}

/* Styles pour le formulaire de contact */
.contact-form {
    margin-top: 1.5rem;
    animation: slideInForm 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideInForm {
    0% {
        opacity: 0;
        transform: translateY(-10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-form .form-group {
    margin-bottom: 1.2rem;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: #37474F;
    font-family: 'Poppins', sans-serif;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    border-radius: 12px;
    border: 1.5px solid rgba(176, 190, 197, 0.3);
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    font-size: 0.95rem;
    font-family: 'Poppins', sans-serif;
    color: #37474F;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #B0BEC5;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 16px rgba(176, 190, 197, 0.2);
    transform: translateY(-2px);
}

.contact-form textarea {
    resize: vertical;
    min-height: 100px;
}

.form-actions {
    display: flex;
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.btn-cancel,
.btn-send {
    flex: 1;
    padding: 0.9rem 1.2rem;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 500;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-cancel {
    background: rgba(176, 190, 197, 0.15);
    color: #37474F;
    border: 1.5px solid rgba(176, 190, 197, 0.3);
}

.btn-cancel:hover {
    background: rgba(176, 190, 197, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(176, 190, 197, 0.2);
}

.btn-send {
    background: linear-gradient(135deg, #B0BEC5 0%, #C9A56B 100%);
    color: white;
    box-shadow: 0 4px 16px rgba(176, 190, 197, 0.25);
    position: relative;
    overflow: hidden;
}

.btn-send::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.1);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-send:hover::before {
    opacity: 1;
}

.btn-send:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(176, 190, 197, 0.35);
}

.btn-send:active,
.btn-cancel:active {
    transform: translateY(0);
}

.form-message {
    margin-top: 1rem;
    padding: 0.8rem 1rem;
    border-radius: 10px;
    font-size: 0.9rem;
    text-align: center;
    font-weight: 500;
    display: none;
}

.form-message.success {
    display: block;
    background: rgba(76, 175, 80, 0.1);
    color: #2e7d32;
    border: 1.5px solid rgba(76, 175, 80, 0.3);
}

.form-message.error {
    display: block;
    background: rgba(244, 67, 54, 0.1);
    color: #c62828;
    border: 1.5px solid rgba(244, 67, 54, 0.3);
}

/* Animation de chargement pour le bouton */
.btn-send.loading {
    pointer-events: none;
    opacity: 0.7;
}

.btn-send.loading i {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Styles pour le chatbot */
.chatbot-messages {
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: 0.6rem;
}


.bot-message {
    display: flex;
    gap: 0.8rem;
    align-items: flex-start;
    animation: slideInLeft 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideInLeft {
    0% {
        opacity: 0;
        transform: translateX(-20px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.message-avatar {
    width: 32px;
    height: 32px;
    min-width: 32px;
    background: linear-gradient(135deg, #B0BEC5, #C9A56B);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(176, 190, 197, 0.3);
}

.message-avatar i {
    color: white;
    font-size: 1rem;
}

.message-text {
    background: rgba(176, 190, 197, 0.15);
    padding: 0.8rem 1rem;
    border-radius: 12px 12px 12px 4px;
    color: #37474F;
    font-size: 0.9rem;
    line-height: 1.5;
    max-width: 80%;
    border: 1px solid rgba(176, 190, 197, 0.2);
    backdrop-filter: blur(10px);
}

.user-message {
    display: flex;
    justify-content: flex-end;
    animation: slideInRight 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideInRight {
    0% {
        opacity: 0;
        transform: translateX(20px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.user-message .message-text {
    background: linear-gradient(135deg, #B0BEC5, #C9A56B);
    color: white;
    border-radius: 12px 12px 4px 12px;
    border: none;
    box-shadow: 0 2px 8px rgba(176, 190, 197, 0.3);
}

.chatbot-options {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: 0;
    position: relative;
    z-index: 10;
}

.chatbot-option-btn {
    background: rgba(255, 255, 255, 0.6);
    border: 1.5px solid rgba(176, 190, 197, 0.3);
    border-radius: 10px;
    padding: 0.8rem 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: #37474F;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: left;
    font-family: 'Poppins', sans-serif;
    animation: fadeInUp 0.4s cubic-bezier(0.4, 0, 0.2, 1) backwards;
    position: relative;
    z-index: 11;
    pointer-events: auto;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.chatbot-option-btn:hover {
    background: rgba(176, 190, 197, 0.2);
    border-color: #B0BEC5;
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(176, 190, 197, 0.2);
}

.chatbot-option-btn:active {
    transform: translateX(3px);
}

.chatbot-input-area {
    display: flex;
    gap: 0.6rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(176, 190, 197, 0.2);
}

.chatbot-input {
    flex: 1;
    padding: 0.8rem 1rem;
    border-radius: 10px;
    border: 1.5px solid rgba(176, 190, 197, 0.3);
    background: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    font-family: 'Poppins', sans-serif;
    color: #37474F;
    transition: all 0.3s ease;
}

.chatbot-input:focus {
    outline: none;
    border-color: #B0BEC5;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 2px 8px rgba(176, 190, 197, 0.2);
}

.chatbot-send-btn {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: none;
    background: linear-gradient(135deg, #B0BEC5, #C9A56B);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(176, 190, 197, 0.3);
}

.chatbot-send-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(176, 190, 197, 0.4);
}

.chatbot-send-btn:active {
    transform: scale(0.95);
}

.chatbot-send-btn i {
    font-size: 1rem;
}

/* Ajustements responsive pour le chatbot */

/* Tablettes */
@media (max-width: 768px) {

    .message-text {
        font-size: 0.85rem;
        max-width: 85%;
    }

    .chatbot-option-btn {
        font-size: 0.85rem;
        padding: 0.7rem 0.9rem;
    }

    .contact-form input,
    .contact-form textarea {
        padding: 0.8rem 0.9rem;
        font-size: 0.9rem;
    }

    .contact-form textarea {
        min-height: 80px;
    }

    .btn-cancel,
    .btn-send {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }
}

/* Smartphones */
@media (max-width: 480px) {

    .message-avatar {
        width: 28px;
        height: 28px;
        min-width: 28px;
    }

    .message-avatar i {
        font-size: 0.9rem;
    }

    .message-text {
        font-size: 0.8rem;
        padding: 0.7rem 0.9rem;
        max-width: 85%;
    }

    .chatbot-option-btn {
        font-size: 0.8rem;
        padding: 0.65rem 0.8rem;
        border-radius: 8px;
    }

    .chatbot-input-area {
        gap: 0.5rem;
        padding-top: 0.8rem;
    }

    .chatbot-input {
        padding: 0.7rem 0.9rem;
        font-size: 0.85rem;
        border-radius: 8px;
    }

    .chatbot-send-btn {
        width: 38px;
        height: 38px;
        border-radius: 8px;
    }

    .chatbot-send-btn i {
        font-size: 0.9rem;
    }

    .contact-form {
        margin-top: 1rem;
    }

    .contact-form label {
        font-size: 0.85rem;
        margin-bottom: 0.4rem;
    }

    .contact-form input,
    .contact-form textarea {
        padding: 0.75rem 0.85rem;
        font-size: 0.85rem;
        border-radius: 10px;
    }

    .contact-form textarea {
        min-height: 70px;
    }

    .form-actions {
        gap: 0.6rem;
        margin-top: 1rem;
    }

    .btn-cancel,
    .btn-send {
        padding: 0.75rem 0.9rem;
        font-size: 0.85rem;
        border-radius: 10px;
        gap: 0.4rem;
    }

    .form-message {
        margin-top: 0.8rem;
        padding: 0.7rem 0.85rem;
        font-size: 0.85rem;
        border-radius: 8px;
    }
}

/* Très petits smartphones */
@media (max-width: 360px) {
    .chatbot-messages {
        gap: 0.8rem;
    }

    .message-avatar {
        width: 26px;
        height: 26px;
        min-width: 26px;
    }

    .message-avatar i {
        font-size: 0.85rem;
    }

    .message-text {
        font-size: 0.75rem;
        padding: 0.6rem 0.8rem;
        max-width: 80%;
        border-radius: 10px;
    }

    .bot-message {
        gap: 0.6rem;
    }

    .chatbot-options {
        gap: 0.5rem;
    }

    .chatbot-option-btn {
        font-size: 0.75rem;
        padding: 0.6rem 0.75rem;
        border-radius: 8px;
    }

    .chatbot-input-area {
        gap: 0.4rem;
        padding-top: 0.7rem;
        margin-top: 0.8rem;
    }

    .chatbot-input {
        padding: 0.65rem 0.8rem;
        font-size: 0.8rem;
        border-radius: 8px;
    }

    .chatbot-send-btn {
        width: 36px;
        height: 36px;
        border-radius: 8px;
    }

    .chatbot-send-btn i {
        font-size: 0.85rem;
    }

    .contact-form {
        margin-top: 0.8rem;
    }

    .contact-form .form-group {
        margin-bottom: 1rem;
    }

    .contact-form label {
        font-size: 0.8rem;
        margin-bottom: 0.35rem;
    }

    .contact-form input,
    .contact-form textarea {
        padding: 0.7rem 0.8rem;
        font-size: 0.8rem;
        border-radius: 8px;
    }

    .contact-form textarea {
        min-height: 60px;
    }

    .form-actions {
        gap: 0.5rem;
        margin-top: 0.8rem;
    }

    .btn-cancel,
    .btn-send {
        padding: 0.7rem 0.8rem;
        font-size: 0.8rem;
        border-radius: 8px;
        gap: 0.35rem;
    }

    .form-message {
        margin-top: 0.7rem;
        padding: 0.65rem 0.8rem;
        font-size: 0.8rem;
        border-radius: 8px;
    }
}

/* Mode paysage pour smartphones */
@media (max-height: 500px) and (orientation: landscape) {

    .message-text {
        font-size: 0.75rem;
        padding: 0.6rem 0.8rem;
    }

    .chatbot-option-btn {
        font-size: 0.75rem;
        padding: 0.6rem 0.75rem;
    }

    .chatbot-input-area {
        margin-top: 0.6rem;
        padding-top: 0.6rem;
    }

    .chatbot-input {
        padding: 0.6rem 0.8rem;
        font-size: 0.8rem;
    }

    .contact-form {
        margin-top: 0.6rem;
    }

    .contact-form .form-group {
        margin-bottom: 0.8rem;
    }

    .contact-form input,
    .contact-form textarea {
        padding: 0.6rem 0.8rem;
        font-size: 0.8rem;
    }

    .contact-form textarea {
        min-height: 50px;
    }

    .form-actions {
        margin-top: 0.8rem;
    }

    .btn-cancel,
    .btn-send {
        padding: 0.6rem 0.8rem;
        font-size: 0.8rem;
    }
}
