/* ===================================
VARIABLES & RESET
   =================================== */

:root {
    /* Couleurs */
    --color-bg: #292d2e;
    --color-bg-light: #35393a;
    --color-bg-dark: #1f2223;
    --color-text: #FFFFFF;
    --color-accent: #D4AF37;
    
    /* Typographie */
    --font-heading: 'Roboto condensed', serif;
    --font-body: 'Roboto condensed', serif;
    /*--font-heading: 'Playfair Display', serif;
    --font-body: 'Poppins', sans-serif;*/
    
    /* Espacements */
    --spacing-xs: 1rem;
    --spacing-sm: 2rem;
    --spacing-md: 4rem;
    --spacing-lg: 6rem;
    --spacing-xl: 8rem;
    --spacing-xxl: 12rem;
    
    /* Transitions */
    --transition-smooth: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.3s ease;
    
    /* Container */
    --container-max-width: 1400px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-weight: 300;
    line-height: 1.8;
    color: var(--color-text);
    background-color: var(--color-bg);
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

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

ul {
    list-style: none;
}
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: #000;
  color: #fff;
  padding: 8px 16px;
  text-decoration: none;
  z-index: 100;
}
.skip-link:focus {
  top: 0;
}   
/* ===================================
   UTILITAIRES
   =================================== */

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

.container-fluid {
    width: 100%;
    padding: 0;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 400;
    margin-bottom: var(--spacing-md);
    color: var(--color-text);
}

.section-title--center {
    text-align: center;
}

/* Boutons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    transition: var(--transition-fast);
    cursor: pointer;
}

.btn--primary {
    border: 2px solid var(--color-accent);
    background: transparent;
    color: var(--color-text);
}

.btn--primary:hover {
    background: var(--color-accent);
    color: var(--color-bg);
    transform: translateY(-2px);
}

.btn--secondary {
    background: var(--color-accent);
    color: var(--color-bg);
    border: 2px solid var(--color-accent);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
}

.btn--secondary:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.4);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
}

/* ===================================
   HEADER
   =================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: var(--spacing-sm) 0;
    transition: var(--transition-fast);
}

.header.scrolled {
    background: rgba(41, 45, 46, 0.95);
    backdrop-filter: blur(10px);
    padding: var(--spacing-xs) 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.header__container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-xs);
}

.header__logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 400;
    letter-spacing: 2px;
    color: var(--color-text);
    display: inline-block;
    line-height: 1;
}

.header__logo-img {
    height: 100px;
    width: auto;
    display: block;
    transition: var(--transition-fast);
}

.header.scrolled .header__logo-img {
    height: 40px;
}

.nav__list {
    display: flex;
    gap: var(--spacing-md);
}

.nav__link {
    font-size: 0.95rem;
    font-weight: 300;
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 5px;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-accent);
    transition: width 0.3s ease;
}

.nav__link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    position: absolute;
    right: var(--spacing-sm);
    top: 50%;
    transform: translateY(-50%);
    z-index: 1001;
}

.hamburger__line {
    width: 30px;
    height: 2px;
    background: var(--color-accent);
    transition: var(--transition-fast);
}

.hamburger.active .hamburger__line:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active .hamburger__line:nth-child(2) {
    opacity: 0;
}

.hamburger.active .hamburger__line:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* ===================================
   SCROLL PROGRESS BAR
   =================================== */

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(41, 45, 46, 0.3);
    z-index: 9999;
    pointer-events: none;
}

.scroll-progress__bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--color-accent) 0%, rgba(212, 175, 55, 0.6) 100%);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
    transition: width 0.1s ease-out;
}

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

.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: background-image 1s ease-in-out;
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(31, 34, 35, 0.75) 0%, rgba(41, 45, 46, 0.65) 100%);
}

.hero__content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 900px;
    padding: 0 var(--spacing-sm);
}

.hero__title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 400;
    line-height: 1.2;
    margin-top: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
    color: var(--color-text);
}

.hero__subtitle {
    font-size: clamp(1rem, 2vw, 1.3rem);
    font-weight: 300;
    margin-bottom: var(--spacing-md);
    color: rgba(255, 255, 255, 0.9);
}

.hero__cta {
    margin-top: var(--spacing-sm);
}

/* ===================================
   ABOUT SECTION
   =================================== */

.about {
    padding: var(--spacing-xl) 0;
    background: var(--color-bg-light);
}

.about__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.about__image-wrapper {
    position: relative;
    overflow: hidden;
}

.about__image {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    filter: grayscale(100%);
    transition: var(--transition-smooth);
}

.about__image:hover {
    transform: scale(1.05);
}

.about__content {
    padding: var(--spacing-md);
}

.about__text {
    font-size: 1.1rem;
    line-height: 2;
    margin-bottom: var(--spacing-md);
    color: rgba(255, 255, 255, 0.85);
}

.about__signature {
    margin-top: var(--spacing-md);
}

/* ===================================
   FEATURES SECTION
   =================================== */

.features {
    padding: var(--spacing-xl) 0;
    background: var(--color-bg-light);
}

.features__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.feature-card {
    text-align: center;
    padding: var(--spacing-md);
    transition: var(--transition-smooth);
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-card__icon {
    margin: 0 auto var(--spacing-sm);
    display: inline-block;
}

.feature-card__title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: var(--spacing-xs);
    color: var(--color-accent);
}

.feature-card__text {
    font-size: 0.95rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.75);
}

/* ===================================
   GALLERY GRID
   =================================== */

.gallery {
    padding: var(--spacing-xl) 0;
    background: var(--color-bg);
}

.gallery__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.gallery__item {
    position: relative;
    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: var(--transition-smooth);
    background: var(--color-bg-dark);
}

.gallery__item:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.2);
}

.gallery__image {
    width: 100%;
    height: 600px;
    object-fit: cover;
    filter: saturate(0.5) brightness(0.85);
    transition: var(--transition-smooth);
    display: block;
    clip-path: inset(0 0 10px 0);
}

.gallery__item:hover .gallery__image {
    filter: saturate(0.8) brightness(1);
}

.gallery__category {
    position: absolute;
    top: var(--spacing-xs);
    right: var(--spacing-xs);
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    z-index: 2;
    transition: var(--transition-fast);
}

.gallery__category--custom {
    background: var(--color-accent);
    color: var(--color-bg-dark);
}

.gallery__category--renovation {
    background: rgba(255, 255, 255, 0.15);
    color: var(--color-text);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.gallery__category--premium {
    background: linear-gradient(135deg, #D4AF37 0%, #C5A028 100%);
    color: var(--color-bg-dark);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.gallery__caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(31, 34, 35, 0.95) 0%, rgba(31, 34, 35, 0.7) 70%, transparent 100%);
    backdrop-filter: blur(10px);
    padding: var(--spacing-sm);
    border-left: 3px solid var(--color-accent);
    transform: translateY(0);
    transition: var(--transition-smooth);
}

.gallery__project-name {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
    color: var(--color-accent);
}

.gallery__project-type {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.gallery__cta-wrapper {
    text-align: center;
    margin-top: var(--spacing-lg);
}

.gallery__cta {
    display: inline-block;
}

/* ===================================
   MODAL
   =================================== */

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.active {
    display: flex;
    opacity: 1;
}

.modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(31, 34, 35, 0.95);
    backdrop-filter: blur(10px);
    cursor: pointer;
}

.modal__container {
    position: relative;
    max-width: 1200px;
    max-height: 90vh;
    width: 90%;
    background: var(--color-bg-dark);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: scale(0.9);
    transition: transform 0.3s ease;
    z-index: 10001;
}

.modal.active .modal__container {
    transform: scale(1);
}

.modal__close {
    position: absolute;
    top: var(--spacing-sm);
    right: var(--spacing-sm);
    width: 40px;
    height: 40px;
    background: rgba(41, 45, 46, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10002;
    transition: var(--transition-fast);
    cursor: pointer;
}

.modal__close:hover {
    background: var(--color-accent);
    transform: rotate(90deg);
}

.modal__close:hover svg path {
    stroke: var(--color-bg);
}

.modal__content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    max-height: 90vh;
    overflow: hidden;
}

.modal__image-wrapper {
    position: relative;
    background: var(--color-bg);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}

.modal__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.7) brightness(0.9);
}

.modal__info {
    padding: var(--spacing-lg);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    max-height: 90vh;
}

/* Custom scrollbar for modal */
.modal__info::-webkit-scrollbar {
    width: 8px;
}

.modal__info::-webkit-scrollbar-track {
    background: var(--color-bg);
}

.modal__info::-webkit-scrollbar-thumb {
    background: var(--color-accent);
    border-radius: 4px;
}

.modal__info::-webkit-scrollbar-thumb:hover {
    background: rgba(212, 175, 55, 0.8);
}

.modal__title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 400;
    color: var(--color-accent);
    margin-bottom: var(--spacing-xs);
}

.modal__type {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 300;
    margin-bottom: var(--spacing-sm);
}

.modal__divider {
    width: 60px;
    height: 2px;
    background: var(--color-accent);
    margin: var(--spacing-sm) 0;
}

.modal__description {
    font-size: 1rem;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: var(--spacing-md);
    flex-grow: 0;
    min-height: auto;
}

.modal__cta {
    margin-top: var(--spacing-sm);
    align-self: flex-start;
    flex-shrink: 0;
}

/* ===================================
   CTA SECTION
   =================================== */

.cta {
    position: relative;
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1f2223 0%, #292d2e 100%);
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1606744824163-985d376605aa?w=1920&h=1080&fit=crop&sat=-50');
    background-size: cover;
    background-position: center;
    opacity: 0.15;
}

.cta__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(41, 45, 46, 0.6) 0%, rgba(31, 34, 35, 0.9) 100%);
}

.cta__content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 800px;
    padding: 0 var(--spacing-sm);
}

.cta__title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 400;
    margin-bottom: var(--spacing-sm);
    color: var(--color-accent);
}

.cta__subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    font-weight: 300;
    margin-bottom: var(--spacing-md);
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.cta__button {
    margin-top: var(--spacing-sm);
}

/* ===================================
   PAGE RÉALISATIONS
   =================================== */

.realisations-hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-lg) 0 var(--spacing-lg);
    margin-top: 210px; /* Hauteur du header */
    background: linear-gradient(135deg, var(--color-bg-dark) 0%, var(--color-bg) 100%);
}

.realisations-hero__content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.realisations-hero__title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 400;
    margin-bottom: var(--spacing-md);
    color: var(--color-text);
}

.realisations-hero__subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 300;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
}

.gallery-full {
    padding: var(--spacing-xl) 0;
    background: var(--color-bg);
}

.gallery__back-wrapper {
    text-align: center;
    margin-top: var(--spacing-lg);
}

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

.footer {
    padding: var(--spacing-lg) 0 var(--spacing-sm);
    background: var(--color-bg-dark);
}

.footer__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
}

.footer__left {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.footer__social {
    display: flex;
    gap: var(--spacing-sm);
}

.footer__social-link {
    display: inline-block;
    transition: var(--transition-fast);
}

.footer__social-link:hover {
    transform: translateY(-5px);
}

.footer__social-link:hover svg path,
.footer__social-link:hover svg rect,
.footer__social-link:hover svg circle {
    stroke: var(--color-text);
}

.footer__contact p {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.footer__right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.footer__title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--color-accent);
    margin-bottom: var(--spacing-xs);
    padding-right: 14%;
}

.footer__cities {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    list-style: none;
}

.footer__city {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    padding: 0.25rem 0;
    text-align: left;
}

.footer__link {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition-fast);
}

.footer__link:hover {
    color: var(--color-accent);
}

.footer__legal {
    grid-column: 1 / -1;
    text-align: center;
    padding-top: var(--spacing-sm);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.footer__link-separator{
    padding: 10px;
}
.footer__copyright {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: var(--spacing-xs);
}

.footer__links {
    font-size: 0.85rem;
}

.footer__separator {
    margin: 0 var(--spacing-xs);
    color: rgba(255, 255, 255, 0.3);
}

/* ===================================
   FORMULAIRE DE CONTACT
   =================================== */

.modal__container--form {
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
}

/* Scrollbar personnalisée pour le formulaire */
.modal__container--form::-webkit-scrollbar {
    width: 3px;
}

.modal__container--form::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

.modal__container--form::-webkit-scrollbar-thumb {
    background: var(--color-accent);
    border-radius: 2px;
}

.modal__container--form::-webkit-scrollbar-thumb:hover {
    background: rgba(212, 175, 55, 0.8);
}

.contact-form {
    padding: var(--spacing-lg) var(--spacing-md);
}

.contact-form__title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 400;
    color: var(--color-accent);
    margin-bottom: var(--spacing-xs);
    text-align: center;
}

.contact-form__subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    margin-bottom: var(--spacing-md);
}

.contact-form__form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-sm);
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-label {
    font-size: 0.95rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.5rem;
}

.required {
    color: var(--color-accent);
}

.form-input,
.form-textarea {
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

/* Masquer les flèches des inputs de type number */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield;
    appearance: textfield;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    background: rgba(255, 255, 255, 0.08);
}

.form-input--inline {
    margin-top: 0.5rem;
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

/* Checkboxes personnalisées */
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkbox-custom {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 3px;
    margin-right: 0.75rem;
    position: relative;
    transition: var(--transition-fast);
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom {
    background: var(--color-accent);
    border-color: var(--color-accent);
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--color-bg);
    font-size: 0.85rem;
    font-weight: bold;
}

/* Radio buttons personnalisés */
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.radio-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
}

.radio-label input[type="radio"] {
    display: none;
}

.radio-custom {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    margin-right: 0.75rem;
    position: relative;
    transition: var(--transition-fast);
}

.radio-label input[type="radio"]:checked + .radio-custom {
    border-color: var(--color-accent);
}

.radio-label input[type="radio"]:checked + .radio-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: var(--color-accent);
    border-radius: 50%;
}

.form-submit {
    width: 100%;
    margin-top: var(--spacing-sm);
    padding: 1rem;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

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

@media (max-width: 1024px) {
    :root {
        --spacing-xl: 6rem;
        --spacing-xxl: 8rem;
    }
    
    .features__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --spacing-sm: 1.5rem;
        --spacing-md: 3rem;
        --spacing-lg: 4rem;
        --spacing-xl: 5rem;
    }
    
    /* Header Mobile */
    .header__container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    
    .header__logo-img {
        height: 40px;
    }
    
    .header.scrolled .header__logo-img {
        height: 35px;
    }
    
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(41, 45, 46, 0.98);
        backdrop-filter: blur(10px);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: right 0.4s ease;
        z-index: 999;
    }
    
    .nav.active {
        right: 0;
    }
    
    .nav__list {
        flex-direction: column;
        gap: var(--spacing-sm);
        text-align: center;
    }
    
    .nav__link {
        font-size: 3rem;
    }
    
    .hamburger {
        display: flex;
    }
    
    /* About Section Mobile */
    .about__grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .about__content {
        padding: 0;
    }
    
    /* Features Mobile */
    .features__grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }
    
    /* Formulaire Mobile */
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        padding: var(--spacing-md) var(--spacing-sm);
    }
    
    /* Gallery Mobile */
    .gallery__grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }
    
    .gallery__image {
        height: 80%;
    }
    
    .gallery__caption {
        padding: var(--spacing-xs);
    }
    
    .gallery__project-name {
        font-size: 1.2rem;
    }
    
    .gallery__project-type {
        font-size: 0.85rem;
    }
    
    /* CTA Mobile */
    .cta {
        height: 60vh;
    }
    
    /* Processus Mobile */
    .step {
        grid-template-columns: 80px 1fr;
        gap: var(--spacing-sm);
        margin-bottom: var(--spacing-lg);
    }
    
    .step:not(:last-child)::after {
        left: 40px;
        top: 80px;
        height: calc(100% + var(--spacing-lg) - 80px);
    }
    
    .step--reverse {
        grid-template-columns: 80px 1fr;
    }
    
    .step--reverse .step__number {
        order: 1;
    }
    
    .step--reverse .step__content {
        order: 2;
        text-align: left;
    }
    
    .step--reverse::after {
        left: 40px;
        right: auto;
    }
    
    .step__number-text {
        width: 70px;
        height: 70px;
        font-size: 1.5rem;
    }
    
    .step--reverse .step__list {
        padding-left: 2rem;
        padding-right: 0;
    }
    
    .step--reverse .step__list li {
        padding-left: 2rem;
        padding-right: 0;
    }
    
    .step--reverse .step__list li::before {
        left: 0;
        right: auto;
        content: '→';
    }
    
    /* Footer Mobile */
    .footer__content {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .footer__right {
        align-items: flex-start;
    }

    .footer__cities {
        grid-template-columns: repeat(2,1fr);
    }
    
    .footer__links {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .footer__separator {
        display: none;
    }
    
    /* Modal Mobile */
    .modal__container {
        width: 95%;
        max-height: 95vh;
    }
    
    .modal__content {
        grid-template-columns: 1fr;
        max-height: 95vh;
        overflow-y: auto;
    }
    
    .modal__image-wrapper {
        max-height: 65vh;
        min-height: 350px;
    }
    
    .modal__info {
        padding: var(--spacing-md) var(--spacing-sm);
        max-height: none;
        overflow-y: visible;
    }
    
    .modal__title {
        font-size: 1.6rem;
    }
    
    .modal__type {
        font-size: 1rem;
    }
    
    .modal__description {
        font-size: 0.95rem;
        line-height: 1.8;
    }
    
    .modal__close {
        top: var(--spacing-xs);
        right: var(--spacing-xs);
        width: 36px;
        height: 36px;
    }
}

@media (max-width: 480px) {
    .hero__title {
        font-size: 2rem;
    }
    
    .gallery__grid {
        gap: var(--spacing-xs);
    }
    
    .gallery__image {
        height: 80%;
    }
    
    .btn {
        padding: 0.8rem 2rem;
        font-size: 0.9rem;
    }
    
    .modal__container {
        width: 98%;
    }
    
    .modal__title {
        font-size: 1.4rem;
    }
    
    .modal__type {
        font-size: 0.9rem;
    }
    
    .modal__description {
        font-size: 0.9rem;
    }
    
    .modal__info {
        padding: var(--spacing-sm) var(--spacing-xs);
    }
}

/* ===================================
   PAGE PROCESSUS
   =================================== */

.hero--small {
    padding-top: 200px;
    height: 70vh;
    min-height: 400px;
}

.process-intro {
    padding: var(--spacing-lg) 0;
}

.process-intro__text {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.9);
}

.process-steps {
    padding: var(--spacing-xl) 0;
}

.step {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
    position: relative;
}

.step:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 60px;
    top: 120px;
    width: 2px;
    height: calc(100% + var(--spacing-xl) - 120px);
    background: linear-gradient(to bottom, var(--color-accent), rgba(212, 175, 55, 0.2));
}

.step--reverse {
    grid-template-columns: 1fr 120px;
}

.step--reverse .step__number {
    order: 2;
}

.step--reverse .step__content {
    order: 1;
    text-align: right;
}


.step--reverse:not(:last-child)::after {
    left: auto;
    right: 60px;
}

.step__number {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 1rem;
}

.step__number-text {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 2px solid var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 600;
    color: var(--color-accent);
    background: var(--color-bg);
    position: relative;
    z-index: 1;
}

.step__content {
    padding: 1rem 0;
}

.step__title {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 500;
    color: var(--color-accent);
    margin-bottom: var(--spacing-sm);
}

.step__description {
    font-size: 1rem;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: var(--spacing-sm);
}

.step__list {
    list-style: none;
    padding-left: 0;
}

.step__list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.75rem;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
}

.step__list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: 500;
}

.step--reverse .step__list {
    padding-left: 0;
    padding-right: 2rem;
}

.step--reverse .step__list li {
    padding-left: 0;
    padding-right: 2rem;
}

.step--reverse .step__list li::before {
    left: auto;
    right: 0;
    content: '←';
}

.process-cta {
    padding: var(--spacing-xl) 0;
    background: var(--color-bg-light);
}

.process-cta__content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.process-cta__title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    font-weight: 500;
    color: var(--color-accent);
    margin-bottom: var(--spacing-sm);
}

.process-cta__text {
    font-size: 1.05rem;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: var(--spacing-md);
}

/* ===================================
   PAGES VILLES
   =================================== */

.city-content {
    padding: var(--spacing-xl) 0;
    background: var(--color-bg);
}

.city-content__text {
    max-width: 900px;
    margin: 0 auto;
}

.city-paragraph {
    font-size: 1.05rem;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: var(--spacing-sm);
}

.city-highlight {
    background: var(--color-bg-light);
    padding: var(--spacing-md);
    border-left: 3px solid var(--color-accent);
    margin: var(--spacing-md) 0;
}

.city-highlight__title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--color-accent);
    margin-bottom: var(--spacing-sm);
}

.city-highlight__list {
    list-style: none;
    padding-left: 0;
}

.city-highlight__list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
}

.city-highlight__list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: 600;
}

.city-contact {
    padding: var(--spacing-xl) 0;
    background: var(--color-bg-light);
}

.city-contact__subtitle {
    text-align: center;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--spacing-lg);
}

.contact-form--inline {
    max-width: 900px;
    margin: 0 auto;
    padding: var(--spacing-lg);
    background: var(--color-bg);
    border-radius: 8px;
}

/* ===================================
   MENTIONS LÉGALES
   =================================== */

.legal-page {
    padding-top: 140px;
    padding-bottom: 60px;
    min-height: 100vh;
}

.legal-page__title {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--color-accent);
    margin-bottom: var(--spacing-xs);
    padding-top: 120px;
    text-align: center;
}

.legal-page__date {
    text-align: center;
    color: var(--color-text-light);
    font-size: 0.9rem;
}

.legal-page__content {
    max-width: 900px;
    margin: 0 auto;
    padding: var(--spacing-md) var(--spacing-sm);
}

.legal-page__back {
    text-align: center;
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
    padding: var(--spacing-md) var(--spacing-sm);
}

.legal-title {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--color-accent);
    margin-bottom: var(--spacing-md);
    text-align: center;
    padding-top: 80px;
}

.legal-section {
    margin-bottom: var(--spacing-md);
}

.legal-section h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--color-accent);
    margin-bottom: var(--spacing-sm);
    margin-top: var(--spacing-md);
}

.legal-section h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--color-text);
    margin-bottom: var(--spacing-xs);
    margin-top: var(--spacing-sm);
}

.legal-section p {
    margin-bottom: var(--spacing-xs);
    line-height: 1.8;
}

.legal-section ul {
    margin-left: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
    list-style-type: disc;
}

.legal-section li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.legal-section a {
    color: var(--color-accent);
    text-decoration: none;
    transition: var(--transition-fast);
}

.legal-section a:hover {
    text-decoration: underline;
}

.legal-footer {
    text-align: center;
    margin-top: var(--spacing-lg);
    padding-top: var(--spacing-sm);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
}

/* ===================================
   SCROLL ANIMATIONS
   =================================== */

.scroll-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ===================================
   TARTEAUCITRON - GESTION COOKIES
   =================================== */

#tarteaucitronRoot #tarteaucitronAlertBig,
#tarteaucitronRoot #tarteaucitronAlertSmall {
    background-color: #d4af37be !important;
    border-color: #D4AF37 !important;
}

#tarteaucitronRoot button {
    background-color: #d4af3725 !important;
    color: #2C2C2C !important;
    border: none !important;
    font-family: var(--font-body) !important;
}

#tarteaucitronRoot button:hover {
    background-color: #d4af3725 !important;
}

#tarteaucitronRoot #tarteaucitronPersonalize,
#tarteaucitronRoot #tarteaucitronCloseAlert {
    background-color: transparent !important;
    border: 1px solid #D4AF37 !important;
    color: #D4AF37 !important;
}

#tarteaucitronRoot .tarteaucitronTitle {
    color: #D4AF37 !important;
}

#tarteaucitronRoot a {
    color: #D4AF37 !important;
}

#tarteaucitronRoot #tarteaucitronIcon {
    background-color: #2C2C2C !important;
    border: 2px solid #D4AF37 !important;
}

#tarteaucitronRoot #tarteaucitronIcon:hover {
    background-color: #D4AF37 !important;
}

/* ===================================
   CAROUSEL POUR GALERIE
   =================================== */

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

.carousel__track {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
}

.carousel__image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.carousel__image-container.active {
    opacity: 1;
    z-index: 1;
}

.carousel__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.carousel__badge {
    position: absolute;
    top: var(--spacing-sm);
    right: var(--spacing-sm);
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.carousel__badge--avant {
    background: linear-gradient(110deg, #000000 0%, #635958 100%);
    color: white;
}

.carousel__badge--après {
    background: linear-gradient(110deg, #635958 0%, #000000 100%);
    color: white;
}

.carousel__btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(41, 45, 46, 0.8);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: var(--transition-fast);
    opacity: 1;
}

.carousel__btn:hover {
    background: rgba(212, 175, 55, 0.9);
}

.carousel__btn:hover svg path {
    stroke: var(--color-bg);
}

.carousel__btn--prev {
    left: 10px;
}

.carousel__btn--next {
    right: 10px;
}

.carousel__indicators {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 2;
}

.carousel__indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition-fast);
}

.carousel__indicator.active {
    background: var(--color-accent);
    width: 24px;
    border-radius: 4px;
}

.carousel__indicator:hover {
    background: rgba(255, 255, 255, 0.8);
}
