/* =========
   Cap Sérénité Sophrologie - Style
   ========= */

:root{
  --bg: #ffffff;
  --text: #12343a;
  --muted: #4a6a70;
  --brand: #2f7f86;     /* proche du logo */
  --brand-2: #1f6670;
  --card: #f4f8f8;
  --line: rgba(18, 52, 58, 0.12);
  --shadow: 0 10px 30px rgba(0,0,0,0.08);
  --radius: 18px;
  --max: 1040px;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a{ color: var(--brand-2); text-decoration: none; }
a:hover{ text-decoration: underline; }

.container{
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
}

.skip-link{
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--bg);
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  z-index: 9999;
}
.skip-link:focus{ left: 12px; top: 12px; }

header.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(255,255,255,0.75);
  border-bottom: 1px solid var(--line);
}

.navbar{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  gap: 14px;
}

.brand{
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 200px;
}
.brand img{
  width: 42px;
  height: 42px;
  object-fit: contain;
}
.brand .brand-text{
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand .brand-text strong{
  font-size: 0.98rem;
  letter-spacing: 0.2px;
}
.brand .brand-text span{
  font-size: 0.82rem;
  color: var(--muted);
}

nav ul{
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
}
nav a{
  display: inline-block;
  padding: 8px 10px;
  border-radius: 12px;
  color: var(--text);
}
nav a:hover{
  background: rgba(47,127,134,0.08);
  text-decoration: none;
}
nav a.active{
  background: rgba(47,127,134,0.14);
  color: var(--brand-2);
  font-weight: 600;
}

.hero{
  position: relative;
  min-height: 420px;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.hero::before{
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("assets/hero-mer.jpg");
  background-size: cover;
  background-position: center;
  filter: saturate(1.05) contrast(1.03);
  transform: scale(1.02);
}
.hero::after{
  /* voile doux pour lisibilité */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.28),
    rgba(0,0,0,0.18) 45%,
    rgba(0,0,0,0.30)
  );
}

.hero-content{
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 34px 16px;
  max-width: 860px;
}

.hero-logo{
  width: min(260px, 70vw);
  height: auto;
  display: block;
  margin: 0 auto 10px auto;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,0.35));
border-radius: 16px;

}

.hero h1{
  font-size: clamp(1.6rem, 2.6vw + 1rem, 2.6rem);
  margin: 8px 0 8px 0;
  letter-spacing: 0.4px;
}
.hero .tagline{
  font-size: clamp(1.05rem, 0.9vw + 0.95rem, 1.3rem);
  margin: 0 0 10px 0;
  font-weight: 600;
}
.hero .meta{
  margin: 0;
  opacity: 0.95;
  font-size: 1rem;
}
/* Fond doux pour alterner les sections */
.section.soft{
  background: rgba(47,127,134,0.08); /* très doux, cohérent avec le logo */
  border-top: 1px solid rgba(18, 52, 58, 0.06);
  border-bottom: 1px solid rgba(18, 52, 58, 0.06);
}

.section.soft .container{
  padding-top: 26px;
  padding-bottom: 26px;
}
/* Mise en valeur RNCP */
.rncp{
  font-weight: 800;
  color: var(--brand-2);
}


main{
  padding: 28px 0 50px 0;
}

.section{
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}
.section:last-child{ border-bottom: none; }

.section h2{
  margin: 0 0 14px 0;
  font-size: 1.35rem;
  letter-spacing: 0.2px;
  font-weight: 800;
  color: var(--brand-2); /* bleu-vert du logo */
  text-transform: uppercase; /* style MON APPROCHE */
}
.section p{ margin: 0 0 12px 0; color: var(--text); }
.section p.muted{ color: var(--muted); }

.lead{
  font-size: 1.05rem;
}

.cards{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 14px;
}
.card{
  background: var(--card);
  border: 1px solid rgba(18, 52, 58, 0.10);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}
.card h3{
  margin: 0 0 10px 0;
  font-size: 1.15rem;
}
.card p{ margin: 0 0 12px 0; color: var(--muted); }
.card a.btn{ margin-top: 6px; }

.list{
  margin: 10px 0 0 0;
  padding-left: 18px;
}
.list li{ margin: 6px 0; }

.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(47,127,134,0.14);
  border: 1px solid rgba(47,127,134,0.25);
  color: var(--brand-2);
  font-weight: 650;
}
.btn:hover{
  background: rgba(47,127,134,0.20);
  text-decoration: none;
}

.contact-box{
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}
.contact-box strong{ display: block; }
.contact-grid{
  display: grid;
  gap: 6px;
  margin-top: 10px;
  color: var(--muted);
}
.contact-grid a{ color: var(--brand-2); font-weight: 650; }

footer{
  padding: 22px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
}

.small-note{ font-size: 0.92rem; color: var(--muted); }

@media (max-width: 820px){
  .cards{ grid-template-columns: 1fr; }
  .brand{ min-width: unset; }
}
/* Ajustement logo en version mobile */
@media (max-width: 600px){
  .hero-logo{
    width: 170px;   /* taille du logo dans le bandeau */
  }
}

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
}
/* --- Portrait (Accueil / Mon approche) --- */
.profile {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.profile-photo {
  width: 150px;
  height: 150px;
  object-fit: cover;
object-position: center 15%;

  border-radius: 22px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.14);
  display: block;
}

@media (max-width: 720px) {
  .profile {
    flex-direction: column;
    align-items: center;
    text-align: left;
  }
  .profile-photo {
    width: 140px;
    height: 140px;
  }
}
.cta-button {
background-color:#2e6cff;
color:white;
padding:12px 22px;
border-radius:8px;
text-decoration:none;
font-weight:600;
display:inline-block;
margin-top:10px;
}
