/*======================================================*/
/*  Page contact (contact.php)                           */
/*  Coordonnées + Facebook à gauche, formulaire à droite */
/*======================================================*/
.ct {
   position: relative;
   overflow: hidden;
   isolation: isolate;
   padding: 80px 22px 100px;
   background: #ff9800;
}

/* Même texture que les sections "Exemples de réalisations" */
.ct::before {
   content: "";
   position: absolute;
   inset: 0;
   z-index: -1;
   background:
      radial-gradient(rgba(255, 255, 255, 0.18) 1.5px, transparent 1.5px) 0 0 / 24px 24px,
      radial-gradient(700px 480px at 0% 0%, rgba(255, 213, 79, 0.6), transparent 60%),
      radial-gradient(700px 520px at 100% 100%, rgba(255, 87, 34, 0.5), transparent 60%);
}

.ct-inner {
   display: grid;
   grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
   align-items: start;
   gap: 48px;
   max-width: 1180px;
   margin: 0 auto;
}

/*--- Colonne gauche ---*/
.ct-info { color: #fff; padding-top: 10px; }

.ct-kicker {
   display: inline-flex;
   align-items: center;
   gap: 8px;
   padding: 7px 16px;
   border-radius: 50px;
   background: rgba(255, 255, 255, 0.22);
   border: 1px solid rgba(255, 255, 255, 0.4);
   font-size: 13px;
   font-weight: 600;
   letter-spacing: 1px;
   text-transform: uppercase;
}

/* h1 : on écrase la règle globale (gris, 18px, centré) de style_delisou_v10_3.css */
.ct-title {
   margin: 18px 0 14px;
   font-family: 'Poppins', Verdana, sans-serif;
   font-size: clamp(2.3rem, 5vw, 3.6rem);
   font-weight: 700;
   line-height: 1.05;
   letter-spacing: -1px;
   text-align: left;
   color: #fff;
   text-shadow: 0 6px 24px rgba(160, 60, 0, 0.25);
}

.ct-title span {
   position: relative;
   white-space: nowrap;
}

.ct-title span::after {
   content: "";
   position: absolute;
   left: -4px;
   right: -4px;
   bottom: 4px;
   height: 13px;
   z-index: -1;
   border-radius: 6px;
   background: #ffd54f;
   transform: rotate(-1.5deg);
}

.ct-lead {
   max-width: 460px;
   margin: 0 0 28px;
   font-size: 17px;
   line-height: 1.6;
   color: rgba(255, 255, 255, 0.95);
}

.ct-cards {
   display: flex;
   flex-direction: column;
   gap: 12px;
}

.ct-card {
   display: flex;
   align-items: center;
   gap: 16px;
   padding: 14px 18px;
   border-radius: 16px;
   background: rgba(255, 255, 255, 0.16);
   border: 1px solid rgba(255, 255, 255, 0.3);
   color: #fff !important;
   text-decoration: none !important;
   -webkit-backdrop-filter: blur(6px);
   backdrop-filter: blur(6px);
   transition: transform .25s ease, background .25s ease;
}

.ct-card:hover { transform: translateX(6px); background: rgba(255, 255, 255, 0.26); }

.ct-card small,
.ct-fb small {
   display: block;
   font-size: 12px;
   letter-spacing: .6px;
   text-transform: uppercase;
   opacity: .85;
}

.ct-card b { font-size: 16px; font-weight: 600; }

.ct-ico {
   flex: 0 0 auto;
   display: inline-flex;
   align-items: center;
   justify-content: center;
   width: 46px;
   height: 46px;
   border-radius: 13px;
   background: #fff;
   color: #ff9800;
   font-size: 20px;
   box-shadow: 0 8px 18px rgba(160, 60, 0, 0.2);
}

/* Gros bouton Facebook */
.ct-fb {
   display: flex;
   align-items: center;
   gap: 16px;
   margin-top: 22px;
   padding: 16px 20px;
   border-radius: 18px;
   background: #1877f2;
   color: #fff !important;
   text-decoration: none !important;
   box-shadow: 0 14px 30px rgba(24, 119, 242, 0.4);
   transition: transform .25s ease, box-shadow .25s ease;
}

.ct-fb b { font-size: 16px; font-weight: 600; }

/* Le texte peut se couper proprement plutôt que pousser la flèche hors du bouton */
.ct-fb > span:nth-child(2) { min-width: 0; }
.ct-fb b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.ct-fb-ico {
   flex: 0 0 auto;
   display: inline-flex;
   align-items: center;
   justify-content: center;
   width: 46px;
   height: 46px;
   border-radius: 50%;
   background: #fff;
   color: #1877f2;
   font-size: 24px;
}

.ct-fb-arrow { margin-left: auto; transition: transform .25s ease; }

.ct-fb:hover { transform: translateY(-3px); box-shadow: 0 20px 40px rgba(24, 119, 242, 0.5); }
.ct-fb:hover .ct-fb-arrow { transform: translateX(5px); }

/*--- Colonne droite : formulaire ---*/
.ct-form {
   padding: 34px 32px 30px;
   border-radius: 24px;
   background: #fff;
   box-shadow: 0 30px 60px rgba(140, 50, 0, 0.28);
}

/* h2 : on écrase la règle globale (orange, 18px) */
.ct-form-title {
   display: flex;
   align-items: center;
   gap: 10px;
   margin: 0 0 24px;
   font-family: 'Poppins', Verdana, sans-serif;
   font-size: 22px;
   font-weight: 700;
   text-align: left;
   color: #222;
}

.ct-form-title i { color: #ff9800; }

.ct-row {
   display: grid;
   grid-template-columns: repeat(2, minmax(0, 1fr));
   gap: 16px;
}

/* Champ avec icône et libellé flottant */
.ct-field {
   position: relative;
   margin-bottom: 16px;
}

.ct-field > .fa {
   position: absolute;
   top: 19px;
   left: 16px;
   color: #b0b6bd;
   font-size: 17px;
   transition: color .2s ease;
   pointer-events: none;
}

.ct-field input,
.ct-field textarea {
   display: block;
   width: 100%;
   padding: 24px 16px 8px 46px;
   border: 2px solid #eceef1;
   border-radius: 14px;
   background: #f7f8fa;
   font-family: inherit;
   font-size: 15.5px;
   color: #222;
   transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.ct-field textarea { resize: vertical; min-height: 150px; }

.ct-field label {
   position: absolute;
   top: 17px;
   left: 46px;
   color: #8a9097;
   font-size: 15.5px;
   pointer-events: none;
   transition: top .2s ease, font-size .2s ease, color .2s ease;
}

.ct-field input:focus,
.ct-field textarea:focus {
   outline: none;
   border-color: #ff9800;
   background: #fff;
   box-shadow: 0 0 0 4px rgba(255, 152, 0, 0.15);
}

/* Libellé qui remonte quand le champ est actif ou rempli */
.ct-field input:focus + label,
.ct-field input:not(:placeholder-shown) + label,
.ct-field textarea:focus + label,
.ct-field textarea:not(:placeholder-shown) + label {
   top: 7px;
   font-size: 11.5px;
   font-weight: 600;
   letter-spacing: .4px;
   color: #ef6c00;
}

.ct-field:focus-within > .fa { color: #ff9800; }

.ct-error input { border-color: #e53935; background: #fff5f5; }
.ct-error > .fa, .ct-error label { color: #e53935 !important; }

.ct-msg-error {
   margin: 6px 0 0;
   color: #e53935;
   font-size: 13.5px;
}

.ct-bottom {
   display: flex;
   align-items: center;
   justify-content: space-between;
   flex-wrap: wrap;
   gap: 16px;
   margin-top: 6px;
}

.ct-submit {
   display: inline-flex;
   align-items: center;
   gap: 10px;
   padding: 15px 30px;
   border: 0;
   border-radius: 50px;
   background: linear-gradient(135deg, #ffa726, #ef6c00);
   color: #fff;
   font-family: inherit;
   font-size: 16px;
   font-weight: 600;
   cursor: pointer;
   box-shadow: 0 12px 26px rgba(239, 108, 0, 0.4);
   transition: transform .25s ease, box-shadow .25s ease;
}

.ct-submit i { transition: transform .3s ease; }
.ct-submit:hover { transform: translateY(-3px); box-shadow: 0 18px 34px rgba(239, 108, 0, 0.5); }
.ct-submit:hover i { transform: translate(4px, -4px) rotate(8deg); }

/* Message envoyé */
.ct-success {
   display: flex;
   align-items: center;
   gap: 14px;
   margin-bottom: 18px;
   padding: 16px 20px;
   border-radius: 18px;
   background: #e8f5e9;
   border: 2px solid #66bb6a;
   color: #1b5e20;
   font-size: 15px;
   line-height: 1.5;
   box-shadow: 0 14px 30px rgba(140, 50, 0, 0.2);
   animation: delisou-fade-up .6s ease both;
}

.ct-success-ico {
   flex: 0 0 auto;
   display: inline-flex;
   align-items: center;
   justify-content: center;
   width: 40px;
   height: 40px;
   border-radius: 50%;
   background: #43a047;
   color: #fff;
   font-size: 18px;
}

/*--- Responsive ---*/
@media (max-width: 900px) {
   .ct-inner { grid-template-columns: minmax(0, 1fr); gap: 34px; }
   .ct-lead { max-width: none; }
}

@media (max-width: 560px) {
   .ct { padding: 56px 16px 70px; }
   .ct-form { padding: 26px 18px 22px; border-radius: 20px; }
   .ct-row { grid-template-columns: minmax(0, 1fr); gap: 0; }
   .ct-bottom { flex-direction: column; align-items: stretch; }
   .ct-submit { justify-content: center; }
   .ct-card b { font-size: 15px; }
   .ct-fb { padding: 14px 16px; gap: 12px; }
   .ct-fb b { font-size: 14.5px; }
   .ct-fb-arrow { display: none; }
}
