/* ==========================================================================
   Meco Concept — page « site en construction » (construction.php)
   S'appuie sur les variables et la typographie de main.css. Affichage sombre uniquement.
   Classes propres préfixées (cx-) quand main.css utilise déjà le nom.
   ========================================================================== */

.page-construction { position: relative; }

/* Décor : fond 2000×952 ancré en bas du premier écran, maison détourée posée sur le même cadrage.
   Voile léger : le décor reste lisible, c'est le panneau qui porte le texte. */
.decor { position: absolute; top: 0; left: 0; right: 0; height: 100svh; z-index: 0; overflow: hidden; background: var(--noir); pointer-events: none; }
.decor__cadre { position: absolute; left: 0; right: 0; bottom: 0; aspect-ratio: 2000 / 952; min-height: 100%; }
.decor__bg { width: 100%; height: 100%; object-fit: cover; object-position: center bottom; }
.decor__chalet { position: absolute; height: auto; }
.decor__voile {
    position: absolute; inset: 0;
    background:
        linear-gradient(180deg, rgba(var(--voile), 0.7) 0%, rgba(var(--voile), 0.25) 18%, rgba(var(--voile), 0) 40%),
        linear-gradient(0deg, var(--noir) 0%, rgba(var(--voile), 0.6) 10%, rgba(var(--voile), 0) 30%);
}

/* Barre du haut : logo puis état du site à gauche ; à droite l'e-mail (noir, contour blanc) puis le téléphone (vert, prioritaire) */
.tete { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; padding: 22px var(--gutter) 0; }
.tete__marque { display: flex; align-items: center; gap: 22px; }
.tete__logo { display: block; color: var(--blanc); }
.tete__logo .logo-svg { height: 60px; width: auto; }
.tete__etat {
    display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px;
    border: 1px solid var(--hairline); background: rgba(var(--voile), 0.55); backdrop-filter: blur(8px);
    font-size: 0.68rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--blanc);
}
.tete__point { width: 8px; height: 8px; background: var(--vert); box-shadow: 0 0 0 3px rgba(115, 193, 99, 0.25); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 3px rgba(115, 193, 99, 0.25); } 50% { box-shadow: 0 0 0 7px rgba(115, 193, 99, 0); } }
.tete__contact { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.tete__btn { padding: 13px 20px; font-size: 0.82rem; letter-spacing: 0.08em; text-transform: none; }
.btn--noir-contour { background: var(--noir); color: var(--blanc); border-color: var(--blanc); }
.btn--noir-contour:hover { background: var(--blanc); color: var(--encre); }

/* Hero : premier écran, panneau à gauche avec le logo, la maison dégagée à droite */
.cx-hero { position: relative; z-index: 1; min-height: calc(100svh - 70px); display: flex; align-items: center; padding: clamp(24px, 4vh, 48px) var(--gutter) clamp(48px, 8vh, 96px); }
.panneau {
    width: min(100%, 620px);
    padding: clamp(28px, 4vw, 44px); background: rgba(var(--voile), 0.78); border: 1px solid var(--hairline); backdrop-filter: blur(10px);
    animation: apparition 0.9s ease-out both;
}
@keyframes apparition { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.panneau h1 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); max-width: 20ch; }
.panneau .chapeau { margin-top: 20px; font-size: 1rem; }
.panneau__cta { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; }

/* Blocs de contenu sous le hero : fond plein, le décor reste derrière le premier écran */
.bloc { position: relative; z-index: 1; background: var(--noir); padding: clamp(56px, 8vw, 110px) 0; border-top: 1px solid var(--hairline); }
.bloc--2 { background: var(--noir-2); }
.bloc h2 { max-width: 26ch; }

.axes { margin-top: 44px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--hairline); border: 1px solid var(--hairline); }
.axe { background: var(--noir); padding: 30px 30px 34px; display: flex; flex-direction: column; gap: 10px; }
.axe--phare { background: var(--noir-3); border-left: 3px solid var(--vert); }
.axe__accroche { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); }
.axe h3 { font-size: 1.3rem; }
.axe--phare h3 { font-size: 1.5rem; }
.axe--phare:first-child { background: var(--noir-3); }
.axe p { color: var(--texte); max-width: 46ch; }

.particuliers { margin-top: 40px; display: grid; grid-template-columns: minmax(200px, 320px) 1fr; gap: 20px 40px; align-items: start; }
.particuliers h3 { font-size: 1.05rem; color: var(--blanc); padding-top: 6px; }
.etiquettes { display: flex; flex-wrap: wrap; gap: 8px; }
.etiquettes li { padding: 9px 14px; border: 1px solid var(--hairline-fort); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em; color: var(--blanc); }

.zone { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 64px; align-items: start; }
.zone__texte { padding-top: 8px; font-size: 1.02rem; display: flex; flex-direction: column; gap: 16px; max-width: 54ch; }
.zone__texte [lang="en"] { color: var(--texte-doux); }

/* Coordonnées en cartes, comme sur la page d'accueil */
.cx-contact { margin-top: 36px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.cx-contact__carte {
    display: flex; flex-direction: column; gap: 8px; padding: 22px 24px; text-decoration: none;
    border: 1px solid var(--hairline); background: var(--verre); transition: border-color 0.25s, background 0.25s;
}
a.cx-contact__carte:hover { border-color: var(--accent); background: rgba(115, 193, 99, 0.08); }
.cx-contact__label { font-size: 0.66rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); }
.cx-contact__valeur { font-weight: 700; color: var(--blanc); font-size: 1.05rem; line-height: 1.4; overflow-wrap: anywhere; }
.cx-contact__mention { margin-top: 18px; font-size: 0.78rem; letter-spacing: 0.06em; color: var(--texte-doux); }

/* Pied de page minimal : mentions, renvoi discret, crédit FOC */
.pied {
    position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px;
    padding: 20px var(--gutter) 24px; font-size: 0.74rem; color: var(--texte-doux); border-top: 1px solid var(--hairline); background: var(--noir);
}
.pied__legal { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.pied__legal a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.pied__legal a:hover { color: var(--accent-clair); }
.pied__sep { opacity: 0.5; }
.pied .footer__foc-link { text-decoration: none; }

@media (max-width: 960px) {
    /* bandeau : cadrage élargi à 130 % et ancré à droite pour garder la maison grande et entière */
    .decor { height: auto; bottom: auto; }
    .decor__cadre { position: relative; bottom: auto; left: auto; right: 0; min-height: 0; width: 130%; margin-left: -30%; }
    .decor__voile { background:
        linear-gradient(180deg, rgba(var(--voile), 0.5) 0%, rgba(var(--voile), 0) 28%, rgba(var(--voile), 0) 62%, var(--noir) 100%); }
    .tete { padding-top: 18px; }
    .tete__marque { width: 100%; justify-content: space-between; gap: 12px; }
    .tete__logo .logo-svg { height: 46px; }
    .tete__etat { padding: 8px 10px; font-size: 0.58rem; }
    .tete__contact { width: 100%; flex-direction: column; align-items: stretch; gap: 8px; }
    .tete__btn { width: 100%; padding: 13px 10px; font-size: 0.82rem; letter-spacing: 0.04em; justify-content: center; }
    .cx-hero { min-height: 0; margin-top: 18vw; padding-top: 0; }
    .panneau { width: 100%; padding: 24px 20px; }
    .axes, .cx-contact { grid-template-columns: 1fr; }
    .particuliers, .zone { grid-template-columns: 1fr; }
    .pied { flex-direction: column; align-items: flex-start; }
    .pied__sep { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .panneau { animation: none; }
    .tete__point { animation: none; }
}
