/* Easy Concierge - Styles principaux */

:root {
    --primary: #2c3e50;    /* Bleu nuit */
    --secondary: #2980b9;  /* Bleu clair */
    --accent: #e67e22;     /* Orange dynamique */
    --success: #27ae60;    /* Vert */
    --bg: #f8f9fa;
    --text: #333;
    --white: #ffffff;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

/* --- NAVIGATION --- */
nav {
    background: var(--white);
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-right-section {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-menu a, .dropdown .dropbtn {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    padding: 8px 0;
    transition: color 0.3s;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.nav-menu a:hover, .dropdown:hover .dropbtn {
    color: var(--secondary);
}

.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

/* Dropdown container */
.dropdown {
    position: relative;
    display: inline-block;
}

/* Dropdown content (hidden by default) */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--white);
    min-width: 240px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.1);
    z-index: 1;
    border-radius: 8px;
    padding: 10px 0;
    top: calc(100% + 5px);
    border: 1px solid #eee;
}

/* Links inside the dropdown */
.dropdown-content a {
    color: var(--primary);
    padding: 12px 20px;
    text-decoration: none;
    display: block;
    font-size: 15px;
    font-weight: 500;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {
    background-color: #f8f9fa;
}

.cta-button {
    background: var(--success);
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
    border: none;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(39, 174, 96, 0.3);
}

.cta-button svg {
    width: 18px;
    height: 18px;
}

/* --- HERO SECTION --- */
header {
    background: linear-gradient(135deg, var(--primary) 0%, #34495e 100%);
    color: white;
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

header h1 {
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.2;
}

header .subtitle {
    font-size: 22px;
    font-weight: 300;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto 40px auto;
}

header .tagline {
    display: inline-block;
    background: rgba(255,255,255,0.1);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    margin-bottom: 20px;
    border: 1px solid rgba(255,255,255,0.2);
}

/* --- Features Section --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    border-left: 4px solid var(--accent);
    box-shadow: 0 5px 15px rgba(0,0,0,0.04);
}

.feature-card h3 {
    margin-top: 0;
    color: var(--primary);
    font-size: 22px;
}

.feature-card .description {
    color: #555;
    margin-bottom: 20px;
}

.feature-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-card li {
    margin-bottom: 10px;
    font-size: 15px;
}

.feature-card li strong {
    color: var(--secondary);
}

/* --- SECTIONS GÉNÉRALES --- */
.section {
    padding: 80px 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 36px;
    color: var(--primary);
    margin-bottom: 10px;
}

.section-desc {
    text-align: center;
    color: #666;
    max-width: 700px;
    margin: 0 auto 50px auto;
    font-size: 18px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: var(--white);
    padding: 35px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    transition: 0.3s;
    border-top: 4px solid transparent;
    height: 100%;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

.card-icon {
    font-size: 45px;
    margin-bottom: 20px;
    display: block;
}

.card h3 {
    color: var(--primary);
    font-size: 20px;
    margin-top: 0;
}

/* --- SECTION PLANNING --- */
.planning-bg {
    background-color: #eaf2f8;
    border-radius: 30px;
    margin: 40px auto;
}

.pill {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    margin-right: 5px;
    margin-bottom: 5px;
}

.pill-superhote {
    background: #feeead;
    color: #d35400;
}

.pill-jana {
    background: #d4e6f1;
    color: #2980b9;
}

.pill-other {
    background: #e8daef;
    color: #8e44ad;
}

/* --- GALERIE SCREENSHOTS --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.gallery-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: 0.3s;
    border: 1px solid #eee;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.gallery-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    object-position: top center;
    border-bottom: 1px solid #eee;
    display: block;
}

.gallery-caption {
    padding: 20px;
    text-align: center;
}

.gallery-caption h4 {
    margin: 0 0 5px 0;
    color: var(--primary);
    font-size: 18px;
}

.gallery-caption p {
    margin: 0;
    font-size: 14px;
    color: #666;
}

/* --- HIGHLIGHT (Solution Adaptable) --- */
.adaptable-box {
    background: var(--primary);
    color: white;
    border-radius: 20px;
    padding: 60px;
    text-align: center;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* --- TRUSTED BANNER --- */
.trusted-section {
    background: var(--white);
    padding: 40px 20px;
    text-align: center;
    border-top: 1px solid #eee;
    margin-top: 60px;
}

.trusted-title {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #95a5a6;
    margin-bottom: 30px;
    font-weight: 600;
}

.logo-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

.client-logo {
    max-height: 60px;
    max-width: 180px;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.client-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

/* --- FOOTER --- */
footer {
    background: #222;
    color: #bdc3c7;
    text-align: center;
    padding: 50px 20px;
}

/* --- MODAL LOGIN --- */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(8px);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s;
}

.modal-box form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.modal-box {
    background: white;
    padding: 40px;
    border-radius: 15px;
    width: 90%;
    max-width: 420px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    position: relative;
}

.modal-box input {
    width: 100%;
    padding: 14px;
    border: 2px solid #eee;
    border-radius: 8px;
    font-size: 16px;
    box-sizing: border-box;
    text-align: left;
    font-weight: normal;
    color: var(--primary);
}

.modal-box input:focus {
    border-color: var(--secondary);
    outline: none;
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    cursor: pointer;
    color: #ccc;
    transition: 0.2s;
}

.close-btn:hover {
    color: var(--text);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    header h1 {
        font-size: 32px;
    }

    .section {
        padding: 40px 20px;
    }

    nav {
        flex-direction: column;
        gap: 15px;
    }

    .nav-right-section {
        flex-direction: column;
        gap: 15px;
    }

    .adaptable-box {
        padding: 30px;
    }
}
