/* ============================================================
   MARIAGE AVEYRON — Stylesheet
   Polices : Playfair Display (titres) + Montserrat (corps)
   Palette : or #c9a96e, sombre #1a1a1a, crème #faf7f2
   ============================================================ */

/* ---- VARIABLES ---- */
:root {
    --gold:          #c9a96e;
    --gold-light:    #e8d5b7;
    --gold-dark:     #a8864e;
    --dark:          #1a1a1a;
    --dark-2:        #2c2c2c;
    --white:         #ffffff;
    --cream:         #faf7f2;
    --cream-2:       #f0e9de;
    --text:          #4a4a4a;
    --text-light:    #8a8a8a;
    --border:        #e0d8cf;

    --font-heading:  'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-body:     'Montserrat', system-ui, -apple-system, sans-serif;

    --nav-height:    80px;
    --ease:          cubic-bezier(0.4, 0, 0.2, 1);
    --t:             0.35s;

    --shadow:        0 10px 40px rgba(0,0,0,0.07);
    --shadow-lg:     0 20px 60px rgba(0,0,0,0.14);
}

/* ---- RESET & BASE ---- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
}

body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--white);
    line-height: 1.75;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

ul { list-style: none; }

h1, h2, h3 {
    font-family: var(--font-heading);
    line-height: 1.2;
}

/* Italic dorée — appliquée automatiquement aux <em> dans les titres */
em {
    font-style: italic;
    color: var(--gold);
}

/* ---- LAYOUT ---- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 28px;
}

/* ---- NAVIGATION ---- */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 900;
    height: var(--nav-height);
    transition: background var(--t) var(--ease), box-shadow var(--t) var(--ease);
}

#navbar.scrolled {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 28px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.nav-logo .logo-text {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 400;
    color: var(--white);
    letter-spacing: 0.02em;
    transition: color var(--t) var(--ease);
}

#navbar.scrolled .nav-logo .logo-text {
    color: var(--dark);
}

/* Menu */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 44px;
}

.nav-menu a {
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    transition: color var(--t) var(--ease);
    position: relative;
    padding-bottom: 3px;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--t) var(--ease);
}

.nav-menu a:hover { color: var(--white); }
.nav-menu a:hover::after { transform: scaleX(1); }

#navbar.scrolled .nav-menu a {
    color: var(--dark-2);
}

#navbar.scrolled .nav-menu a:hover {
    color: var(--gold);
}

/* Bouton CTA nav */
.nav-cta {
    background: var(--gold) !important;
    color: var(--white) !important;
    padding: 10px 22px;
    border-radius: 2px;
}

.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--gold-dark) !important; color: var(--white) !important; }

/* Hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
    z-index: 910;
}

.nav-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all var(--t) var(--ease);
}

#navbar.scrolled .nav-toggle span { background: var(--dark); }

.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

/* ---- BOUTONS ---- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 34px;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    border: none;
    border-radius: 2px;
    transition: all var(--t) var(--ease);
    white-space: nowrap;
}

.btn-primary {
    background: var(--gold);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--gold-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(201, 169, 110, 0.45);
}

.btn-primary:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255, 255, 255, 0.55);
}

.btn-outline:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

.btn-full { width: 100%; }

/* ---- ENTÊTES DE SECTION ---- */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 18px;
}

.section-tag::before,
.section-tag::after {
    content: '';
    width: 30px;
    height: 1px;
    background: var(--gold-light);
}

.section-title {
    font-size: clamp(1.9rem, 3.5vw, 2.8rem);
    font-weight: 400;
    color: var(--dark);
    margin-bottom: 18px;
}

.section-desc {
    font-size: 0.95rem;
    color: var(--text-light);
    max-width: 540px;
    margin: 0 auto;
    line-height: 1.85;
}

/* ---- HERO ---- */
.hero {
    position: relative;
    height: 100vh;
    min-height: 620px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--dark);
}

.hero-video-wrapper {
    position: absolute;
    inset: 0;
}

#heroVideo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.65;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(10, 10, 10, 0.25) 0%,
        rgba(10, 10, 10, 0.55) 55%,
        rgba(10, 10, 10, 0.75) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    padding: 0 24px;
    max-width: 920px;
    animation: heroIn 1.5s var(--ease) both;
}

@keyframes heroIn {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}

.hero-subtitle {
    font-size: 0.73rem;
    font-weight: 600;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
}

.hero-subtitle::before,
.hero-subtitle::after {
    content: '';
    display: block;
    width: 40px;
    height: 1px;
    background: var(--gold-light);
    opacity: 0.55;
}

.hero-title {
    font-size: clamp(2.8rem, 6.5vw, 5.8rem);
    font-weight: 400;
    line-height: 1.12;
    margin-bottom: 26px;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

.hero-desc {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.85;
    margin-bottom: 44px;
    font-weight: 300;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Indicateur de défilement */
.hero-scroll {
    position: absolute;
    bottom: 38px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    animation: scrollPulse 2.5s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.4; transform: translateX(-50%) translateY(0); }
    50%       { opacity: 0.8; transform: translateX(-50%) translateY(7px); }
}

.scroll-line {
    width: 1px;
    height: 44px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
}

/* ---- SERVICES ---- */
.services {
    padding: 120px 0;
    background: var(--cream);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: start;
}

/* Stagger des cartes via animation-delay sur .fade-up */
.services-grid .fade-up:nth-child(1) { transition-delay: 0.1s; }
.services-grid .fade-up:nth-child(2) { transition-delay: 0.22s; }
.services-grid .fade-up:nth-child(3) { transition-delay: 0.34s; }

.service-card {
    background: var(--white);
    padding: 44px 38px 38px;
    border: 1px solid var(--border);
    border-radius: 3px;
    position: relative;
    transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
}

.service-card:hover {
    transform: translateY(-7px);
    box-shadow: var(--shadow-lg);
}

.service-card--featured {
    background: var(--dark);
    color: var(--white);
    border-color: var(--dark);
    transform: translateY(-10px);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
}

.service-card--featured:hover { transform: translateY(-17px); }

.service-badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold);
    color: var(--white);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 5px 18px;
    border-radius: 20px;
    white-space: nowrap;
}

.service-icon {
    width: 48px;
    height: 48px;
    color: var(--gold);
    margin-bottom: 22px;
}

.service-icon svg { width: 100%; height: 100%; }

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--dark);
    margin-bottom: 14px;
}

.service-card--featured h3 { color: var(--white); }

.service-card > p {
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.85;
    margin-bottom: 26px;
}

.service-card--featured > p { color: rgba(255, 255, 255, 0.58); }

.service-features {
    margin-bottom: 30px;
}

.service-features li {
    font-size: 0.85rem;
    padding: 8px 0 8px 20px;
    border-bottom: 1px solid var(--border);
    color: var(--text);
    position: relative;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--gold);
    font-size: 0.78rem;
    font-weight: 700;
}

.service-card--featured .service-features li {
    border-bottom-color: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.72);
}

.service-link {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap var(--t) var(--ease);
}

.service-link:hover { gap: 14px; }

/* ---- GALERIE ---- */
.gallery {
    padding: 120px 0 0;
    background: var(--white);
}

.gallery .container { margin-bottom: 0; }

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 290px;
    gap: 6px;
    margin-top: 0;
}

/* Items larges (col-span 2) — motif : 1, 7, 11 */
.gallery-item:nth-child(1),
.gallery-item:nth-child(7),
.gallery-item:nth-child(11) {
    grid-column: span 2;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    background: var(--cream-2);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.65s var(--ease);
    pointer-events: none;
}

.gallery-item:hover img { transform: scale(1.06); }

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--t) var(--ease);
}

.gallery-overlay span {
    font-size: 2.2rem;
    color: var(--white);
    font-weight: 200;
    opacity: 0;
    transform: scale(0.6);
    transition: opacity var(--t) var(--ease), transform var(--t) var(--ease);
    line-height: 1;
    width: 54px;
    height: 54px;
    border: 1.5px solid rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-item:hover .gallery-overlay { background: rgba(0, 0, 0, 0.38); }
.gallery-item:hover .gallery-overlay span { opacity: 1; transform: scale(1); }

/* ---- LIGHTBOX ---- */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 1500;
    background: rgba(0, 0, 0, 0.93);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.lightbox.active {
    opacity: 1;
    pointer-events: all;
}

.lightbox-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    max-width: 90vw;
    max-height: 92vh;
}

#lightboxImg {
    max-width: 90vw;
    max-height: 82vh;
    object-fit: contain;
    border-radius: 2px;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.6);
    transition: opacity 0.22s ease;
    user-select: none;
}

.lightbox-counter {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.78rem;
    letter-spacing: 0.12em;
}

/* Bouton fermer */
.lightbox-close {
    position: fixed;
    top: 22px;
    right: 26px;
    background: none;
    border: none;
    color: var(--white);
    font-size: 2.6rem;
    font-weight: 200;
    cursor: pointer;
    opacity: 0.65;
    transition: opacity var(--t), transform var(--t);
    line-height: 1;
    z-index: 1501;
    padding: 4px 10px;
}

.lightbox-close:hover { opacity: 1; transform: rotate(90deg); }

/* Boutons prev/next */
.lightbox-prev,
.lightbox-next {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: var(--white);
    font-size: 2.4rem;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0.65;
    transition: all var(--t) var(--ease);
    z-index: 1501;
    padding: 0 0 2px;
}

.lightbox-prev { left: 22px; }
.lightbox-next { right: 22px; }

.lightbox-prev:hover,
.lightbox-next:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.18);
}

/* ---- CONTACT ---- */
.contact {
    padding: 120px 0;
    background: var(--cream);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 64px;
    align-items: start;
}

/* Infos latérales */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
    position: sticky;
    top: calc(var(--nav-height) + 24px);
}

.contact-info-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-info-icon {
    width: 42px;
    height: 42px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    flex-shrink: 0;
    border: 1px solid var(--border);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.contact-info-icon svg {
    width: 18px;
    height: 18px;
}

.contact-info-item strong {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--dark);
    margin-bottom: 5px;
}

.contact-info-item p {
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* Formulaire */
.contact-form {
    background: var(--white);
    padding: 52px;
    border-radius: 3px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 22px;
}

.form-group label {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--dark-2);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid var(--border);
    border-radius: 3px;
    background: var(--white);
    font-family: var(--font-body);
    font-size: 0.93rem;
    color: var(--dark);
    transition: border-color var(--t) var(--ease), box-shadow var(--t) var(--ease);
    outline: none;
    appearance: none;
    -webkit-appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #bbb;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.14);
}

.form-group select {
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 9l6 6 6-6' stroke='%238a8a8a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 18px;
    padding-right: 44px;
    cursor: pointer;
}

.form-group textarea {
    resize: vertical;
    min-height: 136px;
}

.form-group .g-recaptcha {
    margin-top: 2px;
}

/* Messages de retour */
.form-message {
    border-radius: 3px;
    font-size: 0.88rem;
    line-height: 1.6;
    margin-bottom: 0;
    transition: all 0.3s ease;
}

.form-message:not(:empty) {
    padding: 14px 18px;
    margin-bottom: 18px;
}

.form-message.success {
    background: #f0faf0;
    color: #256329;
    border: 1px solid #b8dfba;
}

.form-message.error {
    background: #fff5f5;
    color: #b71c1c;
    border: 1px solid #ffcdd2;
}

/* ---- FOOTER ---- */
.footer {
    background: var(--dark);
    padding: 64px 0 32px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 44px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 32px;
}

.footer-brand .logo-text {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 400;
    color: var(--white);
    display: block;
    margin-bottom: 14px;
}

.footer-brand p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.38);
    line-height: 1.85;
}

.footer-links {
    display: flex;
    gap: 36px;
    flex-wrap: wrap;
    align-items: center;
}

.footer-links a {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    transition: color var(--t) var(--ease);
}

.footer-links a:hover { color: var(--gold); }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.76rem;
    color: rgba(255, 255, 255, 0.22);
}

/* ---- BOUTON BACK TO TOP ---- */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 800;
    width: 46px;
    height: 46px;
    background: var(--gold);
    color: var(--white);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: all var(--t) var(--ease);
    box-shadow: 0 4px 20px rgba(201, 169, 110, 0.5);
}

.back-to-top svg {
    width: 20px;
    height: 20px;
}

.back-to-top.visible {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--gold-dark);
    transform: translateY(-3px);
}

/* ---- ANIMATIONS AU SCROLL ---- */
.fade-up {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
    .services-grid {
        gap: 16px;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-info {
        position: static;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 20px;
    }

    .contact-info-item {
        flex: 1 1 200px;
    }
}

@media (max-width: 768px) {
    :root { --nav-height: 68px; }

    /* Navigation mobile */
    .nav-menu {
        display: none;
        position: fixed;
        top: var(--nav-height);
        left: 0;
        right: 0;
        background: var(--white);
        padding: 28px 24px 24px;
        flex-direction: column;
        gap: 22px;
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
        border-top: 1px solid var(--border);
    }

    .nav-menu.open { display: flex; }

    .nav-menu a {
        color: var(--dark-2) !important;
        font-size: 0.9rem;
        text-align: center;
    }

    .nav-menu a::after { display: none; }

    .nav-cta {
        padding: 12px 24px !important;
        text-align: center;
    }

    .nav-toggle { display: flex; }

    /* Hero */
    .hero-title { font-size: clamp(2.4rem, 9vw, 3.8rem); }

    /* Services */
    .services-grid {
        grid-template-columns: 1fr;
        max-width: 460px;
        margin: 0 auto;
    }

    .service-card--featured { transform: none; }

    /* Gallery : 2 colonnes — seul le 1er item reste large (position 1 = pas de gap) */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 220px;
    }

    .gallery-item:nth-child(1) {
        grid-column: span 2;
    }

    /* Réinitialiser les items larges desktop pour éviter les cases vides */
    .gallery-item:nth-child(7),
    .gallery-item:nth-child(11) {
        grid-column: span 1;
    }

    /* Lightbox */
    .lightbox-prev { left: 8px; }
    .lightbox-next { right: 8px; }
    .lightbox-prev, .lightbox-next { width: 44px; height: 44px; font-size: 2rem; }

    /* Formulaire */
    .contact-form { padding: 36px 24px; }
    .form-row { grid-template-columns: 1fr; gap: 0; }

    /* Footer */
    .footer-content { flex-direction: column; gap: 36px; }
    .footer-links { gap: 24px; }
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

    /* Back to top */
    .back-to-top { bottom: 20px; right: 20px; }
}

@media (max-width: 480px) {
    .container { padding: 0 18px; }

    .services,
    .contact { padding: 80px 0; }

    .gallery { padding: 80px 0 0; }

    .section-header { margin-bottom: 44px; }

    .hero-actions { flex-direction: column; }

    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 240px;
        gap: 4px;
    }

    .gallery-item:nth-child(1),
    .gallery-item:nth-child(7),
    .gallery-item:nth-child(11) {
        grid-column: span 1;
    }

    .contact-info { flex-direction: column; }

    .footer-links { flex-direction: column; gap: 18px; align-items: flex-start; }
}
