/* ==========================================
   BASES & TYPOGRAPHIE (Inter & Michroma)
   ========================================== */
:root {
    --bg-color: #FAFAF8;
    --text-color: #5b5b62;
    --accent-color: #838494;
    --border-color: #676876;
    --font-serif: 'Michroma', sans-serif;
    --font-sans: 'Inter', sans-serif;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-sans);
    font-size: 15px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .logo {
    font-family: var(--font-serif);
    font-weight: 400;
}

.logo .logo-sub {
    color: #888888;
    font-weight: 400;
    font-family: var(--font-serif);
}

h1 { font-size: 3.5rem; line-height: 1.1; }
h2 { font-size: 2rem; }
h3 { font-size: 1.3rem; }

p, span, li, label, input, textarea, button {
    font-family: var(--font-sans);
}

.subtitle {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-color);
    display: block;
    margin-bottom: 0.5rem;
}

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

/* ==========================================
   HEADER & NAVIGATION
   ========================================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background-color: var(--bg-color);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 4%;
    z-index: 1000;
}

.brand-container {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    text-decoration: none;
    color: inherit;
    flex-shrink: 0;
}

.logo-img {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo-img img {
    height: 42px;
    width: auto;
    display: block;
}

.logo {
    font-size: 1.45rem;
    font-weight: 600;
    white-space: nowrap;
}

.burger-menu {
    display: none;
}

nav .nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 1.8rem;
}

nav .nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-color);
    position: relative; 
    padding-bottom: 6px; 
    transition: color 0.3s;
    white-space: nowrap;
}

nav .nav-links a:hover {
    color: var(--accent-color); 
}

nav .nav-links a:not(.btn-outline)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px; 
    background-color: var(--accent-color); 
    transform: scaleX(0); 
    transform-origin: right; 
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1); 
}

nav .nav-links a.active:not(.btn-outline)::after {
    background-color: var(--text-color);
    transform: scaleX(1); 
    transform-origin: left;
}

nav .nav-links a:not(.btn-outline):hover::after, 
.dropdown:hover > a::after {
    transform: scaleX(1); 
    transform-origin: left; 
}

nav .nav-links:hover a.active:not(.btn-outline):not(:hover)::after {
    transform: scaleX(0);
    transform-origin: right;
}

.dropdown { 
    position: relative; 
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    list-style: none;
    min-width: 160px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    display: block;
    padding: 0.7rem 1rem;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.9rem;
    color: var(--text-color);
}

.dropdown-menu li a::after {
    display: none !important;
}

.dropdown-menu li a:hover {
    background-color: var(--border-color);
    color: #FAFAF8;
}

/* ==========================================
   BOUTONS
   ========================================== */
.btn-outline {
    border: 1px solid var(--text-color);
    padding: 0.6rem 1.2rem; 
    border-radius: 0; 
    color: var(--text-color);
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.btn-outline:hover, .btn-outline.active {
    background-color: #1a1a1c;
    border-color: #1a1a1c;
    color: var(--bg-color) !important;
}

.btn-primary {
    background-color: var(--text-color);
    color: var(--bg-color);
    border: 1px solid var(--text-color);
    border-radius: 0; 
    padding: 0.8rem 2rem;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.btn-primary:hover {
    background-color: #1a1a1c;
    border-color: #1a1a1c;
    color: #ffffff;
}

.btn-secondary {
    background: none;
    border: 1px solid var(--border-color);
    border-radius: 0; 
    padding: 0.8rem 2rem;
    cursor: pointer;
    transition: border-color 0.3s ease, color 0.3s ease;
    color: var(--text-color);
}

.btn-secondary:hover { 
    border-color: var(--accent-color); 
    color: var(--accent-color);
}

/* ==========================================
   PAGE D'ACCUEIL (HERO & SERVICES)
   ========================================== */
.hero {
    height: 95vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 8%;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
    background-color: #15140F;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(21, 20, 15, 0.4), rgba(21, 20, 15, 0.4)), 
        url('img/banniere.JPG'); 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: grayscale(100%);
    z-index: 0;
}

.hero::before { display: none !important; }

#heroCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    pointer-events: none;
}

.hero h1 { 
    color: #FAFAF8; 
    margin-bottom: 1.5rem; 
}

.hero p { 
    max-width: 500px; 
    color: #E2E2DE; 
}

.services-section { 
    padding: 4rem 4%; 
    border-top: 1px solid var(--border-color); 
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.service-card {
    display: block;
    color: inherit;
}

.service-card .img-placeholder {
    width: 100%;
    height: 380px;
    background-size: cover;
    background-position: center;
    filter: grayscale(100%);
    transition: filter 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    margin-bottom: 1rem;
}

.service-card.mariage .img-placeholder {
    background-position: 34% 30%; 
    background-size: cover;
}

.service-card.presse .img-placeholder {
    background-position: 34% 30%; 
    background-size: cover;
}

.service-card:hover .img-placeholder {
    filter: grayscale(0%);
}

.service-card h3 { margin-bottom: 0.5rem; }
.service-card p { color: var(--text-color); font-size: 0.9rem; }

/* ==========================================
   SECTION À PROPOS
   ========================================== */
.about-section {
    padding: 6rem 4%;
    border-top: 1px solid var(--border-color);
    background-color: var(--bg-color);
}

.about-container {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 4.5rem;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
}

.about-image {
    position: sticky;
    top: 110px;
}

.about-image .img-placeholder-large {
    width: 100%;
    height: 540px;
    background-size: cover;
    background-position: center;
    border: 1px solid var(--border-color);
    filter: grayscale(20%);
    transition: filter 0.4s ease;
	background-position: center 0%;
}

.about-image:hover .img-placeholder-large {
    filter: grayscale(0%);
}

.about-content h2 {
    font-size: 2.2rem;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
}

.about-bio p {
    font-size: 0.95rem;
    line-height: 1.75;
    color: var(--text-color);
    margin-bottom: 1.4rem;
    text-align: left;
}

.about-bio p:last-child {
    margin-bottom: 0;
}

/* ==========================================
   HEADER DE SECTION & INTRO ÉDITORIALE
   ========================================== */
.section-container { 
    margin-top: 80px; 
    padding: 3rem 4% 2.5rem 4%; 
}

.section-header { 
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.header-content {
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: 3.5rem;
    align-items: start;
}

.header-content h1 {
    font-size: 3.5rem;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin: 0;
    padding-top: 0.1rem;
    text-align: center;
}

.header-intro {
    border-left: 2px solid var(--text-color);
    padding-left: 2rem;
    align-self: stretch;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.header-intro p {
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 0.6rem;
}

.header-intro p:last-child {
    margin-bottom: 0;
}

/* ==========================================
   GALERIE & LIGHTBOX
   ========================================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(min-content, max-content);
    grid-auto-flow: dense;
    gap: 0; 
    width: 100%;
}

.gallery-item {
    width: 100%;
    background-color: transparent;
    overflow: hidden;
    padding: 10px;
}

.gallery-item img {
    width: 100%;
    height: 100%; 
    object-fit: contain; 
    display: block;
    cursor: pointer;
    transition: transform 0.3s ease, filter 0.3s ease;
    aspect-ratio: 3 / 2;
}

.gallery-item.vertical {
    grid-row: span 2;
}

.gallery-item.vertical img {
    aspect-ratio: 2 / 3;
}

.gallery-item:hover img {
    transform: scale(1.03);
    filter: brightness(1.05);
}

.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #ffffff;
    font-size: 2.5rem;
    cursor: pointer;
    line-height: 1;
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.3);
    color: #ffffff;
    border: none;
    font-size: 2rem;
    padding: 1rem 0.8rem;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease;
    user-select: none;
    z-index: 2001;
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

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

.gallery-actions { 
    text-align: center; 
    margin-top: 2.5rem; 
}

.about-text {
    max-width: 680px; 
    margin: 3rem auto; 
    text-align: justify;
}

.about-text p {
    font-size: 1rem;
    line-height: 1.7; 
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

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

.section-cta {
    text-align: center;
    padding: 2.5rem 0 0 0;
    border-top: 1px solid var(--border-color);
    margin-top: 2.5rem;
}

.section-cta h2 { 
    font-size: 1.5rem; 
    margin-bottom: 1.5rem; 
    font-family: var(--font-serif); 
}

.cta-buttons { 
    display: flex; 
    justify-content: center; 
    gap: 1rem; 
}

/* ==========================================
   PAGE TARIFS
   ========================================== */
.pricing-container { 
    margin-top: 80px; 
    padding: 3rem 4%; 
}

.pricing-header { 
    max-width: 600px; 
    margin-bottom: 2.5rem; 
}

.tabs {
    display: flex;
    gap: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 2.5rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
}

.tab-btn {
    background: none;
    border: none;
    padding: 0.5rem 0;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-color);
    position: relative;
    transition: color 0.3s ease;
    white-space: nowrap;
}

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

.tab-btn::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--accent-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.tab-btn.active {
    color: var(--text-color);
    font-weight: 600;
}

.tab-btn.active::after {
    background-color: var(--text-color);
    transform: scaleX(1);
    transform-origin: left;
}

.tab-btn:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.tabs:hover .tab-btn.active:not(:hover)::after {
    transform: scaleX(0);
    transform-origin: right;
}

.currency-symbol {
    font-family: var(--font-sans);
    font-weight: 500;
}

/* 1. Grand bloc uni (Nouveau test : haut en 2 colonnes + bas en pleine largeur) */
.pricing-box-wrapper {
    border: 1px solid var(--border-color);
    background-color: var(--bg-color);
}

.pricing-columns-top {
    display: flex;
}

.plan-card-top {
    flex: 1;
    min-width: 0;
    padding: 2.5rem 2.5rem 2rem 2.5rem;
}

.plan-card-top:not(:last-child) {
    border-right: 1px solid var(--border-color);
}

.plan-card-top .plan-subtitle {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    color: var(--text-color);
    display: block;
    margin-bottom: 0.8rem;
}

.plan-card-top .plan-price {
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
    margin-bottom: 0.75rem;
}

.plan-card-top .plan-price .amount {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    line-height: 1.2;
    color: var(--text-color);
}

.plan-card-top .plan-desc {
    font-size: 0.88rem;
    color: var(--accent-color);
    line-height: 1.5;
}

.pricing-bottom-section {
    border-top: 1px solid var(--border-color);
    padding: 2rem 2.5rem 2.5rem 2.5rem;
}

.common-features-grid {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 0.7rem 3rem;
}

.common-features-grid li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.88rem;
    color: var(--text-color);
    padding: 0.35rem 0;
    border-top: 1px solid rgba(103, 104, 118, 0.2);
}

/* 2. Format standard (utilisé pour les autres onglets) */
.pricing-columns {
    display: flex;
    justify-content: center;
    border: 1px solid var(--border-color);
    background-color: var(--bg-color);
}

.plan-card {
    flex: 1;
    min-width: 0;
    padding: 2.5rem 2.5rem 2rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: relative;
}

.plan-card:not(:last-child) {
    border-right: 1px solid var(--border-color);
}

.plan-header {
    margin-bottom: 1.5rem;
}

.plan-subtitle {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    color: var(--text-color);
    display: block;
    margin-bottom: 0.8rem;
}

.plan-price {
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
    margin-bottom: 0.75rem;
}

.plan-price .amount {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    line-height: 1.2;
    color: var(--text-color);
}

.price-asterisk {
    font-size: 0.9rem;
    vertical-align: super;
    margin-left: 2px;
    color: var(--accent-color);
}

.plan-desc {
    font-size: 0.88rem;
    color: var(--accent-color);
    line-height: 1.5;
}

.plan-body {
    width: 100%;
}

.features-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.88rem;
    color: var(--text-color);
    padding: 0.55rem 0;
    border-top: 1px solid rgba(103, 104, 118, 0.2);
}

.features-list li:last-child {
    border-bottom: 1px solid rgba(103, 104, 118, 0.2);
}

.check-icon {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    color: var(--text-color);
}

/* 3. Options & Notice */
.pricing-extras {
    margin-top: 1.5rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.pricing-extra-card {
    border: 1px solid var(--border-color);
    background-color: var(--bg-color);
    padding: 2rem 2.5rem;
    display: flex;
    flex-direction: column;
}

.pricing-extra-card h3 {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

.options-price {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.options-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.options-list li {
    font-size: 0.88rem;
    color: var(--text-color);
    padding: 0.45rem 0;
    border-top: 1px solid rgba(103, 104, 118, 0.2);
}

.options-list li:last-child {
    border-bottom: 1px solid rgba(103, 104, 118, 0.2);
}

.options-list li::before {
    content: "+ ";
    font-weight: 600;
    color: var(--accent-color);
}

.notice-text {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.pricing-extra-note {
    font-size: 0.8rem;
    color: var(--accent-color);
    margin-top: 1.5rem;
    font-style: italic;
    line-height: 1.5;
}

/* ==========================================
   PAGE CONTACT
   ========================================== */
.no-scroll-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.contact-fullscreen {
    flex: 1;
    margin-top: 80px;
    padding: 2.5rem 4%;
    display: flex;
    align-items: center;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3.5rem;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-form-side {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-form-side h1 { margin-bottom: 1.5rem; }

#contactForm {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    max-width: 500px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.field label { 
    font-size: 0.85rem; 
    color: var(--text-color); 
}

.field input, .field textarea {
    background: none;
    border: 1px solid var(--border-color);
    padding: 0.7rem;
    color: inherit;
    font-size: 0.95rem;
}

.field input:focus, .field textarea:focus {
    outline: 1px solid var(--text-color);
}

.contact-info-side {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2.5rem;
    border-left: 1px solid var(--border-color);
    padding-left: 3.5rem;
}

.info-block .info-row { margin-top: 1rem; }
.info-row span { font-size: 0.8rem; color: var(--text-color); display: block; }
.social-links-stacked a { display: block; margin-top: 0.5rem; color: var(--text-color); }
.social-links-stacked a:hover { color: var(--accent-color); }

/* ==========================================
   FOOTER
   ========================================== */
.site-footer {
    border-top: 1px solid var(--border-color);
    background-color: var(--bg-color);
    padding: 3.5rem 4% 1.5rem 4%;
    margin-top: auto; 
    width: 100%;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 3.5rem;
    margin-bottom: 2.5rem;
}

.footer-brand {
    flex: 1;
}

.footer-links-group {
    flex: 2;
    display: grid;
    grid-template-columns: repeat(3, minmax(130px, 1fr));
    gap: 2.5rem;
    align-items: start;
}

.footer-heading {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-color);
    display: block;
    margin-bottom: 1rem;
    font-weight: 600;
}

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

.footer-col ul li { 
    margin-bottom: 0.45rem; 
}

.footer-col ul li a { 
    font-size: 0.88rem; 
    color: var(--text-color); 
    transition: color 0.2s ease;
}

.footer-col ul li a:hover,
.footer-col a:hover { 
    color: var(--accent-color); 
}

.social-icons a, 
.social-icons p { 
    display: block; 
    margin-bottom: 0.45rem; 
    font-size: 0.88rem; 
    color: var(--text-color); 
}

.social-icons a:hover { 
    color: var(--accent-color); 
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 1.25rem;
    font-size: 0.82rem;
    color: var(--text-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.footer-bottom a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.footer-bottom a:hover {
    color: var(--accent-color); 
    text-decoration: underline;
}

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

/* 1. Écrans moyens / tablettes larges (max 1050px) */
@media (max-width: 1050px) {
    header {
        height: 70px;
        padding: 0 4%;
    }

    .brand-container {
        gap: 0.9rem;
    }

    .logo-img img {
        height: 38px;
    }

    .logo {
        font-size: 1.2rem;
    }

    .burger-menu {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 24px;
        height: 18px;
        background: none;
        border: none;
        cursor: pointer;
        z-index: 1001;
        flex-shrink: 0;
    }

    .burger-menu span {
        width: 100%;
        height: 2px;
        background-color: var(--text-color);
        transition: all 0.3s ease;
    }

    .burger-menu.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .burger-menu.active span:nth-child(2) {
        opacity: 0;
    }
    
    .burger-menu.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    nav .nav-links {
        position: fixed;
        top: 70px;
        right: 0;                     
        width: 60%; 
        max-width: 320px;
        height: calc(100vh - 70px);
        background-color: var(--bg-color);
        border-left: 1px solid var(--border-color); 
        flex-direction: column;
        justify-content: flex-start; 
        align-items: flex-start; 
        padding: 2.5rem 1.5rem;
        gap: 1.5rem;
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1); 
        overflow-y: auto;
        opacity: 1;
        visibility: visible;
    }

    nav .nav-links.active {
        transform: translateX(0);
    }

    nav .nav-links a { font-size: 1.1rem; }
    nav .nav-links ul li a { font-size: 0.95rem; }

    .dropdown-menu {
        position: static;
        display: none;
        border: none;
        background: transparent;
        padding-left: 1rem;
        margin-top: 0.5rem;
    }

    .dropdown.active .dropdown-menu { display: block; }
    .dropdown.active .dropdown-trigger { font-weight: 600; }

    .hero {
        margin-top: 70px;
        height: 75vh;
        padding: 0 5%;
    }

    .section-container,
    .pricing-container {
        margin-top: 70px;
        padding: 2rem 4%;
    }

    .contact-fullscreen {
        margin-top: 70px;
        padding: 2rem 4%;
    }
}

/* 2. Écrans intermédiaires (max 1024px) */
@media (max-width: 1024px) {
    h1 { font-size: 2.8rem; }
    
    .about-container {
        grid-template-columns: 340px 1fr;
        gap: 3rem;
    }
    
    .about-image .img-placeholder-large {
        height: 440px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .contact-grid { gap: 2rem; }
    .contact-info-side { padding-left: 2rem; }
}

/* 3. Footer intermédiaire (max 900px) */
@media (max-width: 900px) {
    .footer-inner {
        flex-direction: column;
        gap: 2rem;
    }

    .footer-brand {
        width: 100%;
        padding-bottom: 1.25rem;
        border-bottom: 1px solid rgba(103, 104, 118, 0.25);
    }

    .footer-links-group {
        width: 100%;
        grid-template-columns: repeat(3, 1fr);
        gap: 1.8rem;
    }
}

/* 4. Colonnes de prix en empilement vertical (max 850px) */
@media (max-width: 850px) {
    .pricing-columns {
        flex-direction: column;
    }

    .plan-card:not(:last-child) {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }

    .plan-card,
    .pricing-common-block,
    .pricing-extra-card {
        padding: 1.75rem 1.5rem;
    }

    .common-features-list {
        grid-template-columns: 1fr;
    }
}

/* 5. Tablettes et smartphones (max 768px) */
@media (max-width: 768px) {
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.6rem; }

    .section-header {
        margin-bottom: 1.5rem;
        padding-bottom: 1rem;
    }

    .header-content {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .header-content h1 {
        font-size: 2.5rem;
        text-align: left;
    }

    .header-intro {
        padding-left: 1rem;
    }

    .services-section,
    .about-section { 
        padding: 3rem 4%; 
    }

    .about-container {
        display: flex;
        flex-direction: column;
        gap: 2rem;
    }

    .about-image {
        position: static;
        width: 100%;
    }

    .about-image .img-placeholder-large {
        width: 100%;
        max-width: 320px;
        height: 380px;
        margin: 0 auto;
    }

    .about-content h2 {
        font-size: 1.8rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .gallery-item, 
    .gallery-item.vertical {
        grid-row: auto !important;
        height: auto;
    }

    .lightbox-prev,
    .lightbox-next {
        padding: 0.6rem 0.5rem;
        font-size: 1.5rem;
    }
    
    .lightbox-prev { left: 10px; }
    .lightbox-next { right: 10px; }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .contact-info-side {
        border-left: none;
        border-top: 1px solid var(--border-color);
        padding-left: 0;
        padding-top: 2rem;
    }

    #contactForm { max-width: 100%; }
}

/* 6. Footer compact & Header smartphone (max 680px) */
@media (max-width: 680px) {
    .site-footer {
        padding: 2.5rem 4% 1.25rem 4%;
    }

    .footer-links-group {
        grid-template-columns: 1fr 1.3fr;
        gap: 1.8rem 1.2rem;
    }

    .footer-links-group .footer-col:last-child {
        grid-column: 1 / -1;
        padding-top: 1.25rem;
        border-top: 1px solid rgba(103, 104, 118, 0.2);
    }

    .footer-links-group .footer-col:last-child .social-icons {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.2rem 1rem;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        padding-top: 1rem;
    }
}

/* 7. Petits mobiles (max 480px) */
@media (max-width: 480px) {
    header {
        height: 70px;
        padding: 0 4%;
    }

    .brand-container {
        gap: 0.75rem;
        align-items: center;
    }

    .logo-img img {
        height: 38px;
    }

    .logo {
        display: flex;
        flex-direction: column;
        justify-content: center;
        font-size: 0.98rem;
        line-height: 1.1;
        white-space: nowrap;
    }

    .logo .logo-sub {
        display: block;
        font-size: 0.68rem;
        letter-spacing: 0.12em;
        margin-top: 2px;
        color: #888888;
        font-weight: 400;
    }

    h1 { font-size: 1.8rem; }
    
    nav .nav-links {
        width: 80%;
        gap: 1.2rem;
    }
    
    .btn-outline, .btn-primary, .btn-secondary {
        width: 100%;
        padding: 0.8rem 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 0.8rem;
    }

    .footer-inner {
        gap: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .footer-brand {
        padding-bottom: 0.8rem;
    }

    .footer-links-group {
        grid-template-columns: 1fr 1.2fr;
        gap: 1.5rem 0.8rem;
    }

    .footer-col ul li a,
    .social-icons a,
    .social-icons p {
        font-size: 0.82rem;
    }

    .footer-links-group .footer-col:last-child .social-icons {
        grid-template-columns: 1fr;
    }
}