/* ========================================
   SCI-EOR - STYLESHEET
   Version WYSIWYG pour Dreamweaver
   ======================================== */

/* ========================================
   1. VARIABLES ET RESET
   ======================================== */

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

:root {
    /* Couleurs principales */
    --color-primary: #E63384;      /* Rose/Magenta */
    --color-secondary: #1E3A5F;    /* Bleu foncé */
    --color-accent: #7FD8BE;       /* Vert clair */
    --color-background: #FFFFFF;
    --color-text: #1a1a1a;
    --color-text-light: #666666;
    --color-border: #e5e5e5;
    
    /* Typographie */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Espacements */
    --container-width: 1200px;
    --section-padding: 80px 0;
    --header-height: 80px;
}

body {
    font-family: var(--font-family);
    color: var(--color-text);
    line-height: 1.6;
    background-color: var(--color-background);
}

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

/* ========================================
   2. HEADER / NAVIGATION
   ======================================== */

#header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
    z-index: 1000;
    height: var(--header-height);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    height: 48px;
    width: 48px;
}

.logo-text h1 {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.2;
}

.logo-text p {
    font-size: 12px;
    color: var(--color-text-light);
}

/* Navigation Desktop */
.nav-desktop {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-desktop a {
    color: var(--color-text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-desktop a:hover {
    color: var(--color-primary);
}

/* Bouton primaire */
.btn-primary {
    background-color: var(--color-primary);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-block;
    border: 2px dashed white;
}

.btn-primary:hover {
    background-color: #d12a75;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(230, 51, 132, 0.3);
}

/* Menu Mobile Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--color-text);
    transition: 0.3s;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Navigation Mobile */
.nav-mobile {
    display: none;
    flex-direction: column;
    gap: 16px;
    padding: 20px 0;
    border-top: 1px solid var(--color-border);
}

.nav-mobile.active {
    display: flex;
}

.nav-mobile a {
    color: var(--color-text);
    text-decoration: none;
    font-weight: 500;
    padding: 8px 0;
    text-align: left;
}

.nav-mobile a:hover {
    color: var(--color-primary);
}

/* ========================================
   3. SECTION HERO / CARROUSEL
   ======================================== */

.hero {
    margin-top: var(--header-height);
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
}

.carousel {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(30, 58, 95, 0.6);
}

.carousel-content {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    color: white;
}

.slide-number {
    font-size: 96px;
    font-weight: 700;
    color: var(--color-primary);
    opacity: 0.5;
    display: block;
    margin-bottom: 16px;
}

.carousel-content h2 {
    font-size: clamp(40px, 7vw, 72px);
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.1;
}

.carousel-content .highlight {
    color: var(--color-primary);
    font-style: italic;
}

.carousel-content .subtitle {
    font-size: clamp(20px, 3vw, 28px);
    color: var(--color-accent);
    font-weight: 600;
    margin-bottom: 8px;
}

.carousel-content .description {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
    max-width: 600px;
}

/* Navigation Carrousel */
.carousel-nav {
    position: absolute;
    bottom: 32px;
    left: 0;
    right: 0;
}

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

.carousel-prev,
.carousel-next {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: white;
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s;
}

.carousel-prev:hover,
.carousel-next:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.carousel-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    width: 32px;
    border-radius: 4px;
    background-color: var(--color-primary);
}

/* ========================================
   4. SECTIONS COMMUNES
   ======================================== */

section {
    padding: var(--section-padding);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-number {
    font-size: 72px;
    font-weight: 700;
    color: var(--color-primary);
    opacity: 0.2;
    display: block;
    line-height: 1;
}

.section-header h2 {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    margin: 16px 0;
}

.section-header .highlight {
    color: var(--color-primary);
    font-style: italic;
}

.section-header p {
    font-size: 18px;
    color: var(--color-text-light);
    max-width: 700px;
    margin: 0 auto;
}

/* ========================================
   5. SECTION NOS BIENS
   ======================================== */

.section-biens {
    background-color: #f9f9f9;
}

.biens-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    margin-bottom: 40px;
}

.bien-card {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    position: relative;
}

.bien-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.bien-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background-color: var(--color-primary);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    z-index: 10;
}

.bien-badge.loue {
    background-color: #999999;
}

.bien-card.bien-loue {
    opacity: 0.7;
}

.bien-card.bien-loue:hover {
    transform: none;
    opacity: 0.7;
}

.bien-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.bien-content {
    padding: 24px;
}

.bien-content h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--color-secondary);
}

.bien-price {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 16px;
}

.bien-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bien-details span {
    font-size: 14px;
    color: var(--color-text-light);
    display: flex;
    align-items: center;
    gap: 8px;
}

.bien-details span::before {
    content: "✓";
    color: var(--color-accent);
    font-weight: 700;
}

.section-note {
    text-align: center;
    font-size: 14px;
    color: var(--color-text-light);
    font-style: italic;
}

/* ========================================
   6. SECTION STATISTIQUES
   ======================================== */

.section-stats {
    background-color: var(--color-secondary);
    color: white;
}

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

.stat-item {
    text-align: center;
}

.stat-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
}

/* ========================================
   7. SECTION À PROPOS
   ======================================== */

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

.apropos-text h3 {
    font-size: 24px;
    margin: 32px 0 16px;
    color: var(--color-secondary);
}

.apropos-text p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.apropos-text strong {
    color: var(--color-primary);
}

.apropos-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 32px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 12px;
}

.highlight-icon {
    font-size: 40px;
}

.highlight-text h4 {
    font-size: 18px;
    margin-bottom: 4px;
    color: var(--color-secondary);
}

.highlight-text p {
    font-size: 14px;
    color: var(--color-text-light);
    margin: 0;
}

.apropos-image {
    position: relative;
}

.apropos-image img {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 24px;
}

.localisation-box {
    background-color: var(--color-secondary);
    color: white;
    padding: 24px;
    border-radius: 12px;
}

.localisation-box h4 {
    font-size: 20px;
    margin-bottom: 16px;
}

.localisation-box p {
    margin-bottom: 16px;
    line-height: 1.6;
}

.localisation-box ul {
    list-style: none;
    padding: 0;
}

.localisation-box li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
}

.localisation-box li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: 700;
}

/* ========================================
   8. SECTION LOCALISATION
   ======================================== */

.section-localisation {
    background-color: #f9f9f9;
}

.map-container {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 40px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.transport-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.transport-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.transport-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.transport-text h4 {
    font-size: 18px;
    margin-bottom: 4px;
    color: var(--color-secondary);
}

.transport-text p {
    font-size: 14px;
    color: var(--color-text-light);
    margin: 0;
}

/* ========================================
   9. SECTION CONTACT
   ======================================== */

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.contact-text h4 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--color-secondary);
}

.contact-text p {
    font-size: 14px;
    color: var(--color-text-light);
    margin: 0;
    line-height: 1.6;
}

.contact-text a {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
}

.contact-text a:hover {
    text-decoration: underline;
}

/* Formulaire */
.contact-form {
    background-color: #f9f9f9;
    padding: 40px;
    border-radius: 12px;
}

.contact-form h3 {
    font-size: 24px;
    margin-bottom: 24px;
    color: var(--color-secondary);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--color-secondary);
}

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

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

.form-group textarea {
    resize: vertical;
}

.contact-form .btn-primary {
    width: 100%;
    cursor: pointer;
    border: 2px dashed white;
}

/* ========================================
   10. FOOTER
   ======================================== */

.footer {
    background-color: var(--color-secondary);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--color-primary);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-logo img {
    height: 40px;
    width: 40px;
}

.footer-logo h3 {
    font-size: 20px;
    color: white;
}

.footer-col p {
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 12px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col li {
    margin-bottom: 12px;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: var(--color-primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

/* ========================================
   11. RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 768px) {
    /* Header */
    .nav-desktop {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    /* Hero */
    .slide-number {
        font-size: 64px;
    }
    
    /* Sections */
    .section-number {
        font-size: 48px;
    }
    
    /* À propos */
    .apropos-content {
        grid-template-columns: 1fr;
    }
    
    .apropos-highlights {
        grid-template-columns: 1fr;
    }
    
    /* Contact */
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .biens-grid {
        grid-template-columns: 1fr;
    }
    
    .transport-info {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   12. ANIMATIONS
   ======================================== */

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

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}
