﻿/* ==========================================================================
   1. VARIABLES & STYLES GLOBAUX
   ========================================================================== */
:root {
    --primary-color: #226D68;
    --primary-darker: #1A534F;
    --primary-lighter: #E9F3F2;
    --accent-color: #8B008B;
    --accent-darker: #6A006A;
    --light-gray: #F4F7F9;
    --dark-text: #1A534F;
    --secondary-text: #555555;
    --white: #FFFFFF;
    --dark-footer: #6A006A;
    --font-family: 'Montserrat', sans-serif;
}

*, *::before, *::after {
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    margin: 0;
    padding: 0;
    color: var(--dark-text);
    background-color: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    font-weight: 700;
    line-height: 1.2;
}

h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 50px;
}

section {
    padding: 80px 0;
}

/* ==========================================================================
   2. EN-TÊTE & NAVIGATION (MENU À DROITE AVEC ICÔNES)
   ========================================================================== */

header {
    background: var(--white);
    border-bottom: 1px solid #e0e0e0;
    padding: 7px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: inline-block;
    vertical-align: middle;
}

.logo img {
    display: block;
    height: 120px;
    width: auto;
    vertical-align: middle;
}

header nav ul {
    list-style: none;
    margin-top: 0px;
    margin-bottom: 0px;
    padding: 0px;
    display: flex;
    gap: 10px;
}

header nav a {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--dark-text);
    font-weight: 700;
    padding: 7px 15px;
    border-radius: 8px;
    transition: all 0.2s ease-in-out;
    vertical-align: middle;
}

header nav a svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

header nav a:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

header nav a:active {
    transform: scale(0.97);
    background-color: var(--primary-darker);
}

header nav a.active {
    background-color: var(--primary-color);
    color: var(--white);
}

header nav a svg {
    stroke: var(--accent-darker);
}

header nav a span {
    color: var(--dark-text); 
}

header nav a:hover svg,
header nav a.active svg {
    stroke: var(--white);
}

header nav a:hover span,
header nav a.active span {
    color: var(--white);
}

.header-cta {
    padding: 5px 15px !important;
    font-size: 1rem !important;
    
    background-color: var(--primary-color); 
    color: var(--white);
    
    display: inline-block;
    text-decoration: none;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    border: none;
    border-radius: 8px;
    transition: all 0.2s ease-in-out;
    vertical-align: middle;
}

.header-cta:hover {
    background-color: var(--primary-darker);
    transform: translateY(-2px); 
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.header-cta:active {
    transform: translateY(1px);
    background-color: var(--primary-darker);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

/* ==========================================================================
   3. SECTION HÉROS (ACCUEIL & PAGES INTERNES)
   ========================================================================== */
.hero {
    position: relative;
    overflow: hidden;
    text-align: center;
    padding: 50px 0;
}

.hero-content {
    position: relative;
    z-index: 2;
}

#home-hero .hero-content h1, #home-hero .hero-content h2, #home-hero .hero-content .subtitle {
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.hero h1 {
    font-size: 3rem;
    margin: 0 auto 20px auto;
    max-width: 800px;
}

.hero h2 {
    font-size: 2rem;
    font-weight: 400;
    margin: 0 auto 20px auto;
}

.hero .subtitle {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 20px auto 40px auto;
}

#home-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    background: linear-gradient(-45deg, var(--primary-lighter), var(--primary-color), var(--accent-color));
    background-size: 400% 400%;
    animation: wavyBackground 15s ease infinite;
}

.page-hero {
    background-color: var(--primary-lighter);
    padding: 60px 0;
    text-align: center;
}

    .page-hero h1 {
        font-size: 2.8rem;
        margin-bottom: 15px;
        color: var(--primary-color);
    }

    .page-hero p {
        font-size: 1.1rem;
        color: var(--secondary-text);
        max-width: 700px;
        margin: 0 auto;
    }

/* ==========================================================================
   4. AUTRES SECTIONS (Accueil, Services, etc.)
   ========================================================================== */
.services-grid { 
    display: grid; 
    grid-template-columns: repeat(4, 1fr);
    gap: 30px; 
    text-align: center; 
}

.service-item { 
    background: var(--light-gray); 
    padding: 40px 30px; 
    border-radius: 8px; 
    transition: transform 0.3s ease, box-shadow 0.3s ease; 
}

    .service-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    }

    .service-item .icon {
        width: 48px;
        height: 48px;
        color: var(--primary-color);
        margin-bottom: 20px;
    }

    .service-item h3 {
        font-size: 1.3rem;
        margin-bottom: 10px;
    }

.why-us-flex {
    display: flex;
    align-items: center;
    gap: 60px;
}

.why-us-text {
    flex: 1;
}

.why-us-image {
    flex: 1;
    height: 400px;
    background: url('https://images.unsplash.com/photo-1554415707-6e8cfc93fe23?q=80&w=2070&auto=format&fit=crop') center;
    border-radius: 8px;
}

.why-us-text h2 { text-align: left;
    margin-bottom: 20px; }

.why-us-text ul { list-style: none; padding: 0; }
.why-us-text li {
    position: relative;
    padding-left: 35px;
    font-weight: 700;
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.why-us-text li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent-color);
    font-weight: 900;
    font-size: 1.2rem;
}
}

.testimonials {
    background-color: var(--light-gray);
    margin-bottom: 500px;
}

.testimonials h2 {
    margin-bottom: 20px; }

.testimonial-item {
    max-width: 750px;
    margin: 0 auto;
    text-align: center;
}

    .testimonial-item blockquote {
        font-size: 1.5rem;
        font-style: italic;
        color: var(--secondary-text);
        margin: 0 0 20px 0;
        border-left: 4px solid var(--primary-color);
        padding-left: 20px;
        text-align: left;
    }

    .testimonial-item cite {
        font-weight: 700;
        font-style: normal;
        color: var(--dark-text);
    }

.contact-cta {
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
}

    .contact-cta h2, .contact-cta p {
        color: var(--white);
    }

    .contact-cta p {
        max-width: 500px;
        margin: 0 auto 30px auto;
    }

.service-detail {
    padding: 60px 0;
}

.service-detail-alt {
    background-color: var(--light-gray);
}

.service-detail-item {
    display: flex;
    gap: 50px;
    align-items: center;
}

    .service-detail-item.reverse {
        flex-direction: row-reverse;
    }

.service-text, .service-image {
    flex: 1;
}

.service-image {
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

    .service-image img {
        width: 100%;
        height: auto;
        display: block;
        transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }

.service-detail-item:hover .service-image img {
    transform: scale(1.05);
}

.service-text h2 {
    text-align: left;
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-text p {
    margin-bottom: 25px;
    line-height: 1.7;
    font-size: 1.1rem;
}

.service-text ul {
    list-style: none;
    padding-left: 0;
}

.service-text li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 15px;
    font-weight: 700;
    font-size: 1.1rem;
}

    .service-text li::before {
        content: '✓';
        position: absolute;
        left: 0;
        top: 0;
        color: var(--accent-color);
        font-weight: 900;
        font-size: 1.2rem;
    }

.how-it-works {
    background-color: var(--white);
    padding-top: 0px;
    overflow: hidden;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: center;
    margin-top: 30px;
}

.step h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.step[data-step]::before {
    content: attr(data-step);
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 10px;
    line-height: 1;
}

/* ==========================================================================
   STYLES POUR LA PAGE "À PROPOS"
   ========================================================================== */
.about-story-flex {
    display: flex;
    align-items: center;
    gap: 60px;
}

.story-text, .story-image {
    flex: 1;
}

.story-text h2 {
    text-align: left;
    color: var(--primary-color);
    margin-bottom: 0;
    line-height: 1.1;
}

.big-number {
    font-size: 5rem;
    font-weight: 700;
    color: var(--accent-color);
    line-height: 1;
    margin-bottom: 10px;
    margin-top: 0;
}

.story-highlight {
    font-size: 1.2rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.story-image {
    height: 450px;
    border-radius: 8px;
    overflow: hidden;
}
.about-benefits {
    background-color: var(--light-gray);
}

.about-benefits h2 {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 0; 
}

.section-subtitle {
    text-align: center;
    max-width: 700px;
    margin-top: 5px !important;
    padding-top: 0 !important;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 40px; 
    font-size: 1.1rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.benefit-item {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.benefit-icon {
    display: inline-block;
    font-size: 1.5rem;
    color: var(--accent-color);
    font-weight: 700;
    margin-bottom: 15px;
}

.benefit-item h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
}

.team-content {
    display: flex;
    align-items: center;
    gap: 50px;
    background-color: var(--primary-lighter);
    border-radius: 8px;
    overflow: hidden;
}

.about-team h2 {
    margin-top: O;
}

.team-image {
    flex: 0 0 40%;
    align-self: stretch;
    min-height: 400px;
}
.team-text {
    padding: 40px;
    font-size: 1.1rem;
    line-height: 1.8;
}
.story-image img, .team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ==========================================================================
   5. BOUTONS
   ========================================================================== */
.cta-button, .cta-button-white {
    display: inline-block;
    padding: 14px 30px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15), inset 0 -4px 0 0 rgba(0, 0, 0, 0.2);
    transition: all 0.15s ease-out;
}

.cta-button {
    background-color: var(--accent-color);
    color: var(--white);
}

    .cta-button:hover {
        background-color: var(--accent-darker);
        transform: translateY(-3px);
        box-shadow: 0 7px 12px rgba(0, 0, 0, 0.2), inset 0 -4px 0 0 var(--primary-color);
    }

    .cta-button:active {
        transform: translateY(1px);
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2), inset 0 -2px 0 0 var(--primary-color);
    }

.cta-button-white {
    background-color: var(--white);
    color: var(--primary-color);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1), inset 0 -4px 0 0 #e0e0e0;
}

    .cta-button-white:hover {
        background-color: var(--light-gray);
        transform: translateY(-3px);
        box-shadow: 0 7px 12px rgba(0, 0, 0, 0.15), inset 0 -4px 0 0 var(--accent-color);
    }

    .cta-button-white:active {
        transform: translateY(1px);
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15), inset 0 -2px 0 0 var(--accent-color);
    }

/* ==========================================================================
   6. PIED DE PAGE
   ========================================================================== */
footer {
    background: var(--dark-footer);
    color: #ccc;
    padding: 40px 0;
}

    footer .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        gap: 20px;
    }

    footer .logo {
        color: var(--white);
    }

    footer .footer-details p {
        margin: 5px 0;
    }

    footer nav a {
        color: #ccc;
        transition: color 0.3s;
        background: none;
    }

        footer nav a:hover {
            color: var(--white);
            background: none;
        }

/* ==========================================================================
   7. SYSTÈME D'ANIMATION GLOBALE
   ========================================================================== */
@keyframes pageLoadFadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

header, .hero-content, .page-hero {
    animation: pageLoadFadeInUp 0.8s ease-out 0.2s;
    animation-fill-mode: backwards;
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

    .animate-on-scroll.is-visible {
        opacity: 1;
        transform: translateY(0);
    }

.how-it-works .step {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.how-it-works.is-visible .step {
    opacity: 1;
    transform: translateY(0);
}

.how-it-works.is-visible .step:nth-child(1) { transition-delay: 1s; }
.how-it-works.is-visible .step:nth-child(2) { transition-delay: 2s; }
.how-it-works.is-visible .step:nth-child(3) { transition-delay: 3s; }

/* ==========================================================================
   8. ANIMATION DES VAGUES
   ========================================================================== */
@keyframes wavyBackground {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* ==========================================================================
   9. RESPONSIVE
   ========================================================================== */
@media (max-width: 992px) {
    .service-detail-item, .service-detail-item.reverse {
        flex-direction: column;
        gap: 30px;
        padding-top: 0px;
        padding-bottom: 0px;
    }

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

    .service-text h2 {
        text-align: center;
    }

    .process-steps {
        grid-template-columns: 1fr;
    }

    .about-story-flex {
        flex-direction: column;
    }

    .story-text h2, .big-number {
        text-align: center;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .team-content {
        flex-direction: column;
    }

    .team-image {
        width: 100%;
        min-height: 300px;
    }
}

@media (max-width: 768px) {
    h1, .page-hero h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    section {
        padding: 60px 0;
    }

    header .container {
        flex-direction: column;
        gap: 15px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        flex-direction: column;
    }

    .why-us-flex { 
        flex-direction: column;
        gap: 30px;
    }

    .why-us-text h2 {
        text-align: center;
    }

    .why-us-image {
        height: 250px;
        width: 100%;
        background-size: cover;
        background-position: center;
    }

    .cta-button, .cta-button-white {
        width: 100%;
        padding: 15px 20px;
    }

    footer .container {
        flex-direction: column;
        text-align: center;
    }
}

/* ==========================================================================
   STYLES POUR LA PAGE "CONTACT"
   ========================================================================== */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: flex-start;
}

.contact-details h2,
.contact-form h2 {
    text-align: left;
    color: var(--primary-color);
    margin-bottom: 30px;
}

.contact-info-item {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

    .contact-info-item strong {
        display: block;
        color: var(--dark-text);
        margin-bottom: 5px;
    }

    .contact-info-item span {
        color: var(--secondary-text);
    }

.form-group {
    margin-bottom: 25px;
}

    .form-group label {
        display: block;
        font-weight: 700;
        margin-bottom: 8px;
    }

    .form-group input,
    .form-group textarea {
        width: 100%;
        padding: 12px;
        border: 2px solid #ddd;
        border-radius: 8px;
        font-family: var(--font-family);
        font-size: 1rem;
        transition: border-color 0.3s;
    }

        .form-group input:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: var(--primary-color);
        }

.contact-form .cta-button {
    width: 100%;
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-details h2,
    .contact-form h2 {
        text-align: center;
    }
}
/* ==========================================================================
   11. CARROUSEL DE TÉMOIGNAGES ANIMÉ
   ========================================================================== */


.testimonial-container {
    perspective: 1000px;
    max-width: 750px;
    margin: 0 auto;
}

.testimonial-flipper {
    position: relative;
    transition: transform 0.8s, height 0.4s ease-in-out 0.4s;   
    transform-style: preserve-3d;
}

.testimonial-flipper.is-flipped {
    transform: rotateY(180deg);
}

.testimonial-face {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
}

.testimonial-face.testimonial-back {
    transform: rotateY(180deg);
}

.testimonial-face .testimonial-item {
    text-align: center;
    max-width: none;
}

.testimonial-face blockquote {
    font-size: 1.5rem;
    font-style: italic;
    color: var(--secondary-text);
    margin: 0 0 20px 0;
    border-left: 4px solid var(--primary-color);
    padding-left: 20px;
    text-align: left;
}

.testimonial-face cite {
    font-weight: 700;
    font-style: normal;
    color: var(--dark-text);
}

/* ==========================================================================
   BOUTON "RETOUR EN HAUT"
   ========================================================================== */

#back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999; 
    
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    font-size: 20px;
    line-height: 45px;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    
    opacity: 0;
    transform: translateY(10px);
    visibility: hidden;
    
    transition: all 0.3s ease-in-out;
}

#back-to-top.show {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

#back-to-top:hover {
    background-color: var(--primary-darker);
}

#back-to-top:active {
    transform: scale(0.95);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* ==========================================================================
   POP-UP OFFRE SPÉCIALE (SLIDE-IN DISCRET)
   ========================================================================== */

#popup-slidein {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1001;
    background-color: var(--white);
    padding: 25px 30px;
    border-radius: 8px;
    max-width: 380px; 
    width: calc(100% - 40px); 
    box-shadow: 0 5px 20px rgba(0,0,0,0.25);
    text-align: left;
    border-left: 5px solid var(--accent-color);
    
    opacity: 0;
    transform: translateX(110%); 
    visibility: hidden;
    transition: transform 0.5s ease-out, opacity 0.5s ease-out, visibility 0s linear 0.5s;
}

#popup-slidein.show {
    opacity: 1;
    transform: translateX(0);
    visibility: visible;
    transition-delay: 0s;
}

#popup-slidein #popup-close {
    position: absolute;
    top: 5px;
    right: 5px;
    background: none;
    border: none;
    font-size: 28px;
    line-height: 1;
    color: #888;
    cursor: pointer;
    padding: 10px;
    z-index: 10;
}
#popup-slidein #popup-close:hover { color: var(--dark-text); }
#popup-slidein h3 { color: var(--primary-color); margin-top: 0; margin-bottom: 10px; font-size: 1.5rem; padding-right: 40px; }
#popup-slidein p { margin-bottom: 20px; font-size: 1rem; line-height: 1.6; }
#popup-slidein .cta-button { background-color: var(--accent-color); border: none; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15); padding: 10px 20px; font-size: 0.9rem; }
#popup-slidein .cta-button:hover { background-color: var(--accent-darker); box-shadow: 0 7px 12px rgba(0, 0, 0, 0.2); transform: translateY(-2px); }
#popup-slidein .cta-button:active { transform: translateY(1px); box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); }

/* ==========================================================================
   MENU HAMBURGER POUR MOBILE
   ========================================================================== */

#hamburger-button {
    display: none;
    background: none;
    border: none;
    font-size: 30px;
    cursor: pointer;
    color: var(--primary-color);
    padding: 5px;
    line-height: 1;
}

#mobile-menu {
    display: none;
    background-color: var(--white);
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    z-index: 999;
}

#mobile-menu nav ul {
    list-style: none;
    padding: 10px 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#mobile-menu nav li {
    width: 100%;
    text-align: center;
}

#mobile-menu nav a {
    display: block;
    padding: 15px 20px;
    text-decoration: none;
    color: var(--dark-text);
    font-weight: 700;
    border-bottom: 1px solid var(--light-gray);
}
#mobile-menu nav li:last-child a {
    border-bottom: none;
}
#mobile-menu nav a:hover {
    background-color: var(--primary-lighter);
    color: var(--primary-color);
}
#mobile-menu nav a svg {
    display: none;
}



@media (max-width: 768px) {
    header nav .desktop-nav {
        display: none;
    }
    #hamburger-button {
        display: block;
    }
    body.mobile-menu-open #mobile-menu {
        display: block;
    }
    body.mobile-menu-open #hamburger-button {
        content: "✕";
        font-size: 24px;
    }

    #popup-slidein {
        padding: 20px 25px;
        max-width: 320px;
    }
    #popup-slidein h3 {
        font-size: 1.3rem;
    }
     #popup-slidein p {
        font-size: 0.9rem;
    }
     #popup-slidein .cta-button {
         padding: 8px 15px;
         font-size: 0.8rem;
     }
}

/* ==========================================================================
   CONTACTS CLIQUABLE
   ========================================================================== */

.contact-details a[href^="tel:"],
.contact-details a[href^="mailto:"],
.footer-details a[href^="tel:"],
.footer-details a[href^="mailto:"] {
    color: inherit;
    text-decoration: none;
}

    .contact-details a[href^="tel:"]:hover,
.contact-details a[href^="mailto:"]:hover,
.footer-details a[href^="tel:"]:hover,
.footer-details a[href^="mailto:"]:hover {
    text-decoration: underline;
}

/* ==========================================================================
   STYLES POUR LA PAGE ESPACE CLIENT
   ========================================================================== */

.client-area {
    padding-top: 40px;
    padding-bottom: 60px;
}

#widget-connexion-ubi {
    max-width: 400px;
    margin: 0 auto;
    padding: 20px;
    border: 1px solid var(--light-gray);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* ==========================================================================
   AMÉLIORATION DU STYLE DU WIDGET UBICENTREX
   ========================================================================== */

#widget-connexion-ubi {
    font-family: var(--font-family)
}

#widget-connexion-ubi label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    color: var(--dark-text);
}

#widget-connexion-ubi input[type="text"],
#widget-connexion-ubi input[type="password"] {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 8px;
    margin-bottom: 20px;
    font-family: var(--font-family);
    font-size: 1rem;
    transition: border-color 0.3s;
}
#widget-connexion-ubi input[type="text"]:focus,
#widget-connexion-ubi input[type="password"]:focus {
    outline: none;
    border-color: var(--primary-color);
}

#widget-connexion-ubi button,
#widget-connexion-ubi input[type="submit"] {
    display: inline-block;
    width: 100%;
    padding: 14px 30px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15), inset 0 -4px 0 0 rgba(0, 0, 0, 0.2);
    transition: all 0.15s ease-out;
    background-color: var(--primary-color);
    color: var(--white);
    margin-top: 10px;
}
#widget-connexion-ubi button:hover,
#widget-connexion-ubi input[type="submit"]:hover {
     background-color: var(--primary-darker);
     transform: translateY(-3px);
     box-shadow: 0 7px 12px rgba(0, 0, 0, 0.2), inset 0 -4px 0 0 var(--accent-color);
}
#widget-connexion-ubi button:active,
#widget-connexion-ubi input[type="submit"]:active {
    transform: translateY(1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2), inset 0 -2px 0 0 var(--accent-color);
}