/* ============================================================
   Renaissance Tapis - Saint-Tropez
   Palette Sable Mediterranee
   ============================================================ */

:root {
  --vert: #1A3A2E;
  --vert-2: #245144;
  --vert-3: #0E251D;
  --or: #D4AF37;
  --or-2: #B8942B;
  --or-3: #F2D875;
  --sable: #F5E6D3;
  --sable-2: #E9D5BB;
  --sable-3: #FAF5EC;
  --rouge: #8B1E2C;
  --rouge-2: #6E1622;
  --texte: #1A1A1A;
  --texte-2: #4A4A4A;
  --texte-3: #7A7A7A;
  --blanc: #FFFFFF;
  --noir: #0D0D0D;

  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --maxw: 1240px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-1: 0 10px 30px rgba(13, 13, 13, 0.08);
  --shadow-2: 0 20px 60px rgba(13, 13, 13, 0.16);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 400;
  color: var(--texte);
  background: var(--sable-3);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 1.25rem; }

/* Typography */
h1, h2, h3, h4, h5 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.75rem 0;
  color: var(--vert);
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.15rem; font-weight: 700; font-family: var(--sans); color: var(--vert); }
p { margin: 0 0 1rem 0; }

.kicker {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--or);
  margin-bottom: 0.85rem;
}
.kicker.dark { color: var(--or-2); }
.section-lede { font-size: 1.08rem; max-width: 720px; color: var(--texte-2); margin-bottom: 2.5rem; }

/* Buttons */
.btn-primary, .btn-ghost, .btn-cta, .service-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  border-radius: 999px;
  padding: 0.95rem 1.6rem;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-primary {
  background: var(--or);
  color: var(--vert);
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.35);
}
.btn-primary:hover { background: var(--or-3); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--blanc);
  border-color: rgba(255,255,255,0.4);
}
.btn-ghost:hover { background: rgba(255,255,255,0.1); border-color: var(--blanc); }
.btn-cta {
  background: var(--or);
  color: var(--vert);
  padding: 0.65rem 1.2rem;
  font-size: 0.9rem;
}
.btn-cta:hover { background: var(--or-3); }
.service-cta {
  background: var(--vert);
  color: var(--sable);
  padding: 0.75rem 1.2rem;
  font-size: 0.9rem;
  margin-top: 0.6rem;
  align-self: flex-start;
}
.service-cta:hover { background: var(--vert-2); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--vert);
  color: var(--sable);
  border-bottom: 1px solid rgba(212, 175, 55, 0.18);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.8rem 1.25rem;
}
.brand { display: flex; align-items: center; gap: 0.85rem; }
.brand-logo { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; background: var(--sable); padding: 4px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--serif); font-size: 1.35rem; font-weight: 700; color: var(--or); letter-spacing: 0.01em; }
.brand-tag { font-size: 0.72rem; color: var(--sable-2); letter-spacing: 0.06em; text-transform: uppercase; margin-top: 2px; }
.nav { display: flex; align-items: center; gap: 1.5rem; }
.nav a { color: var(--sable); font-weight: 500; font-size: 0.95rem; }
.nav a:hover { color: var(--or-3); }
.nav .btn-cta { margin-left: 0.5rem; }
.header-phones { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.header-phones a { font-weight: 600; font-size: 0.95rem; color: var(--or); }
.header-phones a:hover { color: var(--or-3); }
.phone-fixe { color: var(--sable-2) !important; font-weight: 500 !important; font-size: 0.85rem !important; }

@media (max-width: 980px) {
  .nav { display: none; }
}
@media (max-width: 640px) {
  .header-phones .phone-fixe { display: none; }
  .brand-tag { display: none; }
}

/* Hero */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  color: var(--sable);
  overflow: hidden;
  padding: 5rem 0 6rem;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.55) saturate(1.1);
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(14, 37, 29, 0.55) 0%, rgba(14, 37, 29, 0.85) 100%),
    radial-gradient(ellipse at 30% 30%, rgba(212, 175, 55, 0.18), transparent 60%);
}
.hero-inner { position: relative; z-index: 1; max-width: 880px; }
.hero-inner h1 { color: var(--blanc); margin-bottom: 1.25rem; }
.hero-inner .kicker { color: var(--or-3); }
.lede { font-size: 1.15rem; color: var(--sable-2); margin-bottom: 2rem; max-width: 680px; }
.hero-cta { display: flex; gap: 0.85rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.hero-bullets {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0.85rem 1.5rem;
}
.hero-bullets li {
  position: relative; padding-left: 1.85rem;
  color: var(--sable);
  font-weight: 500;
  font-size: 0.95rem;
}
.hero-bullets li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.3em;
  width: 1.2rem; height: 1.2rem;
  border-radius: 50%;
  background: var(--or);
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.18);
}
.hero-bullets li::after {
  content: '';
  position: absolute;
  left: 0.36rem; top: 0.6em;
  width: 0.45rem; height: 0.22rem;
  border-left: 2px solid var(--vert);
  border-bottom: 2px solid var(--vert);
  transform: rotate(-45deg);
}

/* Sections */
.section { padding: 5rem 0; }
.section.services { background: var(--sable-3); }
.section.gallery { background: var(--blanc); }
.section.zone { background: var(--vert); color: var(--sable); }
.section.zone h2, .section.zone h4 { color: var(--sable); }
.section.zone .kicker.dark { color: var(--or-3); }
.section.zone .section-lede { color: var(--sable-2); }
.section.process { background: var(--sable-3); }
.section.trust { background: var(--blanc); padding: 3.5rem 0; }
.section.faq { background: var(--sable-3); }
.section.contact { background: var(--vert); color: var(--sable); padding: 5rem 0 6rem; }
.section.contact h2 { color: var(--blanc); }
.section.contact .kicker.dark { color: var(--or-3); }
.section.contact .section-lede { color: var(--sable-2); }

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.service-card {
  background: var(--blanc);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-1);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  border-top: 5px solid var(--or);
}
.service-card[data-color="vert"] { border-top-color: var(--vert); }
.service-card[data-color="or"]   { border-top-color: var(--or); }
.service-card[data-color="rouge"]{ border-top-color: var(--rouge); }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); }
.service-img {
  width: 100%;
  height: 220px;
  background-size: cover;
  background-position: center;
}
.service-body {
  padding: 1.6rem 1.5rem 1.8rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.service-sub { color: var(--texte-2); font-style: italic; margin-bottom: 1rem; }
.service-points {
  list-style: none; padding: 0; margin: 0 0 1.2rem 0;
  display: flex; flex-direction: column; gap: 0.45rem;
}
.service-points li {
  position: relative; padding-left: 1.4rem;
  font-size: 0.95rem; color: var(--texte-2);
}
.service-points li::before {
  content: '';
  position: absolute; left: 0; top: 0.65em;
  width: 8px; height: 8px;
  background: var(--or);
  border-radius: 50%;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.9rem;
  margin-top: 2.5rem;
}
.g-item {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--sable-2);
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
  transition: transform 0.3s ease;
}
.g-item img { width: 100%; height: 100%; object-fit: cover; }
.g-item:hover { transform: scale(1.02); }

/* Zone */
.zone-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem 3rem;
  margin-top: 2rem;
}
.zone-col h4 {
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--or);
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(212, 175, 55, 0.3);
}
.zone-col ul { list-style: none; padding: 0; margin: 0; }
.zone-col li {
  padding: 0.35rem 0;
  color: var(--sable-2);
  font-size: 0.96rem;
}

/* Process steps */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.step {
  background: var(--blanc);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem 1.5rem;
  box-shadow: var(--shadow-1);
  position: relative;
}
.step-num {
  font-family: var(--serif);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--or);
  display: block;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.step h4 { margin-bottom: 0.4rem; }
.step p { color: var(--texte-2); font-size: 0.95rem; margin: 0; }

/* Trust */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.5rem;
  text-align: center;
}
.trust-num {
  font-family: var(--serif);
  font-size: 3rem;
  font-weight: 700;
  color: var(--vert);
  line-height: 1;
}
.trust-label {
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--texte-3);
  margin-top: 0.4rem;
}

/* FAQ */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 0.85rem;
  margin-top: 2rem;
}
.faq-item {
  background: var(--blanc);
  border-radius: var(--radius);
  padding: 1.2rem 1.4rem;
  box-shadow: 0 4px 14px rgba(0,0,0,0.04);
  border-left: 4px solid var(--or);
}
.faq-item summary {
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--vert);
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 1.5rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 0; top: 50%;
  transform: translateY(-50%);
  font-size: 1.3rem;
  color: var(--or);
  font-weight: 400;
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item p {
  margin: 0.8rem 0 0;
  color: var(--texte-2);
  font-size: 0.97rem;
}

/* Contact */
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3rem;
  align-items: start;
}
.contact-left p { color: var(--sable-2); font-size: 1.05rem; }
.contact-block { margin-top: 2rem; }
.contact-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 0;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}
.contact-row:last-child { border-bottom: none; }
.contact-label {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.78rem;
  color: var(--sable-2);
}
.contact-val { color: var(--or); font-weight: 600; font-size: 1.05rem; }
.contact-val:hover { color: var(--or-3); }

.devis-form {
  background: var(--blanc);
  color: var(--texte);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-2);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.devis-form label {
  display: flex;
  flex-direction: column;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--vert);
  gap: 0.35rem;
}
.devis-form input, .devis-form select, .devis-form textarea {
  font-family: inherit;
  font-size: 0.98rem;
  padding: 0.8rem 0.9rem;
  border: 1.5px solid var(--sable-2);
  border-radius: 10px;
  background: var(--sable-3);
  color: var(--texte);
  font-weight: 400;
  transition: border-color 0.18s ease, background 0.18s ease;
}
.devis-form input:focus, .devis-form select:focus, .devis-form textarea:focus {
  outline: none;
  border-color: var(--or);
  background: var(--blanc);
}
.devis-form textarea { resize: vertical; min-height: 110px; }
.devis-form .consent {
  flex-direction: row;
  align-items: flex-start;
  gap: 0.6rem;
  font-weight: 400;
  font-size: 0.85rem;
  color: var(--texte-2);
}
.devis-form .consent input { width: auto; }
.devis-form button { margin-top: 0.5rem; }
.form-note { font-size: 0.8rem; color: var(--texte-3); margin: 0; text-align: center; }
.form-result { font-size: 0.95rem; color: var(--vert); padding: 0.5rem 0; min-height: 1.5rem; }

@media (max-width: 860px) {
  .contact-inner { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

/* Footer */
.site-footer {
  background: var(--vert-3);
  color: var(--sable-2);
  padding: 3.5rem 0 1.5rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
.footer-brand p { font-size: 0.92rem; color: var(--sable-2); margin-top: 1rem; max-width: 320px; }
.footer-logo { width: 56px; height: 56px; border-radius: 50%; background: var(--sable); padding: 4px; object-fit: cover; }
.footer-col h5 {
  font-family: var(--sans);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--or);
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { padding: 0.3rem 0; font-size: 0.92rem; }
.footer-col a:hover { color: var(--or-3); }
.footer-bottom {
  border-top: 1px solid rgba(212, 175, 55, 0.12);
  padding-top: 1.2rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--sable-2);
}
.footer-bottom a:hover { color: var(--or); }

@media (max-width: 760px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 460px) {
  .footer-inner { grid-template-columns: 1fr; }
}

/* Float phone button */
.float-phone {
  position: fixed;
  bottom: 1.5rem; right: 1.5rem;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--or);
  color: var(--vert);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 30px rgba(212, 175, 55, 0.45);
  z-index: 40;
  transition: transform 0.2s ease;
}
.float-phone:hover { transform: scale(1.07); }
@media (min-width: 980px) { .float-phone { display: none; } }

/* Smooth reveal */
.section h2 + .section-lede { animation: fade 0.6s ease both; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
