/* =====================================================
   VARIABLES ET RESET
   ===================================================== */

:root {
    --color-cream: #f2e9dc;
    --color-cream-dark: #e8ded1;
    --color-white: #FFFFFF;
    --color-black: #272757;
    --color-gray: #4a4a48;
    --color-gold: #cbb89d;
    --color-whatsapp: #25D366;
    
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Inter', sans-serif;
    
    --transition: all 0.3s ease;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--color-black);
    background-color: var(--color-cream);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.container-nav {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.container-wide {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 40px;
}

/* =====================================================
   NAVIGATION
   ===================================================== */

.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    background-color: var(--color-white);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 12px 50px;
    border-radius: 60px;
    width: 85%;
    max-width: 1400px;
    min-width: 1100px;
}

.container-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    padding: 0;
    max-width: none;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    margin-right: 40px;
}

.logo img {
    height: 45px;
    width: auto;
}

.nav-menu {
    display: flex;
    gap: 50px;
    align-items: center;
    flex: 1;
    justify-content: flex-start;
    padding-left: 20px;
}

.nav-link {
    font-size: 15px;
    font-weight: 400;
    color: var(--color-black);
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--color-gold);
}

.nav-link-bold {
    font-weight: 700;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: auto;
    padding-left: 80px;
}

.btn-contact {
    padding: 12px 28px;
    background-color: var(--color-black);
    color: var(--color-white);
    font-size: 13px;
    font-weight: 500;
    border-radius: 25px;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-contact:hover {
    background-color: var(--color-gold);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background-color: var(--color-black);
    transition: var(--transition);
}

/* =====================================================
   HERO SECTION
   ===================================================== */

.version-indicator {
    position: fixed;
    top: 120px;
    right: 30px;
    background-color: #ff0000;
    color: #ffffff;
    padding: 25px 35px;
    border-radius: 12px;
    font-weight: bold;
    font-size: 24px;
    z-index: 99999;
    box-shadow: 0 8px 30px rgba(255, 0, 0, 0.6);
    border: 3px solid white;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-top: 0;
    margin-bottom: 0;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--color-white);
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: 58px;
    font-weight: 600;
    margin-bottom: 25px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 40px;
    font-weight: 300;
    opacity: 0.95;
}

.hero-tags {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.hero-tag {
    padding: 10px 24px;
    background-color: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 25px;
    font-size: 14px;
    backdrop-filter: blur(10px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    min-width: 200px;
    text-align: center;
    white-space: nowrap;
}

.hero-tag-active {
    background-color: var(--color-white);
    color: var(--color-black);
    border-color: var(--color-white);
}

.btn-hero {
    display: inline-block;
    padding: 15px 50px;
    background-color: transparent;
    color: var(--color-white);
    border: 2px solid var(--color-white);
    border-radius: 30px;
    font-size: 15px;
    font-weight: 500;
    transition: var(--transition);
}

.btn-hero:hover {
    background-color: var(--color-white);
    color: var(--color-black);
}

/* =====================================================
   SECTIONS COMMUNES
   ===================================================== */

.section {
    padding: 100px 0 60px 0;
    position: relative;
    min-height: auto;
}

.section-title {
    font-family: var(--font-serif);
    font-size: 48px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 10px;
    color: var(--color-black);
}

.section-genese .section-title {
    font-size: 48px;
    margin-bottom: 15px;
    padding-top: 0;
}

.section-title em {
    font-style: italic;
}

.section-divider {
    width: 60px;
    height: 2px;
    background-color: var(--color-black);
    margin: 0 auto 30px;
}

.section-genese .section-divider {
    margin: 0 auto 100px;
}

.section-intro {
    text-align: center;
    font-size: 20px;
    color: var(--color-gray);
    max-width: 800px;
    margin: 0 auto 40px;
}


/* =====================================================
   UNE VIE SECTION
   ===================================================== */

.section-unevie {
    background-color: var(--color-cream);
    padding: 100px 40px 140px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.unevie-container {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 0;
    max-width: 1100px;
    margin: 0 auto;
    height: 500px;
}

.unevie-image {
    position: relative;
    overflow: hidden;
    height: 100%;
}

.unevie-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px 0 0 12px;
}

.unevie-content {
    background-color: var(--color-white);
    padding: 40px;
    border-radius: 0 12px 12px 0;
    box-shadow: var(--shadow);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.unevie-content .section-title {
    text-align: left;
    margin-bottom: 8px;
    font-size: 36px;
}

.unevie-content .section-divider {
    margin: 0 0 30px 0;
}

.unevie-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.unevie-item {
    border-left: 3px solid var(--color-black);
    padding-left: 20px;
    transition: var(--transition);
}

.unevie-item:hover {
    border-left-color: var(--color-gold);
}

.unevie-label {
    font-family: var(--font-serif);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--color-black);
}

.unevie-description {
    color: var(--color-gray);
    line-height: 1.5;
    font-size: 14px;
    margin: 0;
}

/* =====================================================
   PROJETS SECTION
   ===================================================== */

.section-projets {
    background-color: var(--color-cream);
    padding: 120px 0 80px 0;
    min-height: 100vh;
}

.projets-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 40px;
}

.projets-video {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.projets-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 12px;
}

.projets-text {
    color: var(--color-gray);
    line-height: 1.8;
    font-size: 16px;
}

.projets-text p {
    margin-bottom: 20px;
}

.projets-text p:last-child {
    margin-bottom: 0;
}

/* =====================================================
   TÉMOIGNAGES SECTION
   ===================================================== */

.section-temoignages {
    background-color: var(--color-cream);
    min-height: 100vh;
    padding-top: 110px;
    padding-bottom: 80px;
}

.temoignages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 50px;
    max-width: 1300px;
    margin: 80px auto 0;
}

.temoignage-card {
    background-color: var(--color-white);
    padding: 30px 25px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    transform: scale(1.1);
}

.temoignage-card:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.temoignage-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: var(--color-cream-dark);
    margin: 0 auto 20px;
    border: 3px solid var(--color-black);
    overflow: hidden;
}

.temoignage-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.temoignage-name {
    font-family: var(--font-serif);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--color-black);
}

.temoignage-text {
    color: var(--color-gray);
    line-height: 1.7;
    font-size: 15px;
    font-style: italic;
}

.temoignage-text::before {
    content: '« ';
}

.temoignage-text::after {
    content: ' »';
}

/* =====================================================
   QUI SOMMES-NOUS SECTION
   ===================================================== */

.section-quisommesnous {
    background-color: var(--color-cream);
    padding: 120px 40px 140px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.qui-sommes-nous-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    max-width: 1100px;
    margin: 0 auto;
    height: 500px;
}

.qui-sommes-nous-image {
    position: relative;
    height: 100%;
    overflow: hidden;
    border-radius: 12px 0 0 12px;
    box-shadow: var(--shadow);
}

.qui-sommes-nous-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.qui-sommes-nous-content {
    padding: 40px;
    background-color: var(--color-white);
    border-radius: 0 12px 12px 0;
    box-shadow: var(--shadow);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.qui-sommes-nous-content .section-title {
    text-align: left;
    margin-bottom: 8px;
    font-size: 36px;
}

.qui-sommes-nous-content .section-divider {
    margin: 0 0 25px 0;
}

.qui-sommes-nous-content p {
    color: var(--color-gray);
    line-height: 1.6;
    font-size: 14px;
    margin-bottom: 15px;
}

.qui-sommes-nous-content p:last-child {
    margin-bottom: 0;
}

/* =====================================================
   FAQ SECTION
   ===================================================== */

.section-faq {
    background-color: var(--color-cream);
    min-height: auto;
    padding-top: 120px;
    padding-bottom: 80px;
}

.faq-wrapper {
    display: grid;
    grid-template-columns: 200px 1fr 200px;
    gap: 40px;
    align-items: start;
}

.faq-images-left,
.faq-images-right {
    display: flex;
    flex-direction: column;
    gap: 30px;
    position: sticky;
    top: 120px;
}

.faq-img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.faq-img.polaroid {
    border: 8px solid white;
    border-bottom-width: 30px;
    transform: rotate(-3deg);
    transition: var(--transition);
}

.faq-img.polaroid:nth-child(2) {
    transform: rotate(2deg);
}

.faq-img.polaroid:nth-child(3) {
    transform: rotate(-4deg);
}

.faq-img.polaroid:nth-child(4) {
    transform: rotate(3deg);
}

.faq-img.polaroid:nth-child(5) {
    transform: rotate(-2deg);
}

.faq-img.polaroid:nth-child(6) {
    transform: rotate(4deg);
}

.faq-img.polaroid:hover {
    transform: rotate(0deg) scale(1.05);
    z-index: 10;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--color-white);
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.faq-question {
    width: 100%;
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    font-family: var(--font-serif);
    font-size: 20px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    background-color: var(--color-white);
}

.faq-question:hover {
    background-color: var(--color-cream);
}

.faq-icon {
    font-size: 28px;
    font-weight: 300;
    transition: var(--transition);
    flex-shrink: 0;
    margin-left: 20px;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 30px 25px 30px;
    color: var(--color-gray);
    line-height: 1.8;
    font-size: 16px;
}

/* =====================================================
   CONTACT SECTION
   ===================================================== */

.section-contact {
    position: relative;
    min-height: 30vh;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 60px 0 60px 60px;
}

.contact-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.contact-bg img,
.contact-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
}

.contact-content {
    position: absolute;
    bottom: 60px;
    left: 100px;
    z-index: 1;
    text-align: left;
    color: var(--color-white);
    max-width: 350px;
}

.contact-title {
    font-family: var(--font-serif);
    font-size: 26px;
    margin-bottom: 12px;
    font-weight: 600;
}

.contact-email,
.contact-phone {
    font-size: 14px;
    margin-bottom: 8px;
}

.btn-rdv {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 25px;
    background-color: var(--color-white);
    color: var(--color-black);
    border-radius: 20px;
    font-weight: 500;
    font-size: 13px;
    transition: var(--transition);
}

.btn-rdv:hover {
    background-color: var(--color-gold);
    color: var(--color-white);
}

/* =====================================================
   SECTION FORMULAIRE
   ===================================================== */

.section-formulaire {
    background-color: #f8f8f6;
    padding: 80px 0 100px;
}

.formulaire-wrapper {
    max-width: 800px;
    margin: 50px auto 0;
    background-color: var(--color-white);
    padding: 60px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.contact-form-centered {
    width: 100%;
}

.form-label {
    display: block;
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 600;
    color: var(--color-black);
    margin-bottom: 8px;
    letter-spacing: 0.3px;
}

.contact-form-centered .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 25px;
}

.contact-form-centered .form-group {
    width: 100%;
}

.contact-form-centered .form-input,
.contact-form-centered .form-textarea {
    width: 100%;
    padding: 14px 18px;
    background-color: #f8f8f6;
    border: 2px solid transparent;
    border-radius: 10px;
    font-size: 15px;
    font-family: var(--font-sans);
    color: var(--color-black);
    transition: var(--transition);
}

.contact-form-centered .form-input:focus,
.contact-form-centered .form-textarea:focus {
    outline: none;
    background-color: var(--color-white);
    border-color: var(--color-gold);
}

.contact-form-centered .form-input::placeholder,
.contact-form-centered .form-textarea::placeholder {
    color: rgba(0, 0, 0, 0.4);
}

.contact-form-centered .form-textarea {
    resize: vertical;
    min-height: 150px;
    margin-bottom: 30px;
}

.contact-form-centered .btn-submit {
    width: 100%;
    padding: 18px 40px;
    background-color: var(--color-black);
    color: var(--color-white);
    border: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 15px;
    font-family: var(--font-sans);
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-form-centered .btn-submit:hover {
    background-color: var(--color-gold);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* =====================================================
   FOOTER
   ===================================================== */

.footer {
    background-color: #4a4a48;
    color: var(--color-white);
    padding: 40px 0;
    text-align: center;
}

.footer-text {
    font-size: 15px;
    opacity: 0.8;
    margin-bottom: 10px;
}

.footer-copyright {
    font-size: 13px;
    opacity: 0.6;
    margin-top: 10px;
}

/* =====================================================
   RESPONSIVE
   ===================================================== */

@media screen and (max-width: 968px) {
    .container,
    .container-nav,
    .container-wide {
        padding: 0 25px;
    }
    
    .faq-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .faq-images-left,
    .faq-images-right {
        display: none;
    }
    
    .navbar {
        top: 10px;
        padding: 12px 20px;
        max-width: 95%;
    }
    
    .logo {
        margin-right: 10px;
    }
    
    .logo img {
        height: 60px;
    }
    
    .nav-menu {
        position: fixed;
        top: 90px;
        right: -100%;
        width: 280px;
        height: calc(100vh - 90px);
        background-color: var(--color-white);
        flex-direction: column;
        padding: 40px;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        transition: var(--transition);
        align-items: flex-start;
        border-radius: 20px;
        margin-right: 0;
    }
    
    .nav-menu.active {
        right: 10px;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero-title {
        font-size: 42px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .section-title {
        font-size: 38px;
    }
    
    .unevie-container {
        grid-template-columns: 1fr;
    }
    
    .unevie-image {
        min-height: 400px;
    }
    
    .unevie-image img {
        border-radius: 12px 12px 0 0;
    }
    
    .unevie-content {
        padding: 40px 30px;
        border-radius: 0 0 12px 12px;
    }
    
    .unevie-list {
        gap: 25px;
    }
    
    .projets-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .temoignages-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .qui-sommes-nous-container {
        grid-template-columns: 1fr;
    }
    
    .qui-sommes-nous-image {
        min-height: 400px;
    }
    
    .qui-sommes-nous-content {
        padding: 40px 30px;
        border-radius: 0 0 12px 12px;
    }
    
    .qui-sommes-nous-image img {
        border-radius: 12px 12px 0 0;
    }
    
    .polaroid {
        width: 120px;
    }
    
    .polaroid-1,
    .polaroid-2 {
        display: none;
    }
}

@media screen and (max-width: 480px) {
    .navbar {
        top: 8px;
        padding: 10px 15px;
    }
    
    .logo img {
        height: 50px;
    }
    
    .btn-contact {
        padding: 10px 20px;
        font-size: 12px;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .hero-tags {
        flex-direction: column;
        align-items: center;
    }
    
    .letter-paper {
        padding: 30px 20px;
    }
    
    .faq-question {
        font-size: 17px;
        padding: 20px;
    }
    
    .temoignages-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .unevie-content {
        padding: 30px 20px;
    }
    
    .unevie-list {
        gap: 20px;
    }
    
    .unevie-label {
        font-size: 20px;
    }
    
    .qui-sommes-nous-content {
        padding: 30px 20px;
    }
    
    .contact-content {
        left: 20px;
        right: 20px;
        max-width: 100%;
    }
    
    .formulaire-wrapper {
        padding: 30px 20px;
        margin-top: 30px;
    }
    
    .contact-form-centered .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .section-formulaire {
        padding: 50px 0 60px;
    }
}

