/* ============================================
   C&N PARTNERS — FEUILLE DE STYLE PARTAGÉE
   Utilisée par toutes les pages du site.
   Modifie ici pour changer couleurs/styles partout d'un coup.
   ============================================ */

:root{
  --cream:#F8F2EB;
  --beige:#D8C5B3;
  --taupe:#9A7651;
  --taupe-deep:#9A7651;
  --caramel:#9A7651;
  --teal:#294A4A;
  --border:#DCCFC1;
  --dark:#302820;
  --text:#302820;
  --white:#FFFFFF;
}
*{box-sizing:border-box;margin:0;padding:0;}
html{scroll-behavior:smooth;}
body{
  font-family:'Montserrat',sans-serif;
  color:var(--text);
  background:var(--cream);
  line-height:1.65;
}
h1,h2,h3{
  font-family:'Playfair Display',serif;
  color:var(--dark);
  font-weight:600;
  line-height:1.25;
}
.accent{
  font-family:'Dancing Script',cursive;
  font-weight:600;
  color:var(--taupe);
}
a{color:inherit;text-decoration:none;}
.container{
  max-width:960px;
  margin:0 auto;
  padding:0 24px;
}

/* NAV */
header{
  position:sticky; top:0; z-index:50;
  background:rgba(248,242,235,0.92);
  backdrop-filter:blur(6px);
  border-bottom:1px solid var(--border);
}
nav.container{
  display:flex; align-items:center; justify-content:space-between;
  height:76px;
  max-width:1120px;
}
.nav-left{display:flex; align-items:center; gap:2px;}
.logo{
  font-family:'Montserrat',sans-serif;
  font-weight:700;
  font-size:1.2rem;
  letter-spacing:0.5px;
  color:var(--dark);
}
.logo span{color:var(--taupe); font-family:'Playfair Display',serif;}
.nav-links{display:flex; gap:16px; font-size:0.83rem; font-weight:500; white-space:nowrap;}
.nav-links a{opacity:0.8; transition:opacity .2s;}
.nav-links a:hover{opacity:1;}
nav.container .btn{padding:9px 16px; font-size:0.8rem; white-space:nowrap; flex-shrink:0;}

.nav-toggle{
  display:none;
  width:40px; height:40px;
  align-items:center; justify-content:center;
  background:none; border:none; cursor:pointer;
  flex-shrink:0;
}
.nav-toggle span{
  display:block; position:relative;
  width:22px; height:2px; background:var(--dark);
}
.nav-toggle span::before,
.nav-toggle span::after{
  content:""; position:absolute; left:0;
  width:22px; height:2px; background:var(--dark);
  transition:transform .2s;
}
.nav-toggle span::before{top:-7px;}
.nav-toggle span::after{top:7px;}

/* BUTTONS */
.btn{
  display:inline-block;
  padding:13px 30px;
  border-radius:30px;
  background:var(--teal);
  color:var(--white);
  font-weight:600;
  font-size:0.92rem;
  letter-spacing:0.3px;
  transition:opacity .2s, transform .2s;
}
.btn:hover{opacity:0.88; transform:translateY(-1px);}
.btn-outline{
  background:transparent;
  color:var(--dark);
  border:1.5px solid var(--teal);
}

/* AVATAR */
.avatar{
  border-radius:50%;
  object-fit:cover;
  object-position:center 30%;
  display:block;
}
.avatar-ring{
  border-radius:50%;
  border:2px solid var(--caramel);
  padding:5px;
  margin:0 auto;
}
.avatar-ring .avatar{width:100%; height:100%;}

/* SECTIONS */
section{padding:88px 0;}
.section-head{text-align:center; max-width:600px; margin:0 auto 52px;}
.section-head h2{font-size:2rem; margin-bottom:14px;}
.section-head p{opacity:0.85;}

/* CARD */
.card{
  background:var(--white);
  border-radius:16px;
  padding:22px 20px;
  border:1px solid var(--border);
}
.card.featured{border:1.5px solid var(--caramel);}
.badge{
  display:inline-block;
  background:var(--cream);
  color:var(--caramel);
  font-size:0.65rem;
  font-weight:700;
  letter-spacing:0.6px;
  text-transform:uppercase;
  padding:5px 12px;
  border-radius:20px;
  border:1px solid var(--border);
  margin-bottom:12px;
}
.price{
  font-family:'Montserrat',sans-serif;
  font-weight:700;
  font-size:1.3rem;
  color:var(--caramel);
  white-space:nowrap;
}
.price small{
  display:block;
  font-family:'Montserrat',sans-serif;
  font-weight:500;
  font-size:0.68rem;
  color:var(--text);
  opacity:0.7;
}

/* CTA (full width action buttons on cards/forms) */
.cta{
  display:block;
  text-align:center;
  padding:12px 18px;
  border-radius:24px;
  font-weight:600;
  font-size:0.88rem;
  background:var(--teal);
  color:var(--white);
  transition:opacity .2s, transform .2s;
  border:none;
  cursor:pointer;
  width:100%;
  font-family:'Montserrat',sans-serif;
}
.cta:hover{opacity:0.88; transform:translateY(-1px);}
.cta .arrow{margin-left:6px;}
.cta.secondary{
  background:transparent;
  color:var(--teal);
  border:1.5px solid var(--teal);
}
.reassure{
  font-size:0.8rem;
  font-style:italic;
  opacity:0.7;
  margin-bottom:16px;
  text-align:center;
}

/* FORMS */
.field{margin-bottom:18px;}
.field label{
  display:block;
  font-size:0.85rem;
  font-weight:600;
  color:var(--dark);
  margin-bottom:6px;
}
.field input,
.field textarea,
.field select{
  width:100%;
  padding:12px 14px;
  border-radius:10px;
  border:1px solid var(--border);
  background:var(--white);
  font-family:'Montserrat',sans-serif;
  font-size:0.92rem;
  color:var(--text);
}
.field input:focus,
.field textarea:focus,
.field select:focus{
  outline:none;
  border-color:var(--teal);
}
.field textarea{resize:vertical; min-height:90px;}

/* FOOTER */
footer{
  padding:50px 24px 40px;
  text-align:center;
}
footer .logo{justify-content:center; display:flex; margin-bottom:14px;}
footer .legal{
  font-size:0.72rem;
  opacity:0.65;
  max-width:640px;
  margin:0 auto;
  line-height:1.6;
}
footer .legal-links{
  margin-top:14px;
  font-size:0.78rem;
}
footer .legal-links a{
  color:var(--taupe);
  font-weight:600;
  margin:0 8px;
}
footer .legal-links a:hover{text-decoration:underline;}

/* LEGAL PAGES */
.legal-page{max-width:720px; margin:0 auto; padding:0 24px 90px;}
.legal-topbar{
  display:flex; align-items:center; justify-content:space-between;
  height:76px;
  border-bottom:1px solid var(--border);
  margin-bottom:0;
}
.legal-topbar .back-link{margin:0;}
.legal-hero{text-align:center; padding:48px 0 36px;}
.legal-hero .eyebrow{
  text-transform:uppercase; letter-spacing:2px; font-size:0.75rem;
  font-weight:700; color:var(--taupe); margin-bottom:14px;
}
.legal-hero h1{font-size:2rem; margin-bottom:12px;}
.legal-hero p{opacity:0.85; max-width:480px; margin:0 auto; font-size:0.95rem;}
.legal-hero .updated{display:block; margin-top:16px; font-size:0.78rem; opacity:0.55;}

.legal-toc{
  background:var(--white); border:1px solid var(--border); border-radius:16px;
  padding:22px 24px; margin-bottom:40px;
}
.legal-toc .toc-title{font-size:0.75rem; text-transform:uppercase; letter-spacing:1px; font-weight:700; color:var(--taupe); margin-bottom:14px;}
.legal-toc ol{list-style:none; display:grid; grid-template-columns:1fr 1fr; gap:2px 24px;}
.legal-toc li a{display:block; font-size:0.87rem; font-weight:500; color:var(--dark); padding:6px 0; opacity:0.85;}
.legal-toc li a:hover{opacity:1; color:var(--teal);}

.legal-section{
  background:var(--white); border:1px solid var(--border); border-radius:16px;
  padding:28px 26px; margin-bottom:22px;
  scroll-margin-top:20px;
}
.legal-section h2{
  display:flex; align-items:center; gap:12px;
  font-size:1.08rem; margin-bottom:16px;
}
.legal-section h2 .num{
  width:30px; height:30px; border-radius:50%; flex-shrink:0;
  background:var(--teal); color:var(--white);
  display:flex; align-items:center; justify-content:center;
  font-weight:700; font-size:0.85rem; font-family:'Montserrat',sans-serif;
}
.legal-section p{font-size:0.93rem; line-height:1.75; margin-bottom:12px;}
.legal-section p:last-child{margin-bottom:0;}
.legal-section ul{margin:0 0 12px 20px;}
.legal-section li{font-size:0.93rem; line-height:1.7; margin-bottom:8px;}
.legal-section li:last-child{margin-bottom:0;}
.legal-section strong{color:var(--dark);}
.legal-section .placeholder{color:var(--taupe); font-style:italic;}

@media (max-width:560px){
  .legal-toc ol{grid-template-columns:1fr;}
  .legal-hero h1{font-size:1.7rem;}
}

/* BACK LINK (sales pages) */
.back-link{
  display:inline-block;
  font-size:0.85rem;
  color:var(--taupe);
  font-weight:600;
  margin-bottom:24px;
}

@media (max-width:760px){
  .nav-toggle{display:flex;}
  nav.container .btn{padding:8px 14px; font-size:0.76rem;}
  .nav-links{
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    gap:2px;
    position:fixed;
    top:76px; left:0; right:0;
    background:var(--cream);
    border-bottom:1px solid var(--border);
    padding:8px 24px 20px;
    max-height:0;
    overflow:hidden;
    opacity:0;
    pointer-events:none;
    transition:max-height .25s ease, opacity .2s ease;
  }
  .nav-links a{
    display:block;
    width:100%;
    padding:12px 0;
    border-bottom:1px solid var(--border);
    opacity:1;
  }
  .nav-links a:last-child{border-bottom:none;}
  header.nav-open .nav-links{
    max-height:420px;
    opacity:1;
    pointer-events:auto;
  }
  header.nav-open .nav-toggle span::before{transform:translateY(7px) rotate(45deg);}
  header.nav-open .nav-toggle span::after{transform:translateY(-7px) rotate(-45deg);}
  header.nav-open .nav-toggle span{background:transparent;}
}
