/* ==========================================================
   Mythique Renov — feuille de style
   ========================================================== */
:root {
    --orange: #E5791E;
    --orange-fonce: #C9620E;
    --anthracite: #2F3237;
    --gris: #5F6369;
    --gris-clair: #8A8E94;
    --fond-gris: #F4F4F2;
    --bordure: #E3E3DF;
    --blanc: #FFFFFF;
    --rayon: 12px;
    --ombre: 0 10px 30px rgba(47, 50, 55, .08);
    --police: 'Montserrat', 'Segoe UI', Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--police);
    color: var(--anthracite);
    background: var(--blanc);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; }

.conteneur { width: min(1160px, 100% - 40px); margin-inline: auto; }

/* ---------- Bandeau "en construction" ---------- */
.bandeau {
    background: var(--anthracite);
    color: #fff;
    text-align: center;
    font-size: .85rem;
    font-weight: 500;
    padding: 9px 16px;
    letter-spacing: .02em;
}
.pastille {
    display: inline-block; width: 8px; height: 8px; border-radius: 50%;
    background: var(--orange); margin-right: 8px; vertical-align: middle;
    animation: pulse 1.6s infinite;
}
@keyframes pulse {
    0%   { box-shadow: 0 0 0 0 rgba(229,121,30,.7); }
    70%  { box-shadow: 0 0 0 8px rgba(229,121,30,0); }
    100% { box-shadow: 0 0 0 0 rgba(229,121,30,0); }
}

/* ---------- Boutons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    font-family: inherit; font-weight: 700; font-size: .95rem;
    padding: 11px 20px; border-radius: 8px; border: 2px solid transparent;
    text-decoration: none; cursor: pointer; transition: .2s ease;
}
.btn svg { width: 18px; height: 18px; fill: currentColor; }
.btn--orange { background: var(--orange); color: #fff; }
.btn--orange:hover { background: var(--orange-fonce); transform: translateY(-1px); }
.btn--contour { border-color: rgba(255,255,255,.8); color: #fff; }
.btn--contour:hover { background: #fff; color: var(--anthracite); }
.btn--grand { padding: 15px 28px; font-size: 1rem; }
.btn--plein { width: 100%; }

/* ---------- En-tête ---------- */
.entete {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--bordure);
}
.entete__inner { display: flex; align-items: center; gap: 32px; padding: 10px 0; }
.entete__logo img { width: 130px; height: auto; }
.entete__nav { display: flex; gap: 28px; margin-left: auto; }
.entete__nav a {
    text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--gris);
    position: relative; padding: 4px 0;
}
.entete__nav a::after {
    content: ''; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
    background: var(--orange); transition: width .2s;
}
.entete__nav a:hover { color: var(--anthracite); }
.entete__nav a:hover::after { width: 100%; }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    color: #fff;
    padding: 110px 0 120px;
    background:
        linear-gradient(100deg, rgba(30,32,36,.92) 0%, rgba(30,32,36,.78) 45%, rgba(30,32,36,.35) 100%),
        url('https://images.unsplash.com/photo-1785234598179-24bf745a33ad?auto=format&fit=crop&w=1920&q=75') center / cover no-repeat,
        var(--anthracite);
}
.hero::after { /* rappel du toit du logo */
    content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 60px;
    background: var(--blanc);
    clip-path: polygon(0 100%, 50% 0, 100% 100%);
}
.hero__inner { max-width: 1160px; position: relative; z-index: 1; }
.surtitre {
    display: inline-block; margin: 0 0 14px;
    font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
    color: var(--orange);
}
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 800; max-width: 760px; }
.hero h1 span { color: var(--orange); }
.hero__texte { font-size: 1.1rem; max-width: 580px; color: rgba(255,255,255,.88); margin: 0 0 30px; }

.progression { max-width: 460px; margin-bottom: 34px; }
.progression__entete {
    display: flex; justify-content: space-between; font-size: .85rem; font-weight: 600;
    margin-bottom: 8px; color: rgba(255,255,255,.85);
}
.progression__entete strong { color: var(--orange); }
.progression__barre { height: 8px; background: rgba(255,255,255,.18); border-radius: 99px; overflow: hidden; }
.progression__barre span {
    display: block; height: 100%; width: 75%; border-radius: 99px;
    background: repeating-linear-gradient(-45deg, var(--orange) 0 12px, #F08F3C 12px 24px);
    background-size: 34px 100%;
    animation: chantier 1.2s linear infinite, remplir 1.6s ease-out;
}
@keyframes chantier { to { background-position: 34px 0; } }
@keyframes remplir  { from { width: 0; } }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Sections ---------- */
.section { padding: 90px 0; }
.section--gris { background: var(--fond-gris); }
.section__titre { text-align: center; max-width: 680px; margin: 0 auto 50px; }
.section__titre h2, .contact h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 800; }
.section__titre p:not(.surtitre) { color: var(--gris); margin: 0; }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.carte {
    background: #fff; border-radius: var(--rayon); overflow: hidden;
    box-shadow: var(--ombre); border: 1px solid var(--bordure);
    transition: transform .25s, box-shadow .25s;
    display: flex; flex-direction: column;
}
.carte:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(47,50,55,.14); }
.carte__img { position: relative; aspect-ratio: 3 / 2; background: var(--gris-clair); overflow: hidden; }
.carte__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.carte:hover .carte__img img { transform: scale(1.05); }
.carte__num {
    position: absolute; left: 18px; bottom: -1px;
    background: var(--orange); color: #fff; font-weight: 800; font-size: .9rem;
    padding: 6px 12px; border-radius: 6px 6px 0 0;
}
.carte__corps { padding: 26px 26px 28px; border-top: 4px solid var(--orange); flex: 1; }
.carte__corps h3 { font-size: 1.3rem; font-weight: 800; }
.carte__corps p { color: var(--gris); margin: 0 0 16px; font-size: .95rem; }
.carte__corps ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.carte__corps li { position: relative; padding-left: 24px; font-weight: 600; font-size: .92rem; }
.carte__corps li::before {
    content: ''; position: absolute; left: 0; top: .45em; width: 12px; height: 7px;
    border-left: 3px solid var(--orange); border-bottom: 3px solid var(--orange);
    transform: rotate(-45deg);
}

/* ---------- Atouts ---------- */
.atouts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.atout {
    background: #fff; padding: 30px 24px; border-radius: var(--rayon);
    border: 1px solid var(--bordure); text-align: center;
}
.atout__icone {
    width: 58px; height: 58px; margin: 0 auto 18px; border-radius: 14px;
    background: rgba(229,121,30,.12); display: grid; place-items: center;
}
.atout__icone svg { width: 28px; height: 28px; fill: var(--orange); }
.atout h3 { font-size: 1.05rem; font-weight: 700; }
.atout p { margin: 0; color: var(--gris); font-size: .92rem; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.3fr; gap: 60px; align-items: start; }
.contact__infos > p:not(.surtitre) { color: var(--gris); }
.coord { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 20px; }
.coord li { display: flex; gap: 16px; align-items: center; }
.coord__icone {
    flex: none; width: 48px; height: 48px; border-radius: 12px;
    background: var(--anthracite); display: grid; place-items: center;
}
.coord__icone svg { width: 22px; height: 22px; fill: var(--orange); }
.coord small {
    display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: .1em;
    color: var(--gris-clair); font-weight: 600;
}
.coord a, .coord span { font-weight: 700; text-decoration: none; }
.coord a:hover { color: var(--orange); }

.formulaire {
    background: #fff; padding: 36px; border-radius: var(--rayon);
    box-shadow: var(--ombre); border: 1px solid var(--bordure);
    border-top: 5px solid var(--orange);
}
.champs { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 24px; }
.champ--large { grid-column: 1 / -1; }
.champ label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: 6px; }
.champ input, .champ select, .champ textarea {
    width: 100%; font: inherit; font-size: .95rem; color: var(--anthracite);
    padding: 12px 14px; border: 1.5px solid var(--bordure); border-radius: 8px;
    background: #FBFBFA; transition: border-color .2s, box-shadow .2s;
}
.champ textarea { resize: vertical; }
.champ input:focus, .champ select:focus, .champ textarea:focus {
    outline: none; border-color: var(--orange); background: #fff;
    box-shadow: 0 0 0 4px rgba(229,121,30,.15);
}
.champ--case { display: flex; gap: 10px; align-items: flex-start; }
.champ--case input { width: 18px; height: 18px; flex: none; margin-top: 3px; accent-color: var(--orange); }
.champ--case label { font-weight: 400; font-size: .85rem; color: var(--gris); margin: 0; }
.piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.message { padding: 14px 18px; border-radius: 8px; margin-bottom: 22px; font-weight: 600; font-size: .92rem; }
.message--succes { background: #E8F6EC; color: #1E7A3A; border: 1px solid #BFE5CB; }
.message--alerte { background: #FDF0E6; color: #9A4A0A; border: 1px solid #F5CFAE; }

/* ---------- Pied de page ---------- */
.pied { background: var(--anthracite); color: rgba(255,255,255,.75); font-size: .9rem; }
.pied__inner {
    display: flex; flex-wrap: wrap; gap: 40px; align-items: center; justify-content: space-between;
    padding: 50px 0 40px;
}
.pied__inner img { width: 150px; height: auto; }
.pied strong { color: #fff; }
.pied a { text-decoration: none; }
.pied a:hover { color: var(--orange); }
.pied__bas {
    border-top: 1px solid rgba(255,255,255,.1); text-align: center;
    padding: 18px 20px; font-size: .8rem;
}

/* ---------- Mentions légales ---------- */
.legal { padding: 70px 0 90px; }
.legal .conteneur { max-width: 820px; }
.legal h1 { font-size: 2.2rem; font-weight: 800; }
.legal h2 { font-size: 1.2rem; font-weight: 700; margin-top: 2em; color: var(--orange); }
.legal p { color: var(--gris); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
    .services { grid-template-columns: 1fr 1fr; }
    .atouts { grid-template-columns: 1fr 1fr; }
    .contact { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 720px) {
    .entete__nav { display: none; }
    .entete__tel { margin-left: auto; padding: 9px 14px; font-size: .85rem; }
    .entete__logo img { width: 105px; }
    .hero { padding: 70px 0 90px; }
    .services, .atouts, .champs { grid-template-columns: 1fr; }
    .formulaire { padding: 24px; }
    .section { padding: 64px 0; }
    .pied__inner { flex-direction: column; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
}
