/* Amaral Façades — feuille de style commune à toutes les pages.
   Idée de mise en page : la façade comme matière, des blocs sable et pierre,
   une seule couleur d'accent (le bleu des volets gascons). */
:root {
  --paper: #F3EFE7;
  --sand: #E3DACB;
  --stone: #A8987E;
  --ink: #22314A;
  --text: #33373B;
  --muted: #5B5144;
  --accent: #0A6E77;
  --accent-dark: #08555C;
  --turquoise: #00C2CB;
  --white: #FFFFFF;
  --font-display: "Archivo", "Arial Narrow", Arial, sans-serif;
  --font-body: "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --step--1: 0.875rem;
  --step-0: 1rem;
  --step-1: 1.125rem;
  --step-2: 1.375rem;
  --step-3: 1.875rem;
  --step-4: 2.5rem;
  --gutter: clamp(16px, 4vw, 32px);
  --radius: 2px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
}

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

a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-dark); }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.15;
  margin: 0;
  text-wrap: balance;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.5vw, var(--step-4)); font-weight: 700; }
h3 { font-size: var(--step-2); font-weight: 700; }

p { margin: 0; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }

.skip-link {
  position: absolute; left: -9999px; top: 8px;
  background: var(--ink); color: var(--white); padding: 8px 14px; z-index: 10;
}
.skip-link:focus { left: 8px; }

/* En-tête */
.site-header { background: var(--paper); border-bottom: 1px solid var(--sand); }
.header-row {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 12px 24px; padding: 16px 0;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand-logo { width: 56px; height: 56px; flex: none; }
.brand-text { display: flex; flex-direction: column; }
.brand-name { font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; letter-spacing: 0.06em; }
.brand-tag { font-size: var(--step--1); color: var(--muted); letter-spacing: 0.04em; }
.header-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.header-phone { font-weight: 600; color: var(--ink); text-decoration: none; white-space: nowrap; }
.main-nav ul {
  list-style: none; margin: 0; padding: 0 0 14px;
  display: flex; flex-wrap: wrap; gap: 6px 22px;
}
.main-nav a { color: var(--ink); text-decoration: none; font-weight: 500; padding: 4px 0; display: inline-block; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--accent); box-shadow: inset 0 -2px 0 var(--turquoise); }

/* Boutons */
.btn {
  display: inline-block; font-weight: 600; text-decoration: none; border-radius: var(--radius);
  padding: 13px 22px; border: 2px solid var(--accent); line-height: 1.2; text-align: center;
  cursor: pointer; font-family: var(--font-body); font-size: var(--step-0);
}
.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: var(--white); }
.btn-secondary { background: transparent; color: var(--accent); }
.btn-secondary:hover { background: var(--white); }
.btn-small { padding: 9px 16px; font-size: var(--step--1); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Sections */
.section { padding: clamp(48px, 8vw, 88px) 0; }
.section-sand { background: var(--sand); }
.section-ink { background: var(--ink); color: #E9E4DA; }
.section-ink h2, .section-ink h3 { color: var(--white); }
.section-head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 36px; max-width: 760px; }
.eyebrow { font-size: var(--step--1); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.lead { font-size: var(--step-1); max-width: 62ch; }

/* Haut de page */
.hero { padding: clamp(40px, 7vw, 80px) 0; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 56px); align-items: center; }
.hero-text { display: flex; flex-direction: column; gap: 20px; }
.page-hero { padding: clamp(36px, 6vw, 64px) 0 clamp(28px, 4vw, 40px); }
.page-hero .container { display: flex; flex-direction: column; gap: 16px; }
.breadcrumb { font-size: var(--step--1); color: var(--muted); }
.breadcrumb a { color: var(--muted); }

/* Photos : un cadre beige s'affiche tant que la photo n'est pas en ligne */
.photo {
  position: relative; background: var(--sand); border: 1px dashed var(--stone);
  aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center;
  text-align: center; color: var(--muted); font-size: var(--step--1); padding: 12px; overflow: hidden;
}
.photo.has-photo { border: 0; padding: 0; }
.photo.has-photo img { width: 100%; height: 100%; object-fit: cover; }
.photo .tag {
  position: absolute; top: 10px; left: 10px; background: var(--ink); color: var(--white);
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; padding: 3px 8px; z-index: 1;
}
.before-after { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

/* Cartes de prestations */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.card { background: var(--white); display: flex; flex-direction: column; }
.card-body { display: flex; flex-direction: column; gap: 10px; padding: 20px 20px 24px; flex: 1; }
.card-body p { flex: 1; }
.card-link { font-weight: 600; text-decoration: none; }

/* Arguments et étapes */
.points { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; list-style: none; margin: 0; padding: 0; }
.points li { display: flex; flex-direction: column; gap: 8px; border-top: 3px solid var(--turquoise); padding-top: 16px; }
.steps { counter-reset: step; }
.steps li::before {
  counter-increment: step; content: counter(step);
  font-family: var(--font-display); font-weight: 800; font-size: 2rem; color: var(--stone); line-height: 1;
}

/* Réalisations */
.projects { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px; }
.project { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.project figcaption { display: flex; flex-direction: column; gap: 4px; }
.project strong { color: var(--ink); }

/* Zone d'intervention */
.towns { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.towns li { background: var(--white); border: 1px solid var(--stone); padding: 6px 12px; font-size: var(--step--1); }

/* Texte courant des pages de prestation */
.prose { display: flex; flex-direction: column; gap: 18px; max-width: 68ch; }
.prose h2 { font-size: var(--step-3); margin-top: 18px; }
.prose ul, .prose ol { margin: 0; padding-left: 1.3em; display: flex; flex-direction: column; gap: 8px; }
.callout { background: var(--white); border-left: 4px solid var(--turquoise); padding: 18px 20px; }
.two-col { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 56px); align-items: start; }
.aside-box { background: var(--sand); padding: 24px; display: flex; flex-direction: column; gap: 14px; }

/* Avis */
.review { background: var(--white); padding: 22px; display: flex; flex-direction: column; gap: 10px; border: 1px dashed var(--stone); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 56px); align-items: start; }
.contact-list { margin: 0; display: flex; flex-direction: column; gap: 14px; }
.contact-list dt { font-weight: 600; color: var(--ink); }
.contact-list dd { margin: 0; }
.form { background: var(--white); padding: clamp(20px, 4vw, 32px); display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 600; font-size: var(--step--1); color: var(--ink); }
.field input, .field select, .field textarea {
  font: inherit; color: var(--ink); background: var(--white); border: 1px solid var(--stone);
  border-radius: var(--radius); padding: 11px 12px; min-height: 46px; width: 100%;
}
.field textarea { min-height: 120px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: var(--step--1); }
.check input { width: 20px; height: 20px; margin-top: 2px; flex: none; }
.form-note { font-size: var(--step--1); color: var(--muted); }
.form-status { font-weight: 600; color: var(--accent-dark); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.more { margin-top: 32px; }

/* Appel final */
.cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta-text { display: flex; flex-direction: column; gap: 12px; }
.cta p { max-width: 60ch; }
.section-ink .btn-secondary { color: var(--white); border-color: var(--white); }
.section-ink .btn-secondary:hover { background: rgba(255, 255, 255, 0.08); }
.section-ink a:not(.btn) { color: var(--turquoise); }
.footer-logo { width: 88px; height: 88px; }

/* Pied de page */
.site-footer { background: var(--ink); color: #C9C3B8; padding: 48px 0 28px; font-size: var(--step--1); border-top: 1px solid #34373A; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 28px; }
.footer-grid h2 { font-size: 1rem; color: var(--white); letter-spacing: 0.04em; }
.footer-grid ul { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.site-footer a { color: #E9E4DA; }
.footer-bottom { margin-top: 32px; padding-top: 18px; border-top: 1px solid #3A3D40; display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; }

/* Mentions légales */
.legal h2 { font-size: var(--step-2); margin-top: 22px; }
.legal dl { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; }
.legal dt { font-weight: 600; color: var(--ink); }
.legal dd { margin: 0; }

@media (max-width: 860px) {
  .hero-grid, .two-col, .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .field-row { grid-template-columns: 1fr; }
  .legal dl { grid-template-columns: 1fr; }
  .legal dd { margin-bottom: 8px; }
  .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}

/* Avis Google */
.review-real { border-style: solid; border-color: var(--sand); }
.stars { margin: 0; color: #B07A00; font-size: var(--step-1); letter-spacing: 0.12em; line-height: 1; }
.stars-big { font-size: var(--step-3); }
.review-text { margin: 0; }
.review-meta { margin: 0; font-size: var(--step--1); color: var(--muted); }
.review-actions { margin-bottom: 32px; }
.review-summary { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-bottom: 20px; }
.review-long { grid-column: 1 / -1; }
.review-long .review-text { font-size: var(--step-1); max-width: 72ch; }
