/* ============================================================
   Résidence Drutex — feuille de style
   ============================================================ */

:root{
  --rust:        #7a3b1e;
  --orange:      #e2661c;
  --orange-dark: #c8500f;
  --cream:       #fdf8f3;
  --ink:         #2c2320;
  --ink-soft:    #5a4d47;
  --line:        #ecdfd4;
  --white:       #ffffff;
  --radius:      14px;
  --shadow:      0 10px 30px rgba(122, 59, 30, 0.10);
  --maxw:        1140px;
  --font-head:   'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body:   'Mulish', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

html{ scroll-behavior:smooth; }

body{
  margin:0;
  font-family:var(--font-body);
  color:var(--ink);
  background:var(--white);
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
}

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

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

.sr-only{
  position:absolute; width:1px; height:1px;
  overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap;
}

.skip-link{
  position:absolute; left:-999px; top:auto;
  background:var(--rust); color:#fff; padding:10px 16px;
  border-radius:8px; z-index:200;
}
.skip-link:focus{ left:16px; top:16px; }

h1,h2,h3{
  font-family:var(--font-head);
  color:var(--rust);
  line-height:1.2;
  margin:0 0 .5em;
}
h2{ font-size:clamp(1.6rem, 2.4vw, 2.1rem); }
h3{ font-size:1.15rem; color:var(--ink); }

p{ margin:0 0 1em; color:var(--ink-soft); }

a{ color:var(--orange-dark); }

address{ font-style:normal; color:var(--ink-soft); }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.5em;
  padding:.85em 1.6em;
  border-radius:999px;
  font-weight:700;
  font-size:.98rem;
  text-decoration:none;
  border:2px solid transparent;
  cursor:pointer;
  transition:transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
}
.btn-primary{
  background:var(--orange);
  color:#fff;
  box-shadow:0 8px 20px rgba(226,102,28,.35);
}
.btn-primary:hover{ background:var(--orange-dark); transform:translateY(-1px); }
.btn-ghost{
  background:transparent;
  color:var(--rust);
  border-color:var(--line);
}
.btn-ghost:hover{ border-color:var(--orange); color:var(--orange-dark); }

/* ---------- Header ---------- */
.site-header{
  position:sticky; top:0; z-index:100;
  background:rgba(255,255,255,.92);
  backdrop-filter:saturate(180%) blur(10px);
  border-bottom:1px solid var(--line);
}
.header-inner{
  display:flex; align-items:center; justify-content:space-between;
  gap:20px; padding-top:12px; padding-bottom:12px;
}
.logo{
  display:flex; align-items:center; gap:10px;
  text-decoration:none;
}
.logo-mark{ width:42px; height:42px; color:var(--orange); flex-shrink:0; }
.logo-word{
  font-family:var(--font-head);
  font-weight:700;
  font-size:1.5rem;
  letter-spacing:.03em;
  color:var(--rust);
}

.main-nav ul{
  list-style:none;
  display:flex;
  align-items:center;
  gap:28px;
  margin:0; padding:0;
}
.main-nav a{
  text-decoration:none;
  color:var(--ink);
  font-weight:600;
  font-size:.96rem;
}
.main-nav a:hover{ color:var(--orange-dark); }
.nav-cta{
  background:var(--orange);
  color:#fff !important;
  padding:.55em 1.2em;
  border-radius:999px;
}
.nav-cta:hover{ background:var(--orange-dark); }

.phone-pill{
  display:flex; align-items:center; gap:8px;
  text-decoration:none;
  font-weight:700;
  color:var(--rust);
  white-space:nowrap;
}
.phone-pill svg{ width:18px; height:18px; fill:var(--orange); }

.nav-toggle{
  display:none;
  flex-direction:column;
  justify-content:center;
  gap:5px;
  width:40px; height:40px;
  background:none; border:none; cursor:pointer;
  padding:0;
}
.nav-toggle span{
  display:block; height:2px; width:100%;
  background:var(--rust); border-radius:2px;
}

/* ---------- Hero ---------- */
.hero{
  background:
    radial-gradient(1200px 600px at 85% -10%, #fbe4d2 0%, rgba(251,228,210,0) 60%),
    var(--cream);
  padding:88px 0 72px;
  border-bottom:1px solid var(--line);
}
.hero-inner{ max-width:800px; }
.eyebrow{
  text-transform:uppercase;
  letter-spacing:.14em;
  font-size:.8rem;
  font-weight:700;
  color:var(--orange-dark);
  margin-bottom:14px;
}
.hero h1{
  font-size:clamp(2rem, 4vw, 2.9rem);
  margin-bottom:.5em;
}
.hero-text{ font-size:1.1rem; max-width:56ch; }
.hero-actions{
  display:flex; flex-wrap:wrap; gap:14px; margin-top:28px;
}

/* ---------- Sections ---------- */
.section{ padding:72px 0; }
.section-alt{ background:var(--cream); }
.section-intro{ max-width:62ch; font-size:1.05rem; }

.feature-grid{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:22px;
  margin-top:36px;
}
.feature-card{
  background:var(--white);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:26px 22px;
  box-shadow:var(--shadow);
}
.feature-icon{
  width:46px; height:46px;
  display:flex; align-items:center; justify-content:center;
  border-radius:12px;
  background:#fdece0;
  color:var(--orange-dark);
  margin-bottom:14px;
}
.feature-icon svg{ width:24px; height:24px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.feature-card p{ margin:0; font-size:.95rem; }

.hours-list{
  list-style:none; margin:24px 0 0; padding:0;
  border-top:1px solid var(--line);
}
.hours-list li{
  display:flex; justify-content:space-between; gap:16px;
  padding:14px 0;
  border-bottom:1px solid var(--line);
  font-weight:600;
}
.hours-list li span:last-child{ color:var(--orange-dark); }

.loc-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:40px;
  align-items:start;
}
.loc-map{
  border-radius:var(--radius);
  overflow:hidden;
  box-shadow:var(--shadow);
  border:1px solid var(--line);
}
.loc-map iframe{
  width:100%; height:340px; border:0; display:block;
}
.loc-text address{ margin-top:18px; line-height:1.8; }

/* ---------- Contact form ---------- */
.contact-form{
  margin-top:32px;
  background:var(--cream);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:32px;
}
.form-row{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:20px;
}
.form-field{ margin-bottom:18px; }
.form-field label{
  display:block;
  font-weight:700;
  font-size:.9rem;
  margin-bottom:6px;
  color:var(--rust);
}
.form-field input,
.form-field textarea{
  width:100%;
  padding:.75em .9em;
  border:1px solid var(--line);
  border-radius:10px;
  font-family:inherit;
  font-size:1rem;
  background:#fff;
  color:var(--ink);
}
.form-field input:focus,
.form-field textarea:focus{
  outline:2px solid var(--orange);
  outline-offset:1px;
  border-color:var(--orange);
}
.form-note{
  font-size:.85rem;
  margin-top:14px;
  margin-bottom:0;
}
.hp-field{
  position:absolute;
  left:-9999px;
  width:1px; height:1px;
  overflow:hidden;
}

.form-feedback{
  padding:14px 18px;
  border-radius:10px;
  margin-top:24px;
  font-weight:600;
}
.form-feedback.success{ background:#e7f6ec; color:#1e6b3a; border:1px solid #bfe6cb; }
.form-feedback.error{ background:#fdeceb; color:#a3271a; border:1px solid #f5c6c2; }

/* ---------- Footer ---------- */
.site-footer{
  background:var(--rust);
  color:#f6e9df;
}
.footer-inner{
  display:flex; flex-wrap:wrap; justify-content:space-between; gap:32px;
  padding:52px 24px 36px;
}
.footer-logo{ color:#fff; }
.footer-brand p{ color:#e9d2c1; max-width:32ch; margin-top:8px; }
.footer-contact p{ color:#f0dccb; margin:0 0 8px; }
.footer-contact a{ color:#fff; text-decoration:underline; }
.footer-bottom{
  border-top:1px solid rgba(255,255,255,.15);
  padding:18px 0;
}
.footer-bottom p{ margin:0; color:#e9d2c1; font-size:.85rem; text-align:center; }

/* ---------- Responsive ---------- */
@media (max-width: 900px){
  .feature-grid{ grid-template-columns:repeat(2, 1fr); }
  .loc-grid{ grid-template-columns:1fr; }
}

@media (max-width: 760px){
  .phone-pill{ display:none; }
  .nav-toggle{ display:flex; }
  .main-nav ul{
    position:absolute;
    top:100%; left:0; right:0;
    flex-direction:column;
    align-items:stretch;
    gap:0;
    background:#fff;
    border-bottom:1px solid var(--line);
    max-height:0;
    overflow:hidden;
    transition:max-height .25s ease;
  }
  .main-nav ul.open{ max-height:400px; }
  .main-nav ul li{ border-top:1px solid var(--line); }
  .main-nav a{ display:block; padding:16px 24px; }
  .nav-cta{ margin:16px 24px; text-align:center; border-radius:10px; }
  .form-row{ grid-template-columns:1fr; }
  .section{ padding:52px 0; }
  .hero{ padding:64px 0 48px; }
}
