/* =========================================================
   Caruso RH — feuille de style
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,wght@0,400;0,500;0,600;1,500&family=Work+Sans:wght@400;500;600&display=swap');

:root{
  --cream: #FAF6F1;
  --cream-deep: #F1E7DF;
  --rose: #C2867E;
  --rose-deep: #A3635B;
  --ink: #2C2422;
  --taupe: #6E6058;
  --line: #E3D4CA;
  --white: #FFFFFF;
  --max: 1100px;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }

body{
  margin: 0;
  font-family: 'Work Sans', -apple-system, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  font-size: 17px;
}

h1, h2, h3{
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--ink);
}

h1{ font-size: clamp(2.1rem, 4vw, 3.1rem); }
h2{ font-size: clamp(1.5rem, 2.6vw, 2rem); }

p{ margin: 0 0 1.1em; }

a{ color: var(--rose-deep); text-decoration: none; }
a:hover{ text-decoration: underline; }

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

.wrap{
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- Header / nav ---------- */
.site-header{
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
}

.site-header .wrap{
  max-width: 1320px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.brand{
  font-family: 'Fraunces', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
}
.brand img{ height: 26px; width: auto; display: block; }
.brand:hover{ text-decoration: none; }
.brand span{ color: var(--rose-deep); }

.nav-toggle{
  display: none;
}

nav.main-nav ul{
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 3px 15px;
  margin: 0;
  padding: 0;
  justify-content: flex-end;
}

nav.main-nav a{
  color: var(--ink);
  font-size: 0.87rem;
  font-weight: 500;
  padding: 6px 1px;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}

nav.main-nav a:hover,
nav.main-nav a.active{
  color: var(--rose-deep);
  border-bottom-color: var(--rose);
  text-decoration: none;
}

.menu-btn{
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 1.1rem;
  cursor: pointer;
  color: var(--ink);
}

@media (max-width: 1180px){
  .menu-btn{ display: block; }

  nav.main-nav{
    display: none;
    width: 100%;
  }
  nav.main-nav ul{
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 0 6px;
  }
  .site-header .wrap{ flex-wrap: wrap; }
  .nav-toggle:checked ~ nav.main-nav{ display: block; }
}

/* ---------- Hero (accueil) ---------- */
.hero{
  padding: 64px 0 56px;
}
.hero .wrap{
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}
.hero .slogan{
  font-style: italic;
  color: var(--rose-deep);
  font-family: 'Fraunces', serif;
  font-size: 1.15rem;
  margin-bottom: 10px;
  display: block;
}
.hero-photo{
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 18px 40px -20px rgba(44,36,34,0.35);
}
.hero-photo img{ width: 100%; }

.zone-line{
  color: var(--taupe);
  font-size: 0.98rem;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  margin-top: 12px;
}

@media (max-width: 780px){
  .hero .wrap{ grid-template-columns: 1fr; }
  .hero-photo{ max-width: 320px; margin: 0 auto; }
}

/* ---------- Services grid (accueil) ---------- */
.services-grid{
  padding: 8px 0 64px;
}
.services-grid h2{ margin-bottom: 28px; }

.service-list{
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--line);
  border: 1px solid var(--line);
}
.service-list li{ background: var(--cream); }
.service-list a{
  display: block;
  padding: 26px 24px;
  color: var(--ink);
  font-family: 'Fraunces', serif;
  font-size: 1.08rem;
}
.service-list a:hover{
  background: var(--white);
  color: var(--rose-deep);
  text-decoration: none;
}
@media (max-width: 780px){
  .service-list{ grid-template-columns: 1fr; }
}

/* ---------- Service page ---------- */
.service-banner{
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: center 20%;
}

.framed-photo{
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 18px 40px -20px rgba(44,36,34,0.35);
  margin-bottom: 22px;
}
.framed-photo img{
  width: 100%;
  height: 260px;
  object-fit: cover;
  object-position: center 20%;
}

.service-body{
  padding: 52px 0 70px;
}
.service-body .wrap{
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 52px;
  align-items: start;
}

.pain-points{
  background: var(--cream-deep);
  border-left: 3px solid var(--rose);
  padding: 30px 30px;
}
.pain-points h3{ font-size: 1.05rem; margin-bottom: 14px; }
.pain-points ul{
  margin: 0; padding: 0;
  list-style: none;
}
.pain-points li{
  padding: 10px 0;
  border-top: 1px solid var(--line);
  color: var(--ink);
}
.pain-points li:first-child{ border-top: none; }

@media (max-width: 780px){
  .service-body .wrap{ grid-template-columns: 1fr; }
  .service-banner{ height: 220px; }
}

/* ---------- CTA ---------- */
.cta-inline{
  margin-top: 30px;
  padding: 26px 30px;
  background: var(--rose);
  color: var(--white);
}
.cta-inline p{ margin: 0 0 14px; color: var(--white); }
.btn{
  display: inline-block;
  background: var(--ink);
  color: var(--white);
  padding: 12px 24px;
  border-radius: 4px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  font-size: 0.98rem;
  font-family: 'Work Sans', sans-serif;
}
.btn:hover{ background: var(--rose-deep); text-decoration: none; color: var(--white); }

/* ---------- Contact ---------- */
.contact-page{ padding: 56px 0 72px; }
.contact-page .wrap{
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
}
.contact-details p{ font-size: 1.05rem; }
.contact-details .label{
  display: block;
  color: var(--taupe);
  font-size: 0.85rem;
  margin-bottom: 2px;
}

form.contact-form{
  display: grid;
  gap: 16px;
}
form.contact-form label{
  display: block;
  font-size: 0.9rem;
  color: var(--taupe);
  margin-bottom: 5px;
}
form.contact-form input,
form.contact-form textarea{
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--line);
  background: var(--white);
  font-family: inherit;
  font-size: 1rem;
  border-radius: 4px;
}
form.contact-form input:focus,
form.contact-form textarea:focus{
  outline: 2px solid var(--rose);
  outline-offset: 1px;
}
form.contact-form textarea{ min-height: 140px; resize: vertical; }

@media (max-width: 780px){
  .contact-page .wrap{ grid-template-columns: 1fr; }
}

/* ---------- Footer ---------- */
.site-footer{
  border-top: 1px solid var(--line);
  padding: 26px 0;
  color: var(--taupe);
  font-size: 0.88rem;
}
.site-footer .wrap{
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- Accessibility ---------- */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible{
  outline: 2px solid var(--rose-deep);
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
}
