/**
 * Orizzonti Italiani – Front Page CSS (v2)
 */

/* HERO */
.oi-hero{position:relative;min-height:100vh;display:flex;align-items:center;justify-content:center;text-align:center;overflow:hidden}
.oi-hero__bg{position:absolute;inset:0;z-index:0}
.oi-hero__bg img,.oi-hero__bg video{width:100%;height:100%;object-fit:cover}
.oi-hero__overlay{position:absolute;inset:0;z-index:1}
.oi-hero__content{position:relative;z-index:2;max-width:1080px;padding:2rem}
.oi-hero__title,.oi-hero__subtitle,.oi-hero__note{text-shadow:0 1px 2px rgba(0,0,0,0.6),0 2px 12px rgba(0,0,0,0.4)}
.oi-hero__title{font-size:clamp(2.4rem,5.5vw,4.5rem);color:white;font-weight:500;line-height:1.1;margin-bottom:1rem;letter-spacing:-0.02em;text-shadow:0 2px 20px rgba(0,0,0,0.3)}
.oi-hero__title em{font-style:italic;color:var(--oi-peach)}
.oi-hero__subtitle{color:rgba(255,255,255,0.9);margin:0 auto 2rem;line-height:1.7;font-weight:300}
/* CTA group */
.oi-hero__ctas{display:flex;align-items:flex-start;gap:1rem;justify-content:center;flex-wrap:wrap}
.oi-hero__cta-primary{display:flex;flex-direction:column;align-items:center}
.oi-hero__note{margin-top:0.6rem;font-size:0.85rem;color:rgba(255,255,255,0.55)}
/* Ghost button */
.oi-btn--ghost{display:inline-flex;align-items:center;gap:0.4rem;padding:0.8rem 1.8rem;background:transparent;color:rgba(255,255,255,0.9);border:1.5px solid rgba(255,255,255,0.4);border-radius:50px;font-weight:600;font-size:0.92rem;text-decoration:none;transition:all 0.35s;cursor:pointer;margin-top:0.2rem}
.oi-btn--ghost:hover{background:rgba(255,255,255,0.12);border-color:rgba(255,255,255,0.7);color:white;transform:translateY(-1px)}
@media(max-width:768px){
  /* Décaler le contenu hero vers le bas pour ne pas être masqué par le header fixe */
  .oi-hero{padding-top:8rem;padding-bottom:4rem}
}
@media(max-width:600px){
  .oi-hero__ctas{flex-direction:column;align-items:center}
  /* Réduire légèrement la taille du logo sur petit mobile (sécurité supplémentaire) */
  .oi-header__logo-img{max-height:85%}
}

/* IDENTIFICATION */
.oi-identify{background:var(--oi-cream);padding:5rem 2rem}
.oi-identify__inner{max-width:720px;margin:0 auto;text-align:center}
.oi-identify__title{font-family:'Cormorant Garamond',serif;font-size:clamp(1.8rem,3vw,2.4rem);font-weight:500;color:var(--oi-text-dark);margin-bottom:2.5rem}
.oi-identify__list{display:flex;flex-direction:column;gap:1.4em;text-align:left;margin-bottom:3rem}
.oi-identify__item{display:flex;align-items:baseline;gap:0.8rem;font-size:1rem;line-height:1.7;color:var(--oi-text-dark);font-weight:300}
.oi-identify__bullet{flex-shrink:0;font-size:0.9rem}
.oi-identify__transition{text-align:center;color:var(--oi-terracotta)}
.oi-identify__transition p{font-family:'Cormorant Garamond',serif;font-size:1.5rem;font-weight:600;margin-bottom:0.8rem;color:inherit}
.oi-identify__arrow{color:inherit;animation:oi-bounce 2s ease-in-out infinite;margin-top:0.5rem}
@keyframes oi-bounce{0%,100%{transform:translateY(0)}50%{transform:translateY(6px)}}

/* VALUE */
.oi-value{background:var(--oi-cream)}
.oi-value__grid{display:grid;grid-template-columns:repeat(3,1fr);gap:2rem;max-width:1100px;margin:0 auto}
.oi-value__card{background:var(--oi-white);border-radius:var(--oi-radius);padding:2.5rem 2rem;text-align:center;border:1px solid rgba(194,112,62,0.06);transition:all var(--oi-transition)}
.oi-value__card:hover{transform:translateY(-6px);box-shadow:0 20px 50px rgba(194,112,62,0.1)}
.oi-value__icon{margin:0 auto 1.5rem;display:flex;align-items:center;justify-content:center}
.oi-value__card h3{font-size:var(--oi-value-title-size, 1.4rem);font-weight:600;margin-bottom:0.7rem;color:var(--oi-typo-title-color)}
.oi-value__card p{font-size:var(--oi-value-text-size, 0.95rem);line-height:1.65;color:var(--oi-typo-body-color);font-weight:300}

/* ABOUT */
.oi-about{background:var(--oi-olive-dark);overflow:hidden}
.oi-about::before{content:'';position:absolute;inset:0;background-image:url("data:image/svg+xml,%3Csvg width='80' height='80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23fff' fill-opacity='0.03'%3E%3Ccircle cx='40' cy='40' r='6'/%3E%3C/g%3E%3C/svg%3E");pointer-events:none}
.oi-about__grid{max-width:1100px;margin:0 auto;display:grid;grid-template-columns:auto 1fr;gap:4rem;align-items:center;position:relative;z-index:1}
.oi-about__photo-wrap{position:relative}
.oi-about__photo{width:320px;height:400px;border-radius:180px 180px 30px 30px;object-fit:cover;box-shadow:0 25px 60px rgba(0,0,0,0.2);border:4px solid rgba(255,255,255,0.1)}
.oi-about__photo-wrap::after{content:'';position:absolute;inset:-10px;border-radius:190px 190px 40px 40px;border:2px solid rgba(255,255,255,0.08);z-index:-1}
.oi-about .oi-section__label{color:var(--oi-peach)}
.oi-about .oi-section__label::before{background:var(--oi-peach)}
.oi-about .oi-section__label::after{display:none}
.oi-about .oi-section__title{color:white;margin-bottom:1.5rem}
.oi-about__text{color:rgba(255,255,255,0.8);font-size:1.05rem;line-height:1.8;font-weight:300;margin-bottom:1rem}
.oi-about__signature{font-family:'Cormorant Garamond',serif;font-size:1.5rem;font-style:italic;color:var(--oi-peach);margin-top:1rem}

/* OFFERS */
.oi-offers{background:var(--oi-cream)}
.oi-offers__grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1.5rem;max-width:1200px;margin:0 auto}
.oi-offer{border-radius:20px;overflow:hidden;display:flex;flex-direction:column;padding:2.5rem 1.8rem 2rem;text-align:center;transition:all var(--oi-transition)}
.oi-offer:hover{transform:translateY(-8px);box-shadow:0 25px 60px rgba(30,58,58,0.3)}
/* Carte entièrement cliquable (lien) : pas de soulignement, pas de couleur d'héritage */
a.oi-offer--linked{text-decoration:none;color:inherit;cursor:pointer}
a.oi-offer--linked:hover{text-decoration:none;color:inherit}
a.oi-offer--linked:hover .oi-offer__cta-btn{filter:brightness(1.08);transform:translateY(-1px);box-shadow:0 8px 25px rgba(0,0,0,0.2)}
a.oi-offer--linked:hover .oi-offer__cta-btn svg{transform:translateX(3px)}
.oi-offer__icon{margin-bottom:1.2rem;display:flex;justify-content:center;align-items:center;min-height:60px}
.oi-offer__icon img{max-width:64px;max-height:64px;width:auto;height:auto;display:block}
.oi-offer__icon span{font-size:2.6rem;line-height:1}
.oi-offer__title{font-family:'Cormorant Garamond',serif;font-size:var(--oi-offer-title-size,1.8rem);font-weight:700;font-style:italic;line-height:1.15;margin:0 0 0.6rem}
.oi-offer__tagline{font-family:'Cormorant Garamond',serif;font-size:1.15rem;font-style:italic;color:rgba(255,255,255,0.75);margin:0 0 1.2rem;line-height:1.45}
.oi-offer__desc{font-size:var(--oi-offer-text-size,0.95rem);color:rgba(255,255,255,0.78);line-height:1.65;margin:0 0 1.6rem;font-weight:300}
.oi-offer__meta{border:none;border-radius:12px;padding:1rem 1.2rem;margin:0 0 1.4rem;background:rgba(255,255,255,0.1)}
.oi-offer__meta-line{font-size:0.95rem;color:rgba(255,255,255,0.92);line-height:1.5;font-weight:400}
.oi-offer__meta-line+.oi-offer__meta-line{margin-top:0.3rem}
.oi-offer__meta-line--price{font-weight:700;font-size:1.05rem}
.oi-offer__ideal{font-size:var(--oi-offer-text-size,0.9rem);color:rgba(255,255,255,0.78);line-height:1.55;margin:0 0 1.6rem;font-style:italic;font-weight:300}
/* CTA button per offer (rendu en <span> dans une carte cliquable, ou <a> standalone) */
.oi-offer__cta{margin-top:auto;padding-top:0.4rem;text-align:center}
.oi-offer__cta-btn{display:inline-flex;align-items:center;gap:0.5rem;padding:0.85rem 1.8rem;border-radius:var(--oi-radius-pill);font-weight:700;font-size:0.9rem;text-decoration:none;transition:all 0.3s;box-shadow:0 4px 15px rgba(0,0,0,0.15)}
.oi-offer__cta-btn svg{transition:transform 0.3s}
.oi-offer__cta-btn svg{transition:transform 0.3s}
.oi-offer__cta-btn:hover svg{transform:translateX(3px)}

/* INSPIRATIONS */
.oi-inspo{background:var(--oi-white);overflow:hidden}
.oi-carousel__track{display:flex;gap:1.5rem;padding:0 2rem;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;scroll-behavior:smooth}
.oi-carousel__track::-webkit-scrollbar{display:none}
.oi-carousel__slide{flex:0 0 360px;scroll-snap-align:start;border-radius:20px;overflow:hidden;position:relative;aspect-ratio:4/5}
.oi-carousel__slide img{width:100%;height:100%;object-fit:cover;transition:transform 0.6s}
.oi-carousel__slide:hover img{transform:scale(1.05)}
.oi-carousel__caption{position:absolute;bottom:0;left:0;right:0;background:linear-gradient(to top,rgba(30,20,10,0.8) 0%,transparent 100%);padding:3rem 1.5rem 1.5rem;color:white}
.oi-carousel__caption h4{font-size:1.3rem;font-weight:600}
.oi-carousel__caption p{font-size:0.82rem;color:rgba(255,255,255,0.7);margin-top:0.3rem}
.oi-carousel__nav{display:flex;gap:1rem;justify-content:center;margin-top:1.5rem}
.oi-carousel__btn{width:44px;height:44px;border-radius:50%;background:var(--oi-cream);border:1px solid var(--oi-sand);cursor:pointer;display:flex;align-items:center;justify-content:center;color:var(--oi-terracotta);transition:all 0.3s}
.oi-carousel__btn:hover{background:var(--oi-terracotta);color:white;border-color:var(--oi-terracotta)}

/* PROCESS */
.oi-process{background:linear-gradient(135deg,var(--oi-warm-bg) 0%,var(--oi-peach) 100%)}
.oi-process__grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1.5rem;max-width:1100px;margin:0 auto}
.oi-process__card{background:rgba(255,255,255,0.4);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,0.5);border-radius:var(--oi-radius);padding:2.5rem 1.8rem;text-align:center;transition:all var(--oi-transition)}
.oi-process__card:hover{background:rgba(255,255,255,0.7);transform:translateY(-4px)}
.oi-process__num{width:48px;height:48px;border-radius:50%;background:linear-gradient(135deg,var(--oi-terracotta),var(--oi-terracotta-dark));color:white;font-family:'Cormorant Garamond',serif;font-size:1.4rem;font-weight:600;display:flex;align-items:center;justify-content:center;margin:0 auto 1.2rem;box-shadow:0 6px 18px rgba(194,112,62,0.25)}
.oi-process__card h3{font-size:1.25rem;font-weight:600;margin-bottom:0.6rem;color:var(--oi-typo-title-color)}
.oi-process__card p{font-size:0.9rem;line-height:1.6;color:var(--oi-typo-body-color);font-weight:300}

/* REVIEWS */
.oi-reviews{background:var(--oi-white)}

/* CALENDLY */
.oi-calendly{background:var(--oi-cream)}
.oi-calendly__embed{max-width:1000px;margin:0 auto;border-radius:20px;overflow:hidden;box-shadow:0 10px 40px rgba(0,0,0,0.06);background:white;min-height:650px}
.oi-calendly__embed iframe{width:100%;height:700px;border:none}
.oi-calendly__placeholder{display:flex;flex-direction:column;align-items:center;justify-content:center;height:300px;color:var(--oi-text-light)}

/* INSTAGRAM */
.oi-instagram{background:var(--oi-white)}
.oi-instagram__embed{max-width:540px;margin:0 auto;border-radius:16px;overflow:hidden}
.oi-instagram__embed iframe{width:100%;min-height:500px;border:none}

/* FAQ */
.oi-faq{background:var(--oi-cream)}
.oi-faq__list{max-width:800px;margin:0 auto}
.oi-faq__item{background:var(--oi-white);border-radius:16px;margin-bottom:0.8rem;overflow:hidden;border:1px solid rgba(194,112,62,0.06);transition:border-color 0.3s}
.oi-faq__item:hover{border-color:rgba(194,112,62,0.12)}
.oi-faq__question{width:100%;padding:1.3rem 1.8rem;background:none;border:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center;font-family:'Cormorant Garamond',serif;font-size:1.15rem;font-weight:600;color:var(--oi-text-dark);text-align:left}
.oi-faq__icon{flex-shrink:0;width:28px;height:28px;border-radius:50%;background:rgba(194,112,62,0.08);color:var(--oi-terracotta);display:flex;align-items:center;justify-content:center;font-size:1rem;transition:transform 0.3s}
.oi-faq__item--open .oi-faq__icon{transform:rotate(45deg)}
.oi-faq__answer{max-height:0;overflow:hidden;transition:max-height 0.4s ease}
.oi-faq__item--open .oi-faq__answer{max-height:2000px}
.oi-faq__answer-inner{padding:0 1.8rem 1.3rem;font-size:var(--oi-typo-body-size);line-height:1.7;color:var(--oi-typo-body-color);font-weight:300}

/* CONTACT FORM */
.oi-contactform{background:var(--oi-white)}

/* ── RESPONSIVE ── */
@media(max-width:1024px){
  .oi-value__grid{grid-template-columns:1fr;max-width:500px}
  .oi-offers__grid{grid-template-columns:repeat(2,1fr);max-width:700px}
  .oi-process__grid{grid-template-columns:repeat(2,1fr)}
  /* FIX: Qui suis-je mobile centering */
  .oi-about__grid{grid-template-columns:1fr;text-align:center;gap:2.5rem}
  .oi-about__photo-wrap{margin:0 auto;display:flex;justify-content:center}
  .oi-about__content{display:flex;flex-direction:column;align-items:center}
  .oi-about .oi-section__label{justify-content:center}
  .oi-about .oi-section__title{text-align:center}
  .oi-about__text{text-align:center;max-width:600px}
  .oi-about__signature{text-align:center}
}
@media(max-width:768px){
  .oi-offers__grid{grid-template-columns:1fr;max-width:400px}
  .oi-process__grid{grid-template-columns:1fr}
  .oi-carousel__slide{flex:0 0 280px}
  .oi-about__photo{width:260px;height:340px}
}
@media(max-width:480px){
  .oi-carousel__slide{flex:0 0 85vw}
  .oi-about__photo{width:220px;height:280px}
}

/* ── FIX: Contact Form 7 mobile — checkbox dans le cadre ── */
.oi-contactform .wpcf7-form label,
.oi-contactform .wpcf7-form p{word-wrap:break-word;overflow-wrap:break-word}
.oi-contactform .wpcf7-form .wpcf7-acceptance{display:block;padding:0.8rem 1rem;background:var(--oi-cream);border-radius:var(--oi-radius-sm);margin:1rem 0;word-wrap:break-word;overflow-wrap:break-word}
.oi-contactform .wpcf7-form .wpcf7-acceptance label{display:flex;align-items:flex-start;gap:0.6rem;font-size:0.88rem;line-height:1.5;margin:0}
.oi-contactform .wpcf7-form .wpcf7-acceptance input[type="checkbox"]{flex-shrink:0;margin-top:3px;width:18px;height:18px;accent-color:var(--oi-terracotta)}
.oi-contactform .wpcf7-form .wpcf7-acceptance a{color:var(--oi-terracotta);text-decoration:underline;text-underline-offset:2px}

/* ── LINKS IN CONTENT BLOCKS ── */
/* Style des liens insérés via le Customizer (terracotta, souligné) */
.oi-value__card a,.oi-process__card a,.oi-faq__answer-inner a,
.oi-about__text a,.oi-offer__feature a,.oi-footer__tagline a{
  color:var(--oi-terracotta);text-decoration:underline;
  text-underline-offset:3px;text-decoration-color:rgba(194,112,62,0.4);
  transition:color 0.3s,text-decoration-color 0.3s
}
.oi-value__card a:hover,.oi-process__card a:hover,.oi-faq__answer-inner a:hover,
.oi-about__text a:hover,.oi-offer__feature a:hover,.oi-footer__tagline a:hover{
  color:var(--oi-terracotta-dark);text-decoration-color:var(--oi-terracotta-dark)
}
/* Liens sur fond sombre (Qui suis-je) */
.oi-about__text a{color:var(--oi-peach);text-decoration-color:rgba(245,224,204,0.4)}
.oi-about__text a:hover{color:white;text-decoration-color:white}
/* Liens dans les offres (fond teal) */
.oi-offer__feature a{color:var(--oi-terracotta-light);text-decoration-color:rgba(212,145,95,0.4)}
.oi-offer__feature a:hover{color:white;text-decoration-color:white}

.oi-section--hidden{display:none!important}

/* ── CONTACT FORM 7 / WPFORMS / FORM PLUGINS STYLING ── */
/* Style les formulaires des plugins pour matcher la charte graphique */
.oi-contactform .wpcf7,
.oi-contactform .wpforms-container{
  max-width:600px;margin:0 auto
}
/* CF7 inputs */
.oi-contactform .wpcf7-form-control:not([type="submit"]){
  width:100%;
  padding:0.9rem 1.2rem;
  border:1px solid var(--oi-sand);
  border-radius:var(--oi-radius-sm);
  background:var(--oi-cream);
  font-family:'Lato',sans-serif;
  font-size:0.95rem;
  color:var(--oi-text-dark);
  transition:border-color 0.3s,box-shadow 0.3s;
  outline:none;
  -webkit-appearance:none;
  appearance:none
}
.oi-contactform .wpcf7-form-control:not([type="submit"]):focus{
  border-color:var(--oi-terracotta);
  box-shadow:0 0 0 3px rgba(194,112,62,0.12)
}
.oi-contactform textarea.wpcf7-form-control{
  min-height:140px;resize:vertical
}
/* CF7 labels */
.oi-contactform .wpcf7-form label,
.oi-contactform .wpcf7-form p{
  display:block;
  margin-bottom:1.2rem;
  font-size:0.92rem;
  color:var(--oi-text-med);
  font-weight:400
}
/* CF7 submit button */
.oi-contactform .wpcf7-form-control[type="submit"],
.oi-contactform .wpcf7-submit{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:1rem 2.2rem;
  border-radius:var(--oi-radius-pill);
  background:var(--oi-terracotta);
  color:white;
  font-weight:700;
  font-size:1rem;
  font-family:'Lato',sans-serif;
  border:none;
  cursor:pointer;
  transition:all 0.35s;
  box-shadow:0 6px 25px rgba(194,112,62,0.3);
  margin-top:0.5rem;
  width:auto
}
.oi-contactform .wpcf7-submit:hover{
  background:var(--oi-terracotta-dark);
  transform:translateY(-2px);
  box-shadow:0 10px 35px rgba(194,112,62,0.4)
}
/* CF7 spinner */
.oi-contactform .wpcf7-spinner{
  margin-left:1rem
}
/* CF7 response messages */
.oi-contactform .wpcf7-response-output{
  border-radius:var(--oi-radius-sm) !important;
  padding:1rem 1.2rem !important;
  font-size:0.9rem;
  margin-top:1.5rem !important
}
.oi-contactform .wpcf7-mail-sent-ok{
  border-color:var(--oi-olive) !important;
  background:rgba(90,122,58,0.08)
}
.oi-contactform .wpcf7-validation-errors,
.oi-contactform .wpcf7-not-valid-tip{
  color:#c0392b;
  font-size:0.82rem
}
/* Reset CF7 default borders/margins qui cassent le layout */
.oi-contactform .wpcf7 form.sent .wpcf7-response-output{
  border-color:var(--oi-olive) !important
}
/* Espacement entre les champs */
.oi-contactform .wpcf7-form br{
  display:block;
  content:'';
  margin-top:0.3rem
}
/* Select dropdown */
.oi-contactform select.wpcf7-form-control{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236B5B4A' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat:no-repeat;
  background-position:right 1rem center;
  padding-right:2.5rem
}

/* ───────────────────────────────────────────
   WHATIS — « Qu'est-ce qu'un travel planner ? »
   Fond uni + sous-blocs arrondis empilés (famille de cartes)
─────────────────────────────────────────── */
.oi-whatis{background:var(--oi-warm-bg)}

.oi-whatis__header{max-width:760px;margin:0 auto 2.8rem;text-align:center}
.oi-whatis__intro{margin:1.2rem auto 0;max-width:680px;line-height:1.7;color:var(--oi-typo-body-color);font-weight:300;text-wrap:pretty}
.oi-whatis__intro i{font-family:'Cormorant Garamond',Georgia,serif;font-style:italic;color:var(--oi-terracotta)}

.oi-whatis__panels{max-width:880px;margin:0 auto;display:flex;flex-direction:column;gap:1.2rem}
.oi-whatis__panel{display:flex;align-items:flex-start;gap:1rem;background:var(--oi-white);border-left:4px solid var(--oi-terracotta);border-radius:var(--oi-radius);padding:1.7rem 1.9rem}
.oi-whatis__panel--note{background:var(--oi-peach)}
.oi-whatis__panel-mark{color:var(--oi-terracotta);font-size:1.15rem;line-height:1.5;flex:0 0 auto}
.oi-whatis__panel-body{flex:1 1 auto;min-width:0}
.oi-whatis__panel-title{font-size:var(--wt-ptitle,1.5rem);font-weight:600;color:var(--oi-typo-title-color);margin:0 0 0.4rem;line-height:1.2}
.oi-whatis__panel-text{font-size:var(--wt-ptext,1rem);margin:0;line-height:1.7;color:var(--oi-typo-body-color);font-weight:300;text-wrap:pretty}
.oi-whatis__panel--note .oi-whatis__panel-text{color:var(--oi-text-dark)}

@media(max-width:768px){
  .oi-whatis__header{margin-bottom:2.2rem}
  .oi-whatis__panels{gap:1rem}
  .oi-whatis__panel{padding:1.4rem 1.5rem;gap:0.8rem}
}
