/* ==========================================================================
   J.A Toiture Expert — feuille de style unique
   Charte issue du logo : orange #EA5D16, noir #1C1C1C, gris.
   Trois oranges distincts, ne pas simplifier : le orange du logo ne passe
   pas WCAG AA en bouton (3,46) ni en texte sur fond clair.
   ========================================================================== */

:root {
  --orange:        #EA5D16; /* decoratif + texte sur fond sombre (4,93 sur --noir) */
  --orange-bouton: #C4450A; /* fond de bouton, texte blanc (5,00) */
  --orange-texte:  #B03F05; /* texte sur fond clair (5,53 sur --creme) */
  --orange-pale:   #FDF0E8;

  --noir:     #1C1C1C;
  --noir-2:   #141414;
  --gris:     #5A5A5A;
  --gris-clair: #E4DFDA;
  --creme:    #FAF7F4;
  --blanc:    #FFFFFF;

  --rayon:    14px;
  --rayon-sm: 8px;
  --ombre:    0 1px 2px rgba(28,28,28,.06), 0 8px 24px rgba(28,28,28,.07);
  --ombre-forte: 0 18px 50px rgba(28,28,28,.16);
  --gouttiere: clamp(1.25rem, 4vw, 2.5rem);
  --max:      1180px;
  --transition: .22s cubic-bezier(.4,0,.2,1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  background: var(--creme);
  color: var(--noir);
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  font-family: "Barlow Condensed", "Oswald", "Segoe UI", system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -.01em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.35rem, 6.2vw, 4.4rem); text-transform: uppercase; }
h2 { font-size: clamp(1.9rem, 4.2vw, 3rem); text-transform: uppercase; }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.5rem); }
p  { margin: 0 0 1.1em; max-width: 68ch; }

a { color: var(--orange-texte); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--noir); }

:focus-visible { outline: 3px solid var(--orange-bouton); outline-offset: 3px; border-radius: 3px; }

.conteneur { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gouttiere); }

.lien-evitement {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--noir); color: #fff; padding: .8rem 1.2rem;
}
.lien-evitement:focus { left: .5rem; top: .5rem; }

/* ------------------------------------------------------------------ Titres */
.surtitre {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--orange-texte); margin-bottom: 1rem;
}
.surtitre::before { content: ""; width: 26px; height: 2px; background: var(--orange); }
.surtitre--clair { color: var(--orange); }

.chapo { font-size: clamp(1.05rem, 1.7vw, 1.2rem); color: var(--gris); max-width: 62ch; }
.section--sombre .chapo { color: rgba(255,255,255,.8); }

/* ------------------------------------------------------------------ Boutons */
.bouton {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .95rem 1.7rem; border-radius: var(--rayon-sm);
  font-weight: 700; font-size: 1rem; text-decoration: none; border: 2px solid transparent;
  transition: var(--transition); cursor: pointer;
}
.bouton--plein { background: var(--orange-bouton); color: #fff; box-shadow: 0 6px 18px rgba(196,69,10,.28); }
.bouton--plein:hover { background: #A33907; color: #fff; transform: translateY(-2px); }
.bouton--fantome { background: transparent; color: var(--noir); border-color: var(--noir); }
.bouton--fantome:hover { background: var(--noir); color: #fff; }
.bouton--clair { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.55); }
.bouton--clair:hover { background: #fff; color: var(--noir); }

/* ------------------------------------------------------------------ En-tete */
.entete {
  position: sticky; top: 0; z-index: 60;
  background: rgba(250,247,244,.94); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gris-clair);
}
.entete__barre { display: flex; align-items: center; gap: 1.5rem; min-height: 74px; }
/* Le logo d'origine est une composition carree : dans une barre de 74 px le
   nom devient illisible. On affiche donc la marque graphique seule, et le nom
   est compose en typo a cote — lisible a toutes les tailles. */
.entete__logo { margin-right: auto; display: flex; align-items: center; gap: .6rem; text-decoration: none; }
.entete__logo img { height: 40px; width: auto; }
.nom-marque {
  display: grid; line-height: .92;
  font-family: "Barlow Condensed", "Segoe UI", sans-serif; font-weight: 700;
  text-transform: uppercase; color: var(--noir);
}
.nom-marque__1 { font-size: 1.42rem; letter-spacing: -.01em; }
.nom-marque__1 b { color: var(--orange-texte); font-weight: 700; }
.nom-marque__2 { font-size: .8rem; letter-spacing: .34em; color: var(--gris); }
@media (max-width: 420px) {
  .entete__logo img { height: 34px; }
  .nom-marque__1 { font-size: 1.2rem; }
  .nom-marque__2 { font-size: .7rem; letter-spacing: .28em; }
}
.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a {
  color: var(--noir); text-decoration: none; font-weight: 600; font-size: .96rem;
  padding: .35rem 0; border-bottom: 2px solid transparent; transition: var(--transition);
}
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--orange); }
.entete__tel {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 700; color: var(--noir); text-decoration: none; white-space: nowrap;
}
.entete__tel:hover { color: var(--orange-texte); }
.burger { display: none; background: none; border: 0; padding: .5rem; cursor: pointer; }
.burger span { display: block; width: 24px; height: 2px; background: var(--noir); margin: 5px 0; transition: var(--transition); }

@media (max-width: 980px) {
  .burger { display: block; }
  .nav {
    position: fixed; inset: 74px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--creme); border-bottom: 1px solid var(--gris-clair);
    padding: .5rem var(--gouttiere) 1.5rem; box-shadow: var(--ombre);
    transform: translateY(-140%); transition: transform var(--transition);
    max-height: calc(100vh - 74px); overflow-y: auto;
  }
  .nav[data-ouvert="oui"] { transform: translateY(0); }
  .nav a { padding: .95rem 0; border-bottom: 1px solid var(--gris-clair); }
}

/* ------------------------------------------------------------------ Hero */
.hero { position: relative; background: var(--noir-2); color: #fff; overflow: hidden; }
.hero__fond { position: absolute; inset: 0; }
.hero__fond img { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.hero__voile {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(20,20,20,.95) 0%, rgba(20,20,20,.82) 42%, rgba(20,20,20,.35) 100%);
}
.hero__contenu { position: relative; padding-block: clamp(3.5rem, 9vw, 7rem) clamp(3rem, 7vw, 5rem); }
.hero h1 { color: #fff; max-width: 17ch; }
.hero h1 em { font-style: normal; color: var(--orange); }
.hero__chapo { color: rgba(255,255,255,.86); font-size: clamp(1.05rem, 1.8vw, 1.22rem); max-width: 54ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }
.hero__note { margin-top: 1.1rem; font-size: .92rem; color: rgba(255,255,255,.72); }

.reperes {
  position: relative; display: flex; flex-wrap: wrap; gap: 0;
  border-top: 1px solid rgba(255,255,255,.14); margin-top: clamp(2.5rem, 5vw, 4rem);
}
.repere { flex: 1 1 190px; padding: 1.6rem 1.5rem 1.6rem 0; }
.repere + .repere { border-left: 1px solid rgba(255,255,255,.14); padding-left: 1.5rem; }
.repere__valeur {
  font-family: "Barlow Condensed", "Segoe UI", sans-serif; font-weight: 700;
  font-size: clamp(1.8rem, 3.2vw, 2.5rem); line-height: 1; color: var(--orange);
}
.repere__texte { font-size: .93rem; color: rgba(255,255,255,.78); margin: .35rem 0 0; }
@media (max-width: 620px) {
  .repere { flex-basis: 45%; padding-right: 1rem; }
  .repere__valeur { font-size: 1.55rem; }
  .repere:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.14); }
}

/* ------------------------------------------------------------------ Sections */
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section--sombre { background: var(--noir); color: #fff; }
.section--sombre h2, .section--sombre h3 { color: #fff; }
.section--sombre p { color: rgba(255,255,255,.8); }
.section--blanche { background: var(--blanc); }
.section__tete { max-width: 62ch; margin-bottom: clamp(2rem, 4vw, 3rem); }

.grille { display: grid; gap: 1.25rem; }
.grille--3 { grid-template-columns: repeat(auto-fit, minmax(285px, 1fr)); }
.grille--4 { grid-template-columns: repeat(auto-fit, minmax(225px, 1fr)); }
.grille--2 { grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); }

/* Cartes de prestation */
.carte {
  background: var(--blanc); border: 1px solid var(--gris-clair); border-radius: var(--rayon);
  padding: 1.7rem 1.6rem; transition: var(--transition); position: relative;
}
.carte:hover { transform: translateY(-4px); box-shadow: var(--ombre); border-color: #D6CFC7; }
.carte h3 { margin-bottom: .4rem; }
.carte p { font-size: .96rem; color: var(--gris); margin: 0; }
.carte__numero {
  font-family: "Barlow Condensed", sans-serif; font-size: 2.4rem; font-weight: 700;
  color: var(--orange); line-height: 1; margin-bottom: .6rem; display: block;
}
a.carte { text-decoration: none; color: inherit; display: block; }
a.carte h3::after { content: " \2192"; color: var(--orange-texte); }
.section--sombre .carte { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.14); }
.section--sombre .carte p { color: rgba(255,255,255,.75); }

/* Liste a puces orange */
.liste { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .7rem; }
.liste li { position: relative; padding-left: 1.85rem; }
.liste li::before {
  content: ""; position: absolute; left: 0; top: .52em;
  width: 9px; height: 9px; border-radius: 2px; background: var(--orange); transform: rotate(45deg);
}

/* Bloc image + texte */
.duo { display: grid; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.duo--haut { align-items: start; }
.duo__media img { border-radius: var(--rayon); box-shadow: var(--ombre-forte); width: 100%; }
.duo__legende { font-size: .87rem; color: var(--gris); margin: .8rem 0 0; }
.section--sombre .duo__legende { color: rgba(255,255,255,.6); }

/* Avant / apres */
.avant-apres { position: relative; border-radius: var(--rayon); overflow: hidden; box-shadow: var(--ombre-forte); }
.avant-apres img { width: 100%; }
.avant-apres__etiquette {
  position: absolute; bottom: 1rem; padding: .4rem .9rem; border-radius: 100px;
  background: rgba(20,20,20,.85); color: #fff; font-size: .76rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
}
.avant-apres__etiquette--avant { left: 1rem; }
.avant-apres__etiquette--apres { right: 1rem; background: var(--orange-bouton); }

/* Zones */
.communes { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 0 0 1.5rem; list-style: none; }
.communes li {
  background: var(--blanc); border: 1px solid var(--gris-clair); border-radius: 100px;
  padding: .42rem 1rem; font-size: .92rem;
}
.section--sombre .communes li { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.16); color: rgba(255,255,255,.88); }

/* Bandeau d'appel */
.appel { background: var(--orange-bouton); color: #fff; }
.appel h2 { color: #fff; }
.appel p { color: rgba(255,255,255,.92); }
.appel .bouton--fantome { color: #fff; border-color: #fff; }
.appel .bouton--fantome:hover { background: #fff; color: var(--orange-bouton); }
.appel__interieur { display: flex; flex-wrap: wrap; gap: 2rem; align-items: center; justify-content: space-between; }
.appel__actions { display: flex; flex-wrap: wrap; gap: .9rem; }

/* FAQ */
.faq { display: grid; gap: .75rem; max-width: 820px; }
.faq details {
  background: var(--blanc); border: 1px solid var(--gris-clair); border-radius: var(--rayon-sm); padding: 1.1rem 1.3rem;
}
.faq summary { font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--orange-texte); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "\2013"; }
.faq details[open] summary { margin-bottom: .7rem; }
.faq p { margin: 0; font-size: .98rem; color: var(--gris); }

/* Fil d'ariane */
.ariane { font-size: .86rem; color: var(--gris); padding-block: 1rem 0; }
.ariane ol { list-style: none; display: flex; flex-wrap: wrap; gap: .45rem; padding: 0; margin: 0; }
.ariane li + li::before { content: "/"; margin-right: .45rem; color: #C9C1B8; }
.ariane a { color: var(--gris); text-decoration: none; }
.ariane a:hover { color: var(--orange-texte); text-decoration: underline; }

/* ------------------------------------------------------------------ Formulaire */
.formulaire { background: var(--blanc); border: 1px solid var(--gris-clair); border-radius: var(--rayon); padding: clamp(1.5rem, 3vw, 2.4rem); }
.champ { margin-bottom: 1.15rem; }
.champ label { display: block; font-weight: 600; font-size: .93rem; margin-bottom: .4rem; }
.champ input, .champ textarea, .champ select {
  width: 100%; padding: .8rem .95rem; font: inherit; font-size: 1rem; color: var(--noir);
  background: var(--creme); border: 1px solid var(--gris-clair); border-radius: var(--rayon-sm);
  transition: var(--transition);
}
.champ input:focus, .champ textarea:focus, .champ select:focus { border-color: var(--orange); background: #fff; }
.champ textarea { min-height: 150px; resize: vertical; }
.champ__aide { font-size: .84rem; color: var(--gris); margin: .35rem 0 0; }
.champ--invisible { display: none; }
.formulaire__mention { font-size: .84rem; color: var(--gris); margin-top: 1rem; }
.erreur { color: #B00020; font-size: .88rem; margin: .35rem 0 0; }

/* Coordonnees */
.coordonnees { margin: 0 0 2rem; }
.coordonnees dt { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gris); margin: 0; }
.coordonnees dd { margin: .15rem 0 1.3rem; font-size: 1.08rem; font-weight: 600; }
.coordonnees dd a { color: var(--noir); text-decoration: none; }
.coordonnees dd a:hover { color: var(--orange-texte); }

/* Texte long (mentions legales) */
.texte-long { max-width: 74ch; }
.texte-long h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-top: 2.5rem; }
.texte-long dl { margin: 0 0 1.5rem; }
.texte-long dt { font-weight: 700; margin-top: .8rem; }
.texte-long dd { margin: 0 0 .2rem; }
.a-completer { background: #FFF3CD; border-left: 3px solid #B08900; padding: .1rem .45rem; font-weight: 700; }

/* ------------------------------------------------------------------ Pied de page */
.pied { background: var(--noir-2); color: rgba(255,255,255,.72); padding: clamp(3rem, 6vw, 4.5rem) 0 0; font-size: .95rem; }
.pied__grille { display: grid; gap: 2.5rem; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.pied h3 { color: #fff; font-size: 1rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 1rem; }
.pied ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.pied a { color: rgba(255,255,255,.72); text-decoration: none; }
.pied a:hover { color: var(--orange); }
.pied p { color: rgba(255,255,255,.72); }
.pied__bas {
  margin-top: 3rem; padding: 1.4rem 0; border-top: 1px solid rgba(255,255,255,.12);
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; font-size: .87rem;
}
/* Le logo est noir : sur fond sombre il lui faut une pastille claire */
.logo-pastille { background: #FDFDFD; border-radius: var(--rayon-sm); padding: .55rem .75rem; display: inline-block; margin-bottom: 1rem; }
.logo-pastille img { height: 50px; width: auto; }

/* Barre d'action mobile */
.barre-mobile { display: none; }
@media (max-width: 720px) {
  body { padding-bottom: 62px; }
  .entete__tel { display: none; }
  .barre-mobile {
    display: grid; grid-template-columns: 1fr 1fr; position: fixed; bottom: 0; left: 0; right: 0; z-index: 70;
    background: var(--noir); box-shadow: 0 -4px 20px rgba(0,0,0,.22);
  }
  .barre-mobile a {
    display: flex; align-items: center; justify-content: center; gap: .5rem;
    padding: 1rem .5rem; color: #fff; text-decoration: none; font-weight: 700; font-size: .95rem;
  }
  .barre-mobile a + a { background: var(--orange-bouton); }
}
