:root{
  --blue:#07677A;
  --blue-dark:#034d5c;
  --ink:#112b34;
  --ink-warm:#332313;
  --muted:#7a6f5c;
  --line:#d6cdbb;
  --sand:#e3ddd3;
  --sand-deep:#cfc7b8;
  --bronze:linear-gradient(135deg,#caa46a,#93703c);
  --bronze-solid:#93703c;
  --bronze-text:#7a5a2e;
  --bronze-shadow:rgba(147,112,60,.28);
  --shadow:0 18px 55px rgba(80,60,30,.13);
  --soft-shadow:0 10px 30px rgba(80,60,30,.10);
}

*{box-sizing:border-box}

html{
  background:#efebe1;
  scroll-behavior:smooth;
}

body{
  margin:0;
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  color:var(--ink);
  background:radial-gradient(circle at 50% 0,rgba(147,112,60,.06),transparent 28rem),#efebe1;
}

a{color:inherit}

.phone-card{
  width:min(100%,430px);
  min-height:100vh;
  margin:0 auto;
  background:linear-gradient(180deg,#f3efe6 0,#ece5d8 55%,#e0d8c5 100%);
  overflow:hidden;
  box-shadow:0 0 45px rgba(80,60,30,.16);
}

/* HEADER */
.hero{
  position:relative;
  height:355px;
  background:linear-gradient(145deg,var(--blue) 0%,#086b7f 52%,var(--blue-dark) 100%);
  border-bottom-left-radius:46% 10%;
  border-bottom-right-radius:56% 16%;
  overflow:visible; /* important : la photo ne doit plus être coupée */
  z-index:3;
}

.hero:before{
  content:"";
  position:absolute;
  inset:-40px -10px auto auto;
  width:240px;
  height:240px;
  border-radius:50%;
  background:rgba(243,234,217,.10);
  filter:blur(2px);
}

.hero:after{
  content:"";
  position:absolute;
  left:24px;
  top:18px;
  width:155px;
  height:190px;
  border:2px solid rgba(243,234,217,.14);
  clip-path:polygon(50% 0,80% 34%,100% 62%,50% 100%,0 62%,20% 34%);
  border-radius:50%;
  opacity:.8;
}

.hero-pattern{
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 25% 85%,rgba(243,234,217,.18),transparent 16rem),
    linear-gradient(90deg,rgba(243,234,217,.07),transparent 40%);
  opacity:.9;
  z-index:1;
}

.white-wave{
  position:absolute;
  right:-105px;
  bottom:-58px;
  width:420px;
  height:210px;
  background:var(--sand);
  border-radius:55% 0 0 0 / 72% 0 0 0;
  transform:rotate(-7deg);
  box-shadow:-10px -1px 0 rgba(243,234,217,.9);
  z-index:2;
}

/* Logo plus grand, centré */
.brand-logo{
  position:absolute;
  top:22px;
  left:50%;
  transform:translateX(-50%);
  width:290px;
  max-width:76%;
  height:auto;
  z-index:7;
  filter:drop-shadow(0 5px 10px rgba(0,0,0,.22)) drop-shadow(0 0 1px rgba(243,234,217,.6));
  object-fit:contain;
}

/* Photo plus grande et toujours au-dessus de la vague */
.portrait{
  position:absolute;
  left:50%;
  bottom:-92px;
  transform:translateX(-50%);
  width:210px;
  height:210px;
  border-radius:50%;
  object-fit:cover;
  object-position:center top;
  border:8px solid var(--sand);
  box-shadow:0 22px 50px rgba(0,0,0,.25);
  z-index:20;
  background:var(--sand);
}

.section-pad{
  padding-left:24px;
  padding-right:24px;
}

/* IDENTITÉ */
.identity{
  text-align:center;
  padding-top:126px;
}

.eyebrow{
  text-transform:uppercase;
  letter-spacing:.22em;
  font-size:11px;
  font-weight:800;
  color:#9a8a6a;
  margin:0 0 12px;
}

.identity h1{
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(44px,13vw,58px);
  line-height:1.14; /* évite que le p et le M se touchent */
  margin:0;
  color:var(--ink-warm);
  letter-spacing:-.04em;
}

.identity h2{
  font-size:19px;
  line-height:1.25;
  color:var(--bronze-text);
  margin:14px auto 0;
  max-width:360px;
  font-weight:800;
}

.identity .founder-title{
  font-size:15px;
  line-height:1.3;
  color:var(--ink-warm);
  margin:10px auto 0;
  max-width:340px;
  font-weight:700;
  font-style:italic;
}

.identity .subtitle{
  font-size:14px;
  line-height:1.3;
  color:var(--muted);
  margin:6px auto 0;
  max-width:360px;
  font-weight:700;
  letter-spacing:.02em;
}

.separator{
  display:block;
  width:78px;
  height:4px;
  background:var(--bronze-solid);
  border-radius:999px;
  margin:24px auto 24px;
}

.baseline{
  font-size:17px;
  line-height:1.55;
  margin:0 auto;
  max-width:360px;
  color:#3a2e1c;
}

.baseline strong{font-weight:900}

.cta-grid{
  display:flex;
  align-items:stretch;
  gap:12px;
  margin:28px 0 24px;
}

.btn{
  min-height:56px;
  border-radius:999px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  text-decoration:none;
  font-weight:900;
  font-size:17px;
  border:1px solid var(--line);
  cursor:pointer;
  transition:transform .18s ease,box-shadow .18s ease;
  background:var(--sand);
}

.btn svg{
  width:22px;
  height:22px;
  fill:currentColor;
}

.btn:active{transform:scale(.98)}

.btn-primary{
  background:linear-gradient(135deg,#08778b,#045765);
  color:var(--sand);
  border:0;
  box-shadow:0 14px 28px rgba(40,30,16,.22);
}

.btn-secondary{
  color:var(--bronze-text);
  background:var(--sand);
}

.btn-icon-only{
  flex:0 0 56px;
  width:56px;
  padding:0;
}

.btn-icon-only svg{
  width:24px;
  height:24px;
}

.cta-grid .btn:not(.btn-icon-only){
  flex:1 1 auto;
}

.full{
  width:100%;
  margin-bottom:12px;
}

/* CARTES */
.card{
  margin:18px 18px;
  background:rgba(227,221,211,.94);
  border:1px solid var(--line);
  border-radius:26px;
  box-shadow:var(--shadow);
  overflow:hidden;
}

.contact{
  padding:14px 18px;
}

.contact a{
  display:flex;
  align-items:center;
  gap:16px;
  text-decoration:none;
  padding:16px 0;
  border-bottom:1px solid var(--line);
  font-size:16px;
  color:#2e2515;
  word-break:break-word;
}

.contact a:last-child{border-bottom:0}

.icon{
  width:48px;
  height:48px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:var(--bronze);
  box-shadow:0 10px 25px var(--bronze-shadow);
  flex:0 0 auto;
}

.icon svg{
  width:24px;
  height:24px;
  fill:var(--sand);
}

.about-card{
  position:relative;
  padding:24px 22px 22px;
}

.section-icon{
  width:58px;
  height:58px;
  border-radius:18px;
  background:#f0eadf;
  color:var(--bronze-text);
  display:grid;
  place-items:center;
  font-size:31px;
  float:left;
  margin:0 16px 10px 0;
  box-shadow:var(--soft-shadow);
}

h3{
  font-family:Georgia,"Times New Roman",serif;
  font-size:27px;
  line-height:1.05;
  margin:0 0 12px;
  color:var(--ink-warm);
}

.about-card p{
  font-size:15.5px;
  line-height:1.55;
  color:#4a3d28;
  margin:10px 0;
  text-align:justify;
  hyphens:auto;
}

/* RÉSEAUX */
.social-card{
  padding:22px;
}

.social-card h3{
  text-align:center;
  margin-bottom:18px;
}

.social-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}

.social-grid a{
  display:flex;
  align-items:center;
  gap:14px;
  text-decoration:none;
  background:#f0eadf;
  border:1px solid var(--line);
  border-radius:20px;
  padding:13px 16px;
  font-weight:900;
  color:var(--ink-warm);
}

.social-grid span{
  width:42px;
  height:42px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:var(--bronze);
  color:var(--sand);
  font-weight:900;
  font-size:20px;
  box-shadow:0 9px 20px var(--bronze-shadow);
}

.social-carousel{
  display:flex;
  overflow-x:auto;
  scroll-snap-type:x mandatory;
  -webkit-overflow-scrolling:touch;
  gap:14px;
  padding:0 22px 6px;
  scrollbar-width:none;
}

.social-carousel::-webkit-scrollbar{display:none}

.social-slide{
  flex:0 0 78%;
  scroll-snap-align:center;
  display:flex;
  align-items:center;
  gap:14px;
  text-decoration:none;
  background:#f0eadf;
  border:1px solid var(--line);
  border-radius:20px;
  padding:16px 18px;
  font-weight:900;
  font-size:16px;
  color:var(--ink-warm);
}

.icon-wrap{
  width:48px;
  height:48px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:var(--bronze);
  color:var(--sand);
  font-weight:900;
  font-size:20px;
  box-shadow:0 9px 20px var(--bronze-shadow);
  flex:0 0 auto;
}

.icon-wrap svg{
  width:27px;
  height:27px;
}

.icon-wrap-brand{
  background:var(--sand);
  box-shadow:0 9px 20px rgba(80,60,30,.18);
}

/* TÉMOIGNAGES */
.testimonials-card{
  padding:22px 0 22px;
}

.testimonials-card h3{
  text-align:center;
  margin-bottom:18px;
  padding:0 22px;
}

.testimonial-carousel{
  display:flex;
  overflow-x:auto;
  scroll-snap-type:x mandatory;
  -webkit-overflow-scrolling:touch;
  gap:14px;
  padding:0 22px 6px;
  scrollbar-width:none;
}

.testimonial-carousel::-webkit-scrollbar{display:none}

.testimonial{
  flex:0 0 88%;
  scroll-snap-align:center;
  background:#f0eadf;
  border:1px solid var(--line);
  border-radius:20px;
  padding:20px 18px 18px;
}

.testimonial .stars{
  color:var(--bronze-solid);
  font-size:14px;
  letter-spacing:2px;
  margin-bottom:10px;
}

.testimonial p{
  font-size:14px;
  line-height:1.6;
  color:#4a3d28;
  margin:0;
  font-style:italic;
}

.carousel-dots{
  display:flex;
  justify-content:center;
  gap:7px;
  margin-top:14px;
}

.carousel-dots span{
  width:7px;
  height:7px;
  border-radius:50%;
  background:var(--sand-deep);
  transition:background .2s ease,transform .2s ease;
}

.carousel-dots span.active{
  background:var(--bronze-solid);
  transform:scale(1.25);
}

.final-cta{
  padding-top:12px;
  padding-bottom:20px;
}

.contact-closing{
  padding:24px 22px;
}

.contact-closing p{
  font-size:15px;
  line-height:1.6;
  color:#3a2e1c;
  margin:0 0 12px;
}

.contact-closing p:last-child{
  margin-bottom:0;
}

/* FOOTER */
footer{
  background:linear-gradient(135deg,#07677A,#034d5c);
  padding:22px 18px 28px;
  text-align:center;
  color:var(--sand);
  font-weight:800;
}

footer a{
  color:var(--sand);
  font-weight:800;
  text-decoration:underline;
  text-underline-offset:3px;
}

@media (min-width:431px){
  body{padding:16px 0}
  .phone-card{border-radius:30px}
  .hero{border-top-left-radius:30px;border-top-right-radius:30px}
  footer{border-bottom-left-radius:30px;border-bottom-right-radius:30px}
}

@media (max-width:370px){
  .brand-logo{width:245px}
  .portrait{
    width:184px;
    height:184px;
    bottom:-82px;
  }
  .hero{height:335px}
  .identity{
    padding-top:112px;
  }
  .identity h1{
    font-size:42px;
    line-height:1.16;
  }
  .identity h2{font-size:17px}
  .baseline{font-size:16px}
  .cta-grid{gap:10px}
  .btn{font-size:15px}
  .social-grid{grid-template-columns:1fr}
  .social-slide{flex:0 0 85%}
}
