/* =============================================================
   Dimitri Peinture — Main Stylesheet
   Thème premium | Design sombre & luxe | Mobile-first
   ============================================================= */

/* ——— Custom Properties ——— */
:root {
    /* Couleurs principales — luxe clair, inspirées du logo */
    --color-bg:            #F5F0EB;   /* Fond principal : crème chaud */
    --color-bg-alt:        #EBE4DA;   /* Fond alternatif : légèrement plus foncé */
    --color-bg-dark:       #0A0A0A;   /* Fond sombre (hero, footer, CTA) */
    --color-bg-card:       #FFFFFF;   /* Cartes : blanc pur */
    --color-border:        #D9D0C5;   /* Bordures subtiles */

    --color-gold:          #C8A45C;
    --color-gold-light:    #DFC07A;
    --color-gold-dark:     #A0782C;
    --color-copper:        #B8863C;

    --color-text:          #1A1A1A;   /* Texte principal */
    --color-text-muted:    #6B6B6B;   /* Texte secondaire */
    --color-text-inverse:  #E8E0D8;   /* Texte sur fond sombre */
    --color-heading:       #0A0A0A;   /* Titres */

    /* Couleurs d'accent (projections du logo) */
    --color-red:           #B81C0C;
    --color-orange:        #E86104;
    --color-blue:          #0472BC;
    --color-green:         #2E8B57;
    --color-violet:        #6B3FA0;

    /* Typographie */
    --font-heading:        'Cormorant Garamond', 'Times New Roman', serif;
    --font-body:           'Montserrat', 'Helvetica Neue', Arial, sans-serif;

    /* Tailles de police */
    --text-xs:             0.75rem;   /* 12px */
    --text-sm:             0.875rem;  /* 14px */
    --text-base:           1rem;      /* 16px */
    --text-lg:             1.125rem;  /* 18px */
    --text-xl:             1.25rem;   /* 20px */
    --text-2xl:            1.5rem;    /* 24px */
    --text-3xl:            2rem;      /* 32px */
    --text-4xl:            2.5rem;    /* 40px */
    --text-5xl:            3.5rem;    /* 56px */

    /* Espacements */
    --space-xs:            0.5rem;
    --space-sm:            1rem;
    --space-md:            1.5rem;
    --space-lg:            2rem;
    --space-xl:            3rem;
    --space-2xl:           4rem;
    --space-3xl:           6rem;

    /* Layout */
    --container-max:       1200px;
    --container-padding:   1.25rem;

    /* Bordures & ombres */
    --radius-sm:           4px;
    --radius-md:           8px;
    --radius-lg:           12px;
    --radius-full:         9999px;

    --shadow-sm:           0 1px 4px rgba(0, 0, 0, 0.06);
    --shadow-md:           0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg:           0 8px 40px rgba(0, 0, 0, 0.10);

    /* Transitions */
    --transition-fast:     150ms ease;
    --transition-base:     300ms ease;
    --transition-slow:     500ms ease;

    /* Z-index */
    --z-header:            1000;
    --z-overlay:           900;
    --z-modal:             1100;
}

/* ——— Reset ——— */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

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

a:hover,
a:focus-visible {
    color: var(--color-gold-light);
}

ul, ol {
    list-style: none;
}

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

::selection {
    background: var(--color-gold);
    color: #FFFFFF;
}

/* Accessibilité : contour visible au focus */
:focus-visible {
    outline: 2px solid var(--color-gold);
    outline-offset: 2px;
}

/* Réduire les animations si l'utilisateur le demande */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}


/* =============================================================
   LAYOUT
   ============================================================= */

.site-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.site-content {
    flex: 1;
}

.container {
    width: 100%;
    max-width: var(--container-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
}


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

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-header);
    padding: 1rem 0;
    transition: background var(--transition-base), padding var(--transition-base), box-shadow var(--transition-base);
    background: transparent;
}

/* ——— Header scrollé : glassmorphism clair + texture subtile ——— */
.site-header.scrolled {
    background-color: rgba(245, 240, 235, 0.9);
    /* Subtle noise/canvas texture overlay */
    background-image:
        url("data:image/svg+xml,%3Csvg width='200' height='200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
    padding: 0.5rem 0;
    box-shadow:
        0 2px 30px rgba(0, 0, 0, 0.06),
        0 1px 0 rgba(200, 164, 92, 0.12);
    /* Liseré doré en haut */
    border-top: 2px solid rgba(200, 164, 92, 0.4);
}

/* Glassmorphism déporté sur ::before pour ne pas casser position:fixed des enfants */
.site-header.scrolled::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    backdrop-filter: blur(16px) saturate(1.4);
    -webkit-backdrop-filter: blur(16px) saturate(1.4);
    pointer-events: none;
}

/* Liens en sombre sur le header scrollé (fond clair) */
.site-header.scrolled .site-nav__list a {
    color: var(--color-text);
    transition: color var(--transition-base);
}

.site-header.scrolled .site-nav__list a:hover,
.site-header.scrolled .site-nav__list a:focus-visible,
.site-header.scrolled .site-nav__list .current-menu-item > a {
    color: var(--color-gold-dark);
}

/* Barres hamburger en doré foncé sur header scrollé */
.site-header.scrolled .site-nav__toggle-bar {
    background: var(--color-gold-dark);
}

/* Bouton CTA du header — adapter sur fond clair */
.site-header.scrolled .site-nav__cta {
    box-shadow: 0 2px 12px rgba(200, 164, 92, 0.3);
}

/* ——— Effet "coupé" peintre : bord déchiré en bas du header (::after) ——— */
.site-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    transform: translateY(100%);
    pointer-events: none;
    opacity: 0;
    transition: opacity var(--transition-slow);
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 1440 40' preserveAspectRatio='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0,0 L1440,0 L1440,30 L1400,15 L1370,30 L1330,12 L1290,28 L1250,14 L1210,30 L1170,16 L1130,28 L1090,12 L1050,30 L1010,15 L970,28 L930,13 L890,30 L850,16 L810,28 L770,12 L730,30 L690,14 L650,28 L610,11 L570,30 L530,16 L490,28 L450,13 L410,30 L370,15 L330,27 L290,12 L250,30 L210,16 L170,28 L130,11 L90,30 L50,14 L0,28 Z' fill='%23F5F0EB'/%3E%3C/svg%3E") repeat-x bottom;
    background-size: 100% 100%;
    /* Ombre portée qui suit les zigzags → rend l'effet visible */
    filter: drop-shadow(0 3px 4px rgba(0, 0, 0, 0.08));
}

.site-header.scrolled::after {
    opacity: 1;
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
}

.site-header__logo {
    position: relative;
    display: flex;
    align-items: center;
}

/* Halo doré subtil derrière le logo */
.site-header__logo::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(200, 164, 92, 0.22) 0%, transparent 70%);
    opacity: 1;
    transition: opacity var(--transition-slow);
    pointer-events: none;
    z-index: -1;
}

/* Sur fond sombre (hero), le halo est plus visible */
.site-header:not(.scrolled) .site-header__logo::before {
    background: radial-gradient(circle, rgba(200, 164, 92, 0.28) 0%, transparent 70%);
}

.site-header__logo .custom-logo {
    max-height: 65px;
    width: auto;
    transition: max-height var(--transition-base), filter var(--transition-base), transform var(--transition-base);
    position: relative;
    z-index: 1;
    /* Légère ombre portée pour faire ressortir sur fond clair */
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.08));
}

/* Sur fond sombre (hero), le logo est plus lumineux */
.site-header:not(.scrolled) .site-header__logo .custom-logo {
    filter: brightness(1.15) drop-shadow(0 2px 12px rgba(200, 164, 92, 0.4));
}

/* Effet hover subtil : le logo se soulève légèrement */
.site-header__logo:hover .custom-logo {
    filter: brightness(1.15) drop-shadow(0 4px 12px rgba(200, 164, 92, 0.4));
    transform: translateY(-1px);
}

.site-header:not(.scrolled) .site-header__logo:hover .custom-logo {
    filter: brightness(1.3) drop-shadow(0 4px 18px rgba(200, 164, 92, 0.5));
}

.site-header.scrolled .site-header__logo .custom-logo {
    max-height: 55px;
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.06));
}

.site-header.scrolled .site-header__logo:hover .custom-logo {
    filter: brightness(1.1) drop-shadow(0 4px 12px rgba(200, 164, 92, 0.3));
}

.site-header__title {
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    font-weight: 600;
    color: var(--color-gold);
}

/* ——— Navigation desktop ——— */
.site-nav {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.site-nav__list {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.site-nav__list a {
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--color-text-inverse);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.25rem 0;
    position: relative;
    transition: color var(--transition-fast);
}

.site-nav__list a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-gold);
    transition: width var(--transition-base);
}

.site-nav__list a:hover,
.site-nav__list a:focus-visible,
.site-nav__list .current-menu-item > a {
    color: var(--color-gold);
}

.site-nav__list a:hover::after,
.site-nav__list .current-menu-item > a::after {
    width: 100%;
}

.site-nav__cta {
    white-space: nowrap;
}

/* ——— Bouton hamburger ——— */
.site-nav__toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 28px;
    padding: 4px;
    z-index: calc(var(--z-header) + 10);
}

.site-nav__toggle-bar {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--color-gold);
    border-radius: 2px;
    transition: transform var(--transition-base), opacity var(--transition-base), background var(--transition-base);
}

/* Animation hamburger → croix */
.nav-open .site-nav__toggle .site-nav__toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-open .site-nav__toggle .site-nav__toggle-bar:nth-child(2) {
    opacity: 0;
}

.nav-open .site-nav__toggle .site-nav__toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

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

.site-footer {
    background: var(--color-bg-dark);
    border-top: 1px solid rgba(200, 164, 92, 0.2);
    padding: var(--space-2xl) 0 var(--space-md);
}

.site-footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 1.5fr;
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.site-footer__heading {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: 600;
    color: var(--color-gold);
    margin-bottom: var(--space-sm);
}

.site-footer__desc {
    color: var(--color-text-muted);
    font-size: var(--text-sm);
    margin-top: var(--space-sm);
    max-width: 320px;
}

.site-footer__menu li {
    margin-bottom: 0.5rem;
}

.site-footer__menu a {
    color: var(--color-text-muted);
    font-size: var(--text-sm);
    transition: color var(--transition-fast);
}

.site-footer__menu a:hover {
    color: var(--color-gold);
}

.site-footer__contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    font-size: var(--text-sm);
    color: var(--color-text-muted);
}

.footer-icon {
    color: var(--color-gold);
    flex-shrink: 0;
}

.site-footer__hours {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    line-height: 1.8;
}

.site-footer__bottom {
    padding-top: var(--space-md);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}

.site-footer__copyright {
    font-size: var(--text-xs);
    color: var(--color-text-muted);
}

/* ——— Footer : surcharge texte pour fond sombre ——— */
.site-footer,
.site-footer__desc,
.site-footer__menu a,
.site-footer__contact-list li,
.site-footer__hours,
.site-footer__copyright {
    color: var(--color-text-inverse);
}

.site-footer__desc,
.site-footer__hours,
.site-footer__copyright,
.site-footer__contact-list li {
    opacity: 0.7;
}

.site-footer__menu a:hover {
    color: var(--color-gold);
    opacity: 1;
}

/* =============================================================
   SECTIONS SOMBRES (hero, CTA) — Surcharge texte
   ============================================================= */

.hero .hero__subtitle,
.cta-section .cta-section__desc {
    color: var(--color-text-inverse);
    opacity: 0.75;
}

.cta-section .cta-section__title {
    color: var(--color-text-inverse);
}

/* Boutons outline dans les sections sombres */
.hero .btn--outline {
    color: var(--color-text-inverse);
    border-color: var(--color-text-inverse);
}

.hero .btn--outline:hover {
    background: var(--color-text-inverse);
    color: var(--color-bg-dark);
    border-color: var(--color-text-inverse);
}

/* Logo dans le footer — mise en avant */
.site-footer .custom-logo {
    max-height: 65px;
    width: auto;
    filter: brightness(1.05) drop-shadow(0 2px 8px rgba(200, 164, 92, 0.2));
    transition: filter var(--transition-base), transform var(--transition-base);
}

.site-footer .custom-logo:hover {
    filter: brightness(1.15) drop-shadow(0 4px 16px rgba(200, 164, 92, 0.35));
    transform: translateY(-2px);
}

.site-footer__name {
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    font-weight: 600;
    color: var(--color-gold);
}

/* =============================================================
   BOUTONS
   ============================================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.875rem 2rem;
    border-radius: var(--radius-sm);
    transition: all var(--transition-base);
    cursor: pointer;
    text-decoration: none;
    border: 2px solid transparent;
    line-height: 1.2;
}

.btn--primary {
    background: linear-gradient(135deg, var(--color-gold), var(--color-gold-dark));
    color: #1A1A1A;
    border-color: transparent;
    box-shadow: 0 4px 16px rgba(200, 164, 92, 0.2);
}

.btn--primary:hover,
.btn--primary:focus-visible {
    background: linear-gradient(135deg, var(--color-gold-light), var(--color-gold));
    color: #1A1A1A;
    box-shadow: 0 6px 24px rgba(200, 164, 92, 0.35);
    transform: translateY(-1px);
}

.btn--outline {
    background: transparent;
    color: var(--color-text);
    border-color: var(--color-gold);
}

.btn--outline:hover,
.btn--outline:focus-visible {
    background: var(--color-gold);
    color: #1A1A1A;
    border-color: var(--color-gold);
}

.btn--sm {
    padding: 0.625rem 1.25rem;
    font-size: var(--text-xs);
}

.btn--lg {
    padding: 1.125rem 2.5rem;
    font-size: var(--text-base);
}

/* Bouton avec effet de brillance (CTA) */
.btn--glow {
    position: relative;
    overflow: hidden;
}

.btn--glow::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 40%,
        rgba(255, 255, 255, 0.15) 50%,
        transparent 60%
    );
    animation: btn-shine 3s ease-in-out infinite;
}

@keyframes btn-shine {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}

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

/* ——— Hero : fond riche multi-couches, texture, lumières dorées ——— */
.hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: var(--space-3xl) 0;
    background-color: #060606;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    /* Coupe en biais : bas-gauche → droite-plus-haut */
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 50px), 0 100%);
    /* Ombre qui suit la découpe → rend l'effet visible */
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.15));
}

/* Overlay sombre directionnel (pas un aplat uniforme) */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(180deg,
            rgba(6, 6, 6, 0.15) 0%,
            rgba(6, 6, 6, 0.50) 40%,
            rgba(6, 6, 6, 0.78) 100%);
}

/* Couches décoratives : grille, texture toile, halos dorés */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
        /* 1. Grille subtile de points dorés */
        radial-gradient(circle, rgba(200, 164, 92, 0.12) 1px, transparent 1px),
        /* 2. Texture grain/toile de peintre */
        url("data:image/svg+xml,%3Csvg width='200' height='200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='grain'%3E%3CfeTurbulence baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23grain)' opacity='0.04'/%3E%3C/svg%3E"),
        /* 3. Halo doré principal (bas-gauche) */
        radial-gradient(ellipse 55% 65% at 25% 70%, rgba(200, 164, 92, 0.08) 0%, transparent 60%),
        /* 4. Halo secondaire (haut-droit) */
        radial-gradient(ellipse 40% 45% at 75% 30%, rgba(200, 164, 92, 0.05) 0%, transparent 55%),
        /* 5. Halo tertiaire (bas-droit) */
        radial-gradient(ellipse 30% 35% at 65% 85%, rgba(180, 120, 50, 0.04) 0%, transparent 50%);
    background-size:
        30px 30px,
        200px 200px,
        100% 100%,
        100% 100%,
        100% 100%;
    background-position: center;
    background-repeat: repeat, repeat, no-repeat, no-repeat, no-repeat;
    animation: heroGlow 10s ease-in-out infinite alternate;
}

@keyframes heroGlow {
    0%   { opacity: 0.5; }
    100% { opacity: 1; }
}

/* Ligne décorative dorée subtile */
.hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 0 var(--container-padding);
}

/* Filet doré décoratif au-dessus du titre */
.hero__content::before {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    margin: 0 auto var(--space-lg);
    background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
    opacity: 0.7;
}

/* Double filet décoratif sous les actions */
.hero__content::after {
    content: '';
    display: block;
    width: 100px;
    height: 1px;
    margin: var(--space-lg) auto 0;
    background: linear-gradient(90deg, transparent, rgba(200, 164, 92, 0.4), transparent);
}

.hero__title {
    font-family: var(--font-heading);
    font-size: var(--text-5xl);
    font-weight: 700;
    line-height: 1.15;
    background: linear-gradient(135deg, var(--color-gold), var(--color-gold-light), var(--color-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-md);
}

.hero__subtitle {
    font-size: var(--text-lg);
    color: rgba(232, 224, 216, 0.75);
    margin-bottom: var(--space-xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.hero__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    flex-wrap: wrap;
}

/* Hero intérieur (pages secondaires) — mêmes effets mais hauteur réduite */
.hero--inner {
    min-height: 450px;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 35px), 0 100%);
}

.hero--inner .hero__title {
    font-size: var(--text-4xl);
}

.hero--inner .hero__content::before {
    width: 40px;
    margin-bottom: var(--space-md);
}

.hero--inner .hero__content::after {
    display: none; /* pas de filet sous les pages intérieures */
}

/* =============================================================
   BREADCRUMB (Fil d'Ariane)
   ============================================================= */

.breadcrumb {
    padding: var(--space-md) 0;
    font-size: var(--text-xs);
    color: var(--color-text-muted);
    border-bottom: 1px solid rgba(200, 164, 92, 0.1);
}

.breadcrumb__list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.25rem;
    padding: 0;
    margin: 0;
}

.breadcrumb__link {
    color: var(--color-text-muted);
    text-decoration: none;
    transition: color var(--transition-fast);
}

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

.breadcrumb__sep {
    padding: 0 0.25rem;
    color: var(--color-border);
    user-select: none;
}

.breadcrumb__current {
    color: var(--color-gold);
    font-weight: 500;
}

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

.section {
    padding: var(--space-3xl) 0;
}

.section--alt {
    background-color: var(--color-bg-alt);
}

.section--border {
    border-top: 1px solid rgba(200, 164, 92, 0.1);
    border-bottom: 1px solid rgba(200, 164, 92, 0.1);
}

.section__header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.section__label {
    display: inline-block;
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-gold);
    margin-bottom: var(--space-xs);
}

.section__title {
    font-family: var(--font-heading);
    font-size: var(--text-4xl);
    font-weight: 600;
    color: var(--color-heading);
    line-height: 1.2;
}

.section__subtitle {
    color: var(--color-text-muted);
    font-size: var(--text-base);
    margin-top: var(--space-sm);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* =============================================================
   CARDS — SERVICES
   ============================================================= */

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
}

.service-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: var(--space-xl);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-gold), var(--color-gold-light));
    opacity: 0;
    transition: opacity var(--transition-base);
}

.service-card:hover {
    border-color: rgba(200, 164, 92, 0.3);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card__icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-sm);
}

.service-card__title {
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    font-weight: 600;
    color: var(--color-gold);
    margin-bottom: var(--space-sm);
}

.service-card__desc {
    color: var(--color-text-muted);
    font-size: var(--text-sm);
    line-height: 1.7;
    margin-bottom: var(--space-md);
}

.service-card__link {
    font-size: var(--text-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-gold);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap var(--transition-fast);
}

.service-card__link:hover {
    gap: 0.75rem;
}

/* =============================================================
   CARDS — PROJETS / RÉALISATIONS
   ============================================================= */

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--space-md);
}

.project-card {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    cursor: pointer;
    background: var(--color-bg-card);
}

.project-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.project-card:hover .project-card__img {
    transform: scale(1.05);
}

.project-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(10, 10, 10, 0.95) 0%,
        rgba(10, 10, 10, 0.3) 50%,
        transparent 100%
    );
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: var(--space-lg);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.project-card:hover .project-card__overlay {
    opacity: 1;
}

.project-card__title {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: 600;
    color: var(--color-gold);
}

.project-card__cat {
    font-size: var(--text-xs);
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 0.25rem;
}

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

.testimonials-carousel {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(320px, 1fr);
    gap: var(--space-lg);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: var(--space-sm) 0;
    -webkit-overflow-scrolling: touch;
}

.testimonials-carousel::-webkit-scrollbar {
    display: none;
}

.testimonial-card {
    scroll-snap-align: start;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: var(--space-xl);
    min-width: 320px;
}

.testimonial-card__rating {
    margin-bottom: var(--space-sm);
}

.testimonial-card__text {
    font-style: italic;
    color: var(--color-text);
    font-size: var(--text-sm);
    line-height: 1.8;
    margin-bottom: var(--space-md);
    quotes: '\201C' '\201D';
}

.testimonial-card__text::before {
    content: open-quote;
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--color-gold);
    line-height: 0;
    vertical-align: -0.4em;
    margin-right: 0.1em;
}

.testimonial-card__author {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.testimonial-card__avatar {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    object-fit: cover;
    border: 2px solid var(--color-gold);
}

.testimonial-card__name {
    font-weight: 600;
    font-size: var(--text-sm);
    color: var(--color-gold);
}

.testimonial-card__project {
    font-size: var(--text-xs);
    color: var(--color-text-muted);
}

/* =============================================================
   STATS / CHIFFRES CLÉS
   ============================================================= */

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-xl);
    text-align: center;
}

.stat-item__number {
    font-family: var(--font-heading);
    font-size: var(--text-5xl);
    font-weight: 700;
    color: var(--color-gold);
    line-height: 1;
}

.stat-item__label {
    font-size: var(--text-sm);
    color: var(--color-text-muted);
    margin-top: var(--space-xs);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

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

.cta-section {
    background: linear-gradient(135deg, var(--color-bg-dark), #1A1A1A);
    border: 1px solid rgba(200, 164, 92, 0.15);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl) var(--space-xl);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle at center,
        rgba(200, 164, 92, 0.03) 0%,
        transparent 70%
    );
}

.cta-section__title {
    font-family: var(--font-heading);
    font-size: var(--text-3xl);
    font-weight: 600;
    color: var(--color-heading);
    margin-bottom: var(--space-sm);
    position: relative;
}

.cta-section__desc {
    color: var(--color-text-muted);
    margin-bottom: var(--space-lg);
    position: relative;
}

/* =============================================================
   PAGE — CONTENU RICHE
   ============================================================= */

.content-entry {
    padding: var(--space-xl) 0;
}

.entry-content h2 {
    font-family: var(--font-heading);
    font-size: var(--text-3xl);
    color: var(--color-gold);
    margin-top: var(--space-xl);
    margin-bottom: var(--space-md);
}

.entry-content h3 {
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    color: var(--color-heading);
    margin-top: var(--space-lg);
    margin-bottom: var(--space-sm);
}

.entry-content p {
    margin-bottom: var(--space-md);
    color: var(--color-text-muted);
    line-height: 1.8;
}

.entry-content ul,
.entry-content ol {
    margin-bottom: var(--space-md);
    padding-left: var(--space-lg);
}

.entry-content ul {
    list-style: disc;
}

.entry-content ol {
    list-style: decimal;
}

.entry-content li {
    color: var(--color-text-muted);
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

.entry-content blockquote {
    border-left: 3px solid var(--color-gold);
    padding: var(--space-sm) var(--space-lg);
    margin: var(--space-lg) 0;
    background: var(--color-bg-card);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-style: italic;
    color: var(--color-text);
}

.entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: var(--space-md);
}

.entry-content th {
    background: var(--color-bg-card);
    color: var(--color-gold);
    font-weight: 600;
    padding: var(--space-sm);
    text-align: left;
    border-bottom: 2px solid var(--color-gold);
}

.entry-content td {
    padding: var(--space-sm);
    border-bottom: 1px solid var(--color-border);
    color: var(--color-text-muted);
}

/* =============================================================
   PAGE CONTACT
   ============================================================= */

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--space-2xl);
}

.contact-info__item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
}

.contact-info__icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    width: 40px;
    text-align: center;
}

.contact-info__label {
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
    margin-bottom: 0.25rem;
}

.contact-info__value {
    font-size: var(--text-base);
    color: var(--color-heading);
    font-weight: 500;
}

.contact-info__value a {
    color: var(--color-heading);
}

.contact-info__value a:hover {
    color: var(--color-gold);
}

/* =============================================================
   FORMULAIRES
   ============================================================= */

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="number"],
input[type="date"],
textarea,
select {
    width: 100%;
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    padding: 0.75rem 1rem;
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: var(--text-sm);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

input:focus,
textarea:focus,
select:focus {
    border-color: var(--color-gold);
    box-shadow: 0 0 0 3px rgba(200, 164, 92, 0.1);
    outline: none;
}

textarea {
    min-height: 120px;
    resize: vertical;
}

label {
    display: block;
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--color-heading);
    margin-bottom: 0.375rem;
}

::placeholder {
    color: var(--color-text-muted);
    opacity: 0.7;
}

/* =============================================================
   PROJET — SINGLE
   ============================================================= */

.project-hero {
    position: relative;
    min-height: 60vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    padding-bottom: var(--space-2xl);
    background-color: var(--color-bg-dark);
    /* Coupe en biais comme le hero */
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 40px), 0 100%);
}

.project-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(10, 10, 10, 0.9) 0%,
        rgba(10, 10, 10, 0.3) 60%,
        transparent 100%
    );
}

.project-hero__content {
    position: relative;
    z-index: 2;
}

.project-hero__title {
    font-family: var(--font-heading);
    font-size: var(--text-4xl);
    color: var(--color-gold);
    font-weight: 600;
}

.project-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: var(--space-2xl);
    padding: var(--space-2xl) 0;
}

.project-gallery__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: var(--space-sm);
    margin-top: var(--space-md);
}

.project-gallery__item {
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4 / 3;
    transition: transform var(--transition-fast);
}

.project-gallery__item:hover {
    transform: scale(1.02);
}

.project-gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Fiche technique latérale */
.project-specs {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: var(--space-xl);
    position: sticky;
    top: 100px;
}

.project-specs__heading {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    color: var(--color-gold);
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid rgba(200, 164, 92, 0.2);
}

.project-specs__item {
    margin-bottom: var(--space-sm);
}

.project-specs__label {
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-muted);
}

.project-specs__value {
    font-weight: 500;
    color: var(--color-heading);
}

/* Navigation projet précédent/suivant */
.project-nav {
    display: flex;
    justify-content: space-between;
    padding: var(--space-lg) 0;
    border-top: 1px solid var(--color-border);
    margin-top: var(--space-xl);
    gap: var(--space-md);
}

.project-nav__link {
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* =============================================================
   RÉALISATIONS — ARCHIVE / FILTRES
   ============================================================= */

.filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-xl);
}

.filter-btn {
    padding: 0.5rem 1.25rem;
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    color: var(--color-text-muted);
    background: transparent;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.filter-btn:hover,
.filter-btn--active {
    background: var(--color-gold);
    color: #1A1A1A;
    border-color: var(--color-gold);
}

/* =============================================================
   FAQ — ACCORDÉON CSS-ONLY
   ============================================================= */

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--color-border);
}

.faq-item__question {
    cursor: pointer;
    padding: var(--space-md) 0;
    font-weight: 600;
    font-size: var(--text-base);
    color: var(--color-heading);
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-sm);
}

.faq-item__question::after {
    content: '+';
    font-size: var(--text-xl);
    color: var(--color-gold);
    flex-shrink: 0;
    transition: transform var(--transition-base);
}

details[open] .faq-item__question::after {
    content: '−';
}

.faq-item__answer {
    padding: 0 0 var(--space-md);
    color: var(--color-text-muted);
    font-size: var(--text-sm);
    line-height: 1.8;
}

/* =============================================================
   PAGINATION
   ============================================================= */

.pagination {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    margin-top: var(--space-xl);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--color-border);
}

.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--color-text-muted);
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    transition: all var(--transition-fast);
}

.pagination .page-numbers.current {
    background: var(--color-gold);
    color: #1A1A1A;
    border-color: var(--color-gold);
}

.pagination .page-numbers:hover:not(.current) {
    border-color: var(--color-gold);
    color: var(--color-gold);
}

/* =============================================================
   SCROLL-TO-TOP
   ============================================================= */

.scroll-to-top {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: var(--z-overlay);
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    background: var(--color-gold);
    color: #1A1A1A;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-xl);
    box-shadow: var(--shadow-md);
    border: none;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-base);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background: var(--color-gold-light);
    transform: translateY(-2px);
}

/* =============================================================
   404 PAGE
   ============================================================= */

.error-404 {
    text-align: center;
    padding: var(--space-3xl) 0;
}

.error-404__title {
    font-family: var(--font-heading);
    font-size: 8rem;
    font-weight: 700;
    color: var(--color-gold);
    line-height: 1;
    opacity: 0.3;
}

.error-404__heading {
    font-family: var(--font-heading);
    font-size: var(--text-3xl);
    color: var(--color-heading);
    margin-bottom: var(--space-md);
}

.error-404__desc {
    color: var(--color-text-muted);
    margin-bottom: var(--space-xl);
}

/* =============================================================
   LIGHTBOX
   ============================================================= */

.lightbox {
    position: fixed;
    inset: 0;
    z-index: var(--z-modal);
    background: rgba(10, 10, 10, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.lightbox__img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: var(--radius-sm);
    cursor: default;
}

.lightbox__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 48px;
    height: 48px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    color: var(--color-heading);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background var(--transition-fast);
}

.lightbox__close:hover {
    background: rgba(200, 164, 92, 0.3);
}

.lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    color: var(--color-heading);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background var(--transition-fast);
}

.lightbox__nav:hover {
    background: rgba(200, 164, 92, 0.3);
}

.lightbox__prev {
    left: 1rem;
}

.lightbox__next {
    right: 1rem;
}

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

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.slide-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =============================================================
   SEARCH
   ============================================================= */

.search-results .search-entry {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    margin-bottom: var(--space-md);
    transition: border-color var(--transition-fast);
}

.search-results .search-entry:hover {
    border-color: rgba(200, 164, 92, 0.2);
}

.search-results .search-entry__title {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    color: var(--color-gold);
    margin-bottom: var(--space-xs);
}

.search-results .search-entry__excerpt {
    color: var(--color-text-muted);
    font-size: var(--text-sm);
}

.no-results {
    text-align: center;
    padding: var(--space-2xl) 0;
}

.no-results__title {
    font-family: var(--font-heading);
    font-size: var(--text-2xl);
    color: var(--color-gold);
    margin-bottom: var(--space-md);
}

.no-results__desc {
    color: var(--color-text-muted);
    margin-bottom: var(--space-lg);
}


/* =============================================================
   RESPONSIVE — TABLETTE (≤ 1024px)
   ============================================================= */

@media (max-width: 1024px) {
    :root {
        --text-5xl: 2.75rem;
        --text-4xl: 2rem;
        --text-3xl: 1.75rem;
    }

    .site-footer__grid {
        grid-template-columns: 1fr 1fr;
    }

    .project-layout {
        grid-template-columns: 1fr;
    }

    .project-specs {
        position: static;
    }

    .contact-layout {
        grid-template-columns: 1fr;
    }
}


/* =============================================================
   RESPONSIVE — TABLETTE PORTRAIT / PETIT ÉCRAN (≤ 768px)
   ============================================================= */

@media (max-width: 768px) {
    :root {
        --text-5xl: 2.25rem;
        --text-4xl: 1.75rem;
        --text-3xl: 1.5rem;
        --text-2xl: 1.25rem;

        --space-3xl: 3rem;
        --space-2xl: 2.5rem;
    }

    /* Contact : cartes et form+map en 1 colonne */
    .contact-grid,
    .contact-form-map { grid-template-columns: 1fr !important; }

    /* Navigation mobile */
    .site-nav__toggle {
        display: flex;
    }

    /* Bloquer le scroll quand le menu mobile est ouvert */
    .nav-open {
        overflow: hidden;
        height: 100%;
    }

    /* Logo réduit sur mobile */
    .site-header__logo .custom-logo {
        max-height: 48px;
    }

    .site-header.scrolled .site-header__logo .custom-logo {
        max-height: 40px;
    }

    .site-header__logo::before {
        width: 65px;
        height: 65px;
    }

    .site-nav {
        position: fixed;
        inset: 0;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: var(--space-xl);
        opacity: 0;
        visibility: hidden;
        transition: opacity var(--transition-base), visibility var(--transition-base);
        z-index: calc(var(--z-header) + 5);
    }

    .nav-open .site-nav {
        opacity: 1;
        visibility: visible;
    }

    .site-nav__list {
        flex-direction: column;
        align-items: center;
        gap: var(--space-lg);
    }

    .site-nav__list a {
        font-size: var(--text-xl);
    }

    .site-nav__cta {
        font-size: var(--text-base);
        padding: 0.875rem 2rem;
    }

    /* Footer */
    .site-footer__grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    /* Hero */
    .hero {
        min-height: 90vh;
    }

    .hero--inner {
        min-height: 350px;
    }

    .hero__actions {
        flex-direction: column;
    }

    .hero__actions .btn {
        width: 100%;
    }

    /* Cards */
    .services-grid {
        grid-template-columns: 1fr;
    }

    .projects-grid {
        grid-template-columns: 1fr 1fr;
    }

    /* Filtres */
    .filters {
        gap: 0.5rem;
    }

    .filter-btn {
        padding: 0.4rem 0.875rem;
        font-size: 0.7rem;
    }

    /* Projet single */
    .project-gallery__grid {
        grid-template-columns: 1fr 1fr;
    }

    /* Carousel */
    .testimonials-carousel {
        grid-auto-columns: 85vw;
    }

    /* Stats */
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    /* Galerie catégories */
    .gallery-masonry {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .gallery-item-overlay {
        opacity: 1;
        background: rgba(0,0,0,0.2) !important;
    }

    .category-cards {
        grid-template-columns: 1fr !important;
    }

    /* Services grid : 1 colonne sur mobile */
    .services-grid {
        grid-template-columns: 1fr;
    }
}


/* =============================================================
   RESPONSIVE — MOBILE (≤ 480px)
   ============================================================= */

@media (max-width: 480px) {
    :root {
        --container-padding: 1rem;
    }

    .hero__title {
        font-size: 2rem;
    }

    .hero__subtitle {
        font-size: var(--text-sm);
    }

    .section__title {
        font-size: var(--text-3xl);
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .project-gallery__grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-item__number {
        font-size: var(--text-4xl);
    }

    .testimonial-card {
        min-width: 280px;
    }

    .gallery-masonry {
        grid-template-columns: 1fr !important;
    }

    .contact-card {
        padding: var(--space-md) !important;
    }
}
