* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-narrow {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header / Hero */
.hero {
    background: linear-gradient(155deg, #1b729b, #5ca9cc, #1e5f7f);
    color: white;
    padding: 60px 20px 60px;
    text-align: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    margin-bottom: 40px;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: url('../../assets/images/icons/gerance.svg') no-repeat center center;
    background-size: contain;
}

.logo-text {
    font-size: 3rem;
    font-weight: 600;
    color: white;
    margin-left: 1rem;
}

.hero h1 {
    font-size: 42px;
    font-weight: 500;
    line-height: 1.2;
    color: #fff !important;
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero p {
    font-size: 20px;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto 40px;
}

.cta-button {
    display: inline-block;
    background: #ffd147;
    color: #403f4c;
    padding: 16px 40px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* Video Section */
.video-section {
    padding: 60px 20px 80px 20px;
    background: #fafafa;
}

.video-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.video-title {
    margin-bottom: 0 !important;
    font-weight: 500 !important;
}

.video-subtitle {
    font-size: 18px;
    margin-bottom: 40px;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-placeholder {
    border-radius: 12px;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #403f4c;
    font-size: 18px;
}

.video-placeholder img {
    height: 100%;
}

#results {
    padding-top: 4rem;
}

.container.large {
    max-width: 100%;
    padding: 0 10%;
}

.bande {
    position: absolute;
    width: 40px;
    height: 100%;
    top: -0;
    left: 12%;
    background-image:
        radial-gradient(circle, #56a0b4 2px, transparent 2px),
        radial-gradient(circle, #56a0b4 2px, transparent 2px),
        radial-gradient(circle, #56a0b4 2px, transparent 2px);
    background-size:
        20px 20px,
        20px 20px,
        20px 20px;
    background-position:
        6% 0,
        /* 1ère colonne à 10% */
        calc(6% + 10px) 10px,
        /* 2ème colonne décalée de 10px */
        calc(6% + 20px) 0;
    /* 3ème colonne décalée de 20px */
    background-repeat: repeat-y;
}

.bande.solut {
    height: 110%;
    top: -100px;
}

.discover {
    padding: 4rem 0 2rem 0;
}

.discover a {
    color: #403f4c;
}

.discover a:hover {
    color: #3274a3;
}

.solutions {
    position: relative;
    padding: 80px 0 40px 0;
    overflow: hidden;
}

.section-title {
    font-size: 36px;
    font-weight: 600;
    text-align: center;
    color: #2b2d2e;
    margin-bottom: 60px;
    padding: 0 20px;
}

.solution-item {
    position: relative;
    display: grid;
    grid-template-columns: 580px 1fr;
    gap: 8%;
    align-items: center;
    justify-items: end;
    margin-bottom: 120px;
    margin-right: 0;
    max-width: 100%;
    min-height: 500px;
    background: #fff;
    z-index: 2;
}

.solution-item::before {
    content: "▶";
    position: absolute;
    left: calc(580px + 8.5%);
    top: 0;
    transform: translate(-50%, -50%);
    transition: top 1.2s ease;
    width: 50px;
    height: 50px;
    background: #f9af1c;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #f7f7f7;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.solution-item.visible::before {
    top: 50%;
}

.solution-item .solution-content {
    justify-self: start;
}

.solution-content {
    padding: 4rem 4rem 4rem 8rem;
}

.solution-content h3 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 10px;
}

.solution-problem {
    position: relative;
    font-style: italic;
    margin-bottom: 20px;
    padding-left: 20px;
}

.solution-problem::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.4em;
    width: 12px;
    height: 12px;
    background: #6dd13f;
    border-radius: 50%;
}

.solution-description {
    margin-bottom: 20px;
}

.solution-benefits {
    list-style: none;
    margin-top: 12px;
}

.solution-benefits li {
    padding: 10px 0 0 0;
    padding-left: 30px;
    position: relative;
    font-size: 16px;
}

.solution-benefits li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #ffd147;
    font-weight: bold;
    font-size: 20px;
}

.solution-image {
    min-width: 0;
    justify-self: stretch;
    height: 100%;
    background-size: contain;
    background-position: left center;
    background-repeat: no-repeat;
    border-left: 1.2rem solid #f4e9ce;
    background-color: #fff;
}

#extranet {
    background-image: url('../../assets/images/ultimmo/gerance/extranet.png');
}

#factures {
    background-image: url('../../assets/images/ultimmo/gerance/facture.png');
}

#dashboard {
    background-image: url('../../assets/images/ultimmo/gerance/dashboard.png');
}

#ecosysteme {
    background-image: url('../../assets/images/ultimmo/gerance/ecosysteme.png');
}

.solution-placeholder {
    background: #e0e0e0;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #403f4c;
    font-size: 16px;
    text-align: center;
    padding: 20px;
}

/* Ecosystem Section */
.ecosystem {
    background: #ffcb33;
    background: linear-gradient(155deg, #1b729b, #5ca9cc, #1e5f7f);
    padding: 60px 20px;
}

.ecosystem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.ecosystem-pillar {
    text-align: center;
    padding: 30px;
    background: #fff;
    border-radius: 12px;
}

.ecosystem-pillar h3 {
    font-size: 22px;
    font-weight: 600;
    color: #277ba3;
    margin-bottom: 20px;
}

.ecosystem-list {
    list-style: none;
    text-align: left;
}

.ecosystem-list li {
    padding: 12px 0;
    padding-left: 30px;
    position: relative;
    font-size: 15px;
    line-height: 1.5;
}

.ecosystem-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #ffd147;
    font-weight: bold;
    font-size: 18px;
}


.support {
    padding: 60px 20px;
}

.support-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.support-intro {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.95;
}

.support-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.support-feature {
    text-align: center;
}

.support-icon {
    width: 60px;
    height: 60px;
    background: #ffcb3d;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 28px;
    animation: pulse 2s 2;
}

.support-icon img,
.trust-badges img {
    width: 32px;
    height: auto;
}

.support-feature h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.support-feature p {
    font-size: 14px;
    opacity: 0.9;
}

.results-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin: 40px 0;
    align-items: center;
    justify-items: center;
    /* Centre les cercles dans leur colonne */
}

.stat {
    padding: 30px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: var(--grey);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
    transform-style: preserve-3d;
    position: relative;
    transform: rotateY(180deg);
}

.stat::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: inherit;
    backface-visibility: hidden;
    transform: rotateY(0deg);
    /* Face arrière initialement visible */
}

.stat-number,
.stat-label {
    backface-visibility: hidden;
    position: relative;
    z-index: 1;
}

.stat-number {
    font-family: "Inter", sans-serif;
    font-size: 48px;
    font-weight: 700;
    color: #ffc037;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 16px;
}

@keyframes flip {
    0% {
        transform: rotateY(180deg);
        /* Commence avec la face arrière visible */
    }

    100% {
        transform: rotateY(0deg);
        /* Termine avec la face avant visible */
    }
}

.stat.flip-animation {
    animation: flip 2s forwards;
    animation-delay: calc(var(--order) * 0.5s);
}

/* Trust Section */
.trust {
    background: #fafafa;
    padding: 60px 20px;
    text-align: center;
}

.trust-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.trust-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.trust-icon {
    width: 60px;
    height: 60px;
    background: #403f4c;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
}

.trust-text {
    font-size: 16px;
    font-weight: 600;
    color: #403f4c;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

/* CTA Section */
.cta-section {
    color: white;
    padding: 80px 20px;
    text-align: center;
}

.cta-section h2 {
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #fff;
}

.cta-section p {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button-secondary {
    display: inline-block;
    background: white;
    color: #277ba3;
    padding: 16px 40px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.cta-button-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* Form Section */
.form-section {
    background: white;
    padding: 60px 20px;
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    background: #fafafa;
    padding: 40px;
    border-radius: 12px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #403f4c;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #277ba3;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.submit-button {
    width: 100%;
    background: #277ba3;
    color: white;
    padding: 16px;
    font-size: 18px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s;
}

.submit-button:hover {
    background: #1e5f7f;
}

@media (max-width:1600px) {
    .container.large {
        max-width: 92%;
        margin: auto;
        padding: 0;
    }
}

@media (max-width:1440px) {
    .solution-image {
        min-width: 0;
        justify-self: stretch;
        height: 100%;
        background-size: contain;
        background-position: center center;
        background-repeat: no-repeat;
    }
}

/* Responsive */
@media (max-width: 1366px) {
    .solution-item {
        grid-template-columns: 1fr;
        gap: 40px;
        justify-content: center;
    }

    .solution-item .solution-content {
        padding-left: 20px;
        padding-right: 20px;
    }

    .solution-content {
        width: 80%;
        margin: auto;
    }

    .solution-image {
        min-width: 0;
        justify-self: stretch;
        height: calc(100vw / 3);
        background-size: contain;
        background-position: center center;
        background-repeat: no-repeat;
    }
}

@media (max-width: 900px) {

    .bande {
        display: none;
    }

}

@media (max-width: 768px) {
    .solution-item {
        gap: 20px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 18px;
    }

    .section-title {
        font-size: 28px;
    }

    .video-title {
        font-size: 26px;
    }

    .solution-content h3 {
        font-size: 24px;
    }

    .cta-section h2 {
        font-size: 28px;
    }

    .stat-number {
        font-size: 36px;
    }
}